aboutsummaryrefslogtreecommitdiff
path: root/elfcpp
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2015-12-07 13:15:24 +1030
committerAlan Modra <amodra@gmail.com>2015-12-07 13:17:00 +1030
commit549dba71045c856f3d169bf2edc7bfc7cabe5a0b (patch)
tree62a344ff8fcdf99e9c3354be575e6bd4d1f6c58f /elfcpp
parentR_PPC64_ENTRY (diff)
downloadbinutils-gdb-549dba71045c856f3d169bf2edc7bfc7cabe5a0b.tar.gz
binutils-gdb-549dba71045c856f3d169bf2edc7bfc7cabe5a0b.tar.bz2
binutils-gdb-549dba71045c856f3d169bf2edc7bfc7cabe5a0b.zip
[GOLD] R_PPC64_ENTRY support
elfcpp/ * powerpc.h (R_PPC64_ENTRY): Define. gold/ * powerpc.cc (add_2_2_12, ld_2_12, lis_2): Define. (Target_powerpc::Scan::local, global): Handle R_PPC64_ENTRY. (Target_powerpc::Relocate::relocate): Edit code at R_PPC64_ENTRY.
Diffstat (limited to 'elfcpp')
-rw-r--r--elfcpp/ChangeLog4
-rw-r--r--elfcpp/powerpc.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/elfcpp/ChangeLog b/elfcpp/ChangeLog
index c4433347308..0aa8627eb3b 100644
--- a/elfcpp/ChangeLog
+++ b/elfcpp/ChangeLog
@@ -1,3 +1,7 @@
+2015-12-07 Alan Modra <amodra@gmail.com>
+
+ * powerpc.h (R_PPC64_ENTRY): Define.
+
2015-11-11 Alan Modra <amodra@gmail.com>
Peter Bergner <bergner@vnet.ibm.com>
diff --git a/elfcpp/powerpc.h b/elfcpp/powerpc.h
index ae30c8affab..a8b005ed98c 100644
--- a/elfcpp/powerpc.h
+++ b/elfcpp/powerpc.h
@@ -178,6 +178,7 @@ enum
R_PPC_EMB_RELSDA = 116,
R_PPC64_REL24_NOTOC = 116,
R_PPC64_ADDR64_LOCAL = 117,
+ R_PPC64_ENTRY = 118,
R_PPC_VLE_REL8 = 216,
R_PPC_VLE_REL15 = 217,