ld: Output Section Phdr
1
1 3.6.8.7 Output Section Phdr
1 ...........................
1
1 You can assign a section to a previously defined program segment by
1 using ':PHDR'. ⇒PHDRS. If a section is assigned to one or more
1 segments, then all subsequent allocated sections will be assigned to
1 those segments as well, unless they use an explicitly ':PHDR' modifier.
1 You can use ':NONE' to tell the linker to not put the section in any
1 segment at all.
1
1 Here is a simple example:
1 PHDRS { text PT_LOAD ; }
1 SECTIONS { .text : { *(.text) } :text }
1