summaryrefslogtreecommitdiff
path: root/x86_64-linux-android/lib/ldscripts/elf_k1om.xs
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2014-02-06 16:01:03 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2014-02-06 16:03:32 +0800
commit515a379df952ce2d4e922d04da1ea92f000b6259 (patch)
tree222a6362b10543311375a4eb999f8f8a463e474c /x86_64-linux-android/lib/ldscripts/elf_k1om.xs
parent665c16ae26cae6ca9e7aeb801638e46f6506e3e8 (diff)
downloadx86_64-linux-android-4.8-515a379df952ce2d4e922d04da1ea92f000b6259.tar.gz
Refresh x86_64-linux-android-4.8 with sizeof(long double)==16idea133-weekly-release
See prev commit for build instructions Change-Id: I4aff14f625ddd599bb7017da74a1501f52342c0c
Diffstat (limited to 'x86_64-linux-android/lib/ldscripts/elf_k1om.xs')
-rw-r--r--x86_64-linux-android/lib/ldscripts/elf_k1om.xs6
1 files changed, 3 insertions, 3 deletions
diff --git a/x86_64-linux-android/lib/ldscripts/elf_k1om.xs b/x86_64-linux-android/lib/ldscripts/elf_k1om.xs
index 3c20a8b..882543f 100644
--- a/x86_64-linux-android/lib/ldscripts/elf_k1om.xs
+++ b/x86_64-linux-android/lib/ldscripts/elf_k1om.xs
@@ -70,9 +70,9 @@ SECTIONS
/* These sections are generated by the Sun/Oracle C++ compiler. */
.exception_ranges : ONLY_IF_RO { *(.exception_ranges
.exception_ranges*) }
- /* Adjust the address for the data segment. We want to align at exactly
- a page boundary to make life easier for apriori. */
- . = ALIGN (CONSTANT (MAXPAGESIZE)); . = DATA_SEGMENT_ALIGN (CONSTANT (MAXPAGESIZE), CONSTANT (COMMONPAGESIZE));
+ /* Adjust the address for the data segment. For 32 bits we want to align
+ at exactly a page boundary to make life easier for apriori. */
+ . = ALIGN (CONSTANT (MAXPAGESIZE)) - ((CONSTANT (MAXPAGESIZE) - .) & (CONSTANT (MAXPAGESIZE) - 1)); . = 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.*) }