mirror of
https://github.com/rui314/mold.git
synced 2024-12-28 19:04:27 +03:00
wip
This commit is contained in:
parent
1028d7934b
commit
863a173a0b
@ -649,6 +649,8 @@ void DynsymSection::add_symbol(Symbol *sym) {
|
||||
}
|
||||
|
||||
void DynsymSection::sort_symbols() {
|
||||
Timer t("sort_dynsyms");
|
||||
|
||||
// In any ELF file, local symbols should precede global symbols.
|
||||
auto first_global = std::stable_partition(
|
||||
symbols.begin() + 1, symbols.end(),
|
||||
|
Loading…
Reference in New Issue
Block a user