| Message ID | 1759129079498.7.894@webmail-backend-production-5df46479fc-qw6kr |
|---|---|
| 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 server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 374F03857830 for <patchwork@sourceware.org>; Mon, 29 Sep 2025 06:58:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 374F03857830 Authentication-Results: sourceware.org; dkim=fail reason="signature verification failed" (2048-bit key, secure) header.d=hildenborg.com header.i=@hildenborg.com header.a=rsa-sha256 header.s=rsa1 header.b=X0K8rWzj; dkim=fail reason="signature verification failed" header.d=hildenborg.com header.i=@hildenborg.com header.a=ed25519-sha256 header.s=ed1 header.b=8AIvm3X5 X-Original-To: newlib@sourceware.org Delivered-To: newlib@sourceware.org Received: from mailrelay-egress6.pub.mailoutpod3-cph3.one.com (mailrelay-egress6.pub.mailoutpod3-cph3.one.com [IPv6:2a02:2350:5:425::1]) by sourceware.org (Postfix) with ESMTPS id EFA66385772A for <newlib@sourceware.org>; Mon, 29 Sep 2025 06:58:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EFA66385772A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=hildenborg.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=hildenborg.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org EFA66385772A Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a02:2350:5:425::1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1759129084; cv=none; b=bEXA15ANj0c7/NukFhAPhstbHF+gyNyo4NnoVC0ibmaSfp20uNrmSetxDaZMr3086uOXJGGnJMrwoJ0f91hfdHfwJcWNLpC7gvtYiBeEkybHgQP3OHjLTPRY2ejVoKpUtWwsA3i8+Vi7/uvdXzy6kqkjenxhk/nIRXE99H6vS7s= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1759129084; c=relaxed/simple; bh=QK0Q8RFFV5+ZoFpQOD0szfZqvui08qu3TGE1RmMDA4Q=; h=DKIM-Signature:DKIM-Signature:Date:MIME-Version:Message-ID:To: From:Subject; b=Td715DTsevh82aUXtMaNsANLTHZnpKpYjgpvSjS+XhY+12tdy98Oewjkw839ecOFqhyE8UQvXDUCV+Otci2QqBouN79MFY4XQDVF7q+vEhD7sNqea37652Gaz/knvP/0dvTrXawIwPeiXGc3Z3YXdlexICyjUn3TcHOUYGhw5/w= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EFA66385772A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1759129081; x=1759733881; d=hildenborg.com; s=rsa1; h=content-type:subject:reply-to:from:to:message-id:mime-version:date:from; bh=URwWEhulrNEN9AiGvFYZ3g0I92JU0s03tldgFAlw4tw=; b=X0K8rWzjAjIe3ijFEM8GlFjhFia9MSO+qrep19+UVSvJmEiAJ9IcdQM3gj6G3/Ka7GneV9e64UMaC eO1ASnk1oRgdtrv3w07q1Oq6ta6ULEO2IJWjJvHUdI+81F95uguQQ4GaLWfcz1UtY9kmwuo9sQC2N/ v0DC4Xs5uYkhO/lGwU9WS2drvkmKDXTj/5HiKKlD09FmUciMml5uuzL08kuqu4zMIAGdbAZ1wAMtRa 2Hgituj5qtUCuQV+swxYOXCfi/lyZrDYnSKaaJGeTyt9iKdjZlZEKK4Cv0uzXmRPMUUrsDj/PdmNt/ ojF037uR9XF7PuOpP8/eWNCATBEV8dQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1759129081; x=1759733881; d=hildenborg.com; s=ed1; h=content-type:subject:reply-to:from:to:message-id:mime-version:date:from; bh=URwWEhulrNEN9AiGvFYZ3g0I92JU0s03tldgFAlw4tw=; b=8AIvm3X5l/O5TQcxcB/OaXbX+Lo1535Om7u/ZOMFQaNXYKLyKI7pT1SNLkTULWsiBc1/RPpeqhJMK eqt0hxJCA== X-HalOne-ID: a2d9c6f4-9d01-11f0-a746-85eb291bc831 Received: from onecom-webmail-backend-production-5df46479fc-pcqz5 (service.pub.live1-k8s-cph3.one.com [46.30.212.67]) by mailrelay5.pub.mailoutpod2-cph3.one.com (Halon) with ESMTPSA id a2d9c6f4-9d01-11f0-a746-85eb291bc831; Mon, 29 Sep 2025 06:58:00 +0000 (UTC) X-Originating-IP: 5.150.200.97 User-Agent: One.com webmail 49.5.6 Date: Mon, 29 Sep 2025 08:57:59 +0200 MIME-Version: 1.0 Message-ID: <1759129079498.7.894@webmail-backend-production-5df46479fc-qw6kr> To: "newlib mailinglist" <newlib@sourceware.org> From: <micael@hildenborg.com> Subject: [PATCH 0/5] newlib: m68k-atari-dev fixes. Content-Type: multipart/mixed; boundary="----------892-1759129079498-1" X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, HTML_MESSAGE, KAM_LOTSOFHASH, MIME_QP_LONG_LINE, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.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> Reply-To: micael@hildenborg.com Errors-To: newlib-bounces~patchwork=sourceware.org@sourceware.org |
Commit Message
micael@hildenborg.com
Sept. 29, 2025, 6:57 a.m. UTC
Collection of bugfixes after feedback from community. Should only affect the target: m68k-atari-dev. Mikael Hildenborg (5): m68k-atari-elf: fixed wrong number of seconds between 1900 and 1980. m68k-atari-elf: changed stack and heap handling to mimic mintlib. m68k-atari-elf: updated readme m68k-atari-elf: proper setup of environment variables and program arguments. m68k-atari-elf: specs file declares environ as undefined. libgloss/m68k/atari/README | 26 +-- libgloss/m68k/atari/atari-crt0.S | 55 +----- libgloss/m68k/atari/atari-crti.S | 123 +++++++++---- libgloss/m68k/atari/atari-environ.c | 267 +++++++++++++++++++++++++++- libgloss/m68k/atari/atari-gettod.c | 2 +- libgloss/m68k/atari/atari-sbrk.c | 18 +- libgloss/m68k/atari/atari-tos.specs | 2 +- 7 files changed, 389 insertions(+), 104 deletions(-) -- 2.43.0
Comments
BUMP Also, I wrote wrong below: The only target affected whould be "m68k-atari-elf". /Mikael Hildenborg. Den måndag 29 september 2025 kl. 08:57:59 +02:00, skrev <micael@hildenborg.com>: > Collection of bugfixes after feedback from community. > Should only affect the target: m68k-atari-dev. > > Mikael Hildenborg (5): > m68k-atari-elf: fixed wrong number of seconds between 1900 and 1980. > m68k-atari-elf: changed stack and heap handling to mimic mintlib. > m68k-atari-elf: updated readme > m68k-atari-elf: proper setup of environment variables and program > arguments. > m68k-atari-elf: specs file declares environ as undefined. > > libgloss/m68k/atari/README | 26 +-- > libgloss/m68k/atari/atari-crt0.S | 55 +----- > libgloss/m68k/atari/atari-crti.S | 123 +++++++++---- > libgloss/m68k/atari/atari-environ.c | 267 +++++++++++++++++++++++++++- > libgloss/m68k/atari/atari-gettod.c | 2 +- > libgloss/m68k/atari/atari-sbrk.c | 18 +- > libgloss/m68k/atari/atari-tos.specs | 2 +- > 7 files changed, 389 insertions(+), 104 deletions(-) > > -- > 2.43.0 > >
Hi Micael, Sorry for the delay. There appears to be something wrong with your change to the seconds from 1900-1980 value. According to a simple web search, it should be close to the original value (10 digits) while the new updated value is only 9 digits. Can you explain this? -- Jeff J. On Mon, Nov 17, 2025 at 4:15 AM <micael@hildenborg.com> wrote: > BUMP > > Also, I wrote wrong below: The only target affected whould be > "m68k-atari-elf". > > /Mikael Hildenborg. > > > Den måndag 29 september 2025 kl. 08:57:59 +02:00, skrev < > micael@hildenborg.com>: > > Collection of bugfixes after feedback from community. > Should only affect the target: m68k-atari-dev. > > Mikael Hildenborg (5): > m68k-atari-elf: fixed wrong number of seconds between 1900 and 1980. > m68k-atari-elf: changed stack and heap handling to mimic mintlib. > m68k-atari-elf: updated readme > m68k-atari-elf: proper setup of environment variables and program > arguments. > m68k-atari-elf: specs file declares environ as undefined. > > libgloss/m68k/atari/README | 26 +-- > libgloss/m68k/atari/atari-crt0.S | 55 +----- > libgloss/m68k/atari/atari-crti.S | 123 +++++++++---- > libgloss/m68k/atari/atari-environ.c | 267 +++++++++++++++++++++++++++- > libgloss/m68k/atari/atari-gettod.c | 2 +- > libgloss/m68k/atari/atari-sbrk.c | 18 +- > libgloss/m68k/atari/atari-tos.specs | 2 +- > 7 files changed, 389 insertions(+), 104 deletions(-) > > -- > 2.43.0 > > >
Hi Jeff, The value is correct, but the name of the define is wrong. SEC_1900_TO_1980 should be named SEC_1970_TO_1980. And the same goes for SEC_1900_TO_MAX. I can fix it and mail another patch. Good catch by the way. /Mikael. Den måndag 17 november 2025 kl. 18:54:53 +01:00, skrev Jeff Johnston <jjohnstn@redhat.com>: > Hi Micael, > > Sorry for the delay. There appears to be something wrong with your change to the seconds from 1900-1980 value. According to a simple web search, it should be close to the original value (10 digits) while the new updated value is only 9 digits. Can you explain this? > > -- Jeff J. > > > > > On Mon, Nov 17, 2025 at 4:15 AM <<micael@hildenborg.com>> wrote: > > > BUMP > > > > Also, I wrote wrong below: The only target affected whould be "m68k-atari-elf". > > > > /Mikael Hildenborg. > > > > > > Den måndag 29 september 2025 kl. 08:57:59 +02:00, skrev <<micael@hildenborg.com>>: > > > > > Collection of bugfixes after feedback from community. > > > Should only affect the target: m68k-atari-dev. > > > > > > Mikael Hildenborg (5): > > > m68k-atari-elf: fixed wrong number of seconds between 1900 and 1980. > > > m68k-atari-elf: changed stack and heap handling to mimic mintlib. > > > m68k-atari-elf: updated readme > > > m68k-atari-elf: proper setup of environment variables and program > > > arguments. > > > m68k-atari-elf: specs file declares environ as undefined. > > > > > > libgloss/m68k/atari/README | 26 +-- > > > libgloss/m68k/atari/atari-crt0.S | 55 +----- > > > libgloss/m68k/atari/atari-crti.S | 123 +++++++++---- > > > libgloss/m68k/atari/atari-environ.c | 267 +++++++++++++++++++++++++++- > > > libgloss/m68k/atari/atari-gettod.c | 2 +- > > > libgloss/m68k/atari/atari-sbrk.c | 18 +- > > > libgloss/m68k/atari/atari-tos.specs | 2 +- > > > 7 files changed, 389 insertions(+), 104 deletions(-) > > > > > > -- > > > 2.43.0 > > > > > > > >
Hi Jeff, I fixed the issue with macro names and did a git rebase, so here are a new set of patches that replaces the ones I previously mailed. And as previously mentioned, they will only affect the m68k-atari-elf target. /Mikael. Den måndag 17 november 2025 kl. 21:50:59 +01:00, skrev <micael@hildenborg.com>: > Hi Jeff, > > The value is correct, but the name of the define is wrong. > SEC_1900_TO_1980 should be named SEC_1970_TO_1980. > And the same goes for SEC_1900_TO_MAX. > > I can fix it and mail another patch. > > Good catch by the way. > > /Mikael. > > > > > > Den måndag 17 november 2025 kl. 18:54:53 +01:00, skrev Jeff Johnston <jjohnstn@redhat.com>: > > > Hi Micael, > > > > Sorry for the delay. There appears to be something wrong with your change to the seconds from 1900-1980 value. According to a simple web search, it should be close to the original value (10 digits) while the new updated value is only 9 digits. Can you explain this? > > > > -- Jeff J. > > > > > > > > > > On Mon, Nov 17, 2025 at 4:15 AM <<micael@hildenborg.com>> wrote: > > > > > BUMP > > > > > > Also, I wrote wrong below: The only target affected whould be "m68k-atari-elf". > > > > > > /Mikael Hildenborg. > > > > > > > > > Den måndag 29 september 2025 kl. 08:57:59 +02:00, skrev <<micael@hildenborg.com>>: > > > > > > > Collection of bugfixes after feedback from community. > > > > Should only affect the target: m68k-atari-dev. > > > > > > > > Mikael Hildenborg (5): > > > > m68k-atari-elf: fixed wrong number of seconds between 1900 and 1980. > > > > m68k-atari-elf: changed stack and heap handling to mimic mintlib. > > > > m68k-atari-elf: updated readme > > > > m68k-atari-elf: proper setup of environment variables and program > > > > arguments. > > > > m68k-atari-elf: specs file declares environ as undefined. > > > > > > > > libgloss/m68k/atari/README | 26 +-- > > > > libgloss/m68k/atari/atari-crt0.S | 55 +----- > > > > libgloss/m68k/atari/atari-crti.S | 123 +++++++++---- > > > > libgloss/m68k/atari/atari-environ.c | 267 +++++++++++++++++++++++++++- > > > > libgloss/m68k/atari/atari-gettod.c | 2 +- > > > > libgloss/m68k/atari/atari-sbrk.c | 18 +- > > > > libgloss/m68k/atari/atari-tos.specs | 2 +- > > > > 7 files changed, 389 insertions(+), 104 deletions(-) > > > > > > > > -- > > > > 2.43.0 > > > > > > > > > > > >
Thanks Mikael, Patches pushed to main. -- Jeff J. On Wed, Dec 3, 2025 at 11:00 AM <micael@hildenborg.com> wrote: > Hi Jeff, > > I fixed the issue with macro names and did a git rebase, so here are a new > set of patches that replaces the ones I previously mailed. > And as previously mentioned, they will only affect the m68k-atari-elf > target. > > /Mikael. > > > > > Den måndag 17 november 2025 kl. 21:50:59 +01:00, skrev < > micael@hildenborg.com>: > > Hi Jeff, > > The value is correct, but the name of the define is wrong. > SEC_1900_TO_1980 should be named SEC_1970_TO_1980. > And the same goes for SEC_1900_TO_MAX. > > I can fix it and mail another patch. > > Good catch by the way. > > /Mikael. > > > > > > Den måndag 17 november 2025 kl. 18:54:53 +01:00, skrev Jeff Johnston < > jjohnstn@redhat.com>: > > Hi Micael, > > Sorry for the delay. There appears to be something wrong with your change > to the seconds from 1900-1980 value. According to a simple web search, it > should be close to the original value (10 digits) while the new updated > value is only 9 digits. Can you explain this? > > -- Jeff J. > > > > On Mon, Nov 17, 2025 at 4:15 AM <micael@hildenborg.com> wrote: > > BUMP > > Also, I wrote wrong below: The only target affected whould be > "m68k-atari-elf". > > /Mikael Hildenborg. > > > Den måndag 29 september 2025 kl. 08:57:59 +02:00, skrev < > micael@hildenborg.com>: > > Collection of bugfixes after feedback from community. > Should only affect the target: m68k-atari-dev. > > Mikael Hildenborg (5): > m68k-atari-elf: fixed wrong number of seconds between 1900 and 1980. > m68k-atari-elf: changed stack and heap handling to mimic mintlib. > m68k-atari-elf: updated readme > m68k-atari-elf: proper setup of environment variables and program > arguments. > m68k-atari-elf: specs file declares environ as undefined. > > libgloss/m68k/atari/README | 26 +-- > libgloss/m68k/atari/atari-crt0.S | 55 +----- > libgloss/m68k/atari/atari-crti.S | 123 +++++++++---- > libgloss/m68k/atari/atari-environ.c | 267 +++++++++++++++++++++++++++- > libgloss/m68k/atari/atari-gettod.c | 2 +- > libgloss/m68k/atari/atari-sbrk.c | 18 +- > libgloss/m68k/atari/atari-tos.specs | 2 +- > 7 files changed, 389 insertions(+), 104 deletions(-) > > -- > 2.43.0 > > > > >
From c71bddf39a040492dcfdb27c386227c816b63da4 Mon Sep 17 00:00:00 2001 From: Mikael Hildenborg <micael@hildenborg.com> Date: Fri, 26 Sep 2025 08:47:21 +0200 Subject: [PATCH 5/5] m68k-atari-elf: specs file declares environ as undefined. --- libgloss/m68k/atari/atari-tos.specs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgloss/m68k/atari/atari-tos.specs b/libgloss/m68k/atari/atari-tos.specs index 00781c4fc..02037132c 100644 --- a/libgloss/m68k/atari/atari-tos.specs +++ b/libgloss/m68k/atari/atari-tos.specs @@ -4,7 +4,7 @@ # Atari gcc specs *link: -+ --emit-relocs --no-warn-rwx-segments -static --no-warn-execstack --undefined=__errno -T atari-tos.ld ++ --emit-relocs --no-warn-rwx-segments -static --no-warn-execstack --undefined=environ --undefined=__errno -T atari-tos.ld *lib: + -latari-tos -- 2.43.0