diff options
Diffstat (limited to 'sysdeps/s390/dl-procinfo.h')
-rw-r--r-- | sysdeps/s390/dl-procinfo.h | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/sysdeps/s390/dl-procinfo.h b/sysdeps/s390/dl-procinfo.h index 4ae276e4ed..b0383bfb4c 100644 --- a/sysdeps/s390/dl-procinfo.h +++ b/sysdeps/s390/dl-procinfo.h @@ -1,5 +1,5 @@ /* s390 version of processor capability information handling macros. - Copyright (C) 2006-2016 Free Software Foundation, Inc. + Copyright (C) 2006-2018 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Martin Schwidefsky <schwidefsky@de.ibm.com>, 2006. @@ -21,9 +21,9 @@ #define _DL_PROCINFO_H 1 #include <ldsodefs.h> -#define _DL_HWCAP_COUNT 12 +#define _DL_HWCAP_COUNT 15 -#define _DL_PLATFORMS_COUNT 8 +#define _DL_PLATFORMS_COUNT 9 /* The kernel provides up to 32 capability bits with elf_hwcap. */ #define _DL_FIRST_PLATFORM 32 @@ -51,6 +51,9 @@ enum HWCAP_S390_HIGH_GPRS = 1 << 9, HWCAP_S390_TE = 1 << 10, HWCAP_S390_VX = 1 << 11, + HWCAP_S390_VXD = 1 << 12, + HWCAP_S390_VXE = 1 << 13, + HWCAP_S390_GS = 1 << 14, }; #define HWCAP_IMPORTANT (HWCAP_S390_ZARCH | HWCAP_S390_LDISP \ @@ -66,13 +69,6 @@ _dl_hwcap_string (int idx) return GLRO(dl_s390_cap_flags)[idx]; }; -static inline const char * -__attribute__ ((unused)) -_dl_platform_string (int idx) -{ - return GLRO(dl_s390_platforms)[idx - _DL_FIRST_PLATFORM]; -}; - static inline int __attribute__ ((unused, always_inline)) _dl_string_hwcap (const char *str) |