Liubov Dmitrieva
0e036f35e5
Inappropriate code style for Intel MPX in debug/wcscpy_chk.c. Fix the code if MPX is enabled.
2013-10-23 19:07:36 +04:00
Liubov Dmitrieva
7f5505c127
Inappropriate code style for Intel MPX in debug/wcpcpy_chk. Fix the code if MPX is enabled.
2013-10-23 19:07:36 +04:00
Liubov Dmitrieva
9c9cc287b7
Inappropriate code style for Intel MPX at wcsmbs/wcpcpy.c. Use other implementation if MPX is enabled.
2013-10-23 19:07:36 +04:00
Liubov Dmitrieva
f36742ee7f
Inappropriate code style for Intel MPX at posix/fnmatch_loop.c. Fixed.
2013-10-23 19:07:36 +04:00
Liubov Dmitrieva
144b4bd88e
Inappropriate code style for Intel MPX at argp/argp-help.c. Fixed.
2013-10-23 19:07:36 +04:00
Liubov Dmitrieva
e5e177e61e
Inappropriate code style for Intel MPX. Expand bounds in crypt/crypt.c
2013-10-23 19:07:36 +04:00
Liubov Dmitrieva
aacd42d253
Inappropriate code style for Intel MPX in libio/fileops.c.
...
Use INIT (maximum) bounds as it is hard to rewrite the algorithm.
2013-10-23 19:07:35 +04:00
Liubov Dmitrieva
5dad50d824
Inappropriate code style for Intel MPX in elf/dl-close.c
...
A cast implies memory access with bounds violation.
Let allow that.
2013-10-23 19:07:35 +04:00
Liubov Dmitrieva
333921bb7b
Inappropriate code style for Intel MPX in crypt/crypt_util.c. Fixed.
2013-10-23 19:07:35 +04:00
Liubov Dmitrieva
ff922ed8bd
Inappropriate code style for Intel MPX. Fix missing of bounds in sysdeps/generic/unwind-dw2-fde.h
2013-10-23 19:07:35 +04:00
Liubov Dmitrieva
304c5527fb
Inappropriate code style for Intel MPX in debug/strcpy_chk.c Use different version if MPX enabled.
2013-10-23 19:07:35 +04:00
Liubov Dmitrieva
cc433f6343
If Intel MPX enabled: always compile with -fno-check-pointers file elf/dl-init.c
...
because this file contains the code excecuting before runtime library
initialization happens.
2013-10-23 19:07:35 +04:00
Liubov Dmitrieva
f1079a9d27
Add attribute __bnd_variable_size to make using flexible size arrays Intel MPX complient.
2013-10-23 19:07:35 +04:00
Liubov Dmitrieva
1ad69ea0d8
Use C code instead of inline assembler in macros of tls.h for i386 (for Intel MPX only).
2013-10-23 19:07:34 +04:00
Liubov Dmitrieva
6499e6a157
Use C code instead of inline assembler in macros of tls.h for x86_64 (for Intel MPX only).
2013-10-23 19:07:34 +04:00
Liubov Dmitrieva
acc53d3aea
Intel MPX support for mmap and mremap wrappers of syscalls for x86_32 and x86_64.
...
Create bounds.
Use C wrapper of syscall instead of assembler wrapper for x86_64.
2013-10-23 19:07:24 +04:00
Liubov Dmitrieva
805b4bcb83
Save/restore bounds in x86_64 and x86_32 version of _dl_runtime_resolve.
2013-10-23 18:14:58 +04:00
Liubov Dmitrieva
8c98301cfc
Add Intel MPX support to malloc allocator.
2013-10-23 18:14:57 +04:00
Liubov Dmitrieva
851ab32c89
Add --enable-mpx and --enable-mpx-write-only option to configure for Intel MPX support.
2013-10-23 18:14:51 +04:00
Joseph Myers
b7835e3223
Fix spurious jnf underflows (bug 14155).
2013-09-02 14:51:24 +00:00
Ondřej Bílka
8220f4f008
Fix typo.
2013-09-02 11:29:34 +02:00
Roland McGrath
b0350db974
Use sfi_* macros in armv6t2 strlen.
2013-08-30 11:16:52 -07:00
Roland McGrath
21bfcecf7a
Make armv6t2 strlen work in ARM mode too.
2013-08-30 10:43:39 -07:00
Ondřej Bílka
f24a6d086b
Fix then/than typos.
2013-08-30 18:10:31 +02:00
Ondřej Bílka
382466e04e
Fix typos.
2013-08-30 18:08:59 +02:00
Will Newton
6b06ac56cd
ARM: Fix clone code when built for Thumb.
...
The mov lr, pc instruction will lose the Thumb bit from the return address
so use blx lr instead.
ports/ChangeLog.arm:
2013-08-30 Will Newton <will.newton@linaro.org>
[BZ #15909 ]
* sysdeps/unix/sysv/linux/arm/clone.S (__clone): Use blx
instead of mov lr, pc.
2013-08-30 10:50:25 +01:00
Will Newton
2601bc1860
sysdeps/arm/armv6t2/strlen.S: strlen implementation for armv6t2.
...
This implementation of strlen is faster than the armv6 version for
all string lengths greater than 1 on a Cortex-A15.
ports/ChangeLog.arm:
2013-08-09 Will Newton <will.newton@linaro.org>
* sysdeps/arm/armv6t2/strlen.S: New file.
2013-08-30 10:04:57 +01:00
Ondřej Bílka
0186c6e97e
Fix rawmemchr regression on bulldozer.
2013-08-30 10:14:37 +02:00
Roland McGrath
99541e8077
Fix up ChangeLog formatting.
2013-08-29 14:15:45 -07:00
Ondřej Bílka
d4e16af1ae
Remove aix specific files.
2013-08-29 18:11:45 +02:00
Thomas Schwinge
8833598053
Hurd: Add ESUCCESS error_t value.
2013-08-29 12:22:30 +02:00
Samuel Thibault
ed479b02c2
Hurd: Use __executable_start symbol instead of _start.
...
_start points to the first instruction, not to the ELF header.
__executable_start does point on the ELF header.
2013-08-29 12:22:19 +02:00
Thomas Schwinge
d821f07c9e
Support ELFOSABI_GNU on all GNU systems.
2013-08-29 12:22:18 +02:00
Thomas Schwinge
c54290cf08
Use ELFOSABI_GNU instead of ELFOSABI_LINUX.
2013-08-29 12:22:17 +02:00
Thomas Schwinge
0007fc9bdd
[BZ #15522 ] strtod ("nan(N)") returning a sNaN in some cases
2013-08-29 12:22:10 +02:00
Thomas Schwinge
f1cc4c8654
math: Additional type conversion tests
...
These have helped me find and fix type conversion issues in QEMU's MIPS
hardware emulation. While certainly glibc is not the best place for such
tests, they're just an enhancement of tests already present.
2013-08-29 12:21:07 +02:00
Ondřej Bílka
6f65e66895
Fix typos.
2013-08-29 09:11:45 +02:00
Carlos O'Donell
d0721e703d
ARM: Pass dl_hwcap to IFUNC resolver.
...
For REL relocs pass dl_hwcap to the IFUNC resolver
as is required by the IFUNC API (bug 15905).
2013-08-29 00:20:35 -04:00
Siddhesh Poyarekar
3a30923983
Use __glibc_unlikely instead of __builtin_expect (..., 0)
2013-08-28 09:44:19 +05:30
Mike Frysinger
3b813b2965
[BZ #15897 ] dlfcn: do not mark dlopen/dlclose as leaf functions
...
Since the dlopen funcs might invoke a constructor that calls a func
that is in the same compilation unit as the caller, we cannot mark
them as leaf funcs.
Similarly, dlclose might invoke a destructor that calls a func that
is in the same compilation unit as the caller.
URL: https://sourceware.org/bugzilla/show_bug.cgi?id=15897
Reportedy-by: Fabrice Bauzac <libnoon@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-08-27 15:47:13 -04:00
Roland McGrath
7f9d003410
Clean up h_errno declaration to use __thread unconditionally.
2013-08-27 11:09:33 -07:00
Roland McGrath
fb431262c1
Clean up _res declaration to use __thread unconditionally.
2013-08-27 11:04:46 -07:00
Roland McGrath
bd81123a8b
Cope without sunrpc.
2013-08-27 10:59:57 -07:00
Roland McGrath
c4e42566cf
Don't try to use ioctl unless [FIONREAD].
2013-08-27 10:50:06 -07:00
Roland McGrath
f890a59b10
Mild decrufting in resolv code.
2013-08-27 10:49:36 -07:00
Roland McGrath
5d1f0a09f3
True stub __ifreq.
2013-08-27 10:42:52 -07:00
Roland McGrath
6fcf28b352
Clean up __libc_sa_len helper.
2013-08-27 10:34:16 -07:00
Roland McGrath
e041fb8b65
Replace generic bits/socket.h with 4.4 file.
2013-08-27 10:33:15 -07:00
Roland McGrath
8cc3269f95
Flesh out 4.4 bits/socket.h with SOCK_CLOEXEC, SOCK_NONBLOCK.
2013-08-27 10:32:30 -07:00
Andreas Schwab
45b8acccaf
Fix missing declaration of LC_CTYPE nonascii-case element
2013-08-27 12:21:12 +02:00