59e0647f0d
* elf.c (assign_file_positions_for_load_sections): We can require fewer phdrs than expected. ld/ * emultempl/elf-generic.em (gdl_map_segments): Only allow header shrinkage for the first few iterations. ld/testsuite/ * ld-elf/header.d: New. * ld-elf/header.t: New. * ld-elf/header.s: New.
8 lines
104 B
Perl
8 lines
104 B
Perl
ENTRY(main)
|
|
|
|
SECTIONS
|
|
{
|
|
. = 0x10000 + SIZEOF_HEADERS;
|
|
.text : { *(.text) }
|
|
.data : { *(.data) }
|
|
}
|