summaryrefslogtreecommitdiff
path: root/mipsel-linux-android/lib/ldscripts/elf32ltsmipn32.xdw
diff options
context:
space:
mode:
Diffstat (limited to 'mipsel-linux-android/lib/ldscripts/elf32ltsmipn32.xdw')
-rw-r--r--mipsel-linux-android/lib/ldscripts/elf32ltsmipn32.xdw3
1 files changed, 1 insertions, 2 deletions
diff --git a/mipsel-linux-android/lib/ldscripts/elf32ltsmipn32.xdw b/mipsel-linux-android/lib/ldscripts/elf32ltsmipn32.xdw
index bed9b5a..51b26aa 100644
--- a/mipsel-linux-android/lib/ldscripts/elf32ltsmipn32.xdw
+++ b/mipsel-linux-android/lib/ldscripts/elf32ltsmipn32.xdw
@@ -111,8 +111,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.*) }