https://sourceware.org/bugzilla/show_bug.cgi?id=19538

--- Comment #32 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to h...@zytor.com from comment #24)
> ... and when linking with "-Bdynamic" without "-pie", ld removes all the
> sections related to dynamic linking when there are no undefined symbols
> which need resolution, with the result that loading the dynamic modules fail.

To get dynamic sections, you have to either use -pie or -shared.  -Bdynamic
is unrelated.  Please use -pie.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to