| Message ID | 20260119171205.84858-1-andrew@andrewoates.com |
|---|---|
| State | New |
| Headers |
Return-Path: <newlib-bounces~patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id CB4854BBCDF6 for <patchwork@sourceware.org>; Mon, 19 Jan 2026 17:13:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CB4854BBCDF6 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Djr/6kIx X-Original-To: newlib@sourceware.org Delivered-To: newlib@sourceware.org Received: from mail-qv1-xf29.google.com (mail-qv1-xf29.google.com [IPv6:2607:f8b0:4864:20::f29]) by sourceware.org (Postfix) with ESMTPS id C9C7B4BA9012 for <newlib@sourceware.org>; Mon, 19 Jan 2026 17:12:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C9C7B4BA9012 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=andrewoates.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C9C7B4BA9012 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::f29 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1768842731; cv=none; b=BaSGjtGCKvixhQ6bxdS4dgbs/R3DiJX+ydCwnKmW9Ji+aCUVqLJuW5N0Bc/dywVn21s9IkK0iVC4VgWvzgFYh0MB/nga2yV85JXFB/niKEsNekPBoeKcRJ1Vp+i1C33HijL2PhDoFCn9DBezs+Dv3H7pjZwPlq3iWoawXMVWoL0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1768842731; c=relaxed/simple; bh=tn/A8RaCOJVjCrAiwHytENpLMM08jCyN42NCs/V6C0M=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=W9dZxNo55ge3Lt5qk5MS7T0TAXgkAlfHD9g3kM1cnrXN5kVdIRpGXkVHPD8Jt88IMUjRwP5uU1neJ1B3Hm6tqQ7stLbPh5Y/m9ZMqt/5F8g2rYCg7CoFGLhHEUZn2TZ7PE0P6SUgbaA7RnJLqpoK3IH/UunKxRV+5mOyNIK9BcY= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C9C7B4BA9012 Received: by mail-qv1-xf29.google.com with SMTP id 6a1803df08f44-88a2e3bd3cdso45276566d6.0 for <newlib@sourceware.org>; Mon, 19 Jan 2026 09:12:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768842731; x=1769447531; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=X1yldz7XQ9Wdnc8+fwA+J0co2ShkTqckHD6//yPhIw4=; b=Djr/6kIxGS/snmph1woONXKMxYHXqJB6l2UYLLN6y6XsEeTS2thhE9VtGttGvb4sCq ntt6KVqDfpL8VVBOctAXQT9jMtuHQQxWuCwgYQUdyJcC4W9ZqkjHWACxZ1EX0eKBDrDr QNZPkja1GdXDSeQR3rltDDW8qH6zoKoiWHX81tk7eGv1GT3eifFkH0+4FpoHRBD4mQSa FX0LFKJJkv/LiPqBGkYyCJ3iHqNsCwXAhYVx3LtbCSQCDlMSESAD3Lp8IP/bElN+G/0X k47rD9eNtwEnyxfXOVllsgAHe1qH5umcnC9j11jqDQuaJpliFaGMuIeFdwfzCqQqRVDw C/ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768842731; x=1769447531; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=X1yldz7XQ9Wdnc8+fwA+J0co2ShkTqckHD6//yPhIw4=; b=E2MHXZAX0Jlw5tGh5IbCYo9kz7iHgkzTP2zkfKL/z1zi1l5S1M1OCdPP9aFueFEwDz qyCLXhdpq0EcslJ9FcPPlAlQ23sm3SsvQbDAe0ZsbS8eC/ImeAiUX9c2SDoIDt+qD0GF rzP+QOWMbA7hkW33sbD3PjhbwQrWVyLYn8npifVIQiACgbDPfriyRKlwu2T0mGMJi5m2 9xY+isDGQN+7A/bVVJaq/aUjVmkP6WDFe/rzRIs0tpeWqwYEjRbAzwoviQkyRFd2eYBg hcPU/P/MYfkOL9QY649WYLEgG3wsjQ7ORHmp//NCXiwq+xez8+Z49SUKoHe45v6se9Q6 BujQ== X-Gm-Message-State: AOJu0YzYoxxZ3s85UrFOG78lj5AXo9jizPV08jmzvYHDtdQOjx4qCoRF 8BpjSigSsD0M6e3TpGspS4QwUlGWmyKanWkbaFeaFyHGQl8Ab21MRO/zOyGB5A== X-Gm-Gg: AZuq6aKYMQKAZURCRx6fNi7luEPzUL6hTeUckeiwLF3BEvEu0B+iuQr86I+5Igkz/O3 zw2mOE0bqM5SRpjL5xQPsjzmJRgC60Pc7r6+rlkKPOZ/tELRBCwUjbileVB5aU1G1lvqM3bwfa4 cnLduNpC041prKE7ev+VHLoyj4351rGhgi1BW4rDh7DdcoLcNjM4s/wIIgYLvMndecLcw+m2G2O Cnrqdfcc3C92A85pCMdkb6wog8YepzldPqLjXWDdfuUb+C3zUMgIr3TgR4pqehV/pMLctf2p0Ox Z0V8JiBYR5pAFx56gGFnHvwM/solSJn+zHtbsK8SagmW9LQ+WvIZ2ZpNh/2pCpMcLJm8suv7Qp+ LZQuW9NYFeIXS7+31NFIidHhAV+SE7TX8AIhDcE/1rQafuL5cYyxb8mBhf5lLYiyIMuiQBF29I5 oLVhYh36K02yArE48zXQoI9zCqyM4XbJpJXKUK4fJyxgeliA8= X-Received: by 2002:ad4:5943:0:b0:88a:44c8:fe30 with SMTP id 6a1803df08f44-89389fa1335mr211362276d6.10.1768842730550; Mon, 19 Jan 2026 09:12:10 -0800 (PST) Received: from localhost.localdomain ([2601:189:8501:c220:4895:9d03:e50a:771e]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-8942e6d7302sm83642916d6.52.2026.01.19.09.12.09 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 19 Jan 2026 09:12:10 -0800 (PST) Sender: Andrew Oates <andrewoates@gmail.com> From: andrew@andrewoates.com To: newlib@sourceware.org Cc: Andrew Oates <andrew@andrewoates.com> Subject: [PATCH] libc: fix _dummy_signal_syscalls name in signalr.c Date: Mon, 19 Jan 2026 12:11:54 -0500 Message-ID: <20260119171205.84858-1-andrew@andrewoates.com> X-Mailer: git-send-email 2.52.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-10.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Newlib mailing list <newlib.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/newlib>, <mailto:newlib-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/newlib/> List-Post: <mailto:newlib@sourceware.org> List-Help: <mailto:newlib-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/newlib>, <mailto:newlib-request@sourceware.org?subject=subscribe> Errors-To: newlib-bounces~patchwork=sourceware.org@sourceware.org |
| Series |
libc: fix _dummy_signal_syscalls name in signalr.c
|
|
Commit Message
Andrew Oates
Jan. 19, 2026, 5:11 p.m. UTC
From: Andrew Oates <andrew@andrewoates.com>
I don't understand the purpose of these dummy variables, but they date
back to 2000 and the import of the 2000-02-17 snapshot.
_dummy_link_syscalls is defined in two places, here and linkr.c. This
updates the symbol name to match the file, so we don't define the same
symbol in two places.
---
newlib/libc/reent/signalr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Jan 19 12:11, andrew@andrewoates.com wrote: > From: Andrew Oates <andrew@andrewoates.com> > > I don't understand the purpose of these dummy variables, but they date > back to 2000 and the import of the 2000-02-17 snapshot. Me neither. I defer to Jeff here. Corinna > _dummy_link_syscalls is defined in two places, here and linkr.c. This > updates the symbol name to match the file, so we don't define the same > symbol in two places. > --- > newlib/libc/reent/signalr.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/newlib/libc/reent/signalr.c b/newlib/libc/reent/signalr.c > index 863ae7400..e4945102f 100644 > --- a/newlib/libc/reent/signalr.c > +++ b/newlib/libc/reent/signalr.c > @@ -17,7 +17,7 @@ > > #ifdef REENTRANT_SYSCALLS_PROVIDED > > -int _dummy_link_syscalls = 1; > +int _dummy_signal_syscalls = 1; > > #else > > -- > 2.52.0
IIRC, the dummy variables were to prevent the object files from being empty and causing issues with one of the build tools we were using (likely libtool). -- Jeff J. On Tue, Jan 20, 2026 at 4:47 AM Corinna Vinschen <vinschen@redhat.com> wrote: > On Jan 19 12:11, andrew@andrewoates.com wrote: > > From: Andrew Oates <andrew@andrewoates.com> > > > > I don't understand the purpose of these dummy variables, but they date > > back to 2000 and the import of the 2000-02-17 snapshot. > > Me neither. I defer to Jeff here. > > > Corinna > > > _dummy_link_syscalls is defined in two places, here and linkr.c. This > > updates the symbol name to match the file, so we don't define the same > > symbol in two places. > > --- > > newlib/libc/reent/signalr.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/newlib/libc/reent/signalr.c b/newlib/libc/reent/signalr.c > > index 863ae7400..e4945102f 100644 > > --- a/newlib/libc/reent/signalr.c > > +++ b/newlib/libc/reent/signalr.c > > @@ -17,7 +17,7 @@ > > > > #ifdef REENTRANT_SYSCALLS_PROVIDED > > > > -int _dummy_link_syscalls = 1; > > +int _dummy_signal_syscalls = 1; > > > > #else > > > > -- > > 2.52.0 > >
On Jan 20 11:55, Jeff Johnston wrote: > IIRC, the dummy variables were to prevent the object files from being empty > and causing issues with one of the build tools we were using (likely > libtool). Meaning, we don't need them anymore? Corinna > > -- Jeff J. > > On Tue, Jan 20, 2026 at 4:47 AM Corinna Vinschen <vinschen@redhat.com> > wrote: > > > On Jan 19 12:11, andrew@andrewoates.com wrote: > > > From: Andrew Oates <andrew@andrewoates.com> > > > > > > I don't understand the purpose of these dummy variables, but they date > > > back to 2000 and the import of the 2000-02-17 snapshot. > > > > Me neither. I defer to Jeff here. > > > > > > Corinna > > > > > _dummy_link_syscalls is defined in two places, here and linkr.c. This > > > updates the symbol name to match the file, so we don't define the same > > > symbol in two places. > > > --- > > > newlib/libc/reent/signalr.c | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > diff --git a/newlib/libc/reent/signalr.c b/newlib/libc/reent/signalr.c > > > index 863ae7400..e4945102f 100644 > > > --- a/newlib/libc/reent/signalr.c > > > +++ b/newlib/libc/reent/signalr.c > > > @@ -17,7 +17,7 @@ > > > > > > #ifdef REENTRANT_SYSCALLS_PROVIDED > > > > > > -int _dummy_link_syscalls = 1; > > > +int _dummy_signal_syscalls = 1; > > > > > > #else > > > > > > -- > > > 2.52.0 > > > >
Likely, but I would rather this be tested first on multiple platforms. -- Jeff J. On Tue, Jan 20, 2026 at 1:43 PM Corinna Vinschen <vinschen@redhat.com> wrote: > On Jan 20 11:55, Jeff Johnston wrote: > > IIRC, the dummy variables were to prevent the object files from being > empty > > and causing issues with one of the build tools we were using (likely > > libtool). > > Meaning, we don't need them anymore? > > > Corinna > > > > > > -- Jeff J. > > > > On Tue, Jan 20, 2026 at 4:47 AM Corinna Vinschen <vinschen@redhat.com> > > wrote: > > > > > On Jan 19 12:11, andrew@andrewoates.com wrote: > > > > From: Andrew Oates <andrew@andrewoates.com> > > > > > > > > I don't understand the purpose of these dummy variables, but they > date > > > > back to 2000 and the import of the 2000-02-17 snapshot. > > > > > > Me neither. I defer to Jeff here. > > > > > > > > > Corinna > > > > > > > _dummy_link_syscalls is defined in two places, here and linkr.c. > This > > > > updates the symbol name to match the file, so we don't define the > same > > > > symbol in two places. > > > > --- > > > > newlib/libc/reent/signalr.c | 2 +- > > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > > > diff --git a/newlib/libc/reent/signalr.c > b/newlib/libc/reent/signalr.c > > > > index 863ae7400..e4945102f 100644 > > > > --- a/newlib/libc/reent/signalr.c > > > > +++ b/newlib/libc/reent/signalr.c > > > > @@ -17,7 +17,7 @@ > > > > > > > > #ifdef REENTRANT_SYSCALLS_PROVIDED > > > > > > > > -int _dummy_link_syscalls = 1; > > > > +int _dummy_signal_syscalls = 1; > > > > > > > > #else > > > > > > > > -- > > > > 2.52.0 > > > > > > > >
On Jan 20 15:48, Jeff Johnston wrote: > Likely, but I would rather this be tested first on multiple platforms. Alternatively we just use Andrew's patch. It's the safe way forward, I guess. Corinna > > -- Jeff J. > > On Tue, Jan 20, 2026 at 1:43 PM Corinna Vinschen <vinschen@redhat.com> > wrote: > > > On Jan 20 11:55, Jeff Johnston wrote: > > > IIRC, the dummy variables were to prevent the object files from being > > empty > > > and causing issues with one of the build tools we were using (likely > > > libtool). > > > > Meaning, we don't need them anymore? > > > > > > Corinna > > > > > > > > > > -- Jeff J. > > > > > > On Tue, Jan 20, 2026 at 4:47 AM Corinna Vinschen <vinschen@redhat.com> > > > wrote: > > > > > > > On Jan 19 12:11, andrew@andrewoates.com wrote: > > > > > From: Andrew Oates <andrew@andrewoates.com> > > > > > > > > > > I don't understand the purpose of these dummy variables, but they > > date > > > > > back to 2000 and the import of the 2000-02-17 snapshot. > > > > > > > > Me neither. I defer to Jeff here. > > > > > > > > > > > > Corinna > > > > > > > > > _dummy_link_syscalls is defined in two places, here and linkr.c. > > This > > > > > updates the symbol name to match the file, so we don't define the > > same > > > > > symbol in two places. > > > > > --- > > > > > newlib/libc/reent/signalr.c | 2 +- > > > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > > > > > diff --git a/newlib/libc/reent/signalr.c > > b/newlib/libc/reent/signalr.c > > > > > index 863ae7400..e4945102f 100644 > > > > > --- a/newlib/libc/reent/signalr.c > > > > > +++ b/newlib/libc/reent/signalr.c > > > > > @@ -17,7 +17,7 @@ > > > > > > > > > > #ifdef REENTRANT_SYSCALLS_PROVIDED > > > > > > > > > > -int _dummy_link_syscalls = 1; > > > > > +int _dummy_signal_syscalls = 1; > > > > > > > > > > #else > > > > > > > > > > -- > > > > > 2.52.0 > > > > > > > > > > > >
Agreed. I have modified the patch to also change the fstat64 name to be unique and pushed to main. -- Jeff J. On Wed, Jan 21, 2026 at 4:21 AM Corinna Vinschen <vinschen@redhat.com> wrote: > On Jan 20 15:48, Jeff Johnston wrote: > > Likely, but I would rather this be tested first on multiple platforms. > > Alternatively we just use Andrew's patch. It's the safe way forward, > I guess. > > > Corinna > > > > > > -- Jeff J. > > > > On Tue, Jan 20, 2026 at 1:43 PM Corinna Vinschen <vinschen@redhat.com> > > wrote: > > > > > On Jan 20 11:55, Jeff Johnston wrote: > > > > IIRC, the dummy variables were to prevent the object files from being > > > empty > > > > and causing issues with one of the build tools we were using (likely > > > > libtool). > > > > > > Meaning, we don't need them anymore? > > > > > > > > > Corinna > > > > > > > > > > > > > > -- Jeff J. > > > > > > > > On Tue, Jan 20, 2026 at 4:47 AM Corinna Vinschen < > vinschen@redhat.com> > > > > wrote: > > > > > > > > > On Jan 19 12:11, andrew@andrewoates.com wrote: > > > > > > From: Andrew Oates <andrew@andrewoates.com> > > > > > > > > > > > > I don't understand the purpose of these dummy variables, but they > > > date > > > > > > back to 2000 and the import of the 2000-02-17 snapshot. > > > > > > > > > > Me neither. I defer to Jeff here. > > > > > > > > > > > > > > > Corinna > > > > > > > > > > > _dummy_link_syscalls is defined in two places, here and linkr.c. > > > This > > > > > > updates the symbol name to match the file, so we don't define the > > > same > > > > > > symbol in two places. > > > > > > --- > > > > > > newlib/libc/reent/signalr.c | 2 +- > > > > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > > > > > > > diff --git a/newlib/libc/reent/signalr.c > > > b/newlib/libc/reent/signalr.c > > > > > > index 863ae7400..e4945102f 100644 > > > > > > --- a/newlib/libc/reent/signalr.c > > > > > > +++ b/newlib/libc/reent/signalr.c > > > > > > @@ -17,7 +17,7 @@ > > > > > > > > > > > > #ifdef REENTRANT_SYSCALLS_PROVIDED > > > > > > > > > > > > -int _dummy_link_syscalls = 1; > > > > > > +int _dummy_signal_syscalls = 1; > > > > > > > > > > > > #else > > > > > > > > > > > > -- > > > > > > 2.52.0 > > > > > > > > > > > > > > > > > >
On Jan 21 12:40, Jeff Johnston wrote: > Agreed. I have modified the patch to also change the fstat64 name to be > unique and pushed to main. Great! For the newlib snapshot, let's wait a bit for a reply to the patch from https://sourceware.org/pipermail/newlib/2026/022236.html Corinna > > -- Jeff J. > > On Wed, Jan 21, 2026 at 4:21 AM Corinna Vinschen <vinschen@redhat.com> > wrote: > > > On Jan 20 15:48, Jeff Johnston wrote: > > > Likely, but I would rather this be tested first on multiple platforms. > > > > Alternatively we just use Andrew's patch. It's the safe way forward, > > I guess. > > > > > > Corinna > > > > > > > > > > -- Jeff J. > > > > > > On Tue, Jan 20, 2026 at 1:43 PM Corinna Vinschen <vinschen@redhat.com> > > > wrote: > > > > > > > On Jan 20 11:55, Jeff Johnston wrote: > > > > > IIRC, the dummy variables were to prevent the object files from being > > > > empty > > > > > and causing issues with one of the build tools we were using (likely > > > > > libtool). > > > > > > > > Meaning, we don't need them anymore? > > > > > > > > > > > > Corinna > > > > > > > > > > > > > > > > > > -- Jeff J. > > > > > > > > > > On Tue, Jan 20, 2026 at 4:47 AM Corinna Vinschen < > > vinschen@redhat.com> > > > > > wrote: > > > > > > > > > > > On Jan 19 12:11, andrew@andrewoates.com wrote: > > > > > > > From: Andrew Oates <andrew@andrewoates.com> > > > > > > > > > > > > > > I don't understand the purpose of these dummy variables, but they > > > > date > > > > > > > back to 2000 and the import of the 2000-02-17 snapshot. > > > > > > > > > > > > Me neither. I defer to Jeff here. > > > > > > > > > > > > > > > > > > Corinna > > > > > > > > > > > > > _dummy_link_syscalls is defined in two places, here and linkr.c. > > > > This > > > > > > > updates the symbol name to match the file, so we don't define the > > > > same > > > > > > > symbol in two places. > > > > > > > --- > > > > > > > newlib/libc/reent/signalr.c | 2 +- > > > > > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > > > > > > > > > diff --git a/newlib/libc/reent/signalr.c > > > > b/newlib/libc/reent/signalr.c > > > > > > > index 863ae7400..e4945102f 100644 > > > > > > > --- a/newlib/libc/reent/signalr.c > > > > > > > +++ b/newlib/libc/reent/signalr.c > > > > > > > @@ -17,7 +17,7 @@ > > > > > > > > > > > > > > #ifdef REENTRANT_SYSCALLS_PROVIDED > > > > > > > > > > > > > > -int _dummy_link_syscalls = 1; > > > > > > > +int _dummy_signal_syscalls = 1; > > > > > > > > > > > > > > #else > > > > > > > > > > > > > > -- > > > > > > > 2.52.0 > > > > > > > > > > > > > > > > > > > > > > > >
Ok. On Wed, Jan 21, 2026 at 1:21 PM Corinna Vinschen <vinschen@redhat.com> wrote: > On Jan 21 12:40, Jeff Johnston wrote: > > Agreed. I have modified the patch to also change the fstat64 name to be > > unique and pushed to main. > > Great! For the newlib snapshot, let's wait a bit for a reply to the > patch from https://sourceware.org/pipermail/newlib/2026/022236.html > > > Corinna > > > > > -- Jeff J. > > > > On Wed, Jan 21, 2026 at 4:21 AM Corinna Vinschen <vinschen@redhat.com> > > wrote: > > > > > On Jan 20 15:48, Jeff Johnston wrote: > > > > Likely, but I would rather this be tested first on multiple > platforms. > > > > > > Alternatively we just use Andrew's patch. It's the safe way forward, > > > I guess. > > > > > > > > > Corinna > > > > > > > > > > > > > > -- Jeff J. > > > > > > > > On Tue, Jan 20, 2026 at 1:43 PM Corinna Vinschen < > vinschen@redhat.com> > > > > wrote: > > > > > > > > > On Jan 20 11:55, Jeff Johnston wrote: > > > > > > IIRC, the dummy variables were to prevent the object files from > being > > > > > empty > > > > > > and causing issues with one of the build tools we were using > (likely > > > > > > libtool). > > > > > > > > > > Meaning, we don't need them anymore? > > > > > > > > > > > > > > > Corinna > > > > > > > > > > > > > > > > > > > > > > -- Jeff J. > > > > > > > > > > > > On Tue, Jan 20, 2026 at 4:47 AM Corinna Vinschen < > > > vinschen@redhat.com> > > > > > > wrote: > > > > > > > > > > > > > On Jan 19 12:11, andrew@andrewoates.com wrote: > > > > > > > > From: Andrew Oates <andrew@andrewoates.com> > > > > > > > > > > > > > > > > I don't understand the purpose of these dummy variables, but > they > > > > > date > > > > > > > > back to 2000 and the import of the 2000-02-17 snapshot. > > > > > > > > > > > > > > Me neither. I defer to Jeff here. > > > > > > > > > > > > > > > > > > > > > Corinna > > > > > > > > > > > > > > > _dummy_link_syscalls is defined in two places, here and > linkr.c. > > > > > This > > > > > > > > updates the symbol name to match the file, so we don't > define the > > > > > same > > > > > > > > symbol in two places. > > > > > > > > --- > > > > > > > > newlib/libc/reent/signalr.c | 2 +- > > > > > > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > > > > > > > > > > > diff --git a/newlib/libc/reent/signalr.c > > > > > b/newlib/libc/reent/signalr.c > > > > > > > > index 863ae7400..e4945102f 100644 > > > > > > > > --- a/newlib/libc/reent/signalr.c > > > > > > > > +++ b/newlib/libc/reent/signalr.c > > > > > > > > @@ -17,7 +17,7 @@ > > > > > > > > > > > > > > > > #ifdef REENTRANT_SYSCALLS_PROVIDED > > > > > > > > > > > > > > > > -int _dummy_link_syscalls = 1; > > > > > > > > +int _dummy_signal_syscalls = 1; > > > > > > > > > > > > > > > > #else > > > > > > > > > > > > > > > > -- > > > > > > > > 2.52.0 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
diff --git a/newlib/libc/reent/signalr.c b/newlib/libc/reent/signalr.c index 863ae7400..e4945102f 100644 --- a/newlib/libc/reent/signalr.c +++ b/newlib/libc/reent/signalr.c @@ -17,7 +17,7 @@ #ifdef REENTRANT_SYSCALLS_PROVIDED -int _dummy_link_syscalls = 1; +int _dummy_signal_syscalls = 1; #else