- 论坛徽章:
- 0
|
本帖最后由 landker 于 2013-09-17 17:31 编辑
请问一下, .eh_frame, .rel.eh_frame, .common, .note.GNU-stack 这4个段是干什么用的?如果要进行链接,那如何进行?(即,.eh_frame是否是合并到.text中?)- Section Headers:
- [Nr] Name Type Addr Off Size ES Flg Lk Inf Al
- [ 0] NULL 00000000 000000 000000 00 0 0 0
- [ 1] .text PROGBITS 00000000 000034 000286 00 AX 0 0 4
- [ 2] .rel.text REL 00000000 000764 000090 08 10 1 4
- [ 3] .data PROGBITS 00000000 0002bc 000000 00 WA 0 0 4
- [ 4] .bss NOBITS 00000000 0002bc 000000 00 WA 0 0 4
- [ 5] .comment PROGBITS 00000000 0002bc 00002b 01 MS 0 0 1
- [ 6] .note.GNU-stack PROGBITS 00000000 0002e7 000000 00 0 0 1
- [ 7] .eh_frame PROGBITS 00000000 0002e8 000098 00 A 0 0 4
- [ 8] .rel.eh_frame REL 00000000 0007f4 000020 08 10 7 4
- [ 9] .shstrtab STRTAB 00000000 000380 000057 00 0 0 1
- [10] .symtab SYMTAB 00000000 0005b8 000140 10 11 8 4
- [11] .strtab STRTAB 00000000 0006f8 00006a 00 0 0 1
复制代码 |
|