Alexandre Oliva
62a963ee4d
* libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
...
error.
2002-03-14 02:41:43 +00:00
Jeff Johnston
c53d845331
2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/sys/go32/access.c: Change license to relaxed license
used in identical file throughout newlib/libgloss.
2002-03-12 21:31:56 +00:00
Jeff Johnston
d2a246ad72
2002-03-12 Richard Earnshaw <rearnsha@arm.com>
...
* 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-12 21:25:12 +00:00
Michael Meissner
eabb48d53d
Add MIPS specific string/memory functions
2002-03-11 15:44:35 +00:00
Jeff Johnston
2a606041a1
2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
...
* 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 23:14:17 +00:00
Joern Rennecke
55f26f1194
* Makefile.am (lib_a_SOURCES, SH64 case): Add memcpy.S, memset.S
...
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-03-06 10:43:18 +00:00
Jeff Johnston
afecf2faee
2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-27 23:56:24 +00:00
Jeff Johnston
c1010a63d8
2002-02-25 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/sys/config.h: Add __extension__ in front of
long long references.
2002-02-25 23:51:10 +00:00
Corinna Vinschen
630c657e64
* libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
...
(_stat): Ditto.
2002-02-23 20:46:28 +00:00
Corinna Vinschen
59ee2e2013
* libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
...
of off_t.
2002-02-23 14:37:29 +00:00
Nick Clifton
2dd68dc2ff
Add missing clobbered register.
2002-02-20 14:42:03 +00:00
Jeff Johnston
ba0173f0f9
2002-02-15 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/sys/config.h: Add definitions for
__int16_t, __uint16_t, __int64_t, and __uint64_t.
2002-02-15 21:19:40 +00:00
Jeff Johnston
7b61d0c500
2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
...
* 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-13 00:01:27 +00:00
Corinna Vinschen
a505db6554
* libc/include/grp.h: Don't declare group functions when compiling
...
Cygwin.
2002-02-10 13:26:29 +00:00
Corinna Vinschen
f3b39c459b
* libc/include/grp.h: Include Cygwin specific header.
...
* 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 20:40:37 +00:00
Matthew Green
82b3ac561c
* libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
...
_REENT_EMERGENCY_SIZE, not sizeof(char *).
2002-02-09 13:01:46 +00:00
Alexandre Oliva
9f25eed9c9
Contribute sh64-elf.
...
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-08 07:11:13 +00:00
Jeff Johnston
a2a405aea6
2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-07 19:15:15 +00:00
Jeff Johnston
27478365a2
2002-02-05 Manik Raina <manik@cisco.com>
...
* 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-05 17:14:35 +00:00
Jeff Johnston
815a37f78a
2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/sys/reent.h [(!_REENT_SMALL]: Add
_REENT_CHECK_EMERGENCY macro.
2002-02-04 18:38:44 +00:00
Matthew Green
a4139c1259
* libc/reent/signgam.c (__signgam): Fix error in previous.
2002-02-03 12:53:04 +00:00
Matthew Green
8195aff714
* implement a new `struct _reent' that is significantly smaller. use this
...
if _REENT_SMALL is defined in config.h. define this for xstormy16.
2002-02-03 09:24:18 +00:00
Geoffrey Keating
9c2e764253
In ld/ChangeLog:
...
* 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-02-01 18:00:41 +00:00
Thomas Fitzsimmons
4bb6112fb1
* libc/include/sys/signal.h [__CYGWIN__]: Issue error message
...
when _CYGWIN_TYPES_H is not defined.
2002-01-28 18:03:54 +00:00
Thomas Fitzsimmons
8d3455521a
* libc/include/sys/signal.h: Revert 2002-01-23 change.
2002-01-25 00:47:44 +00:00
Thomas Fitzsimmons
bcc49082f6
* libc/include/sys/signal.h: Remove pthread_kill declaration
...
when __CYGWIN__ is defined.
2002-01-24 00:52:27 +00:00
Christopher Faylor
13baedeb74
* libc/include/time.h: Add prototype for strptime for Cygwin.
2002-01-18 16:25:50 +00:00
Nick Clifton
ebf139fbb8
Fix bug when len == 1 and dst was not word aligned.
2002-01-17 17:02:08 +00:00
Nick Clifton
b2db0ebcfe
_sbrk(): Return -1 rather than aborting if too much memory is requested.
2002-01-17 16:39:53 +00:00
Jeff Johnston
798c015d11
2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-11 22:06:09 +00:00
Jeff Johnston
86b06396f0
2002-01-07 Alan Matsuoka <alanm@redhat.com>
...
* 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.
2002-01-07 19:33:23 +00:00
Corinna Vinschen
423d5064f2
* libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
2001-12-28 15:43:24 +00:00
Geoffrey Keating
f6eff1c046
In newlib/:
...
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-22 22:47:58 +00:00
Thomas Fitzsimmons
60565ed657
2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
...
* 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.
2001-12-19 03:03:43 +00:00
Thomas Fitzsimmons
fc50413595
* libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
...
$(COMPILE) rather than $(CC).
* libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
(vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
$(LIB_COMPILE) change.
(vfiprintf.$(oext)): Likewise.
2001-12-18 02:22:55 +00:00
Corinna Vinschen
efeae9a317
* libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
...
conditionalized including of getopt stuff.
2001-12-17 21:32:25 +00:00
Thomas Fitzsimmons
f85be99c51
(vfiprintf.$(oext)): Likewise.
2001-12-14 19:27:46 +00:00
Thomas Fitzsimmons
cdf7120d2d
* libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
...
compile line.
2001-12-14 19:14:27 +00:00
Thomas Fitzsimmons
2e1a71756e
* Makefile.shared: New file.
...
* 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 23:50:11 +00:00
Jeff Johnston
b92591a1fc
2001-12-13 Anita Kulkarni <anitak@kpit.com>
...
* libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
2001-12-13 20:10:16 +00:00
Christopher Faylor
355b664e8c
* libc/include/sys/unistd.h: Correct ualarm declaration.
2001-12-06 19:00:14 +00:00
Nick Clifton
e9853806c7
For __USES_INITFINI__ preserve the argument vector before calling the
...
initialisation functions.
2001-12-05 11:51:43 +00:00
Christopher Faylor
a8e091b0bc
* libc/include/dirent.h: Protect against multiple inclusion.
2001-11-30 17:26:47 +00:00
Christopher Faylor
ab6341231f
* libc/include/sys/types.h: Define useconds_t.
...
* libc/include/sys/ulimit.h: Declare ualarm.
2001-11-28 00:16:58 +00:00
Christopher Faylor
d37e401ef3
* libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
2001-11-21 06:57:44 +00:00
Hans-Peter Nilsson
8ac90051e6
* libc/sys/mmixware/*: Tweak license header in all source files.
2001-11-18 23:47:59 +00:00
Corinna Vinschen
d7ca37e413
* libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
...
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.
2001-11-14 10:25:35 +00:00
Anthony Green
28f8744e02
Add __stack_base__
2001-11-13 03:31:14 +00:00
Hans-Peter Nilsson
4cede8c4ce
* libc/sys/mmixware/*: Correct spacing in all source files.
...
* libc/sys/mmixware/syscall.h: Move misplaced file...
* libc/sys/mmixware/sys/syscall.h: ...here.
2001-11-13 02:49:12 +00:00
Jeff Johnston
8be9b48be6
2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
...
* 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.
2001-11-12 21:04:41 +00:00