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

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Cary Coutant <ccout...@sourceware.org>:

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

commit 89ede9f53b74f84febcd1c2a6db8b03f390b62ec
Author: Cary Coutant <ccout...@gmail.com>
Date:   Mon Dec 19 10:37:23 2016 -0800

    Fix forced allocation of common (-d) during -r links.

    If the .bss section has other data in it besides common allocations,
    gold was subtracting the wrong section start address from the symbol
    value.

    gold/
        PR gold/20976
        * symtab.cc (Symbol_table::sized_write_globals): Use address of
        output section, not input section.
        * testsuite/Makefile.am (pr20976): New test case.
        * testsuite/Makefile.in: Regenerate.
        * testsuite/pr20976.c: New source file.

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