Retro68/binutils/ld/testsuite/ld-elf/note-1.t
2012-03-26 21:18:29 +02:00

15 lines
182 B
Perl

ENTRY(_entry)
PHDRS
{
data PT_LOAD;
note PT_NOTE;
}
SECTIONS
{
. = 0x1000000;
.foo : { *(.foo) } :data
. = 0x2000000;
.note : { *(.note) } :note
/DISCARD/ : { *(*) }
}