Commit | Line | Data |
---|---|---|
b5f14a6d DD |
1 | /* The .foo section doesn't specify *any* objects, but the object |
2 | we're linking has sections named ".foo". Make sure these sections | |
3 | are linked into the .foo output section anyway. The bug that was | |
4 | fixed was that a new .foo output section would be created at | |
5 | address 0. */ | |
6 | ||
7 | SECTIONS { | |
8 | .foo 0x00001000 : { | |
9 | } | |
10 | .text 0x00002000 : { | |
11 | *(.text); | |
12 | } | |
13 | } |