David S. Miller
d510c12326
Use PI_STATIC_AND_HIDDEN on sparc if we universally use GOTDATA relocs.
...
* sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
both binutils and gcc support GOTDATA.
2012-02-20 17:52:07 -08:00
David S. Miller
0722d7c2ac
Explain why we don't make use of RDPC in the sparc PIC register setup.
...
* sysdeps/unix/sparc/sysdep.h: Document why we don't use
"rd %pc" in the PIC register setup sequences.
2012-02-20 17:52:01 -08:00
David S. Miller
3d2b3019e0
Use sparc GOTDATA relocations whenever possible.
...
* sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
* sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
* sysdeps/sparc/sparc32/elf/start.S: Likewise.
* sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
* sysdeps/sparc/sparc64/elf/start.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
(SYSCALL_ERROR_HANDLER): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
(SYSCALL_ERROR_HANDLER): Likewise.
2012-02-20 17:51:53 -08:00
David S. Miller
c80098a9a0
Add sparc configure checks for GOTDATA support.
...
* config.h.in (HAVE_BINUTILS_GOTDATA): New.
(HAVE_GCC_GOTDATA): New.
* sysdeps/sparc/elf/configure.in: Test for GOTDATA
relocation support in both binutils and gcc.
* sysdeps/sparc/elf/configure: Regenerate.
2012-02-20 17:51:48 -08:00
David S. Miller
3a2545a0f3
Consolidate Sparc ELF configure fragments to one spot.
...
* sysdeps/sparc/sparc32/elf/configure.in: Delete.
* sysdeps/sparc/sparc32/elf/configure: Delete.
* sysdeps/sparc/sparc64/elf/configure.in: Delete.
* sysdeps/sparc/sparc64/elf/configure: Delete.
* sysdeps/sparc/elf/configure.in: New file.
* sysdeps/sparc/elf/configure: Generate.
2012-02-20 17:51:40 -08:00
David S. Miller
7a8b71c37c
Remove sparc WDISP22 configure checks, no longer used.
...
* sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
* sysdeps/sparc/sparc32/elf/configure: Regenerate.
* sysdeps/sparc/sparc64/elf/configure.in: Likewise.
* sysdeps/sparc/sparc64/elf/configure: Regenerate.
* config.h.in (BROKEN_SPARC_WDISP22): Remove.
2012-02-20 17:51:21 -08:00
Joseph Myers
f1e86fca4a
Update or avoid glibc version numbers in manual.
2012-02-21 01:01:28 +00:00
Joseph Myers
05afe84f6d
Add 13695 to list of bugs fixed in NEWS.
2012-02-21 00:50:03 +00:00
Joseph Myers
0e7dfaef51
Remove old initfini mechanism.
2012-02-21 00:46:01 +00:00
Joseph Myers
599af3ca61
Split architecture-specific parts of sys/epoll.h into bits/epoll.h.
2012-02-21 00:32:30 +00:00
Joseph Myers
0e4997508d
Split architecture-specific parts of sys/timerfd.h into bits/timerfd.h.
2012-02-21 00:29:13 +00:00
Joseph Myers
5ad91f6e6f
Resort ULPs files with gen-libm-test.pl -n in C locale.
2012-02-20 18:06:05 +00:00
Aurelien Jarno
06b99b0263
Adjust SPARC ULPs to take into account the new jn tests.
2012-02-20 07:37:30 +01:00
Andreas Schwab
7638c0fda5
Add support for Linux error EHWPOISON
2012-02-19 18:27:02 +01:00
Aurelien Jarno
92221550d7
Use non-signaling floating-point comparisons in math functions.
2012-02-19 11:20:18 +01:00
Joseph Myers
ebaf36ebd8
Fix parameter name in strnlen documentation.
2012-02-19 02:02:10 +00:00
Joseph Myers
71c254a6e6
Make seteuid argument name consistent in manual.
2012-02-19 01:54:33 +00:00
Joseph Myers
16d2c63103
Correct list of services in example NSS configuration file.
2012-02-19 01:46:08 +00:00
Nick Bowler
cd837b09b5
Remove erroneous statements about negative zero.
2012-02-19 01:38:37 +00:00
Joseph Myers
02c4bbad9c
Remove documentation of upgrading from libc5.
2012-02-18 18:32:39 +00:00
Joseph Myers
366842e73e
Do not claim that GCC predefines __POSIX__.
2012-02-18 18:21:52 +00:00
David S. Miller
dd54084dd9
Rework sparc PIC macros so crt{i,n}.S can use them too.
...
* sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
(SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
%o7 across the call.
(SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
instead.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
SETUP_PIC_REG_LEAF.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
* sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
* sysdeps/sparc/crtn.S: Likewise.
2012-02-18 22:31:42 -08:00
Ulrich Drepper
2bcc53a337
Remove remnants of aout builds
2012-02-17 21:27:44 -05:00
Rafe Kettler
09c093b500
Make declarations of "main" in examples consistent.
2012-02-18 00:12:10 +00:00
Joseph Myers
2ee633a243
Correct documentation of FLT_EPSILON.
2012-02-17 23:46:51 +00:00
Fabrice Bauzac
0520adde6b
Change recommendation of strchrnul in strchr documentation.
2012-02-17 23:34:01 +00:00
Dwayne Grant McConnell
3f4081cd59
Document LOCPATH.
2012-02-17 22:19:38 +00:00
Joseph Myers
d1b10e78e4
Fix documented parameters to execle.
2012-02-17 22:06:09 +00:00
Joseph Myers
1d5f032e1b
Fix ordering of bug numbers in NEWS.
2012-02-17 17:57:29 +00:00
Paul Bolle
79c6869c83
Fix typo (LC_TYPE -> LC_CTYPE).
2012-02-17 17:54:10 +00:00
Nicolas Boulenguez
cc6e48bc7c
Fix various problems with @deftypefun lines.
2012-02-17 17:44:38 +00:00
Joseph Myers
6dd8f3dca0
Add more bug numbers.
2012-02-17 17:02:52 +00:00
Joseph Myers
5b23062f1f
Fix typos in documentation of fopen ",ccs=STRING".
2012-02-17 17:00:01 +00:00
Aurelien Jarno
8dee4833c5
Include <time.h> in clock_settime.c.
2012-02-17 17:46:56 +01:00
Thomas Schwinge
9078ce930a
Hurd: #define away madvise for malloc code, fix previous commit.
2012-02-17 08:46:28 +01:00
Joseph Myers
3835c55fe5
Fix typo in manual (bug 9902).
2012-02-17 01:23:04 +00:00
Joseph Myers
35c47e37b9
Include <stdlib.h> in argp examples.
2012-02-17 01:13:15 +00:00
Joseph Myers
0a0a5bd4f1
List bugs 4822 and 11494 as fixed in NEWS.
2012-02-17 00:30:51 +00:00
Richard Henderson
e3b69ca7d1
s390: Convert to crt[in].S.
2012-02-16 09:24:19 -08:00
David S. Miller
fb59b3a4f5
Add O_FSYNC define to sparc just like other platforms.
2012-02-16 14:56:54 -08:00
Kaz Kojima
af1dd5d680
Merge branch 'master' of git://sources.redhat.com/git/glibc
2012-02-16 07:21:37 +09:00
Kaz Kojima
df83af673b
Add SH target specific crti.S and crtn.S and remove initfini files.
...
Add sysdeps/sh/crti.S, sysdeps/sh/crtn.S and remove sysdeps/sh/elf/initfini.c
and nptl/sysdeps/unix/sysv/linux/sh/pt-initfini.c.
2012-02-16 07:17:24 +09:00
David S. Miller
f63f338062
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
2012-02-16 12:54:05 -08:00
Roland McGrath
d2c736f809
Hurd: #define away madvise for malloc code.
2012-02-15 14:15:27 -08:00
Mike Frysinger
df6a4a4aec
Include sys/param.h in getcwd.c.
2012-02-15 20:39:49 +00:00
Roland McGrath
1cac72362a
Remove macros wrongly left for pre-libio case that no longer exists.
2012-02-15 12:23:13 -08:00
Joseph Myers
8e475601f6
Split architecture-specific parts of sys/signalfd.h into bits/signalfd.h.
2012-02-15 20:11:20 +00:00
Marek Polacek
d463ab10dd
Remove unused Makefile.
2012-02-15 21:07:06 +01:00
Marek Polacek
ed656b4065
Provide crt[in].S for x86-64.
2012-02-14 13:50:44 +01:00
Joseph Myers
2a979d3a14
Split architecture-specific parts of sys/inotify.h into bits/inotify.h.
2012-02-14 00:13:47 +00:00