summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/sparc
AgeCommit message (Collapse)AuthorFilesLines
2014-05-16SPARC: add prlimit and prlimit64 in <bits/resource.h> (BZ #16943)Aurelien Jarno1-0/+27
prlimit and prlimit64 have been added in the main <bits/resource.h>, but not in the SPARC specific version. Fix that. Note: this is Debian bug#703559, reported by Emilio Pozuelo Monfort <pochu@debian.org> (cherry picked from commit d16e6ec7ca2c861ba681e3a2fbd431725774292e)
2014-05-07SPARC: add EFD_SEMAPHORE in <bits/eventfd.h> (BZ #16916)Aurelien Jarno1-0/+2
EFD_SEMAPHORE has been added in the main <bits/eventfd.h>, but not in the SPARC specific version. Fix that. (cherry picked from commit 83df9ad0cc861ef24f08a88c5a4c055e2516d33c)
2014-01-06ptrace.h: add __ prefix to ptrace_peeksiginfo_argsMike Frysinger1-1/+1
All the other ptrace structures in this file have a __ prefix except this new one. This in turn causes build problems for most packages that try to use ptrace such as strace: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../linux/x86_64 -I../../linux \ -I./linux -Wall -Wwrite-strings -g -O2 -MT process.o -MD -MP \ -MF .deps/process.Tpo -c -o process.o ../../process.c In file included from ../../process.c:63:0: /usr/include/linux/ptrace.h:58:8: error: redefinition of 'struct ptrace_peeksiginfo_args' struct ptrace_peeksiginfo_args { ^ In file included from ../../defs.h:159:0, from ../../process.c:37: /usr/include/sys/ptrace.h:191:8: note: originally defined here struct ptrace_peeksiginfo_args ^ Since this struct was introduced in glibc-2.18, there shouldn't be any real regressions with adding the __ prefix. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2014-01-01Update copyright notices with scripts/update-copyrightsAllan McRae85-85/+85
2013-11-26Use __glibc_reserved instead __unused.Ondřej Bílka10-29/+29
2013-09-11Add O_TMPFILE to <fcntl.h>Andreas Schwab1-0/+1
2013-08-30Fix typos.Ondřej Bílka1-1/+1
2013-07-04Sync sys/ptrace with Linux 3.10Andreas Jaeger1-2/+20
2013-06-15New API to set default thread attributesSiddhesh Poyarekar2-0/+8
This patch introduces two new convenience functions to set the default thread attributes used for creating threads. This allows a programmer to set the default thread attributes just once in a process and then run pthread_create without additional attributes.
2013-06-05Remove trailing whitespace.Joseph Myers2-2/+2
2013-05-22Update bits/siginfo.h with Linux hwpoison SIGBUS changesEdjunior Barbosa Machado1-1/+7
Adds new SIGBUS error codes for hardware poison signals, syncing with the current kernel headers (v3.9). It also adds si_trapno field for alpha.
2013-04-02New <math.h> macro named issignaling to check for a signaling NaN (sNaN).Thomas Schwinge2-0/+10
It is based on draft TS 18661 and currently enabled as a GNU extension.
2013-03-06Sync with Linux 3.8Andreas Jaeger2-1/+3
2013-03-05Define MCL_CURRENT, MCL_FUTURE in bits/mman-linux.hAndreas Jaeger1-7/+7
* sysdeps/unix/sysv/linux/s390/bits/mman.h: Include <bits/mman-linux.h>. (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value is fine. * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of <bits/mman-linux.h> to end of file. (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value is fine. * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of <bits/mman-linux.h> to end of file. (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value is fine. * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of <bits/mman-linux.h> to end of file. * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT] (MCL_CURRENT, MCL_FUTURE): Define here.
2013-03-04Create <bits/mman-linux.h>Andreas Jaeger1-66/+2
* sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux common definitions. * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines provided by bits/mman-linux.h and include <bits/mman-linux.h>. * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2013-02-18C++11 thread_local destructors supportSiddhesh Poyarekar2-0/+6
This feature is specifically for the C++ compiler to offload calling thread_local object destructors on thread program exit, to glibc. This is to overcome the possible complication of destructors of thread_local objects getting called after the DSO in which they're defined is unloaded by the dynamic linker. The DSO is marked as 'unloadable' if it has a constructed thread_local object and marked as 'unloadable' again when all the constructed thread_local objects defined in it are destroyed.
2013-02-13Remove __ptrvalue, __bounded and __unbounded.Joseph Myers1-2/+2
2013-02-08Remove CHECK_N and bp-checks.h.Joseph Myers1-4/+2
2013-02-08Remove CHECK_1 and CHECK_1_NULL_OK.Joseph Myers2-4/+2
2013-01-31Remove CHECK_SIGSET and CHECK_SIGSET_NULL_OK.Joseph Myers2-5/+2
2013-01-31Remove bp-semctl.h and CHECK_SEMCTL.Joseph Myers2-9/+3
2013-01-11Adjust sparc for Roland's multiarch sysdep directory changes.David S. Miller1-0/+4
* sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies: Move to... * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies: Here.
2013-01-10Use __extension__ with long long in installed headers.Joseph Myers2-3/+3
2013-01-08BZ#14985: Remove erroneous EPOLL_NONBLOCKAndreas Jaeger1-3/+1
[BZ# 14985] * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK): Remove. * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise. * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise. ChangeLog.mips: [BZ# 14985] * sysdeps/unix/sysv/linux/mips/bits/epoll.h (EPOLL_NONBLOCK): * Remove. ChangeLog.hppa: [BZ# 14985] * sysdeps/unix/sysv/linux/hppa/sys/epoll.h (EPOLL_NONBLOCK): Remove. ChangeLog.alpha: [BZ# 14985] * sysdeps/unix/sysv/linux/alpha/bits/epoll.h (EPOLL_NONBLOCK): Remove.
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers85-93/+85
2012-11-11Fix check-localplt regressions on sparc.David S. Miller1-4/+5
* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include inttypes.h (__get_clockfreq_via_proc_openprom): Use __open, __read, and __close rather than their public counterparts.
2012-11-07Fix NULL ucontext->uc_link handling on sparc64.David S. Miller3-12/+43
* sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c (__start_context): Declare. (__makecontext_ret): Delete. (__makecontext): Hook up __start_context instead of __makecontext_ret. * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (sysdep_routines): Add __start_context when in stdlib.
2012-10-25Fix sparc64 build.David S. Miller1-1/+1
* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c (__get_clockfreq_via_proc_openprom): Use strtoumax instead of strtoull.
2012-10-25Use __getdents instead of __getdirentries in sparc ↵Roland McGrath1-3/+1
__get_clockfreq_via_proc_openprom.
2012-10-24BZ#14743: Move clock_* symbols from librt to libc.Roland McGrath3-15/+25
2012-10-24F_GETLK cleanup for <bits/fcntl.h>Andreas Jaeger1-8/+0
2012-10-22Always define __O_LARGEFILEAndreas Jaeger1-7/+4
2012-10-22Use __O_LARGEFILE instead of O_LARGEFILEAndreas Jaeger1-2/+2
2012-10-20Reorganization of bits/fcntl.h for LinuxAndreas Jaeger1-238/+16
Create a new bits/fcntl-linux.h that contains Linux generic code and a include it from the architecture specific bits/fcntl.h. Architectures done: x86, SPARC, s390
2012-10-01Get rid of unused __swblk_t type.Roland McGrath1-1/+0
2012-08-27Remove __ASSUME_STAT64_SYSCALL.Joseph Myers1-9/+0
2012-08-17Adjust old #include's of sysdeps/unix/time.c to point to ↵Roland McGrath1-1/+1
sysdeps/posix/time.c instead.
2012-08-14Remove __ASSUME_CLONE_THREAD_FLAGS.Joseph Myers1-4/+2
2012-08-06Clean up {alphasort,versionsort,scandir,scandirat}{,64} for struct dirent == ↵Roland McGrath1-0/+3
struct dirent64.
2012-08-06Clean up lockf64, fseeko64, ftello64, fgetpos64, fsetpos64 for off64_t == off_t.Roland McGrath1-0/+7
2012-07-26Merge Linux 3.5 ptrace changesAndreas Jaeger1-6/+9
(__ptrace_eventcodes): Add new value PTRACE_EVENT_SECCOMP from Linux 3.5. (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust PTRACE_O_MASK.
2012-07-26Merge _sigsys changes from Linux 3.5Andreas Jaeger1-1/+12
2012-07-25Rename __secure_getenv to secure_getenvFlorian Weimer2-0/+6
2012-07-20Move localplt baselines to sysdeps directories.Joseph Myers2-0/+36
2012-07-17Move c++-types baselines to sysdeps directories.Joseph Myers2-0/+134
2012-06-01Add default-abi definitions for powerpc, s390 and sparc.Joseph Myers2-0/+6
2012-05-30Convert WORDSIZE[32|64]/ld entries to abi-variantsH.J. Lu1-5/+5
2012-05-27Fix underflow reporting and tie up loose ends in sparc soft-fp.David S. Miller1-1/+0
* 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-25Remove pre-2.4 Linux kernel support.Joseph Myers1-85/+1
2012-05-23Remove some sparc cob-webs leftover after Joseph's recent changes.David S. Miller1-3/+1
* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__libc_sigaction): Remove unused local variables.