summaryrefslogtreecommitdiff
path: root/elfcpp/x86_64.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2010-08-04 09:53:37 +0000
committerIan Lance Taylor <ian@airs.com>2010-08-04 09:53:37 +0000
commit4fc8c7b71105bac1b109694665fdb98c0cbff6a9 (patch)
tree34cc9936545cfbec94dc7865647f0f87e0c8ee20 /elfcpp/x86_64.h
parent84cbeb8e5fef3899f9a295821eb9754ac9b8cec4 (diff)
downloadbinutils-redhat-4fc8c7b71105bac1b109694665fdb98c0cbff6a9.tar.gz
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.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/elfcpp/x86_64.h b/elfcpp/x86_64.h
index 3f71652856..ae7d0a8ba5 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.