summaryrefslogtreecommitdiff
path: root/i686-linux-android/lib/ldscripts/elf_i386.xsw
diff options
context:
space:
mode:
Diffstat (limited to 'i686-linux-android/lib/ldscripts/elf_i386.xsw')
-rw-r--r--i686-linux-android/lib/ldscripts/elf_i386.xsw3
1 files changed, 1 insertions, 2 deletions
diff --git a/i686-linux-android/lib/ldscripts/elf_i386.xsw b/i686-linux-android/lib/ldscripts/elf_i386.xsw
index b5421be..9d74e32 100644
--- a/i686-linux-android/lib/ldscripts/elf_i386.xsw
+++ b/i686-linux-android/lib/ldscripts/elf_i386.xsw
@@ -65,8 +65,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.*) }