Home | History | Annotate | Download | only in ld-elf
      1 OUTPUT_FORMAT("elf32-i386")
      2 OUTPUT_ARCH(i386)
      3 ENTRY(_entry)
      4 PHDRS
      5 {
      6   data PT_LOAD;
      7   note PT_NOTE;
      8 }
      9 SECTIONS
     10 {
     11   .text : { *(.text) } :data
     12   .foo : { *(.foo) } :data
     13   .note : { *(.note) } :note
     14   /DISCARD/ : { *(*) }
     15 }
     16