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

micael@hildenborg.com micael@hildenborg.com
Wed Dec 3 16:00:07 GMT 2025


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/newlib/attachments/20251203/0b4bb2be/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-m68k-atari-elf-fixed-wrong-number-of-seconds-between.patch
Type: text/x-patch
Size: 1870 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/newlib/attachments/20251203/0b4bb2be/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-m68k-atari-elf-changed-stack-and-heap-handling-to-mi.patch
Type: text/x-patch
Size: 4037 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/newlib/attachments/20251203/0b4bb2be/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-m68k-atari-elf-updated-readme.patch
Type: text/x-patch
Size: 2290 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/newlib/attachments/20251203/0b4bb2be/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-m68k-atari-elf-proper-setup-of-environment-variables.patch
Type: text/x-patch
Size: 12216 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/newlib/attachments/20251203/0b4bb2be/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-m68k-atari-elf-specs-file-declares-environ-as-undefi.patch
Type: text/x-patch
Size: 847 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/newlib/attachments/20251203/0b4bb2be/attachment-0009.bin>


More information about the Newlib mailing list