[patch] Adding names for section-symbols, cleaning up first symbols layout

7 views
Skip to first unread message

Dmitry N. Mikushin

unread,
Nov 5, 2012, 11:01:10 AM11/5/12
to asf...@googlegroups.com
Dear all,

The attached patch does two things:

1) Duplicates the contents of .shstrtab to the beginning of .strtab,
in order to have nice string names for section-symbols in symbols
table (they are currently all empty).
2) Cleanup first symbols in table. It currently consists of 6 entries:
UND, ".shstrtab" + ".strbtab", ".symtab", UND, UND. Why 6? I changed
it to the usual flow: UND, ".shstrtab" + ".strbtab", ".symtab"

Best,
- D.
strtab.patch

Hou Yunqing

unread,
Nov 6, 2012, 5:49:14 AM11/6/12
to asfermi Google Group
Hi Dima,

The linking problem still not solved? Sorry I have like 6-7 things due in this week, and my finals are coming up in two weeks... I don't really know how I could help :(

Yunqing

Dmitry N. Mikushin

unread,
Nov 6, 2012, 6:03:27 AM11/6/12
to asf...@googlegroups.com
Hi Yunqing,

Not yet, I'm implementing my own tool to merge two ELF objects. Maybe
it would enlight the issues in linker, or, if not - then we will use
this mergerer instead of linker.

Good luck with your things!
- D.

2012/11/6 Hou Yunqing <hyq.n...@gmail.com>:
Reply all
Reply to author
Forward
0 new messages