diff options
-rw-r--r-- | libexec/ld.so/arm/ld.script | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libexec/ld.so/arm/ld.script b/libexec/ld.so/arm/ld.script index f18abe07795..ae7cc098ef0 100644 --- a/libexec/ld.so/arm/ld.script +++ b/libexec/ld.so/arm/ld.script @@ -2,6 +2,7 @@ PHDRS { rodata PT_LOAD FILEHDR PHDRS FLAGS (4); text PT_LOAD; + btext PT_LOAD FLAGS (0x08000005); data PT_LOAD; random PT_OPENBSD_RANDOMIZE; relro PT_GNU_RELRO; @@ -26,10 +27,12 @@ SECTIONS . = ALIGN(0x1000); .boot.text : { + . = ALIGN(0x1000); boot_text_start = .; *(.boot.text) + . = ALIGN(0x1000); boot_text_end = .; - } :text + } :btext /* RELRO DATA */ . = DATA_SEGMENT_ALIGN (0x10000, 0x1000); |