Properly handle R_X86_64_32 for x32
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 10 Jan 2012 20:58:36 +0000 (20:58 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 10 Jan 2012 20:58:36 +0000 (20:58 +0000)
commit3660ff060af103d25a45e40abe7f5523a20d3455
treeb08d43ddd1f6838d1e8881970084443c7f389994
parentdf4f944355eead7d98a0183c8d696977c5dadc17
Properly handle R_X86_64_32 for x32

2012-01-10  H.J. Lu  <hongjiu.lu@intel.com>

* x86_64.cc (Scan::check_non_pic): Allow R_X86_64_32 for x32.
(Scan::local): Use R_X86_64_RELATIVE relocation for R_X86_64_32
under x32.
gold/ChangeLog
gold/x86_64.cc