https://sourceware.org/bugzilla/show_bug.cgi?id=26551
--- Comment #11 from H.J. Lu ---
(In reply to Fangrui Song from comment #10)
> (In reply to Michael Matz from comment #9)
>
> I filed the bug not to find an alternative solution. I am wary of the
> semantics of --export-dynamic, --dynamic-lis
https://sourceware.org/bugzilla/show_bug.cgi?id=26551
--- Comment #10 from Fangrui Song ---
(In reply to Michael Matz from comment #9)
I filed the bug not to find an alternative solution. I am wary of the semantics
of --export-dynamic, --dynamic-list (and contributed the recent
--export-dynamic-
https://sourceware.org/bugzilla/show_bug.cgi?id=26520
Frank Mehnert changed:
What|Removed |Added
CC||frank.mehnert at gmail dot com
--- Co
https://sourceware.org/bugzilla/show_bug.cgi?id=26551
--- Comment #9 from Michael Matz ---
I think ld.bfd is completely fine to not export exe symbols only referenced by
mentioned but not otherwise needed libraries. It's follows from traditional
behaviour that executables don't export any symbol
https://sourceware.org/bugzilla/show_bug.cgi?id=26551
--- Comment #8 from H.J. Lu ---
(In reply to Fangrui Song from comment #7)
>
> >a.c < #include
> int foo() { return 42; }
> int main() {
>void *h = dlopen("./b.so", RTLD_LAZY);
>int (*bar)(void) = dlsym(h, "bar");
>return bar(