aboutsummaryrefslogtreecommitdiff
path: root/elfcpp/i386.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2010-08-04 09:53:38 +0000
committerIan Lance Taylor <ian@airs.com>2010-08-04 09:53:38 +0000
commit6e5710cea9c8a6dc04e7b3deb606b7234715e926 (patch)
tree3c4ae74f53d237f7bdc41448ab2f6d93587854dd /elfcpp/i386.h
parent2e09dbaeac673bf3617b76860c0fda5ba2acb306 (diff)
downloadgdb-6e5710cea9c8a6dc04e7b3deb606b7234715e926.zip
gdb-6e5710cea9c8a6dc04e7b3deb606b7234715e926.tar.gz
gdb-6e5710cea9c8a6dc04e7b3deb606b7234715e926.tar.bz2
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/i386.h')
-rw-r--r--elfcpp/i386.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/elfcpp/i386.h b/elfcpp/i386.h
index 397e0e6..6903859 100644
--- a/elfcpp/i386.h
+++ b/elfcpp/i386.h
@@ -1,6 +1,6 @@
// i386.h -- ELF definitions specific to EM_386 -*- C++ -*-
-// Copyright 2006, 2007, Free Software Foundation, Inc.
+// Copyright 2006, 2007, 2010 Free Software Foundation, Inc.
// Written by Ian Lance Taylor <iant@google.com>.
// This file is part of elfcpp.
@@ -85,6 +85,7 @@ enum
R_386_TLS_DESC_CALL = 40, // Marker of call through TLS desc for relaxation
R_386_TLS_DESC = 41, // TLS descriptor containing pointer to code and
// to argument, returning TLS offset for symbol
+ R_386_IRELATIVE = 42, // Adjust indirectly by program base
// Used by Intel.
R_386_USED_BY_INTEL_200 = 200,
// GNU vtable garbage collection extensions.