Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/newlib
AgeCommit message (Collapse)Author
2002-04-242002-04-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added. * libc/sys/linux/Makefile.am: Add support for mmap.c. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/mmap.c: New file. * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro. * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
2002-04-22 * acinclude.m4 (newlib_cflags): Remove include directories thatThomas Fitzsimmons
are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
2002-04-202002-04-19 Bill SiegmundJeff Johnston
* libc/machine/xscale/memchr.c: Don't use multi-line strings. * libc/machine/xscale/memcmp.c: Ditto. * libc/machine/xscale/memcpy.c: Ditto. * libc/machine/xscale/memmove.c: Ditto. * libc/machine/xscale/memset.c: Ditto. * libc/machine/xscale/strchr.c: Ditto. * libc/machine/xscale/strcmp.c: Ditto. * libc/machine/xscale/strcpy.c: Ditto. * libc/machine/xscale/strlen.c: Ditto.
2002-04-202002-04-19 Alexandre Oliva <aoliva@redhat.com>Jeff Johnston
* libc/include/sys/config.h: Remove include of <limits.h>. (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would define INT_MAX and LONG_MAX. Use them in tests.
2002-04-192002-04-19 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* configure.host: Add support for powerpc-eabialtivec*. * libc/include/malloc.h: Add include of <machine/malloc.h>. * libc/include/stdlib.h: Add include of <machine/stdlib.h>. * libc/include/machine/malloc.h: New file. * libc/include/machine/stdlib.h: Ditto. * libc/include/machine/setjmp.h: Add support for powerpc altivec. * libc/machine/powerpc/Makefile.am: Add conditional objects and sources based on configuration. * libc/machine/powerpc/Makefile.in: Regenerated. * libc/machine/powerpc/configure: Ditto. * libc/machine/powerpc/configure.in: Add check for powerpc-eabialtivec* in which case add in additional source files. * libc/machine/powerpc/setjmp.S: Add altivec support. * libc/machine/powerpc/vec_calloc.c: New file. * libc/machine/powerpc/vec_free.c: Ditto. * libc/machine/powerpc/vec_malloc.c: Ditto. * libc/machine/powerpc/vec_mallocr.c: Ditto. * libc/machine/powerpc/vec_realloc.c: Ditto. * libc/machine/powerpc/machine/malloc.h: Ditto. * libc/machine/powerpc/machine/stdlib.h: Ditto. * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c with added altivec format specifiers. * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with added altivec format specifiers.
2002-04-192002-04-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill
* libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions while autoconf is trying to link main(){}.
2002-04-182002-04-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/sys/linux/signal.c: Remove include of <bits/sigset.h>. * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
2002-04-182002-04-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/time/time.tex: Add tzset info.
2002-04-182002-04-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/time.h (tzset, _tzset_r): Added prototypes. (strptime): Moved prototype to be within !__STRICT_ANSI__. (_tzname, _daylight, _timezone): No long __CYGWIN__ only. (tzname): Defined for all platforms. (daylight, timezone): Defined only for CYGWIN. * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after environment set up. * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ environment variable is set. * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and tzset_r.c. * libc/time/Makefile.in: Regenerated. * libc/time/gmtime.c (gmtime): Changed to call gmtime_r. * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r. * libc/time/lcltime_r.c (lcltime_r): Ditto. * libc/time/local.h: New local header file. * libc/time/mktime.c (mktime): Add timezone support. * libc/time/mktm_r.c: New file which is the common engine for gmtime_r and lcltime_r. This code has timezone support. * libc/time/strftime.c (strftime): Add %Z timezone support. * libc/time/tzlock.c: New file containing timezone lock stubs. * libc/time/tzset.c: New file containing tzset() routine. * libc/time/tzset_r.c: New file containing _tzset_r and internal routine for calculating timezone changes for specified year.
2002-04-17 * configure.in (CRT0_DIR): Set to libc/.Thomas Fitzsimmons
(CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty. * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for $(CRT1_DIR)/$(CRT1). * libc/machine/xstormy16/Makefile.in: Regenerated. * libc/machine/xstormy16/aclocal.m4: Regenerated. * libc/machine/xstormy16/configure: Regenerated.
2002-04-13* libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrkAlexandre Oliva
fails, don't bail out, and try to correct next time.
2002-04-13* libc/include/sys/config.h: Include limits.h.Alexandre Oliva
2002-04-132002-04-12 Eric Norum <eric.norum@usask.com>Jeff Johnston
* libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy routine to allow autoconf to determine that building executables for rtems works. (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto. (rtems_gxx_mutex_once): Ditto.
2002-04-10Fix typo.Tom Rix
2002-04-102002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>Jeff Johnston
* libc/include/time.h: Fix strptime declaration. * libc/time/Makefile.am: Add strptime.c. * libc/time/Makefile.in: Regenerated. * libc/time/strptime.c: New file.
2002-04-092002-04-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/sys/linux/include/setjmp.h: Add sigjmp_buf type, siglongjmp prototype, and sigsetjmp macro definition. * libc/sys/linux/siglongjmp.c: New file. * libc/sys/linux/Makefile.am: Add support for siglongjmp. * libc/sys/linux/Makefile.in: Regenerated.
2002-04-052002-04-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* Makefile.am: Add support for installing crt1.o if one exists. * configure.host: Specify crt1.o for linux. * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use. * Makefile.in: Regenerated. * configure: Ditto. * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING): Added for non-Cygwin, non-RTEMS configurations. * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/crt1.c: New empty file to override one defaulted by gcc. This fixes problem with reconfiguring linux newlib build. * libc/sys/linux/sysconf.c: New file.
2002-04-042002-04-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* configure.host: Add support for machine subdirectory of sys subdirectory. * configure.in: Add check for sys machine subdirectory. * Makefile.am: Ditto. * configure: Regenerated. * Makefile.in: Ditto. * libc/sys/linux/crt0.c: Moved to machine/i386 directory. * libc/sys/linux/sys/syscall.h: Ditto. * libc/sys/linux/sleep.c: New file. * libc/sys/linux/socket.c: Ditto. * libc/sys/linux/sockops.h: Ditto. * libc/sys/linux/stack.c: Ditto. * libc/sys/linux/usleep.c: Ditto. * libc/sys/linux/machine/Makefile.am: Ditto. * libc/sys/linux/machine/Makefile.in: Ditto. * libc/sys/linux/machine/aclocal.m4: Ditto. * libc/sys/linux/machine/configure: Ditto. * libc/sys/linux/machine/configure.in: Ditto. * libc/sys/linux/machine/i386/Makefile.am: Ditto. * libc/sys/linux/machine/i386/Makefile.in: Ditto. * libc/sys/linux/machine/i386/aclocal.m4: Ditto. * libc/sys/linux/machine/i386/configure: Ditto. * libc/sys/linux/machine/i386/configure.in: Ditto. * libc/sys/linux/machine/i386/crt0.c: Ditto. * libc/sys/linux/machine/i386/sigset.c: Ditto. * libc/sys/linux/machine/i386/sigstack.h: Ditto. * libc/sys/linux/machine/i386/socketcall.h: Ditto. * libc/sys/linux/machine/i386/syscall.h: Ditto. * libc/sys/linux/sys/select.h: Ditto. * libc/sys/linux/configure.in: Add support for machine directory. * libc/sys/linux/Makefile.am: Ditto plus add new files above. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/configure: Ditto. * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h. * libc/sys/linux/inode.c: Ditto. * libc/sys/linux/linux.c: Ditto. * libc/sys/linux/process.c: Ditto. * libc/sys/linux/systat.c: Ditto. * libc/sys/linux/time.c: Ditto. * libc/sys/linux/wait.c: Ditto. * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid. * libc/sys/linux/io.c: Change header plus add readv/writev. * libc/sys/linux/signal.c: Change header plus change sigsuspend to use __sigsuspend syscall. * libc/sys/linux/select.c: Change header plus change select to use _newselect syscall. * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions used by glibc header files. * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t types.
2002-04-022002-04-01 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for initializing a struct _reent that has been dynamically allocated. (_REENT_CHECK_MISC): New macro that checks _misc struct for _REENT_SMALL and does nothing otherwise. (_REENT_STRTOK_LAST): New macro for reentrant strtok. (_REENT_MBLEN_STATE): New macro for reentrant mblen. (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc. (_REENT_WCTOMB_STATE): New macro for reentrant wctomb. [_REENT_SMALL](struct _misc_reent): New structure containing miscellaneous reentrant areas needed by newlib. [_REENT_SMALL](struct _reent): Add _misc pointer. [_REENT_SMALL](_REENT_INIT_MISC): New macro. * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC and _REENT_STRTOK_LAST macros. * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC and _REENT_MBLEN_STATE macros. * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC and _REENT_MBTOWC_STATE macros. * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC and _REENT_WCTOMB_STATE macros.
2002-04-022002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>Jeff Johnston
* libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
2002-03-28* libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.Christopher Faylor
2002-03-26 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.Joern Rennecke
Store high part of leading bytes too.
2002-03-22 * libm/math/ef_hypot.c: Increase scale factor to 68.Richard Sandiford
2002-03-14* libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-twoAlexandre Oliva
error.
2002-03-132002-03-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/sys/go32/access.c: Change license to relaxed license used in identical file throughout newlib/libgloss.
2002-03-132002-03-12 Richard Earnshaw <rearnsha@arm.com>Jeff Johnston
* libc/sys/arm/access.c: New file. * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c. * libc/sys/arm/Makefile.in: Regenerate. * libc/sys/arm/syscalls.c (_stat): New function.
2002-03-11Add MIPS specific string/memory functionsMichael Meissner
2002-03-072002-03-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* 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.
2002-03-06 * Makefile.am (lib_a_SOURCES, SH64 case): Add memcpy.S, memset.SJoern Rennecke
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-282002-02-27 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* 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-262002-02-25 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/sys/config.h: Add __extension__ in front of long long references.
2002-02-23 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.Corinna Vinschen
(_stat): Ditto.
2002-02-23 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t insteadCorinna Vinschen
of off_t.
2002-02-20Add missing clobbered register.Nick Clifton
2002-02-20 * configure.host (newlib_cflags): When host is in m68* addThomas Fitzsimmons
-DCOMPACT_CTYPE.
2002-02-162002-02-15 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/sys/config.h: Add definitions for __int16_t, __uint16_t, __int64_t, and __uint64_t.
2002-02-132002-02-12 Hans-Peter Nilsson <hp@bitrange.com>Jeff Johnston
* 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.
2002-02-10 * libc/include/grp.h: Don't declare group functions when compilingCorinna Vinschen
Cygwin.
2002-02-09 * libc/include/grp.h: Include Cygwin specific header.Corinna Vinschen
* 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.
2002-02-09* libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): AllocateMatthew Green
_REENT_EMERGENCY_SIZE, not sizeof(char *).
2002-02-08Contribute sh64-elf.Alexandre Oliva
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-072002-02-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* 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-05Fix typo.Jeff Johnston
2002-02-052002-02-05 Manik Raina <manik@cisco.com>Jeff Johnston
* 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-042002-02-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/sys/reent.h [(!_REENT_SMALL]: Add _REENT_CHECK_EMERGENCY macro.
2002-02-03* libc/reent/signgam.c (__signgam): Fix error in previous.Matthew Green
2002-02-03* implement a new `struct _reent' that is significantly smaller. use thisMatthew Green
if _REENT_SMALL is defined in config.h. define this for xstormy16.
2002-02-01In ld/ChangeLog:Geoffrey Keating
* 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.
2002-01-28 * libc/include/sys/signal.h [__CYGWIN__]: Issue error messageThomas Fitzsimmons
when _CYGWIN_TYPES_H is not defined.
2002-01-25 * libc/include/sys/signal.h: Revert 2002-01-23 change.Thomas Fitzsimmons