aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/provide-4-map.d
blob: 189d1d04bcce69c2b30d7b55560a155335110518 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#...
Linker script and memory map
#...
                \[!provide\] +PROVIDE \(foo, 0x1\)
                \[!provide\] +PROVIDE \(bar, 0x2\)
                0x0+3 +PROVIDE \(baz, 0x3\)
#...
                0x0+2000 +foo
                \[!provide\] +PROVIDE \(loc1, ALIGN \(\., 0x10\)\)
                0x0+2010 +PROVIDE \(loc2, ALIGN \(\., 0x10\)\)
                \[!provide\] +PROVIDE \(loc3, \(loc1 \+ 0x20\)\)
                0x0+2030 +loc4 = \(loc2 \+ 0x20\)
#...