gcsection.d 543 B

12345678910111213141516171819202122232425262728
  1. # name: H8300 GCC section test case
  2. # ld: --gc-sections
  3. # objdump: -d --no-show-raw-insn
  4. .*: file format .*
  5. Disassembly of section .text:
  6. 00000100 <_functionWeUse>:
  7. 100: mov.l er6,@-er7
  8. 104: mov.l er7,er6
  9. 106: subs #4,er7
  10. 108: mov.w r0,@\(0xfffe:16,er6\)
  11. 10c: mov.w @\(0xfffe:16,er6\),r2
  12. 110: mov.w r2,r0
  13. 112: adds #4,er7
  14. 114: mov.l @er7\+,er6
  15. 118: rts
  16. 0000011a <_start>:
  17. 11a: mov.l er6,@-er7
  18. 11e: mov.l er7,er6
  19. 120: mov.w #0x4b,r0
  20. 124: jsr @0x100:24
  21. 128: mov.w r0,r2
  22. 12a: mov.w r2,r0
  23. 12c: mov.l @er7\+,er6
  24. 130: rts