platform/upstream/glibc.git
12 years agoHurd: #define away madvise for malloc code.
Roland McGrath [Wed, 15 Feb 2012 22:14:59 +0000 (14:14 -0800)]
Hurd: #define away madvise for malloc code.

12 years agoMove sparc away from the deprecated inifini.c scheme.
David S. Miller [Thu, 16 Feb 2012 20:54:05 +0000 (12:54 -0800)]
Move sparc away from the deprecated inifini.c scheme.

/

* sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
* sysdeps/sparc/crti.S: New file.
* sysdeps/sparc/crtn.S: New file.
* sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
* sysdeps/sparc/sparc64/Makefile: Likewise.

nptl/

* sysdeps/sparc/Makefile: Add -fPIC when building pt-crti.S and crtn.S

12 years agoInclude sys/param.h in getcwd.c.
Mike Frysinger [Wed, 15 Feb 2012 20:39:49 +0000 (20:39 +0000)]
Include sys/param.h in getcwd.c.

12 years agoRemove macros wrongly left for pre-libio case that no longer exists.
Roland McGrath [Wed, 15 Feb 2012 20:23:13 +0000 (12:23 -0800)]
Remove macros wrongly left for pre-libio case that no longer exists.

12 years agoSplit architecture-specific parts of sys/signalfd.h into bits/signalfd.h.
Joseph Myers [Wed, 15 Feb 2012 20:10:22 +0000 (20:10 +0000)]
Split architecture-specific parts of sys/signalfd.h into bits/signalfd.h.

12 years agoRemove unused Makefile.
Marek Polacek [Wed, 15 Feb 2012 20:07:06 +0000 (21:07 +0100)]
Remove unused Makefile.

12 years agoProvide crt[in].S for x86-64.
Marek Polacek [Tue, 14 Feb 2012 12:50:44 +0000 (13:50 +0100)]
Provide crt[in].S for x86-64.

12 years agoSplit architecture-specific parts of sys/inotify.h into bits/inotify.h.
Joseph Myers [Tue, 14 Feb 2012 00:13:47 +0000 (00:13 +0000)]
Split architecture-specific parts of sys/inotify.h into bits/inotify.h.

12 years agoSplit architecture-specific parts of sys/eventfd.h into bits/eventfd.h.
Joseph Myers [Mon, 13 Feb 2012 20:27:59 +0000 (20:27 +0000)]
Split architecture-specific parts of sys/eventfd.h into bits/eventfd.h.

12 years agolog entry typo fixes
Roland McGrath [Fri, 10 Feb 2012 21:44:27 +0000 (13:44 -0800)]
log entry typo fixes

12 years agoFix x86 PLT slot usage for feraiseexcept.
Thomas Schwinge [Fri, 10 Feb 2012 20:05:54 +0000 (21:05 +0100)]
Fix x86 PLT slot usage for feraiseexcept.

Then we're elf/check-localplt.out-clean again.

12 years agoA bit of testsuite cleanup.
Thomas Schwinge [Fri, 10 Feb 2012 11:18:48 +0000 (12:18 +0100)]
A bit of testsuite cleanup.

12 years agoRevert FSF address changes to locales.
Joseph Myers [Fri, 10 Feb 2012 00:06:41 +0000 (00:06 +0000)]
Revert FSF address changes to locales.

12 years agoReplace FSF snail mail address with URLs.
Paul Eggert [Thu, 9 Feb 2012 23:18:22 +0000 (23:18 +0000)]
Replace FSF snail mail address with URLs.

12 years agoUse <> for include of kernel-features.h.
Richard Henderson [Thu, 9 Feb 2012 19:21:47 +0000 (11:21 -0800)]
Use <> for include of kernel-features.h.

12 years agoAvoid pointer type mismatch warning.
Richard Henderson [Thu, 9 Feb 2012 19:20:27 +0000 (11:20 -0800)]
Avoid pointer type mismatch warning.

update_get_addr returns a link_map*, but the return expression
was of type char*.  Fix by relying on gcc's void* arithmetic
extension and auto-conversion from void*.

12 years agoUpdate ChangeLog
Andreas Schwab [Thu, 9 Feb 2012 16:10:47 +0000 (17:10 +0100)]
Update ChangeLog

12 years agoRemove _G_HAVE_SYS_CDEFS.
Marek Polacek [Thu, 9 Feb 2012 16:09:55 +0000 (17:09 +0100)]
Remove _G_HAVE_SYS_CDEFS.

12 years agoReduce ldouble ULPs for jn tests on x86
Andreas Schwab [Wed, 8 Feb 2012 21:20:40 +0000 (22:20 +0100)]
Reduce ldouble ULPs for jn tests on x86

12 years agopowerpc: add crt files
Andreas Schwab [Wed, 8 Feb 2012 14:25:07 +0000 (15:25 +0100)]
powerpc: add crt files

* sysdeps/powerpc/powerpc32/crti.S: New file.
* sysdeps/powerpc/powerpc32/crtn.S: New file.
* sysdeps/powerpc/powerpc64/crti.S: New file.
* sysdeps/powerpc/powerpc64/crtn.S: New file.

12 years agoRemove have-initfini and need-nopic-initfini
Andreas Schwab [Sun, 8 Jan 2012 10:14:07 +0000 (11:14 +0100)]
Remove have-initfini and need-nopic-initfini

12 years agoAdd missing dependency for pt-crti.o
Andreas Schwab [Wed, 8 Feb 2012 10:40:39 +0000 (11:40 +0100)]
Add missing dependency for pt-crti.o

12 years agoAdd 411 to list of fixed bugs.
Joseph Myers [Wed, 8 Feb 2012 01:46:30 +0000 (01:46 +0000)]
Add 411 to list of fixed bugs.

12 years agoSupport crti.S and crtn.S provided directly by architectures.
Joseph Myers [Wed, 8 Feb 2012 01:45:26 +0000 (01:45 +0000)]
Support crti.S and crtn.S provided directly by architectures.

12 years agoRemove _G_ARGS macros.
Marek Polacek [Tue, 7 Feb 2012 21:40:49 +0000 (22:40 +0100)]
Remove _G_ARGS macros.

12 years agoAdd tst-CMPLX2 test.
Marek Polacek [Tue, 7 Feb 2012 19:47:46 +0000 (20:47 +0100)]
Add tst-CMPLX2 test.

12 years agoAdjust libm test ULPs for powerpc
Andreas Schwab [Tue, 7 Feb 2012 14:16:06 +0000 (15:16 +0100)]
Adjust libm test ULPs for powerpc

12 years agoFix loss of precision in jn tests
Andreas Schwab [Tue, 7 Feb 2012 14:14:47 +0000 (15:14 +0100)]
Fix loss of precision in jn tests

12 years agoRemove __ELF__ conditionals
Marek Polacek [Mon, 6 Feb 2012 23:41:11 +0000 (00:41 +0100)]
Remove __ELF__ conditionals

12 years agoUndefine and redefine __i686 for assembly code.
Joseph Myers [Mon, 6 Feb 2012 23:01:25 +0000 (23:01 +0000)]
Undefine and redefine __i686 for assembly code.

12 years agoMatch x86 PIC thunk names to compiler version.
Joseph Myers [Mon, 6 Feb 2012 18:05:54 +0000 (18:05 +0000)]
Match x86 PIC thunk names to compiler version.

12 years agoUse macro for PIC setup in inline asm.
Joseph Myers [Sun, 5 Feb 2012 14:34:14 +0000 (14:34 +0000)]
Use macro for PIC setup in inline asm.

12 years agoUse macros for x86 PIC thunk names.
Joseph Myers [Fri, 3 Feb 2012 23:24:19 +0000 (23:24 +0000)]
Use macros for x86 PIC thunk names.

12 years agoConsistently use macros for x86 PIC thunks.
Joseph Myers [Fri, 3 Feb 2012 23:22:53 +0000 (23:22 +0000)]
Consistently use macros for x86 PIC thunks.

12 years agoInclude <stdio.h> in math/tst-CMPLX.c.
Joseph Myers [Fri, 3 Feb 2012 00:13:15 +0000 (00:13 +0000)]
Include <stdio.h> in math/tst-CMPLX.c.

12 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Tue, 31 Jan 2012 23:50:35 +0000 (18:50 -0500)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

12 years agoCleanups of malloc
Ulrich Drepper [Tue, 31 Jan 2012 23:49:22 +0000 (18:49 -0500)]
Cleanups of malloc

Remove ugly names and unnecessary wrappers.

12 years agoAlways define float_t as float for PowerPC, SH and SPARC.
Joseph Myers [Tue, 31 Jan 2012 22:57:02 +0000 (22:57 +0000)]
Always define float_t as float for PowerPC, SH and SPARC.

12 years agoRemove PARAMS macros.
Marek Polacek [Tue, 31 Jan 2012 20:02:53 +0000 (20:02 +0000)]
Remove PARAMS macros.

12 years agoHandle ARENA_TEST correctly
Ulrich Drepper [Tue, 31 Jan 2012 19:42:34 +0000 (14:42 -0500)]
Handle ARENA_TEST correctly

12 years agoDon't add CL for generated files!!!
Ulrich Drepper [Tue, 31 Jan 2012 03:50:20 +0000 (22:50 -0500)]
Don't add CL for generated files!!!

12 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Tue, 31 Jan 2012 03:34:33 +0000 (22:34 -0500)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

Conflicts:
ChangeLog

12 years agoOptimize __get_tls_addr a bit
Ulrich Drepper [Tue, 31 Jan 2012 03:32:05 +0000 (22:32 -0500)]
Optimize __get_tls_addr a bit

Rearrange code to avoid creation of a stack frame.  At least on x86-64
the code for the fast path should be down to the bare minimum.

12 years agoRemove miscellaneous __STDC__ conditionals.
Joseph Myers [Mon, 30 Jan 2012 21:20:32 +0000 (21:20 +0000)]
Remove miscellaneous __STDC__ conditionals.

12 years agoFix makefile/configure problems with sse2avx changes.
Joseph Myers [Mon, 30 Jan 2012 19:55:15 +0000 (19:55 +0000)]
Fix makefile/configure problems with sse2avx changes.

12 years agoMerge remote-tracking branch 'origin/cmetcalf/tile_config'
Roland McGrath [Mon, 30 Jan 2012 17:58:46 +0000 (09:58 -0800)]
Merge remote-tracking branch 'origin/cmetcalf/tile_config'

Conflicts:
ChangeLog

12 years agoAdd Tile relocation types.
Chris Metcalf [Sat, 28 Jan 2012 16:28:23 +0000 (11:28 -0500)]
Add Tile relocation types.

12 years agoMerge remote-tracking branch 'origin/cmetcalf/tile_epoll_pwait'
Roland McGrath [Mon, 30 Jan 2012 17:50:40 +0000 (09:50 -0800)]
Merge remote-tracking branch 'origin/cmetcalf/tile_epoll_pwait'

Conflicts:
ChangeLog

12 years agoMerge remote-tracking branch 'origin/cmetcalf/tile_not_cancel_h'
Roland McGrath [Mon, 30 Jan 2012 17:49:39 +0000 (09:49 -0800)]
Merge remote-tracking branch 'origin/cmetcalf/tile_not_cancel_h'

Conflicts:
ChangeLog

12 years agoMerge remote-tracking branch 'origin/cmetcalf/tile_firstversions'
Roland McGrath [Mon, 30 Jan 2012 17:48:55 +0000 (09:48 -0800)]
Merge remote-tracking branch 'origin/cmetcalf/tile_firstversions'

Conflicts:
ChangeLog

12 years agoMerge remote-tracking branch 'origin/cmetcalf/tile_faccessat'
Roland McGrath [Mon, 30 Jan 2012 17:47:47 +0000 (09:47 -0800)]
Merge remote-tracking branch 'origin/cmetcalf/tile_faccessat'

12 years agoUpdate config.guess, config.sub from upstream config git repository.
Chris Metcalf [Sun, 29 Jan 2012 18:36:30 +0000 (13:36 -0500)]
Update config.guess, config.sub from upstream config git repository.

12 years agoOptimize x86-64 math inline header a bit
Ulrich Drepper [Sun, 29 Jan 2012 02:20:06 +0000 (21:20 -0500)]
Optimize x86-64 math inline header a bit

12 years agoUse -msse2avx option for x86-64 libm functions
Ulrich Drepper [Sat, 28 Jan 2012 19:48:46 +0000 (14:48 -0500)]
Use -msse2avx option for x86-64 libm functions

12 years agoCall __fxstatat64 from faccessat() to avoid PLT in -Os builds.
Chris Metcalf [Sat, 28 Jan 2012 17:07:46 +0000 (12:07 -0500)]
Call __fxstatat64 from faccessat() to avoid PLT in -Os builds.

12 years agoFix bug in firstversions.awk version range handling.
Chris Metcalf [Sat, 28 Jan 2012 17:02:44 +0000 (12:02 -0500)]
Fix bug in firstversions.awk version range handling.

12 years agoUse include/sys/epoll.h to provide libc_hidden_proto for epoll_pwait().
Chris Metcalf [Sat, 28 Jan 2012 17:00:12 +0000 (12:00 -0500)]
Use include/sys/epoll.h to provide libc_hidden_proto for epoll_pwait().

12 years agoUse <> brackets for not-cancel.h in sysdeps/unix/sysv/linux/grantpt.c.
Chris Metcalf [Sat, 28 Jan 2012 16:51:44 +0000 (11:51 -0500)]
Use <> brackets for not-cancel.h in sysdeps/unix/sysv/linux/grantpt.c.

12 years agoSimplify use of AVX instructions in internal math macros
Ulrich Drepper [Sat, 28 Jan 2012 16:19:06 +0000 (11:19 -0500)]
Simplify use of AVX instructions in internal math macros

12 years agoPowerPC - A2 memcpy cache line size initialization
Adhemerval Zanella [Fri, 27 Jan 2012 23:05:45 +0000 (18:05 -0500)]
PowerPC - A2 memcpy cache line size initialization

12 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Fri, 27 Jan 2012 20:06:37 +0000 (15:06 -0500)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

Conflicts:
ChangeLog

12 years agoSort objects before relocations
Ulrich Drepper [Fri, 27 Jan 2012 20:05:19 +0000 (15:05 -0500)]
Sort objects before relocations

12 years agoRemove __STDC__ conditionals from libm.
Joseph Myers [Fri, 27 Jan 2012 17:27:55 +0000 (17:27 +0000)]
Remove __STDC__ conditionals from libm.

12 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Fri, 27 Jan 2012 16:25:41 +0000 (11:25 -0500)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

12 years agoFix comment
Ulrich Drepper [Fri, 27 Jan 2012 16:25:18 +0000 (11:25 -0500)]
Fix comment

12 years agoRemove __STDC__ conditionals from non-installed headers.
Joseph Myers [Thu, 26 Jan 2012 23:31:37 +0000 (23:31 +0000)]
Remove __STDC__ conditionals from non-installed headers.

12 years agoRemove __STDC__ conditionals from installed headers.
Joseph Myers [Thu, 26 Jan 2012 20:49:22 +0000 (20:49 +0000)]
Remove __STDC__ conditionals from installed headers.

12 years agoReally fix AVX tests
Ulrich Drepper [Thu, 26 Jan 2012 14:45:54 +0000 (09:45 -0500)]
Really fix AVX tests

There is no problem with strcmp, it doesn't use the YMM registers.
The math routines might since gcc perhaps generates such code.
Introduce bit_YMM_USBALE and use it in the math routines.

12 years agoReset bit_AVX in __cpu_features is OS support is missing
Ulrich Drepper [Thu, 26 Jan 2012 12:45:14 +0000 (07:45 -0500)]
Reset bit_AVX in __cpu_features is OS support is missing

12 years agoRemove gets declarations in C++ tests.
Joseph Myers [Wed, 25 Jan 2012 16:50:17 +0000 (16:50 +0000)]
Remove gets declarations in C++ tests.

12 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Wed, 25 Jan 2012 00:29:39 +0000 (19:29 -0500)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

Conflicts:
ChangeLog

12 years agoFix gets problems
Ulrich Drepper [Tue, 24 Jan 2012 22:40:44 +0000 (17:40 -0500)]
Fix gets problems

12 years agoRemove posix/glob directory (standalone glob build support).
Joseph Myers [Tue, 24 Jan 2012 22:30:03 +0000 (22:30 +0000)]
Remove posix/glob directory (standalone glob build support).

12 years agoUse newly built locales for tst-c16c32-1.
Joseph Myers [Tue, 24 Jan 2012 22:25:42 +0000 (22:25 +0000)]
Use newly built locales for tst-c16c32-1.

12 years agoHurd: Try to respect mmap address hint for non-MAP_FIXED.
Samuel Thibault [Mon, 23 Jan 2012 21:59:55 +0000 (13:59 -0800)]
Hurd: Try to respect mmap address hint for non-MAP_FIXED.

12 years agoHurd: socket uses EAFNOSUPPORT rather than EPFNOSUPPORT.
Pino Toscano [Mon, 23 Jan 2012 21:56:58 +0000 (13:56 -0800)]
Hurd: socket uses EAFNOSUPPORT rather than EPFNOSUPPORT.

12 years agoFix version check in uchar.h
Ulrich Drepper [Sat, 21 Jan 2012 20:20:14 +0000 (15:20 -0500)]
Fix version check in uchar.h

12 years agoDo not cache negative results in nscd if these are transient
Ulrich Drepper [Sat, 21 Jan 2012 03:39:54 +0000 (22:39 -0500)]
Do not cache negative results in nscd if these are transient

12 years agoMore minor malloc cleanups
Ulrich Drepper [Wed, 18 Jan 2012 00:21:09 +0000 (19:21 -0500)]
More minor malloc cleanups

12 years agoMinor cleanups of malloc code
Ulrich Drepper [Mon, 16 Jan 2012 17:07:56 +0000 (12:07 -0500)]
Minor cleanups of malloc code

12 years agoFix locking problem in fmtmsg
Ulrich Drepper [Mon, 16 Jan 2012 14:03:20 +0000 (09:03 -0500)]
Fix locking problem in fmtmsg

12 years agoDon't always provide definition of gets checking version
Marek Polacek [Fri, 13 Jan 2012 17:45:02 +0000 (12:45 -0500)]
Don't always provide definition of gets checking version

12 years agoPowerpc: correct duplicate label issue with multiple passes through context code
Will Schmidt [Thu, 12 Jan 2012 22:05:03 +0000 (17:05 -0500)]
Powerpc: correct duplicate label issue with multiple passes through context code

12 years agoOptimized acosh for 64-bit platforms
Ulrich Drepper [Thu, 12 Jan 2012 03:01:09 +0000 (22:01 -0500)]
Optimized acosh for 64-bit platforms

12 years agoOptimize scalbln
Ulrich Drepper [Wed, 11 Jan 2012 17:49:16 +0000 (12:49 -0500)]
Optimize scalbln

12 years agoFix warnings due to return in void functions
Ulrich Drepper [Wed, 11 Jan 2012 16:56:30 +0000 (11:56 -0500)]
Fix warnings due to return in void functions

12 years agoOptimize s_modf
Ulrich Drepper [Wed, 11 Jan 2012 03:26:22 +0000 (22:26 -0500)]
Optimize s_modf

12 years agoAdd const attribute to fmin and fmax
Ulrich Drepper [Wed, 11 Jan 2012 02:10:28 +0000 (21:10 -0500)]
Add const attribute to fmin and fmax

12 years agoOptimize ldexp and scalbn
Ulrich Drepper [Wed, 11 Jan 2012 01:52:29 +0000 (20:52 -0500)]
Optimize ldexp and scalbn

12 years agoAdd const attribute to pthread_equal
Ulrich Drepper [Wed, 11 Jan 2012 00:37:35 +0000 (19:37 -0500)]
Add const attribute to pthread_equal

12 years agoConsistently added return to pthread_exit
Ulrich Drepper [Wed, 11 Jan 2012 00:02:21 +0000 (19:02 -0500)]
Consistently added return to pthread_exit

12 years agoAdd noreturn attribute
Marek Polacek [Tue, 10 Jan 2012 23:49:31 +0000 (18:49 -0500)]
Add noreturn attribute

12 years agoSome branch prediction for log1p
Ulrich Drepper [Mon, 9 Jan 2012 23:59:04 +0000 (18:59 -0500)]
Some branch prediction for log1p

12 years agobits/poll2.h needs __BEGIN/__END_DECLS
Ulrich Drepper [Mon, 9 Jan 2012 02:57:15 +0000 (21:57 -0500)]
bits/poll2.h needs __BEGIN/__END_DECLS

12 years agoInstall bits/poll2.h
Ulrich Drepper [Mon, 9 Jan 2012 02:50:21 +0000 (21:50 -0500)]
Install bits/poll2.h

12 years agoFix typo in Linux/PPC32 getcontext
Will Schmidt [Mon, 9 Jan 2012 02:32:57 +0000 (21:32 -0500)]
Fix typo in Linux/PPC32 getcontext

12 years agoOptimize xmalloc, xcalloc, xrealloc, and xstrdup
Ulrich Drepper [Mon, 9 Jan 2012 02:19:43 +0000 (21:19 -0500)]
Optimize xmalloc, xcalloc, xrealloc, and xstrdup

Add alloc_size attribute and apply consistently the malloc attribute
to xmalloc, xcalloc, xrealloc, and xstrdup.

12 years agoMark potential fix for BZ 11929
Ulrich Drepper [Mon, 9 Jan 2012 01:39:46 +0000 (20:39 -0500)]
Mark potential fix for BZ 11929

12 years agosscanf always calls realloc
Paul Pluzhnikov [Mon, 9 Jan 2012 01:13:35 +0000 (20:13 -0500)]
sscanf always calls realloc

12 years agoCL
Adhemerval Zanella [Mon, 9 Jan 2012 00:57:22 +0000 (19:57 -0500)]
CL