2005-02-06 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 6 Feb 2005 18:11:30 +0000 (18:11 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 6 Feb 2005 18:11:30 +0000 (18:11 +0000)
commit90f487dfe075092afbd0be376bd3c1cd5cfb8276
treee9afc5d1b623ce6255fe1f5428d78c502d2a6ad0
parent5b90c7b5ebca2697d381a2da54383662b47874bb
2005-02-06  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_relocate_section): Disallow R_386_GOTOFF
against protected function when building shared library.

PR 584
* elf64-x86-64.c (is_32bit_relative_branch): New.
(elf64_x86_64_relocate_section): Alllow R_X86_64_PC32 on a
protected function symbol when building shared library for
32bit relative branch instruction.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf64-x86-64.c