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

--- Comment #16 from hpa at zytor dot com <hpa at zytor dot com> ---
I have tried removing -pie (which shouldn't actually be necessary); however,
when I do so, ld no longer generates the sections which are necessary to export
symbols to dynamic libraries.  The command line looks like:

ld -m elf_i386  -Bdynamic -Bsymbolic -Bsymbolic-functions \
        -E --hash-style=gnu -T /home/hpa/syslinux/git/core/i386/syslinux.ld -M
-o ldlinux.elf ldlinux.o \
        --start-group libcom32.a --whole-archive
/home/hpa/syslinux/git/bios/com32/lib/libcom32core.a libldlinux.a --end-group \
        > ldlinux.map

... and I will attach the linker script.

-- 
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