#
f1bfbdc7 |
| 09-Nov-2019 |
guenther <guenther@openbsd.org> |
Retguard will start using sections named ".openbsd.randomdata.retguard.*" and not just ".openbsd.randomdata.retguard". Accept both in the kernel ldscripts so that they're placed together between the
Retguard will start using sections named ".openbsd.randomdata.retguard.*" and not just ".openbsd.randomdata.retguard". Accept both in the kernel ldscripts so that they're placed together between the __retguard_{start,end} symbols.
Similarly, match not just ".openbsd.randomdata" but also ".openbsd.randomdata.*" to pick up other random (pun intended) items.
While here, stub in those retguard bits into all the ldscripts.
ok deraadt@
show more ...
|
#
c3e474c4 |
| 08-Mar-2018 |
patrick <patrick@openbsd.org> |
Rework and cleanup the linker script for armv7. The main feature is that it gives us a read-only data section. In addition the linker script is now easily diffable to arm64 and we also stop mapping
Rework and cleanup the linker script for armv7. The main feature is that it gives us a read-only data section. In addition the linker script is now easily diffable to arm64 and we also stop mapping some unnecessary space before the kernel.
Prompted by deraadt@ ok kettenis@
show more ...
|
#
f18be4d5 |
| 10-Feb-2018 |
patrick <patrick@openbsd.org> |
Replace two spaces indents with tabs. Makes it easier to read and especially makes it easier to diff against our other linker scripts.
ok jsg@
|
#
e845b8ed |
| 10-Feb-2018 |
patrick <patrick@openbsd.org> |
Supplying entropy from etext has created a regression on arm where we get an alignment fault while copying the data. Turns out that since we have .rodata in the text segment, it's very easily possib
Supplying entropy from etext has created a regression on arm where we get an alignment fault while copying the data. Turns out that since we have .rodata in the text segment, it's very easily possible that etext remains unaligned. Work around this by word-aligning etext. The next step is to split .rodata out of the text segment.
ok deraadt@
show more ...
|
#
69e72f4e |
| 10-Feb-2018 |
patrick <patrick@openbsd.org> |
Put the ldscript parts into a single file instead of storing it as head and tail and cat(1) it together. It was maybe needed when ports needed different contents, but now it's just a headache.
ok d
Put the ldscript parts into a single file instead of storing it as head and tail and cat(1) it together. It was maybe needed when ports needed different contents, but now it's just a headache.
ok deraadt@
show more ...
|