Commit | Line | Data |
---|---|---|
0920dee7 L |
1 | OUTPUT_ARCH(i386) |
2 | PHDRS { | |
3 | text PT_LOAD FLAGS(5); /* R_E */ | |
4 | } | |
5 | SECTIONS | |
6 | { | |
7 | . = 0xC0000000 + ((0x100000 + (0x100000 - 1)) & ~(0x100000 - 1)); | |
8 | .bar : AT(ADDR(.bar) - 0xC0000000) { *(.bar) } :text | |
9 | .bss : AT(ADDR(.bss) - 0xC0000000) { *(.bss) } | |
10 | .foo 0 : AT(ADDR(.bss) + SIZEOF(.bss) - 0xC0000000) { *(.foo) } :text | |
11 | /DISCARD/ : { *(.*) } | |
12 | } |