mirror of
https://github.com/mirror/tinycc.git
synced 2026-08-18 11:03:27 +08:00
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.
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#define R_JMP_SLOT R_386_JMP_SLOT
|
||||
#define R_GLOB_DAT R_386_GLOB_DAT
|
||||
#define R_COPY R_386_COPY
|
||||
#define R_RELATIVE R_386_RELATIVE
|
||||
|
||||
#define R_NUM R_386_NUM
|
||||
|
||||
|
||||
Reference in New Issue
Block a user