Roland McGrath
eb55f5c21f
BZ#14218: Reword argp_parse description slightly.
2012-06-11 16:21:44 -07:00
Thomas Schwinge
99ff6e5c49
SH: No FE_UPWARD, FE_DOWNWARD.
2012-06-09 18:46:01 +02:00
Thomas Schwinge
366af02c96
SH: Do not re-write fpscr after reading it.
2012-06-09 18:36:52 +02:00
Kaz Kojima
793ea8518f
SH: refresh *.abilist files.
2012-06-09 18:08:02 +02:00
H.J. Lu
c08010c7cd
Use x86_64 fpu/bits/fenv.h for i386 and x86_64
2012-06-06 10:13:19 -07:00
H.J. Lu
a728a38fb6
Check __SSE_MATH__ in x86_64 feraiseexcept
2012-06-06 10:11:14 -07:00
Siddhesh Poyarekar
6e230d1183
Fix validation check when converting from ibm930 to utf
...
[BZ #14134 ]
When converting IBM930 code with iconv(), if IBM930 code which
includes invalid multibyte character "0xffff" is specified, then
iconv() segfaults. This is easy to see using the following command:
echo '0x0e 0x43 0x8c 0xff 0xff 0x43 0xbd 0x43 0xbd' | xxd -r |
iconv -f IBM930 -t UTF-8
2012-06-06 18:41:55 +05:30
Adhemerval Zanella
1b671feb61
Fix for wrong ldbl128-ibm fmodl commit
2012-06-05 21:33:23 -03:00
Adhemerval Zanella
6043738b36
Fix spurious undeflow for ldbl-128ibm erfl
...
For values higher than 25.6283 erflc underflow, so adjust erfl
to return a constant value based argument sign.
2012-06-05 10:42:49 -03:00
Adhemerval Zanella
34ae0b3270
Fix ldbl128ibm fmodl for subnormals.
2012-06-05 10:16:49 -03:00
Mike Frysinger
1214ec8f4c
tst-getcpu: decode errno when sched_getcpu fails
...
The tst-getcpu test is failing on ia64 platforms due to sched_getcpu
returning an error. But the current test only considers -1 when it's
also ENOSYS. Tweak the logic a bit to make the output clearer.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-06-04 22:22:02 -04:00
H.J. Lu
0e4a3cd708
Use i486 bits/string.h for i386 and x86_64
2012-06-04 13:45:43 -07:00
H.J. Lu
6704c645b0
Provide 32-bit inline string functions for >= i486
2012-06-04 13:44:46 -07:00
H.J. Lu
48495318fa
Use x86_64 bits/sigcontext.h for i386 and x86_64
2012-06-04 12:41:38 -07:00
H.J. Lu
14adcbfc36
Update x86_64 bits/sigcontext.h from kernel 3.4.0
2012-06-04 12:40:46 -07:00
H.J. Lu
68e408ab5d
Use x86_64 bits/{debugreg,reg}.h for i386 and x86-64
2012-06-04 12:32:07 -07:00
H.J. Lu
f3d1f93cfb
Use x86_64 bits/{io,perm}.h for i386 and x86_64
2012-06-04 12:29:49 -07:00
Tulio Magno Quites Machado Filho
d9dc34cd56
Manual for platform-specific features and new __ppc_get_timebase inline.
...
[BZ #13743 ]
A new class of installed headers has been documented for low-level
platform-specific functionality. PowerPC added the first instance with a
function to provide time base register access (__ppc_get_timebase). This
is required for applications that measure time at high frequencies with
high precision that can't afford a syscall.
2012-06-04 13:46:37 -05:00
Siddhesh Poyarekar
4af3879c26
Wrap __builtin_expect in pthread.h
...
[BZ #14188 ]
This fixes compilation of programs using pthread_cleanup_push built
with non-gcc compilers and older gcc compilers.
2012-06-04 11:53:57 +05:30
David S. Miller
2fd6ff133b
Sync longlong.h with GCC to fix a sparc regression.
...
* stdlib/longlong.h: Updated from GCC.
2012-06-03 18:51:43 -07:00
Andreas Schwab
173f722045
Move __mcount_internal from GLIBC_PRIVATE to GLIBC_2.16
2012-06-02 21:21:15 +02:00
H.J. Lu
f34a1c6f5e
Fix a typo in x86_64 sys/io.h
2012-06-01 17:43:26 -07:00
Joseph Myers
ea32bcdd3d
Add default-abi definitions for powerpc, s390 and sparc.
2012-06-01 21:19:28 +00:00
Joseph Myers
88a4576f50
Remove unused default-abi definition in Makeconfig.
2012-06-01 21:17:36 +00:00
David S. Miller
402fe938f6
Update longlong.h from GCC to get some sparc improvements.
...
* stdlib/longlong.h: Updated from GCC.
2012-06-01 13:33:28 -07:00
H.J. Lu
3bd872c4c4
Use i386 sys/elf.h and sys/vm86.h for i386 and x86-64
2012-06-01 13:22:46 -07:00
H.J. Lu
3553723f3c
Define DR_LEN_8 only if __x86_64__ is defined
2012-06-01 13:06:37 -07:00
Joseph Myers
c5bfe3d5ba
Fix fmod for subnormals (bug 14048).
2012-06-01 19:05:46 +00:00
Joseph Myers
4842e4fe5f
Ensure additions are not scheduled after fetestexcept in fmaf and fmal.
2012-06-01 19:02:21 +00:00
Aurelien Jarno
efb734887e
Add a barrier in the double fma implementation.
2012-06-01 19:01:17 +00:00
H.J. Lu
29bcce7ce4
Use i386 bits/wchar.h for i386 and x86-64
2012-06-01 11:16:15 -07:00
Adhemerval Zanella
73a68f94d6
PowerPC: Fix for POWER7 sinf/cosf
...
This patch fixes some sinf/cosf calculations that generated unexpected
underflows exceptions.
2012-06-01 10:10:18 -03:00
H.J. Lu
ebc64a18c0
Support __WORDSIZE == 64 in i386 bits/wchar.h
2012-05-31 20:35:10 -07:00
H.J. Lu
edf2933a37
Use x86_64 bits/typesizes.h for i386 and x86-64
2012-05-31 19:37:43 -07:00
H.J. Lu
57c6cf4038
Use __SWORD_TYPE for __FSWORD_T_TYPE with -m32
2012-05-31 19:33:55 -07:00
H.J. Lu
8eb6281eaa
Use x86_64 bits/siginfo.h for i386 and x86_64
2012-05-31 17:14:35 -07:00
H.J. Lu
aac639f42c
Use x86_64 bits/stat.h for i386 and x86-64
2012-05-31 16:49:38 -07:00
H.J. Lu
67b6df7841
Update x86_64 bits/stat.h
2012-05-31 16:47:45 -07:00
David S. Miller
1c2cfe8193
Update sparc ulps after Joseph's math.h fixes.
...
* sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
entries.
2012-05-31 16:25:07 -07:00
Andreas Schwab
e77253266a
Sort sysdeps/powerpc/fpu/libm-test-ulps
2012-06-01 01:26:27 +02:00
Andreas Schwab
5be8418cb0
Remove use of INTDEF/INTUSE in stdio-common
2012-06-01 01:25:41 +02:00
Markus Trippelsdorf
507352f1a1
Add bits/sysctl.h to sysdep_headers
2012-05-31 16:16:23 -07:00
H.J. Lu
6bd784b66b
Use x86_64 bits/sysctl.h for x86-64 and i386
2012-05-31 16:12:40 -07:00
H.J. Lu
8bca20f013
Use x86_64 sys/{ucontext,user}.h for i386 and x86_64
2012-05-31 16:11:11 -07:00
H.J. Lu
f9e890a99c
Use x86_64 sys/procfs.h for both i386 and x86_64
2012-05-31 16:09:40 -07:00
H.J. Lu
471101a18f
Replace addr with __addr in x86_64 sys/io.h
2012-05-31 16:06:54 -07:00
H.J. Lu
6451c86222
Use x86_64 bits/mman.h for both i386 and x86_64
2012-05-31 16:05:51 -07:00
H.J. Lu
a254b8c9cb
Use x86-64 bits/{msq,sem,shm}.h for i386 and x86-64
2012-05-31 16:04:12 -07:00
H.J. Lu
b8dfdd92c7
Use x86_64 bits/ipctypes.h for both i386 and x86-64
2012-05-31 16:03:09 -07:00
H.J. Lu
578cd27008
Use x86_64 bits/epoll.h for both i386 and x86_64
2012-05-31 16:02:21 -07:00
H.J. Lu
de662f5f19
Use x86_64 bits/fcntl.h for both i386 and x86_64
2012-05-31 16:01:24 -07:00
H.J. Lu
25653439fc
Use x86_64 bits/environments.h for i386 and x86_64
2012-05-31 16:00:18 -07:00
H.J. Lu
6bad24a091
Use x86_64 bits/a.out.h for both i386 and x86_64
2012-05-31 15:57:54 -07:00
H.J. Lu
42bbb1c314
Add x86-64 support to i386 sys/elf.h and sys/vm86.h
2012-05-31 15:55:37 -07:00
Joseph Myers
2d10d547c1
Use more decimal places for long double constants in math.h.
2012-05-31 21:25:48 +00:00
David S. Miller
f230c29b40
Avoid performance penalty in sparc optimized memcpy/memset.
...
fmovd clears the current exception field in the %fsr, fsrc2
does not and therefore runs more efficiently on some cpus.
* sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
values between float registers.
* sysdeps/sparc/sparc64/memset.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2012-05-31 14:19:30 -07:00
Mike Frysinger
fed806c3af
tests: move -D_FORTIFY_SOURCE to CPPFLAGS
...
The -D_FORTIFY_SOURCE flags are being added to the test-specific CFLAGS
values when they should be the test-specific CPPFLAGS values. Otherwise
the values don't override the user-specified CPPFLAGS and might end up
breaking the tests.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-31 14:31:08 -04:00
Marek Polacek
3091725976
Remove use of INTUSE/INTDEF in misc.
2012-05-31 13:10:02 +02:00
David S. Miller
1c58d5dceb
Simulate sparc fpu exceptions using real FP ops again in soft-fp.
...
* sysdeps/sparc/sparc32/soft-fp/q_util.c
(___Q_simulate_exceptions): Use real FP ops rather than writing
into the %fsr.
* sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
Likewise.
2012-05-30 23:09:25 -07:00
H.J. Lu
0bd5398534
Use x86_64/bits/xtitypes.h for i386/x86-64
2012-05-30 17:26:11 -07:00
H.J. Lu
3a257e668e
Use x86_64 bits/wordsize.h for both i386/x86_64
2012-05-30 17:25:23 -07:00
H.J. Lu
62f62904cf
Use i386 bits/huge_vall.h for i386/x86-64
2012-05-30 15:51:32 -07:00
H.J. Lu
404fe9d90e
Use x86_64 bits/select.h for i386/x86_64
2012-05-30 15:49:31 -07:00
H.J. Lu
d48d04460a
Use x86_64 bits/setjmp.h for i386/x86_64
2012-05-30 15:43:34 -07:00
H.J. Lu
7dc00e0d3c
Use x86_64 bits/mathdef.h for i386/x86_64
2012-05-30 15:42:28 -07:00
Andreas Schwab
03277f8fe1
Remove use of INTDEF/INTUSE in socket
2012-05-31 00:34:41 +02:00
H.J. Lu
6bd976963f
Use x86_64 bits/{link.h,linkmap.h} for i386/x86_64
2012-05-30 15:21:55 -07:00
H.J. Lu
f726f0bb75
Use the same bits/endian.h for i386/x86_64
2012-05-30 14:50:32 -07:00
H.J. Lu
13764867fe
Use x86-64 bits/byteswap.h for both i386 and x86_64
2012-05-30 14:13:18 -07:00
David S. Miller
ae251b0b58
Fix underflow generation in soft-fp.
...
* soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
(FP_TRAPPING_EXCEPTIONS): Provide default implementation.
* sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
(FP_TRAPPING_EXCEPTIONS): Define.
* sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
(FP_TRAPPING_EXCEPTIONS): Define.
* soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
subnormals only when inexact has been signalled or underflow
exceptions are enabled.
(_FP_PACK_CANONICAL): Likewise.
2012-05-30 13:41:01 -07:00
H.J. Lu
d5c9086734
Use __UWORD_TYPE for __NLINK_T_TYPE with -m32
2012-05-30 11:35:47 -07:00
Richard Henderson
8d8f2279e7
alpha: Don't symbol_version syscalls outside libc
...
* sysdeps/unix/make-syscalls.sh: Protect symbol_version output
with #ifndef NOT_IN_libc.
2012-05-30 11:05:51 -07:00
Richard Henderson
63f1549e0e
alpha: Handle ST_OTHER in objdump output
...
* scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
marked to avoid plt entry.
2012-05-30 11:05:51 -07:00
H.J. Lu
0ab0291b84
Convert WORDSIZE[32|64]/ld entries to abi-variants
2012-05-30 08:33:26 -07:00
Joseph Myers
3a85279c0b
Remove __ASSUME_TRUNCATE64_SYSCALL.
2012-05-30 14:52:34 +00:00
Joseph Myers
4da0431d5f
Weaken PIE configure test to a compile test.
2012-05-30 09:50:40 +00:00
Andreas Schwab
865eac65c2
Move CL entry
2012-05-30 08:49:59 +02:00
Andreas Schwab
4d17e68350
Remove use of INTDEF/INTUSE in nptl
2012-05-30 00:45:53 +02:00
Andreas Krebbel
11ef492c80
S/390: ABI baseline update.
2012-05-29 11:04:22 +00:00
David S. Miller
d66ef399f5
Fix underflow reporting and tie up loose ends in sparc soft-fp.
...
* sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
(___Q_zero): New.
(__Q_simulate_exceptions): Return void. Change to simulate
exceptions by writing into the %fsr.
* sysdeps/sparc/sparc64/soft-fp/qp_util.c
(__Qp_handle_exceptions): Likewise.
(numbers): Delete.
* sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
__Qp_handle_exceptions.
* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
__Qp_handle_exceptions.
* sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
as unused and give dummy FP_RND_NEAREST initializer.
(FP_INHIBIT_RESULTS): Define.
(___Q_simulate_exceptions): Update declaration.
(FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
formatting.
* sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
as unused and give dummy FP_RND_NEAREST initializer.
(__Qp_handle_exceptions): Update declaration.
(FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
formatting.
2012-05-27 21:11:42 -07:00
Thomas Schwinge
04fb54b507
SH: Use fpu_control_t for the temporary FPU control word.
2012-05-28 01:03:18 +02:00
Kaz Kojima
3f99608f82
SH: feraiseexcept: Restore fpscr flag fields.
2012-05-28 01:02:34 +02:00
Chung-Lin Tang
65a4de4e06
SH: Add CFI directives.
2012-05-28 00:11:06 +02:00
Ulrich Drepper
15749d40db
New Croatian translation
2012-05-27 03:00:50 -04:00
Andreas Schwab
3d3f8e5582
Fix missing declaration
2012-05-26 22:33:51 +02:00
Marek Polacek
7ad47a8080
Fix CL date.
2012-05-26 14:41:28 +02:00
Andreas Schwab
25dbcb277a
Optimize handling of denormals in logb/logbf/logbl
2012-05-26 13:53:22 +02:00
Marek Polacek
d81dcb3569
Fix fma test for underflow.
2012-05-26 13:49:49 +02:00
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
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
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
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
Joseph Myers
b65504975c
Fix acosf underflow (bug 14153).
2012-05-25 11:07:07 +00: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
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
Joseph Myers
59f0c22ed2
Filter out unknown symbols in stack-protector test.
2012-05-21 23:26:27 +00:00
H.J. Lu
c5b3a2c05b
Rename x32 llseek.S to lseek.S and add dummy llseek.S
2012-05-21 15:41:37 -07:00
H.J. Lu
bbb3154bc9
Add x32 llseek.S
2012-05-21 14:50:21 -07:00
H.J. Lu
20c07380db
Rename __WORDSIZE_COMPAT32 to __WORDSIZE_TIME64_COMPAT32
2012-05-21 13:39:55 -07:00
Andreas Jaeger
d8d1017e5e
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]
2012-05-21 22:27:11 +02:00
Roland McGrath
6c7fb1458d
x32: Don't lose high bits of %rbp in setjmp/longjmp mangling/demangling.
2012-05-21 13:04:11 -07:00
Andreas Jaeger
07c58f8f35
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.
2012-05-21 21:34:54 +02:00
Andreas Jaeger
662742187c
Fix last change
...
Include shlib-compat.h for SHLIB_COMPAT.
2012-05-21 21:02:33 +02:00
H.J. Lu
61f65140eb
Define __SYSCALL_WORDSIZE for x86-64
2012-05-21 11:45:16 -07:00
Andreas Jaeger
5fefb43629
[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.
2012-05-21 20:41:36 +02:00
Andreas Jaeger
d8e272abb3
Rewrite manual/contrib.texi
...
* manual/contrib.texi: Completely rewritten. It contains now an
alphabetical list of contributors and their contributions.
2012-05-21 20:33:57 +02:00
H.J. Lu
d024d23cbe
Add x32 syscalls.list
2012-05-21 11:32:25 -07:00
Richard Henderson
4a56a16205
* misc/getauxval.c (__getauxval): Use unsigned long int.
...
* misc/sys/auxv.h: Include <sys/cdefs.h>.
(getauxval): Use unsigned long int.
2012-05-21 11:27:04 -07:00
Roland McGrath
cbc00a0398
Set MALLOC_ALIGNMENT to at least __alignof__ (long double) for new ABIs.
2012-05-21 11:13:10 -07:00
Adhemerval Zanella
478143fa17
PowerPC: ULPs update
...
Adjustments for libm ulps added with commit d8b82cad1b
,
495fd99f3a
, and 5ba3cc691c
.
I also adjusted some exp10 ulps definition that was higher than needed.
2012-05-21 14:28:51 -03:00
Richard Henderson
c7683a6d02
Add <sys/auxv.h> and getauxval.
2012-05-20 10:40:35 -07:00
Adhemerval Zanella
a6f1845d45
Update powerpc ULPs for ccos, csin, ccosh, csinh tests.
2012-05-19 15:46:20 +00:00
David S. Miller
cbcbe830f9
Update sparc ULPs for ccos, csin, ccosh, csinh tests.
2012-05-19 15:36:55 +00:00
Joseph Myers
e0b16cc25c
Fix ccos, csin, ccosh, csinh overflows (bug 14123).
2012-05-19 15:35:29 +00:00
H.J. Lu
f66f0ce833
Add 64-bit preadv.c and pwritev.c
2012-05-19 06:51:12 -07:00
H.J. Lu
6ad13e088d
Add a comment to sysdeps/x86_64/x32/_itoa.h
2012-05-19 06:46:29 -07:00
H.J. Lu
bb07f69f3b
Use __syscall_slong_t in bits/timex.h
2012-05-19 06:45:33 -07:00
Joseph Myers
b1d072a75e
Remove sysdeps/powerpc/soft-fp.
2012-05-19 10:03:24 +00:00
Andreas Jaeger
9eae47cb5b
Delete unused csu/.gitignore
2012-05-19 11:35:20 +02:00
Andreas Jaeger
e6bdb741d1
Fix INSTALL description for modified files in source dir
2012-05-18 20:30:51 +02:00
H.J. Lu
1b74487e90
Use RAX_LP and "or" to operate on return value
2012-05-18 11:05:56 -07:00
Tulio Magno Quites Machado Filho
a88b64b9bb
[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.
2012-05-18 10:15:30 -05:00
H.J. Lu
610b86225e
Add sysdeps/x86_64/x32/_itoa.h
2012-05-18 07:37:55 -07:00
H.J. Lu
7cd195df62
Check d_ino/d_off before using getdents syscall
2012-05-18 07:12:47 -07:00
H.J. Lu
94b07d20dd
Check _ITOA_NEEDED and use _ITOA_WORD_TYPE
2012-05-18 06:03:04 -07:00
H.J. Lu
18298070c0
Fold copyright years
2012-05-18 04:16:55 -07:00
H.J. Lu
553c7ea4fa
Add x32 support to x86_64/bits/sigcontext.h
2012-05-18 04:10:55 -07:00
H.J. Lu
3707636e48
Use anonymous union in x86_64/sys/user.h
2012-05-18 04:07:51 -07:00
Andreas Schwab
37fb1dc057
Avoid runtime GOT relocations in ld.so on powerpc
2012-05-18 12:00:22 +02:00
Andreas Schwab
b53ef01aa2
Fix undefined reference to _dl_prof_resolve in profiled libc
2012-05-18 11:59:44 +02:00
Andreas Jaeger
7a185db2b7
Do not provide inlines for GCC build-in functions
2012-05-18 09:08:14 +02:00
H.J. Lu
428bd7074c
Use __syscall_ulong_t in pselect.c
2012-05-17 17:27:13 -07:00
H.J. Lu
3e5aef87d7
Add __fsword_t and use it in bits/statfs.h
2012-05-17 17:20:52 -07:00
David S. Miller
1ba7c3dca1
Bump sha512c-test.c timeout for the sake of 32-bit sparc.
...
* crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2012-05-17 13:33:50 -07:00
Andreas Jaeger
59910343fc
Fix warning
...
Fixes:
tst-relsort1.c:6:1: warning: function declaration isn’t a prototype
[-Wstrict-prototypes]
2012-05-17 22:00:57 +02:00
H.J. Lu
2e4c1e9edb
Cast to unsigned long
2012-05-17 12:44:52 -07:00
Andreas Jaeger
de7f5ce7c5
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]
2012-05-17 20:17:53 +02:00
Chris Metcalf
286abc3dea
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.
2012-05-17 12:59:08 -04:00
H.J. Lu
477cc68e90
Add tst-mallocalign1
2012-05-17 09:55:25 -07:00
Carlos O'Donell
1a0994f535
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.
2012-05-17 06:59:28 -07:00
Chris Metcalf
0af797def3
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.
2012-05-17 08:50:41 -04:00
Andreas Jaeger
e39745ffa0
Avoid compiler warnings in qsort/bsearch examples
2012-05-17 11:05:52 +02:00
H.J. Lu
48970aba30
Fold copyright years
2012-05-16 20:02:44 -07:00
Paul Pluzhnikov
bedee953d8
For [BZ #208 ], accumulate malloc stats over all arenas.
2012-05-16 16:46:10 -07:00
Roland McGrath
30b99d798f
BZ#10375: Configure magic to use -fno-stack-protector if needed.
2012-05-16 16:22:50 -07:00
Roland McGrath
61653dfb81
BZ#10375: Configure magic to use -U_FORTIFY_SOURCE if needed.
2012-05-16 16:20:59 -07:00
Roland McGrath
90c885c87b
Remove redundant ChangeLog header lines.
2012-05-16 15:32:06 -07:00
H.J. Lu
661768bb50
Use __syscall_slong_t in bits/mqueue.h
2012-05-16 14:39:45 -07:00