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

micael@hildenborg.com micael@hildenborg.com
Mon Nov 17 20:50:59 GMT 2025


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
> > > 
> > > 
> > 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/newlib/attachments/20251117/6849c3ec/attachment.htm>


More information about the Newlib mailing list