phdrs3a.t 336 B

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