From 8faada830227aeb1a17117cbf8b94d9be0f5ffe1 Mon Sep 17 00:00:00 2001 From: Stefan Liebler Date: Fri, 7 Jun 2024 13:42:38 +0200 Subject: elf: Remove _dl_string_platform Despite of powerpc where the returned integer is stored in tcb, and the diagnostics output, there is no user anymore. Thus this patch removes the diagnostics output and _dl_string_platform for all other platforms. Reviewed-by: Adhemerval Zanella --- sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h | 2 -- sysdeps/unix/sysv/linux/arm/dl-procinfo.h | 2 -- 2 files changed, 4 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 6a3fb78c47..0ed89c5e41 100644 --- a/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h +++ b/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h @@ -40,6 +40,4 @@ _dl_hwcap_string (int idx) /* There're no platforms to filter out. */ #define _DL_HWCAP_PLATFORM 0 -#define _dl_string_platform(str) (-1) - #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 49cf0008b2..2a1c5985ee 100644 --- a/sysdeps/unix/sysv/linux/arm/dl-procinfo.h +++ b/sysdeps/unix/sysv/linux/arm/dl-procinfo.h @@ -75,6 +75,4 @@ _dl_procinfo (unsigned int type, unsigned long int word) #define HWCAP_IMPORTANT (HWCAP_ARM_VFP | HWCAP_ARM_NEON) -#define _dl_string_platform(str) (-1) - #endif /* dl-procinfo.h */ -- cgit 1.4.1