Joseph Myers [Fri, 25 May 2012 11:14:43 +0000 (11:14 +0000)]
Add missing comma in list of fixed bugs.
Joseph Myers [Fri, 25 May 2012 11:07:07 +0000 (11:07 +0000)]
Fix acosf underflow (bug 14153).
Jeff Law [Fri, 25 May 2012 03:30:43 +0000 (21:30 -0600)]
2012-05-24 Jeff Law <law@redhat.com>
* stdio-common/Makefile (tests): Add bug25.
* stdio-common/bug25.c: New test.
H.J. Lu [Fri, 25 May 2012 00:50:28 +0000 (17:50 -0700)]
Make free chunk size a multiple of MALLOC_ALIGNMENT
Joseph Myers [Thu, 24 May 2012 21:58:04 +0000 (21:58 +0000)]
conformtest: Update expectations for stdio.h and stdlib.h.
Andreas Schwab [Wed, 23 May 2012 20:38:10 +0000 (22:38 +0200)]
Remove use of INTDEF/INTUSE in intl
Andreas Schwab [Wed, 23 May 2012 11:33:15 +0000 (13:33 +0200)]
Remove use of INTDEF/INTUSE in libio
Roland McGrath [Tue, 22 May 2012 23:00:50 +0000 (16:00 -0700)]
syscalls.list support for vDSO IFUNCs, use it for x32 gettimeofday and time.
Roland McGrath [Thu, 24 May 2012 18:37:30 +0000 (11:37 -0700)]
Switch gettimeofday from INTUSE to libc_hidden_proto.
H.J. Lu [Thu, 24 May 2012 18:57:23 +0000 (11:57 -0700)]
Properly handle MALLOC_ALIGNMENT > 2 * SIZE_SZ
H.J. Lu [Thu, 24 May 2012 18:20:12 +0000 (11:20 -0700)]
Add x32 abilist files
H.J. Lu [Thu, 24 May 2012 18:18:30 +0000 (11:18 -0700)]
Add x32 C++ type data
Joseph Myers [Thu, 24 May 2012 15:36:54 +0000 (15:36 +0000)]
Add tests for underflow exception bugs 10846, 14036.
Richard Henderson [Thu, 24 May 2012 14:45:49 +0000 (07:45 -0700)]
Add getauxval news entry.
Joseph Myers [Thu, 24 May 2012 12:14:03 +0000 (12:14 +0000)]
Don't include exceptions in libm-test-ulps test names.
Joseph Myers [Thu, 24 May 2012 11:26:36 +0000 (11:26 +0000)]
Test underflow exceptions in libm-test.inc.
David S. Miller [Thu, 24 May 2012 04:52:38 +0000 (21:52 -0700)]
Forgot changelog in previous commit.
David S. Miller [Thu, 24 May 2012 04:47:03 +0000 (21:47 -0700)]
Remove some sparc cob-webs leftover after Joseph's recent changes.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
(__libc_sigaction): Remove unused local variables.
H.J. Lu [Thu, 24 May 2012 03:03:20 +0000 (20:03 -0700)]
Add sysdeps/unix/sysv/linux/x86_64/x32/configure
Paul Eggert [Fri, 16 Mar 2012 10:18:12 +0000 (03:18 -0700)]
mktime: avoid signed integer overflow
* time/mktime.c (__mktime_internal): Do not mishandle the case
where diff == INT_MIN.
Paul Eggert [Fri, 16 Mar 2012 10:15:57 +0000 (03:15 -0700)]
mktime: simplify computation of average
* time/mktime.c (ranged_convert): Use new time_t_avg function
instead of rolling our own (probably-slower) code.
Paul Eggert [Fri, 16 Mar 2012 10:14:03 +0000 (03:14 -0700)]
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.
Paul Eggert [Fri, 16 Mar 2012 10:04:42 +0000 (03:04 -0700)]
mktime: merge another wrapv change from gnulib
* time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
from some compilers.
Paul Eggert [Fri, 16 Mar 2012 10:00:48 +0000 (03:00 -0700)]
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).
Paul Eggert [Fri, 16 Mar 2012 09:57:35 +0000 (02:57 -0700)]
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.
Paul Eggert [Fri, 16 Mar 2012 09:48:38 +0000 (02:48 -0700)]
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.
Paul Eggert [Fri, 16 Mar 2012 09:36:14 +0000 (02:36 -0700)]
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.
H.J. Lu [Wed, 23 May 2012 18:35:38 +0000 (11:35 -0700)]
Replace "jmp L(pseudo_end)" with "ret"
Andreas Jaeger [Wed, 23 May 2012 18:23:49 +0000 (20:23 +0200)]
Add ChangeLog for last change
Andreas Jaeger [Wed, 23 May 2012 06:53:36 +0000 (08:53 +0200)]
Move poll to syscalls.list
Andreas Jaeger [Wed, 23 May 2012 18:16:00 +0000 (20:16 +0200)]
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.
H.J. Lu [Wed, 23 May 2012 13:48:05 +0000 (06:48 -0700)]
Fix x32 sched_getcpu.S error code
Joseph Myers [Wed, 23 May 2012 12:52:56 +0000 (12:52 +0000)]
Add comments suggesting moving some functions to syscalls.list.
Joseph Myers [Wed, 23 May 2012 12:48:01 +0000 (12:48 +0000)]
Do not mention old Linux kernel versions in installation documentation.
Andreas Jaeger [Wed, 23 May 2012 07:27:39 +0000 (09:27 +0200)]
Update from Linux 3.4
Roland McGrath [Tue, 22 May 2012 21:24:54 +0000 (14:24 -0700)]
Simplify dl-vdso.h use of assert.
H.J. Lu [Tue, 22 May 2012 20:58:43 +0000 (13:58 -0700)]
Remove $(sysctl) from sysdep_routines
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]