• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/* Memory region overflow tests: one region, first output sect fits,
2   second doesn't. */
3
4MEMORY {
5  bss (rwx) : ORIGIN = 0, LENGTH = 0
6  r1 (rwx) : ORIGIN = 0x1000, LENGTH = 20
7}
8_start = 0x1000;
9SECTIONS {
10  .bss  : { *(.bss)  } > bss
11  .text : { *(.txt) } > r1
12  .data : { *(.dat) } > r1
13  /DISCARD/ : { *(*) }
14}
15