Siddhesh Poyarekar
9c6ea9facb
Fix stack size and address inconsistency due to executable stack
...
When a stack is marked executable due to loading a DSO that requires
an executable stack, the logic tends to leave out a portion of stack
after the first frame, thus causing a difference in the value returned
by pthread_getattr_np before and after the stack is marked
executable. It ought to be possible to fix this by marking the rest of
the stack as executable too, but in the interest of marking as less of
the stack as executable as possible, the path this fix takes is to
make pthread_getattr_np also look at the first frame as the underflow
end of the stack and compute size and stack top accordingly.
The above happens only for the main process stack. NPTL thread stacks
are not affected by this change.
2012-05-26 09:48:26 +05:30
Andreas Schwab
9aaedac0c8
m68k: remove __ASSUME_NEW_GETRLIMIT_SYSCALL
2012-05-26 01:01:25 +02:00
Andreas Schwab
2a4c76a692
m68k: remove pre-2.4 Linux kernel support for chown
2012-05-26 00:58:22 +02:00
Joseph Myers
4b5466f188
Remove __ASSUME_NEW_GETRLIMIT_SYSCALL for ARM.
2012-05-25 22:31:59 +00:00
Joseph Myers
a82392228a
Remove __ASSUME_NEW_GETRLIMIT_SYSCALL.
2012-05-25 22:30:06 +00:00
H.J. Lu
918b56067a
Don't use header files in glibc configure
2012-05-25 14:16:19 -07:00
Roland McGrath
7b44a2df27
NEWS item for --enable-systemtap
2012-05-25 13:49:31 -07:00
Rayson Ho
1755728208
i386 port of the pthread SystemTap probes
2012-05-25 13:41:04 -07:00
Roland McGrath
5acf7263d5
Add systemtap static probe points in generic and x86_64 pthread code.
2012-05-25 13:41:03 -07:00
Roland McGrath
8422c9a560
Add systemtap static probe points in setjmp/longjmp on x86.
2012-05-25 13:41:03 -07:00
Roland McGrath
3a097cc7a1
Add --enable-systemtap configuration to define static probe points.
2012-05-25 13:40:20 -07:00
Joseph Myers
089d856f77
Update MIPS kernel-features.h for removal of __ASSUME_32BITUIDS.
2012-05-25 19:21:15 +00:00
Joseph Myers
21708942c9
Remove pre-2.4 Linux kernel support.
2012-05-25 19:19:30 +00:00
Richard Henderson
a386f1cc22
ppc: Pass hwcap to ifuncs.
...
* sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
dl_hwcap to ifunc resolver.
* sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
elf_ifunc_invoke.
* sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
dl_hwcap to ifunc resolver.
* sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2012-05-25 10:30:42 -07:00
Richard Henderson
73da6bacfd
arm: Pass hwcap to ifuncs.
...
* sysdeps/arm/dl-irel.h (elf_ifunc_invoke): Pass dl_hwcap.
* sysdeps/arm/dl-machine.h (elf_machine_rel): Use elf_ifunc_invoke.
(elf_machine_rela): Likewise.
2012-05-25 12:07:05 -04:00
H.J. Lu
db5013c654
Mention BZ 12495 and 13576 in NEWS
2012-05-25 04:42:46 -07:00
Joseph Myers
cff78a1ce9
Add missing comma in list of fixed bugs.
2012-05-25 11:14:43 +00:00
Joseph Myers
b65504975c
Fix acosf underflow (bug 14153).
2012-05-25 11:07:07 +00:00
Mike Frysinger
5b0ef573d2
ia64: add getauxval to abilist
...
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-25 01:16:45 -04:00
Jeff Law
b0bc23a177
2012-05-24 Jeff Law <law@redhat.com>
...
* stdio-common/Makefile (tests): Add bug25.
* stdio-common/bug25.c: New test.
2012-05-24 21:30:43 -06:00
H.J. Lu
347c92e9e7
Make free chunk size a multiple of MALLOC_ALIGNMENT
2012-05-24 17:50:28 -07:00
Mike Frysinger
23e9f8631f
ia64: mman.h: define MADV_DO{,NT}DUMP
...
Add new types from linux-3.4.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-24 20:25:25 -04: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
Richard Henderson
4458fa0167
alpha: Add abilist files.
2012-05-24 13:43:53 -07:00
Richard Henderson
dc0c31fbe9
alpha: Re-add imaxdiv.
2012-05-24 13:20:56 -07: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
Richard Henderson
f7616d449a
alpha: Remove __ASSUME_32BITUIDS.
2012-05-24 11:45:13 -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
Richard Henderson
18c2f1c075
alpha: Update bits/mman.h.
2012-05-24 08:59:42 -07:00
Joseph Myers
7a25eb06bf
Add tests for underflow exception bugs 10846, 14036.
2012-05-24 15:36:54 +00:00
Richard Henderson
edb00e4d73
Add getauxval news entry.
2012-05-24 07:45:49 -07: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
David S. Miller
f1158bd1a5
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.
2012-05-23 21:47:03 -07:00
H.J. Lu
ccd0a08f4e
Add sysdeps/unix/sysv/linux/x86_64/x32/configure
2012-05-23 20:03:20 -07:00
Mike Frysinger
df7fe5c7ef
ia64: update pthread_attr_t handling in bits/siginfo.h
...
This matches the changes made to the common bits/siginfo.h file.
Reported-by: Joseph Myers <joseph@codesourcery.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-23 22:45:41 -04: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