Home | History | Annotate | Download | only in ldscripts
      1 /* Script for ld -Ur: link w/out relocation, do create constructors */
      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     CONSTRUCTORS
     29   }
     30   .bss :
     31   {
     32    ;
     33    *(.bss)
     34    *(COMMON)
     35    ;
     36    ;
     37   }
     38 }
     39