seg.d 552 B

123456789101112131415161718192021
  1. #target: *-*-linux* *-*-gnu* *-*-vxworks arm*-*-uclinuxfdpiceabi
  2. #source: seg.s
  3. #ld: -T seg.t -z max-page-size=0x1000 -z common-page-size=0x1000
  4. #readelf: -l --wide
  5. #...
  6. Program Headers:
  7. Type Offset VirtAddr.*
  8. # On MIPS, the first segment is for .reginfo.
  9. #...
  10. LOAD .*
  11. LOAD 0x0*001000 0xf*fffff000 0xf*fffff000 0x0*1000 0x0*1000 .*
  12. # FRV adds a PT_GNU_STACK header
  13. #...
  14. Section to Segment mapping:
  15. Segment Sections...
  16. 00 .*
  17. # On MIPS, the first segment is for .reginfo.
  18. #...
  19. 0. reset boot
  20. #pass