[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.
This commit is contained in:
Alan Modra 2015-12-07 13:15:24 +10:30
parent 006589cfa1
commit 549dba7104
4 changed files with 58 additions and 0 deletions

View file

@ -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>

View file

@ -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,