about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/powerpc
Commit message (Collapse)AuthorAgeFilesLines
* e500 port: getcontext / setcontext / swapcontext.Joseph Myers2013-10-043-0/+17
|
* PowerPC SIGSTKSZAlan Modra2013-10-041-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://sourceware.org/ml/libc-alpha/2013-08/msg00093.html This copies the sparc version of sigstack.h, which gives powerpc #define MINSIGSTKSZ 4096 #define SIGSTKSZ 16384 Before the VSX changes, struct rt_sigframe size was 1920 plus 128 for __SIGNAL_FRAMESIZE giving ppc64 exactly the default MINSIGSTKSZ of 2048. After VSX, ucontext increased by 256 bytes. Oops, we're over MINSIGSTKSZ, so powerpc has been using the wrong value for quite a while. Add another ucontext for TM and rt_sigframe is now at 3872, giving actual MINSIGSTKSZ of 4000. The glibc testcase that I was looking at was tst-cancel21, which allocates 2*SIGSTKSZ (not because the test is trying to be conservative, but because the test actually has nested signal stack frames). We blew the allocation by 48 bytes when using current mainline gcc to compile glibc (le ppc64). The required stack depth in _dl_lookup_symbol_x from the top of the next signal frame was 10944 bytes. I guess you'd want to add 288 to that, implying an actual SIGSTKSZ of 11232. * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
* PowerPC makecontextAlan Modra2013-10-042-4/+10
| | | | | | | | | | | http://sourceware.org/ml/libc-alpha/2013-08/msg00092.html Use conditional form of branch and link to avoid destroying the cpu link stack used to predict blr return addresses. * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use conditional form of branch and link when obtaining pc. * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
* PowerPC LE _dl_hwcap accessAlan Modra2013-10-043-16/+16
| | | | | | | | | | | http://sourceware.org/ml/libc-alpha/2013-08/msg00091.html More LE support, correcting word accesses to _dl_hwcap. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use HIWORD/LOWORD. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
* Remove aix specific files.Ondřej Bílka2013-08-299-869/+0
|
* Fix typos.Ondřej Bílka2013-08-294-4/+4
|
* PowerPC: fix backtrace to handle signal trampolinesAdhemerval Zanella2013-08-202-0/+23
| | | | | | This patch fixes backtrace for PPC32 and PPC64 to correctly handle signal trampolines. The 'debug/tst-backtrace6.c' also check for SA_SIGINFO handling, where is triggers another vDSO symbols for PPC32.
* PowerPC: use _dl_static_init to set GLRO(gl_pagesize)Adhemerval Zanella2013-07-234-0/+129
| | | | | | This patch fixes dlfcn/tststatic5 for PowerPC where pagesize variable was not properly initialized in certain cases. This patch is based on other architecture code.
* Sync sys/ptrace with Linux 3.10Andreas Jaeger2013-07-041-1/+20
|
* PowerPC: Enable POWER8 platform sans hwcap bits.Ryan S. Arnold2013-06-242-0/+4
|
* New API to set default thread attributesSiddhesh Poyarekar2013-06-152-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.
* Fix leading whitespaces.Ondrej Bilka2013-06-061-1/+1
|
* Remove trailing whitespace.Joseph Myers2013-06-055-29/+29
|
* Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).Ryan S. Arnold2013-05-161-0/+1
|
* PowerPC: Add time vDSO supportAdhemerval Zanella2013-05-034-3/+70
| | | | | | | | PowerPC kernel now provides a vDSO implementation for time syscall (commit fcb41a2030abe0eb716ef0798035ef9562097f42). This patch changes time syscall wrapper to use the vDSO when available. It also changes the default non vDSO time on PowerPC to use sysdeps/posix/time.c (since gettimeofday is a vDSO call).
* New <math.h> macro named issignaling to check for a signaling NaN (sNaN).Thomas Schwinge2013-04-022-0/+10
| | | | It is based on draft TS 18661 and currently enabled as a GNU extension.
* PowerPC: gettimeofday optimization by using IFUNCAdhemerval Zanella2013-03-152-12/+46
|
* PowerPC: unify math_ldbl.h implementationsAdhemerval Zanella2013-03-081-4/+0
| | | | | This patch removes redudant definition from PowerPC specific math_ldbl, using the definitions from ieee754 math_ldbl.h.
* Sync with Linux 3.8Andreas Jaeger2013-03-062-1/+3
|
* Remove powerpc64 bounded-pointers code.Joseph Myers2013-03-062-14/+6
|
* Define MCL_CURRENT, MCL_FUTURE in bits/mman-linux.hAndreas Jaeger2013-03-051-4/+3
| | | | | | | | | | | | | | | | | | | | * 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.
* Create <bits/mman-linux.h>Andreas Jaeger2013-03-041-69/+3
| | | | | | | | | | | | | * 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.
* Remove powerpc32 bounded-pointers code.Joseph Myers2013-02-282-14/+6
|
* C++11 thread_local destructors supportSiddhesh Poyarekar2013-02-182-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.
* Remove bp-sym.h and BP_SYM uses from C code.Joseph Myers2013-02-141-9/+6
|
* Remove __ptrvalue, __bounded and __unbounded.Joseph Myers2013-02-131-18/+12
|
* Remove CHECK_N and bp-checks.h.Joseph Myers2013-02-088-32/+16
|
* Remove CHECK_1 and CHECK_1_NULL_OK.Joseph Myers2013-02-081-2/+1
|
* Remove CHECK_STRING, CHECK_STRING_NULL_OK and __ubp_memchr.Joseph Myers2013-02-041-2/+1
|
* Remove bp-start.h and INIT_ARGV_and_ENVIRON.Joseph Myers2013-02-011-1/+0
|
* PowerPC: Rename __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.Anton Blanchard2013-01-184-29/+33
| | | | | | | | | | In order for the __kernel_get_tbfreq vDSO call to work the INTERNAL_VSYSCALL_NCS macro needed to be updated to prevent it from assuming an integer return type (since the timebase frequency is a 64-bit value) by specifying the type of the return type as a macro parameter. The macro then specifically declares the return value as a 'register' (or implied pair) of the denoted type. The compiler is then informed that this register (or implied pair) is to be used for the return value.
* Revert "Use ieee754/dbl-64/wordsize-64 on powerpc64"Andreas Schwab2013-01-101-1/+0
| | | | This reverts commit 7a9d2c397195d9a19a95dbcdb59fb5df03f2d940.
* Use ieee754/dbl-64/wordsize-64 on powerpc64Andreas Schwab2013-01-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/ieee754/ldbl-opt/wordsize-64/s_ceil.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_finite.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_floor.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_frexp.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_isinf.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_isnan.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_llround.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_logb.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_lround.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_modf.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_nearbyint.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_remquo.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_rint.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_round.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_scalbln.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_scalbn.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_trunc.c: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/Implies: Add ieee754/ldbl-opt/wordsize-64. * sysdeps/powerpc/powerpc64/Implies: Add ieee754/dbl-64/wordsize-64.
* PowerPC: Change sched_getcpu to use vDSO getcpu instead of syscall.Anton Blanchard2013-01-094-0/+36
|
* Update copyright notices with scripts/update-copyrights.Joseph Myers2013-01-0286-91/+86
|
* Add script to update copyright notices and reformat some to facilitate its use.Joseph Myers2013-01-011-1/+1
|
* Fix "set but not used" warnings for powerpc64Siddhesh Poyarekar2012-12-061-3/+2
|
* Fix powerpc32 "set but not used" warnings from INTERNAL_SYSCALL_DECL.Joseph Myers2012-12-041-1/+1
|
* PowerPC: Use <bits/fcntl-linux.h>Andreas Jaeger2012-11-091-258/+11
| | | | | | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all definitions and declarations that are provided by <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
* [BZ #157] Remove include/stub-tag.h for good.Thomas Schwinge2012-11-041-2/+0
|
* PowerPC: Fix uc_link == NULL handling for makecontex.Andreas Schwab2012-11-011-15/+15
| | | | | If the function registered with makecontext returns with a NULL context link the process should exit with zero, not non-zero.
* Fix powerpc abilist sort orderAndreas Schwab2012-10-312-2/+2
|
* Correct order of entries in powerpc libc.abilist files.Tulio Magno Quites Machado Filho2012-10-312-2/+2
|
* BZ#14743: Move clock_* symbols from librt to libc.Roland McGrath2012-10-243-1/+11
|
* Avoid PLT references from __get_clockfreq on powerpcAndreas Schwab2012-10-121-5/+5
|
* Add missing magic to GLIBC_PROVIDES.Roland McGrath2012-10-091-120/+0
|
* Fix missing include in sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.cAndreas Schwab2012-10-081-0/+1
|
* powerpc: add name_to_handle_at, open_by_handle etc. to bits/fcntl.hKhem Raj2012-10-041-1/+27
| | | | Fixes BZ #14251.
* Clean up init-first.c files.Roland McGrath2012-10-011-2/+3
|
* Add __ppc_get_timebase_freq to ppc.h.Tulio Magno Quites Machado Filho2012-09-258-0/+135
|