Joel Sherrill
6c3f590cd9
2013-01-22 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libc/include/pthread.h: Add PTHREAD_RWLOCK_INITIALIZER.
Fix typo on PTHREAD_COJND_INITIALIZER.
2013-01-22 21:20:08 +00:00
Marcus Shawcroft
450fe1bfa3
2013-01-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
...
* libc/machine/aarch64/strncmp.S: Correct arithmetic for
argument N values close to the maximum representable
value in an unsigned 64 bit value.
2013-01-17 14:53:32 +00:00
Marcus Shawcroft
78f66de6ce
2013-01-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
...
* libc/machine/aarch64/strnlen.S: Correct arithmetic for
argument N values close to the maximum representable
value in an unsigned 64 bit value.
2013-01-17 14:52:37 +00:00
Nick Clifton
7d88a8d373
* libc/sys/sysnecv850/crt0.S (_start): Enable FPU for the
...
V850e2v3.
* v850/crt0.S (_start): Enable FPU for the V850e2v3.
2013-01-15 15:41:31 +00:00
Corinna Vinschen
38305196bf
* libc/include/string.h: Fix preprocessor expressions using
...
_XOPEN_SOURCE.
2013-01-12 10:55:09 +00:00
Corinna Vinschen
3920a99a22
* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Add code to correctly handle
...
's' format specifier on not _MB_CAPABLE targets. Fix a formatting
glitch in _MB_CAPABLE enabled code. Add a missing 'L' specifier.
2013-01-11 20:05:41 +00:00
Marcus Shawcroft
211f1ec717
2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>
...
* libc/machine/aarch64/Makefile.am (lib_a_SOURCES): Add
memcmp-stub.c and memcmp.S
* libc/machine/aarch64/Makefile.in: Regenerated.
* libc/machine/aarch64/memcmp-stub.c: New file.
* libc/machine/aarch64/memcmp.S: New file.
2013-01-10 13:02:19 +00:00
Marcus Shawcroft
ba8f05bcf5
2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>
...
* libc/machine/aarch64/Makefile.am (lib_a_SOURCES): Add
strnlen-stub.c and strnlen.S
* libc/machine/aarch64/Makefile.in: Regenerated.
* libc/machine/aarch64/strnlen-stub.c: New file.
* libc/machine/aarch64/strnlen.S: New file.
2013-01-10 13:00:40 +00:00
Marcus Shawcroft
82c3d37d07
2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>
...
* libc/machine/aarch64/Makefile.am (lib_a_SOURCES):
Add strlen.S and strlen-stub.c.
* libc/machine/aarch64/Makefile.in: Regenerated.
* libc/machine/aarch64/strlen-stub.c: New file.
* libc/machine/aarch64/strlen.S: New file.
2013-01-10 12:57:11 +00:00
Marcus Shawcroft
a8907bda23
2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>
...
* libc/machine/aarch64/Makefile.am (lib_a_SOURCES):
Add memmove.S and memmove-stub.c.
* libc/machine/aarch64/Makefile.in: Regenerated.
* libc/machine/aarch64/memmove-stub.c: New file.
* libc/machine/aarch64/memmove.S: New file.
2013-01-10 12:54:39 +00:00
Marcus Shawcroft
2edd103558
2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>
...
* libc/machine/aarch64/Makefile.am (lib_a_SOURCES): Re-ordered.
Add strncmp.S and strncmp-stub.c.
* libc/machine/aarch64/Makefile.in: Regenerated.
* libc/machine/aarch64/strncmp-stub.c: New file.
* libc/machine/aarch64/strncmp.S: New file.
2013-01-10 12:51:13 +00:00
Marcus Shawcroft
080e96f57c
2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>
...
* libc/machine/aarch64/Makefile.am (lib_a_SOURCES): Add
memcpy.c memcpy-stub.c memset.S memset-stub.c strcmp.S
strcmp-stub.c.
* libc/machine/aarch64/Makefile.in: Regenerated.
* libc/machine/aarch64/memcpy-stub.c: New file.
* libc/machine/aarch64/memcpy.S: New file.
* libc/machine/aarch64/memset-stub.c: New file.
* libc/machine/aarch64/memset.S: New file.
* libc/machine/aarch64/strcmp.S: New file.
* libc/machine/aarch64/strcmp-stub.c: New file.
2013-01-10 12:44:50 +00:00
Jeff Johnston
2fadaa7a20
2013-01-08 Jeff Johnston <jjohnstn@redhat.com>
...
* MAINTAINERS: Add Richard Earnshaw as Arm co-maintainer
and add Richard and Marcus Shawcroft as aarch64 maintainers.
2013-01-08 16:42:23 +00:00
Jeff Johnston
a3f10f1384
2013-01-07 Steve Ellcey <sellcey@mips.com>
...
* libc/machine/mips/memcpy.S (memcpy): Check if _MIPS_SIM is set.
2013-01-07 21:29:39 +00:00
Jeff Johnston
f2d223bd0f
2012-12-20 Jeff Johnston <jjohnstn@redhat.com>
...
* NEWS: Update with 2.0.0 info.
* README: Ditto.
* acinclude.m4: Change version number to 2.0.0.
* aclocal.m4: Regenerated.
* configure: Ditto.
* Makefile.in: Regenerated.
* doc/aclocal.m4: Ditto.
* doc/configure: Ditto.
* libc/*/aclocal.m4: Ditto.
* libc/*/configure: Ditto.
* libc/libc.texinfo: Ditto.
* libm/*/aclocal.m4: Ditto.
* libm/*/configure: Ditto.
* libm/libm.texinfo: Ditto.
* libc/sys/linux/shared.ld: Add VERS_2.0
2012-12-20 21:10:27 +00:00
Corinna Vinschen
fb2b6cb868
* libc/stdlib/strtod.c (_strtod_r): Revert change from 2011-05-16.
2012-12-19 10:16:00 +00:00
Jeff Johnston
17ecab12a8
2012-12-18 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/math.h: Remove the log2f macro.
2012-12-18 22:41:53 +00:00
Jeff Johnston
b060af2264
2012-12-18 Craig Howland <howland@LGSInnovations.com>
...
* libc/include/math.h: Add recognition of values 1 and 2 for
FLT_EVAL_METHOD.
2012-12-18 21:20:51 +00:00
Corinna Vinschen
e3132dba59
* libc/stdio/puts.c (_puts_r): Fix typo in previous patch. Add local
...
variable fp for better readability.
2012-12-18 08:54:10 +00:00
Jeff Johnston
0a95d80385
2012-12-17 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/stdio/puts.c: Add fp locking and use _stdout_r macro
to refer to the stream rather than stdout.
2012-12-17 22:44:09 +00:00
Jeff Johnston
d7281d547f
2012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
...
* libc/machine/aarch64/machine/_types.h: New file; define _ssize_t
as long.
2012-12-14 20:45:51 +00:00
Jeff Johnston
a5149a541a
2012-12-11 Steve Ellcey <sellcey@mips.com>
...
* libc/machine/mips/memcpy.c: Remove.
* libc/machine/mips/memcpy.S: New.
* libc/machine/mips/Makefile.am (lib_a_CCASFLAGS): Add
-D_COMPILING_NEWLIB.
(lib_a_CFLAGS): Ditto.
2012-12-11 21:37:59 +00:00
Jeff Johnston
a4f34961d8
2012-12-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
...
* configure.host: Define libm_machine_dir value for arm.
* libm/machine/configure.in: Add arm to libm machines list.
* libm/machine/configure: Regenerate.
* libm/machine/arm/Makefile.am: New file.
* libm/machine/arm/Makefile.in: Generated.
* libm/machine/arm/aclocal.m4: Generated.
* libm/machine/arm/configure: Generated.
* libm/machine/arm/configure.in: New file.
* libm/machine/arm/s_ceil.c: Likewise.
* libm/machine/arm/s_floor.c: Likewise.
* libm/machine/arm/s_nearbyint.c: Likewise.
* libm/machine/arm/s_rint.c: Likewise.
* libm/machine/arm/s_round.c: Likewise.
* libm/machine/arm/s_trunc.c: Likewise.
* libm/machine/arm/sf_ceil.c: Likewise.
* libm/machine/arm/sf_floor.c: Likewise.
* libm/machine/arm/sf_nearbyint.c: Likewise.
* libm/machine/arm/sf_rint.c: Likewise.
* libm/machine/arm/sf_round.c: Likewise.
* libm/machine/arm/sf_trunc.c: Likewise.
2012-12-06 17:33:44 +00:00
Jeff Johnston
25e21cbc32
2012-12-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
...
* configure.host: Define libm_machine_dir value for arm.
* libm/machine/configure.in: Add arm to libm machines list.
* libm/machine/configure: Regenerate.
* libm/machine/arm/Makefile.am: New file.
* libm/machine/arm/Makefile.in: Generated.
* libm/machine/arm/aclocal.m4: Generated.
* libm/machine/arm/configure: Generated.
* libm/machine/arm/configure.in: New file.
* libm/machine/arm/s_ceil.c: Likewise.
* libm/machine/arm/s_floor.c: Likewise.
* libm/machine/arm/s_nearbyint.c: Likewise.
* libm/machine/arm/s_rint.c: Likewise.
* libm/machine/arm/s_round.c: Likewise.
* libm/machine/arm/s_trunc.c: Likewise.
* libm/machine/arm/sf_ceil.c: Likewise.
* libm/machine/arm/sf_floor.c: Likewise.
* libm/machine/arm/sf_nearbyint.c: Likewise.
* libm/machine/arm/sf_rint.c: Likewise.
* libm/machine/arm/sf_round.c: Likewise.
* libm/machine/arm/sf_trunc.c: Likewise.
2012-12-04 21:43:21 +00:00
Corinna Vinschen
b8637f43b0
* libc/machine/arm/strcmp.S (compute_return_value): Fix return value.
...
* testsuite/newlib.string/strcmp-1.c (main): Add new test cases.
2012-11-30 09:31:38 +00:00
Corinna Vinschen
0772f3f1c1
* libc/include/sys/reent.h (__sFILE): Change type of _offset
...
from int to _off_t.
* libc/stdio/ftell.c: Use _ftello_r().
* libc/stdio/ftello.c: Copy implementation from previous
_ftell_r().
* libc/stdio/fseek.c: Use _fseeko_r().
* libc/stdio/fseeko.c: Copy implementation from previous
_fseek_r().
2012-11-29 16:28:30 +00:00
Corinna Vinschen
7b2d80eb87
* libc/include/inttypes.h: Add and use __INTTYPES_EXP().
2012-11-26 16:26:06 +00:00
Corinna Vinschen
1cfd36169c
* libm/machine/aarch64/configure.in: Change comment to say libm
...
instead of libc.
2012-11-23 10:48:13 +00:00
Steve Ellcey
d3740f4856
2012-11-12 Steve Ellcey <sellcey@mips.com>
...
* libc/machine/mips/machine/asm.h: New.
* libc/machine/mips/machine/regdef.h: Update register definitions
for different ABI's.
2012-11-12 23:49:55 +00:00
Christopher Faylor
86fd769f37
* libc/include/sys/time.h: Avoid guarding other than timeval declaration with
...
_TIMEVAL_DEFINED. Move timeval related macros under _TIMEVAL_DEFINED control.
2012-11-12 15:57:35 +00:00
Corinna Vinschen
de1e3bb2c9
* libc/include/locale.h (NULL): Fetch definition via stddef.h.
...
* libc/include/stdio.h (NULL): Ditto.
* libc/include/stdlib.h (NULL): Ditto.
* libc/include/string.h (NULL): Ditto.
* libc/include/wchar.h (NULL): Ditto.
* libc/include/rpc/types.h (NULL): Ditto.
* libc/include/time.h (NULL): Ditto. Include stddef.h earlier.
2012-11-01 11:51:12 +00:00
Anthony Green
ffa2dd6787
Minor optimization and bug fix for moxie.
2012-10-27 15:57:12 +00:00
Corinna Vinschen
f9b3628010
* libc/include/sys/signal.h (sigset_t): Don't define when building
...
for Cygwin.
2012-10-26 09:23:46 +00:00
Jeff Johnston
6555743a4b
2012-10-24 Jeff Johnston <jjohnstn@redhat.com>
...
* configure.in: Comment out the --enable-newlib-fp-hw option
as the mathfp library is inaccurate and should not be used.
* Makefile.am: Add comment regarding the mathfp directory.
* configure: Regenerated.
* Makefile.in: Ditto.
* libm/mathfp/README: New file that details why the mathfp
directory is not used.
2012-10-24 21:01:39 +00:00
Corinna Vinschen
6f7ae529ad
* libc/include/string.h (strdup, strndup): Declare if not
...
__STRICT_ANSI__ or _XOPEN_SOURCE is defined appropriately.
2012-10-22 15:16:48 +00:00
Corinna Vinschen
e054398980
* libc/include/stdlib.h (strtof, strtoll, strtoull, strtold):Prototype
...
if not __STRICT_ANSI__ or stdc version C99 or greater.
2012-10-22 15:15:21 +00:00
Hans-Peter Nilsson
1ad660ece1
* libc/sys/mmixware/sbrk.c (_sbrk): Drop unused extern declaration
...
of "end". Mark allocated memory by applying PRELD.
2012-10-21 03:41:42 +00:00
Corinna Vinschen
3595a9c789
* libc/stdlib/getopt.c (getopt_internal): Align handling of colon to
...
SUSv4 requirements.
(__getopt_long_r): Fix formatting.
2012-10-16 19:11:48 +00:00
Corinna Vinschen
1772168778
* libc/stdio/vfprintf.c (__sbprintf): Fix comment.
2012-10-16 19:03:01 +00:00
Corinna Vinschen
25742157d7
* libc/include/assert.h (static_assert): Define.
2012-10-16 19:00:30 +00:00
Corinna Vinschen
5eceb3958e
* libc/include/sys/features.h (__GNUC_PREREQ): Define. Use
...
throughout in place of explicit GNUC version checks.
* libc/include/_ansi.h (_NOINLINE): Define.
(_NOINLINE_STATIC): Define.
* libc/stdio/vfprintf.c (__sbprintf): Define _NOINLINE_STATIC.
2012-10-16 18:45:24 +00:00
Corinna Vinschen
509212aa98
* libc/posix/wordfree.c (wordfree): The wrong words are freed
...
when WRDE_DOOFFS is in use. Restructure the code so that the memory
needed to be freed is instead kept in an internal linked list...
* libc/posix/wordexp2.h: ...as defined here...
* libc/posix/wordexp.c (wordexp): ...and build this internal
linked list here, avoiding wasteful strdup calls in the process.
2012-10-09 12:05:51 +00:00
Corinna Vinschen
277e7f0e2e
* libc/posix/wordexp.c (wordexp): Return WRDE_NOSPACE on resource
...
allocation failure. Cleanup leftover resources when failing.
2012-10-09 09:26:15 +00:00
Corinna Vinschen
4a6ec9ec52
* libc/posix/wordexp.c (wordexp): Handle expanded words longer
...
than 500 bytes.
2012-10-09 09:20:46 +00:00
Corinna Vinschen
ca8170a6c3
* libc/posix/wordexp.c (wordexp): Don't leak file streams.
2012-10-09 09:09:20 +00:00
DJ Delorie
2b74bec6c9
* libc/machine/rl78/setjmp.S: Convert from CPP macros to GAS
...
macros, to avoid dependence on the line separation character.
* rl78/crt0.S (_interrupt_vector_table): Convert from CPP macros
to GAS macros, to avoid dependence on the line separation
character.
2012-10-03 20:24:50 +00:00
DJ Delorie
13ab44c05b
* libc/sys/sysnecv850/sbrk.c (_sbrk): Change heap_start to be an
...
array of undefined size, to avoid problems when compiled with
-msda=4.
* v850/sbrk.c (_sbrk): Change heap_start to be an array of
undefined size, to avoid problems when compiled with -msda=4.
2012-10-02 22:55:10 +00:00
Jeff Johnston
964f7c34d1
2012-10-01 Jeff Johnston <jjohnstn@redhat.com>
...
* README: replace sources.redhat.com with sourceware.org.
* HOWTO: Ditto.
2012-10-01 21:57:54 +00:00
Jeff Johnston
c3fe5bf771
2012-09-26 Ian Bolton <ian.bolton@arm.com>
...
Jim MacArthur <jim.macarthur@arm.com>
Marcus Shawcroft <marcus.shawcroft@arm.com>
Nigel Stephens <nigel.stephens@arm.com>
Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
Richard Earnshaw <rearnsha@arm.com>
Sofiane Naci <sofiane.naci@arm.com>
Tejas Belagod <tejas.belagod@arm.com>
Yufeng Zhang <yufeng.zhang@arm.com>
* configure.host: Add AArch64.
* libc/include/machine/ieeefp.h: Add AArch64.
* libc/include/machine/setjmp.h: Add AArch64.
* libc/include/machine/time.h: Add AArch64.
* libc/include/sys/config.h: Add AArch64.
* libc/machine/aarch64/Makefile.am: New file.
* libc/machine/aarch64/Makefile.in: Generated.
* libc/machine/aarch64/aclocal.m4: Generated.
* libc/machine/aarch64/configure: Generated.
* libc/machine/aarch64/configure.in: New file.
* libc/machine/aarch64/setjmp.S: New file.
* libc/machine/configure.in: Add AArch64.
* libc/machine/configure: Re-generated.
* libm/machine/aarch64/Makefile.am: New file.
* libm/machine/aarch64/Makefile.in: Generated.
* libm/machine/aarch64/aclocal.m4: Generated.
* libm/machine/aarch64/configure: Generated.
* libm/machine/aarch64/configure.in: New file.
* libm/machine/aarch64/s_ceil.c: New file.
* libm/machine/aarch64/s_floor.c: New file.
* libm/machine/aarch64/s_fma.c: New file.
* libm/machine/aarch64/s_fmax.c: New file.
* libm/machine/aarch64/s_fmin.c: New file.
* libm/machine/aarch64/s_llrint.c: New file.
* libm/machine/aarch64/s_llround.c: New file.
* libm/machine/aarch64/s_lrint.c: New file.
* libm/machine/aarch64/s_lround.c: New file.
* libm/machine/aarch64/s_nearbyint.c: New file.
* libm/machine/aarch64/s_rint.c: New file.
* libm/machine/aarch64/s_round.c: New file.
* libm/machine/aarch64/s_trunc.c: New file.
* libm/machine/aarch64/sf_ceil.c: New file.
* libm/machine/aarch64/sf_floor.c: New file.
* libm/machine/aarch64/sf_fma.c: New file.
* libm/machine/aarch64/sf_fmax.c: New file.
* libm/machine/aarch64/sf_fmin.c: New file.
* libm/machine/aarch64/sf_llrint.c: New file.
* libm/machine/aarch64/sf_llround.c: New file.
* libm/machine/aarch64/sf_lrint.c: New file.
* libm/machine/aarch64/sf_lround.c: New file.
* libm/machine/aarch64/sf_nearbyint.c: New file.
* libm/machine/aarch64/sf_rint.c: New file.
* libm/machine/aarch64/sf_round.c: New file.
* libm/machine/aarch64/sf_trunc.c: New file.
* libm/machine/configure.in: Add AArch64.
* libm/machine/configure: Re-generated.
2012-09-26 20:06:50 +00:00
Jeff Johnston
e041a95837
2012-09-26 Michael Hope <michael.hope@linaro.org>
...
* doc/makedoc.c (dup_): Rename to avoid colliding with dup(2).
2012-09-26 19:11:41 +00:00