mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 18:08:24 +08:00
2005-05-12 H.J. Lu <hongjiu.lu@intel.com>
* elf32-i386.c (elf_i386_relocate_section): Allow R_386_GOTOFF against protected function when building executable.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2005-05-12 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* elf32-i386.c (elf_i386_relocate_section): Allow R_386_GOTOFF
|
||||||
|
against protected function when building executable.
|
||||||
|
|
||||||
2005-05-12 Alan Modra <amodra@bigpond.net.au>
|
2005-05-12 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* elf32-ppc.c (LWZU_0_X_11): Delete.
|
* elf32-ppc.c (LWZU_0_X_11): Delete.
|
||||||
|
@ -2368,6 +2368,7 @@ elf_i386_relocate_section (bfd *output_bfd,
|
|||||||
for shared library since it may not be local when used
|
for shared library since it may not be local when used
|
||||||
as function address. */
|
as function address. */
|
||||||
if (info->shared
|
if (info->shared
|
||||||
|
&& !info->executable
|
||||||
&& h
|
&& h
|
||||||
&& h->def_regular
|
&& h->def_regular
|
||||||
&& h->type == STT_FUNC
|
&& h->type == STT_FUNC
|
||||||
|
Reference in New Issue
Block a user