Advertisement
Guest User

Using a different linker script

a guest
Dec 14th, 2022
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.37 KB | None | 0 0
  1. There are 11 section headers, starting at offset 0x10d38:
  2.  
  3. Section Headers:
  4. [Nr] Name Type Address Offset
  5. Size EntSize Flags Link Info Align
  6. [ 0] NULL 0000000000000000 00000000
  7. 0000000000000000 0000000000000000 0 0 0
  8. [ 1] .text PROGBITS ffffffff80080000 00001000
  9. 000000000000be48 0000000000000000 AX 0 0 16
  10. [ 2] .rodata PROGBITS ffffffff8008c000 0000d000
  11. 0000000000000360 0000000000000000 A 0 0 8
  12. [ 3] .data PROGBITS ffffffff8008d000 0000e000
  13. 00000000000001d0 0000000000000000 WA 0 0 16
  14. [ 4] drivers PROGBITS ffffffff8008d1d0 0000e1d0
  15. 0000000000000060 0000000000000000 WA 0 0 8
  16. [ 5] modules PROGBITS ffffffff8008d230 0000e230
  17. 0000000000000080 0000000000000000 WA 0 0 8
  18. [ 6] .bss NOBITS ffffffff8008d2b0 0000e2b0
  19. 0000000000001818 0000000000000000 WA 0 0 16
  20. [ 7] .comment PROGBITS 0000000000000000 0000e2b0
  21. 0000000000000012 0000000000000001 MS 0 0 1
  22. [ 8] .symtab SYMTAB 0000000000000000 0000e2c8
  23. 0000000000001d58 0000000000000018 9 121 8
  24. [ 9] .strtab STRTAB 0000000000000000 00010020
  25. 0000000000000cc5 0000000000000000 0 0 1
  26. [10] .shstrtab STRTAB 0000000000000000 00010ce5
  27. 000000000000004d 0000000000000000 0 0 1
  28. Key to Flags:
  29. W (write), A (alloc), X (execute), M (merge), S (strings), I (info),
  30. L (link order), O (extra OS processing required), G (group), T (TLS),
  31. C (compressed), x (unknown), o (OS specific), E (exclude),
  32. p (processor specific)
  33.  
  34. Elf file type is EXEC (Executable file)
  35. Entry point 0xffffffff80080000
  36. There are 7 program headers, starting at offset 64
  37.  
  38. Program Headers:
  39. Type Offset VirtAddr PhysAddr
  40. FileSiz MemSiz Flags Align
  41. LOAD 0x0000000000001000 0xffffffff80080000 0x0000000000080000
  42. 0x000000000000be48 0x000000000000be48 R E 0x1000
  43. LOAD 0x000000000000d000 0xffffffff8008c000 0x000000000008c000
  44. 0x0000000000000360 0x0000000000000360 R 0x1000
  45. LOAD 0x00000000000001c8 0x0000000000000000 0x0000000000000000
  46. 0x0000000000000000 0x0000000000000000 R 0x1000
  47. LOAD 0x000000000000e000 0xffffffff8008d000 0x000000000008d000
  48. 0x00000000000002b0 0x0000000000001ac8 RW 0x1000
  49. LOAD 0x00000000000001c8 0x0000000000000000 0x0000000000000000
  50. 0x0000000000000000 0x0000000000000000 RW 0x1000
  51. LOAD 0x00000000000001c8 0x0000000000000000 0x0000000000000000
  52. 0x0000000000000000 0x0000000000000000 RWE 0x1000
  53. NOTE 0x0000000000000000 0x0000000000000000 0x0000000000000000
  54. 0x0000000000000000 0x0000000000000000 0x8
  55.  
  56. Section to Segment mapping:
  57. Segment Sections...
  58. 00 .text
  59. 01 .rodata
  60. 02
  61. 03 .data drivers modules .bss
  62. 04
  63. 05
  64. 06
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement