Home | History | Annotate | Download | only in ld-scripts
      1 /* Memory region overflow tests: one region, first output sect fits,
      2    second doesn't. */
      3 
      4 MEMORY {
      5   bss (rwx) : ORIGIN = 0, LENGTH = 0
      6   r1 (rwx) : ORIGIN = 0x1000, LENGTH = 20
      7 }
      8 _start = 0x1000;
      9 SECTIONS {
     10   .bss  : { *(.bss)  } > bss
     11   .text : { *(.txt) } > r1
     12   .data : { *(.dat) } > r1
     13   /DISCARD/ : { *(*) }
     14 }
     15