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
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/riscv/riscv/elf_machdep.c | ||
---|---|---|
114 ↗ | (On Diff #50084) | Copy-pasted from arm64, it seems. Looks like we should delete both definitions. |
sys/riscv/riscv/elf_machdep.c | ||
---|---|---|
114 ↗ | (On Diff #50084) | 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. |