OSDN Git Service

8a33f2818b46d46d1796cda349195c161d8190f4
[android-x86/prebuilt.git] / linux-x86 / toolchain / i686-unknown-linux-gnu-4.2.1 / i686-unknown-linux-gnu / lib / ldscripts / i386linux.xr
1 /* Script for ld -r: link without relocation */
2 OUTPUT_FORMAT("a.out-i386-linux", "a.out-i386-linux",
3               "a.out-i386-linux")
4 OUTPUT_ARCH(i386)
5 SECTIONS
6 {
7   .text :
8   {
9     CREATE_OBJECT_SYMBOLS
10     *(.text)
11     /* The next six sections are for SunOS dynamic linking.  The order
12        is important.  */
13     *(.dynrel)
14     *(.hash)
15     *(.dynsym)
16     *(.dynstr)
17     *(.rules)
18     *(.need)
19   }
20   .data :
21   {
22     /* The first three sections are for SunOS dynamic linking.  */
23     *(.dynamic)
24     *(.got)
25     *(.plt)
26     *(.data)
27     *(.linux-dynamic) /* For Linux dynamic linking.  */
28   }
29   .bss :
30   {
31    ;
32    *(.bss)
33    *(COMMON)
34    ;
35    ;
36   }
37 }