aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/s390
AgeCommit message (Collapse)AuthorFilesLines
2014-05-21Consistently use $(elf-objpfx).Joseph Myers1-1/+1
As previously noted <https://sourceware.org/ml/libc-alpha/2013-05/msg00696.html>, $(elf-objpfx) and $(elfobjdir) are redundant and should be consolidated. This patch consolidates on $(elf-objpfx) (for consistency with $(csu-objpfx)), also changing direct uses of $(common-objpfx)elf/ to use $(elf-objpfx). Tested x86_64, including that installed shared libraries are unchanged by the patch. * Makeconfig [$(build-hardcoded-path-in-tests) = yes] (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of $(common-objpfx)elf/. (link-libc-before-gnulib): Likewise. (elfobjdir): Remove variable. * Makefile (install): Use $(elf-objpfx) instead of $(common-objpfx)elf/. * Makerules (link-libc-args): Use $(elf-objpfx) instead of $(elfobjdir)/. (link-libc-deps): Likewise. ($(common-objpfx)libc.so): Likewise. ($(common-objpfx)linkobj/libc.so): Likewise. [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx) instead of $(common-objpfx)elf/. (symbolic-link-list): Likewise. * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules) [$(cross-compiling) = no]: Likewise. * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of $(elfobjdir)/. (static-gnulib-arch): Likewise. * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules) [$(cross-compiling) = no]: Use $(elf-objpfx) instead of $(common-objpfx)elf/. localedata/ChangeLog: * Makefile (LOCALEDEF): Use $(elf-objpfx) instead of $(common-objpfx)elf/.
2014-05-09S/390: Port of lock elision to System/zDominik Vogt2-0/+62
Added support for TX lock elision of pthread mutexes on s390 and s390x. This may improve lock scaling of existing programs on TX capable systems. The lock elision code is only built with --enable-lock-elision=yes and then requires a GCC version supporting the TX builtins. With lock elision default mutexes are elided via __builtin_tbegin, if the cpu supports transactions. By default lock elision is not enabled and the elision code is not built.
2014-04-16S/390: Regenerate ULPsStefan Liebler1-0/+1016
2014-04-16[BZ #14770] S/390: Require Binutils >= 2.24 for target S/390.Stefan Liebler2-0/+76
2014-04-11S/390: Unify 31 and 64 bit configure.acStefan Liebler4-12/+0
2014-03-24S390: Define SIZE_MAX as unsigned long (BZ #16712).Stefan Liebler2-0/+2
2014-03-05Don't include individual test ulps in libm-test-ulps.Joseph Myers1-22611/+0
As recently discussed <https://sourceware.org/ml/libc-alpha/2014-02/msg00670.html>, it doesn't seem particularly useful for libm-test-ulps files to contain huge amounts of data on ulps for individual tests; just the global maximum observed ulps for each function, together with the verification of exceptions, errno and special results such as infinities and NaNs for each test, suffices to verify that a function's behavior on the given test inputs is within the expected accuracy. Removing this data reduces source tree churn caused by updates to these files when libm tests are added, and reduces the frequency with which testsuite additions actually need libm-test-ulps changes at all. Accordingly, this patch removes that data, so that individual tests get checked against the global bounds for the given function and only generate an error if those are exceeded. Tested x86_64 (including verifying that if an ulps value is artificially reduced, the tests do indeed fail as they should and "make regen-ulps" generates the expected changes). * math/libm-test.inc (struct ulp_data): Don't refer to ulps for individual tests in comment. (libm-test-ulps.h): Don't refer to test_ulps in #include comment. (prev_max_error): New variable. (prev_real_max_error): Likewise. (prev_imag_max_error): Likewise. (compare_ulp_data): Don't refer to test names in comment. (find_test_ulps): Remove function. (find_function_ulps): Likewise. (find_complex_function_ulps): Likewise. (init_max_error): Take function name as argument. Look up ulps for that function. (print_ulps): Remove function. (print_max_error): Use prev_max_error instead of calling find_function_ulps. (print_complex_max_error): Use prev_real_max_error and prev_imag_max_error instead of calling find_complex_function_ulps. (check_float_internal): Take max_ulp parameter instead of calling find_test_ulps. Don't call print_ulps. (check_float): Update call to check_float_internal. (check_complex): Update calls to check_float_internal. (START): Pass argument to init_max_error. * math/gen-libm-test.pl (%results): Don't include "kind" information. (parse_ulps): Don't handle ulps of individual tests. (print_ulps_file): Likewise. (output_ulps): Likewise. * math/README.libm-test: Update. * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of individual tests. * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps. * sysdeps/alpha/fpu/libm-test-ulps: Likewise. * sysdeps/arm/libm-test-ulps: Likewise. * sysdeps/i386/fpu/libm-test-ulps: Likewise. * sysdeps/ia64/fpu/libm-test-ulps: Likewise. * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise. * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise. * sysdeps/microblaze/libm-test-ulps: Likewise. * sysdeps/mips/mips32/libm-test-ulps: Likewise. * sysdeps/mips/mips64/libm-test-ulps: Likewise. * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise. * sysdeps/s390/fpu/libm-test-ulps: Likewise. * sysdeps/sh/libm-test-ulps: Likewise. * sysdeps/sparc/fpu/libm-test-ulps: Likewise. * sysdeps/tile/libm-test-ulps: Likewise. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. * sysdeps/hppa/fpu/libm-test-ulps: Remove individual test ulps.
2014-02-25S/390: Regenerate ULPs.Stefan Liebler1-30/+4666
2014-02-11BZ #16447: Fix ldbl-128 expl implementation.Andreas Krebbel1-0/+3
Extend the range of numbers handled via unsafe mode. Add expl testcase and regenerate ULPs for s390.
2014-02-10Use glibc_likely instead __builtin_expect.Ondřej Bílka6-49/+49
2014-01-16s390: implement sotruss supportMike Frysinger1-0/+62
See commit 41b1792698a335d3a85381921a84a16e9635f36a for testcase. Note: while this works on s390x, the s390 code hangs when using -e. But it hangs regardless of this code (the hang seems to occur before the exit func is even called). I didn't look too closely at it as it seems to be an issue external to this file, so this code shouldn't make the situation any worse. Reviewed-by: Carlos O'Donell <carlos@redhat.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2014-01-15S/390: Regenerate ULPs.Andreas Krebbel1-1139/+9960
2014-01-07S/390: Remove __tls_get_addr argument cast.Andreas Krebbel1-1/+1
2014-01-07S/390: Get rid of unused variable warning in dl-machine.hAndreas Krebbel1-1/+2
2014-01-07S/390: Make ucontext_t extendible.Andreas Krebbel2-0/+11
2014-01-07S/390: Make jmp_buf extendible.Andreas Krebbel16-18/+490
2014-01-01Update copyright notices with scripts/update-copyrightsAllan McRae105-105/+105
2013-11-29[BZ #16214] S/390: Fix TLS GOT pointer setup.Andreas Krebbel4-18/+47
2013-11-28Fix dbl-64 e_sqrt.c for non-default rounding modes (bug 16271).Joseph Myers1-0/+1
2013-10-30rename configure.in to configure.acMike Frysinger4-2/+2
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-09-23BZ #15754: CVE-2013-4788Carlos O'Donell2-0/+25
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-20Make __ffs hiddenAndreas Schwab1-0/+1
2013-08-30Fix typos.Ondřej Bílka1-1/+1
2013-07-22S/390: ULPs update.Andreas Krebbel1-141/+6285
2013-06-28Add GLRO(dl_hwcap2) for new AT_HWCAP2 auxv_t a_type.Ryan S. Arnold1-1/+1
2013-06-05Remove trailing whitespace.Joseph Myers2-4/+4
2013-05-29Avoid crashing in LD_DEBUG when program name is unavailableSiddhesh Poyarekar2-4/+2
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-22Don't include expected results in libm-test test names.Joseph Myers1-750/+750
2013-05-19Handle sincos with generic libm-test logic.Joseph Myers1-7/+7
2013-04-06s390/s390x: Undef PSEUDO before redef.Carlos O'Donell2-0/+2
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. Notes: Added ChangeLog with this commit: b7a329a5614d9001abcc3300a3da548a0865a3ac
2013-03-05S/390: Use attribute_hidden in ifunc-resolve.cAndreas Krebbel2-6/+6
2013-02-21S/390: Fix _dl_runtime_profile for 32 bit.Andreas Krebbel1-5/+11
2013-02-18S/390: Fix _dl_runtime_profileAndreas Krebbel1-32/+38
2013-01-23S/390: Fix setjmp/longjmp FPR save/restoreAndreas Krebbel3-9/+17
2013-01-11Remove __GLIBC_HAVE_LONG_LONG.Joseph Myers1-1/+1
2013-01-10Use __extension__ with long long in installed headers.Joseph Myers1-0/+1
2013-01-09Update s390 ULPsSiddhesh Poyarekar1-66/+185
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers105-107/+105
2012-12-21S/390: Update libm-test-ulps.Andreas Krebbel1-62/+839
2012-12-08Fix some build warnings on s390xSiddhesh Poyarekar4-7/+7
2012-11-08S/390: Add hwcap value for transactional execution.Andreas Krebbel2-3/+6
2012-11-07S/390: Sync AUXV capabilities and archs with kernelAndreas Krebbel1-4/+4
2012-11-05Fix S/390 bits/fenv.h namespace use (bug 14801).Joseph Myers4-12/+12
2012-11-03Make fma use of Dekker and Knuth algorithms use round-to-nearest (bug 14796).Joseph Myers1-1/+2
2012-11-03Make fenv.h FE_* macros usable in #if (bug 3439).Joseph Myers1-18/+27
2012-10-09Add missing magic to GLIBC_PROVIDES.Roland McGrath2-0/+2
2012-09-12Make strtod respect the rounding mode (bug 14518).Joseph Myers1-0/+37
2012-09-06S/390: Fix optimized mem* running on 31 bit kernels.Andreas Krebbel5-7/+8
2012-09-03S/390: Make IFUNC optimized mem* functions hidden.Andreas Krebbel2-6/+10
2012-08-02Get rid of ASM_TYPE_DIRECTIVE{,_PREFIX}.Marek Polacek4-10/+6