aboutsummaryrefslogtreecommitdiff
path: root/elf/elf.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2006-02-25 01:57:49 +0000
committerRoland McGrath <roland@gnu.org>2006-02-25 01:57:49 +0000
commit2e636c3db77bbbbbd95f7756d860f51ef1588645 (patch)
tree80419fe90241bef9aea927137b25b9a3ed513783 /elf/elf.h
parent464dce57cc94ec32cb3b02462e99866750f6cefb (diff)
downloadglibc-2e636c3db77bbbbbd95f7756d860f51ef1588645.zip
glibc-2e636c3db77bbbbbd95f7756d860f51ef1588645.tar.gz
glibc-2e636c3db77bbbbbd95f7756d860f51ef1588645.tar.bz2
* elf/elf.h (HWCAP_SPARC_BLKINIT): New macro.
* sysdeps/sparc/dl-procinfo.h (HWCAP_IMPORTANT): Add it. (_DL_HWCAP_COUNT): Increase to 7. * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add "v9v". From David S. Miller <davem@sunset.davemloft.net>.
Diffstat (limited to 'elf/elf.h')
-rw-r--r--elf/elf.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/elf/elf.h b/elf/elf.h
index c98bb52..344f252 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -1,5 +1,5 @@
/* This file defines standard ELF types, structures, and macros.
- Copyright (C) 1995-2003, 2004, 2005 Free Software Foundation, Inc.
+ Copyright (C) 1995-2003,2004,2005,2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -1250,14 +1250,15 @@ typedef struct
#define DT_SPARC_REGISTER 0x70000001
#define DT_SPARC_NUM 2
-/* Bits present in AT_HWCAP, primarily for Sparc32. */
+/* Bits present in AT_HWCAP on SPARC. */
-#define HWCAP_SPARC_FLUSH 1 /* The cpu supports flush insn. */
+#define HWCAP_SPARC_FLUSH 1 /* The CPU supports flush insn. */
#define HWCAP_SPARC_STBAR 2
#define HWCAP_SPARC_SWAP 4
#define HWCAP_SPARC_MULDIV 8
-#define HWCAP_SPARC_V9 16 /* The cpu is v9, so v8plus is ok. */
+#define HWCAP_SPARC_V9 16 /* The CPU is v9, so v8plus is ok. */
#define HWCAP_SPARC_ULTRA3 32
+#define HWCAP_SPARC_BLKINIT 64 /* Sun4v with block-init/load-twin. */
/* MIPS R3000 specific definitions. */