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

--- Comment #6 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 <h...@sourceware.org>:

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

commit 9865bd0da6e59c3a1c55605b5a6a9283ed4d542c
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Wed Sep 30 05:32:12 2015 -0700

    Also check e_machine when merging sections

    When we check consistency for merge ELF sections, we should not only
    check EI_CLASS, but also compatible e_machine.

    bfd/

        PR ld/19013
        * elflink.c (_bfd_elf_merge_sections): Only merge input bfds
        that have the compatible ELF machine code with the output bfd.

    ld/testsuite/

        PR ld/19013
        * ld-x86-64/pr19013-nacl.d: New file.
        * ld-x86-64/pr19013-x32.d: Likewise.
        * ld-x86-64/pr19013.d: Likewise.
        * ld-x86-64/pr19013.s: Likewise.
        * ld-x86-64/x86-64.exp: Run PR ld/19013 tests.

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