diff options
author | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2014-01-07 09:37:31 +0100 |
---|---|---|
committer | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2014-01-07 09:42:23 +0100 |
commit | 05d138ef07481b16f1aaee648798cc51182ec65e (patch) | |
tree | 1b3641bd6db26d0a000aa899b69b7107463b65e5 /sysdeps/s390 | |
parent | 93a45ff1ca6d459618bb0cf93580c4b2809a4b61 (diff) | |
download | glibc-05d138ef07481b16f1aaee648798cc51182ec65e.zip glibc-05d138ef07481b16f1aaee648798cc51182ec65e.tar.gz glibc-05d138ef07481b16f1aaee648798cc51182ec65e.tar.bz2 |
S/390: Make ucontext_t extendible.
Diffstat (limited to 'sysdeps/s390')
-rw-r--r-- | sysdeps/s390/Makefile | 4 | ||||
-rw-r--r-- | sysdeps/s390/rtld-global-offsets.sym | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/sysdeps/s390/Makefile b/sysdeps/s390/Makefile index fdc6ee5..42978dc 100644 --- a/sysdeps/s390/Makefile +++ b/sysdeps/s390/Makefile @@ -3,3 +3,7 @@ ifeq (yes,$(build-shared)) sysdep_routines += v1-longjmp v1-sigjmp endif endif + +ifeq ($(subdir),csu) +gen-as-const-headers += rtld-global-offsets.sym +endif diff --git a/sysdeps/s390/rtld-global-offsets.sym b/sysdeps/s390/rtld-global-offsets.sym new file mode 100644 index 0000000..ff4e97f --- /dev/null +++ b/sysdeps/s390/rtld-global-offsets.sym @@ -0,0 +1,7 @@ +#define SHARED 1 + +#include <ldsodefs.h> + +#define rtld_global_ro_offsetof(mem) offsetof (struct rtld_global_ro, mem) + +RTLD_GLOBAL_RO_DL_HWCAP_OFFSET rtld_global_ro_offsetof (_dl_hwcap) |