aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/scripttempl/elf.sc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc
index f1a61e7..5471611 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=" "