diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2002-10-03 19:33:08 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2002-10-03 19:33:08 +0000 |
commit | af5a221f607f1ceb95345d379e93f51e6d01f5dc (patch) | |
tree | d22cefb39546bddbf05d8840765059921e85b67d /newlib | |
parent | 8c8150d4c9bbc565a680b8e4a1880a48bf9df11c (diff) | |
download | newlib-af5a221f607f1ceb95345d379e93f51e6d01f5dc.zip newlib-af5a221f607f1ceb95345d379e93f51e6d01f5dc.tar.gz newlib-af5a221f607f1ceb95345d379e93f51e6d01f5dc.tar.bz2 |
2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/reent.h: Update documentation at start of file.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/libc/include/reent.h | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 052e372..246fb94 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2002-10-03 Jeff Johnston <jjohnstn@redhat.com> + + * libc/include/reent.h: Update documentation at start of file. + 2002-09-27 Jim Wilson <wilson@redhat.com> * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing diff --git a/newlib/libc/include/reent.h b/newlib/libc/include/reent.h index 8f10779..52cc8cd 100644 --- a/newlib/libc/include/reent.h +++ b/newlib/libc/include/reent.h @@ -14,20 +14,20 @@ 1) Define the reentrant versions of the syscalls directly. (eg: _open_r, _close_r, etc.). Please keep the namespace clean. - When you do this, set "syscall_dir" to "syscalls" in configure.in, - and add -DREENTRANT_SYSCALLS_PROVIDED to target_cflags in configure.in. + When you do this, set "syscall_dir" to "syscalls" and add + -DREENTRANT_SYSCALLS_PROVIDED to newlib_cflags in configure.host. 2) Define namespace clean versions of the system calls by prefixing them with '_' (eg: _open, _close, etc.). Technically, there won't be true reentrancy at the syscall level, but the library will be namespace clean. - When you do this, set "syscall_dir" to "syscalls" in configure.in. + When you do this, set "syscall_dir" to "syscalls" in configure.host. 3) Define or otherwise provide the regular versions of the syscalls (eg: open, close, etc.). The library won't be reentrant nor namespace clean, but at least it will work. - When you do this, add -DMISSING_SYSCALL_NAMES to target_cflags in - configure.in. + When you do this, add -DMISSING_SYSCALL_NAMES to newlib_cflags in + configure.host. Stubs of the reentrant versions of the syscalls exist in the libc/reent source directory and are used if REENTRANT_SYSCALLS_PROVIDED isn't defined. |