diff options
author | 2010-08-04 09:53:38 +0000 | |
---|---|---|
committer | 2010-08-04 09:53:38 +0000 | |
commit | 6e5710cea9c8a6dc04e7b3deb606b7234715e926 (patch) | |
tree | 3c4ae74f53d237f7bdc41448ab2f6d93587854dd /elfcpp/x86_64.h | |
parent | 2010-08-04 Tristan Gingold <gingold@adacore.com> (diff) | |
download | binutils-gdb-6e5710cea9c8a6dc04e7b3deb606b7234715e926.tar.gz binutils-gdb-6e5710cea9c8a6dc04e7b3deb606b7234715e926.tar.bz2 binutils-gdb-6e5710cea9c8a6dc04e7b3deb606b7234715e926.zip |
elfcpp:/
* i386.h (R_386_IRELATIVE): Define.
* powerpc.h (R_POWERPC_IRELATIVE): Define.
(R_PPC_RELAX32, R_PPC_RELAX32PC): Don't define.
(R_PPC_RELAX32_PLT, R_PPC_RELAX32PC_PLT): Don't define.
* sparc.h (R_SPARC_IRELATIVE): Define.
* x86_64.h (R_X86_64_IRELATIVE): Define.
(R_X86_64_GNU_VTINHERIT): Rename from R_386_GNU_VTINHERIT.
(R_X86_64_GNU_VTENTRY): Rename from R_386_GNU_VTENTRY.
gold:/
* x86_64.cc (Target_x86_64::Scan::local): Use
R_X86_64_GNU_VTINHERIT instead of R_386_GNU_VTINHERIT and
R_X86_64_GNU_VTENTRY instead of R_386_GNU_VTENTRY.
(Target_x86_64::Scan::global): Likewise.
(Target_x86_64::Relocate::relocate): Likewise.
(Target_x86_64::Relocatable_size_for_reloc::get_size_for_reloc):
Likewise.
Diffstat (limited to 'elfcpp/x86_64.h')
-rw-r--r-- | elfcpp/x86_64.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/elfcpp/x86_64.h b/elfcpp/x86_64.h index 3f716528567..ae7d0a8ba5b 100644 --- a/elfcpp/x86_64.h +++ b/elfcpp/x86_64.h @@ -1,6 +1,6 @@ // x86-64.h -- ELF definitions specific to EM_X86_64 -*- C++ -*- -// Copyright 2006, 2007, Free Software Foundation, Inc. +// Copyright 2006, 2007, 2010 Free Software Foundation, Inc. // Written by Andrew Chatham. // This file is part of elfcpp. @@ -90,9 +90,10 @@ enum R_X86_64_GOTPC32_TLSDESC = 34, // 32-bit PC relative to TLS descriptor in GOT 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 // GNU vtable garbage collection extensions. - R_386_GNU_VTINHERIT = 250, - R_386_GNU_VTENTRY = 251 + R_X86_64_GNU_VTINHERIT = 250, + R_X86_64_GNU_VTENTRY = 251 }; } // End namespace elfcpp. |