* sysdeps/mach/hurd/bits/libc-lock.h
(__libc_cleanup_push, __libc_cleanup_pop): New macros.
2003-08-01 Alfred M. Szmidt <ams@kemisten.nu>
* sysdeps/i386/dl-procinfo.h: New file, contents taken from ...
* sysdeps/unix/sysv/linux/i386/dl-procinfo.h: ... here.
#include_next dl-procinfo.h to get them.
(_DL_HWCAP_COUNT): Moved to sysdeps/i386/dl-procinfo.h.
(_DL_PLATFORMS_COUNT): Likewise.
(_DL_FIRST_PLATFORM): Likewise.
(_DL_HWCAP_PLATFORM): Likewise.
(HWCAP_I386_FPU, HWCAP_I386_VME, HWCAP_I386_DE, HWCAP_I386_PSE,
HWCAP_I386_TSC, HWCAP_I386_MSR, HWCAP_I386_PAE, HWCAP_I386_MCE,
HWCAP_I386_CX8, HWCAP_I386_APIC, HWCAP_I386_SEP, HWCAP_I386_MTRR,
HWCAP_I386_PGE, HWCAP_I386_MCA, HWCAP_I386_CMOV,
HWCAP_I386_FCMOV, HWCAP_I386_MMX, HWCAP_I386_OSFXSR,
HWCAP_I386_XMM, HWCAP_I386_XMM2, HWCAP_I386_AMD3D,
HWCAP_IMPORTANT): Likewise.
(_DL_PROCINFO_H_): Likewise.
(_dl_hwcap_string, _dl_platform_string, _dl_string_hwcap): Likewise.
(_dl_string_platform): Likewise.
* sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Moved to ...
* sysdeps/i386/dl-procinfo.c: ... here, new file.
2003-09-25 03:55:10 +00:00
|
|
|
/* Data for i386 version of processor capability information.
|
2015-01-02 16:28:19 +00:00
|
|
|
Copyright (C) 2001-2015 Free Software Foundation, Inc.
|
2001-01-17 01:14:51 +00:00
|
|
|
This file is part of the GNU C Library.
|
2002-02-01 07:49:47 +00:00
|
|
|
Contributed by Ulrich Drepper <drepper@redhat.com>, 2001.
|
2001-01-17 01:14:51 +00:00
|
|
|
|
|
|
|
The GNU C Library is free software; you can redistribute it and/or
|
2001-07-06 04:58:11 +00:00
|
|
|
modify it under the terms of the GNU Lesser General Public
|
|
|
|
License as published by the Free Software Foundation; either
|
|
|
|
version 2.1 of the License, or (at your option) any later version.
|
2001-01-17 01:14:51 +00:00
|
|
|
|
|
|
|
The GNU C Library is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
2001-07-06 04:58:11 +00:00
|
|
|
Lesser General Public License for more details.
|
2001-01-17 01:14:51 +00:00
|
|
|
|
2001-07-06 04:58:11 +00:00
|
|
|
You should have received a copy of the GNU Lesser General Public
|
2012-02-09 23:18:22 +00:00
|
|
|
License along with the GNU C Library; if not, see
|
|
|
|
<http://www.gnu.org/licenses/>. */
|
2001-01-17 01:14:51 +00:00
|
|
|
|
|
|
|
/* This information must be kept in sync with the _DL_HWCAP_COUNT and
|
2002-02-01 07:49:47 +00:00
|
|
|
_DL_PLATFORM_COUNT definitions in procinfo.h.
|
2001-01-17 01:14:51 +00:00
|
|
|
|
2002-02-01 07:49:47 +00:00
|
|
|
If anything should be added here check whether the size of each string
|
|
|
|
is still ok with the given array size.
|
2001-01-17 01:14:51 +00:00
|
|
|
|
2004-07-10 20:00:44 +00:00
|
|
|
All the #ifdefs in the definitions are quite irritating but
|
2002-02-01 07:49:47 +00:00
|
|
|
necessary if we want to avoid duplicating the information. There
|
|
|
|
are three different modes:
|
|
|
|
|
|
|
|
- PROCINFO_DECL is defined. This means we are only interested in
|
|
|
|
declarations.
|
|
|
|
|
|
|
|
- PROCINFO_DECL is not defined:
|
|
|
|
|
|
|
|
+ if SHARED is defined the file is included in an array
|
|
|
|
initializer. The .element = { ... } syntax is needed.
|
|
|
|
|
|
|
|
+ if SHARED is not defined a normal array initialization is
|
|
|
|
needed.
|
|
|
|
*/
|
|
|
|
|
2003-07-22 22:28:07 +00:00
|
|
|
#ifndef PROCINFO_CLASS
|
2004-07-10 20:00:44 +00:00
|
|
|
# define PROCINFO_CLASS
|
2002-02-01 07:49:47 +00:00
|
|
|
#endif
|
2003-07-22 22:28:07 +00:00
|
|
|
|
2002-02-01 07:49:47 +00:00
|
|
|
#if !defined PROCINFO_DECL && defined SHARED
|
|
|
|
._dl_x86_cap_flags
|
|
|
|
#else
|
2003-07-22 22:28:07 +00:00
|
|
|
PROCINFO_CLASS const char _dl_x86_cap_flags[32][8]
|
2002-02-01 07:49:47 +00:00
|
|
|
#endif
|
|
|
|
#ifndef PROCINFO_DECL
|
|
|
|
= {
|
2001-01-17 01:14:51 +00:00
|
|
|
"fpu", "vme", "de", "pse", "tsc", "msr", "pae", "mce",
|
|
|
|
"cx8", "apic", "10", "sep", "mtrr", "pge", "mca", "cmov",
|
2002-02-01 07:49:47 +00:00
|
|
|
"pat", "pse36", "pn", "clflush", "20", "dts", "acpi", "mmx",
|
2003-01-14 10:04:07 +00:00
|
|
|
"fxsr", "sse", "sse2", "ss", "ht", "tm", "ia64", "pbe"
|
2002-02-01 07:49:47 +00:00
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#if !defined SHARED || defined PROCINFO_DECL
|
|
|
|
;
|
|
|
|
#else
|
|
|
|
,
|
|
|
|
#endif
|
2001-01-17 01:14:51 +00:00
|
|
|
|
2002-02-01 07:49:47 +00:00
|
|
|
#if !defined PROCINFO_DECL && defined SHARED
|
|
|
|
._dl_x86_platforms
|
|
|
|
#else
|
2003-07-22 22:28:07 +00:00
|
|
|
PROCINFO_CLASS const char _dl_x86_platforms[4][5]
|
2002-02-01 07:49:47 +00:00
|
|
|
#endif
|
|
|
|
#ifndef PROCINFO_DECL
|
|
|
|
= {
|
2001-01-17 01:14:51 +00:00
|
|
|
"i386", "i486", "i586", "i686"
|
2002-02-01 07:49:47 +00:00
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#if !defined SHARED || defined PROCINFO_DECL
|
|
|
|
;
|
|
|
|
#else
|
|
|
|
,
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#undef PROCINFO_DECL
|
2003-07-22 22:28:07 +00:00
|
|
|
#undef PROCINFO_CLASS
|