mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +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/ : { *(.*) }
|
|
}
|