From 5c89980c530f9b1790e9c1b9c2b83596ac69a7a5 Mon Sep 17 00:00:00 2001 From: Andrew Hsieh Date: Tue, 12 Jun 2012 17:16:52 +0800 Subject: 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 --- mipsel-linux-android/lib/ldscripts/elf64btsmip.xdw | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mipsel-linux-android/lib/ldscripts/elf64btsmip.xdw') diff --git a/mipsel-linux-android/lib/ldscripts/elf64btsmip.xdw b/mipsel-linux-android/lib/ldscripts/elf64btsmip.xdw index 8cfb00f..1729043 100644 --- a/mipsel-linux-android/lib/ldscripts/elf64btsmip.xdw +++ b/mipsel-linux-android/lib/ldscripts/elf64btsmip.xdw @@ -110,8 +110,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.*) } -- cgit v1.2.3