binutils-gdb/ld/testsuite/ld-elf/nobits-1.t
H.J. Lu d64cc92a74 2007-03-06 H.J. Lu <hongjiu.lu@intel.com>
PR ld/4144
	* ld-elf/nobits-1.d: New file.
	* ld-elf/nobits-1.s: Likewise.
	* ld-elf/nobits-1.t: Likewise.
2007-03-07 03:58:44 +00:00

14 lines
164 B
Perl

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