https://sourceware.org/bugzilla/show_bug.cgi?id=25910
--- Comment #1 from Fangrui Song <i at maskray dot me> --- https://sourceware.org/pipermail/binutils/2020-May/110930.html [PATCH] ld: Add --export-dynamic-symbol Note, in gold and lld, --export-dynamic-symbol foo does not add foo to .symtab if foo does not exist. I prefer the semantics, but (I don't know hot to implement the semantics) my patch behaves like regular -u: there is an undefined symbol in .symtab . This difference does not really in practice, though. -- You are receiving this mail because: You are on the CC list for the bug.