Displaying 1 result from an estimated 1 matches for "linkish".
Did you mean:
pinkish
2020 Nov 11
1
[LLD] Support DWARF64, debug_info "sorting"
...t
> communicate DWARF32/64 - some sections don't
> (debug_ranges/loc/str/macro for instance, if I recall correctly)...
> and if something has some 4 and 5, does it get sorted to the start? I guess so.
Parsing the sections is one possible approach. Another way, maybe an even more "linkish", would be to check relocations that point to the input sections. If all of them are 64-bit, the section can be placed after ones targeted by 32-bit relocations. Checking relocations is probably slower, but the approach may be generalized for other situations, if necessary.
> I do worry ab...