Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add retguard prologue/epilogue | 2020-10-19 | 1 | -2/+4 | |
| | | | | ok mortimer | ||||
* | SYS___threxit cannot fail, but this integration looks like a gadget. | 2020-10-18 | 1 | -1/+2 | |
| | | | | | Put a hard-trap instruction after the syscall instruction. ok kettenis mortimer | ||||
* | Adapt SYS.h to use retguard macros from asm.h, so that generated system | 2020-10-16 | 5 | -19/+47 | |
| | | | | | | calls are guarded. Adapt the first few hand-written functions to this model (a few remain) ok kettenis mortimer | ||||
* | Fix two cases where we shpould compare/store 64-bit values instead of | 2020-07-27 | 1 | -3/+3 | |
| | | | | | | 32-bit values. ok gkoehler@, drahn@ | ||||
* | Fix powerpc64's sbrk() | 2020-07-27 | 1 | -3/+5 | |
| | | | | | | | Initialize __curbrk = &_end. It's a 64-bit pointer, so use ld/std instead of lwz/stw. ok drahn@ | ||||
* | Add missing comparison instruction. Load %r12 with the indirect branch | 2020-06-30 | 1 | -1/+3 | |
| | | | | address to load the correct TOC address. | ||||
* | The 2nd and 3rd argument are pointers, so use the appropriate doubleword | 2020-06-28 | 1 | -5/+5 | |
| | | | | | | instructions. ok drahn@ | ||||
* | Avoid "bare" register numbers. | 2020-06-26 | 4 | -26/+26 | |
| | |||||
* | PowerPC64 libc powerpc sys files | 2020-06-25 | 8 | -0/+368 | |
Initial attempt to port powerpc code to powerpc64 Expects TOC loading in ENTRY(), ok kettenis@ (some cleanup required) |