This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/66912] Copy relocation against protected symbol doesn't work
- From: "nsz at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 20 Oct 2015 09:51:29 +0000
- Subject: [Bug target/66912] Copy relocation against protected symbol doesn't work
- Auto-submitted: auto-generated
- References: <bug-66912-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66912
--- Comment #4 from nsz at gcc dot gnu.org ---
Author: nsz
Date: Tue Oct 20 09:50:58 2015
New Revision: 229030
URL: https://gcc.gnu.org/viewcvs?rev=229030&root=gcc&view=rev
Log:
Fix default_binds_local_p_2 for extern protected data
Backport from mainline r229024
2015-10-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
gcc:
PR target/66912
* varasm.c (default_binds_local_p_2): Turn on extern_protected_data.
gcc/testsuite:
PR target/66912
* gcc.target/aarch64/pr66912.c: New.
* gcc.target/arm/pr66912.c: New.
Added:
branches/gcc-5-branch/gcc/testsuite/gcc.target/aarch64/pr66912.c
branches/gcc-5-branch/gcc/testsuite/gcc.target/arm/pr66912.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/testsuite/ChangeLog
branches/gcc-5-branch/gcc/varasm.c