Handle R_X86_64_64 properly for x32
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 11 May 2012 11:10:19 +0000 (11:10 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 11 May 2012 11:10:19 +0000 (11:10 +0000)
commitfd885f3a4d85dc33d794ca359ea91f31e3082717
tree012c78d271e7eca621e78198dc5d675e62593a2d
parent6750a3a77504bb879eb639c34a2911e704644ba4
Handle R_X86_64_64 properly for x32

elfcpp/

PR gold/14091
* x86_64.h (R_X86_64_RELATIVE64): New.

gold/

PR gold/14091
* x86_64.cc (Target_x86_64::Scan::local): For x32, generate
R_X86_64_RELATIVE64 instead of R_X86_64_RELATIVE in case of
R_X86_64_64.
elfcpp/ChangeLog
elfcpp/x86_64.h
gold/ChangeLog
gold/x86_64.cc