mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 20:40:05 +00:00
elf: Remove _DL_FIRST_PLATFORM
Remove the definitions of _DL_FIRST_PLATFORM as those were only used in the _DL_HWCAP_PLATFORM definitions and in _dl_string_platform(). Both were removed. Note: Removed on every architecture despite of powerpc, where _dl_string_platform() is still used. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
parent
ed23449dac
commit
43c7c5e62d
@ -25,9 +25,6 @@ extern const char _dl_s390_cap_flags[_DL_HWCAP_COUNT][9] attribute_hidden;
|
|||||||
|
|
||||||
#define _DL_PLATFORMS_COUNT 11
|
#define _DL_PLATFORMS_COUNT 11
|
||||||
|
|
||||||
/* The kernel provides up to 32 capability bits with elf_hwcap. */
|
|
||||||
#define _DL_FIRST_PLATFORM 32
|
|
||||||
|
|
||||||
/* Hardware capability bit numbers are derived directly from the
|
/* Hardware capability bit numbers are derived directly from the
|
||||||
facility indications as stored by the "store facility list" (STFL)
|
facility indications as stored by the "store facility list" (STFL)
|
||||||
instruction.
|
instruction.
|
||||||
|
@ -24,7 +24,4 @@
|
|||||||
#define _DL_HWCAP_COUNT HWCAP_COUNT
|
#define _DL_HWCAP_COUNT HWCAP_COUNT
|
||||||
#define _DL_PLATFORMS_COUNT HWCAP_PLATFORMS_COUNT
|
#define _DL_PLATFORMS_COUNT HWCAP_PLATFORMS_COUNT
|
||||||
|
|
||||||
/* Start at 48 to reserve spaces for hardware capabilities. */
|
|
||||||
#define _DL_FIRST_PLATFORM 48
|
|
||||||
|
|
||||||
#endif /* dl-procinfo.h */
|
#endif /* dl-procinfo.h */
|
||||||
|
Loading…
Reference in New Issue
Block a user