H.J. Lu [Tue, 22 May 2012 20:46:29 +0000 (13:46 -0700)]
Add sysctl.mk and bits/sysctl.h
Andreas Jaeger [Tue, 22 May 2012 20:35:04 +0000 (22:35 +0200)]
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.
Paul Pluzhnikov [Tue, 22 May 2012 20:14:44 +0000 (13:14 -0700)]
Mention 14122 in NEWS.
Paul Pluzhnikov [Tue, 22 May 2012 20:09:27 +0000 (13:09 -0700)]
For [BZ#14122], plug memory leaks in nsswitch.c.
H.J. Lu [Tue, 22 May 2012 19:43:46 +0000 (12:43 -0700)]
Add x32 arch_prctl
H.J. Lu [Tue, 22 May 2012 19:42:36 +0000 (12:42 -0700)]
Add INTERNAL_SYSCALL_TYPES
Adhemerval Zanella [Tue, 22 May 2012 18:34:02 +0000 (15:34 -0300)]
PowerPC: libm ABI update
Update for libm abilist for POWER6 and POWER7.
Chandan Kumar [Tue, 22 May 2012 16:52:55 +0000 (18:52 +0200)]
Add new locale mag_IN.
[BZ#13968]
* locales/mag_IN: New file.
* SUPPORTED (SUPPORTED-LOCALES): Add appropriate entry.
H.J. Lu [Tue, 22 May 2012 16:25:29 +0000 (09:25 -0700)]
Add x32 support to x86_64/bits/fcntl.h
H.J. Lu [Tue, 22 May 2012 16:24:24 +0000 (09:24 -0700)]
Use "neg %eax" in i386 SYSCALL_ERROR_HANDLER
H.J. Lu [Tue, 22 May 2012 13:31:00 +0000 (06:31 -0700)]
Update copyright years for time/mktime.c
Paul Eggert [Tue, 22 May 2012 13:14:01 +0000 (06:14 -0700)]
mktime: merge comment-quoting-style change from gnulib
Paul Eggert [Tue, 22 May 2012 13:13:01 +0000 (06:13 -0700)]
time/mktime.c (compile-command): Add "-I."
Paul Eggert [Tue, 22 May 2012 13:11:29 +0000 (06:11 -0700)]
mktime: merge mktime-internal.h change from gnulib
Paul Eggert [Tue, 22 May 2012 13:10:34 +0000 (06:10 -0700)]
mktime: merge time_r change from gnulib
Paul Eggert [Tue, 22 May 2012 13:09:01 +0000 (06:09 -0700)]
mktime: merge DEBUG change from gnulib
Paul Eggert [Tue, 22 May 2012 13:07:58 +0000 (06:07 -0700)]
mktime: merge <sys/types.h> change from gnulib
Paul Eggert [Tue, 22 May 2012 13:05:37 +0000 (06:05 -0700)]
mktime: merge HAVE_CONFIG_H change from gnulib
H.J. Lu [Tue, 22 May 2012 12:34:36 +0000 (05:34 -0700)]
Use "neg %eax" in x86_64 SYSCALL_SET_ERRNO
H.J. Lu [Tue, 22 May 2012 12:32:34 +0000 (05:32 -0700)]
Pad each field to __syscall_slong_t in struct rusage
David S. Miller [Tue, 22 May 2012 04:59:29 +0000 (21:59 -0700)]
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.
Joseph Myers [Mon, 21 May 2012 23:26:27 +0000 (23:26 +0000)]
Filter out unknown symbols in stack-protector test.
H.J. Lu [Mon, 21 May 2012 22:41:37 +0000 (15:41 -0700)]
Rename x32 llseek.S to lseek.S and add dummy llseek.S
H.J. Lu [Mon, 21 May 2012 21:50:21 +0000 (14:50 -0700)]
Add x32 llseek.S
H.J. Lu [Mon, 21 May 2012 20:39:55 +0000 (13:39 -0700)]
Rename __WORDSIZE_COMPAT32 to __WORDSIZE_TIME64_COMPAT32
Andreas Jaeger [Mon, 21 May 2012 20:27:11 +0000 (22:27 +0200)]
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]
Roland McGrath [Fri, 18 May 2012 22:32:08 +0000 (15:32 -0700)]
x32: Don't lose high bits of %rbp in setjmp/longjmp mangling/demangling.
Andreas Jaeger [Mon, 21 May 2012 19:34:05 +0000 (21:34 +0200)]
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.
Andreas Jaeger [Mon, 21 May 2012 19:02:33 +0000 (21:02 +0200)]
Fix last change
Include shlib-compat.h for SHLIB_COMPAT.
H.J. Lu [Mon, 21 May 2012 18:45:16 +0000 (11:45 -0700)]
Define __SYSCALL_WORDSIZE for x86-64
Andreas Jaeger [Mon, 21 May 2012 18:41:36 +0000 (20:41 +0200)]
[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.
Andreas Jaeger [Mon, 21 May 2012 18:30:49 +0000 (20:30 +0200)]
Rewrite manual/contrib.texi
* manual/contrib.texi: Completely rewritten. It contains now an
alphabetical list of contributors and their contributions.
H.J. Lu [Mon, 21 May 2012 18:31:06 +0000 (11:31 -0700)]
Add x32 syscalls.list
Richard Henderson [Mon, 21 May 2012 18:26:24 +0000 (11:26 -0700)]
* misc/getauxval.c (__getauxval): Use unsigned long int.
* misc/sys/auxv.h: Include <sys/cdefs.h>.
(getauxval): Use unsigned long int.
Roland McGrath [Mon, 21 May 2012 18:13:10 +0000 (11:13 -0700)]
Set MALLOC_ALIGNMENT to at least __alignof__ (long double) for new ABIs.
Adhemerval Zanella [Mon, 21 May 2012 17:24:12 +0000 (14:24 -0300)]
PowerPC: ULPs update
Adjustments for libm ulps added with commit
d8b82cad1b525bdcbfff88d218c7c45032e4a3af,
495fd99f3a119e5c0c542ccc6cf9c93b1fb9e892, and
5ba3cc691c856e5c67a7d4cd4713f20a79f7ba81.
I also adjusted some exp10 ulps definition that was higher than needed.
Andreas Jaeger [Mon, 21 May 2012 12:50:42 +0000 (14:50 +0200)]
Fix spelling of Steven Munroe
David S. Miller [Mon, 21 May 2012 01:47:38 +0000 (18:47 -0700)]
We no longer have foo.s files in the tree.
* Makerules (sysd-rules): Remove .s from asm.
Richard Henderson [Sun, 20 May 2012 17:34:00 +0000 (10:34 -0700)]
Add <sys/auxv.h> and getauxval.
Adhemerval Zanella [Sat, 19 May 2012 15:46:20 +0000 (15:46 +0000)]
Update powerpc ULPs for ccos, csin, ccosh, csinh tests.
David S. Miller [Sat, 19 May 2012 15:36:55 +0000 (15:36 +0000)]
Update sparc ULPs for ccos, csin, ccosh, csinh tests.
Joseph Myers [Sat, 19 May 2012 15:35:29 +0000 (15:35 +0000)]
Fix ccos, csin, ccosh, csinh overflows (bug 14123).
H.J. Lu [Sat, 19 May 2012 13:51:12 +0000 (06:51 -0700)]
Add 64-bit preadv.c and pwritev.c
H.J. Lu [Sat, 19 May 2012 13:46:29 +0000 (06:46 -0700)]
Add a comment to sysdeps/x86_64/x32/_itoa.h
H.J. Lu [Sat, 19 May 2012 00:00:25 +0000 (17:00 -0700)]
Use __syscall_slong_t in bits/timex.h
Joseph Myers [Sat, 19 May 2012 10:03:24 +0000 (10:03 +0000)]
Remove sysdeps/powerpc/soft-fp.
Andreas Jaeger [Sat, 19 May 2012 09:35:20 +0000 (11:35 +0200)]
Delete unused csu/.gitignore
Andreas Jaeger [Fri, 18 May 2012 18:30:51 +0000 (20:30 +0200)]
Fix INSTALL description for modified files in source dir
H.J. Lu [Fri, 18 May 2012 18:05:56 +0000 (11:05 -0700)]
Use RAX_LP and "or" to operate on return value
Tulio Magno Quites Machado Filho [Fri, 18 May 2012 13:50:33 +0000 (08:50 -0500)]
[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.
H.J. Lu [Fri, 18 May 2012 14:37:55 +0000 (07:37 -0700)]
Add sysdeps/x86_64/x32/_itoa.h
H.J. Lu [Fri, 18 May 2012 14:12:47 +0000 (07:12 -0700)]
Check d_ino/d_off before using getdents syscall
H.J. Lu [Fri, 18 May 2012 13:03:04 +0000 (06:03 -0700)]
Check _ITOA_NEEDED and use _ITOA_WORD_TYPE
H.J. Lu [Fri, 18 May 2012 11:16:55 +0000 (04:16 -0700)]
Fold copyright years
H.J. Lu [Fri, 18 May 2012 11:10:55 +0000 (04:10 -0700)]
Add x32 support to x86_64/bits/sigcontext.h
H.J. Lu [Fri, 18 May 2012 11:07:51 +0000 (04:07 -0700)]
Use anonymous union in x86_64/sys/user.h
Andreas Schwab [Wed, 16 May 2012 20:40:23 +0000 (22:40 +0200)]
Avoid runtime GOT relocations in ld.so on powerpc
Andreas Schwab [Wed, 16 May 2012 20:05:58 +0000 (22:05 +0200)]
Fix undefined reference to _dl_prof_resolve in profiled libc
Andreas Jaeger [Fri, 18 May 2012 07:08:14 +0000 (09:08 +0200)]
Do not provide inlines for GCC build-in functions
H.J. Lu [Fri, 18 May 2012 00:27:13 +0000 (17:27 -0700)]
Use __syscall_ulong_t in pselect.c
H.J. Lu [Fri, 18 May 2012 00:20:52 +0000 (17:20 -0700)]
Add __fsword_t and use it in bits/statfs.h
David S. Miller [Thu, 17 May 2012 20:32:52 +0000 (13:32 -0700)]
Bump sha512c-test.c timeout for the sake of 32-bit sparc.
* crypt/sha512c-test.c (TIMEOUT): Increase to 32.
Andreas Jaeger [Thu, 17 May 2012 20:00:57 +0000 (22:00 +0200)]
Fix warning
Fixes:
tst-relsort1.c:6:1: warning: function declaration isn’t a prototype
[-Wstrict-prototypes]
H.J. Lu [Thu, 17 May 2012 19:44:52 +0000 (12:44 -0700)]
Cast to unsigned long
Andreas Jaeger [Thu, 17 May 2012 18:17:53 +0000 (20:17 +0200)]
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]
Chris Metcalf [Thu, 17 May 2012 16:59:08 +0000 (12:59 -0400)]
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.
H.J. Lu [Thu, 17 May 2012 16:55:25 +0000 (09:55 -0700)]
Add tst-mallocalign1
Carlos O'Donell [Thu, 17 May 2012 03:14:24 +0000 (20:14 -0700)]
BZ#14059: Fix AVX and FMA4 detection.
Fix AVX and FMA4 detection by following the guidelines
set out by Intel and AMD for detecting these features.
Chris Metcalf [Thu, 17 May 2012 12:49:19 +0000 (08:49 -0400)]
math: support platforms with limited FP rounding or exception support
For some tests, just claim that fetestexcept() always returns true,
so the rest of the test can be compiled.
For libm-test, provide known bogus values for unsupported rounding
modes, so fesetround() will return failure.
Elsewhere, just add some #ifdefs to avoid code that uses particular
FP exceptions if the exceptions aren't supported.
Andreas Jaeger [Thu, 17 May 2012 09:05:52 +0000 (11:05 +0200)]
Avoid compiler warnings in qsort/bsearch examples
H.J. Lu [Thu, 17 May 2012 03:02:44 +0000 (20:02 -0700)]
Fold copyright years
Paul Pluzhnikov [Wed, 16 May 2012 23:46:10 +0000 (16:46 -0700)]
For [BZ #208], accumulate malloc stats over all arenas.
Roland McGrath [Mon, 14 May 2012 23:08:25 +0000 (16:08 -0700)]
BZ#10375: Configure magic to use -fno-stack-protector if needed.
Roland McGrath [Mon, 14 May 2012 22:42:52 +0000 (15:42 -0700)]
BZ#10375: Configure magic to use -U_FORTIFY_SOURCE if needed.
Roland McGrath [Wed, 16 May 2012 22:32:06 +0000 (15:32 -0700)]
Remove redundant ChangeLog header lines.
H.J. Lu [Wed, 16 May 2012 21:39:45 +0000 (14:39 -0700)]
Use __syscall_slong_t in bits/mqueue.h
H.J. Lu [Wed, 16 May 2012 20:23:20 +0000 (13:23 -0700)]
Add x32 suppport to x86_64/bits/stat.h
H.J. Lu [Wed, 16 May 2012 20:16:18 +0000 (13:16 -0700)]
Add x86-64 bits/typesizes.h
H.J. Lu [Wed, 16 May 2012 20:02:28 +0000 (13:02 -0700)]
Add x86_64/bits/ipctypes.h
H.J. Lu [Wed, 16 May 2012 20:01:32 +0000 (13:01 -0700)]
Use __syscall_ulong_t in bits/ipc.h
H.J. Lu [Wed, 16 May 2012 19:52:45 +0000 (12:52 -0700)]
Add x32 support to sys/ucontext.h
H.J. Lu [Wed, 16 May 2012 19:17:31 +0000 (12:17 -0700)]
Add x32 support to <sys/user.h>
H.J. Lu [Wed, 16 May 2012 18:53:49 +0000 (11:53 -0700)]
Add x32 gmp-mparam.h
H.J. Lu [Wed, 16 May 2012 18:52:35 +0000 (11:52 -0700)]
Add x32 ffs
Joseph Myers [Wed, 16 May 2012 18:50:39 +0000 (18:50 +0000)]
Update Texinfo version requirement.
Joseph Myers [Wed, 16 May 2012 18:49:01 +0000 (18:49 +0000)]
Update __STDC_ISO_10646__.
H.J. Lu [Wed, 16 May 2012 18:48:54 +0000 (11:48 -0700)]
Add x32 support to x86_64/bits/shm.h
H.J. Lu [Wed, 16 May 2012 18:47:22 +0000 (11:47 -0700)]
Add x32 support to x86_64/bits/sem.h
H.J. Lu [Wed, 16 May 2012 18:45:19 +0000 (11:45 -0700)]
Add x32 support to x86_64/bits/msq.h
H.J. Lu [Wed, 16 May 2012 17:35:34 +0000 (10:35 -0700)]
Check __x86_64__ in x86_64/bits/a.out.h
H.J. Lu [Wed, 16 May 2012 17:31:10 +0000 (10:31 -0700)]
Add x86-64 <bits/siginfo.h>
H.J. Lu [Wed, 16 May 2012 17:24:02 +0000 (10:24 -0700)]
Add dummy files for x32
H.J. Lu [Wed, 16 May 2012 17:22:18 +0000 (10:22 -0700)]
Replace long int with __syscall_slong_t in sys/msg.h
H.J. Lu [Wed, 16 May 2012 17:20:45 +0000 (10:20 -0700)]
Check __x86_64__ in x86-64 sys/reg.h
H.J. Lu [Wed, 16 May 2012 17:20:06 +0000 (10:20 -0700)]
Add x32 support to sys/procfs.h
H.J. Lu [Wed, 16 May 2012 17:19:17 +0000 (10:19 -0700)]
Use ULL suffix on DR_CONTROL_RESERVED
H.J. Lu [Wed, 16 May 2012 17:18:30 +0000 (10:18 -0700)]
Add uintptr_t cast to GET_PC/GET_FRAME/GET_STACK
H.J. Lu [Wed, 16 May 2012 17:01:44 +0000 (10:01 -0700)]
Use 64bit filesystem functions for x32
Andreas Schwab [Sat, 5 May 2012 07:56:47 +0000 (09:56 +0200)]
Track dependencies for .oS-only objects
Andreas Schwab [Sat, 12 May 2012 06:40:20 +0000 (08:40 +0200)]
Fix dependency tracking on cross-rpcgen-objs