aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/rgn-at7.t
blob: c1f278975c8171b4d22bee94496a205984f4b637 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
MEMORY
{
  ram : ORIGIN = 0x10000, LENGTH = 0x10000
  rom : ORIGIN = 0x20000, LENGTH = 0x10000
}

SECTIONS
{
  .text : {*(.text)} > ram AT> rom
  .data : ALIGN (16) {*(.data)} > ram AT> rom
  /DISCARD/ : {*(*)}
}