summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/ld/testsuite/ld-arm/arm-lib.ld
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/ld/testsuite/ld-arm/arm-lib.ld')
-rw-r--r--binutils-2.25/ld/testsuite/ld-arm/arm-lib.ld4
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils-2.25/ld/testsuite/ld-arm/arm-lib.ld b/binutils-2.25/ld/testsuite/ld-arm/arm-lib.ld
index c9482c35..f946d0a8 100644
--- a/binutils-2.25/ld/testsuite/ld-arm/arm-lib.ld
+++ b/binutils-2.25/ld/testsuite/ld-arm/arm-lib.ld
@@ -75,7 +75,7 @@ SECTIONS
.gcc_except_table : ONLY_IF_RO { KEEP (*(.gcc_except_table)) *(.gcc_except_table.*) }
/* Adjust the address for the data segment. We want to adjust up to
the same address within the page on the next page up. */
- . = ALIGN (0x8000) - ((0x8000 - .) & (0x8000 - 1)); . = DATA_SEGMENT_ALIGN (0x8000, 0x1000);
+ . = ALIGN (0x10000) - ((0x10000 - .) & (0x10000 - 1)); . = DATA_SEGMENT_ALIGN (0x10000, 0x1000);
/* Exception handling */
.eh_frame : ONLY_IF_RW { KEEP (*(.eh_frame)) }
.gcc_except_table : ONLY_IF_RW { KEEP (*(.gcc_except_table)) *(.gcc_except_table.*) }
@@ -141,7 +141,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 = .;