From ed23449dac42c3718757dc8ff69a6480d869fb9c Mon Sep 17 00:00:00 2001 From: Stefan Liebler Date: Fri, 7 Jun 2024 13:42:40 +0200 Subject: elf: Remove _DL_HWCAP_PLATFORM Remove the definitions of _DL_HWCAP_PLATFORM as those are not used anymore after removal in elf/dl-cache.c:search_cache(). Reviewed-by: Adhemerval Zanella --- sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h | 3 --- sysdeps/unix/sysv/linux/arm/dl-procinfo.h | 3 --- 2 files changed, 6 deletions(-) (limited to 'sysdeps/unix') diff --git a/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h b/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h index 0ed89c5e41..17893a5225 100644 --- a/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h +++ b/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h @@ -37,7 +37,4 @@ _dl_hwcap_string (int idx) return (unsigned)idx < _DL_HWCAP_COUNT ? GLRO(dl_aarch64_cap_flags)[idx] : ""; }; -/* There're no platforms to filter out. */ -#define _DL_HWCAP_PLATFORM 0 - #endif /* dl-procinfo.h */ diff --git a/sysdeps/unix/sysv/linux/arm/dl-procinfo.h b/sysdeps/unix/sysv/linux/arm/dl-procinfo.h index 2a1c5985ee..85422b8edd 100644 --- a/sysdeps/unix/sysv/linux/arm/dl-procinfo.h +++ b/sysdeps/unix/sysv/linux/arm/dl-procinfo.h @@ -30,9 +30,6 @@ /* Low 7 bits are allocated in HWCAP2. */ #define _DL_HWCAP2_LAST 6 -/* The kernel provides platform data but it is not interesting. */ -#define _DL_HWCAP_PLATFORM 0 - static inline const char * __attribute__ ((unused)) -- cgit 1.4.1