Fix PR ld/22263 on SPARC.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-elf / note-3.t
CommitLineData
894891db
NC
1PHDRS
2{
3 text PT_LOAD FILEHDR PHDRS ;
4 note PT_NOTE;
5}
6SECTIONS
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) }
8f5e83fb 17 .gnu.hash : { *(.gnu.hash) }
894891db
NC
18
19 .dynstr : { *(.dynstr) }
20 .dynsym : { *(.dynsym) }
06bcf541 21 .got : { *(.got .toc) *(.igot) }
894891db
NC
22 .got.plt : { *(.got.plt) *(.igot.plt) }
23 /DISCARD/ : { *(*) }
24}
This page took 0.483824 seconds and 4 git commands to generate.