This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/66912] Copy relocation against protected symbol doesn't work


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]