[Top][All Lists]

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

[Bug ld/24008] Wrong value of ternary expression in map file

From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/24008] Wrong value of ternary expression in map file
Date: Tue, 29 Jan 2019 11:21:55 +0000


--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The binutils-2_32-branch branch has been updated by Nick Clifton


commit 12542b2a6da22f5ab2fd4043e8bded1444ed42ad
Author: Nick Clifton <address@hidden>
Date:   Tue Jan 29 11:20:02 2019 +0000

    Fix error in expression evalutation in linker output maps.

        PR 24008
        * ldexp.h (lang_phase_type): Add lang_fixed_phase_enum.
        * ldexp.c (fold_name): Move expld.assign_name check later to
        avoid an extra lookup.
        (exp_fold_tree_1): When lang_fixed_phase_enum, don't change symbol
        values, and don't clear expld.assign_name.
        * ldlang.c (lang_map): Set expld.phase to lang_fixed_phase_enum.
        (print_assignment): Resolve entire assignment expression.
        Don't access symbol u.def unless symbol is defined.

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]