summaryrefslogtreecommitdiff
path: root/i686-linux-android/lib
diff options
context:
space:
mode:
Diffstat (limited to 'i686-linux-android/lib')
-rw-r--r--i686-linux-android/lib/ldscripts/elf_i386.x3
-rw-r--r--i686-linux-android/lib/ldscripts/elf_i386.xbn3
-rw-r--r--i686-linux-android/lib/ldscripts/elf_i386.xc3
-rw-r--r--i686-linux-android/lib/ldscripts/elf_i386.xd3
-rw-r--r--i686-linux-android/lib/ldscripts/elf_i386.xdc3
-rw-r--r--i686-linux-android/lib/ldscripts/elf_i386.xdw3
-rw-r--r--i686-linux-android/lib/ldscripts/elf_i386.xn3
-rw-r--r--i686-linux-android/lib/ldscripts/elf_i386.xr2
-rw-r--r--i686-linux-android/lib/ldscripts/elf_i386.xs3
-rw-r--r--i686-linux-android/lib/ldscripts/elf_i386.xsc3
-rw-r--r--i686-linux-android/lib/ldscripts/elf_i386.xsw3
-rw-r--r--i686-linux-android/lib/ldscripts/elf_i386.xu2
-rw-r--r--i686-linux-android/lib/ldscripts/elf_i386.xw3
13 files changed, 11 insertions, 26 deletions
diff --git a/i686-linux-android/lib/ldscripts/elf_i386.x b/i686-linux-android/lib/ldscripts/elf_i386.x
index ea251b4..16327dc 100644
--- a/i686-linux-android/lib/ldscripts/elf_i386.x
+++ b/i686-linux-android/lib/ldscripts/elf_i386.x
@@ -66,8 +66,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.*) }
diff --git a/i686-linux-android/lib/ldscripts/elf_i386.xbn b/i686-linux-android/lib/ldscripts/elf_i386.xbn
index fbdc5df..cb5de61 100644
--- a/i686-linux-android/lib/ldscripts/elf_i386.xbn
+++ b/i686-linux-android/lib/ldscripts/elf_i386.xbn
@@ -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);
+ . = .;
/* Exception handling */
.eh_frame : ONLY_IF_RW { KEEP (*(.eh_frame)) }
.gcc_except_table : ONLY_IF_RW { *(.gcc_except_table .gcc_except_table.*) }
diff --git a/i686-linux-android/lib/ldscripts/elf_i386.xc b/i686-linux-android/lib/ldscripts/elf_i386.xc
index 2900ef4..d58e7d1 100644
--- a/i686-linux-android/lib/ldscripts/elf_i386.xc
+++ b/i686-linux-android/lib/ldscripts/elf_i386.xc
@@ -68,8 +68,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.*) }
diff --git a/i686-linux-android/lib/ldscripts/elf_i386.xd b/i686-linux-android/lib/ldscripts/elf_i386.xd
index 3ce3dd7..168bc07 100644
--- a/i686-linux-android/lib/ldscripts/elf_i386.xd
+++ b/i686-linux-android/lib/ldscripts/elf_i386.xd
@@ -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.*) }
diff --git a/i686-linux-android/lib/ldscripts/elf_i386.xdc b/i686-linux-android/lib/ldscripts/elf_i386.xdc
index 94d4dae..4496dde 100644
--- a/i686-linux-android/lib/ldscripts/elf_i386.xdc
+++ b/i686-linux-android/lib/ldscripts/elf_i386.xdc
@@ -68,8 +68,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.*) }
diff --git a/i686-linux-android/lib/ldscripts/elf_i386.xdw b/i686-linux-android/lib/ldscripts/elf_i386.xdw
index a5211f3..d240fb0 100644
--- a/i686-linux-android/lib/ldscripts/elf_i386.xdw
+++ b/i686-linux-android/lib/ldscripts/elf_i386.xdw
@@ -68,8 +68,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.*) }
diff --git a/i686-linux-android/lib/ldscripts/elf_i386.xn b/i686-linux-android/lib/ldscripts/elf_i386.xn
index 2926cb6..ace7a01 100644
--- a/i686-linux-android/lib/ldscripts/elf_i386.xn
+++ b/i686-linux-android/lib/ldscripts/elf_i386.xn
@@ -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.*) }
diff --git a/i686-linux-android/lib/ldscripts/elf_i386.xr b/i686-linux-android/lib/ldscripts/elf_i386.xr
index ec2454f..fe5d02b 100644
--- a/i686-linux-android/lib/ldscripts/elf_i386.xr
+++ b/i686-linux-android/lib/ldscripts/elf_i386.xr
@@ -57,8 +57,6 @@ SECTIONS
.gcc_except_table 0 : 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);
/* Exception handling */
.eh_frame 0 : ONLY_IF_RW { KEEP (*(.eh_frame)) }
.gcc_except_table 0 : ONLY_IF_RW { *(.gcc_except_table .gcc_except_table.*) }
diff --git a/i686-linux-android/lib/ldscripts/elf_i386.xs b/i686-linux-android/lib/ldscripts/elf_i386.xs
index f731bdf..ee14884 100644
--- a/i686-linux-android/lib/ldscripts/elf_i386.xs
+++ b/i686-linux-android/lib/ldscripts/elf_i386.xs
@@ -62,8 +62,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.*) }
diff --git a/i686-linux-android/lib/ldscripts/elf_i386.xsc b/i686-linux-android/lib/ldscripts/elf_i386.xsc
index 361a7b3..db28b2d 100644
--- a/i686-linux-android/lib/ldscripts/elf_i386.xsc
+++ b/i686-linux-android/lib/ldscripts/elf_i386.xsc
@@ -66,8 +66,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.*) }
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.*) }
diff --git a/i686-linux-android/lib/ldscripts/elf_i386.xu b/i686-linux-android/lib/ldscripts/elf_i386.xu
index 9b68edc..7b5d8c5 100644
--- a/i686-linux-android/lib/ldscripts/elf_i386.xu
+++ b/i686-linux-android/lib/ldscripts/elf_i386.xu
@@ -57,8 +57,6 @@ SECTIONS
.gcc_except_table 0 : 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);
/* Exception handling */
.eh_frame 0 : ONLY_IF_RW { KEEP (*(.eh_frame)) }
.gcc_except_table 0 : ONLY_IF_RW { *(.gcc_except_table .gcc_except_table.*) }
diff --git a/i686-linux-android/lib/ldscripts/elf_i386.xw b/i686-linux-android/lib/ldscripts/elf_i386.xw
index 6a75231..62240ea 100644
--- a/i686-linux-android/lib/ldscripts/elf_i386.xw
+++ b/i686-linux-android/lib/ldscripts/elf_i386.xw
@@ -68,8 +68,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.*) }