Guest User

Untitled

a guest
Mar 20th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.55 KB | None | 0 0
  1. $ riscv64-unknown-linux-gnu-objdump -d -t -r hello.ko
  2. hello.ko: file format elf64-littleriscv
  3. SYMBOL TABLE:
  4. 0000000000000000 l d .note.gnu.build-id 0000000000000000 .note.gnu.build-id
  5. 0000000000000000 l d .text 0000000000000000 .text
  6. 0000000000000000 l d .modinfo 0000000000000000 .modinfo
  7. 0000000000000000 l d .rodata.str1.8 0000000000000000 .rodata.str1.8
  8. 0000000000000000 l d __versions 0000000000000000 __versions
  9. 0000000000000000 l d .data 0000000000000000 .data
  10. 0000000000000000 l d .gnu.linkonce.this_module 0000000000000000 .gnu.linkonce.this_module
  11. 0000000000000000 l d .bss 0000000000000000 .bss
  12. 0000000000000000 l d .comment 0000000000000000 .comment
  13. 0000000000000000 l df *ABS* 0000000000000000 hello.c
  14. 0000000000000000 l O .modinfo 000000000000000c __UNIQUE_ID_license10
  15. 000000000000000c l O .modinfo 000000000000000d __UNIQUE_ID_author9
  16. 0000000000000019 l O .modinfo 000000000000000c __UNIQUE_ID_version8
  17. 0000000000000000 l .rodata.str1.8 0000000000000000 .LC0
  18. 0000000000000007 l .text 0000000000000000 .L0
  19. 0000000000000010 l .rodata.str1.8 0000000000000000 .LC1
  20. 000000000000002e l .text 0000000000000000 .L0
  21. 0000000000000000 l df *ABS* 0000000000000000 hello.mod.c
  22. 0000000000000028 l O .modinfo 0000000000000023 __UNIQUE_ID_srcversion10
  23. 0000000000000050 l O .modinfo 0000000000000009 __module_depends
  24. 0000000000000059 l O .modinfo 000000000000000b __UNIQUE_ID_name9
  25. 0000000000000064 l O .modinfo 0000000000000047 __UNIQUE_ID_vermagic8
  26. 0000000000000000 l O __versions 0000000000000080 ____versions
  27. 0000000000000000 g O .gnu.linkonce.this_module 0000000000000240 __this_module
  28. 000000000000002e g F .text 0000000000000010 cleanup_module
  29. 0000000000000003 g F .text 0000000000000028 init_module
  30. 0000000000000000 *UND* 0000000000000000 printk
  31. Disassembly of section .text:
  32. 0000000000000000 <init_module-0x3>:
  33. 0: 00 01 00 # R_RISCV_ALIGN
  34. 0: R_RISCV_ALIGN *ABS*+0x3
  35. 0000000000000003 <init_module>:
  36. 3: ff010113 addi sp,sp,-16
  37. 0000000000000007 <.L0 >:
  38. 7: 00000517 auipc a0,0x0
  39. 7: R_RISCV_PCREL_HI20 .LC0
  40. 7: R_RISCV_RELAX *ABS*
  41. b: 00050513 mv a0,a0
  42. b: R_RISCV_PCREL_LO12_I .L0
  43. b: R_RISCV_RELAX *ABS*
  44. f: 00113423 sd ra,8(sp)
  45. 13: 00000097 auipc ra,0x0
  46. 13: R_RISCV_CALL printk
  47. 13: R_RISCV_RELAX *ABS*
  48. 17: 000080e7 jalr ra
  49. 1b: 00813083 ld ra,8(sp)
  50. 1f: 00000513 li a0,0
  51. 23: 01010113 addi sp,sp,16
  52. 27: 00008067 ret
  53. 2b: 00 01 00 # R_RISCV_ALIGN
  54. 2b: R_RISCV_ALIGN *ABS*+0x3
  55. 000000000000002e <cleanup_module>:
  56. 2e: 00000517 auipc a0,0x0
  57. 2e: R_RISCV_PCREL_HI20 .LC1
  58. 2e: R_RISCV_RELAX *ABS*
  59. 32: 00050513 mv a0,a0
  60. 32: R_RISCV_PCREL_LO12_I .L0
  61. 32: R_RISCV_RELAX *ABS*
  62. 36: 00000317 auipc t1,0x0
  63. 36: R_RISCV_CALL printk
  64. 36: R_RISCV_RELAX *ABS*
  65. 3a: 00030067 jr t1
  66. ...
Add Comment
Please, Sign In to add comment