H.J. Lu
b80af2f406
Remove _dl_initial_dtv
...
* csu/libc-tls.c (static_dtv): Renamed to ...
(_dl_static_dtv): This. Make it global.
(_dl_initial_dtv): Removed.
(__libc_setup_tls): Updated.
* elf/dl-tls.c (DL_INITIAL_DTV): New macro.
(_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
DL_INITIAL_DTV.
2012-09-06 16:03:32 -07:00
Petr Machata
2abe9f1507
Synchronize with linux/elf.h.
...
Add new ARM and s390 note constants e.g. NT_*.
2012-09-06 12:41:14 -07:00
H.J. Lu
0948c3af9d
Always check dtv before freeing dtv[-1]
2012-09-06 11:51:52 -07:00
H.J. Lu
a5055ad15a
Use crtbeginT.o to statically link programs
2012-09-06 11:43:43 -07:00
Joseph Myers
ed8c2ecd21
Fix strtod test for values above maximum for IBM long double.
2012-09-06 15:33:06 +00:00
Andreas Krebbel
14c996c83b
S/390: Fix optimized mem* running on 31 bit kernels.
2012-09-06 10:28:52 +02:00
David S. Miller
ff04dda46d
Recognize new sparc hwcap bits.
...
* sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
* sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
* sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
entries.
2012-09-05 17:59:16 -07:00
David S. Miller
430d6ce62a
Update sparc ULPs for recently added math tests.
...
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-09-05 17:54:52 -07:00
Alexandre Oliva
24d4e01b22
* malloc/arena.c: Fold copyright years.
...
* malloc/mcheck.c, malloc/memusage.c: Likewise.
2012-09-05 20:47:16 -03:00
Alexandre Oliva
61d5817416
* malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
2012-09-05 20:37:37 -03:00
Alexandre Oliva
20196a5e5e
* manual/contrib.texi (Contributors): Fix typo. Complete entry.
2012-09-05 16:20:45 -03:00
Alexandre Oliva
5c44738353
Don't change no_dyn_threshold on mallopt failure
...
* malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
change internal state upon failure.
2012-09-05 15:43:04 -03:00
Alexandre Oliva
fad64255f4
Fix typos in malloc/.
...
* malloc/mcheck.c (mcheck_check_all): Fix typo.
* malloc/memusage.c (mmap): Likewise.
(mmap64, mremap): Likewise. Adjust name in comment.
2012-09-05 15:19:44 -03:00
Siddhesh Poyarekar
1ffb8c9001
Fix typos in comments
...
* libio/fileops.c: Fix typos in comments.
* libio/oldfileops.c: Likewise.
* libio/wfileops.c: Likewise.
2012-09-05 22:04:57 +05:30
Siddhesh Poyarekar
b9dafc562e
Fixed minor typo in ChangeLog
2012-09-05 21:54:24 +05:30
Siddhesh Poyarekar
6ef9cc37f0
Return requested size for malloc_usable_size when MALLOC_CHECK_ > 0
...
[BZ #1349 ]
malloc_usable_size returns the usable size in an allocated chunk,
which may be >= the requested size. In the case of MALLOC_CHECK_ being
exported to > 0 however, only the requested size is usable, since a
magic value is written at the end of the request size to trap writes
beyond request bounds. Hence, when MALLOC_CHECK_ is exported to > 0,
malloc_usable_size() should return the request size.
2012-09-05 21:49:30 +05:30
Andreas Schwab
4d038ae316
Increase timeout for stdlib/tst-strtod-overflow
2012-09-05 18:13:21 +02:00
Allan McRae
c4e85184d2
Improve C++ header location detection (bug 13966)
2012-09-06 00:16:24 +10:00
Andreas Schwab
a0070b7e70
Use LDBL_MIN_EXP to distinguish Intel and Motorola extended float format
2012-09-05 13:53:43 +02:00
Andreas Schwab
e1343020fb
Correctly handle Motorola extended float format in tst-strtod-round
2012-09-05 12:40:45 +02:00
David S. Miller
0a9f1987ad
Use sparcv8 GMP routines when building 32-bit sparcv9.
...
* sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
* sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
* sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
2012-09-04 19:20:03 -07:00
Florian Weimer
edb3cb8831
stdlib/tst-secure-getenv.c: whitespace-only changes in comments
2012-09-04 15:01:18 +02:00
Florian Weimer
292378045c
stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID failures
2012-09-04 14:36:56 +02:00
Joseph Myers
60160d83a0
Fix iogetdelim.c (latent) integer overflow (bug 9914).
2012-09-04 11:24:43 +00:00
Andreas Jaeger
bcd6c8dc64
Update libm-test-ulps
2012-09-03 15:43:56 +02:00
Liubov Dmitrieva
4ffffbd272
Add optimized sinf and cosf routines for x86 and x86-64
...
* sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
Add s_sinf-sse2, s_conf-sse2.
* sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
* sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
* sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
* sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
* sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
for using routine as __sinf_ia32.
Use macro for function declaration and weak_alias.
* sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
for using routine as __cosf_ia32.
Use macro for function declaration and weak_alias.
* sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
* sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
* sysdeps/x86_64/fpu/s_sinf.S: New file.
* sysdeps/x86_64/fpu/s_cosf.S: New file.
* sysdeps/x86_64/fpu/libm-test-ulps: Update.
* math/libm-test.inc (cos_test): Add more test cases.
(sin_test): Likewise.
(sincos_test): Likewise.
2012-09-03 15:32:13 +02:00
Andreas Krebbel
511fa2864a
S/390: Make IFUNC optimized mem* functions hidden.
2012-09-03 14:08:52 +02:00
H.J. Lu
5f30cfec00
Use the first element of GOT for ld.so addresses
...
[BZ #14538 ]
* sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
first element of the GOT.
(elf_machine_load_address): Return the difference between
the runtime address of _DYNAMIC and elf_machine_dynamic ().
2012-09-02 05:22:24 -07:00
Allan McRae
0786794f3a
Check for gawk >= 3.0 (bug 13412)
2012-09-02 09:30:18 +10:00
Joseph Myers
26889eacc2
Remove __ASSUME_POSIX_CPU_TIMERS.
2012-09-01 21:32:04 +00:00
H.J. Lu
d22e28b070
Use LD_SO to set $ld_so_name/$ld_so_version
2012-08-29 06:45:37 -07:00
Siddhesh Poyarekar
050af9c4e8
Don't make ttyname* fail if proc filesystem is not available
...
The ttyname and ttyname_r functions on Linux now fall back to
searching for the tty file descriptor in /dev/pts or /dev if /proc is
not available. This allows creation of chroots without the procfs
mounted on /proc.
Fixes BZ #14516 .
2012-08-29 10:04:23 +05:30
Joseph Myers
ad845c0be9
Remove __ASSUME_STAT64_SYSCALL.
2012-08-27 19:36:04 +00:00
Mike Frysinger
5dbf56af7e
update NEWS
2012-08-27 13:30:49 -04:00
Joseph Myers
7efb4737dd
Fix sign of zero on strtod underflow (bug 14519).
2012-08-27 16:04:19 +00:00
Joseph Myers
af92131a8e
Fix strtod rounding (bug 3479).
2012-08-27 16:02:07 +00:00
Joseph Myers
d6e70f4368
Fix strtod integer/buffer overflow (bug 14459).
2012-08-27 15:59:24 +00:00
Marek Polacek
1f529f7d84
Fix some typos in comments.
2012-08-25 18:32:23 +02:00
Roland McGrath
59a629f121
Fix tst-rfc3484* build failures from USE_NSCD move to config.h.
2012-08-23 16:55:40 -07:00
Steve McIntyre
d3bafbc98e
Check floating-point ABI in ARM VALID_ELF_HEADER.
2012-08-23 20:38:25 +00:00
Joseph Myers
4efcc02265
Make dl-fxstatat64.c include of fxstatat64.c use <> not "".
2012-08-23 11:34:37 +00:00
Roland McGrath
f04e213208
Fix shadow, gshadow, networks, protocols, rpc, aliases, and nscd routines for USE_NSCD case.
2012-08-22 16:06:53 -07:00
Roland McGrath
c53d909c80
Add --disable-build-nscd configure option.
2012-08-22 13:35:55 -07:00
Roland McGrath
3cc3ef96d6
BZ#13696: Add --disable-nscd configure option.
2012-08-22 13:31:12 -07:00
Dmitry V. Levin
07e5155066
Fix sed configure check for newer sed --version output.
2012-08-22 12:58:18 -07:00
Roland McGrath
35a5b08bd4
Fix libc-start change for IRELless machines.
2012-08-22 12:53:38 -07:00
Jeff Law
8479f23aa1
* sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
...
if the family is PF_UNSPEC.
2012-08-22 11:41:40 -06:00
Mike Frysinger
48da0b2163
rename V variable to lib-version
...
Due to the rise of kbuild type build systems (as the Linux kernel is a
popularly emulated environment), the V variable has become common as a
knob for controlling verbosity. Unfortunately, if you run `make V=1`
with glibc during install, it fails with weird errors due to the glibc
build already using this variable for versioning information.
Granted, overriding this variable in the glibc context makes no sense
so people shouldn't be doing it, but when paired with build frameworks
that like to use one set of options for all packages, glibc starts to
stick out as an oddball (in that it fails). Considering it's easy
enough to rename (it's used in just one place), let's do so.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-22 12:33:52 -04:00
Roland McGrath
8c4ae0d4e5
Leading-tabify ChangeLog.
2012-08-22 09:25:21 -07:00
Roland McGrath
5a4aaa33b7
Fix ChangeLog format.
2012-08-22 09:24:51 -07:00
Will Schmidt
15d0da8cb3
Add versions of wcscpy, wcschr, wcsrchr for power6/power7.
...
Initially based on the versions found in wcsmbs/* ; these files have
been changed by hand unrolling, and adding some additional variables
to allow some read-ahead to occur, which then relieves some of the
wait-for-increment/wait-for-load/wait-for-compare-results pressure
that was slowing down every iteration through the while-loop.
For 64-bit Power7, These changes give an approx 20% throughput boost
for the wcschr and wcsrchr functions; and approx 40% boost for the
wcscpy function. 32-bit improvements appear to be slightly better
with ~ %30 and ~ %45 respectively. Results for Power6 closely match
those for power7.
2012-08-22 11:04:42 -05:00
Maxim Kuvyrkov
bcca089526
Micro-optimize critical path of strstr, strcase and memmem.
2012-08-21 18:07:47 -07:00
Maxim Kuvyrkov
99677e5755
Use pointers for traversing arrays in strstr, strcasestr and memmem.
2012-08-21 18:07:47 -07:00
Maxim Kuvyrkov
400726deef
Detect EOL on-the-fly in strstr, strcasestr and memmem.
2012-08-21 18:07:47 -07:00
Maxim Kuvyrkov
20a71f2c8a
Optimize first-character loop of strstr, strcasestr and memmem.
2012-08-21 18:07:47 -07:00
Roland McGrath
21ad055803
Support static IFUNC calls irrespective of USE_MULTIARCH.
2012-08-21 15:01:27 -07:00
Joseph Myers
0e1d99119e
Remove __ASSUME_FADVISE64_64_SYSCALL.
2012-08-21 21:07:22 +00:00
Will Schmidt
14a50c9d23
[Powerpc] Tune/optimize powerpc{32,64}/power7/memchr.S.
...
Assorted tweaking, twisting and tuning to squeeze a few additional cycles
out of the memchr code. Changes include bypassing the shift pairs
(sld,srd) when they are not required, and unrolling the small_loop that
handles short and trailing strings.
Per scrollpipe data measuring aligned strings for 64-bit, these changes
save between five and eight cycles (9-13% overall) for short strings (<32),
Longer aligned strings see slight improvement of 1-3% due to bypassing the
shifts and the instruction rearranging.
2012-08-21 14:20:55 -05:00
Roland McGrath
696da85994
Fix typos in manual wrt syslog.
2012-08-20 12:44:59 -07:00
Roland McGrath
c0f4faf046
Fix conditional on using DSOCAPS to match condition on defining it.
2012-08-20 09:51:04 -07:00
Joseph Myers
a35cbf28fb
Remove __ASSUME_SWAPCONTEXT_SYSCALL.
2012-08-20 14:39:53 +00:00
Joseph Myers
445f7ecd66
Define __ASSUME_UTIMES for s390.
2012-08-20 14:38:48 +00:00
Joseph Myers
348363b2c3
Remove __ASSUME_MMAP2_SYSCALL.
2012-08-20 14:37:27 +00:00
Andreas Krebbel
bc5bc0e510
S/390: Remove 32 bit getrlimit.c.
2012-08-20 15:10:13 +02:00
Andreas Jaeger
88d506def0
Fix last patch: Add missing DUMMY variable
2012-08-18 18:01:46 +02:00
Mike Frysinger
493387d21f
add attribute_hidden to __have_{sock_cloexec,pipe2,dup3
...
These internal knobs are not exposed as part of the public ABI, so mark
them hidden to avoid generating relocations against them.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-18 01:54:12 -04:00
Mike Frysinger
a277af22ea
split assume pipe2/dup3/sock_cloexec knobs
...
We can't assume sock_cloexec and pipe2 are bound together as the former
defines are found in glibc only while the latter are a combo of kernel
headers and glibc. So if we do a runtime detection of SOCK_CLOEXEC, but
pipe2() is a stub inside of glibc, we hit a problem. For example:
main()
{
getgrnam("portage");
if (!popen("ls", "r"))
perror("popen()");
}
getgrnam() will detect that the kernel supports SOCK_CLOEXEC and then set
both __have_sock_cloexec and __have_pipe2 to true. But if glibc was built
against older kernel headers where __NR_pipe2 does not exist, glibc will
have a ENOSYS stub for it. So popen() will always fail as glibc assumes
pipe2() works.
While this isn't too much of an issue for some arches as they added the
functionality to the kernel at the same time, not all arches are that
lucky.
Since the code already has dedicated names for each feature, delete the
defines wiring these three features together and make each one a proper
dedicated knob.
We've been carrying this in Gentoo since glibc-2.9.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-18 00:35:47 -04:00
Mike Frysinger
fdab8fd335
update linux nice.c include path too after recent file shuffle
...
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-17 22:42:49 -04:00
Marek Polacek
31035e80a4
Quash warning in s_sincosl.
2012-08-17 23:44:53 +02:00
Roland McGrath
e3b398f925
Adjust old #include's of sysdeps/unix/time.c to point to sysdeps/posix/time.c instead.
2012-08-17 14:16:12 -07:00
Roland McGrath
c91c505f22
Make sysheaders available in config.make.
2012-08-17 14:05:53 -07:00
Roland McGrath
7c6f9d53c1
Move some things from sysdeps/unix to sysdeps/posix.
2012-08-17 13:52:32 -07:00
Roland McGrath
3bd9e9931b
Fix rule dependency in last change.
2012-08-17 13:42:27 -07:00
Jeff Law
d1f0938405
2012-08-17 Jeff Law <law@redhat.com>
...
* intl/Makefile (codeset_mo): New variable.
($(codeset_mo)): New target.
(tst-codeset.out): Depend on that. Remove explicit rule.
(tst-gettext3.out, tst-gettext5.out): Likewise.
(LOCPATH-ENV, tst-codeset-ENV): New variables.
(tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
* intl/tst-codeset.sh: Remove.
* intl/tst-gettext3.sh: Likewise.
* intl/tst-gettext5.sh: Likewise.
2012-08-17 14:32:19 -06:00
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
Roland McGrath
707a53b600
Update bsd4.4/bits/fcntl.h to match modern NetBSD bits.
2012-08-07 14:10:37 -07:00
Roland McGrath
f0bd3e25fb
Make the bsd4.4/bits/dirent.h be the generic one.
2012-08-07 13:17:26 -07:00
Roland McGrath
d34689de84
Define _DIRENT_MATCHES_DIRENT64 in bsd4.4/bits/dirent.h
2012-08-07 13:15:18 -07:00
Joseph Myers
6dad2c0688
Remove pre-2.6.16 Linux kernel support.
2012-08-07 16:40:32 +00:00
Roland McGrath
8e49df1d65
Clean up {alphasort,versionsort,scandir,scandirat}{,64} for struct dirent == struct dirent64.
2012-08-06 16:48:36 -07:00
Roland McGrath
03af952060
Clean up lockf64, fseeko64, ftello64, fgetpos64, fsetpos64 for off64_t == off_t.
2012-08-06 16:48:14 -07:00
H.J. Lu
c5757acd6e
Remove __secure_getenv in 2.17 instead of 2.16
2012-08-06 14:47:35 -07:00
H.J. Lu
3a31811ede
Remove x32/iofopen.c and x32/iofopen64.c
2012-08-06 12:56:52 -07:00
David S. Miller
faa2bccba5
Update SPARC ULPs.
...
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-08-03 20:39:26 -07:00
Joseph Myers
85fe199795
Remove some pre-2.6.0 Linux kernel conditionals.
2012-08-03 19:54:08 +00:00
Roland McGrath
4f75b7a09a
Distinguish ELOOP diagnosis threshold from SYMLOOP_MAX.
2012-08-03 11:39:30 -07:00
Joseph Myers
7aab07e4e5
Remove pre-2.6.0 Linux kernel support (bug 13717).
2012-08-03 13:42:47 +00:00
Roland McGrath
d24416315b
Wrap overlong ChangeLog lines.
2012-08-02 13:10:29 -07:00
Marek Polacek
b67e9372b2
Get rid of ASM_TYPE_DIRECTIVE{,_PREFIX}.
2012-08-02 21:04:29 +02:00
Roland McGrath
2747bf9adf
Clean up fopen64 for O_LARGEFILE==0.
2012-08-01 16:30:47 -07:00
Marek Polacek
3fb791b889
Small cleanup in Makeconfig.
2012-08-02 00:11:39 +02:00
Joseph Myers
23bddc0668
Remove __ASSUME_FCNTL64.
2012-08-01 21:27:58 +00:00
Joseph Myers
a9f1039f0a
Remove __ASSUME_VFORK_SYSCALL (and some __NR_vfork conditionals).
2012-08-01 20:49:45 +00:00
Roland McGrath
b8625cfc6f
Clean up mkostemps64 definition for O_LARGEFILE==0.
2012-08-01 11:13:37 -07:00
Roland McGrath
3f55550c14
Clean up mkstemps64 definition for O_LARGEFILE==0.
2012-08-01 11:09:48 -07:00
Roland McGrath
48aec5b988
Generic sys/param.h fixes for missing SYMLOOP_MAX or NGROUPS_MAX.
2012-08-01 10:48:17 -07:00
Roland McGrath
cd97c96688
Clean up mkstemp64/mkostemp64 for O_LARGEFILE==0.
2012-08-01 10:42:38 -07:00
Roland McGrath
09c0ee5f8c
BZ#14138: Move getrlimit (ugetrlimit) syscall to syscalls.list.
2012-08-01 10:25:11 -07:00
Florian Weimer
7e66ee5142
* posix/unistd.h (setuid, setreuid, seteuid, setresuid):
...
Declare with warn_unused_result.
(setgid, setregid, setegid, setresgid): Likewise.
* sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
Likewise.
* WUR-REPORT: Remove set*id functions.
2012-08-01 18:12:58 +02:00
Pino Toscano
d2a54255fe
Hurd: implement renameat
...
Provide an implementation of renameat, mostly based on rename.
2012-07-31 19:59:03 +02:00
Roland McGrath
789bd351b4
Clean up stub accept4 definition.
2012-07-31 09:43:14 -07:00
Roland McGrath
40ce302d37
Conditionalize use of PTR_MANGLE.
2012-07-31 09:42:06 -07:00
Roland McGrath
7ecdb00561
Don't assume SIGWINCH is defined.
2012-07-31 09:39:14 -07:00
David S. Miller
e2eabb2c3b
Update sparc ULPs.
2012-07-31 14:22:42 +00:00
Joseph Myers
d0419dbfbd
Improve clog, clog10 handling of values with real or imaginary part slightly above 1 (bug 13629).
2012-07-31 14:21:19 +00:00
Florian Weimer
2bc1387273
secure_getenv test should write errors to standard output
...
This way, they end up in the log file. Also skip the test if no GID can
be found.
2012-07-31 09:55:38 +02:00
Roland McGrath
bea9b19322
Fix lots of bitrot for stub configurations.
2012-07-30 16:34:33 -07:00
David S. Miller
e5abc686ef
Update sparc ULPs.
...
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-07-27 21:14:41 -07:00
Gary Benson
815e6fa3e0
Add SystemTap static probes to the runtime linker. [BZ #14298 ]
2012-07-27 14:03:20 +01:00
Roland McGrath
9f98c16cfe
Fix some -Wformat warnings in rpcgen.
2012-07-26 14:35:05 -07:00
Pino Toscano
f3c22df3c5
Provide a generic empty version of __check_native.
...
Add an empty implementation of __check_native, as used in the posix version of getaddrinfo.
This allows non-Linux GNU-based OSes to compile.
2012-07-26 21:41:52 +02:00
Joseph Myers
da865e95bc
Improve clog, clog10 handling of values with real or imaginary part 1 (bug 13629).
2012-07-26 11:31:35 +00:00
Joseph Myers
3129cfc6ec
Move testsuite audit definitions to sysdeps tst-audit.h files.
2012-07-26 11:29:07 +00:00
Andreas Jaeger
b1b2aaf8eb
Merge Linux 3.5 ptrace changes
...
(__ptrace_eventcodes): Add new value PTRACE_EVENT_SECCOMP from Linux 3.5.
(__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust PTRACE_O_MASK.
2012-07-26 13:13:26 +02:00
Andreas Jaeger
bfc07087bf
Merge _sigsys changes from Linux 3.5
2012-07-26 13:11:18 +02:00
Joseph Myers
89b4b02f42
Remove pre-2.4.21 Linux kernel support.
2012-07-25 21:19:13 +00:00
Andreas Schwab
842a39cd1a
Remove unused pseudo_end label
2012-07-25 21:58:17 +02:00
Florian Weimer
0c7936d5e9
Fix up ChangeLog entries
2012-07-25 20:46:19 +02:00
Florian Weimer
84b3fd8407
Rename __secure_getenv to secure_getenv
2012-07-25 19:46:22 +02:00
Joseph Myers
56e49b714e
Move ldsodefs.h audit definitions to sysdeps directories.
2012-07-25 16:03:02 +00:00
Marek Polacek
354691b7b5
Set up errno properly for yn.
2012-07-25 12:59:36 +02:00
Joseph Myers
bf9e20711e
conformtest: Update expectations for time.h.
2012-07-24 19:43:38 +00:00
Thomas Schwinge
576338111a
configure.in <sysdeps resolving>: Correct printing Implies_before.
2012-07-23 12:27:12 +02:00
Thomas Schwinge
c23c33b01e
Add missing includes.
...
Follow-up to commits 38de94a5ef
,
76da726532
.
2012-07-22 22:25:14 +02:00
Joseph Myers
b5982523b1
Document va_copy in preference to __va_copy.
2012-07-20 23:49:24 +00:00
Pino Toscano
b3404dbdeb
Hurd: compliance fixes for getlogin_r
...
- make LOGIN non-static, as it would make getlogin_r no more reentrant; change its type to string_t
- fail with ERANGE if NAME has not enough space for the actual login string
- copy with memcpy only the chars of the string
2012-07-21 00:16:11 +02:00
Pino Toscano
0ced335ac0
Hurd: compliance fixes for getgroups
...
Fail with EINVAL when the requested number of groups is negative,
or when it is positive but less than the actual number of groups.
2012-07-21 00:06:33 +02:00
Pino Toscano
898c7aaba5
Hurd: provide lremovexattr
...
Add an implementation of lremovexattr based on removexattr.
2012-07-21 00:01:57 +02:00
Pino Toscano
f98eafbd5d
Hurd: provide llistxattr
...
Add an implementation of llistxattr based on listxattr.
2012-07-21 00:00:20 +02:00
Pino Toscano
ac4ea442f3
Hurd: sendto: do not crash when ADDR is null
...
Create a new create_address_port subroutine to isolate the address port creation
(for both local and remove sockets), and use it inside HURD_DPORT_USE.
Also intialize APORT to MACH_PORT_NULL and make sure to always deallocate it,
when not null.
2012-07-20 23:56:58 +02:00
Joseph Myers
0f48659e36
Move localplt baselines to sysdeps directories.
2012-07-20 19:20:34 +00:00
Adhemerval Zanella
d37cbdaa86
Split tls-macros.h in sysdeps directories.
...
Split PowerPC definitions in PPC32 and PPC64 headers.
2012-07-19 17:04:04 -03:00
Andreas Krebbel
46f85fc226
S/390: Fix uc_link == NULL handling for makecontext
2012-07-19 15:58:17 +02:00
Andreas Krebbel
08f43f9bbf
S/390: Add support for STT_GNU_IFUNC symbols.
...
Add support for STT_GNU_IFUNC symbols and the new R_390_IRELATIVE
relocation. Provide optimized version of memcpy, memset, and memcmp
for z10 and z196.
2012-07-19 15:46:34 +02:00
Marek Polacek
a66877c62b
Add missing CL entry.
2012-07-18 09:09:55 +02:00
Marek Polacek
3b05db33f6
Remove TLS configure checks.
2012-07-17 23:57:43 +02:00
Joseph Myers
bd29910a8a
Move c++-types baselines to sysdeps directories.
2012-07-17 14:44:06 +00:00
Joseph Myers
cfc82fd8ac
Split tls-macros.h into sysdeps directories.
2012-07-17 11:30:58 +00:00
Thomas Schwinge
07cbfc2368
SH: makecontext: exit (0) if uc_link is the null pointer.
2012-07-17 10:06:06 +02:00
Thomas Schwinge
f7db31703a
x86_64: makecontext: exit (0) if uc_link is the null pointer.
2012-07-17 10:06:02 +02:00
Thomas Schwinge
dc97c227c9
setcontext: Clarify termination when uc_link is the null pointer.
2012-07-17 10:05:55 +02:00
Andreas Schwab
d0cd7d0212
Fix bug-getcontext test
2012-07-16 18:46:40 +02:00
Andreas Jaeger
dd31893430
Update from translation team
2012-07-16 09:38:55 +02:00
Joseph Myers
8048311a50
conformtest: Update expectations for string.h.
2012-07-15 22:38:11 +00:00
Andreas Jaeger
b637d46e7a
Update from french translation team
2012-07-13 17:50:05 +02:00
Marek Polacek
541428fecf
Fix ynl return value with LDBL_MIN.
2012-07-12 16:34:47 +02:00
Joseph Myers
ec332e944f
Remove pre-2.4.1 Linux kernel support.
2012-07-12 12:31:32 +00:00
Jeroen van Bemmel
7b6e99be77
Avoid duplicate DNS requests if answer is longer than a implementation
...
limit
[BZ #14307 ]
* sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
the temporary buffer used to invoke __gethostbyname2_r,
__gethostbyaddr_r and gethostbyname4_r to make room for struct
host_data / struct gaih_addrtuple.
* resolv/nss_dns/dns-host.c (global scope): Move definition of
implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
header file nss/nsswitch.h.
* nss/nsswitch.h (global scope): Add definition of implementation
constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
resolv/nss_dns/dns-host.c).
2012-07-12 11:31:48 +05:30
Andreas Jaeger
71220acad5
Translation team update for fr.po/sv.po
2012-07-11 20:41:25 +02:00
Andreas Jaeger
608404ebf6
Update from translation team: fr.po
2012-07-11 16:18:17 +02:00
Adhemerval Zanella
28cfe84316
Fix ctan, ctanh of subnormals in round-upwards mode (bug 14328).
...
IBM long double fixes and POWER ulps update.
2012-07-11 09:19:27 -03:00
David S. Miller
6b90f98178
Update sparc ULPs.
...
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-07-11 02:50:31 -07:00
Andreas Schwab
c68257729d
Fix LOG_MAKEPRI to agree with BSD
2012-07-10 22:39:30 +02:00
Marek Polacek
7b8e0d49cb
Get rid of ASM_GLOBAL_DIRECTIVE.
2012-07-10 14:30:24 +02:00
Roland McGrath
6c55cda37a
BZ#14336: Manual spelling fixes.
2012-07-09 04:41:13 -07:00
Joseph Myers
638a572eb0
Fix clog, clog10 spurious underflow exceptions (bug 14337).
2012-07-09 11:06:34 +00:00
Andreas Schwab
0abaf3e48a
Fix float range reduction problems ( #14283 )
2012-07-06 23:57:20 +02:00
Andreas Schwab
261f485936
Fix missing _mcount@GLIBC_2.0 on powerpc32
2012-07-06 23:43:56 +02:00
Joseph Myers
9ad63c23ea
Fix tanf underflow close to pi/4 (bug 14154).
2012-07-06 21:19:38 +00:00
Joseph Myers
f17ac40d7c
Fix expm1 spurious underflow exceptions (bug 6778).
2012-07-06 11:17:41 +00:00
Mike Frysinger
fb21f89b75
sunrpc: fix rpc bootstrap builds
...
If you build & install glibc w/rpc disabled, you no longer have headers in
/usr/include/rpc/ (this is expected). But if you try to build glibc w/rpc
enabled, this gets into a bad state due to the new rpc helpers that get
cross-compiled:
$ make
...
x86_64-pc-linux-gnu-gcc -m32 -D_RPC_THREAD_SAFE_ -D_GNU_SOURCE -DIS_IN_build \
-include $objdir/config.h rpc_clntout.c -o $objdir/sunrpc/cross-rpc_clntout.o \
-MMD -MP -MF $objdir/sunrpc/cross-rpc_clntout.o.dt -MT $objdir/sunrpc/cross-rpc_clntout.o -c
rpc_clntout.c:34:23: fatal error: rpc/types.h: No such file or directory
compilation terminated.
make: *** [$objdir/sunrpc/cross-rpc_clntout.o] Error 1
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-07-06 00:37:42 -04:00
Joseph Myers
cdfe2c5eb3
Fix csqrt underflow (bugs 14157, 14331).
2012-07-05 11:02:13 +00:00
Andreas Schwab
704bc4594d
Adapt tst-catgets to changes in tst-gettext
2012-07-04 16:14:31 +02:00
Andreas Schwab
70d35b6769
Fix tst-gettext test
2012-07-04 14:32:53 +02:00
Joseph Myers
ca61cf32d9
Fix ctan, ctanh of subnormals in round-upwards mode (bug 14328).
2012-07-04 09:55:26 +00:00
Mike Frysinger
ca48a46a03
drop ports ignore
...
Now that it's been merged back into mainline, we don't want to ignore
the dir anymore.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-07-03 15:54:35 -04:00
Andreas Jaeger
9d63d37d08
Update from translation teams
2012-07-03 21:43:55 +02:00
Joseph Myers
95f5a9a866
Avoid use of libgcc_s and libgcc_eh when building glibc.
2012-07-03 19:14:59 +00:00
Joseph Myers
7a845b2c23
Fix float range reduction problems (bug 14283).
2012-07-03 17:11:41 +00:00
Joseph Myers
e2283f38fe
Add cosh tests for bug 14273.
2012-07-03 17:06:55 +00:00
Joseph Myers
370ca3d2ad
Open development for 2.17.
2012-07-03 16:36:22 +00:00
Carlos O'Donell
ee9247c38a
Update NEWS and README.
...
Final update for 2.16 release.
2012-06-30 08:27:06 -07:00
Thomas Schwinge
4648c3819e
manual/contrib.texi (Contributors): Sort alphabetically by last name.
2012-06-28 10:50:08 +02:00
Andreas Jaeger
aac78a43b1
Add Samuel Thibault to manual/contrib.texi
2012-06-27 19:52:22 +02:00
Andreas Jaeger
ed3dbfad77
Update s390 ULPs file
2012-06-25 10:28:03 +02:00
Andreas Schwab
4d0ee85545
SH can do fanotify_mark, too.
2012-06-23 12:34:58 +02:00
Thomas Schwinge
a9fa33ba8b
Some missing bits from sysdeps/*/elf dismissal.
...
This fixes up commits 735095ae95
,
09ae94c11b
, and
ff962fb6a1
.
2012-06-23 12:27:58 +02:00
Thomas Schwinge
58f902b8d8
SH: Preserve more registers for frame unwinding purposes, add CFI directives.
2012-06-23 12:11:13 +02:00
Thomas Schwinge
1518f58b61
SH: Optimize assembler code in context of call to __fortify_fail.
...
__fortify_fail has »__attribute__ ((__noreturn__))«.
2012-06-23 12:07:04 +02:00
Thomas Schwinge
db9b505976
SH: ____longjmp_chk for GNU/Linux with sigaltstack support.
...
debug/tst-longjmp_chk2 now passes.
2012-06-23 11:56:02 +02:00
Thomas Schwinge
967705fee1
SH: ABORT_INSTRUCTION.
2012-06-23 11:47:39 +02:00
Thomas Schwinge
a9def8c49d
SH: makecontext/.Lexitcode: Always initialize the GOT register before use.
...
This is only relevant when returning from a context with »uc_link == NULL«,
which is not exercised in the testsuite.
2012-06-23 11:42:29 +02:00
Thomas Schwinge
2a649725b9
SH: makecontext: Fix calculation of ARGC > 4.
...
stdlib/tst-setcontext and stdlib/tst-makecontext3 now pass.
2012-06-23 11:28:23 +02:00
Thomas Schwinge
af1bce34ef
SH: makecontext: Improve understandability.
2012-06-23 11:22:47 +02:00
Kaz Kojima
d230f50a06
Fix gUSA sequence in SH atomic functions in
...
sysdeps/unix/sysv/linux/sh/bits/atomic.h.
2012-06-23 07:29:05 +09:00
Andreas Schwab
0479b305c5
Fix invalid memory access in do_lookup_x.
...
[BZ #13579 ] Do not free l_initfini and allow it to be reused
on subsequent dl_open calls for the same library. This fixes
the invalid memory access in do_lookup_x when the previously
free'd l_initfini was accessed through l_searchlist when a
library had been opened for the second time.
2012-06-22 11:10:31 -07:00
Carlos O'Donell
0e3933b963
Use AC_LANG_SOURCE to fix autoconf warnings.
2012-06-22 18:05:23 +00:00
Carlos O'Donell
807841933b
Use tab not spaces.
2012-06-22 18:04:53 +00:00
Roland McGrath
4248b1b1cf
Respect --localstatedir for /var/db parent directory.
2012-06-22 10:11:07 -07:00
Jeff Law
006dd86111
[BZ #14277 ]
...
* intl/dcigettext.c (_nl_find_msg): Avoid use after potential
free. Simplify list management for _LIBC case.
2012-06-21 17:15:38 -06:00
Joseph Myers
b7abb4bf78
Fix wordsize-64 cosh regression (bug 14273).
2012-06-21 19:26:09 +00:00
Joseph Myers
79662d4270
Regenerate sysdeps/mach/configure.
2012-06-21 19:20:33 +00:00
H.J. Lu
1f1509082e
Fix a typo in i386 SYSCALL_PIC_SETUP
2012-06-21 10:17:07 -07:00
Jeff Law
28363bbf70
2012-06-21 Jeff Law <law@redhat.com>
...
[BZ #13882 ]
* elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
uint16_t for elements in the "seen" array to avoid char overflows.
* elf/dl-fini.c (_dl_sort_fini): Likewise.
* elf/dl-open.c (dl_open_worker): Likewise.
2012-06-21 09:26:41 -06:00
Carlos O'Donell
09615db4a9
Add ChangeLog ...
...
... for feca660a79
.
2012-06-21 08:04:35 -07:00
Andreas Jaeger
2174c6dd85
Avoid -Wconversion warning for htons
2012-06-21 15:49:33 +02:00
H.J. Lu
a2f34833b1
Use x86-64 fpu_control.h for i386 and x86_64
2012-06-18 11:43:51 -07:00
H.J. Lu
3ee947b124
Use __volatile__ to access fpu control word
2012-06-18 11:09:58 -07:00
H.J. Lu
25f1282ae5
Use i386 bits/mathinline.h for i386 and x86_64
2012-06-15 13:56:26 -07:00
H.J. Lu
ed1825f858
Disable x87 inline functions for x86-64
2012-06-15 13:53:27 -07:00
Chung-Lin Tang
36d54b744e
Make endian.h usable for assembler
2012-06-15 21:19:12 +02:00
Joseph Myers
10285c2113
Fix pow (0.0, -Inf) (bug 14241).
2012-06-15 11:27:51 +00:00
Andreas Jaeger
06c5abbdf8
Update manual/contrib.texi
...
Update entry of Liubov Dmitrieva and add entries for Will Schmidt and Tulio Magno
Quites Machado Filho.
2012-06-15 09:14:17 +02:00
Cyril Hrubis
a3aeac403e
Add __wur to GNU version of strerror_r.
...
Not using the result of the GNU strerror_r() is always a mistake.
Moreover this would generate warning if XSI version was expected but GNU
version was used instead (because some random used header defined
_GNU_SOURCE which was Python.h in this case).
2012-06-15 09:09:59 +02:00
H.J. Lu
49bdf4c19d
Use RAX_LP/RDX_LP on SAVE_PTR in x86_64 strtok.S
2012-06-14 10:00:28 -07:00
Roland McGrath
834f9b8d3c
Make sure <build-dir>/manual directory gets created.
2012-06-14 09:44:27 -07:00
Joseph Myers
75fa192131
Allow more spurious underflow exceptions from csqrt and Bessel functions.
2012-06-14 14:35:24 +00:00
Carlos O'Donell
771766df5a
Set default charset to UTF-8 for libc.pot.
2012-06-13 16:51:55 -07:00
Paul Pluzhnikov
ceb9e56b3d
Suppress sign-conversion warning from FD_SET.
...
[BZ #14210 ] See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html >.
* debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
not unsigned long int.
* misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2012-06-13 09:57:18 -07:00
H.J. Lu
ddb2897514
Add SSE math and C++ namespace to i386 bits/mathinline.h
2012-06-12 21:10:00 -07:00
Thomas Schwinge
d7b4fb26e2
Fix a typo in sysdeps/unix/Makefile.
2012-06-12 10:27:01 +02:00
Roland McGrath
eb55f5c21f
BZ#14218: Reword argp_parse description slightly.
2012-06-11 16:21:44 -07:00
Thomas Schwinge
99ff6e5c49
SH: No FE_UPWARD, FE_DOWNWARD.
2012-06-09 18:46:01 +02:00
Thomas Schwinge
366af02c96
SH: Do not re-write fpscr after reading it.
2012-06-09 18:36:52 +02:00
Kaz Kojima
793ea8518f
SH: refresh *.abilist files.
2012-06-09 18:08:02 +02:00
H.J. Lu
c08010c7cd
Use x86_64 fpu/bits/fenv.h for i386 and x86_64
2012-06-06 10:13:19 -07:00
H.J. Lu
a728a38fb6
Check __SSE_MATH__ in x86_64 feraiseexcept
2012-06-06 10:11:14 -07:00
Siddhesh Poyarekar
6e230d1183
Fix validation check when converting from ibm930 to utf
...
[BZ #14134 ]
When converting IBM930 code with iconv(), if IBM930 code which
includes invalid multibyte character "0xffff" is specified, then
iconv() segfaults. This is easy to see using the following command:
echo '0x0e 0x43 0x8c 0xff 0xff 0x43 0xbd 0x43 0xbd' | xxd -r |
iconv -f IBM930 -t UTF-8
2012-06-06 18:41:55 +05:30
Adhemerval Zanella
1b671feb61
Fix for wrong ldbl128-ibm fmodl commit
2012-06-05 21:33:23 -03:00
Adhemerval Zanella
6043738b36
Fix spurious undeflow for ldbl-128ibm erfl
...
For values higher than 25.6283 erflc underflow, so adjust erfl
to return a constant value based argument sign.
2012-06-05 10:42:49 -03:00
Adhemerval Zanella
34ae0b3270
Fix ldbl128ibm fmodl for subnormals.
2012-06-05 10:16:49 -03:00
Mike Frysinger
1214ec8f4c
tst-getcpu: decode errno when sched_getcpu fails
...
The tst-getcpu test is failing on ia64 platforms due to sched_getcpu
returning an error. But the current test only considers -1 when it's
also ENOSYS. Tweak the logic a bit to make the output clearer.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-06-04 22:22:02 -04:00
H.J. Lu
0e4a3cd708
Use i486 bits/string.h for i386 and x86_64
2012-06-04 13:45:43 -07:00
H.J. Lu
6704c645b0
Provide 32-bit inline string functions for >= i486
2012-06-04 13:44:46 -07:00
H.J. Lu
48495318fa
Use x86_64 bits/sigcontext.h for i386 and x86_64
2012-06-04 12:41:38 -07:00
H.J. Lu
14adcbfc36
Update x86_64 bits/sigcontext.h from kernel 3.4.0
2012-06-04 12:40:46 -07:00
H.J. Lu
68e408ab5d
Use x86_64 bits/{debugreg,reg}.h for i386 and x86-64
2012-06-04 12:32:07 -07:00
H.J. Lu
f3d1f93cfb
Use x86_64 bits/{io,perm}.h for i386 and x86_64
2012-06-04 12:29:49 -07:00
Tulio Magno Quites Machado Filho
d9dc34cd56
Manual for platform-specific features and new __ppc_get_timebase inline.
...
[BZ #13743 ]
A new class of installed headers has been documented for low-level
platform-specific functionality. PowerPC added the first instance with a
function to provide time base register access (__ppc_get_timebase). This
is required for applications that measure time at high frequencies with
high precision that can't afford a syscall.
2012-06-04 13:46:37 -05:00
Siddhesh Poyarekar
4af3879c26
Wrap __builtin_expect in pthread.h
...
[BZ #14188 ]
This fixes compilation of programs using pthread_cleanup_push built
with non-gcc compilers and older gcc compilers.
2012-06-04 11:53:57 +05:30
David S. Miller
2fd6ff133b
Sync longlong.h with GCC to fix a sparc regression.
...
* stdlib/longlong.h: Updated from GCC.
2012-06-03 18:51:43 -07:00
Andreas Schwab
173f722045
Move __mcount_internal from GLIBC_PRIVATE to GLIBC_2.16
2012-06-02 21:21:15 +02:00
H.J. Lu
f34a1c6f5e
Fix a typo in x86_64 sys/io.h
2012-06-01 17:43:26 -07:00
Joseph Myers
ea32bcdd3d
Add default-abi definitions for powerpc, s390 and sparc.
2012-06-01 21:19:28 +00:00
Joseph Myers
88a4576f50
Remove unused default-abi definition in Makeconfig.
2012-06-01 21:17:36 +00:00
David S. Miller
402fe938f6
Update longlong.h from GCC to get some sparc improvements.
...
* stdlib/longlong.h: Updated from GCC.
2012-06-01 13:33:28 -07:00
H.J. Lu
3bd872c4c4
Use i386 sys/elf.h and sys/vm86.h for i386 and x86-64
2012-06-01 13:22:46 -07:00
H.J. Lu
3553723f3c
Define DR_LEN_8 only if __x86_64__ is defined
2012-06-01 13:06:37 -07:00
Joseph Myers
c5bfe3d5ba
Fix fmod for subnormals (bug 14048).
2012-06-01 19:05:46 +00:00
Joseph Myers
4842e4fe5f
Ensure additions are not scheduled after fetestexcept in fmaf and fmal.
2012-06-01 19:02:21 +00:00
Aurelien Jarno
efb734887e
Add a barrier in the double fma implementation.
2012-06-01 19:01:17 +00:00
H.J. Lu
29bcce7ce4
Use i386 bits/wchar.h for i386 and x86-64
2012-06-01 11:16:15 -07:00
Adhemerval Zanella
73a68f94d6
PowerPC: Fix for POWER7 sinf/cosf
...
This patch fixes some sinf/cosf calculations that generated unexpected
underflows exceptions.
2012-06-01 10:10:18 -03:00
H.J. Lu
ebc64a18c0
Support __WORDSIZE == 64 in i386 bits/wchar.h
2012-05-31 20:35:10 -07:00
H.J. Lu
edf2933a37
Use x86_64 bits/typesizes.h for i386 and x86-64
2012-05-31 19:37:43 -07:00
H.J. Lu
57c6cf4038
Use __SWORD_TYPE for __FSWORD_T_TYPE with -m32
2012-05-31 19:33:55 -07:00
H.J. Lu
8eb6281eaa
Use x86_64 bits/siginfo.h for i386 and x86_64
2012-05-31 17:14:35 -07:00
H.J. Lu
aac639f42c
Use x86_64 bits/stat.h for i386 and x86-64
2012-05-31 16:49:38 -07:00
H.J. Lu
67b6df7841
Update x86_64 bits/stat.h
2012-05-31 16:47:45 -07:00
David S. Miller
1c2cfe8193
Update sparc ulps after Joseph's math.h fixes.
...
* sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
entries.
2012-05-31 16:25:07 -07:00
Andreas Schwab
e77253266a
Sort sysdeps/powerpc/fpu/libm-test-ulps
2012-06-01 01:26:27 +02:00
Andreas Schwab
5be8418cb0
Remove use of INTDEF/INTUSE in stdio-common
2012-06-01 01:25:41 +02:00
Markus Trippelsdorf
507352f1a1
Add bits/sysctl.h to sysdep_headers
2012-05-31 16:16:23 -07:00
H.J. Lu
6bd784b66b
Use x86_64 bits/sysctl.h for x86-64 and i386
2012-05-31 16:12:40 -07:00
H.J. Lu
8bca20f013
Use x86_64 sys/{ucontext,user}.h for i386 and x86_64
2012-05-31 16:11:11 -07:00
H.J. Lu
f9e890a99c
Use x86_64 sys/procfs.h for both i386 and x86_64
2012-05-31 16:09:40 -07:00
H.J. Lu
471101a18f
Replace addr with __addr in x86_64 sys/io.h
2012-05-31 16:06:54 -07:00
H.J. Lu
6451c86222
Use x86_64 bits/mman.h for both i386 and x86_64
2012-05-31 16:05:51 -07:00
H.J. Lu
a254b8c9cb
Use x86-64 bits/{msq,sem,shm}.h for i386 and x86-64
2012-05-31 16:04:12 -07:00
H.J. Lu
b8dfdd92c7
Use x86_64 bits/ipctypes.h for both i386 and x86-64
2012-05-31 16:03:09 -07:00
H.J. Lu
578cd27008
Use x86_64 bits/epoll.h for both i386 and x86_64
2012-05-31 16:02:21 -07:00
H.J. Lu
de662f5f19
Use x86_64 bits/fcntl.h for both i386 and x86_64
2012-05-31 16:01:24 -07:00
H.J. Lu
25653439fc
Use x86_64 bits/environments.h for i386 and x86_64
2012-05-31 16:00:18 -07:00
H.J. Lu
6bad24a091
Use x86_64 bits/a.out.h for both i386 and x86_64
2012-05-31 15:57:54 -07:00
H.J. Lu
42bbb1c314
Add x86-64 support to i386 sys/elf.h and sys/vm86.h
2012-05-31 15:55:37 -07:00
Joseph Myers
2d10d547c1
Use more decimal places for long double constants in math.h.
2012-05-31 21:25:48 +00:00
David S. Miller
f230c29b40
Avoid performance penalty in sparc optimized memcpy/memset.
...
fmovd clears the current exception field in the %fsr, fsrc2
does not and therefore runs more efficiently on some cpus.
* sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
values between float registers.
* sysdeps/sparc/sparc64/memset.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2012-05-31 14:19:30 -07:00
Mike Frysinger
fed806c3af
tests: move -D_FORTIFY_SOURCE to CPPFLAGS
...
The -D_FORTIFY_SOURCE flags are being added to the test-specific CFLAGS
values when they should be the test-specific CPPFLAGS values. Otherwise
the values don't override the user-specified CPPFLAGS and might end up
breaking the tests.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-31 14:31:08 -04:00
Marek Polacek
3091725976
Remove use of INTUSE/INTDEF in misc.
2012-05-31 13:10:02 +02:00
David S. Miller
1c58d5dceb
Simulate sparc fpu exceptions using real FP ops again in soft-fp.
...
* sysdeps/sparc/sparc32/soft-fp/q_util.c
(___Q_simulate_exceptions): Use real FP ops rather than writing
into the %fsr.
* sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
Likewise.
2012-05-30 23:09:25 -07:00
H.J. Lu
0bd5398534
Use x86_64/bits/xtitypes.h for i386/x86-64
2012-05-30 17:26:11 -07:00
H.J. Lu
3a257e668e
Use x86_64 bits/wordsize.h for both i386/x86_64
2012-05-30 17:25:23 -07:00
H.J. Lu
62f62904cf
Use i386 bits/huge_vall.h for i386/x86-64
2012-05-30 15:51:32 -07:00
H.J. Lu
404fe9d90e
Use x86_64 bits/select.h for i386/x86_64
2012-05-30 15:49:31 -07:00
H.J. Lu
d48d04460a
Use x86_64 bits/setjmp.h for i386/x86_64
2012-05-30 15:43:34 -07:00
H.J. Lu
7dc00e0d3c
Use x86_64 bits/mathdef.h for i386/x86_64
2012-05-30 15:42:28 -07:00
Andreas Schwab
03277f8fe1
Remove use of INTDEF/INTUSE in socket
2012-05-31 00:34:41 +02:00
H.J. Lu
6bd976963f
Use x86_64 bits/{link.h,linkmap.h} for i386/x86_64
2012-05-30 15:21:55 -07:00
H.J. Lu
f726f0bb75
Use the same bits/endian.h for i386/x86_64
2012-05-30 14:50:32 -07:00
H.J. Lu
13764867fe
Use x86-64 bits/byteswap.h for both i386 and x86_64
2012-05-30 14:13:18 -07:00
David S. Miller
ae251b0b58
Fix underflow generation in soft-fp.
...
* soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
(FP_TRAPPING_EXCEPTIONS): Provide default implementation.
* sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
(FP_TRAPPING_EXCEPTIONS): Define.
* sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
(FP_TRAPPING_EXCEPTIONS): Define.
* soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
subnormals only when inexact has been signalled or underflow
exceptions are enabled.
(_FP_PACK_CANONICAL): Likewise.
2012-05-30 13:41:01 -07:00
H.J. Lu
d5c9086734
Use __UWORD_TYPE for __NLINK_T_TYPE with -m32
2012-05-30 11:35:47 -07:00
Richard Henderson
8d8f2279e7
alpha: Don't symbol_version syscalls outside libc
...
* sysdeps/unix/make-syscalls.sh: Protect symbol_version output
with #ifndef NOT_IN_libc.
2012-05-30 11:05:51 -07:00
Richard Henderson
63f1549e0e
alpha: Handle ST_OTHER in objdump output
...
* scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
marked to avoid plt entry.
2012-05-30 11:05:51 -07:00
H.J. Lu
0ab0291b84
Convert WORDSIZE[32|64]/ld entries to abi-variants
2012-05-30 08:33:26 -07:00
Joseph Myers
3a85279c0b
Remove __ASSUME_TRUNCATE64_SYSCALL.
2012-05-30 14:52:34 +00:00
Joseph Myers
4da0431d5f
Weaken PIE configure test to a compile test.
2012-05-30 09:50:40 +00:00
Andreas Schwab
865eac65c2
Move CL entry
2012-05-30 08:49:59 +02:00
Andreas Schwab
4d17e68350
Remove use of INTDEF/INTUSE in nptl
2012-05-30 00:45:53 +02:00
Andreas Krebbel
11ef492c80
S/390: ABI baseline update.
2012-05-29 11:04:22 +00:00
David S. Miller
d66ef399f5
Fix underflow reporting and tie up loose ends in sparc soft-fp.
...
* sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
(___Q_zero): New.
(__Q_simulate_exceptions): Return void. Change to simulate
exceptions by writing into the %fsr.
* sysdeps/sparc/sparc64/soft-fp/qp_util.c
(__Qp_handle_exceptions): Likewise.
(numbers): Delete.
* sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
__Qp_handle_exceptions.
* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
__Qp_handle_exceptions.
* sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
as unused and give dummy FP_RND_NEAREST initializer.
(FP_INHIBIT_RESULTS): Define.
(___Q_simulate_exceptions): Update declaration.
(FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
formatting.
* sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
as unused and give dummy FP_RND_NEAREST initializer.
(__Qp_handle_exceptions): Update declaration.
(FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
formatting.
2012-05-27 21:11:42 -07:00
Thomas Schwinge
04fb54b507
SH: Use fpu_control_t for the temporary FPU control word.
2012-05-28 01:03:18 +02:00
Kaz Kojima
3f99608f82
SH: feraiseexcept: Restore fpscr flag fields.
2012-05-28 01:02:34 +02:00
Chung-Lin Tang
65a4de4e06
SH: Add CFI directives.
2012-05-28 00:11:06 +02:00
Ulrich Drepper
15749d40db
New Croatian translation
2012-05-27 03:00:50 -04:00
Andreas Schwab
3d3f8e5582
Fix missing declaration
2012-05-26 22:33:51 +02:00
Marek Polacek
7ad47a8080
Fix CL date.
2012-05-26 14:41:28 +02:00
Andreas Schwab
25dbcb277a
Optimize handling of denormals in logb/logbf/logbl
2012-05-26 13:53:22 +02:00
Marek Polacek
d81dcb3569
Fix fma test for underflow.
2012-05-26 13:49:49 +02:00
Siddhesh Poyarekar
9c6ea9facb
Fix stack size and address inconsistency due to executable stack
...
When a stack is marked executable due to loading a DSO that requires
an executable stack, the logic tends to leave out a portion of stack
after the first frame, thus causing a difference in the value returned
by pthread_getattr_np before and after the stack is marked
executable. It ought to be possible to fix this by marking the rest of
the stack as executable too, but in the interest of marking as less of
the stack as executable as possible, the path this fix takes is to
make pthread_getattr_np also look at the first frame as the underflow
end of the stack and compute size and stack top accordingly.
The above happens only for the main process stack. NPTL thread stacks
are not affected by this change.
2012-05-26 09:48:26 +05:30
Joseph Myers
a82392228a
Remove __ASSUME_NEW_GETRLIMIT_SYSCALL.
2012-05-25 22:30:06 +00:00
H.J. Lu
918b56067a
Don't use header files in glibc configure
2012-05-25 14:16:19 -07:00
Roland McGrath
8422c9a560
Add systemtap static probe points in setjmp/longjmp on x86.
2012-05-25 13:41:03 -07:00
Roland McGrath
3a097cc7a1
Add --enable-systemtap configuration to define static probe points.
2012-05-25 13:40:20 -07:00
Joseph Myers
21708942c9
Remove pre-2.4 Linux kernel support.
2012-05-25 19:19:30 +00:00
Richard Henderson
a386f1cc22
ppc: Pass hwcap to ifuncs.
...
* sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
dl_hwcap to ifunc resolver.
* sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
elf_ifunc_invoke.
* sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
dl_hwcap to ifunc resolver.
* sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2012-05-25 10:30:42 -07:00
Joseph Myers
b65504975c
Fix acosf underflow (bug 14153).
2012-05-25 11:07:07 +00:00
Jeff Law
b0bc23a177
2012-05-24 Jeff Law <law@redhat.com>
...
* stdio-common/Makefile (tests): Add bug25.
* stdio-common/bug25.c: New test.
2012-05-24 21:30:43 -06:00
H.J. Lu
347c92e9e7
Make free chunk size a multiple of MALLOC_ALIGNMENT
2012-05-24 17:50:28 -07:00
Joseph Myers
6bcc8b3ff9
conformtest: Update expectations for stdio.h and stdlib.h.
2012-05-24 21:58:04 +00:00
Andreas Schwab
56d25bb888
Remove use of INTDEF/INTUSE in intl
2012-05-24 23:08:18 +02:00
Andreas Schwab
d18ea0c5e6
Remove use of INTDEF/INTUSE in libio
2012-05-24 23:06:20 +02:00
Roland McGrath
c14874927b
syscalls.list support for vDSO IFUNCs, use it for x32 gettimeofday and time.
2012-05-24 13:13:46 -07:00
Roland McGrath
d6c33fda03
Switch gettimeofday from INTUSE to libc_hidden_proto.
2012-05-24 13:12:34 -07:00
H.J. Lu
b5a2bbe6cc
Properly handle MALLOC_ALIGNMENT > 2 * SIZE_SZ
2012-05-24 11:57:23 -07:00
H.J. Lu
7f90742178
Add x32 abilist files
2012-05-24 11:20:12 -07:00
H.J. Lu
cfba4fda12
Add x32 C++ type data
2012-05-24 11:18:30 -07:00
Joseph Myers
7a25eb06bf
Add tests for underflow exception bugs 10846, 14036.
2012-05-24 15:36:54 +00:00
Joseph Myers
795405f956
Don't include exceptions in libm-test-ulps test names.
2012-05-24 12:14:03 +00:00
Joseph Myers
80bad0ccae
Test underflow exceptions in libm-test.inc.
2012-05-24 11:26:36 +00:00
David S. Miller
9e0e3d0b2b
Forgot changelog in previous commit.
2012-05-23 21:53:01 -07:00
H.J. Lu
ccd0a08f4e
Add sysdeps/unix/sysv/linux/x86_64/x32/configure
2012-05-23 20:03:20 -07:00
Paul Eggert
f8591f8049
mktime: avoid signed integer overflow
...
* time/mktime.c (__mktime_internal): Do not mishandle the case
where diff == INT_MIN.
2012-05-23 14:36:25 -07:00
Paul Eggert
94c7d826c9
mktime: simplify computation of average
...
* time/mktime.c (ranged_convert): Use new time_t_avg function
instead of rolling our own (probably-slower) code.
2012-05-23 14:36:25 -07:00
Paul Eggert
ce73d68397
mktime: do not assume signed right shift propagates sign bit
...
* time/mktime.c (isdst_differ): New static function.
(__mktime_internal): No need to normalize tm_isdst now.
(__mktime_internal, not_equal_tm): Use isdst_differ to compare
tm_isdst values.
2012-05-23 14:36:24 -07:00
Paul Eggert
72a22e596c
mktime: merge another wrapv change from gnulib
...
* time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
from some compilers.
2012-05-23 14:36:24 -07:00
Paul Eggert
6860543348
mktime: remove incorrect attempt at unusual arithmetics
...
* time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
The code didn't really work on such machines anyway.
(TYPE_MINIMUM): Assume two's complement.
(twos_complement_arithmetic): Verify that long_int and time_t
are two's complement (or unsigned, in the latter case).
2012-05-23 14:36:24 -07:00
Paul Eggert
03cf7fe31b
mktime: check signed shifts on long_int and time_t, too
...
* time/mktime.c (SHR): Check that shifts work as desired
on the types long_int and time_t too, as SHR is used on
such types.
2012-05-23 14:36:24 -07:00
Paul Eggert
f04dfbc244
mktime: do not assume 'long' is wide enough
...
* time/mktime.c (verify): Move decl up.
(long_int): New type.
(leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
to remove assumption in the code that 'long' is wide enough to
store year values. This assumption is not true on x32 and on
some non-glibc platforms.
2012-05-23 14:36:24 -07:00
Paul Eggert
62bdf9a683
mktime: merge wrapv change from gnulib
...
* time/mktime.c (WRAPV): New macro.
(time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
(guess_time_tm, __mktime_internal): Do not assume that signed
integer overflow wraps around; modern compilers generate code
where this assumption is no longer valid.
2012-05-23 14:36:24 -07:00
H.J. Lu
5e292e4fa5
Replace "jmp L(pseudo_end)" with "ret"
2012-05-23 11:35:38 -07:00
Andreas Jaeger
8caf8c87e1
Add ChangeLog for last change
2012-05-23 20:23:49 +02:00
Andreas Jaeger
1a09dc565d
Add more constants to Linux <sys/reboot.h>
...
2012-05-23 Andreas Jaeger <aj@suse.de>
Maximilian Attems <max@stro.at>
* sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND,
RB_KEXEC):
New macros.
2012-05-23 20:16:00 +02:00
H.J. Lu
1c87aba0f2
Fix x32 sched_getcpu.S error code
2012-05-23 06:48:05 -07:00
Joseph Myers
c26705334c
Add comments suggesting moving some functions to syscalls.list.
2012-05-23 12:52:56 +00:00
Joseph Myers
40e45bd5d6
Do not mention old Linux kernel versions in installation documentation.
2012-05-23 12:48:01 +00:00
Andreas Jaeger
be08eda54c
Update from Linux 3.4
2012-05-23 09:27:39 +02:00
Roland McGrath
a6a056bba7
Simplify dl-vdso.h use of assert.
2012-05-22 14:24:54 -07:00
H.J. Lu
cb191f2300
Remove $(sysctl) from sysdep_routines
2012-05-22 13:58:43 -07:00
H.J. Lu
c900932878
Add sysctl.mk and bits/sysctl.h
2012-05-22 13:46:29 -07:00
Andreas Jaeger
7333835592
Fix x86_64/sched_getcpu.S error code
...
Rearrange code so that pseudo_end is just ret and the stack pointer
is correct also for static library in error case.
2012-05-22 22:35:04 +02:00
Paul Pluzhnikov
d44638b0a7
For [BZ#14122], plug memory leaks in nsswitch.c.
2012-05-22 13:09:27 -07:00
H.J. Lu
da0331a873
Add x32 arch_prctl
2012-05-22 12:43:46 -07:00
H.J. Lu
31a39bd841
Add INTERNAL_SYSCALL_TYPES
2012-05-22 12:42:36 -07:00
Adhemerval Zanella
45470df378
PowerPC: libm ABI update
...
Update for libm abilist for POWER6 and POWER7.
2012-05-22 15:34:02 -03:00
H.J. Lu
a4f6e48124
Add x32 support to x86_64/bits/fcntl.h
2012-05-22 09:25:29 -07:00
H.J. Lu
f63d5db67c
Use "neg %eax" in i386 SYSCALL_ERROR_HANDLER
2012-05-22 09:24:24 -07:00
H.J. Lu
98a61bcbca
Update copyright years for time/mktime.c
2012-05-22 06:31:00 -07:00
Paul Eggert
6226efbda1
mktime: merge comment-quoting-style change from gnulib
2012-05-22 06:14:01 -07:00
Paul Eggert
b99e4f783c
time/mktime.c (compile-command): Add "-I."
2012-05-22 06:13:01 -07:00
Paul Eggert
643e01e6cb
mktime: merge mktime-internal.h change from gnulib
2012-05-22 06:11:29 -07:00
Paul Eggert
2554247d83
mktime: merge time_r change from gnulib
2012-05-22 06:10:34 -07:00
Paul Eggert
826dd0abdf
mktime: merge DEBUG change from gnulib
2012-05-22 06:09:01 -07:00
Paul Eggert
bd83aabe5a
mktime: merge <sys/types.h> change from gnulib
2012-05-22 06:07:58 -07:00
Paul Eggert
95770f140b
mktime: merge HAVE_CONFIG_H change from gnulib
2012-05-22 06:05:37 -07:00
H.J. Lu
0e44a77e48
Use "neg %eax" in x86_64 SYSCALL_SET_ERRNO
2012-05-22 05:34:36 -07:00
H.J. Lu
5e1a27a96d
Pad each field to __syscall_slong_t in struct rusage
2012-05-22 05:32:34 -07:00
David S. Miller
46259beccc
Remove straggling references to .s files.
...
* Makefules (o-iterator): Remove .s cases.
(compile-command.s): Delete.
(COMPILE.s): Delete.
* sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2012-05-21 21:59:29 -07:00
Joseph Myers
59f0c22ed2
Filter out unknown symbols in stack-protector test.
2012-05-21 23:26:27 +00:00
H.J. Lu
c5b3a2c05b
Rename x32 llseek.S to lseek.S and add dummy llseek.S
2012-05-21 15:41:37 -07:00
H.J. Lu
bbb3154bc9
Add x32 llseek.S
2012-05-21 14:50:21 -07:00
H.J. Lu
20c07380db
Rename __WORDSIZE_COMPAT32 to __WORDSIZE_TIME64_COMPAT32
2012-05-21 13:39:55 -07:00
Andreas Jaeger
d8d1017e5e
Fix warnings in wcschr-c.c
...
Fixes:
In file included from ../sysdeps/i386/i686/multiarch/wcschr-c.c:8:0:
../wcsmbs/wcschr.c:26:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
../wcsmbs/wcschr.c:37:1: warning: data definition has no type or storage class [enabled by default]
../wcsmbs/wcschr.c:37:1: warning: type defaults to ‘int’ in declaration of ‘__hidden_ver1’ [enabled by default]
../wcsmbs/wcschr.c:37:1: warning: parameter names (without types) in function declaration [enabled by default]
2012-05-21 22:27:11 +02:00
Roland McGrath
6c7fb1458d
x32: Don't lose high bits of %rbp in setjmp/longjmp mangling/demangling.
2012-05-21 13:04:11 -07:00
Andreas Jaeger
07c58f8f35
Fix sunrpc static library
...
* include/shlib-compat.h (libc_sunrpc_symbol): New macro.
* sunrpc/svc_simple.c: Use it for registerrpc.
* sunrpc/xcrypt.c: Use it for passwd2des.
2012-05-21 21:34:54 +02:00
Andreas Jaeger
662742187c
Fix last change
...
Include shlib-compat.h for SHLIB_COMPAT.
2012-05-21 21:02:33 +02:00
H.J. Lu
61f65140eb
Define __SYSCALL_WORDSIZE for x86-64
2012-05-21 11:45:16 -07:00
Andreas Jaeger
5fefb43629
[BZ #13691 ], Revert breakage of iconv() converter for TCVN-5712.
...
* iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
inptr and inend for must_buffer_ch.
* wcsmbs/tst-mbsnrtowcs.c: Remove file.
* wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
* stdio-common/Makefile (tests): Remove bug15.
(bug15-ENV): Remove macro.
* stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
anymore.
localedata:
* SUPPORTED: Remove vi_VN.TCVN/TCVN5712-1.
* tst-strptime.c: Remove, we do not support vi_VN.TCVN5712-1
anymore.
* Makefile (LOCALES): Remove vi_VN.TCVN5712-1 from list.
(tests): Remove tst-strptime.
2012-05-21 20:41:36 +02:00
Andreas Jaeger
d8e272abb3
Rewrite manual/contrib.texi
...
* manual/contrib.texi: Completely rewritten. It contains now an
alphabetical list of contributors and their contributions.
2012-05-21 20:33:57 +02:00
H.J. Lu
d024d23cbe
Add x32 syscalls.list
2012-05-21 11:32:25 -07:00
Richard Henderson
4a56a16205
* misc/getauxval.c (__getauxval): Use unsigned long int.
...
* misc/sys/auxv.h: Include <sys/cdefs.h>.
(getauxval): Use unsigned long int.
2012-05-21 11:27:04 -07:00
Roland McGrath
cbc00a0398
Set MALLOC_ALIGNMENT to at least __alignof__ (long double) for new ABIs.
2012-05-21 11:13:10 -07:00
Adhemerval Zanella
478143fa17
PowerPC: ULPs update
...
Adjustments for libm ulps added with commit d8b82cad1b
,
495fd99f3a
, and 5ba3cc691c
.
I also adjusted some exp10 ulps definition that was higher than needed.
2012-05-21 14:28:51 -03:00
Richard Henderson
c7683a6d02
Add <sys/auxv.h> and getauxval.
2012-05-20 10:40:35 -07:00
Adhemerval Zanella
a6f1845d45
Update powerpc ULPs for ccos, csin, ccosh, csinh tests.
2012-05-19 15:46:20 +00:00
David S. Miller
cbcbe830f9
Update sparc ULPs for ccos, csin, ccosh, csinh tests.
2012-05-19 15:36:55 +00:00
Joseph Myers
e0b16cc25c
Fix ccos, csin, ccosh, csinh overflows (bug 14123).
2012-05-19 15:35:29 +00:00
H.J. Lu
f66f0ce833
Add 64-bit preadv.c and pwritev.c
2012-05-19 06:51:12 -07:00
H.J. Lu
6ad13e088d
Add a comment to sysdeps/x86_64/x32/_itoa.h
2012-05-19 06:46:29 -07:00
H.J. Lu
bb07f69f3b
Use __syscall_slong_t in bits/timex.h
2012-05-19 06:45:33 -07:00
Joseph Myers
b1d072a75e
Remove sysdeps/powerpc/soft-fp.
2012-05-19 10:03:24 +00:00
Andreas Jaeger
9eae47cb5b
Delete unused csu/.gitignore
2012-05-19 11:35:20 +02:00
Andreas Jaeger
e6bdb741d1
Fix INSTALL description for modified files in source dir
2012-05-18 20:30:51 +02:00
H.J. Lu
1b74487e90
Use RAX_LP and "or" to operate on return value
2012-05-18 11:05:56 -07:00
Tulio Magno Quites Machado Filho
a88b64b9bb
[PowerPC] Remove -ftree-loop-linear from Makefiles
...
In the past the "-ftree-loop-linear" switch provided a measurable
improvement in performance for certain functions. At some point it
was assigned as the responsibility of Graphite in GCC. It has been
found that even with Graphite enabled these flags no longer perform
any appreciable improvement over the baseline.
Graphite now has some open bugs which need to be fixed in order for it
to provide measurable performance improvements but it lacks active
development. As a result some compiler distributors may disable
Graphite. If Graphite is disabled then building GLIBC will fail if
the "-ftree-loop-linear" switch is used.
This patch removes the use of "-ftree-loop-linear" as unnecessary.
2012-05-18 10:15:30 -05:00
H.J. Lu
610b86225e
Add sysdeps/x86_64/x32/_itoa.h
2012-05-18 07:37:55 -07:00
H.J. Lu
7cd195df62
Check d_ino/d_off before using getdents syscall
2012-05-18 07:12:47 -07:00
H.J. Lu
94b07d20dd
Check _ITOA_NEEDED and use _ITOA_WORD_TYPE
2012-05-18 06:03:04 -07:00
H.J. Lu
18298070c0
Fold copyright years
2012-05-18 04:16:55 -07:00
H.J. Lu
553c7ea4fa
Add x32 support to x86_64/bits/sigcontext.h
2012-05-18 04:10:55 -07:00
H.J. Lu
3707636e48
Use anonymous union in x86_64/sys/user.h
2012-05-18 04:07:51 -07:00
Andreas Schwab
37fb1dc057
Avoid runtime GOT relocations in ld.so on powerpc
2012-05-18 12:00:22 +02:00
Andreas Schwab
b53ef01aa2
Fix undefined reference to _dl_prof_resolve in profiled libc
2012-05-18 11:59:44 +02:00
Andreas Jaeger
7a185db2b7
Do not provide inlines for GCC build-in functions
2012-05-18 09:08:14 +02:00
H.J. Lu
428bd7074c
Use __syscall_ulong_t in pselect.c
2012-05-17 17:27:13 -07:00
H.J. Lu
3e5aef87d7
Add __fsword_t and use it in bits/statfs.h
2012-05-17 17:20:52 -07:00
David S. Miller
1ba7c3dca1
Bump sha512c-test.c timeout for the sake of 32-bit sparc.
...
* crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2012-05-17 13:33:50 -07:00
Andreas Jaeger
59910343fc
Fix warning
...
Fixes:
tst-relsort1.c:6:1: warning: function declaration isn’t a prototype
[-Wstrict-prototypes]
2012-05-17 22:00:57 +02:00
H.J. Lu
2e4c1e9edb
Cast to unsigned long
2012-05-17 12:44:52 -07:00
Andreas Jaeger
de7f5ce7c5
Fix warnings on Linux/i686
...
Fixes:
../sysdeps/i386/dl-machine.h:336:30: warning: unused variable ‘refsym’ [-Wunused-variable]
rtld.c:1435:3: warning: implicit declaration of function ‘_dl_discover_osversion’ [-Wimplicit-function-declaration]
2012-05-17 20:17:53 +02:00
Chris Metcalf
286abc3dea
Bump up stdio bug22 timeout from 30 seconds to 60 seconds
...
The older Tilera platform (tilepro) needs just a hair over 30 seconds
to run this on one core.
2012-05-17 12:59:08 -04:00