machine/vmparam.h already defines the SHAREDPAGE constant. This
change just enables it for ELF executables. The only use of the shared
page currently is to hold the signal trampoline.
Details
Details
- ran my 'sigframe' test program which raises nested signals that I use to test signal frame unwinding under gdb under gdb and verified the signal trampoline was executing out of the shared page rather than the stack.
Diff Detail
Diff Detail
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 20666 Build 20081: arc lint + arc unit
Event Timeline
sys/riscv/riscv/elf_machdep.c | ||
---|---|---|
114 | Copy-pasted from arm64, it seems. Looks like we should delete both definitions. |
sys/riscv/riscv/elf_machdep.c | ||
---|---|---|
114 | This is a separate question that won't be committed. However, I think we should just be able to delete this extra brand info? It also doesn't belong in arm64. |