mirror of
https://github.com/rui314/mold.git
synced 2024-11-10 19:26:38 +03:00
04ccd4dbdd
When we are creating a DSO, unresolved undefined symbols are promoted to dynamic symbols by default so that they will get another chance to be resolved at runtime. You can suppress this behavior by passing `-z defs`. If that option is given, remaining undefs are reported as errors instead of being silently promoted. It looks like `-warn-undefined-symbols` negates the effect of `-z defs`. So, if both options are given, remaining undefs are promoted to dynamic symbols. mold previously silently make such symbols absolute symbols with value 0. Fixed https://github.com/rui314/mold/issues/152 |
||
---|---|---|
.. | ||
elf | ||
macho | ||
gentoo-test.sh | ||
Makefile.darwin | ||
Makefile.linux |