bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/20976] broken allocation of common symbols at partial linking


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gold/20976] broken allocation of common symbols at partial linking
Date: Mon, 19 Dec 2016 18:38:16 +0000

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 <address@hidden>:

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

commit 89ede9f53b74f84febcd1c2a6db8b03f390b62ec
Author: Cary Coutant <address@hidden>
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.


reply via email to

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