phdrs3.t 340 B

12345678910111213141516
  1. PHDRS
  2. {
  3. data PT_LOAD ;
  4. header PT_PHDR PHDRS ; /* OK */
  5. text PT_LOAD FILEHDR PHDRS ;
  6. }
  7. SECTIONS
  8. {
  9. /* This test will fail on architectures where the startaddress below
  10. is less than the constant MAXPAGESIZE. */
  11. . = 0x800000 + SIZEOF_HEADERS;
  12. .text : { *(.text) } :text
  13. .data : { *(.data) } :data
  14. /DISCARD/ : { *(.*) }
  15. }