aboutsummaryrefslogtreecommitdiff
path: root/elfcpp/powerpc.h
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/powerpc.h
parent006589cfa144fc1efeea1d114943c0bd1624e930 (diff)
downloadgdb-549dba71045c856f3d169bf2edc7bfc7cabe5a0b.zip
gdb-549dba71045c856f3d169bf2edc7bfc7cabe5a0b.tar.gz
gdb-549dba71045c856f3d169bf2edc7bfc7cabe5a0b.tar.bz2
[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/powerpc.h')
-rw-r--r--elfcpp/powerpc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/elfcpp/powerpc.h b/elfcpp/powerpc.h
index ae30c8a..a8b005e 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,