Add support for non-contiguous memory regions
[deliverable/binutils-gdb.git] / ld / testsuite / ld-powerpc / non-contiguous-powerpc.ld
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 }
This page took 0.051587 seconds and 4 git commands to generate.