aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/arm/dl-sysdep.h
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2015-07-24 10:05:07 +0100
committerSzabolcs Nagy <nsz@port70.net>2015-07-24 10:05:07 +0100
commit3bcea719ddd6ce399d7bccb492c40af77d216e42 (patch)
tree11cb6c22b54b144e4b01e99c754ee0e7805c26c1 /sysdeps/arm/dl-sysdep.h
parent0910702c4d2cf9e8302b35c9519548726e1ac489 (diff)
downloadglibc-3bcea719ddd6ce399d7bccb492c40af77d216e42.zip
glibc-3bcea719ddd6ce399d7bccb492c40af77d216e42.tar.gz
glibc-3bcea719ddd6ce399d7bccb492c40af77d216e42.tar.bz2
[ARM][BZ #17711] Fix extern protected data handling
Fixes elf/tst-protected1a and elf/tst-protected1b tests. Depends on a gcc patch that makes protected visibility data non-local: https://gcc.gnu.org/ml/gcc-patches/2015-07/msg01871.html and on a binutils patch so R_*_GLOB_DAT relocs are used for it: https://sourceware.org/ml/binutils/2015-07/msg00247.html
Diffstat (limited to 'sysdeps/arm/dl-sysdep.h')
-rw-r--r--sysdeps/arm/dl-sysdep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/arm/dl-sysdep.h b/sysdeps/arm/dl-sysdep.h
index e5657dd..463ce59 100644
--- a/sysdeps/arm/dl-sysdep.h
+++ b/sysdeps/arm/dl-sysdep.h
@@ -21,3 +21,5 @@
/* _dl_argv cannot be attribute_relro, because _dl_start_user
might write into it after _dl_start returns. */
#define DL_ARGV_NOT_RELRO 1
+
+#define DL_EXTERN_PROTECTED_DATA