diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-05-11 11:10:19 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-05-11 11:10:19 +0000 |
commit | fd885f3a4d85dc33d794ca359ea91f31e3082717 (patch) | |
tree | 012c78d271e7eca621e78198dc5d675e62593a2d /elfcpp/x86_64.h | |
parent | 6750a3a77504bb879eb639c34a2911e704644ba4 (diff) | |
download | gdb-fd885f3a4d85dc33d794ca359ea91f31e3082717.zip gdb-fd885f3a4d85dc33d794ca359ea91f31e3082717.tar.gz gdb-fd885f3a4d85dc33d794ca359ea91f31e3082717.tar.bz2 |
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.
Diffstat (limited to 'elfcpp/x86_64.h')
-rw-r--r-- | elfcpp/x86_64.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/elfcpp/x86_64.h b/elfcpp/x86_64.h index ae7d0a8..a53beac 100644 --- a/elfcpp/x86_64.h +++ b/elfcpp/x86_64.h @@ -91,6 +91,7 @@ enum R_X86_64_TLSDESC_CALL = 35, // Relaxable call through TLS descriptor R_X86_64_TLSDESC = 36, // 2 by 64-bit TLS descriptor R_X86_64_IRELATIVE = 37, // Adjust indirectly by program base + R_X86_64_RELATIVE64 = 38, // 64-bit adjust by program base // GNU vtable garbage collection extensions. R_X86_64_GNU_VTINHERIT = 250, R_X86_64_GNU_VTENTRY = 251 |