aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfvsb/elf-offset.ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elfvsb/elf-offset.ld')
-rw-r--r--ld/testsuite/ld-elfvsb/elf-offset.ld2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-elfvsb/elf-offset.ld b/ld/testsuite/ld-elfvsb/elf-offset.ld
index 7c64824..cd90bcc 100644
--- a/ld/testsuite/ld-elfvsb/elf-offset.ld
+++ b/ld/testsuite/ld-elfvsb/elf-offset.ld
@@ -131,7 +131,7 @@ SECTIONS
/* Align here to ensure that the .bss section occupies space up to
_end. Align after .bss to ensure correct alignment even if the
.bss section disappears because there are no input sections. */
- . = ALIGN(32 / 8);
+ . = ALIGN(. != 0 ? 32 / 8 : 1);
}
. = ALIGN(32 / 8);
_end = . ;