freebsd-skq/lib/libc/powerpc64
bdragon b5dbbcc83b [POWERPC] Fix ppc64 makecontext() parameter overflow handling.
On ELFv2, the overflow parameters in the stack frame are at a different offset
from sp than ELFv1. Adjust code to use the correct offset in all cases.

This had resulted in argv[8] and up being copied to the incorrect address
in the new context's initial stack frame.

This is not necessarily the only bug in this function, I need to do a full
review still and ensure the rest of the math is sane for ELFv2 stack frames.

Reported by:	pherde (Probably. My notes are a bit unclear.)
Reviewed by:	jhibbits (in irc)
Sponsored by:	Tag1 Consulting, Inc.
2020-08-06 17:49:19 +00:00
..
gen [POWERPC] Fix ppc64 makecontext() parameter overflow handling. 2020-08-06 17:49:19 +00:00
softfloat
string Fix r358688 -- Remember to actually save r3 before processing. 2020-03-11 23:34:44 +00:00
sys Reimplement brk() and sbrk() to avoid the use of _end. 2018-06-04 19:35:15 +00:00
_fpmath.h libc: further adoption of SPDX licensing ID tags. 2017-11-25 17:12:48 +00:00
arith.h [PowerPC] Fully define gdtoa settings on powerpc64. 2019-12-13 20:30:26 +00:00
gd_qnan.h
Makefile.inc
static_tls.h Fix initial exec TLS mode for dynamically loaded shared objects. 2019-03-29 17:52:57 +00:00
Symbol.map Remove MD __sys_* private symbols. 2018-12-05 00:46:09 +00:00
SYS.h