]>
Commit | Line | Data |
---|---|---|
abf874aa CL |
1 | /* Distance between 'one' and 'two' means that relaxation implies that |
2 | .text.one's size increases. Even though the result would fit in | |
3 | 'oneandhalf', this is not supported by | |
4 | --enable-non-contiguous-regions. */ | |
5 | ||
6 | MEMORY { | |
7 | one (RXAI) : ORIGIN = 0x00000000, LENGTH = 0x00000010 | |
8 | oneandhalf (RXAI) : ORIGIN = 0x00001000, LENGTH = 0x00001010 | |
9 | two (RXAI) : ORIGIN = 0x20000000, LENGTH = 0x10000000 | |
10 | } | |
11 | ||
12 | SECTIONS { | |
13 | one : { | |
14 | *(.text.one) | |
15 | } > one | |
16 | oneandhalf : { | |
17 | *(.text.one) | |
18 | } > oneandhalf | |
19 | two : { | |
20 | *(.text.two) | |
21 | } > two | |
22 | } |