OSDN Git Service

auto import from //branches/cupcake/...@132569
[android-x86/prebuilt.git] / linux-x86 / toolchain / i686-unknown-linux-gnu-4.2.1 / i686-unknown-linux-gnu / lib / ldscripts / i386linux.xbn
1 /* Script for -N: mix text and data on same page; don't align data */
2 OUTPUT_FORMAT("a.out-i386-linux", "a.out-i386-linux",
3               "a.out-i386-linux")
4 OUTPUT_ARCH(i386)
5 SEARCH_DIR("/usr/local/google/home/dmitriyz/toolchain/i686-unknown-linux-gnuaout/lib");
6 PROVIDE (__stack = 0);
7 SECTIONS
8 {
9   . = 0x1020;
10   .text :
11   {
12     CREATE_OBJECT_SYMBOLS
13     *(.text)
14     /* The next six sections are for SunOS dynamic linking.  The order
15        is important.  */
16     *(.dynrel)
17     *(.hash)
18     *(.dynsym)
19     *(.dynstr)
20     *(.rules)
21     *(.need)
22     _etext = .;
23     __etext = .;
24   }
25   . = .;
26   .data :
27   {
28     /* The first three sections are for SunOS dynamic linking.  */
29     *(.dynamic)
30     *(.got)
31     *(.plt)
32     *(.data)
33     *(.linux-dynamic) /* For Linux dynamic linking.  */
34     CONSTRUCTORS
35     _edata  =  .;
36     __edata  =  .;
37   }
38   .bss :
39   {
40     __bss_start = .;
41    *(.bss)
42    *(COMMON)
43    . = ALIGN(4);
44    _end = . ;
45    __end = . ;
46   }
47 }