Debian Codegraph @

test/testfiles_for_unittests/note_with_segment_padding/link.ld

raw
1 PHDRS
2 {
3 elf_headers PT_LOAD FILEHDR PHDRS FLAGS(PF_R) ;
4 text PT_LOAD FLAGS(PF_R | PF_X) ;
5 data PT_LOAD FLAGS(PF_R | PF_W) ;
6 bss PT_LOAD FLAGS(PF_R | PF_W) ;
7 note PT_NOTE FLAGS(PF_R) ;
8 }
9
10 SECTIONS
11 {
12 .text : {
13 *(.text .text.* .gnu.linkonce.t.*)
14 } :text
15
16 .rela.dyn : {
17 *(.rela.dyn)
18 } :text
19
20 .bss . (NOLOAD): {
21 *(.bss)
22 *(COMMON)
23 } :bss
24
25 .note : ALIGN(8) {
26 KEEP(*(.note.custom))
27 } :text :note
28
29 /DISCARD/ : {
30 *(.note.gnu*)
31 *(.note.ABI-tag)
32 }
33 }
34