mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-18 14:53:32 +08:00
f1d8578513
bfd/ PR binutils/14493 * elf.c (copy_elf_program_header): When rewriting program header, set the output maxpagesize to the maximum alignment of input PT_LOAD segments. 2012-11-21 H.J. Lu <hongjiu.lu@intel.com> PR binutils/14493 * ld-elf/maxpage5.d: New file. * ld-elf/maxpage5.s: Likewise. * ld-elf/maxpage5.t: Likewise.
16 lines
223 B
Perl
16 lines
223 B
Perl
OUTPUT_FORMAT("elf32-i386")
|
|
OUTPUT_ARCH(i386)
|
|
ENTRY(_entry)
|
|
PHDRS
|
|
{
|
|
data PT_LOAD;
|
|
note PT_NOTE;
|
|
}
|
|
SECTIONS
|
|
{
|
|
.text : { *(.text) } :data
|
|
.foo : { *(.foo) } :data
|
|
.note : { *(.note) } :note
|
|
/DISCARD/ : { *(*) }
|
|
}
|