blob: 283e30c6799af1cab7b755842419ea5bf959f1eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
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/ : { *(.*) }
}
|