bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/20221] [avr] Wrong code generated with linker relaxation for sou


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/20221] [avr] Wrong code generated with linker relaxation for source with alignment directives
Date: Mon, 13 Jun 2016 12:39:19 +0000

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

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The binutils-2_26-branch branch has been updated by Senthil Kumar Selvaraj
<address@hidden>:

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

commit b3ec896b257ceb9765c1dd8667673c63ce5330c2
Author: Denis Chertykov <address@hidden>
Date:   Thu Jun 9 19:17:43 2016 +0300

    Fix PR 20221 - adjust syms and relocs only if relax shrunk section.

    This patch fixes an edge case in linker relaxation that causes symbol
    values to be computed incorrectly in the presence of align directives
    in input source code.

    bfd/
        * elf32-avr.c (elf32_avr_relax_delete_bytes): Adjust syms
        and relocs only if shrinking occurred.

    ld/
        * testsuite/ld-avr/avr-prop-5.d: New.
        * testsuite/ld-avr/avr-prop-5.s: New.

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