Home | History | Annotate | Download | only in ldscripts
      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 }
     38