Home | History | Annotate | Download | only in ld-scripts
      1 /* Memory region at test, >AT should propagate by default */
      2 
      3 MEMORY {
      4   ram : ORIGIN = 0x10000, LENGTH = 0x100
      5   rom : ORIGIN = 0x20000, LENGTH = 0x200
      6 }
      7 _start = 0x1000;
      8 SECTIONS {
      9   .text : { *(.text) } >ram AT>rom
     10   .data : { *(.data) } >ram /* default AT>rom */
     11   .bss : { *(.bss) } >ram
     12   /DISCARD/ : { *(*) }
     13 }
     14