MCPcopy Create free account
hub / github.com/TinyCC/tinycc / bind_libs_dynsyms

Function bind_libs_dynsyms

tccelf.c:2106–2129  ·  view source on GitHub ↗

Bind symbols of libraries: export all non local symbols of executable that are referenced by shared libraries. The reason is that the dynamic loader search symbol first in executable and then in libraries. Therefore a reference to a symbol already defined by a library can still be resolved by a symbol in the executable. With -rdynamic, export all defined symbols */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

elf_output_fileFunction · 0.85

Calls 2

find_elf_symFunction · 0.85
set_elf_symFunction · 0.85

Tested by

no test coverage detected