https://sourceware.org/bugzilla/show_bug.cgi?id=16693
Fangrui Song <i at maskray dot me> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |i at maskray dot me
--- Comment #17 from Fangrui Song <i at maskray dot me> ---
--version-script can be specified multiple times.
---
I am not convinced that --export-dynamic-symbol should take precedence over
--exclude-libs=ALL .
I've tested an example modified from
llvm-project/lld/test/ELF/exclude-libs-versym.s
ld.bfd -shared a/a.o a/b.a --exclude-libs=b.a -o a.so -yfoo
--export-dynamic-symbol foo
ld.lld -shared a/a.o a/b.a --exclude-libs=b.a -o a.so -yfoo
--export-dynamic-symbol foo
gold -shared a/a.o a/b.a --exclude-libs=b.a -o a.so -yfoo
--export-dynamic-symbol foo
foo is local in all the linkers.
Different implementation strategies lead to the same precedence.
--
You are receiving this mail because:
You are on the CC list for the bug.