From: hjl Date: Thu, 12 May 2005 21:01:42 +0000 (+0000) Subject: 2005-05-12 H.J. Lu X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=a3cd905d6730685f18d4fc4d21c4cf55785f1e5f;p=pf3gnuchains%2Fpf3gnuchains3x.git 2005-05-12 H.J. Lu * elf32-i386.c (elf_i386_relocate_section): Allow R_386_GOTOFF against protected function when building executable. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 1bca5b852d..f4b9c69837 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2005-05-12 H.J. Lu + + * elf32-i386.c (elf_i386_relocate_section): Allow R_386_GOTOFF + against protected function when building executable. + 2005-05-12 Alan Modra * elf32-ppc.c (LWZU_0_X_11): Delete. diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c index fe2ebc85c4..491fd9b1dd 100644 --- a/bfd/elf32-i386.c +++ b/bfd/elf32-i386.c @@ -2368,6 +2368,7 @@ elf_i386_relocate_section (bfd *output_bfd, for shared library since it may not be local when used as function address. */ if (info->shared + && !info->executable && h && h->def_regular && h->type == STT_FUNC