diff options
author | Ryan S. Arnold <rsa@linux.vnet.ibm.com> | 2013-06-28 16:50:48 -0500 |
---|---|---|
committer | Ryan S. Arnold <rsa@linux.vnet.ibm.com> | 2013-06-28 16:50:48 -0500 |
commit | 1ae8bfe07c1ab2444cc1d186321ff1431a1b9f96 (patch) | |
tree | f7a784d6c5727eb0b1c0209a77db2ad99a36d92d /sysdeps/generic | |
parent | 8fbec010989a242f6eb17be837255502c459977d (diff) | |
download | glibc-1ae8bfe07c1ab2444cc1d186321ff1431a1b9f96.tar glibc-1ae8bfe07c1ab2444cc1d186321ff1431a1b9f96.tar.gz glibc-1ae8bfe07c1ab2444cc1d186321ff1431a1b9f96.tar.bz2 glibc-1ae8bfe07c1ab2444cc1d186321ff1431a1b9f96.zip |
Add GLRO(dl_hwcap2) for new AT_HWCAP2 auxv_t a_type.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/dl-procinfo.h | 2 | ||||
-rw-r--r-- | sysdeps/generic/ldsodefs.h | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/generic/dl-procinfo.h b/sysdeps/generic/dl-procinfo.h index 90c87d942a..a184a5918a 100644 --- a/sysdeps/generic/dl-procinfo.h +++ b/sysdeps/generic/dl-procinfo.h @@ -21,7 +21,7 @@ #define _DL_PROCINFO_H 1 /* We cannot provide a general printing function. */ -#define _dl_procinfo(word) -1 +#define _dl_procinfo(type, word) -1 /* There are no hardware capabilities defined. */ #define _dl_hwcap_string(idx) "" diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h index cb17204259..e7b0516aaf 100644 --- a/sysdeps/generic/ldsodefs.h +++ b/sysdeps/generic/ldsodefs.h @@ -554,6 +554,10 @@ struct rtld_global_ro EXTERN struct link_map *_dl_sysinfo_map; #endif + /* Mask for more hardware capabilities that are available on some + platforms. */ + EXTERN uint64_t _dl_hwcap2; + #ifdef SHARED /* We add a function table to _rtld_global which is then used to call the function instead of going through the PLT. The result |