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
AgeCommit message (Collapse)Author
2000-12-122000-12-11 Joel Sherrill <joel@OARcorp.com>Jeff Johnston
* Merge RTEMS specific .h files into main libc/include. * libc/sys/rtems/include/signal.h: Removed. * libc/sys/rtems/include/time.h: Removed. * libc/sys/rtems/sys/features.h: Removed. * libc/sys/rtems/sys/sched.h: Removed. * libc/sys/rtems/sys/siginfo.h: Removed. * libc/sys/rtems/sys/signal.h: Removed. * libc/sys/rtems/sys/time.h: Removed. * libc/sys/rtems/sys/times.h: Removed. definitions for time_t and clock_t since these are no longer in time.h. * libc/include/pthread.h: New file. * libc/include/sys/sched.h: New file. * libc/include/sys/features.h: New file. * libc/include/time.h: Removed duplicate definition of clock_t and time_t, get them from <sys/types.h> instead. Add prototypes for POSIX clock and timer functionality. * libc/sys/linux/sys/types.h: Changed to include * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_. * libc/include/sys/signal.h: Add more complete set of POSIX signal functionality including real-time and threaded signals. * libc/include/sys/types.h: Add clock_t, time_t, struct timespec, and struct itimerspec. Centralizing these makes things cleaner. RTEMS uses 64-bit dev_t. Added numerous primitive definitions for pthreads including macros, pthread_attr_t, pthread_mutexattr_t, pthread_condattr_t, pthread_key_t, pthread_once_t, and pthread_t. * libc/include/sys/unistd.h: Added getlogin_r() prototype. If RTEMS follow POSIX on read(), write() and sbrk() prototype. Feature flags removed and moved to new file <sys/features.h>. Full set of POSIX sysconf() constants
2000-12-092000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>Jeff Johnston
* configure.host: Added x86 linux target. * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default definitions provided if not already defined. * libc/sys/linux/crt0.c: New file. * libc/sys/linux/Makefile.am: Ditto. * libc/sys/linux/Makefile.in: Ditto. * libc/sys/linux/aclocal.m4: Ditto. * libc/sys/linux/brk.c: Ditto. * libc/sys/linux/configure: Ditto. * libc/sys/linux/configure.in: Ditto. * libc/sys/linux/getoptlong.c: Ditto. * libc/sys/linux/ids.c: Ditto. * libc/sys/linux/inode.c: Ditto. * libc/sys/linux/io.c: Ditto. * libc/sys/linux/linux.c: Ditto. * libc/sys/linux/process.c: Ditto. * libc/sys/linux/realpath.c: Ditto. * libc/sys/linux/select.c: Ditto. * libc/sys/linux/signal.c: Ditto. * libc/sys/linux/systat.c: Ditto. * libc/sys/linux/termios.c: Ditto. * libc/sys/linux/time.c: Ditto. * libc/sys/linux/wait.c: Ditto. * libc/sys/linux/include/alloca.h: Ditto. * libc/sys/linux/include/getopt.h: Ditto. * libc/sys/linux/include/stdint.h: Ditto. * libc/sys/linux/include/unistd.h: Ditto. * libc/sys/linux/sys/cdefs.h: Ditto. * libc/sys/linux/sys/dirent.h: Ditto. * libc/sys/linux/sys/errno.h: Ditto. * libc/sys/linux/sys/fcntl.h: Ditto. * libc/sys/linux/sys/file.h: Ditto. * libc/sys/linux/sys/ioctl.h: Ditto. * libc/sys/linux/sys/resource.h: Ditto. * libc/sys/linux/sys/signal.h: Ditto. * libc/sys/linux/sys/stat.h: Ditto. * libc/sys/linux/sys/syscall.h: Ditto. * libc/sys/linux/sys/termios.h: Ditto. * libc/sys/linux/sys/time.h: Ditto. * libc/sys/linux/sys/types.h: Ditto. * libc/sys/linux/sys/utmp.h: Ditto. * libc/sys/linux/sys/utsname.h: Ditto. * libc/sys/linux/sys/wait.h: Ditto.
2000-12-082000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>Jeff Johnston
* libc/stdio/vfprintf.c: Minor modification to avoid requiring a floating point register unless really printing a floating point number.
2000-12-082000-12-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/stdlib/ldtoa.c: Removed include of alloca.h. Also removed \r's. (asctoeg): Replaced alloca call with stack array and malloc when storage exceeds reasonable limit. (e53toe): Fixed einfin calls missing ldp parameter. (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
2000-12-072000-12-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
2000-12-072000-12-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/stdlib/Makefile.am: Added ldtoa.c to list of sources. * libc/stdlib/Makefile.in: Regenerated. * libc/stdio/floatio.h: Added suitable MAXEXP for long double. * libc/stdio/vfieeefp.h: Added long double bit structures. * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support. [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines. (exponent): Changed expbuf to reasonable maximum instead of MAXEXP. * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support. * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and _strtold routines used for conversions between character and long double.
2000-12-06 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.Corinna Vinschen
2000-12-042000-12-04 Joel Sherrill <joel@OARcorp.com>Jeff Johnston
* libc/include/machine/time.h: RTEMS systems can configure clock tick rate so use sysconf() to ask.
2000-12-042000-12-04 Joel Sherrill <joel@OARcorp.com>Jeff Johnston
* libc/include/sys/times.h: Add reference to POSIX standard.
2000-12-042000-12-04 Joel Sherrill <joel@OARcorp.com>Jeff Johnston
* libc/include/sys/time.h: Added BSD timer manipulation macros used by RTEMS code.
2000-12-042000-12-04 Joel Sherrill <joel@OARcorp.com>Jeff Johnston
* libc/sys/rtems/crt0.c: Add stubs for functions implicitly referenced by code generated by gcc 2.8.1. (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to satisfy gcc.
2000-12-042000-12-04 Joel Sherrill <joel@OARcorp.com>Jeff Johnston
* libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
2000-12-042000-12-04 Joel Sherrill <joel@OARcorp.com>Jeff Johnston
* libc/include/ieeefp.h: Added entries for OpenCores CPUs.
2000-12-042000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>Jeff Johnston
* libc/include/sys/errno.h: Added comments on many error numbers. * libc/string/strerror.c: Added some more strings.
2000-11-302000-11-30 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/sys/sh/syscalls.c (_link): New stub.
2000-11-30Add support for Intel's XScale processorNick Clifton
2000-11-25 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro toCorinna Vinschen
avoid compiler warnings.
2000-11-22Only reference environ indirectly through a pointerMichael Meissner
2000-11-22* libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity ofChristopher Faylor
including windows headers.
2000-11-222000-11-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/sys/unistd.h: Removed definition of MAXNAMLEN. * libc/include/dirent.h: Added definition of MAXNAMLEN if not defined by sys/dirent.h. * libc/posix/execvp.c: Added include of dirent.h to get MAXNAMLEN value which used to be in unistd.h.
2000-11-06 * libc/include/sys/types.h: Change type of i to `size_t' inCorinna Vinschen
FD_ZERO macro to avoid compiler warnings.
2000-11-06Fix spelling error.Christopher Faylor
2000-10-30* libc/include/stdlib.h: Avoid declaring cfree under Cygwin.Christopher Faylor
* libc/include/malloc.h: Ditto. Also remove obsolete declaration.
2000-10-24 * libc/include/sys/unistd.h: Add defines for sysconf valuesCorinna Vinschen
_SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and _SC_AVPHYS_PAGES.
2000-10-10* libc/include/sys/unistd.h: Add getdtablesize and setdtablesize declarationsChristopher Faylor
for __CYGWIN__.
2000-09-19 * libc/signal/signal.c (__sigtramp_r): ISO C requiresGeoffrey Keating
case labels to be integral constant expressions, so use an if/else tree instead. (_raise_r): Likewise.
2000-09-132000-09-13 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/machine/v850/setjmp.S: Fixed tab problems caused by clipping patch from e-mail reader.
2000-09-132000-09-13 Will Cohen <wcohen@redhat.com>Jeff Johnston
* libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0. Added return value 0. (_longjmp): Allow longjmp to return value of second argument passed to it.
2000-09-072000-09-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/sys/types.h (FD_ZERO): Remove call to bzero and inline code to prevent having to include another header file.
2000-09-07* Makefile.am: Fix space vs. tab problem in install-data-local.Christopher Faylor
* Makefile.in: Regenerate. * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__. (_EXPARM): New macro for defining a function parameter. * libc/include/stdlib.h: Use _EXPARM. * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
2000-09-052000-09-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to make O_NDELAY and O_NONBLOCK have the same value.
2000-08-312000-08-30 Kazu Hirata <kazu@hxi.com>Jeff Johnston
* libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
2000-08-302000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>Jeff Johnston
* libc/posix/execve.c: included unistd.h for "_execve" prototype. * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like everywhere else.
2000-08-30Correct for missing patchGeoffrey Keating
2000-08-30 * libc/string/swab.c: Specify that it's defined in <unistd.h>.Geoffrey Keating
* libc/include/string.h: Don't include <sys/types.h>, as it causes really bad namespace pollution. Don't declare swab(), it is properly declared in unistd.h.
2000-08-292000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>Jeff Johnston
* libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed (broken) support for non-existent /etc/passwd field "comment".
2000-08-292000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>Jeff Johnston
* libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen only if _DIRENT_HAVE_D_NAMLEN is defined. (alphasort): aligned prototype with libc/sys/cygwin/sys/dirent.h and simplified function body. * libc/posix/telldir.c (telldir): changed "telldir" prototype to long telldir (DIR *) as mentioned in annex B of POSIX.1
2000-08-282000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>Jeff Johnston
* libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined; Added __CLI and __STI macros (controlled via _I386MACH_ALLOW_HW_INTERRUPTS macro). * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S libc/machine/i386/f_log.S libc/machine/i386/f_log10.S libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S libc/machine/i386/memchr.S libc/machine/i386/memcmp.S libc/machine/i386/memcpy.S libc/machine/i386/memmove.S libc/machine/i386/memset.S libc/machine/i386/setjmp.S libc/machine/i386/strchr.S libc/machine/i386/strlen.S: (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol) for all global entry points. * libc/machine/i386/setjmp.S: removed code replicated in libc/machine/i386/i386mach.h and included i386mach.h instead; Use __CLI and __STI instead of cli and sti.
2000-08-26* libc/include/sys/unistd.h (environ): this one isn't from theDJ Delorie
DLL, no __IMPORT
2000-08-25* libc/stdlib/system.c (do_system): Eliminate explicit declaration of environChristopher Faylor
when compiling under cygwin since it is already declared in unistd.h.
2000-08-252000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>Jeff Johnston
* libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions like x << y-z to the equivalent x << (y-z). (d2b): changed if statements with assignment to perform the assignment prior to the if check. * libc/reent/reent.c: included stdlib.h for "_free_r" prototype. * libc/unix/getpass.c (getpass): moved "echo" assignment out of if. * libc/unix/ttyname.c: included string.h for "strcpy" prototype. * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and || precedence. * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c). Added "_execve" prototype (for execl.c, execle.c, execv.c, and execve.c). * libc/posix/popen.c (popen): added parentheses to clarify && and || precedence. * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to clarify && and || precendence (and to remove pascalism). * libm/math/e_sinh.c (__ieee754_sinh): Ditto. * libm/math/s_infconst.c: added another pair of braces to all initializers for __infinity (need three: for __infinity[1] array, for union __dmath, and for i[2]).
2000-08-242000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>Jeff Johnston
* libc/stdlib/abort.c: changed description: uses "raise" instead of "getpid" and "kill"; added: uses "write" and "_exit". Also included unistd.h for "_exit" prototype. * libc/stdlib/system.c: included unistd.h for "execve" prototype, reent.h for "_fork_r" and "_wait_r" prototypes. (do_system): changed extern char *environ[] to POSIX-friendly extern char **environ. * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp" prototypes. * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype. * libc/reent/execr.c: included sys/wait.h for "wait" prototype. * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype. * libc/reent/openr.c: included fcntl.h for "open" prototype. * libc/reent/signalr.c: included signal.h for "kill" prototype, unistd.h for "getpid" prototype. * libc/reent/statr.c: included sys/stat.h for "stat" prototype. * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype. * libc/unix/getut.c (utmpname): removed local, incorrect "strdup" prototype. Also included stdlib.h for "abort", string.h for "strdup" and "strncmp" prototypes. * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and "strncpy", unistd.h for "read" and "close" prototypes. * libc/posix/execvp.c: included string.h for "strchr", "strlen", and "strcat" prototypes.
2000-08-242000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>Jeff Johnston
* libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's used later (ifdef __SCLE) * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's used later (ifdef MB_CAPABLE) * libc/string/memset.c (memset): removed unused variables "count" and "unaligned_addr" * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE) * libc/unix/getpwent.c (getpwnam): removed unused variables "uid" and "gid"
2000-08-242000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>Jeff Johnston
* libc/stdlib/envlock.c: changed documented "__env_lock" and "__env_unlock" prototype from "void *" or "char *" to "struct _reent *" to match real function. Also added include of envlock.h. * libc/stdlib/mlock.c: changed documented "__malloc_lock" and "__malloc_unlock" prototype from "void *" or "char *" to "struct _reent *" to match real function. * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock" prototypes (for getenv_r.c and setenv_r.c).
2000-08-22* libc/unix/getut.c (utmpname): added _CONST to reflect common useDJ Delorie
and prototype in cygwin's utmp.h
2000-08-162000-08-16 Eric Fifer <efifer@sanwaint.com>Jeff Johnston
* libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
2000-08-10Recode to clean up function prologues and epilogue and to allow the functionsNick Clifton
to be used in a Thumb based toolchain.
2000-08-082000-08-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code so size of 0 results in nothing being written to string. Also fixed code so that when size is non-zero, there is only a maximum of size - 1 characters written to the array and a nul terminator is appended at the end. * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
2000-08-02* libc/include/sys/config.h: define __IMPORT appropriatelyDJ Delorie
* libc/include/ctype.h (_ctype_): use __IMPORT * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto * libc/include/math.h (__mb_cur_max): ditto * libc/include/time.h (_timezone, _daylight, _tzname): ditto * libc/include/unctrl.h (__unctrl, __unctrllen): ditto * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto * libc/include/unistd.h (environ): ditto
2000-07-28Declare __infinity as an array to work around problems with small data supportMichael Meissner