Add support to the linker for 'PT_OPENBSD_MUTABLE' segment type.
https://github.com/openbsd/src/commit/bd249b5664da50f0178adea78250a7a0d8ea6566
Differential D137921
[LLD][ELF] Add support for OpenBSD PT_OPENBSD_MUTABLE segment type brad on Nov 13 2022, 5:00 PM. Authored by
Details
Add support to the linker for 'PT_OPENBSD_MUTABLE' segment type. https://github.com/openbsd/src/commit/bd249b5664da50f0178adea78250a7a0d8ea6566
Diff Detail
Event TimelineComment Actions This needs a test. You may merge it with openbsd-randomize.s and possibly rename the test file. Comment Actions This is what I was thinking of: https://github.com/llvm/llvm-project/blob/main/lld/test/ELF/openbsd-phdr.s Comment Actions It seems that OpenBSD is adding more and more OS specific program headers. The pace is kinda fast. If one wants to play with PT_OPENBSD_MUTABLE, in a PHDRS command, a program header can have a numeric type (https://sourceware.org/binutils/docs/ld/PHDRS.html#:~:text=expression)... |
This can be shared with openbsd-randomdata