sec-1.d 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #source: sec-1.s
  2. #source: start.s
  3. #ld: -m elf64mmix -u _etext -u _edata -u _end
  4. #objcopy_linked_file: -O mmo
  5. #objdump: -sht
  6. # Test conversion from ELF to mmo with non-mmo-sections present,
  7. # testing that support.
  8. .*: file format mmo
  9. Sections:
  10. Idx Name Size VMA LMA File off Algn
  11. 0 \.text 0+4 0+ 0+ 0+ 2\*\*2
  12. CONTENTS, ALLOC, LOAD, CODE
  13. 1 secname 0+19 0+4 0+4 0+ 2\*\*2
  14. CONTENTS, ALLOC, LOAD, READONLY, CODE
  15. 2 \.a\.fourth\.section 0+10 0+20 0+20 0+ 2\*\*2
  16. CONTENTS, ALLOC, LOAD, READONLY, DATA
  17. 3 anothersec 0+13 2000000000000000 2000000000000000 0+ 2\*\*2
  18. CONTENTS, ALLOC, LOAD, DATA
  19. 4 thirdsec 0+a 0+ 0+ 0+ 2\*\*2
  20. CONTENTS, READONLY
  21. SYMBOL TABLE:
  22. #...
  23. 0+30 g +\*ABS\* _etext
  24. #...
  25. 2000000000000013 g +\*ABS\* __bss_start
  26. 2000000000000013 g +\*ABS\* _edata
  27. 2000000000000018 g +\*ABS\* _end
  28. Contents of section \.text:
  29. 0000 e3fd0001 .*
  30. Contents of section secname:
  31. 0004 00000001 00000002 00000003 00000004 .*
  32. 0014 ffffffff fffff827 50 .*
  33. Contents of section \.a\.fourth\.section:
  34. 0020 00000000 0087a238 00000000 302a55a8 .*
  35. Contents of section anothersec:
  36. 2000000000000000 0000000a 00000009 00000008 00000007 .*
  37. 2000000000000010 252729 .*
  38. Contents of section thirdsec:
  39. 0000 00030d41 000186a2 2628 .*