diff options
author | Szabolcs Nagy <nsz@port70.net> | 2015-07-24 09:57:32 +0100 |
---|---|---|
committer | Szabolcs Nagy <nsz@port70.net> | 2015-07-24 09:57:32 +0100 |
commit | 0910702c4d2cf9e8302b35c9519548726e1ac489 (patch) | |
tree | e337a3a9bb65193b6a5752c07c81f6377ddfdc8f /sysdeps/aarch64/dl-sysdep.h | |
parent | a81a00ff94a43af85f7aefceb6d31f3c0f11151d (diff) | |
download | glibc-0910702c4d2cf9e8302b35c9519548726e1ac489.zip glibc-0910702c4d2cf9e8302b35c9519548726e1ac489.tar.gz glibc-0910702c4d2cf9e8302b35c9519548726e1ac489.tar.bz2 |
[AArch64][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/msg00246.html
Diffstat (limited to 'sysdeps/aarch64/dl-sysdep.h')
-rw-r--r-- | sysdeps/aarch64/dl-sysdep.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/aarch64/dl-sysdep.h b/sysdeps/aarch64/dl-sysdep.h index 4f951de..0bdbea6 100644 --- a/sysdeps/aarch64/dl-sysdep.h +++ b/sysdeps/aarch64/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 |