OSDN Git Service

auto import from //branches/cupcake_rel/...@138607
[android-x86/prebuilt.git] / linux-x86 / toolchain / arm-eabi-4.2.1 / arm-eabi / lib / ldscripts / armelf.xsc
index 9b7dc70..102b7be 100644 (file)
@@ -3,7 +3,7 @@ OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm",
              "elf32-littlearm")
 OUTPUT_ARCH(arm)
 ENTRY(_start)
-SEARCH_DIR("=/usr/local/lib"); SEARCH_DIR("=/lib"); SEARCH_DIR("=/usr/lib");
+SEARCH_DIR("/android/mathias/armdev/toolchain-eabi-4.2.1/arm-eabi/lib");
 SECTIONS
 {
   /* Read-only sections, merged into text segment: */
@@ -76,7 +76,7 @@ SECTIONS
   .gcc_except_table   : ONLY_IF_RO { *(.gcc_except_table .gcc_except_table.*) }
   /* Adjust the address for the data segment.  We want to adjust up to
      the same address within the page on the next page up.  */
-  . = ALIGN(4096) + (. & (4096 - 1));
+  . = ALIGN(256) + (. & (256 - 1));
   /* Exception handling  */
   .eh_frame       : ONLY_IF_RW { KEEP (*(.eh_frame)) }
   .gcc_except_table   : ONLY_IF_RW { *(.gcc_except_table .gcc_except_table.*) }