aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sparc
AgeCommit message (Collapse)Author
2012-02-21Update long-double sparc math ULPs missed by previous changes.David S. Miller
* sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates. * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2012-02-20Tweak sparc32 longjmp to not store a dummy frame pointer onto the stack.David S. Miller
* sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path using a normal save/restore sequence, rather than allocating a dummy stack frame just to store a frame pointer and restore. * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2012-02-20Use PI_STATIC_AND_HIDDEN on sparc if we universally use GOTDATA relocs.David S. Miller
* sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if both binutils and gcc support GOTDATA.
2012-02-20Use sparc GOTDATA relocations whenever possible.David S. Miller
* sysdeps/sparc/crti.S: Try to use GOTDATA relocs. * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise. * sysdeps/sparc/sparc32/elf/start.S: Likewise. * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise. * sysdeps/sparc/sparc64/elf/start.S: Likewise. * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise. * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (SYSCALL_ERROR_HANDLER): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (SYSCALL_ERROR_HANDLER): Likewise.
2012-02-20Add sparc configure checks for GOTDATA support.David S. Miller
* config.h.in (HAVE_BINUTILS_GOTDATA): New. (HAVE_GCC_GOTDATA): New. * sysdeps/sparc/elf/configure.in: Test for GOTDATA relocation support in both binutils and gcc. * sysdeps/sparc/elf/configure: Regenerate.
2012-02-20Consolidate Sparc ELF configure fragments to one spot.David S. Miller
* sysdeps/sparc/sparc32/elf/configure.in: Delete. * sysdeps/sparc/sparc32/elf/configure: Delete. * sysdeps/sparc/sparc64/elf/configure.in: Delete. * sysdeps/sparc/sparc64/elf/configure: Delete. * sysdeps/sparc/elf/configure.in: New file. * sysdeps/sparc/elf/configure: Generate.
2012-02-20Remove sparc WDISP22 configure checks, no longer used.David S. Miller
* sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check. * sysdeps/sparc/sparc32/elf/configure: Regenerate. * sysdeps/sparc/sparc64/elf/configure.in: Likewise. * sysdeps/sparc/sparc64/elf/configure: Regenerate. * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2012-02-20Resort ULPs files with gen-libm-test.pl -n in C locale.Joseph Myers
2012-02-20Adjust SPARC ULPs to take into account the new jn tests.Aurelien Jarno
2012-02-18Rework sparc PIC macros so crt{i,n}.S can use them too.David S. Miller
* sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro. (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore %o7 across the call. (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro instead. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use SETUP_PIC_REG_LEAF. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. * sysdeps/sparc/crti.S: Use SETUP_PIC_REG. * sysdeps/sparc/crtn.S: Likewise.
2012-02-16Move sparc away from the deprecated inifini.c scheme.David S. Miller
/ * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S * sysdeps/sparc/crti.S: New file. * sysdeps/sparc/crtn.S: New file. * sysdeps/sparc/sparc32/Makefile: Remove initfini handling. * sysdeps/sparc/sparc64/Makefile: Likewise. nptl/ * sysdeps/sparc/Makefile: Add -fPIC when building pt-crti.S and crtn.S
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert
2012-01-31Always define float_t as float for PowerPC, SH and SPARC.Joseph Myers
2012-01-26Remove __STDC__ conditionals from installed headers.Joseph Myers
2012-01-08More fallout from supporting only ELFUlrich Drepper
2012-01-07Remove pre-ISO C supportUlrich Drepper
No more __const.
2011-10-12Optimize libmUlrich Drepper
libm is now somewhat integrated with gcc's -ffinite-math-only option and lots of the wrapper functions have been optimized.
2011-10-05Don't call ifunc functions in trace modeAndreas Schwab
2011-09-11Remove --wth-tls option, TLS support is requiredUlrich Drepper
2011-09-10Remove support for !USE___THREADUlrich Drepper
2011-09-08Remove support for automatic cvs check-insUlrich Drepper
CVS use for glibc is long gone.
2011-09-05Fixes and optimizations for 32-bit sparc fabs*().David S. Miller
2011-09-01Sanitize HWCAP_SPARC_* defines/usage, and add new entries.David S. Miller
2011-08-24Rewritten v9/64-bit sparc strcmp.David S. Miller
2011-08-23Fix jmpbuf unwind checks on sparc64.David S. Miller
2011-06-20Add an elf_ifunc_invoke interface so that architectures can implementDavid S. Miller
the ifunc resolver calls however they wish.
2011-06-07sparc: Fix LD_BIND_NOW with multiarch.David S. Miller
2011-04-10Fix memory leak in TLS of loaded objects.Ulrich Drepper
2011-03-10sparc64: Relax tls linking test.Mike Frysinger
2011-03-03Fix sparc64 bzero on non-Niagara systems.David S. Miller
2010-12-19Make PowerPC64 default to nonexecutable stackRyan S. Arnold
2010-10-11Correct implementation of fmaf.Jakub Jelinek
2010-03-09sparc: Optimize strlen using techniques from powerpc implementation.David S. Miller
2010-03-09sparc32: Fix non-v9 build failure in memcpy.David S. Miller
2010-03-09sparc64: Fix handling of R_SPARC_TLS_LE_* relocations.David S. Miller
2010-03-04sparc32: Remove unused code.David S. Miller
2010-03-04 David S. Miller <davem@davemloft.net> * sysdeps/sparc/sparc32/sparcv8/udiv_qrnnd.S: Delete. * sysdeps/sparc/sparc32/udiv_qrnnd.S: Delete.
2010-03-04sparc64: Use dbl-64/wordsize-64 math lib code.David S. Miller
* sysdeps/sparc/sparc64/Implies: Add ieee754/dbl-64/wordsize-64 entry.
2010-03-03sparc: Use ba,a,pt in PLTs and fix bugs in R_SPARC_JMP_IREL handling.David S. Miller
2010-03-03 David S. Miller <davem@davemloft.net> * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_lazy_rel): Must pass '1' for 't' argument to sparc_fixup_plt. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_lazy_rel): Likewise. * sysdeps/sparc/sparc32/dl-plt.h (OPCODE_BA_PT): Define. (sparc_fixup_plt): Document 't' argument. Enable branch optimization and use v9 branches when possible. Explain why we cannot unconditionally patch the branch into the first PLT instruction. * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Document 't' argument. Use v9 branches when possible. Explain why we can in fact unconditionally use a branch in the first PLT instruction here.
2010-02-25sparc: Add multiarch support for memset/bzero/memcpy.davem/sparcDavid S. Miller
2010-02-25 David S. Miller <davem@davemloft.net> * sysdeps/sparc/elf/rtld-global-offsets.sym: New file. * sysdeps/sparc/Makefile (csu): Add rtld-global-offsets.sym to gen-as-const-headers. * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: New file. * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: New file. * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: New file. * sysdeps/sparc/sparc32/sparcv9/sparcv9b/memcpy.S: Move to... * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra3.S: ...here. * sysdeps/sparc/sparc32/sparcv9/sparcv9v/memcpy.S: Move to... * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara1.S: ...here. * sysdeps/sparc/sparc32/sparcv9/sparcv9v/memset.S: Move to... * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara1.S: ...here. * sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memcpy.S: Move to... * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara2.S: ...here. * sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memset.S: Removed. * sysdeps/sparc/sparc64/multiarch/Makefile: New file. * sysdeps/sparc/sparc64/sparcv9v/memcpy.S: Move to... * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: ...here. * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S: Move to... * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: ...here. * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Move to... * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: ...here. * sysdeps/sparc/sparc64/sparcv9v/memset.S: Move to... * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: ...here. * sysdeps/sparc/sparc64/sparcv9v2/memset.S: Removed. * sysdeps/sparc/sparc64/multiarch/memcpy.S: New file. * sysdeps/sparc/sparc64/multiarch/memset.S: New file.
2010-02-25sparc: Pull bcopy/memmove out of memcpy.S implementations.David S. Miller
2010-02-25 David S. Miller <davem@davemloft.net> * sysdeps/sparc/sparc32/bcopy.c: Delete. * sysdeps/sparc/sparc32/memmove.c: Delete. * sysdeps/sparc/sparc32/sparcv9/bcopy.c: Delete. * sysdeps/sparc/sparc32/sparcv9/memmove.c: Delete. * sysdeps/sparc/sparc64/bcopy.c: Delete. * sysdeps/sparc/sparc64/memmove.c: Delete. * sysdeps/sparc/sparc64/memcopy.h: New. * sysdeps/sparc/sparc32/memcpy.S (bcopy, memmove): Remove. * sysdeps/sparc/sparc64/memcpy.S (bcopy, memmove): Likewise. * sysdeps/sparc/sparc64/sparcv9b/memcpy.S (bcopy, memmove): Likewise. * sysdeps/sparc/sparc64/sparcv9v/memcpy.S (bcopy, memmove): Likewise. * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S (bcopy, memmove): Likewise.
2010-02-25sparc: Reimplement 64-bit aligned copy routines and remove from memcpy files.David S. Miller
2010-02-25 David S. Miller <davem@davemloft.net> * sysdeps/sparc/sparc64/Makefile: Add align-cpy rule. * sysdeps/sparc/sparc64/align-cpy.S: New. * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_1, __align_cpy_2, __align_cpy_4, __align_cpy_8, __align_cpy_16): Remove. * sysdeps/sparc/sparc64/sparcv9b/memcpy.S (__align_cpy_1, __align_cpy_2, __align_cpy_4, __align_cpy_8, __align_cpy_16): Remove. * sysdeps/sparc/sparc64/sparcv9v/memcpy.S (__align_cpy_1, __align_cpy_2, __align_cpy_4, __align_cpy_8, __align_cpy_16): Remove. * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S (__align_cpy_1, __align_cpy_2, __align_cpy_4, __align_cpy_8, __align_cpy_16): Remove.
2010-02-20sparc: Fix v9 memchr with long buffer lengths.David S. Miller
test-memchr fails on 32-bit sparc with v9 optimized memchr because it uses signed branch comparisons on the buffer pointers.
2010-02-20Fix PLT rewrite when prelinking fails on 32-bit sparc.David S. Miller
When prelinking fails we have to rewrite the PLT, but the code doing so forgets to adjust all rela->r_offset addresses by the location of where the object was actually mapped.
2010-02-20Fix PLT rewrite when prelinking fails on 64-bit sparc.Joseph Myers
When prelinking fails we have to rewrite the PLT, but the code doing so forgets to adjust all rela->r_offset addresses by the location of where the object was actually mapped.
2010-02-10Sparc STT_GNU_IFUNC supportDavid S. Miller
2010-02-09Avoid PLT call to fegetenv on s390Andreas Schwab
2009-09-15configure tweaks, support $libc_add_on_config_subdirsRoland McGrath
2009-04-14* sysdeps/powerpc/powerpc32/elf/start.S: Ensure .data is non-empty. cvs/fedora-glibc-20090414T2104Jakub Jelinek
* sysdeps/powerpc/powerpc64/elf/start.S: Likewise. * sysdeps/sparc/sparc32/elf/start.S: Likewise. * sysdeps/sparc/sparc64/elf/start.S: Likewise. 2009-04-14 Jakub Jelinek <jakub@redhat.com> * sysdeps/powerpc/powerpc32/elf/start.S: Ensure .data is non-empty. * sysdeps/powerpc/powerpc64/elf/start.S: Likewise. * sysdeps/sparc/sparc32/elf/start.S: Likewise. * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2009-02-16* stdlib/monetary.h: Uglify function parameter names. cvs/fedora-glibc-20090218T1534Jakub Jelinek
* 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.
2008-10-11* sysdeps/sparc/sparc64/sparcv9v/memcpy.S: When not USE_BPR, Jakub Jelinek
make sure any registers used with 64-bit 'branch-on-register' instructions have their top 32-bits clear. * sysdeps/sparc/sparc64/sparcv9v/memset.S: Likewise. * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S: Likewise. 2008-10-09 Jakub Jelinek <jakub@redhat.com> David S. Miller <davem@davemloft.net> * sysdeps/sparc/sparc64/sparcv9v/memcpy.S: When not USE_BPR, make sure any registers used with 64-bit 'branch-on-register' instructions have their top 32-bits clear. * sysdeps/sparc/sparc64/sparcv9v/memset.S: Likewise. * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S: Likewise.