This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH][ARM] Fix extern protected data handling
- From: Szabolcs Nagy <szabolcs dot nagy at arm dot com>
- To: Binutils <binutils at sourceware dot org>
- Cc: Marcus Shawcroft <marcus dot shawcroft at arm dot com>
- Date: Wed, 22 Jul 2015 17:25:49 +0100
- Subject: [PATCH][ARM] Fix extern protected data handling
- Authentication-results: sourceware.org; auth=none
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
* elf32-arm.c (elf_backend_extern_protected_data): Define.
ld/testsuite/ChangeLog:
2015-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
PR ld/18705
ld-arm/protected-data.d: New.
ld-arm/protected-data.s: New.
ld-arm/arm-elf.exp: Add new test.