diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-10-22 04:54:42 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-10-22 04:56:49 -0700 |
commit | 493d4b48decc2b3c5fe9d2df68bcee67fdd8b7cb (patch) | |
tree | eee71acf168acd099a56d4e57a353d64734683e1 /gold/ChangeLog | |
parent | caa65211bbbfd53c40c9ce1b79b97ccf2c679a52 (diff) | |
download | binutils-gdb-493d4b48decc2b3c5fe9d2df68bcee67fdd8b7cb.tar.gz |
Gold: Don't fail on R_386_GOT32X relocation
This patch updates gold to treat the R_386_GOT32X relocation proposed in
https://groups.google.com/forum/#!topic/ia32-abi/GbJJskkid4I
the same as R_386_GOT32. FIXME: Gold should perform the transformations
as suggested.
elfcpp/
* i386.h (R_386_GOT32X): New.
gold/
* i386.cc (Target_i386::Scan::get_reference_flags(): Treat
R_386_GOT32X the same as R_386_GOT32.
(Target_i386::Scan::local): Likewise.
(Target_i386::Scan::possible_function_pointer_reloc): Likewise.
(Target_i386::Scan::global): Likewise.
(Target_i386::Relocate::relocate): Likewise.
(Target_i386::Relocatable_size_for_reloc::get_size_for_reloc):
Likewise.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r-- | gold/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index a3d0571dcdb..c0af0291d0e 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,14 @@ +2015-10-22 H.J. Lu <hongjiu.lu@intel.com> + + * i386.cc (Target_i386::Scan::get_reference_flags(): Treat + R_386_GOT32X the same as R_386_GOT32. + (Target_i386::Scan::local): Likewise. + (Target_i386::Scan::possible_function_pointer_reloc): Likewise. + (Target_i386::Scan::global): Likewise. + (Target_i386::Relocate::relocate): Likewise. + (Target_i386::Relocatable_size_for_reloc::get_size_for_reloc): + Likewise. + 2015-10-20 H.J. Lu <hongjiu.lu@intel.com> * testsuite/Makefile.am (x86_64_mov_to_lea11): Replace |