|
Packit Service |
82fcde |
/* Data for Mips version of processor capability information.
|
|
Packit Service |
82fcde |
Copyright (C) 2007-2018 Free Software Foundation, Inc.
|
|
Packit Service |
82fcde |
This file is part of the GNU C Library.
|
|
Packit Service |
82fcde |
Contributed by Robert Millan <rmh@gnu.org>.
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
The GNU C Library is free software; you can redistribute it and/or
|
|
Packit Service |
82fcde |
modify it under the terms of the GNU Lesser General Public
|
|
Packit Service |
82fcde |
License as published by the Free Software Foundation; either
|
|
Packit Service |
82fcde |
version 2.1 of the License, or (at your option) any later version.
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
The GNU C Library is distributed in the hope that it will be useful,
|
|
Packit Service |
82fcde |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
82fcde |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
82fcde |
Lesser General Public License for more details.
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
You should have received a copy of the GNU Lesser General Public
|
|
Packit Service |
82fcde |
License along with the GNU C Library. If not, see
|
|
Packit Service |
82fcde |
<http://www.gnu.org/licenses/>. */
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
/* This information must be kept in sync with the _DL_PLATFORM_COUNT
|
|
Packit Service |
82fcde |
definitions in procinfo.h.
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
If anything should be added here check whether the size of each string
|
|
Packit Service |
82fcde |
is still ok with the given array size.
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
All the #ifdefs in the definitions are quite irritating but
|
|
Packit Service |
82fcde |
necessary if we want to avoid duplicating the information. There
|
|
Packit Service |
82fcde |
are three different modes:
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
- PROCINFO_DECL is defined. This means we are only interested in
|
|
Packit Service |
82fcde |
declarations.
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
- PROCINFO_DECL is not defined:
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
+ if SHARED is defined the file is included in an array
|
|
Packit Service |
82fcde |
initializer. The .element = { ... } syntax is needed.
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
+ if SHARED is not defined a normal array initialization is
|
|
Packit Service |
82fcde |
needed.
|
|
Packit Service |
82fcde |
*/
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
#ifndef PROCINFO_CLASS
|
|
Packit Service |
82fcde |
#define PROCINFO_CLASS
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
#if !defined PROCINFO_DECL && defined SHARED
|
|
Packit Service |
82fcde |
._dl_mips_platforms
|
|
Packit Service |
82fcde |
#else
|
|
Packit Service |
82fcde |
PROCINFO_CLASS const char _dl_mips_platforms[4][11]
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
#ifndef PROCINFO_DECL
|
|
Packit Service |
82fcde |
= {
|
|
Packit Service |
82fcde |
"loongson2e", "loongson2f", "octeon", "octeon2"
|
|
Packit Service |
82fcde |
}
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
#if !defined SHARED || defined PROCINFO_DECL
|
|
Packit Service |
82fcde |
;
|
|
Packit Service |
82fcde |
#else
|
|
Packit Service |
82fcde |
,
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
#undef PROCINFO_DECL
|
|
Packit Service |
82fcde |
#undef PROCINFO_CLASS
|