Re: [PATCH 0/5] newlib: m68k-atari-dev fixes.

Jeff Johnston <[email protected]> Thu, 11 Dec 2025 16:25:24 -0500
Newsgroups gmane.comp.lib.newlib
Message-ID <CAOox84s+fi80LSTs0rr0vLMu4V9zUTFzyhe65gBJxUdT_UNi+A@mail.gmail.com>
Thanks Mikael,

Patches pushed to main.

-- Jeff J.

On Wed, Dec 3, 2025 at 11:00 AM <[email protected]> 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 <
> [email protected]>:
>
> 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 <
> [email protected]>:
>
> 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 <[email protected]> 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 <
> [email protected]>:
>
> 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
>
>
>
>
>