source: trunk/binutils/ld/testsuite/ld-scripts/phdrs.t

Last change on this file was 10, checked in by bird, 22 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 331 bytes
Line 
1PHDRS
2{
3 header PT_PHDR PHDRS ;
4 text PT_LOAD FILEHDR PHDRS ;
5 data PT_LOAD ;
6}
7
8SECTIONS
9{
10 /* This test will fail on architectures where the startaddress below
11 is less than the constant MAXPAGESIZE. */
12 . = 0x800000 + SIZEOF_HEADERS;
13 .text : { *(.text) } :text
14 .data : { *(.data) } :data
15 /DISCARD/ : { *(.*) }
16}
Note: See TracBrowser for help on using the repository browser.