summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/ld/testsuite/ld-scripts/rgn-at4.t
blob: 0e3fec42a5c5da75added3c93b8652edd06b62a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Memory region at test, >AT should propagate by default */

MEMORY {
  ram : ORIGIN = 0x10000, LENGTH = 0x100
  rom : ORIGIN = 0x20000, LENGTH = 0x200
}
_start = 0x1000;
SECTIONS {
  .text : { *(.text) } >ram AT>rom
  .data : { *(.data) } >ram
  .bss : { *(.bss) } >ram
  .trail : { LONG(5) } >ram
  /DISCARD/ : { *(*) }
}