summaryrefslogtreecommitdiff
path: root/mipsel-linux-android/lib/ldscripts/elf32ltsmip.x
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2012-06-12 17:16:52 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2012-06-12 17:16:52 +0800
commit5c89980c530f9b1790e9c1b9c2b83596ac69a7a5 (patch)
tree4081a8387c2b2f48b2c834e602ebd8e622987082 /mipsel-linux-android/lib/ldscripts/elf32ltsmip.x
parent3e0d5f3188cdc41578110daf7a925ee5b77a0425 (diff)
downloadmipsel-linux-android-4.6-5c89980c530f9b1790e9c1b9c2b83596ac69a7a5.tar.gz
Update mips toolchain mipsel-linux-android-4.6 (darwin-x86)
Update mips toolchain to account for fix in https://android-review.googlesource.com/#/c/37797/ and other enhancements in toolchain.git Build instructions (on MacOSX): Cherry-pick the following (not yet merged at the time of this CL): https://android-review.googlesource.com/#/c/37730 https://android-review.googlesource.com/#/c/37843 export NDK=your-AOSP-path/ndk cd $NDK ; ./build/tools/dev-cleanup.sh ./build/tools/download-toolchain-sources.sh /tmp/ndk-$USER/src ./build/tools/gen-platforms.sh --minimal --dst-dir=$NDK --ndk-dir=$NDK --arch=mips ./build/tools/build-gcc.sh /tmp/ndk-$USER/src $NDK --gdb-version=7.3.x mipsel-linux-android-4.6 rm -rf $NDK/toolchains/mipsel-linux-android-4.6/prebuilt/darwin-x86/sysroot cp -a $NDK/toolchains/mipsel-linux-android-4.6/prebuilt/darwin-x86/* $NDK/../prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.6 Change-Id: I606406565b1759f980a62efe6bca3d2969689a73
Diffstat (limited to 'mipsel-linux-android/lib/ldscripts/elf32ltsmip.x')
-rw-r--r--mipsel-linux-android/lib/ldscripts/elf32ltsmip.x5
1 files changed, 2 insertions, 3 deletions
diff --git a/mipsel-linux-android/lib/ldscripts/elf32ltsmip.x b/mipsel-linux-android/lib/ldscripts/elf32ltsmip.x
index 50f6b4f..319b47b 100644
--- a/mipsel-linux-android/lib/ldscripts/elf32ltsmip.x
+++ b/mipsel-linux-android/lib/ldscripts/elf32ltsmip.x
@@ -11,7 +11,6 @@ SECTIONS
.interp : { *(.interp) }
.reginfo : { *(.reginfo) }
.note.gnu.build-id : { *(.note.gnu.build-id) }
- .dynamic : { *(.dynamic) }
.hash : { *(.hash) }
.gnu.hash : { *(.gnu.hash) }
.dynsym : { *(.dynsym) }
@@ -109,8 +108,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.*) }
@@ -175,6 +173,7 @@ SECTIONS
}
.jcr : { KEEP (*(.jcr)) }
.data.rel.ro : { *(.data.rel.ro.local* .gnu.linkonce.d.rel.ro.local.*) *(.data.rel.ro* .gnu.linkonce.d.rel.ro.*) }
+ .dynamic : { *(.dynamic) }
. = DATA_SEGMENT_RELRO_END (0, .);
.data :
{