summaryrefslogtreecommitdiff
path: root/elfcpp/powerpc.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/powerpc.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/powerpc.h')
-rw-r--r--elfcpp/powerpc.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/elfcpp/powerpc.h b/elfcpp/powerpc.h
index 9f2b71c6f6..2bcb3ca12e 100644
--- a/elfcpp/powerpc.h
+++ b/elfcpp/powerpc.h
@@ -1,6 +1,6 @@
// powerpc.h -- ELF definitions specific to EM_PPC and EM_PPC64 -*- C++ -*-
-// Copyright 2008, Free Software Foundation, Inc.
+// Copyright 2008, 2010 Free Software Foundation, Inc.
// Written by David S. Miller <davem@davemloft.net>.
// This file is part of elfcpp.
@@ -165,10 +165,8 @@ enum
R_PPC_EMB_RELST_HA = 114,
R_PPC_EMB_BIT_FLD = 115,
R_PPC_EMB_RELSDA = 116,
- R_PPC_RELAX32 = 245,
- R_PPC_RELAX32PC = 246,
- R_PPC_RELAX32_PLT = 247,
- R_PPC_RELAX32PC_PLT = 248,
+
+ R_POWERPC_IRELATIVE = 248,
R_PPC_REL16 = 249,
R_PPC_REL16_LO = 250,
R_PPC_REL16_HI = 251,