@@ -21,7 +21,6 @@
#include <ldsodefs.h>
#include <sys/mman.h>
#include <dl-cache.h>
-#include <dl-procinfo.h>
#include <stdint.h>
#include <_itoa.h>
#include <dl-hwcaps.h>
@@ -24,7 +24,6 @@
#include <dl-diagnostics.h>
#include <dl-hwcaps.h>
#include <dl-main.h>
-#include <dl-procinfo.h>
#include <dl-sysdep.h>
#include <ldsodefs.h>
#include "trusted-dirs.h"
@@ -23,7 +23,6 @@
#include <unistd.h>
#include <ldsodefs.h>
-#include <dl-procinfo.h>
#include <dl-hwcaps.h>
/* This is the result of counting the substrings in a colon-separated
@@ -35,7 +35,6 @@
#include <dl-machine.h>
#include <libc-lock.h>
#include <dl-cache.h>
-#include <dl-procinfo.h>
#include <unsecvars.h>
#include <hp-timing.h>
#include <stackinfo.h>
@@ -22,7 +22,6 @@
#include <unistd.h>
#include "version.h"
-#include <dl-procinfo.h>
#include <dl-hwcaps.h>
void
@@ -45,7 +45,6 @@
#include <dl-hwcaps.h>
#include <dl-is_dso.h>
-#include <dl-procinfo.h>
#ifndef LD_SO_CONF
# define LD_SO_CONF SYSCONFDIR "/ld.so.conf"
@@ -35,7 +35,6 @@
#include <unsecvars.h>
#include <dl-cache.h>
#include <dl-osinfo.h>
-#include <dl-procinfo.h>
#include <dl-prop.h>
#include <dl-vdso.h>
#include <dl-vdso-setup.h>
@@ -141,7 +141,6 @@ END {
print "# error \"Do not include this file directly.\""
print "# error \"Include tunables.h instead.\""
print "#endif"
- print "#include <dl-procinfo.h>\n"
# Now, the enum names
print "\ntypedef enum"
deleted file mode 100644
@@ -1,25 +0,0 @@
-/* Stub version of processor capability information handling macros.
- Copyright (C) 1998-2025 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- The GNU C Library is free software; you can redistribute it and/or
- 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.
-
- 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
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, see
- <https://www.gnu.org/licenses/>. */
-
-#ifndef _DL_PROCINFO_H
-#define _DL_PROCINFO_H 1
-
-/* We cannot provide a general printing function. */
-#define _dl_procinfo(type, word) -1
-
-#endif /* dl-procinfo.h */
@@ -19,7 +19,6 @@
#include <fenv.h>
#include <unistd.h>
#include <ldsodefs.h>
-#include <dl-procinfo.h>
int
__feclearexcept (int excepts)
@@ -19,7 +19,6 @@
#include <fenv.h>
#include <unistd.h>
#include <ldsodefs.h>
-#include <dl-procinfo.h>
int
fedisableexcept (int excepts)
@@ -19,7 +19,6 @@
#include <fenv.h>
#include <unistd.h>
#include <ldsodefs.h>
-#include <dl-procinfo.h>
int
feenableexcept (int excepts)
@@ -19,7 +19,6 @@
#include <fenv.h>
#include <unistd.h>
#include <ldsodefs.h>
-#include <dl-procinfo.h>
int
__fegetenv (fenv_t *envp)
@@ -20,7 +20,6 @@
#include <fpu_control.h>
#include <unistd.h>
#include <ldsodefs.h>
-#include <dl-procinfo.h>
int
fegetmode (femode_t *modep)
@@ -19,7 +19,6 @@
#include <fenv.h>
#include <unistd.h>
#include <ldsodefs.h>
-#include <dl-procinfo.h>
int
__feholdexcept (fenv_t *envp)
@@ -21,7 +21,6 @@
#include <assert.h>
#include <unistd.h>
#include <ldsodefs.h>
-#include <dl-procinfo.h>
/* All exceptions, including the x86-specific "denormal operand"
@@ -20,7 +20,6 @@
#include <fpu_control.h>
#include <unistd.h>
#include <ldsodefs.h>
-#include <dl-procinfo.h>
/* All exceptions, including the x86-specific "denormal operand"
exception. */
@@ -19,7 +19,6 @@
#include <fenv.h>
#include <unistd.h>
#include <ldsodefs.h>
-#include <dl-procinfo.h>
int
__fesetround (int round)
@@ -18,7 +18,6 @@
#include <fenv.h>
#include <unistd.h>
-#include <dl-procinfo.h>
#include <ldsodefs.h>
int
@@ -19,7 +19,6 @@
#include <fenv.h>
#include <unistd.h>
#include <ldsodefs.h>
-#include <dl-procinfo.h>
int
@@ -18,7 +18,6 @@
#include <fenv.h>
#include <unistd.h>
-#include <dl-procinfo.h>
#include <ldsodefs.h>
int
@@ -21,7 +21,6 @@
#include <fenv.h>
#include <unistd.h>
#include <ldsodefs.h>
-#include <dl-procinfo.h>
void
__setfpucw (fpu_control_t set)
@@ -43,7 +43,6 @@
#include <entry.h>
#include <dl-machine.h>
-#include <dl-procinfo.h>
#include <dl-tunables.h>
#include <not-errno.h>
@@ -21,7 +21,6 @@
#include <sysdep.h>
#include <ldsodefs.h>
-#include <dl-procinfo.h>
#include_next <math_private.h>
@@ -18,7 +18,6 @@
#include <unistd.h>
#include <shlib-compat.h>
-#include <dl-procinfo.h>
#include <cpu-features.c>
tcbhead_t __tcb __attribute__ ((visibility ("hidden")));
@@ -21,7 +21,6 @@
#include <dl-auxv.h>
#include <dl-osinfo.h>
#include <dl-parse_auxv.h>
-#include <dl-procinfo.h>
#include <dl-tunables.h>
#include <elf.h>
#include <errno.h>
@@ -222,10 +221,6 @@ _dl_show_auxv (void)
assert (AT_NULL == 0);
assert (AT_IGNORE == 1);
- /* Some entries are handled in a special way per platform. */
- if (_dl_procinfo (av->a_type, av->a_un.a_val) == 0)
- continue;
-
if (idx < sizeof (auxvars) / sizeof (auxvars[0])
&& auxvars[idx].form != unknown)
{
@@ -20,7 +20,6 @@
#include <pthreadP.h>
#include <elision-conf.h>
#include <unistd.h>
-#include <dl-procinfo.h>
#include <ldsodefs.h>
#define TUNABLE_NAMESPACE elision
@@ -25,7 +25,4 @@ enum
HWCAP_X86_AVX512_1 = 1 << 2
};
-/* We cannot provide a general printing function. */
-#define _dl_procinfo(type, word) -1
-
#endif /* dl-hwcap.h */