bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/19617] ELF: Allow -E to work without -pic/-pie/-shared in the ab


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/19617] ELF: Allow -E to work without -pic/-pie/-shared in the absence of undefined symbols
Date: Thu, 18 Feb 2016 11:15:29 +0000

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

--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by H.J. Lu <address@hidden>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=bf89386a862ace008f0152bca8bddf996d3993c8

commit bf89386a862ace008f0152bca8bddf996d3993c8
Author: H.J. Lu <address@hidden>
Date:   Thu Feb 18 03:13:19 2016 -0800

    Always create dynamic sections for -E/--dynamic-list

    In embedded environments, including boot loaders, the non-PIC executable
    needs to export its symbols to modules loaded in the future.  We should
    always create dynamic sections for -E/--dynamic-list.

    bfd/

        PR ld/19617
        * elflink.c (elf_link_add_object_symbols): Always create dynamic
        sections for -E/--dynamic-list.

    ld/

        PR ld/19617
        * testsuite/ld-elf/pr19617.s: New file.
        * testsuite/ld-elf/pr19617a.d: Likewise.
        * testsuite/ld-elf/pr19617b.d: Likewise.
        * testsuite/ld-elf/pr19617c.d: Likewise.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]