bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/21703] The first symbol definition is overwritten by second defi


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/21703] The first symbol definition is overwritten by second definition when --allow-multiple-definition is provieded
Date: Fri, 02 Feb 2018 18:09:20 +0000

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

--- Comment #12 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Maciej W. Rozycki <address@hidden>:

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

commit e54d3c943bb3999aeaf1667b4975dc035f7b554c
Author: Maciej W. Rozycki <address@hidden>
Date:   Fri Feb 2 18:08:04 2018 +0000

    LD/testsuite: Pass $AFLAGS_PIC to GAS for PIC assembly

    Add $AFLAGS_PIC flags for PIC assembly to a number of tests missing them
    and remove `tic6x-*-*' XFAIL annotations from them, previously added to
    paper over:

    .../ld-new: warning: generating a shared library containing non-PID code

    error messages produced due to `-mpic -mpid=near' GAS options having not
    been used.  Such errors now do not happen anymore, removing:

    XFAIL: Build shared library for pr14170
    XFAIL: PR ld/21703 shared
    XFAIL: Build shared library for broken linker script test
    XFAIL: Build pr17068.so
    XFAIL: -Bsymbolic-functions
    XFAIL: Build pr20995.so
    XFAIL: Build pr22374 shared library

    with `tic6x-elf' and `tic6x-uclinux' targets.  These tests now pass all
    except for:

    FAIL: PR ld/21703 shared

    which is now due to a different reason, as follows:

    extra regexps in .../ld/testsuite/ld-elf/pr21703-shared.sd starting with
"^Symbol table '\.dynsym' contains [0-9]+ entries:$"
    EOF from dump.out
    FAIL: PR ld/21703 shared

    The addition of $AFLAGS_PIC requires the affected test cases to use the
    `list' command rather than `{}' characters to create a list, to avoid
    the quoting property `{}' also have in TCL.  Consequently the change is
    slightly more extensive than it could otherwise be.

        ld/
        * testsuite/ld-elf/shared.exp: Add $AFLAGS_PIC throughout to PIC
        assembly builds where missing and remove `tic6x-*-*' XFAIL
        markings accordingly.

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