aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/phdrs3a.t
blob: c07ff34b71f06ca3a088b6fbb7d7bb85ebc5f8f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
PHDRS
{
  data PT_LOAD FILEHDR PHDRS FLAGS(4);
  text PT_LOAD FILEHDR PHDRS FLAGS(1);
}

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/ : { *(.*) }
}