aboutsummaryrefslogtreecommitdiff
path: root/libiberty/objalloc.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-08-23 10:15:39 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-08-23 10:15:58 -0700
commit73784fa565bd66f1ac165816c03e5217b7d67bbc (patch)
tree00a650b903a28e8c12a40a7a836c5bf5baf9c92a /libiberty/objalloc.c
parent6e41ddec97d402c6c150701da0f70d40bd6ed5ca (diff)
downloadgdb-73784fa565bd66f1ac165816c03e5217b7d67bbc.zip
gdb-73784fa565bd66f1ac165816c03e5217b7d67bbc.tar.gz
gdb-73784fa565bd66f1ac165816c03e5217b7d67bbc.tar.bz2
x86: Clear extern_protected_data for GNU_PROPERTY_NO_COPY_ON_PROTECTED
When GNU_PROPERTY_NO_COPY_ON_PROTECTED is set, it indicates that there are no copy relocations against protected data symbols. When linker sees GNU_PROPERTY_NO_COPY_ON_PROTECTED on any input relocatable file, it sets extern_protected_data to FALSE. bfd/ * elf32-i386.c (elf_i386_link_setup_gnu_properties): Set extern_protected_data to FALSE if GNU_PROPERTY_NO_COPY_ON_PROTECTED is set on any input relocatable file. * elf64-x86-64.c (elf_x86_64_link_setup_gnu_properties): Likewise. ld/ * testsuite/ld-i386/i386.exp: Run protected7. * testsuite/ld-i386/protected7.d: New file. * testsuite/ld-i386/protected7.s: Likewise. * testsuite/ld-x86-64/protected8.d: Likewise. * testsuite/ld-x86-64/protected8.s: Likewise. * testsuite/ld-x86-64/x86-64.exp: Run protected8.
Diffstat (limited to 'libiberty/objalloc.c')
0 files changed, 0 insertions, 0 deletions