elfv2exe.d 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #source: elfv2.s
  2. #as: -a64
  3. #ld: -melf64ppc --defsym f2=0x1234 --defsym f3=0x10008888 --defsym f4=0x1200000 --defsym _start=f1
  4. #objdump: -dr
  5. .*
  6. Disassembly of section \.text:
  7. 0+100000c0 <.*\.plt_branch\.f4>:
  8. .*: (3d 82 ff ff|ff ff 82 3d) addis r12,r2,-1
  9. .*: (e9 8c 7f 58|58 7f 8c e9) ld r12,32600\(r12\)
  10. .*: (7d 89 03 a6|a6 03 89 7d) mtctr r12
  11. .*: (4e 80 04 20|20 04 80 4e) bctr
  12. 0+100000d0 <.*\.plt_branch\.f2>:
  13. .*: (3d 82 ff ff|ff ff 82 3d) addis r12,r2,-1
  14. .*: (e9 8c 7f 60|60 7f 8c e9) ld r12,32608\(r12\)
  15. .*: (7d 89 03 a6|a6 03 89 7d) mtctr r12
  16. .*: (4e 80 04 20|20 04 80 4e) bctr
  17. 0+100000e0 <.*\.long_branch\.f5>:
  18. .*: (f8 41 00 18|18 00 41 f8) std r2,24\(r1\)
  19. .*: (48 00 00 6c|6c 00 00 48) b .* <f5>
  20. \.\.\.
  21. 0+10000100 <(f1|_start)>:
  22. .*: (3c 40 10 02|02 10 40 3c) lis r2,4098
  23. .*: (38 42 82 00|00 82 42 38) addi r2,r2,-32256
  24. .*: (7c 08 02 a6|a6 02 08 7c) mflr r0
  25. .*: (f8 21 ff e1|e1 ff 21 f8) stdu r1,-32\(r1\)
  26. .*: (f8 01 00 30|30 00 01 f8) std r0,48\(r1\)
  27. .*: (4b ff ff f5|f5 ff ff 4b) bl .* <(f1|_start)\+0x8>
  28. .*: (e8 62 80 08|08 80 62 e8) ld r3,-32760\(r2\)
  29. .*: (4b .. .. ..|.. .. .. 4b) bl .*\.plt_branch\.f2>
  30. .*: (60 00 00 00|00 00 00 60) nop
  31. .*: (38 62 80 18|18 80 62 38) addi r3,r2,-32744
  32. .*: (48 .. .. ..|.. .. .. 48) bl 10008888 <f3>
  33. .*: (60 00 00 00|00 00 00 60) nop
  34. .*: (4b .. .. ..|.. .. .. 4b) bl .*\.plt_branch\.f4>
  35. .*: (60 00 00 00|00 00 00 60) nop
  36. .*: (4b .. .. ..|.. .. .. 4b) bl .*\.long_branch\.f5>
  37. .*: (e8 41 00 18|18 00 41 e8) ld r2,24\(r1\)
  38. .*: (e8 01 00 30|30 00 01 e8) ld r0,48\(r1\)
  39. .*: (38 21 00 20|20 00 21 38) addi r1,r1,32
  40. .*: (7c 08 03 a6|a6 03 08 7c) mtlr r0
  41. .*: (4e 80 00 20|20 00 80 4e) blr
  42. 0+10000150 <f5>:
  43. .*: (4e 80 00 20|20 00 80 4e) blr