H.J. Lu
4822a2a520
Add x32 support to TLS_LE/TLS_IE/TLS_GD
2012-05-11 14:35:56 -07:00
David S. Miller
842b81d611
Mark sparc %fsr load and store inline asms as volatile.
...
* sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
* sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
(_FPU_SETCW): Likewise.
2012-05-11 13:58:41 -07:00
H.J. Lu
1cf463cd4e
Check if RTLD_SAVESPACE_SSE is aligned to 32 bytes
2012-05-11 11:50:11 -07:00
Andreas Schwab
60cc4a18e6
Complete GB18030 charmap
2012-05-11 19:24:00 +02:00
Thomas Schwinge
febb44a4cb
[BZ #13673 ] Replace FSF snail mail address with URL.
2012-05-11 17:39:57 +08:00
H.J. Lu
0a10fb9eec
Don't handle R_X86_64_RELATIVE64 in ld.so
2012-05-10 19:24:54 -07:00
H.J. Lu
df8a552f6f
Handle R_X86_64_RELATIVE64 and R_X86_64_64 for x32
2012-05-10 17:05:06 -07:00
Samuel Thibault
f42d41d107
Hurd: Define some posix types
2012-05-10 15:57:29 -07:00
Samuel Thibault
3c3571fc10
Hurd: Fix paths in paths.h
2012-05-10 15:57:29 -07:00
Samuel Thibault
61f06bd3ba
Hurd: fix mode type for openat
2012-05-10 15:57:29 -07:00
Samuel Thibault
918d4d7163
Hurd: Fix port deallocation on mknod error.
2012-05-10 15:57:28 -07:00
Samuel Thibault
f34d6f840e
Hurd: Fix __dup3 _hurd_dtable_lock usage.
2012-05-10 15:57:28 -07:00
Thomas Schwinge
674cdbc7a3
Hurd: Support --prefix=/usr special-casing for all GNU systems.
2012-05-10 15:57:28 -07:00
Thomas Schwinge
8e41b99fe1
Hurd: struct timespec members in struct stat
2012-05-10 15:57:28 -07:00
Thomas Schwinge
10589b4adb
Hurd: avoid PLT call to strtoul
2012-05-10 15:57:28 -07:00
Pino Toscano
63643c85d4
Hurd: hurdsock: reject negative domains
2012-05-10 15:57:28 -07:00
Samuel Thibault
3faebe6abc
Hurd: Fix setres[ug]id handling of -1
2012-05-10 15:57:27 -07:00
Pino Toscano
c6474b07e7
Hurd: _hurd_select: check for invalid parameter values
2012-05-10 15:57:27 -07:00
Samuel Thibault
1043890b10
Hurd: Fix sbrk beyond 128MB
2012-05-10 15:57:27 -07:00
Pino Toscano
37ed8b9bdc
Hurd: recvfrom(): take into account null address ports
2012-05-10 15:57:27 -07:00
Samuel Thibault
b29d4053f0
Hurd: readlinkat
2012-05-10 15:57:27 -07:00
Samuel Thibault
db65366043
Hurd: Update posix_opt.h
2012-05-10 15:57:27 -07:00
Samuel Thibault
ee16e894aa
Hurd: Fix POSIX 2008 visibility
2012-05-10 15:57:26 -07:00
Thomas Schwinge
6103ae3b0e
Hurd: Build pldd also if use-ldconfig != yes || build-shared != yes
2012-05-10 15:57:26 -07:00
Thomas Schwinge
80b4e5f3ef
Hurd: opendirat
2012-05-10 15:57:26 -07:00
Samuel Thibault
edadcbd624
Hurd: empty file names fail with ENOENT
2012-05-10 15:57:26 -07:00
Thomas Schwinge
1792c087e5
Hurd: hidden_nolink macro for NO_HIDDEN case.
2012-05-10 15:57:26 -07:00
Thomas Schwinge
8069478040
Hurd: mmap deficiencies
2012-05-10 15:57:26 -07:00
Samuel Thibault
66cbbebcc6
Hurd: Fix mlock in all cases except non-readable pages.
2012-05-10 15:57:25 -07:00
Samuel Thibault
6b645f0d70
Hurd: Fix mkdir / error value
2012-05-10 15:57:25 -07:00
Thomas Schwinge
e468f8a3a7
Hurd: Add missing includes
2012-05-10 15:57:25 -07:00
Pino Toscano
a4186cffbf
Hurd: mach: compliance fixes for nanosleep
2012-05-10 15:57:25 -07:00
Thomas Schwinge
510bbf14b4
Hurd: Include RPC user stubs in linkobj/libc.so
2012-05-10 15:57:25 -07:00
Samuel Thibault
5d5722e8ac
Hurd: Fix value of __libc_stack_end
2012-05-10 15:57:24 -07:00
Thomas Schwinge
be971a2b1c
Hurd: libc_once_get
2012-05-10 15:57:24 -07:00
Thomas Schwinge
37233df9d1
Hurd: #include <kernel-features.h>
2012-05-10 15:57:24 -07:00
Roland McGrath
38de94a5ef
Add a missing #include.
2012-05-10 15:57:24 -07:00
Samuel Thibault
bbc49098ff
Hurd: setitimer.c: Fix unlock in error patch
2012-05-10 15:57:24 -07:00
Samuel Thibault
6753048948
Hurd: ioctl() incorrectly decodes argument
2012-05-10 15:57:23 -07:00
Thomas Schwinge
18bad2ae1b
Hurd: Avoid init-first.c miscompilation.
2012-05-10 15:57:23 -07:00
Thomas Schwinge
5aa3a74a59
Hurd: dup3
2012-05-10 15:57:23 -07:00
Samuel Thibault
cd9fa98583
Hurd: Hurd: dl-sysdep.c: Include code only #ifdef SHARED.
2012-05-10 15:57:23 -07:00
Samuel Thibault
802ca5a5ef
Hurd: Missing critical region locks.
2012-05-10 15:57:23 -07:00
Samuel Thibault
ecd0de9a95
Hurd: Fix signal-catching functions.
2012-05-10 15:57:23 -07:00
Thomas Schwinge
6960eb420d
Hurd: bits/socket.h
2012-05-10 15:57:22 -07:00
Thomas Schwinge
eb43375f0f
Hurd: accept4
2012-05-10 15:57:22 -07:00
Thomas Schwinge
bcf5524012
Hurd: ____longjmp_chk
2012-05-10 15:57:22 -07:00
Samuel Thibault
6178c55bdb
Hurd: Add SOL_IP, SOL_IPV6, SOL_ICMPV6
2012-05-10 15:57:22 -07:00
Thomas Schwinge
6f080c2fcf
Hurd: O_CLOEXEC in rtld
2012-05-10 15:57:22 -07:00
Samuel Thibault
bcfe3a546e
Hurd: Add more ipv6 macros.
2012-05-10 15:57:22 -07:00
Adhemerval Zanella
89c9aa491a
Fix for logb/logbf/logbl (bugs 13954/13955/13956)
...
POSIX 2008 states that if the input for 'logb[f|l]' is a subnormal number
it should be treated as if it were normalized. This means the
implementation should calculate the log2 of the mantissa and add it to the
subnormal exponent (-126 for float and -1022 for double and IBM long
double). This patch takes care of that.
2012-05-10 15:11:55 -05:00
Andreas Jaeger
021db4be6f
Make sunrpc code usable again
...
New configure option --enable-obsolete-rpc makes the deprecated RPC
headers and functions available at compile time as they were before
version 2.14. This option will be removed at some time in the future
after the TI-RPC library becomes fully sufficient for the needs of
existing applications.
2012-05-10 20:19:53 +02:00
Roland McGrath
b5c086a281
Typo fix in x86_64/dl-machine.h
2012-05-10 10:20:51 -07:00
Joseph Myers
6d74dd09d2
Define __STDC_NO_THREADS__.
2012-05-10 17:11:08 +00:00
Maxim Kuvyrkov
28e7250162
Build rpcgen-generated files when cross compiling.
2012-05-10 17:08:40 +00:00
H.J. Lu
c8c59454ea
Sign extend R_X86_64_DTPOFF64/R_X86_64_TPOFF64
2012-05-10 10:05:40 -07:00
Joseph Myers
6f27cd1659
Move remaining syscalls from sysdeps/unix/sysv/syscalls.list to sysdeps/unix/sysv/linux/syscalls.list.
2012-05-10 14:51:08 +00:00
Paul Eggert
02467e1ca1
[PATCH] [BZ #3440 ] Make LC_ALL etc. useful in #if expressions.
2012-05-10 12:38:09 +00:00
Andreas Schwab
da392631c9
Add dependency tracking for rpc-compat-routines
2012-05-10 10:51:25 +02:00
H.J. Lu
8115f29bad
Update stdlib/longlong.h from GCC
2012-05-09 15:36:41 -07:00
Andreas Jaeger
edfe0dbebd
Cleanup nscd.c
...
2012-05-09 Andreas Jaeger <aj@suse.de>
* nscd/nscd.c (run_modes): Make named enum, reorder so that
default is first entry.
(run_mode): Set type.
(main): Remove informal message about syslog.
(options): Fix typo.
2012-05-09 21:34:47 +02:00
Andreas Jaeger
bdd74070cc
Add volatiles for x86-64 bits/mathinline.h
...
[BZ #14053 ]
GCC 4.7 might remove consecutive calls to e.g. lrintf since
the assembler instructions are the same and GCC does not know
that the result is different depending on the rounding mode. For
SSE instructions, the control register is not available so there
is no way to inform GCC about this. Therefore the asms are marked
as volatile.
2012-05-09 20:17:21 +02:00
Andreas Jaeger
91d8d69ec6
Cleanup last patch for nscd/nscd.c
...
* nscd/nscd.c (run_mode): Use enum.
(main): Cleanup coding style issue.
2012-05-09 17:42:15 +02:00
Andreas Jaeger
bb90b80baa
Add --foreground option for nscd
...
For a better integration of nscd with systemd, we should run nscd not as
daemon but in the foreground. A new --foreground option should be added.
2012-05-09 Alexandre Oliva <aoliva@redhat.com>
Andreas Jaeger <aj@suse.de>
* nscd/nscd.c (go_background): Replaced with...
(run_mode): ... this.
(RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
(options): Add -F --foreground.
(main): Implement it.
(parse_opt): Parse it.
2012-05-09 16:54:38 +02:00
Andreas Jaeger
1a4b75a190
Fix strspn warning with -Wconversion
...
[BZ #14083 ]
Fix warning when using strspn with -Wconversion:
$ gcc -Wconversion -O t.c
t.c: In function ‘main’:
t.c:8:7: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2012-05-09 16:47:57 +02:00
Joseph Myers
b1cc2472d2
conformtest: Update expectations for more ISO C headers.
2012-05-09 10:05:14 +00:00
Ian Wienand
b9f1922d7e
Fix daylight time change for the US
...
[BZ #14080 ]
* time/tzset.c (__tzset_parse_tz): Update default rules for
daylight time changes in the Energy Policy Act of 2005.
2012-05-09 06:15:56 +02:00
Andreas Jaeger
1db86e8845
Make ldconfig message clearer
...
[BZ #13983 ]
Let not confuse the user and think there's an error instead of
a warning.
2012-05-09 06:08:28 +02:00
David S. Miller
ee0db19075
Minor optimization to sparc VIS3 floor() implementation.
...
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
movxtod instead of popping the value on the stack.
2012-05-08 11:17:07 -07:00
David S. Miller
dee4a4e3d0
With -frounding-math, some sparc ULPs need to be adjusted.
...
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-05-08 10:58:01 -07:00
Carlos O'Donell
6a43ec980c
ARM: Define HAVE_ARM_PCS_VFP in config.h.
...
If the compiler and flags would select the hard-float ABI
then the ARM configure fragment will set HAVE_ARM_PCS_VFP.
This is later used by the ARM shlib-versions to select
the appropriately named dynamic linker.
2012-05-08 13:49:20 -04:00
Roland Mc Grath
05c2c9618f
Warn if user requests __FORTIFY_SOURCE but it is disabled
...
[BZ #13979 ]
* include/features.h: Warn if user requests __FORTIFY_SOURCE
checking but the checks are disabled for any reason.
2012-05-08 19:44:57 +02:00
H.J. Lu
4b30f61a1e
Replace Elf64_XXX/ELF64_R_TYPE with ElfW(XXX)/ELFW(R_TYPE)
2012-05-08 09:39:58 -07:00
Joseph Myers
7ea5391a02
Remove more overridden entries from sysdeps/unix/sysv/syscalls.list.
2012-05-08 13:34:45 +00:00
Joseph Myers
eee2bc67a0
Remove entries from sysdeps/unix/sysv/syscalls.list duplicating ones in sysdeps/unix/.
2012-05-08 11:18:02 +00:00
Andreas Jaeger
29ba805c7b
Revert "Revert "Build glibc with -frounding-math""
...
This reverts commit 20f244a03f
.
2012-05-08 09:00:44 +02:00
Mike Frysinger
abb66a672f
tftp.h: rework layout to work with fortification
...
The current tftp structure does not work when fortification is enabled.
Starting with gcc-4.5, more size checking was added to trigger these.
Older versions just didn't have enough information, so they returned -1
as the sizes.
First, the tu_stuff field is declared as 1 byte (when it's really an
arbitrary length C string), so attempting to strcpy() with it results
in crashes. This fails with _FORTIFY_SOURCE=1.
Second, even if we change that to [0] (since gcc does not allow flexible
array members in an union), gcc is not smart enough to see that they are
two overlapping flexible arrays (tu_stuff and tu_data), so it will still
trigger an abort with _FORTIFY_SOURCE=2. This is because it thinks that
tu_stuff is 0 bytes and tu_data comes after it.
Talking to upstream gcc, they don't seem terribly inclined to fix the
2nd issue, but even if they did, we still have plenty of 4.5 and 4.6
installs that would hit problems.
So, let's re-order with a few more anonymous structs & unions so that
the fields are laid out with a zero-length array always as the last
field. This seems to fix things with gcc-4.6, and the tftp-hpa pkg
continues to build & work.
URL: https://bugs.launchpad.net/ubuntu/+source/tftp-hpa/+bug/691345
URL: https://bugs.archlinux.org/task/28103
URL: https://bugs.gentoo.org/357083
URL: http://gcc.gnu.org/PR52944
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-08 01:51:22 -04:00
David S. Miller
05760585e0
Update sparc ULPs for recently added exp tests.
...
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-05-07 19:29:24 -07:00
David S. Miller
7f18b530e9
Fix sparc libm when all of glibc is built with -frounding-math.
...
[BZ #14074 ]
* sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
(SETUP_PIC_REG): Use it.
(SETUP_PIC_REG_LEAF): Use it.
2012-05-07 16:54:11 -07:00
Andreas Jaeger
20f244a03f
Revert "Build glibc with -frounding-math"
...
This reverts commit bd7b0e561f
.
Conflicts:
ChangeLog
2012-05-07 21:50:25 +02:00
Joseph Myers
495fd99f3a
Fix x86/x86_64 expm1l inaccuracy and exceptions (bugs 13885, 13923).
2012-05-07 19:13:08 +00:00
David S. Miller
6693d69429
Adjust sparc localplt entries.
...
* scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers
to quad soft-float symbols whose references are compiler
generated.
* scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2012-05-06 20:15:50 -07:00
Joseph Myers
d8b82cad1b
Fix exp10 inaccuracy and exceptions (bugs 13884, 13914).
2012-05-06 18:23:44 +00:00
Joseph Myers
6c23e11c4d
Fix libm-test.inc ulps calculation for subnormals (bug 14064).
2012-05-06 18:20:21 +00:00
Andreas Jaeger
62881be42d
Patch 31dc8730af
fixes BZ#13563
...
Update NEWS and ChangeLog with BZ #13563
2012-05-06 19:51:46 +02:00
Andreas Jaeger
d7cf87a64e
Update x86-64 libm-test-ulps
2012-05-06 09:32:12 +02:00
Andreas Jaeger
ff8faaf0a7
Fix date
2012-05-06 09:16:12 +02:00
Andreas Jaeger
bd7b0e561f
Build glibc with -frounding-math
...
* Makeconfig (+math-flags): New, set to -frounding-math.
(+cflags): Add +math-flags so that all of glibc gets compiled with
it.
2012-05-06 09:14:15 +02:00
Joseph Myers
5779f134a0
Disable one hypot test for inline double testing.
2012-05-05 19:38:31 +00:00
Joseph Myers
41498f4db1
Fix missing exceptions from exp (bugs 13787, 13922, 14036).
2012-05-05 19:37:39 +00:00
Joseph Myers
6698b8bf43
Use .S sources for x86/x86_64 expl.
2012-05-05 19:34:31 +00:00
Joseph Myers
7b17aeda0c
Remove overridden entries from sysdeps/unix/sysv/syscalls.list.
2012-05-05 10:28:28 +00:00
Joseph Myers
f7c85819fd
Merge sysdeps/unix/common into sysdeps/unix.
2012-05-04 23:15:56 +00:00
H.J. Lu
336270d0f1
Move x86-64 abilist files to 64/nptl
2012-05-04 16:13:07 -07:00
Joseph Myers
fa8ee51614
Remove unused sysdeps/unix/common/bits/ headers.
2012-05-04 22:37:11 +00:00
Joseph Myers
d128e45089
Remove unused sysdeps/unix/bsd/ files.
2012-05-04 22:36:16 +00:00
Roland McGrath
2b942cb718
ChangeLog leading tabification.
2012-05-04 12:53:01 -07:00
Roland McGrath
461b8e5ac8
ChangeLog formatting nit.
2012-05-04 12:52:25 -07:00
Andreas Jaeger
110c96ff29
Revert "Do not build manual in the source directory"
...
This reverts commit e3945c47bd
.
reverting since it breaks building.
2012-05-04 17:09:56 +02:00
Andreas Jaeger
1261f5d10c
Revert "Update install.texi for building manual in build dir"
...
This reverts commit 0d80ac6813
.
Reverting since e3945c47bd
gets reverted
as well.
2012-05-04 17:09:22 +02:00