diff options
author | Nick Clifton <nickc@redhat.com> | 2024-06-18 09:15:04 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2024-06-18 09:15:04 +0100 |
commit | 7b74583e2ca2f54df341dea1efaf5bf40efb9b0b (patch) | |
tree | 25ee1077944c52c4f1a0a5539f0251889e294b15 /ld | |
parent | c7e4521c972e455a7331e96d3f9870c0deccde26 (diff) | |
download | gdb-7b74583e2ca2f54df341dea1efaf5bf40efb9b0b.zip gdb-7b74583e2ca2f54df341dea1efaf5bf40efb9b0b.tar.gz gdb-7b74583e2ca2f54df341dea1efaf5bf40efb9b0b.tar.bz2 |
Ensure that the text segment is aligned on disk when using --rosegment.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/scripttempl/elf.sc | 2 |
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=" " |