diff options
author | Felipe Sateler <fsateler@debian.org> | 2021-12-11 09:57:42 -0300 |
---|---|---|
committer | Felipe Sateler <fsateler@debian.org> | 2021-12-11 09:57:42 -0300 |
commit | 9b7476ece31032443b23d0c29d3e2f8430ccd56f (patch) | |
tree | 3aa609323599e9a26284ae51c4b01f1511cf35d4 /tests/contiguous-note-sections.ld | |
parent | 77df926e47945fe90439dc14392a03adcb23d40c (diff) | |
parent | 33f8b793d0121f1c837bc6f8df493059b060edd2 (diff) |
Update upstream source from tag 'upstream/0.14.3'
Update to upstream version '0.14.3'
with Debian dir 5fce376ddd9db80ca6268e7f6b779f9f1a71514b
Diffstat (limited to 'tests/contiguous-note-sections.ld')
-rw-r--r-- | tests/contiguous-note-sections.ld | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/contiguous-note-sections.ld b/tests/contiguous-note-sections.ld new file mode 100644 index 0000000..230b8dc --- /dev/null +++ b/tests/contiguous-note-sections.ld @@ -0,0 +1,24 @@ +PHDRS +{ + headers PT_PHDR PHDRS ; + notes PT_NOTE; + text PT_LOAD FILEHDR PHDRS ; + data PT_LOAD ; + interp PT_INTERP ; + dynamic PT_DYNAMIC ; +} + +SECTIONS +{ + . = SIZEOF_HEADERS; + . = ALIGN(4); + + .note.my-section0 : { *(.note.my-section0) } :notes :text + .note.my-section1 : { *(.note.my-section1) } :notes :text + + .interp : { *(.interp) } :text :interp + .text : { *(.text) } :text + .rodata : { *(.rodata) } /* defaults to :text */ + + .data : { *(.data) } :data +} |