Andreas Krebbel
c20d5bf509
S/390: Regenerate ULPs.
2014-01-15 09:49:54 +01:00
Andreas Krebbel
87ded0c382
S/390: Remove __tls_get_addr argument cast.
2014-01-07 09:42:23 +01:00
Andreas Krebbel
c5eebdd084
S/390: Get rid of unused variable warning in dl-machine.h
2014-01-07 09:42:23 +01:00
Andreas Krebbel
05d138ef07
S/390: Make ucontext_t extendible.
2014-01-07 09:42:23 +01:00
Andreas Krebbel
93a45ff1ca
S/390: Make jmp_buf extendible.
2014-01-07 09:36:31 +01:00
Allan McRae
d4697bc93d
Update copyright notices with scripts/update-copyrights
2014-01-01 22:00:23 +10:00
Andreas Krebbel
acd98a8ed1
[BZ #16214 ] S/390: Fix TLS GOT pointer setup.
2013-11-29 09:57:04 +01:00
Joseph Myers
3c1c46a64a
Fix dbl-64 e_sqrt.c for non-default rounding modes (bug 16271).
2013-11-28 16:50:38 +00:00
Mike Frysinger
cb8a6dbd17
rename configure.in to configure.ac
...
Autoconf has been deprecating configure.in for quite a long time.
Rename all our configure.in and preconfigure.in files to .ac.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-10-30 17:32:08 +10:00
Carlos O'Donell
c61b4d41c9
BZ #15754 : CVE-2013-4788
...
The pointer guard used for pointer mangling was not initialized for
static applications resulting in the security feature being disabled.
The pointer guard is now correctly initialized to a random value for
static applications. Existing static applications need to be
recompiled to take advantage of the fix.
The test tst-ptrguard1-static and tst-ptrguard1 add regression
coverage to ensure the pointer guards are sufficiently random
and initialized to a default value.
2013-09-23 00:52:09 -04:00
Andreas Schwab
5bb43a4319
Make __ffs hidden
2013-09-20 21:25:31 +02:00
Ondřej Bílka
382466e04e
Fix typos.
2013-08-30 18:08:59 +02:00
Andreas Krebbel
a8fc7a03a8
S/390: ULPs update.
2013-07-22 09:51:52 +02:00
Ryan S. Arnold
1ae8bfe07c
Add GLRO(dl_hwcap2) for new AT_HWCAP2 auxv_t a_type.
2013-06-28 16:50:48 -05:00
Joseph Myers
9c84384cc1
Remove trailing whitespace.
2013-06-05 20:44:03 +00:00
Siddhesh Poyarekar
b937534868
Avoid crashing in LD_DEBUG when program name is unavailable
...
Resolves : #15465
The program name may be unavailable if the user application tampers
with argc and argv[]. Some parts of the dynamic linker caters for
this while others don't, so this patch consolidates the check and
fallback into a single macro and updates all users.
2013-05-29 21:34:12 +05:30
Joseph Myers
b50a71810b
Don't include expected results in libm-test test names.
2013-05-22 11:49:36 +00:00
Joseph Myers
db62a90753
Handle sincos with generic libm-test logic.
2013-05-19 14:45:41 +00:00
Carlos O'Donell
24116fcdbe
s390/s390x: Undef PSEUDO before redef.
...
The s390 and s390x sysdep.h files include the more generic sysdep.h.
The more generic sysdep.h defines PSEUDO. This causes an annoying
CPP warning saying the PSEUDO was redefined. This patch removes the
warning by undefining PSEUDO before the redefinition. This is in line
with what all the other machines do.
---
2013-04-06 Carlos O'Donell <carlos@redhat.com>
* sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
* sysdeps/s390/s390-64/sysdep.h: Likewise.
2013-04-06 10:53:54 -04:00
Andreas Krebbel
5f67c04f5e
S/390: Use attribute_hidden in ifunc-resolve.c
2013-03-05 13:19:03 +01:00
Andreas Krebbel
e21d7aa71c
S/390: Fix _dl_runtime_profile for 32 bit.
2013-02-21 09:47:55 +01:00
Andreas Krebbel
f78b5caa6e
S/390: Fix _dl_runtime_profile
2013-02-18 10:29:40 +01:00
Andreas Krebbel
bc101e2652
S/390: Fix setjmp/longjmp FPR save/restore
2013-01-23 10:00:24 +01:00
Joseph Myers
6a57d93130
Remove __GLIBC_HAVE_LONG_LONG.
2013-01-11 21:13:25 +00:00
Joseph Myers
828beb132d
Use __extension__ with long long in installed headers.
2013-01-10 20:19:45 +00:00
Siddhesh Poyarekar
b5792741c8
Update s390 ULPs
2013-01-09 21:03:06 +05:30
Joseph Myers
568035b787
Update copyright notices with scripts/update-copyrights.
2013-01-02 19:05:09 +00:00
Andreas Krebbel
a8ebb2b9d2
S/390: Update libm-test-ulps.
2012-12-21 06:24:27 +01:00
Siddhesh Poyarekar
56e7d3ad5c
Fix some build warnings on s390x
2012-12-08 13:03:24 +05:30
Andreas Krebbel
d0f8457e6b
S/390: Add hwcap value for transactional execution.
2012-11-08 09:53:00 +01:00
Andreas Krebbel
0ab234b7db
S/390: Sync AUXV capabilities and archs with kernel
2012-11-07 08:52:30 +01:00
Joseph Myers
99252c8c62
Fix S/390 bits/fenv.h namespace use (bug 14801).
2012-11-05 13:16:07 +00:00
Joseph Myers
5b5b04d628
Make fma use of Dekker and Knuth algorithms use round-to-nearest (bug 14796).
2012-11-03 19:48:53 +00:00
Joseph Myers
fbeafedeea
Make fenv.h FE_* macros usable in #if (bug 3439).
2012-11-03 17:07:56 +00:00
Roland McGrath
b8493de0ec
Add missing magic to GLIBC_PROVIDES.
2012-10-09 15:41:30 -07:00
Joseph Myers
6c9b0f6826
Make strtod respect the rounding mode (bug 14518).
2012-09-12 23:36:19 +00:00
Andreas Krebbel
14c996c83b
S/390: Fix optimized mem* running on 31 bit kernels.
2012-09-06 10:28:52 +02:00
Andreas Krebbel
511fa2864a
S/390: Make IFUNC optimized mem* functions hidden.
2012-09-03 14:08:52 +02:00
Marek Polacek
b67e9372b2
Get rid of ASM_TYPE_DIRECTIVE{,_PREFIX}.
2012-08-02 21:04:29 +02:00
Joseph Myers
3129cfc6ec
Move testsuite audit definitions to sysdeps tst-audit.h files.
2012-07-26 11:29:07 +00:00
Joseph Myers
56e49b714e
Move ldsodefs.h audit definitions to sysdeps directories.
2012-07-25 16:03:02 +00:00
Andreas Krebbel
08f43f9bbf
S/390: Add support for STT_GNU_IFUNC symbols.
...
Add support for STT_GNU_IFUNC symbols and the new R_390_IRELATIVE
relocation. Provide optimized version of memcpy, memset, and memcmp
for z10 and z196.
2012-07-19 15:46:34 +02:00
Marek Polacek
3b05db33f6
Remove TLS configure checks.
2012-07-17 23:57:43 +02:00
Joseph Myers
cfc82fd8ac
Split tls-macros.h into sysdeps directories.
2012-07-17 11:30:58 +00:00
Marek Polacek
7b8e0d49cb
Get rid of ASM_GLOBAL_DIRECTIVE.
2012-07-10 14:30:24 +02:00
Andreas Jaeger
ed3dbfad77
Update s390 ULPs file
2012-06-25 10:28:03 +02:00
Andreas Jaeger
2174c6dd85
Avoid -Wconversion warning for htons
2012-06-21 15:49:33 +02:00
Joseph Myers
795405f956
Don't include exceptions in libm-test-ulps test names.
2012-05-24 12:14:03 +00:00
Joseph Myers
a9538892ad
Split up stackguard-macros.h into sysdeps directories.
2012-05-15 23:34:30 +00:00
Andreas Krebbel
5197d9c2b4
Update s390 libm-test-ulps
2012-05-04 10:05:41 +02:00
Andreas Jaeger
7c0616faf5
Remove last distribute variable
...
make dist support has been removed, remove the last remains of it.
2012-04-21 20:38:10 +02:00
H.J. Lu
f8887d0a5f
Add byteswap-16.h for __bswap_16
2012-04-06 15:14:52 -07:00
David S. Miller
993eb0541c
Reduce down to one definition of _ELF_DYNAMIC_DO_RELOC.
...
* elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
definition.
* sysdeps/powerpc/powerpc32/dl-machine.h
(ELF_MACHINE_PLTREL_OVERLAP): Delete.
* sysdeps/s390/s390-32/dl-machine.h
(ELF_MACHINE_PLTREL_OVERLAP): Likewise.
* sysdeps/sparc/sparc32/dl-machine.h
(ELF_MACHINE_PLTREL_OVERLAP): Likewise.
* sysdeps/sparc/sparc64/dl-machine.h
(ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2012-04-05 15:28:37 -07:00
Andreas Jaeger
b1aa60f32d
Add __bswap_64 definition for non GCC compilers.
...
[BZ#13926]
Currently __bswap_64 is not defined at all for non-GCC compilers.
Define it but guard it with __GLIBC_HAVE_LONG_LONG.
endian.h uses __bswap_64, make the functions only available
if __GLIBC_HAVE_LONG_LONG is defined.
2012-04-03 09:13:59 +02:00
Andreas Jaeger
bdc6f13012
Fix whitespace
2012-03-28 10:00:15 +02:00
Andreas Jaeger
51d8bb8f3b
Regenerate configure files
2012-03-28 09:37:58 +02:00
Andreas Jaeger
492e01c879
Move sysdeps/s390/s390-64/elf files
...
* sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
* sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
* sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
* sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
* sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
* sysdeps/s390/s390-64/setjmp.S: ... here.
* sysdeps/s390/s390-64/elf/configure.in: Moved to ...
* sysdeps/s390/s390-64/configure.in: ... here
* sysdeps/s390/s390-64/elf/configure: Delete file.
* sysdeps/s390/s390-64/elf/start.S: Moved to ...
* sysdeps/s390/s390-64/start.S: ... here.
* sysdeps/s390/s390-64/elf/configure: Delete.
2012-03-28 09:31:29 +02:00
Andreas Jaeger
bbaf00a652
Move sysdeps/s390/s390-32/elf files
...
* sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
* sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
* sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
* sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
* sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
* sysdeps/s390/s390-32/setjmp.S: ... here.
* sysdeps/s390/s390-32/elf/configure.in: Moved to ...
* sysdeps/s390/s390-32/configure.in: ... here.
* sysdeps/s390/s390-32/elf/configure: Delete file.
* sysdeps/s390/s390-32/elf/start.S: Moved to ...
* sysdeps/s390/s390-32/start.S: ... here.
2012-03-28 09:31:13 +02:00
Richard Henderson
e3b69ca7d1
s390: Convert to crt[in].S.
2012-02-16 09:24:19 -08:00
Paul Eggert
59ba27a63a
Replace FSF snail mail address with URLs.
2012-02-09 23:18:22 +00:00
Marek Polacek
622c86f480
Remove __ELF__ conditionals
2012-02-07 00:41:11 +01:00
Joseph Myers
965a54a4ee
Remove __STDC__ conditionals from non-installed headers.
2012-01-26 23:31:37 +00:00
Ulrich Drepper
a0da5fe1e4
More fallout from supporting only ELF
2012-01-08 00:45:01 -05:00
Ulrich Drepper
a784e50247
Remove pre-ISO C support
...
No more __const.
2012-01-07 23:57:22 -05:00
Ulrich Drepper
0269750ca6
Remove non-ELF support
2012-01-07 20:30:26 -05:00
Ulrich Drepper
67371b5666
Prevent warnings due to long long constants
2011-12-23 13:52:59 -05:00
Andreas Schwab
b5f44c1ad9
Adjust libm test ulps for s390
2011-11-30 14:14:42 +01:00
Andreas Schwab
349290c00a
Adjust s390 libm ULPs
2011-10-14 11:41:06 +02:00
Ulrich Drepper
0ac5ae2335
Optimize libm
...
libm is now somewhat integrated with gcc's -ffinite-math-only option
and lots of the wrapper functions have been optimized.
2011-10-12 11:27:51 -04:00
Andreas Schwab
3a62d00d40
Don't call ifunc functions in trace mode
2011-10-05 14:35:40 +02:00
Ulrich Drepper
83cd142045
Remove --wth-tls option, TLS support is required
2011-09-11 15:02:01 -04:00
Ulrich Drepper
d063d16433
Remove support for !USE___THREAD
2011-09-10 16:50:28 -04:00
Ulrich Drepper
c0cfb5eb3d
Fix for installation in sysdeps/s390/s390-64/Makefile
2011-07-06 21:38:49 -04:00
Andreas Krebbel
2739047682
Use .machine to prevent AS from complaining about z9-109 instructions in iconv modules
2011-04-17 20:43:59 -04:00
Andreas Krebbel
1044270502
Skip extra zeroes when searching auxv on s390
2011-04-17 20:41:45 -04:00
Ulrich Drepper
e6c6149412
Fix memory leak in TLS of loaded objects.
2011-04-10 22:43:01 -04:00
Ryan S. Arnold
30950a5fd2
Make PowerPC64 default to nonexecutable stack
2010-12-19 22:49:01 -05:00
Jakub Jelinek
5e908464b9
Implement accurate fma.
2010-10-13 22:27:03 -04:00
Jakub Jelinek
9ff8d36f27
Correct implementation of fmaf.
2010-10-11 09:27:05 -04:00
Andreas Krebbel
87a97932bd
S/390: Fix highgprs check in startup code
2010-09-29 11:31:42 -04:00
Andreas Schwab
7291c56f9d
Fix register conflict in s390 ____longjmp_chk
2010-09-15 07:38:19 -07:00
Andreas Krebbel
a3dc465852
S/390: Disable two UTF conversion instructions
2010-02-11 07:22:58 -08:00
Andreas Schwab
7eb22e757e
Avoid PLT call to fegetenv on s390
2010-02-09 22:34:17 -08:00
Andreas Krebbel
7760ccced8
/390: Add runtime check for the highgprs kernel feature.
2010-01-15 09:10:44 -08:00
Martin Schwidefsky
caf512dec2
Implement handling of the needed S390 relocations.
2009-12-22 08:34:07 -08:00
Andreas Krebbel
406300d20a
Add even more cfi to s390 asm files.
2009-12-07 17:27:45 -08:00
Roland McGrath
7967983fd4
configure tweaks, support $libc_add_on_config_subdirs
2009-09-15 14:14:42 -07:00
Jakub Jelinek
6dfeb5245b
Fix __longjmp_chk on s390/s390x.
...
s390/s390x hasn't been updated to handle alternate stacks properly.
2009-09-08 16:00:25 -07:00
Ulrich Drepper
7c36ced067
More white space fixes.
2009-07-24 08:34:47 -07:00
Ulrich Drepper
89749d1970
White space fixes in last checkin.
2009-07-24 08:32:47 -07:00
Andreas Krebbel
f957edded8
S/390: Hardware iconv modules.
2009-07-24 08:29:06 -07:00
Ulrich Drepper
b8bb339f7d
Implement longjmp checking for s390.
2009-05-29 11:58:04 -07:00
Jakub Jelinek
d82a27f841
* stdlib/monetary.h: Uglify function parameter names.
...
* sunrpc/rpc/pmap_clnt.h: Likewise.
* sunrpc/rpc/svc.h: Likewise.
* sunrpc/rpc/xdr.h: Likewise.
* sunrpc/rpc/clnt.h: Likewise.
* resolv/netdb.h: Likewise.
* resolv/arpa/nameser.h: Likewise.
* resolv/resolv.h: Likewise.
* argp/argp.h: Likewise.
* locale/langinfo.h: Likewise.
* io/sys/stat.h: Likewise.
* posix/spawn.h: Likewise.
* nis/rpcsvc/nislib.h: Likewise.
* malloc/obstack.h: Likewise.
* sysdeps/ia64/bits/link.h: Likewise.
* sysdeps/i386/bits/link.h: Likewise.
* sysdeps/s390/bits/link.h: Likewise.
* sysdeps/powerpc/bits/link.h: Likewise.
* sysdeps/x86_64/bits/link.h: Likewise.
* sysdeps/sparc/bits/link.h: Likewise.
* sysdeps/sh/bits/link.h: Likewise.
* sysdeps/unix/sysv/linux/i386/sys/io.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sys/io.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Likewise.
* sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2009-02-16 Jakub Jelinek <jakub@redhat.com>
* stdlib/monetary.h: Uglify function parameter names.
* sunrpc/rpc/pmap_clnt.h: Likewise.
* sunrpc/rpc/svc.h: Likewise.
* sunrpc/rpc/xdr.h: Likewise.
* sunrpc/rpc/clnt.h: Likewise.
* resolv/netdb.h: Likewise.
* resolv/arpa/nameser.h: Likewise.
* resolv/resolv.h: Likewise.
* argp/argp.h: Likewise.
* locale/langinfo.h: Likewise.
* io/sys/stat.h: Likewise.
* posix/spawn.h: Likewise.
* nis/rpcsvc/nislib.h: Likewise.
* malloc/obstack.h: Likewise.
* sysdeps/ia64/bits/link.h: Likewise.
* sysdeps/i386/bits/link.h: Likewise.
* sysdeps/s390/bits/link.h: Likewise.
* sysdeps/powerpc/bits/link.h: Likewise.
* sysdeps/x86_64/bits/link.h: Likewise.
* sysdeps/sparc/bits/link.h: Likewise.
* sysdeps/sh/bits/link.h: Likewise.
* sysdeps/unix/sysv/linux/i386/sys/io.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sys/io.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Likewise.
* sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2009-02-16 21:00:15 +00:00
Jakub Jelinek
01bd5e96f7
* sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_profile): Use the
...
correct instruction to remove the stack frame.
2008-11-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_profile): Use the
correct instruction to remove the stack frame.
2008-11-07 15:22:34 +00:00
Jakub Jelinek
a90695507e
* sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_32_acq,
...
__arch_compare_and_exchange_val_64_acq): Add "memory" clobber.
2008-11-03 Michael Matz <matz@suse.de>
* sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_32_acq,
__arch_compare_and_exchange_val_64_acq): Add "memory" clobber.
2008-11-07 15:18:47 +00:00
Ulrich Drepper
1c5eba39f6
* sysdeps/s390/s390-64/s390x-mcount.S: Replace ahi with aghi.
...
* sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2008-09-23 17:17:42 +00:00
Ulrich Drepper
2f9a1be867
[BZ #6442 ]
...
* string/endian.h: Add macros for fixed-size endian conversion.
* bits/byteswap.h: Allow inclusion from <endian.h>.
* sysdeps/i386/bits/byteswap.h: Likewise.
* sysdeps/ia64/bits/byteswap.h: Likewise.
* sysdeps/s390/bits/byteswap.h: Likewise.
* sysdeps/x86_64/bits/byteswap.h: Likewise.
* string/Makefile (tests): Add tst-endian.
* string/tst-endian.c: New file.
2008-05-15 02:54:33 +00:00
Ulrich Drepper
87b9b50f0d
* sysdeps/s390/fpu/fegetenv.c (fegetenv): Remove PTRACE_PEEKUSER
...
ptrace call to get the ieee_instruction_pointer from the kernel.
* sysdeps/s390/fpu/fesetenv.c (fesetenv): Remove PTRACE_POKEUSER
ptrace call to set the ieee_instructtion_pointer.
* sysdeps/unix/sysv/linux/s390/sys/user.h (struct _user_regs_struct):
Add comment that ieee_instruction_pointer is always 0.
2008-03-24 20:01:15 +00:00
Ulrich Drepper
a78814a99a
[BZ #5477 ]
...
2007-12-12 Jakub Jelinek <jakub@redhat.com>
* sysdeps/i386/i486/bits/string.h (memmove): Define as macro.
(memmove): Rename to __memmove_g, with __asm__ ("memmove").
* sysdeps/s390/bits/string.h (__strlen_g, __strcpy_g, __strncpy_g,
__strcat_g, __strncat_g): Add __asm__.
2007-12-12 Ulrich Drepper <drepper@redhat.com>
[BZ #5477 ]
* io/fchmodat.c: Fix typo in stub_warning use.
Patch by Petr Salinger.
2007-12-12 18:03:27 +00:00
Ulrich Drepper
37143323d8
* sysdeps/s390/bits/string.h (strlen, strcpy, strncpy, strcat,
...
strncat): Define as macros to avoid compile errors.
2007-11-23 15:21:46 +00:00