Gold: Don't fail on R_386_GOT32X relocation
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 22 Oct 2015 11:54:42 +0000 (04:54 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 22 Oct 2015 11:56:49 +0000 (04:56 -0700)
commit493d4b48decc2b3c5fe9d2df68bcee67fdd8b7cb
treeeee71acf168acd099a56d4e57a353d64734683e1
parentcaa65211bbbfd53c40c9ce1b79b97ccf2c679a52
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.
elfcpp/ChangeLog
elfcpp/i386.h
gold/ChangeLog
gold/i386.cc
This page took 0.025229 seconds and 4 git commands to generate.