Commit | Line | Data |
---|---|---|
894891db NC |
1 | PHDRS |
2 | { | |
3 | text PT_LOAD FILEHDR PHDRS ; | |
4 | note PT_NOTE; | |
5 | } | |
6 | SECTIONS | |
7 | { | |
8 | . = . + SIZEOF_HEADERS ; | |
9 | .text : { *(.text) *(.rodata) } :text | |
10 | .note : { *(.note) } :note :text | |
11 | ||
12 | /* BUG: This linker script is broken here. It has not reset the | |
13 | output segment for the following sections, so they are all | |
14 | treated as notes... */ | |
15 | ||
16 | .hash : { *(.hash) } | |
17 | ||
18 | .dynstr : { *(.dynstr) } | |
19 | .dynsym : { *(.dynsym) } | |
20 | .got.plt : { *(.got.plt) *(.igot.plt) } | |
21 | /DISCARD/ : { *(*) } | |
22 | } |