From 2e636c3db77bbbbbd95f7756d860f51ef1588645 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 25 Feb 2006 01:57:49 +0000 Subject: * 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 . --- elf/elf.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'elf/elf.h') diff --git a/elf/elf.h b/elf/elf.h index c98bb5233d..344f252c0c 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. */ -- cgit v1.2.3