elf: Support STB_LOCAL dynamic symbols
commit680e84fe42b66b92d9cbdcf5beffe4957c53b721
authorMichael Matz <matz@suse.de>
Sun, 7 May 2017 02:41:40 +0000 (7 04:41 +0200)
committerMichael Matz <matz@suse.de>
Sun, 7 May 2017 02:41:40 +0000 (7 04:41 +0200)
tree8acd24ff472661ed9cae338f552793f39a3e3adf
parent600018ce474b1ecb7ea51f9fa0b005000ccc9101
elf: Support STB_LOCAL dynamic symbols

local symbols can be resolved statically, they don't have to be
done dynamically, so this is a slight speedup at load time for
produced executables and shared libs.  The musl libc also rejects
any STB_LOCAL symbols for dynamic symbol resolution, so there it
also fixes use of shared libs created by tcc.
arm-link.c
arm64-link.c
c67-link.c
i386-link.c
x86_64-link.c