aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-shared/elf-offset.ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-shared/elf-offset.ld')
-rw-r--r--ld/testsuite/ld-shared/elf-offset.ld2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-shared/elf-offset.ld b/ld/testsuite/ld-shared/elf-offset.ld
index 125d879..ee587f9 100644
--- a/ld/testsuite/ld-shared/elf-offset.ld
+++ b/ld/testsuite/ld-shared/elf-offset.ld
@@ -128,7 +128,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 = . ;