glibc/sysdeps/unix/sysv/linux/powerpc
Alan Modra f7c399cff5 PowerPC SIGSTKSZ
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.
2013-10-04 10:39:11 +09:30
..
bits PowerPC SIGSTKSZ 2013-10-04 10:39:11 +09:30
powerpc32 PowerPC makecontext 2013-10-04 10:38:59 +09:30
powerpc64 PowerPC makecontext 2013-10-04 10:38:59 +09:30
sys Sync sys/ptrace with Linux 3.10 2013-07-04 09:49:14 +02:00
Makefile PowerPC: use _dl_static_init to set GLRO(gl_pagesize) 2013-07-23 07:39:57 -05:00
Versions PowerPC: use _dl_static_init to set GLRO(gl_pagesize) 2013-07-23 07:39:57 -05:00
chown.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
configure Add missing magic to GLIBC_PROVIDES. 2012-10-09 15:41:30 -07:00
configure.in
dl-brk.S
dl-cache.h
dl-static.c PowerPC: use _dl_static_init to set GLRO(gl_pagesize) 2013-07-23 07:39:57 -05:00
dl-sysdep.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
fchownat.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
get_clockfreq.c PowerPC: Rename __kernel_vdso_get_tbfreq to __kernel_get_tbfreq. 2013-01-18 07:44:38 -06:00
get_timebase_freq.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
getdents64.c
getmsg.c
getrlimit64.c
gettimeofday.c PowerPC: gettimeofday optimization by using IFUNC 2013-03-15 10:58:56 -03:00
init-first.c PowerPC: fix backtrace to handle signal trampolines 2013-08-20 15:05:49 -05:00
ioctl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
ipc_priv.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
kernel_termios.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
lchown.S Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
ldconfig.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
ldd-rewrite.sed
ldsodefs.h PowerPC: use _dl_static_init to set GLRO(gl_pagesize) 2013-07-23 07:39:57 -05:00
libc-start.c Fix typos. 2013-08-29 09:11:45 +02:00
nldbl-abi.h
oldgetrlimit64.c
profil-counter.h
putmsg.c
readdir64.c
readdir64_r.c
readelflib.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
rt-sysdep.c
sched_getcpu.c PowerPC: Change sched_getcpu to use vDSO getcpu instead of syscall. 2013-01-09 20:30:11 -06:00
setrlimit.c
sigcontextinfo.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
syscall.S Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
syscalls.list
sysdep.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
test-gettimebasefreq.c Add #include <stdint.h> for uint[32|64]_t usage (except installed headers). 2013-05-16 11:32:54 -05:00
time.c PowerPC: Add time vDSO support 2013-05-03 15:04:54 -05:00