summaryrefslogtreecommitdiffstats
path: root/newlib/libc
Commit message (Collapse)AuthorAgeFilesLines
* 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-03-062-2/+2
| | | | | | * libc/machine/i386/Makefile.am: Add $(oext) for setjmp object so it works for shared library or statici library. * libc/machine/i386/Makefile.in: Regenerated.
* * Makefile.am (lib_a_SOURCES, SH64 case): Add memcpy.S, memset.SJoern Rennecke2002-03-066-150/+491
| | | | | | | | | | and strcpy.S. * Makefile.in: Regenerate. * asm.h (_ENTRY): Set SH5 alignment to 8 bytes. (SHHI, SHLO): Define. * memcpy.S: Add code for SH5. * memset.S: Likewise. * strcpy.S: Likewise.
* 2002-02-27 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-02-27107-1687/+3014
| | | | | | | | | | | | | | * configure.host: Add check for --disable-newlib-io-float configuration option and add -DNO_FLOATING_POINT to newlib cflags if appropriate. * acinclude.m4: Added --disable-newlib-io-float option. * aclocal.m4: Regenerated. * configure: Ditto. * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure * libc/*/aclocal.m4 libc/*/configure * libm/*/aclocal.m4 libm/*/configure: Ditto. * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT if NO_FLOATING_POINT flag is not defined.
* 2002-02-25 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-02-251-2/+2
| | | | | * libc/include/sys/config.h: Add __extension__ in front of long long references.
* * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.Corinna Vinschen2002-02-231-0/+2
| | | | (_stat): Ditto.
* * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t insteadCorinna Vinschen2002-02-231-1/+1
| | | | of off_t.
* Add missing clobbered register.Nick Clifton2002-02-201-1/+1
|
* 2002-02-15 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-02-151-0/+11
| | | | | * libc/include/sys/config.h: Add definitions for __int16_t, __uint16_t, __int64_t, and __uint64_t.
* 2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>Jeff Johnston2002-02-136-30/+192
| | | | | | | | | | | * libc/sys/mmixware/link.c: New. * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm volatile. * 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.
* * libc/include/grp.h: Don't declare group functions when compilingCorinna Vinschen2002-02-101-0/+2
| | | | Cygwin.
* * libc/include/grp.h: Include Cygwin specific header.Corinna Vinschen2002-02-093-2/+11
| | | | | | | * libc/include/sys/stat.h: Ditto. Don't define `struct stat' when compiling for Cygwin. * libc/include/sys/types.h: Don't define off_t, uid_t and gid_t when compiling for Cygwin.
* * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): AllocateMatthew Green2002-02-091-1/+1
| | | | _REENT_EMERGENCY_SIZE, not sizeof(char *).
* Contribute sh64-elf.Alexandre Oliva2002-02-089-4/+374
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-13 Alexandre Oliva <aoliva@redhat.com> * configure.host (newlib_cflags) [sh*-*-*]: Enable long long support in printf. 2001-01-29 Alexandre Oliva <aoliva@redhat.com> * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before any labels. 2001-01-24 Alexandre Oliva <aoliva@redhat.com> * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2. 2000-12-16 Alexandre Oliva <aoliva@redhat.com> * libc/machine/sh/configure.in: Rework conditionals. * libc/machine/sh/Makefile.am: Likewise. * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt. 2000-12-01 Alexandre Oliva <aoliva@redhat.com> * configure.host: Match `sh*'. * libc/include/machine/setjmp.h: Define for SH5. * libc/machine/sh/configure.in: Detect SH5. * libc/machine/sh/configure: Rebuilt. * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5. * libc/machine/sh/Makefile.in: Rebuilt. * libc/machine/sh/asm.h: Adjust for SH5. * libc/machine/sh/setjmp.S: Implement in SHmedia. * libc/sys/sh/crt0.S: Likewise. * libc/sys/sh/trap.S: Likewise.
* 2002-02-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-02-072-9/+19
| | | | | | | | | * libc/machine/i386/Makefile.am: (mach_add_src): Remove. (mach_add_obj): Conditionally set to setjmp.o or nothing. (LIB_SOURCES): Remove $(mach_add_src). (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src). (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto. * libc/machine/i386/Makefile.in: Regenerate.
* 2002-02-05 Manik Raina <manik@cisco.com>Jeff Johnston2002-02-053-4/+6
| | | | | | | * libc/misc/dprintf (parse_number): #if 0 unused function. * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables s, p, k, and outstr. * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
* 2002-02-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-02-041-0/+1
| | | | | * libc/include/sys/reent.h [(!_REENT_SMALL]: Add _REENT_CHECK_EMERGENCY macro.
* * libc/reent/signgam.c (__signgam): Fix error in previous.Matthew Green2002-02-031-1/+1
|
* * implement a new `struct _reent' that is significantly smaller. use thisMatthew Green2002-02-0336-59/+353
| | | | if _REENT_SMALL is defined in config.h. define this for xstormy16.
* In ld/ChangeLog:Geoffrey Keating2002-02-014-1/+742
| | | | | | | | | | | | | | | | | | | * scripttempl/xstormy16.sc: Don't allocate extra space for the stack. In libgloss/ChangeLog: * xstormy16/Makefile.in (SIM_OBJS): Remove sbrk.o, add sim_malloc_start.o. * xstormy16/eva_app.ld: Add __malloc_start. * xstormy16/sbrk.c: Remove. * xstormy16/sim_malloc_start.s: New file. * xstormy16/sim_high.ld: Make the stack start immediately at the end of the program. In newlib/ChangeLog: * configure.host (xstormy16): Don't use the generic malloc. * libc/machine/xstormy16/Makefile.am: Build tiny-malloc. * libc/machine/xstormy16/Makefile.in: Regenerate. * libc/machine/xstormy16/mallocr.c: New file. * libc/machine/xstormy16/tiny-malloc.c: New file.
* * libc/include/sys/signal.h [__CYGWIN__]: Issue error messageThomas Fitzsimmons2002-01-281-0/+5
| | | | when _CYGWIN_TYPES_H is not defined.
* * libc/include/sys/signal.h: Revert 2002-01-23 change.Thomas Fitzsimmons2002-01-251-1/+1
|
* * libc/include/sys/signal.h: Remove pthread_kill declarationThomas Fitzsimmons2002-01-241-1/+1
| | | | when __CYGWIN__ is defined.
* * libc/include/time.h: Add prototype for strptime for Cygwin.Christopher Faylor2002-01-181-0/+1
|
* Fix bug when len == 1 and dst was not word aligned.Nick Clifton2002-01-171-2/+11
|
* _sbrk(): Return -1 rather than aborting if too much memory is requested.Nick Clifton2002-01-171-2/+10
|
* 2002-01-11 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-01-111-3/+1
| | | | | | * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that reads blanks from the input file to break if EOF reached rather than end processing.
* 2002-01-07 Alan Matsuoka <alanm@redhat.com>Jeff Johnston2002-01-072-0/+4
| | | | | | * libc/include/machine/ieeefp.h: Configure d10v doubles to be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits. libc/include/sys/config.h: Ditto.
* * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.Corinna Vinschen2001-12-281-0/+2
|
* In newlib/:Geoffrey Keating2001-12-229-0/+2418
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-12-22 Geoffrey Keating <geoffk@redhat.com> Catherine Moore <clm@redhat.com> Richard Henderson <rth@redhat.com> Corinna Vinschen <vinschen@redhat.com> * configure.host: Add support for xstormy16. * libc/include/machine/ieeefp.h: Add support for xstormy16. * libc/include/machine/setjmp.h: Add support for xstormy16. * libc/include/sys/config.h: Add support for xstormy16. * libc/machine/xstormy16/Makefile.am: New file. * libc/machine/xstormy16/Makefile.in: New file. * libc/machine/xstormy16/aclocal.m4: New file. * libc/machine/xstormy16/configure: New file. * libc/machine/xstormy16/configure.in: New file. * libc/machine/xstormy16/setjmp.S: New file. In libgloss/: 2001-12-22 Geoffrey Keating <geoffk@redhat.com> Mark Salter <msalter@redhat.com> Catherine Moore <clm@redhat.com> Richard Henderson <rth@redhat.com> * configure.in: Add xstormy16. * libnosys/configure.in: Add xstormy16. * configure: Regenerated. * libnosys/configure: Regenerated. * xstormy16/Makefile.in: New file. * xstormy16/close.c: New file. * xstormy16/configure: New file. * xstormy16/configure.in: New file. * xstormy16/crt0.s: New file. * xstormy16/crt0_stub.s: New file. * xstormy16/crti.s: New file. * xstormy16/crtn.s: New file. * xstormy16/eva_app.c: New file. * xstormy16/eva_app.ld: New file. * xstormy16/eva_stub.ld: New file. * xstormy16/fstat.c: New file. * xstormy16/getpid.c: New file. * xstormy16/kill.c: New file. * xstormy16/lseek.c: New file. * xstormy16/open.c: New file. * xstormy16/sbrk.c: New file. * xstormy16/sim_high.ld: New file. * xstormy16/stat.c: New file. * xstormy16/syscalls.S: New file. * xstormy16/syscalls.m4: New file. * xstormy16/unlink.c: New file. * xstormy16/xstormy16_stub.c: New file.
* 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons2001-12-193-18/+6
| | | | | | | | | | | | | * libc/machine/i386/f_*: Move to libm/machine/i386. 2001-12-18 Joel Sherrill <joel@OARcorp.com> * libm/machine/Makefile.am: Add dummy doc stub so "make info" works. 2001-12-17 Joel Sherrill <joel@OARcorp.com> * libc/include/sys/types.h (ino_t): RTEMS uses long also.
* * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equalThomas Fitzsimmons2001-12-184-8/+8
| | | | | | | | $(COMPILE) rather than $(CC). * libc/stdio/Makefile.am (LIB_COMPILE): Likewise. (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by $(LIB_COMPILE) change. (vfiprintf.$(oext)): Likewise.
* * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allowCorinna Vinschen2001-12-171-0/+2
| | | | conditionalized including of getopt stuff.
* (vfiprintf.$(oext)): Likewise.Thomas Fitzsimmons2001-12-142-2/+2
|
* * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) toThomas Fitzsimmons2001-12-142-2/+2
| | | | compile line.
* * Makefile.shared: New file.Thomas Fitzsimmons2001-12-13196-3480/+13864
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/sys/linux/shared.ld: New file. * libm/machine/*: New files. * libm/machine/i386/*: New files. * Makefile.am: Add libtool support. Change math and mathfp references to variables. * configure.host: Add variables for libtool support. Add libm_machine_dir variable. * configure.in: Add objectlist variables, for libtool support. Add CC_FOR_BUILD tests. * libc/Makefile.am: Add libtool support. Change crt0.o reference to be a variable reference. * libc/configure.in: Add libtool support. Change sublib names to be lib${subdir}.la when using libtool. * libc/ctype/Makefile.am: Add libtool support. * libc/errno/Makefile.am: Likewise. * libc/locale/Makefile.am: Likewise. * libc/machine/Makefile.am: Likewise. * libc/machine/configure.in: Likewise. * libc/machine/i386/Makefile.am: Likewise. * libc/machine/i386/configure.in: Likewise. * libc/misc/Makefile.am: Likewise. * libc/posix/Makefile.am: Likewise. * libc/reent/Makefile.am: Likewise. * libc/signal/Makefile.am: Likewise. * libc/stdio/Makefile.am: Likewise. * libc/stdlib/Makefile.am: Likewise. * libc/string/Makefile.am: Likewise. * libc/sys/Makefile.am: Likewise. * libc/sys/configure.in: Likewise. * libc/sys/linux/Makefile.am: Add libtool support. Change awk reference to a variable reference. Change signal.h reference to a variable reference. * libc/sys/linux/configure.in: Add libtool support. * libc/syscalls/Makefile.am: Likewise. * libc/time/Makefile.am: Likewise. * libc/unix/Makefile.am: Likewise. * libm/Makefile.am: Add libtool support. Change math and mathfp references to variables. * libm/configure.in: Add libtool support. Add LIBM_MACHINE_LIB variable. * libm/common/Makefile.am: Add libtool support. * libm/math/Makefile.am: Likewise. * libm/mathfp/Makefile.am: Likewise. Regenerate all Makefile.in, aclocal.m4, and configure.
* 2001-12-13 Anita Kulkarni <anitak@kpit.com>Jeff Johnston2001-12-131-1/+0
| | | | * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
* * libc/include/sys/unistd.h: Correct ualarm declaration.Christopher Faylor2001-12-061-1/+1
|
* For __USES_INITFINI__ preserve the argument vector before calling theNick Clifton2001-12-051-0/+4
| | | | initialisation functions.
* * libc/include/dirent.h: Protect against multiple inclusion.Christopher Faylor2001-11-301-0/+3
|
* * libc/include/sys/types.h: Define useconds_t.Christopher Faylor2001-11-282-0/+5
| | | | * libc/include/sys/ulimit.h: Declare ualarm.
* * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.Christopher Faylor2001-11-211-6/+7
|
* * libc/sys/mmixware/*: Tweak license header in all source files.Hans-Peter Nilsson2001-11-1829-87/+174
|
* * libc/include/alloca.h: Move libc/sys/linux/include/alloca.hCorinna Vinschen2001-11-143-13/+23
| | | | | | | to here. Rearrange for general inclusion by stdlib.h. * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__ isn't defined. * libc/sys/linux/include/alloca.h: Move to libc/include.
* Add __stack_base__Anthony Green2001-11-131-1/+2
|
* * libc/sys/mmixware/*: Correct spacing in all source files.Hans-Peter Nilsson2001-11-1330-226/+197
| | | | | * libc/sys/mmixware/syscall.h: Move misplaced file... * libc/sys/mmixware/sys/syscall.h: ...here.
* 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>Jeff Johnston2001-11-1237-0/+3436
| | | | | | | | | | | | | | | | | | | | | | | | * libc/include/machine/ieeefp.h: Add support for mmix target. * libc/include/machine/setjmp.h: Ditto. * configure.host: Ditto. * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c, libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4, libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c, libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in, libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c, libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c, libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c, libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c, libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c, libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c, libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c, libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S, libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h, libc/sys/mmixware/time.c, libc/sys/mmixware/times.c, libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c, libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files. * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in, libc/sys/mmixware/aclocal.m4: Generate.
* * libc/include/sys/unistd.h: Add prototypes for endusershell(),Corinna Vinschen2001-11-052-0/+16
| | | | | | | getusershell(), iruserok(), revoke(), ruserok() and setusershell() when __CYGWIN__ is defined. * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and logwtmp().
* 2001-10-24 Christopher Faylor <cgf@redhat.com>Jeff Johnston2001-10-241-0/+1
| | | | | | | * libc/stdio/fseek.c: Reset pointer to buffer base when forced to seek outside of current buffer contents. This prevents the code from erroneously thinking there is anything in the current buffer.
* * libc/include/math.h: The C++ standard adds the single-precisionGeoffrey Keating2001-10-231-0/+8
| | | | versions of the elementary functions.
* * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations throughout.Christopher Faylor2001-10-224-24/+3
| | | | | | * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__. * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__. * system.c (_system_r): Ditto.