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