summaryrefslogtreecommitdiffstats
path: root/lib/csu/powerpc64 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* crt0 MD _dl_exit() performs syscall to SYS_exit directly, but thenderaadt2020-10-151-2/+2
| | | | | | | | | | | some of these functions were returning. That makes the +1word address a fairly strong and easily located gadget. Put a hard-trap instruction after the syscall. This remains a gadget for 'terminal system' calls (such as execve), but hey that's why we have pledge w/o "exec" throughout the tree. Quite surprisingly, hppa's delay-slot load of SYS_exit makes it the safest of the bunch, not that this helps anyone. ok kettenis
* use symbolic SYS_exit instead of the value 1deraadt2020-10-141-5/+1
| | | | ok kettenis
* Fix powerpc64 pie binraries, in register renumbering one line was missed.drahn2020-06-261-2/+2
|
* PowerPC64 startup code.drahn2020-06-251-0/+124
Determine location of toc based on PC relative location and load into %r2