mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
7f9adacd07
* ld-scripts/phdrs.t: Use startaddress that's greater than any MAXPAGESIZE used.
17 lines
331 B
Perl
17 lines
331 B
Perl
PHDRS
|
|
{
|
|
header PT_PHDR PHDRS ;
|
|
text PT_LOAD FILEHDR PHDRS ;
|
|
data PT_LOAD ;
|
|
}
|
|
|
|
SECTIONS
|
|
{
|
|
/* This test will fail on architectures where the startaddress below
|
|
is less than the constant MAXPAGESIZE. */
|
|
. = 0x800000 + SIZEOF_HEADERS;
|
|
.text : { *(.text) } :text
|
|
.data : { *(.data) } :data
|
|
/DISCARD/ : { *(.*) }
|
|
}
|