Fixes for mmix-knuth-mmixware
Tue Feb 12 16:06:00 GMT 2002
Hans-Peter Nilsson wrote:
> Hi. A few patches (attached) for:
> - Framework bugs, needs _link and should define _times, not times (a bug
> in common with other targets, it seems).
> - Trying to handle file append completely wrong (there's actually no
> support for it in the simulator).
> - Missing __volatile__ on the value-returning asms for simulator calls
> made them disappear if the values weren't used. Bad if you expect some
> side-effect from them. :-)
> Can I please commit this? (Else please consider doing it for me.)
> Can I commit changes to the mmixware files in the future, without explicit
Yes, assuming you already have write access.
> 2002-02-12 Hans-Peter Nilsson <email@example.com>
> * libc/sys/mmixware/link.c: New.
> * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
> * libc/sys/mmixware/times.c (_times): Renamed from times.
> * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
> properly by reading previous contents, not through BinaryReadWrite.
> * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
> * libc/sys/mmixware/Makefile.in: Regenerate.
> (Nag: don't forget to regenerate libc/sys/mmixware/Makefile.in. ;-)
-- Jeff J.
More information about the Newlib