Home | History | Annotate | Download | only in ld-scripts
      1 /* Memory region overflow tests: bss to LMA doesn't cause overflow.  */
      2 
      3 MEMORY {
      4   rom (rwx) : ORIGIN = 0, LENGTH = 2048
      5   ram (rwx) : ORIGIN = 0x1000, LENGTH = 2048
      6 }
      7 _start = 0x0;
      8 SECTIONS {
      9   .text : { *(.text) } >rom AT>rom
     10   .data : { *(.data) } >ram AT>rom
     11   .bss : { *(.bss) } >ram AT>rom
     12   /DISCARD/ : { *(*) }
     13 }
     14