diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc index f1a61e7bcee..54716110b61 100644 --- a/ld/scripttempl/elf.sc +++ b/ld/scripttempl/elf.sc @@ -372,7 +372,7 @@ if test -z "$TINY_READONLY_SECTION"; then *ro*textonly*) ALL_TEXT_BEFORE_RO=" " SEPARATE_TEXT=" " - TEXT_SEGMENT_ALIGN= + TEXT_SEGMENT_ALIGN=". = ALIGN(${MAXPAGESIZE});" ;; *textonly*) SEPARATE_TEXT=" "