diff options
author | Alan Modra <amodra@gmail.com> | 2015-12-07 13:15:24 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2015-12-07 13:17:00 +1030 |
commit | 549dba71045c856f3d169bf2edc7bfc7cabe5a0b (patch) | |
tree | 62a344ff8fcdf99e9c3354be575e6bd4d1f6c58f /elfcpp | |
parent | R_PPC64_ENTRY (diff) | |
download | binutils-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/ChangeLog | 4 | ||||
-rw-r--r-- | elfcpp/powerpc.h | 1 |
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, |