errno handling in nonreentrant syscalls (fwd)

Joachim Falk jfalk@netxpress.de
Sat May 26 14:31:00 GMT 2001


This is the patch to newlib-1.9.0
it has 2 Parts.

Part 1: fix the errno mess with __impure_ptr_location &
NONREENTRANT_SYSCALLS_GLOBALERRNO

Part 2:
adds a dummy sys directory with dummysyscalls lib and fake crt0.o
This will enable the compiler to generate executables even if they
don't work.
If the compiler generates executables a cross configure will no
more abort with at check if the compiler  m68k-elf-gcc compiler 
works. This test checks for ability to generate
executables.
Later it is possible to gradually replace the dummy syscalls.
This enables hands on development on the embedded controler.

( WARNING:
  The patch includes only one patched aclocal.m4 the dozens of
  other aclocal.m4 in the newlib source tree are only links to
  it. )

						MfG
						Joachim Falk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: newlib-1.9.0.patch.bz2
Type: application/x-bzip2
Size: 10332 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20010526/2142fe99/attachment.bz2>


More information about the Newlib mailing list