musl/arch/microblaze/bits
Rich Felker d5a5045382 fix MINSIGSTKSZ values for archs with large signal contexts
the previous values (2k min and 8k default) were too small for some
archs. aarch64 reserves 4k in the signal context for future extensions
and requires about 4.5k total, and powerpc reportedly uses over 2k.
the new minimums are chosen to fit the saved context and also allow a
minimal signal handler to run.

since the default (SIGSTKSZ) has always been 6k larger than the
minimum, it is also increased to maintain the 6k usable by the signal
handler. this happens to be able to store one pathname buffer and
should be sufficient for calling any function in libc that doesn't
involve conversion between floating point and decimal representations.

x86 (both 32-bit and 64-bit variants) may also need a larger minimum
(around 2.5k) in the future to support avx-512, but the values on
these archs are left alone for now pending further analysis.

the value for PTHREAD_STACK_MIN is not increased to match MINSIGSTKSZ
at this time. this is so as not to preclude applications from using
extremely small thread stacks when they know they will not be handling
signals. unfortunately cancellation and multi-threaded set*id() use
signals as an implementation detail and therefore require a stack
large enough for a signal context, so applications which use extremely
small thread stacks may still need to avoid using these features.
2015-03-18 00:31:37 -04:00
..
alltypes.h.in make all objects used with atomic operations volatile 2015-03-03 22:50:02 -05:00
endian.h better support for reverse-endian variants of arm/mips/microblaze 2012-10-18 21:50:55 -04:00
errno.h add missing EHWPOISON to bits/errno.h 2013-01-12 19:42:39 +01:00
fcntl.h add O_TMPFILE flag, new in linux 3.11 2013-11-23 23:47:48 +00:00
fenv.h
float.h fix FLT_ROUNDS to reflect the current rounding mode 2015-03-07 12:05:28 -05:00
io.h fix breakage from introducing bits header for sys/io.h 2012-11-18 19:58:15 -05:00
ioctl.h fix ioctl _IOR, _IOW, etc macros to avoid signed overflow (2<<30) 2013-05-26 15:49:08 +00:00
ipc.h
limits.h support configurable page size on mips, powerpc and microblaze 2013-09-15 02:00:32 +00:00
mman.h move MREMAP_MAYMOVE and MREMAP_FIXED out of bits 2015-01-30 22:02:23 -05:00
msg.h
poll.h fix POLLWRNORM and POLLWRBAND on mips 2015-03-04 12:09:37 -05:00
posix.h
reg.h
resource.h fix RLIMIT_ constants for mips 2014-04-15 19:17:52 -04:00
sem.h move struct semid_ds to from shared sys/sem.h to bits 2014-03-11 15:27:13 -04:00
setjmp.h change jmp_buf to share an underlying type and struct tag with sigjmp_buf 2013-07-24 02:17:02 -04:00
shm.h sys/shm.h: move arch specific structs to bits/ 2014-02-23 11:07:18 +01:00
signal.h fix MINSIGSTKSZ values for archs with large signal contexts 2015-03-18 00:31:37 -04:00
socket.h
stat.h fix microblaze definition of struct stat 2014-07-18 14:55:30 -04:00
statfs.h
stdarg.h
stdint.h remove SIG_ATOMIC_MIN/MAX from stdint bits headers 2013-07-22 17:02:03 -04:00
syscall.h add new syscall numbers for bpf and kexec_file_load 2014-12-23 01:44:19 -05:00
termios.h add IUTF8 to termios.h on archs that were missing it 2014-01-08 19:27:56 -05:00
user.h remove microblaze user.h incorrectly copied from arm 2012-11-25 21:12:34 -05:00