Some cases in both producing .o, .so, or .exe, the output relocations may
against section symbols. So we need to emit section symbols to output symtab
1. let input section LDSymbol point to the corresponding ResolveInfo. The
resolving rule is the same as section merge. (ex. section symbols `.text.a` and
`.text.b` should point to the same ResolveInfo when producing shared lib)
2. create output section LDSymbol and point to the corresponding ResolveInfo
3. When read relocations, those relocations against section symbols simply get
the correct ResolveInfo from the input section symbol
4. emit section symbol, handling symbol names which should point to .shstrtab
Original issue reported on code.google.com by mysekki on 19 Oct 2012 at 8:41
Original issue reported on code.google.com by
mysekki
on 19 Oct 2012 at 8:41