Roland McGrath
c31fdb83d2
Merge unix/inet/syscalls.list into unix/syscalls.list.
2012-08-17 12:56:33 -07:00
Roland McGrath
a084405777
Fix getaddrinfo for [!_STATBUF_ST_NSEC] case.
2012-08-17 11:47:06 -07:00
Roland McGrath
750c1f2a9a
Make malloc build for no-threads configurations.
2012-08-17 11:29:45 -07:00
Roland McGrath
2ae1ae5cf4
Change type of constant to avoid a warning.
2012-08-17 11:17:04 -07:00
Roland McGrath
e66a42f57f
Split sys/param.h out into common file and sysdeps bits/param.h file.
2012-08-17 09:55:17 -07:00
Roland McGrath
b7c08a66f6
Add a cast to silence a warning.
2012-08-17 09:49:37 -07:00
Roland McGrath
b2e1c56272
Make libio compile without _IO_MTSAFE_IO.
2012-08-17 09:35:36 -07:00
Roland McGrath
c75ccd4c3a
Clean up definition of _LIBC_REENTRANT and _IO_MTSAFE_IO.
2012-08-17 09:35:15 -07:00
Gary Benson
d9195db871
Also set r->r_map when unmapping the first object in a namespace.
...
When unmapping the first object in a namespace, the runtime linker
did not update the externally visible pointer. This resulted in
debuggers seeing pointers to memory that had been freed.
2012-08-17 11:44:37 +01:00
Roland McGrath
86466cd930
Do not pollute name space with internal_*netgrent functions.
2012-08-16 15:38:45 -07:00
Joseph Myers
c3c8283c06
Update longlong.h from GCC.
2012-08-16 21:37:04 +00:00
Roland McGrath
db1ee0a836
Suppress -Wunused-but-set warnings in GMP code.
2012-08-16 14:08:47 -07:00
Carlos O'Donell
30f696374d
Fifth argument of la_pltenter() is not constant.
...
The original runtime linker auditing interface described
by Solaris allows the 5th argument of la_pltenter() to be
modified. This patch cleans up the ldsodefs.h definitions
such that the 5th argument is not constant.
At one point the 5th argument *was* constant but this was
changed with commit 2413fdba7a
.
This patch updates alpha, ia64, mips, sh and sparc with similar
changes.
2012-08-16 08:41:05 -07:00
Joseph Myers
93a78ac437
Remove __ASSUME_POSIX_TIMERS.
2012-08-16 14:03:43 +00:00
Roland McGrath
4b4f2771c2
Fix dl-load.c for [!_LIBC_REENTRANT] case.
2012-08-15 17:05:10 -07:00
Roland McGrath
601c888b2f
Define __rtld_lock_initialize in stub bits/libc-lock.h file.
2012-08-15 17:03:56 -07:00
Roland McGrath
176790a734
Add a missing #include to dl-sym.c.
2012-08-15 17:02:22 -07:00
Roland McGrath
329bc01868
Suppress regcomp.c warnings in 32-bit builds.
2012-08-15 16:03:58 -07:00
Roland McGrath
e04e272d21
Define O_DSYNC and O_RSYNC in generic/4.4 bits/fcntl.h file.
2012-08-15 15:47:52 -07:00
Roland McGrath
952bf94a28
Move stub lseek.c to the right directory.
2012-08-15 15:40:06 -07:00
Roland McGrath
7c99b50ae4
Fix stub clock_nanosleep #include.
2012-08-15 15:35:16 -07:00
Roland McGrath
dd924cd7cc
Fix last sha512.c change to avoid compiler warning.
2012-08-15 13:59:59 -07:00
Liubov Dmitrieva
b3f479a85a
Fix segmentation fault in strncasecmp for i686
...
2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
[BZ #14195 ]
* sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
segmentation fault for a case of two empty input strings.
* string/test-strncasecmp.c (check1): Renamed to...
(bz12205): ...this.
(bz14195): Add new testcase for two empty input strings and N > 0.
(test_main): Call new testcase, adapt for renamed function.
2012-08-15 21:06:55 +02:00
Andreas Jaeger
9c55864e0d
Add testcase for BZ#14090 - md5/sha512 with large sizes
2012-08-15 20:56:51 +02:00
Paul Eggert
02dcb6c5a2
Fix BZ#14090 - md5/sha512 with large sizes
2012-08-15 20:49:45 +02:00
Roland McGrath
be75d75807
Remove local redefinition of MAX macro.
2012-08-15 11:40:41 -07:00
Roland McGrath
7312ca90dc
Clean up x86_64/multiarch/strstr-c.c include order.
2012-08-15 11:38:57 -07:00
Roland McGrath
9a0a54864b
Clean up x86_64/multiarch/memmove.c include order.
2012-08-15 11:26:02 -07:00
Roland McGrath
67cc348d55
Declare __getdirentries in internal dirent.h.
2012-08-15 10:09:18 -07:00
Roland McGrath
a3f95dcc57
Add casts to suppress warnings in system.c under [!_LIBC_REENTRANT].
2012-08-15 10:08:32 -07:00
Mike Frysinger
ca98e1710e
i386/x86_64: punt HAVE_CPP_ASM_DEBUGINFO
...
Pretty sure we require recent enough versions of gcc/binutils to make this
check pointless. I can't any logs in the last few years where this check
didn't return "yes".
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-14 21:37:00 -04:00
Roland McGrath
1ec79f2673
Add a missing #include.
2012-08-14 16:44:27 -07:00
Roland McGrath
5908bf4662
Add a missing #include.
2012-08-14 16:04:29 -07:00
Joseph Myers
f2c05b9ecf
Remove __ASSUME_CLONE_THREAD_FLAGS.
2012-08-14 22:34:04 +00:00
Andreas Jaeger
e11f5155b2
Update i386 ULPs
2012-08-14 08:02:08 +02:00
Andreas Jaeger
2fdd4f783e
Use tabs instead of spaces
2012-08-14 07:59:57 +02:00
Maxim Kuvyrkov
51a9ba860a
Add explicit acquire/release semantics to atomic_exchange_and_add.
2012-08-13 19:31:00 -07:00
Markus Trippelsdorf
ba6cba9eec
Update x86-64 ULPs
...
The recent clog and clog10 fixes are causing some failing tests on my
AMD64 CPU.
2012-08-13 21:25:17 +02:00
Jeff Law
42443a4792
* manual/stdio.texi (snprintf): Clarify handling of the trailing
...
null byte in the output string.
2012-08-13 13:12:18 -06:00
Joseph Myers
121dce05fe
Move Linux kernel version conditionals to kernel-features.h.
2012-08-10 15:53:27 +00:00
Jeff Law
bf51f568f1
[BZ #13939 ]
...
* malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
When avoid_arena is set, don't retry in the that arena. Pick the
next one, whatever it might be.
(arena_get2): New parameter avoid_arena, pass through to reused_arena.
(arena_lock): Pass in new parameter to arena_get2.
* malloc/malloc.c (__libc_memalign): Pass in new parameter to
arena_get2.
(__libc_malloc): Unify retrying after main arena failure with
__libc_memalign version.
(__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2012-08-10 09:37:52 -06:00
H.J. Lu
f85fa27058
Avoid DWARF definition DIE on ifunc symbols
2012-08-09 16:04:37 -07:00
Mark Salter
33b4a91e5b
Add new AM33 relocs
2012-08-08 21:43:47 -04:00
Joseph Myers
b36137f1d6
Remove __ASSUME_TGKILL.
2012-08-08 23:22:53 +00:00
Roland McGrath
a2433aac7e
Add a missing #include.
2012-08-08 10:39:28 -07:00
Roland McGrath
cdd915fd16
Missing #include updates for dirstream code move from unix to posix.
2012-08-08 09:18:37 -07:00
Allan McRae
bf9b740a11
rpcgen - fall back to looking for cpp in system path
...
Fall back to the system cpp when /lib/cpp is not present. Removes
searching for /usr/ccs/lib/cpp which is not supported on any system that
uses glibc.
2012-08-07 19:17:02 -04:00
Joseph Myers
93df14eee8
Remove some pre-2.6.16 Linux kernel conditionals.
2012-08-07 23:03:35 +00:00
Roland McGrath
a281decc87
Move common dirent implementation from sysdeps/unix to sysdeps/posix.
2012-08-07 14:47:34 -07:00
Roland McGrath
22895b4767
Make the bsd4.4/bits/fcntl.h be the generic one.
2012-08-07 14:12:10 -07:00