summaryrefslogtreecommitdiff
path: root/mipsel-linux-android/lib/ldscripts/elf32ltsmipn32.x
diff options
context:
space:
mode:
Diffstat (limited to 'mipsel-linux-android/lib/ldscripts/elf32ltsmipn32.x')
-rw-r--r--mipsel-linux-android/lib/ldscripts/elf32ltsmipn32.x3
1 files changed, 1 insertions, 2 deletions
diff --git a/mipsel-linux-android/lib/ldscripts/elf32ltsmipn32.x b/mipsel-linux-android/lib/ldscripts/elf32ltsmipn32.x
index 229e285..1517231 100644
--- a/mipsel-linux-android/lib/ldscripts/elf32ltsmipn32.x
+++ b/mipsel-linux-android/lib/ldscripts/elf32ltsmipn32.x
@@ -109,8 +109,7 @@ SECTIONS
.gcc_except_table : ONLY_IF_RO { *(.gcc_except_table .gcc_except_table.*) }
/* Adjust the address for the data segment. We want to align at exactly
a page boundary to make life easier for apriori. */
- . = ALIGN(4096);
- . = DATA_SEGMENT_ALIGN(4096,4096);
+ . = ALIGN (CONSTANT (MAXPAGESIZE)); . = DATA_SEGMENT_ALIGN (CONSTANT (MAXPAGESIZE), CONSTANT (COMMONPAGESIZE));
/* Exception handling */
.eh_frame : ONLY_IF_RW { KEEP (*(.eh_frame)) }
.gcc_except_table : ONLY_IF_RW { *(.gcc_except_table .gcc_except_table.*) }