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

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