Fix default_binds_local_p_2 for extern protected data
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Tue, 20 Oct 2015 09:37:27 +0000 (09:37 +0000)
committerSzabolcs Nagy <nsz@gcc.gnu.org>
Tue, 20 Oct 2015 09:37:27 +0000 (09:37 +0000)
commit16b340c22400c9a1de543b86d00c97d543374e32
treedce6e793bfe1e2e81905f34a709a2c4c92618ce3
parent0d8ab59ce04e7df40bf505c7e341599b141e98c4
Fix default_binds_local_p_2 for extern protected data

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.

From-SVN: r229024
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/pr66912.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/pr66912.c [new file with mode: 0644]
gcc/varasm.c