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: Thu, 09 Jun 2016 16:20:04 +0000

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

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Denis Chertykov <address@hidden>:

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

commit 5c41dbc302c2dd87e201e4fd1d9ae3186f6e51a0
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]