From patchwork Wed Feb 26 19:00:21 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella X-Patchwork-Id: 868541 Delivered-To: patch@linaro.org Received: by 2002:a5d:5f56:0:b0:38f:210b:807b with SMTP id cm22csp959400wrb; Wed, 26 Feb 2025 11:04:41 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXp34QbSAEk2jJ3CqlK2edLheBpmNI+NgtvJBktUb+GPcDEKGc7kefwAsjwY/X0N7Ng37bKjg==@linaro.org X-Google-Smtp-Source: AGHT+IHCp4sAOOlmPTKoVOLOfqX1jSt7ZbKogDXyg8DOeGkUw972OqtplJE0g3gNSKlnu/CtR8SD X-Received: by 2002:a17:90a:8d86:b0:2fe:7f40:420a with SMTP id 98e67ed59e1d1-2fe7f406d8emr7423725a91.17.1740596681402; Wed, 26 Feb 2025 11:04:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1740596681; cv=pass; d=google.com; s=arc-20240605; b=BIMCQGp17EXMmM+rVHYhR2McDOy//wj67EVWzNfFtufnM9/xG0YSVAdIdPAVprSQ8L HZGxbkI8YWluwmyp4jSyjAiiKaRUF+Y48I9ZtJYIZRYDtWzMy98kUPtY5rJDaj5nctP2 wsJSGadtsCN18OMNtGLSl4zaArr2o7wN1fKG/nWjH25kfUo80F7MzK1FB4SQO3o+G7iL 0fqGhqNit2xS7VmTmdrfDwUOgNzMyvSWunI6mtF/viSXbRkFIPUfWGvHDgEds4a/r6NT qfLoabHzVuuj/6xbhjne2TNlPWc6oOrWHm8b/uFDHmJYu4Vvl2JIpZvyt5Zt8umVBpKH b9vA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:dkim-filter:arc-filter:dmarc-filter:delivered-to :dkim-filter; bh=n9mCWC3jt4SfjZe+5l7FxGbjYiIXiY09k2+bujGm6TY=; fh=LwDEXkF2BCfvt5pKmeQEzNeZtO/ktrc/ajkpXRdekFs=; b=f1aMiwsowPWIWVnrm1sl4gp5Fhd9Gt1ZR6vnc40AYMM/EFWrFjEs3hmoapjX5MacSV ELgEGLZGfn0nM2Bsi+DoueXXtmGDxOjiubxbJ7e7SsosOrjWeJKrFJXtmnTMhFrWC9/7 cpdKiYYB5FLY38dQid+ETZ79B0x6vfkTOMs73+5lx4hBWlxess8vtZA3U5PnhZR8FA4q /v4rrStJtRIi1eWdWbrJWWfRL6OqqKYSCsa7iQQegZOg4ZuYE6nDqcjG4+x0vzwvZSHa 7f5WBKN4QxUMSZyoaVqww82SH0Tf0R/lZ2H7IzTLJ30cgeP0Sio8NeGuACioU3Ufym+2 hxsQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=d2rfyzCJ; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="libc-alpha-bounces~patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2fe825fba56si2557421a91.91.2025.02.26.11.04.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2025 11:04:41 -0800 (PST) Received-SPF: pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=d2rfyzCJ; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces~patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="libc-alpha-bounces~patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3A057385840B for ; Wed, 26 Feb 2025 19:04:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3A057385840B Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=d2rfyzCJ X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by sourceware.org (Postfix) with ESMTPS id 2DF873858C98 for ; Wed, 26 Feb 2025 19:03:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2DF873858C98 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2DF873858C98 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::62b ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1740596606; cv=none; b=CzA5tEn0xhvQWYXvlOmQf/QzsNpos0CSBpCnmCeTa2ImuYP9TQhNJna2xD4tw5w9/y77UVm8Dxaptp1yoX6cDC8G8sZ8xEv/duFfXY7mzbspwpCBMaxScsn/52Y6wCSY9E0x+FL/BLymXFFE9BJhZAR43oB9xqeYC9q/pKYBWZc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1740596606; c=relaxed/simple; bh=lQWpniP3dJ0bToxEffg2dZhHScHSuTIC2B/wpc9/Rm8=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=LsfVQoluAvBO5QPjksGu9Rb3pDeSD5It5gN5x+eDihoHs+9/sOQvZsJmiLf0+uzUhcLoMYNLZlCpOKn5LzV8ANaysQoncBycVy+7s8D4lpWOFT0qE8prRgBeQdWZMUa4lmNZCUujPKEm1P6LhJG9lht7CiCXcLDKSua/vGjBV6U= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2DF873858C98 Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-220e83d65e5so1726325ad.1 for ; Wed, 26 Feb 2025 11:03:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1740596605; x=1741201405; darn=sourceware.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=n9mCWC3jt4SfjZe+5l7FxGbjYiIXiY09k2+bujGm6TY=; b=d2rfyzCJIPjeOej63e5yIRBrmOtfvak7IZ0Yx72/2vCuBRltWfkNzsiPXaujeEoEia /t47VdfSFOWCbgz9oHj2urWZaxPwBc1nTECQ21Ytg/xG8pO2mHpr8tsbwRNKRXsjCcba GT3WCEpWGMa/y1Op4QZaPHvfUQzX6eQXAZI3DKCRq2jbp7rU9zuHmBfjqcNOqx1U8nFB 4OuFB+44o9M2UR4F8ZL/F8OOfTtVvBt6XvkQ2qUojGAEi0w7VAmAEmVRBpMCuFT5Gs0A MP1oKxO6+kSfTZIabt4tRaiSobx070axg7VBXEDCWgwng7E4mY3Ffcs9N63IZ2hbMlYs 8IfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740596605; x=1741201405; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=n9mCWC3jt4SfjZe+5l7FxGbjYiIXiY09k2+bujGm6TY=; b=iOOs/TKc8gGL7aJZWrcinIfidwUPcHsg4vCuQhUhPcpXqC71Vh7ACYse6d8BOKcTk+ YuAnzW9uQ4adUiOzDDN9Y0V0XM9/GwivqQZq3O/xjK6sQiURABaKTiE5sZqdzpJqkOfZ joomqxdrfNLNvbt0PJIexlpvXF9xyC/XTPA1C9aaVrwlgCimaKZkEwD2Rlmk21a55gTn SYIftUDKSz4OOhEvh3r2WRMP+hCOS4eZLHxgA6UsAG3Msr9wpmR3ydsv6slxzqgpaJUI lUgefQ13NmZX+xQ2314vYbsYFVHy5wBxlU/HYkNiCKpzQc2GCodFmNRdwoHZqJcyzZUm tCrQ== X-Gm-Message-State: AOJu0YxwDkzCl4p6YpDVGAOz+SVc74NLbGZV/1qarajBc9YvOnC8x5+i pOdmLRa3h9C6/kY1HY+OneF29fDQpWsc5zjtbfI/f5aWJ/R+Bxf0KeRrNWsmHTlWfZ2M9CFte7l + X-Gm-Gg: ASbGncvNaJwfURQvNjNGhL5s9NNehRStD8sylgGZ3gXxpTaXfix+Go4oyO+DWSMsyri +0bTyq34B0eOUVzk7LGOg0aWxEHKQghfYLkD6k/md8vZ5fhH+3oOq0hRVwVkRhoax+4PMbf4Srj RVxWjTjgSPdSGmU6GqTI+P9uZ76WlU092G0k6YL0/UinFhSK+4w5scVXChfOKOpzpeN+zv6NkJa oBjqENOTLdGkOLf6lw4lHGduU3lwAEpbkOaLH58pSUiEP1Tbt6+g/Uo0mpD8Sex//nunRaCpli2 CmWBj4e8oFPtmvYaPXdz8SNjIVjYJIQJXr/oNTM= X-Received: by 2002:a17:902:f68c:b0:21a:8300:b9d5 with SMTP id d9443c01a7336-22320092d46mr76894695ad.23.1740596604685; Wed, 26 Feb 2025 11:03:24 -0800 (PST) Received: from mandiga.. ([2804:1b3:a7c3:f704:a0c6:9418:957f:d5bf]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-22344c837e2sm6946185ad.139.2025.02.26.11.03.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2025 11:03:24 -0800 (PST) From: Adhemerval Zanella To: libc-alpha@sourceware.org, Stefan Liebler , Peter Bergner , Wilco Dijkstra Subject: [PATCH 5/6] Remove dl-procinfo.h Date: Wed, 26 Feb 2025 16:00:21 -0300 Message-ID: <20250226190308.2163908-6-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250226190308.2163908-1-adhemerval.zanella@linaro.org> References: <20250226190308.2163908-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces~patch=linaro.org@sourceware.org powerpc was the only architecture with arch-specific hooks for LD_SHOW_AUXV, and with the information moved to ld diagnostics there is no need to keep the _dl_procinfo hook. Checked with a build for all affected ABIs. --- elf/dl-cache.c | 1 - elf/dl-diagnostics.c | 1 - elf/dl-hwcaps.c | 1 - elf/dl-support.c | 1 - elf/dl-usage.c | 1 - elf/ldconfig.c | 1 - elf/rtld.c | 1 - scripts/gen-tunables.awk | 1 - sysdeps/generic/dl-procinfo.h | 25 ------------------- sysdeps/i386/fpu/fclrexcpt.c | 1 - sysdeps/i386/fpu/fedisblxcpt.c | 1 - sysdeps/i386/fpu/feenablxcpt.c | 1 - sysdeps/i386/fpu/fegetenv.c | 1 - sysdeps/i386/fpu/fegetmode.c | 1 - sysdeps/i386/fpu/feholdexcpt.c | 1 - sysdeps/i386/fpu/fesetenv.c | 1 - sysdeps/i386/fpu/fesetmode.c | 1 - sysdeps/i386/fpu/fesetround.c | 1 - sysdeps/i386/fpu/feupdateenv.c | 1 - sysdeps/i386/fpu/fgetexcptflg.c | 1 - sysdeps/i386/fpu/ftestexcept.c | 1 - sysdeps/i386/setfpucw.c | 1 - sysdeps/mach/hurd/dl-sysdep.c | 1 - sysdeps/powerpc/fpu/math_private.h | 1 - sysdeps/powerpc/hwcapinfo.c | 1 - sysdeps/unix/sysv/linux/dl-sysdep.c | 5 ---- .../unix/sysv/linux/powerpc/elision-conf.c | 1 - sysdeps/x86/dl-hwcap.h | 3 --- 28 files changed, 58 deletions(-) delete mode 100644 sysdeps/generic/dl-procinfo.h diff --git a/elf/dl-cache.c b/elf/dl-cache.c index 300aa1b6dd..f9ca40de3f 100644 --- a/elf/dl-cache.c +++ b/elf/dl-cache.c @@ -21,7 +21,6 @@ #include #include #include -#include #include #include <_itoa.h> #include diff --git a/elf/dl-diagnostics.c b/elf/dl-diagnostics.c index fb2cfbeeb8..abb644314d 100644 --- a/elf/dl-diagnostics.c +++ b/elf/dl-diagnostics.c @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include "trusted-dirs.h" diff --git a/elf/dl-hwcaps.c b/elf/dl-hwcaps.c index e3d24fba1b..66060d7bb5 100644 --- a/elf/dl-hwcaps.c +++ b/elf/dl-hwcaps.c @@ -23,7 +23,6 @@ #include #include -#include #include /* This is the result of counting the substrings in a colon-separated diff --git a/elf/dl-support.c b/elf/dl-support.c index a7d5a5e8ab..c7860f327a 100644 --- a/elf/dl-support.c +++ b/elf/dl-support.c @@ -35,7 +35,6 @@ #include #include #include -#include #include #include #include diff --git a/elf/dl-usage.c b/elf/dl-usage.c index c6d13ac2ee..31b27e5ea6 100644 --- a/elf/dl-usage.c +++ b/elf/dl-usage.c @@ -22,7 +22,6 @@ #include #include "version.h" -#include #include void diff --git a/elf/ldconfig.c b/elf/ldconfig.c index 1432187e9b..39b154c72c 100644 --- a/elf/ldconfig.c +++ b/elf/ldconfig.c @@ -45,7 +45,6 @@ #include #include -#include #ifndef LD_SO_CONF # define LD_SO_CONF SYSCONFDIR "/ld.so.conf" diff --git a/elf/rtld.c b/elf/rtld.c index 115f1da37f..00b25c1a73 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -35,7 +35,6 @@ #include #include #include -#include #include #include #include diff --git a/scripts/gen-tunables.awk b/scripts/gen-tunables.awk index d9f326b63b..5d34075c16 100644 --- a/scripts/gen-tunables.awk +++ b/scripts/gen-tunables.awk @@ -141,7 +141,6 @@ END { print "# error \"Do not include this file directly.\"" print "# error \"Include tunables.h instead.\"" print "#endif" - print "#include \n" # Now, the enum names print "\ntypedef enum" diff --git a/sysdeps/generic/dl-procinfo.h b/sysdeps/generic/dl-procinfo.h deleted file mode 100644 index 057a4ae362..0000000000 --- a/sysdeps/generic/dl-procinfo.h +++ /dev/null @@ -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 - . */ - -#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 */ diff --git a/sysdeps/i386/fpu/fclrexcpt.c b/sysdeps/i386/fpu/fclrexcpt.c index 2254c49d60..f7a2ed2be1 100644 --- a/sysdeps/i386/fpu/fclrexcpt.c +++ b/sysdeps/i386/fpu/fclrexcpt.c @@ -19,7 +19,6 @@ #include #include #include -#include int __feclearexcept (int excepts) diff --git a/sysdeps/i386/fpu/fedisblxcpt.c b/sysdeps/i386/fpu/fedisblxcpt.c index 305758a267..b23fd8e869 100644 --- a/sysdeps/i386/fpu/fedisblxcpt.c +++ b/sysdeps/i386/fpu/fedisblxcpt.c @@ -19,7 +19,6 @@ #include #include #include -#include int fedisableexcept (int excepts) diff --git a/sysdeps/i386/fpu/feenablxcpt.c b/sysdeps/i386/fpu/feenablxcpt.c index e24d9d5f98..bc4a4ce32f 100644 --- a/sysdeps/i386/fpu/feenablxcpt.c +++ b/sysdeps/i386/fpu/feenablxcpt.c @@ -19,7 +19,6 @@ #include #include #include -#include int feenableexcept (int excepts) diff --git a/sysdeps/i386/fpu/fegetenv.c b/sysdeps/i386/fpu/fegetenv.c index 3c58ea6ef1..0d2b87db93 100644 --- a/sysdeps/i386/fpu/fegetenv.c +++ b/sysdeps/i386/fpu/fegetenv.c @@ -19,7 +19,6 @@ #include #include #include -#include int __fegetenv (fenv_t *envp) diff --git a/sysdeps/i386/fpu/fegetmode.c b/sysdeps/i386/fpu/fegetmode.c index ff3f98834f..41275e1036 100644 --- a/sysdeps/i386/fpu/fegetmode.c +++ b/sysdeps/i386/fpu/fegetmode.c @@ -20,7 +20,6 @@ #include #include #include -#include int fegetmode (femode_t *modep) diff --git a/sysdeps/i386/fpu/feholdexcpt.c b/sysdeps/i386/fpu/feholdexcpt.c index 3b689b97c9..a323a04f27 100644 --- a/sysdeps/i386/fpu/feholdexcpt.c +++ b/sysdeps/i386/fpu/feholdexcpt.c @@ -19,7 +19,6 @@ #include #include #include -#include int __feholdexcept (fenv_t *envp) diff --git a/sysdeps/i386/fpu/fesetenv.c b/sysdeps/i386/fpu/fesetenv.c index 06d78484e9..66d7002edd 100644 --- a/sysdeps/i386/fpu/fesetenv.c +++ b/sysdeps/i386/fpu/fesetenv.c @@ -21,7 +21,6 @@ #include #include #include -#include /* All exceptions, including the x86-specific "denormal operand" diff --git a/sysdeps/i386/fpu/fesetmode.c b/sysdeps/i386/fpu/fesetmode.c index 33e85ecfa6..eab0a5d683 100644 --- a/sysdeps/i386/fpu/fesetmode.c +++ b/sysdeps/i386/fpu/fesetmode.c @@ -20,7 +20,6 @@ #include #include #include -#include /* All exceptions, including the x86-specific "denormal operand" exception. */ diff --git a/sysdeps/i386/fpu/fesetround.c b/sysdeps/i386/fpu/fesetround.c index ef6fc3af1b..ea1f9096b5 100644 --- a/sysdeps/i386/fpu/fesetround.c +++ b/sysdeps/i386/fpu/fesetround.c @@ -19,7 +19,6 @@ #include #include #include -#include int __fesetround (int round) diff --git a/sysdeps/i386/fpu/feupdateenv.c b/sysdeps/i386/fpu/feupdateenv.c index 38ae5f4993..89b000953a 100644 --- a/sysdeps/i386/fpu/feupdateenv.c +++ b/sysdeps/i386/fpu/feupdateenv.c @@ -18,7 +18,6 @@ #include #include -#include #include int diff --git a/sysdeps/i386/fpu/fgetexcptflg.c b/sysdeps/i386/fpu/fgetexcptflg.c index f4c7765beb..be181af162 100644 --- a/sysdeps/i386/fpu/fgetexcptflg.c +++ b/sysdeps/i386/fpu/fgetexcptflg.c @@ -19,7 +19,6 @@ #include #include #include -#include int diff --git a/sysdeps/i386/fpu/ftestexcept.c b/sysdeps/i386/fpu/ftestexcept.c index 25cb027200..2d41ba22ac 100644 --- a/sysdeps/i386/fpu/ftestexcept.c +++ b/sysdeps/i386/fpu/ftestexcept.c @@ -18,7 +18,6 @@ #include #include -#include #include int diff --git a/sysdeps/i386/setfpucw.c b/sysdeps/i386/setfpucw.c index df8fffc6f2..1edfd5be0a 100644 --- a/sysdeps/i386/setfpucw.c +++ b/sysdeps/i386/setfpucw.c @@ -21,7 +21,6 @@ #include #include #include -#include void __setfpucw (fpu_control_t set) diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c index 173499c4c1..e629492583 100644 --- a/sysdeps/mach/hurd/dl-sysdep.c +++ b/sysdeps/mach/hurd/dl-sysdep.c @@ -43,7 +43,6 @@ #include #include -#include #include #include diff --git a/sysdeps/powerpc/fpu/math_private.h b/sysdeps/powerpc/fpu/math_private.h index 7065d276c0..a87ed62c42 100644 --- a/sysdeps/powerpc/fpu/math_private.h +++ b/sysdeps/powerpc/fpu/math_private.h @@ -21,7 +21,6 @@ #include #include -#include #include_next diff --git a/sysdeps/powerpc/hwcapinfo.c b/sysdeps/powerpc/hwcapinfo.c index ca9277bb1e..72e65ac7a0 100644 --- a/sysdeps/powerpc/hwcapinfo.c +++ b/sysdeps/powerpc/hwcapinfo.c @@ -18,7 +18,6 @@ #include #include -#include #include tcbhead_t __tcb __attribute__ ((visibility ("hidden"))); diff --git a/sysdeps/unix/sysv/linux/dl-sysdep.c b/sysdeps/unix/sysv/linux/dl-sysdep.c index b746ac2644..544902e6d2 100644 --- a/sysdeps/unix/sysv/linux/dl-sysdep.c +++ b/sysdeps/unix/sysv/linux/dl-sysdep.c @@ -21,7 +21,6 @@ #include #include #include -#include #include #include #include @@ -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) { diff --git a/sysdeps/unix/sysv/linux/powerpc/elision-conf.c b/sysdeps/unix/sysv/linux/powerpc/elision-conf.c index fe98c6ba71..451897bd3d 100644 --- a/sysdeps/unix/sysv/linux/powerpc/elision-conf.c +++ b/sysdeps/unix/sysv/linux/powerpc/elision-conf.c @@ -20,7 +20,6 @@ #include #include #include -#include #include #define TUNABLE_NAMESPACE elision diff --git a/sysdeps/x86/dl-hwcap.h b/sysdeps/x86/dl-hwcap.h index 2384897e60..d48240843e 100644 --- a/sysdeps/x86/dl-hwcap.h +++ b/sysdeps/x86/dl-hwcap.h @@ -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 */