summaryrefslogtreecommitdiff
path: root/sysdeps/sparc/dl-procinfo.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-09-01 13:41:27 -0700
committerDavid S. Miller <davem@davemloft.net>2011-09-01 13:43:06 -0700
commit5f4318d102d604e2f80bc97927e2d80f76063639 (patch)
tree189e956cbde6fde7155f1961f03e8abc548c28ae /sysdeps/sparc/dl-procinfo.c
parent3ba575169aabc83993759305c0394f58ad1ce3e0 (diff)
downloadglibc-5f4318d102d604e2f80bc97927e2d80f76063639.tar.gz
Sanitize HWCAP_SPARC_* defines/usage, and add new entries.
Diffstat (limited to 'sysdeps/sparc/dl-procinfo.c')
-rw-r--r--sysdeps/sparc/dl-procinfo.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/sysdeps/sparc/dl-procinfo.c b/sysdeps/sparc/dl-procinfo.c
index db7e867468..4a629caa1e 100644
--- a/sysdeps/sparc/dl-procinfo.c
+++ b/sysdeps/sparc/dl-procinfo.c
@@ -1,5 +1,5 @@
/* Data for Linux/sparc version of processor capability information.
- Copyright (C) 2002,2003,2006 Free Software Foundation, Inc.
+ Copyright (C) 2002,2003,2006,2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jakub Jelinek <jakub@redhat.com>, 2002.
@@ -47,10 +47,13 @@
#if !defined PROCINFO_DECL && defined SHARED
._dl_sparc_cap_flags
#else
-PROCINFO_CLASS const char _dl_sparc_cap_flags[8][7]
+PROCINFO_CLASS const char _dl_sparc_cap_flags[24][11]
#endif
#ifndef PROCINFO_DECL
- = { "flush", "stbar", "swap", "muldiv", "v9", "ultra3", "v9v", "v9v2" }
+ = { "flush", "stbar", "swap", "muldiv", "v9", "ultra3", "v9v", "v9v2",
+ "mul32", "div32", "fsmuld", "v8plus", "popc", "vis", "vis2",
+ "ASIBlkInit", "fmaf", "vis3", "hpc", "random", "trans", "fjfmau",
+ "ima", "cspare" }
#endif
#if !defined SHARED || defined PROCINFO_DECL
;