[PATCH][AArch64] Fix extern protected data handling

Szabolcs Nagy szabolcs.nagy@arm.com
Wed Jul 22 16:23:00 GMT 2015


Emit *GLOB_DAT instead of *RELATIVE relocs for protected data
in shared objects.

This is needed for the fix of glibc bug 17711:
https://sourceware.org/bugzilla/show_bug.cgi?id=17711

bfd/ChangeLog:

2015-07-22  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	PR ld/18705
	* elfnn-aarch64.c (elf_backend_extern_protected_data): Define.

ld/testsuite/ChangeLog:

2015-07-22  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	PR ld/18705
	ld-aarch64/protected-data.d: New.
	ld-aarch64/protected-data.s: New.
	ld-aarch64/aarch64-elf.exp: Add new test.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils-aarch64.diff
Type: text/x-patch
Size: 1708 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20150722/532d55d0/attachment.bin>


More information about the Binutils mailing list