From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 1T6dAg8T9WreRQMAWB0awg (envelope-from ) for ; Wed, 11 Nov 2026 20:14:55 -0500 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=sociotechnical.xyz header.i=@sociotechnical.xyz header.a=rsa-sha256 header.s=fm1 header.b=kYZ+yL6O; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=j6nRY3gk; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id E55641E043; Wed, 11 Nov 2026 20:14:54 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=no autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 1DB831E043 for ; Wed, 11 Nov 2026 20:14:53 -0500 (EST) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 937B34BA23D9 for ; Thu, 12 Nov 2026 01:14:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 937B34BA23D9 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=sociotechnical.xyz header.i=@sociotechnical.xyz header.a=rsa-sha256 header.s=fm1 header.b=kYZ+yL6O; dkim=pass (2048-bit key, unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=j6nRY3gk Received: from fout-a2-smtp.messagingengine.com (fout-a2-smtp.messagingengine.com [103.168.172.145]) by sourceware.org (Postfix) with ESMTPS id 87A9A4BA2E2C for ; Thu, 12 Nov 2026 01:14:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 87A9A4BA2E2C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=sociotechnical.xyz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=sociotechnical.xyz ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 87A9A4BA2E2C Authentication-Results: sourceware.org; arc=none smtp.remote-ip=103.168.172.145 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1794446065; cv=none; b=YFfiwUjjxlRRo+/2n7JMZMxxk0P0eKzIOZ0ZRq3Rcy3TIz42cEvhEiv2wpuDhcI1ebBNM2anh65PkzBgyaTbiaGO1j8yYR8IyGFwm3UStqaP0jRI6QgQEc+z9W/iiNiv2tqNPiI3/sz0egSGz5uPQKQErti/waf9yi7bSvfqzQ4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1794446065; c=relaxed/simple; bh=biOSMGjQ1ToyYllUlf3wSAiYJs5Tk7JFp5Z3NtZv+Q4=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=vnv114tmZYo/1wI/cJk+jwlYqCv5h0vHOpVQYDPJdwIR1wID5E+bOM8KDcwrdp44hKM8N4NOlZR9iVvAwSQimPoN+ljbAVlavE++R97WHqNOiGV7AbcrScCSKhlu6KlVy+Z0A87FdTnZFsJBRloOYFD3bjb9Mn2mllOoPZae3/0= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=sociotechnical.xyz header.i=@sociotechnical.xyz header.a=rsa-sha256 header.s=fm1 header.b=kYZ+yL6O; dkim=pass (2048-bit key, unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=j6nRY3gk DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 87A9A4BA2E2C Received: from phl-compute-10.internal (phl-compute-10.internal [10.202.2.50]) by mailfout.phl.internal (Postfix) with ESMTP id 4E5EFEC0228 for ; Wed, 11 Nov 2026 20:14:25 -0500 (EST) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-10.internal (MEProxy); Wed, 11 Nov 2026 20:14:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sociotechnical.xyz; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to; s=fm1; t= 1794446065; x=1794532465; bh=0K6PRSAEghvXqIhi/inqY6BiYYE2Ls6icR4 s8L4bEwk=; b=kYZ+yL6OSEQYty+5FMjIYHgDonUyyYMoiIjcUo0t6rucF5QTTGP qDUathvSZNmwX0UzSOeB+iXckyzk9zKg1b54VJ1+8tA+kKGUurRmq2HvDEk5jEep Yr9MaNmRyf76vbMSw5K/EbBJw6JVKY5zxD2ViHsGcXkVanHQUch0G/vUb5d5XU84 WsI8xi+Ck+OyeN5u4zr1y9Vjy/KiVSMXLUbl5Mv8ghi78HG+uoz1WF1s0oWIuiYb Bm9F9yIcn6sHUMdjRNP0PsuLdpBVDiRf9oWgcb6j1zRhxSNB0CUzxm1dUZa3eMHO uSk/L4c0/yXLdd938mu8Nqxg8XT7Smf0AAA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1794446065; x=1794532465; bh=0K6PRSAEghvXqIhi/inqY6BiYYE2Ls6icR4 s8L4bEwk=; b=j6nRY3gkVpSWpMUBw/OYcvKH6sc9hK2UawT0nS5IalIWzvjZImS nhUs1v2WReb3sbRzS3djZyOSNRZBxVPu6o9kQKW8GNZXL0SRs0yQhZn6caAmYAsO lGQTaU5B232v3Ika1XlSD/4FTfdWDeV32aqCUy6nq6v7JFNt41KNInnMukZgYPqu gU83WBnQCxXCKI33lJ8jYB4/BFCS2Swi5b7djyFv0B2adjZNwQnJdXiJToZB2z+k UqQwHf++Yd88ubIuerHyPDKL4YBMndlUlbz+iiwgYuz/HAHITfNvoWxLy2OGqcLD UV1W7H9Gylp1dZrBsJfYZGnEdPL+1quqbnQ== X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-09; repo=github.com/dkim2wg/interop; date=2026-11-03; sw=lmtpprox; action=sign d=sociotechnical.xyz a=rsa-sha256; DKIM2-Signature: i=1; m=1; t=1794446065; d=sociotechnical.xyz; mf=PHBpZXRyb0Bzb2Npb3RlY2huaWNhbC54eXo+; rt=PGdkYi1wYXRjaGVzQHNvdXJjZXdhcmUub3JnPg==; s=fm1:rsa-sha256:DoJhlTTVugbHiErmhvy6OohpyiB6zZGcDSdIBRHED/teyEF Srzi4KBSLuOcGukWyx+L04YBFgoalclmlEFI08VK3CMU77JMtQN5Pml7qrwFrdcE D3s4DbZhRa8aLdxQcBY9YP4HG6+VdM+f/HS9lMXiMeTtzeADiHnm7cRufRLDH4gl JrcThlfuZ1LHfD4PgQaPjjnnTYBeP/NLsQwvTQNiF/Zh98ta46zhfGNzCGL2+D84 QlnhrlqEAmHDB3kfuc6plRQ19Wa/sKP1ESLexUM9ENEXuc89n4RSANPYV1OWDuaa SCliaf5R7pOz5gLnk5Bv/P9S1oQ8luwdtR/dQwg==; X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-09; repo=github.com/dkim2wg/interop; date=2026-11-03; sw=lmtpprox; action=mi-m=1; hc=9; hn=cc,content-transfer-encoding,date,feedback-id,from, message-id,mime-version,subject,to; Message-Instance: m=1; h=sha256:isKSMpK39ihFKaVgM0CifnAdk5CiMzIyUqpiyqPllQU=:biOSMGjQ1ToyYllUlf3wSAiYJs5Tk7JFp5Z3NtZv+Q4=; X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTFU5nmfBnTbzL2ziKNI9LO0WSWgm3gMdh9jpKvT7nIaDaqEwRutCxubPvhNmWpbYp 3aoXot4QxdQzzoxMJoWqDy3UQMWqz3BOlBBH5sYm6ppAE0ggxzL1ja/c3tD2qdNZkazV8D noC/K6HvU+S85qWOMd5/fk1oKGroFtmSke+mIqzlSKOphmGiALoJaIUUrYRALFUq1oRWKZ Ra5Rdb55TzM1GL5wdExg7cidupPT7vdPCMsQ8Xif2eEUH0MmSVYANI7vQUSJok3lSuzqLw smP7jMws7h2H6qAd46sKBqpD0G5yPun9T88n0J/eKJA2LV5bWtz4VM2PnP1+lkC75URJPa ijGQOBd4tOXftpYG66aLpZfJWQRHKHPP01fZjKtCs7VsNKFOKXuShI9qNsCUXrz0uDy17q v1VloeV09nykfOhCBgQuLvMFPXXkogNvCZMTvM25FwKBNJrUj+OE0m1yXg/rc5mAoLVztl rJ6VV5nyS2sV9CicdEi3EBK8v+FJhNFvTp7JEag33+ZaOQqsKQuj82mC3MMl4hQWR1idss uxQN1IRKa2q1WQiuMBe80AsUwvq0rfQ1QAcAx5GJM+kU5ZtG14Q0Jzbs6chWVdkeMg4PEx KbJPkF29IbaLf1vgzWTJsrn9XDfhwfBb7QWa/K/mPc0Fc3nV0bQ18Yr6Khvg X-ME-Proxy: Feedback-ID: i7f494689:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 11 Nov 2026 20:14:24 -0500 (EST) From: Pietro Monteiro To: binutils@sourceware.org, gdb-patches@sourceware.org Cc: Pietro Monteiro Subject: [COMMITTED] libiberty: sync with GCC Date: Wed, 11 Nov 2026 20:14:13 -0500 Message-ID: <20261112011412.955883-2-pietro@sociotechnical.xyz> X-Mailer: git-send-email 2.56.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org Sync the libiberty/ directory with gcc commit cdab94a53bbe481af689bcc0cd89ea690c4202f3. This pulls in the following gcc commits and the associated updates to 'libiberty/ChangeLog': cdab94a53bb libiberty: Fix docs typo 33ed38d4ee0 libiberty: Simplify finding libiberty_topdir aa4d1d5481d configury: replace obsolete macro AC_CONFIG_HEADER [PR103459] Signed-off-by: Pietro Monteiro --- libiberty/ChangeLog | 15 ++++++++ libiberty/configure | 75 ++++++++++++++++------------------------ libiberty/configure.ac | 20 +---------- libiberty/functions.texi | 2 +- libiberty/strtoll.c | 2 +- 5 files changed, 48 insertions(+), 66 deletions(-) diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 8f962f9020e..e25d746a8e9 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,18 @@ +2026-11-12 Pietro Monteiro + + * functions.texi: Regenerate. + * strtoll.c: Replace strtoul with strtoull in the documentation comment. + +2026-11-10 Pietro Monteiro + + * configure: Regenerate. + * configure.ac: Set libiberty_topdir to "${srcdir}/.." and remove AC_CONFIG_AUX_DIR. + +2026-11-04 Pietro Monteiro + + PR bootstrap/103459 + * configure.ac: Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS. + 2026-11-02 Pietro Monteiro * Makefile.in (aclocal_deps): Depend on diff --git a/libiberty/configure b/libiberty/configure index 228cfd4740a..16a9b04609c 100755 --- a/libiberty/configure +++ b/libiberty/configure @@ -2503,51 +2503,7 @@ if test "${with_newlib+set}" = set; then : fi -if test "${srcdir}" = "."; then - if test -n "${with_build_subdir}"; then - libiberty_topdir="${srcdir}/../.." - with_target_subdir= - elif test -z "${with_target_subdir}"; then - libiberty_topdir="${srcdir}/.." - else - if test "${with_target_subdir}" != "."; then - libiberty_topdir="${srcdir}/${with_multisrctop}../.." - else - libiberty_topdir="${srcdir}/${with_multisrctop}.." - fi - fi -else - libiberty_topdir="${srcdir}/.." -fi - -ac_aux_dir= -for ac_dir in $libiberty_topdir "$srcdir"/$libiberty_topdir; do - if test -f "$ac_dir/install-sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install-sh -c" - break - elif test -f "$ac_dir/install.sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install.sh -c" - break - elif test -f "$ac_dir/shtool"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/shtool install -c" - break - fi -done -if test -z "$ac_aux_dir"; then - as_fn_error $? "cannot find install-sh, install.sh, or shtool in $libiberty_topdir \"$srcdir\"/$libiberty_topdir" "$LINENO" 5 -fi - -# These three variables are undocumented and unsupported, -# and are intended to be withdrawn in a future Autoconf release. -# They can cause serious problems if a builder's source tree is in a directory -# whose full name contains unusual characters. -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. - +libiberty_topdir="${srcdir}/.." @@ -2690,6 +2646,35 @@ else fi +ac_aux_dir= +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do + if test -f "$ac_dir/install-sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install-sh -c" + break + elif test -f "$ac_dir/install.sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install.sh -c" + break + elif test -f "$ac_dir/shtool"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/shtool install -c" + break + fi +done +if test -z "$ac_aux_dir"; then + as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 +fi + +# These three variables are undocumented and unsupported, +# and are intended to be withdrawn in a future Autoconf release. +# They can cause serious problems if a builder's source tree is in a directory +# whose full name contains unusual characters. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. + + # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 diff --git a/libiberty/configure.ac b/libiberty/configure.ac index a56a1017f1a..f9bba96d59a 100644 --- a/libiberty/configure.ac +++ b/libiberty/configure.ac @@ -20,24 +20,8 @@ AC_ARG_WITH(cross-host, AC_ARG_WITH(newlib, [ --with-newlib Configuring with newlib]) -if test "${srcdir}" = "."; then - if test -n "${with_build_subdir}"; then - libiberty_topdir="${srcdir}/../.." - with_target_subdir= - elif test -z "${with_target_subdir}"; then - libiberty_topdir="${srcdir}/.." - else - if test "${with_target_subdir}" != "."; then - libiberty_topdir="${srcdir}/${with_multisrctop}../.." - else - libiberty_topdir="${srcdir}/${with_multisrctop}.." - fi - fi -else - libiberty_topdir="${srcdir}/.." -fi +libiberty_topdir="${srcdir}/.." AC_SUBST(libiberty_topdir) -AC_CONFIG_AUX_DIR($libiberty_topdir) dnl Very limited version of automake's enable-maintainer-mode @@ -220,8 +204,6 @@ dnl AM_DISABLE_SHARED dnl When we start using libtool: dnl AM_PROG_LIBTOOL -dnl When we start using automake: -dnl AM_CONFIG_HEADER(config.h:config.in) AC_CONFIG_HEADERS([config.h:config.in]) dnl When we start using automake: diff --git a/libiberty/functions.texi b/libiberty/functions.texi index 16a9d3ae4ac..98991367cf4 100644 --- a/libiberty/functions.texi +++ b/libiberty/functions.texi @@ -1785,7 +1785,7 @@ that the converted value is unsigned. @c strtoll.c:33 @deftypefn Supplemental {long long int} strtoll (const char *@var{string}, @ char **@var{endptr}, int @var{base}) -@deftypefnx Supplemental {unsigned long long int} strtoul (@ +@deftypefnx Supplemental {unsigned long long int} strtoull (@ const char *@var{string}, char **@var{endptr}, int @var{base}) The @code{strtoll} function converts the string in @var{string} to a diff --git a/libiberty/strtoll.c b/libiberty/strtoll.c index 37ff8cd3d4c..d8127211c54 100644 --- a/libiberty/strtoll.c +++ b/libiberty/strtoll.c @@ -32,7 +32,7 @@ @deftypefn Supplemental {long long int} strtoll (const char *@var{string}, @ char **@var{endptr}, int @var{base}) -@deftypefnx Supplemental {unsigned long long int} strtoul (@ +@deftypefnx Supplemental {unsigned long long int} strtoull (@ const char *@var{string}, char **@var{endptr}, int @var{base}) The @code{strtoll} function converts the string in @var{string} to a -- 2.56.0