[PATCH] Add R_AARCH64_P32_MOVW_PREL_* ELF32 relocs

Szabolcs Nagy Szabolcs.Nagy@arm.com
Tue Jun 11 09:54:00 GMT 2019


These ilp32 relocations were missing for some reason.

bfd/ChangeLog:

2019-06-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* elfnn-aarch64.c: Enable MOVW_PREL relocs for ELF32.

include/ChangeLog:

2019-06-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* elf/aarch64.h (R_AARCH64_P32_MOVW_PREL_G0): Define.
	(R_AARCH64_P32_MOVW_PREL_G0_NC): Define.
	(R_AARCH64_P32_MOVW_PREL_G1): Define.

ld/ChangeLog:

2019-06-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* testsuite/ld-aarch64/aarch64-elf.exp: Add emit-relocs-22 and -23.
	* testsuite/ld-aarch64/emit-relocs-22.d: New test.
	* testsuite/ld-aarch64/emit-relocs-22.s: New test.
	* testsuite/ld-aarch64/emit-relocs-23.d: New test.
	* testsuite/ld-aarch64/emit-relocs-23.s: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ilp32reloc.diff
Type: text/x-patch
Size: 4359 bytes
Desc: ilp32reloc.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20190611/7d058439/attachment.bin>


More information about the Binutils mailing list