[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: |
Sun, 27 Jan 2019 23:31:22 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=24008
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by Alan Modra <address@hidden>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6a84624340dd19ccd927d91d79e0ece135c6d846
commit 6a84624340dd19ccd927d91d79e0ece135c6d846
Author: Alan Modra <address@hidden>
Date: Mon Jan 28 09:59:29 2019 +1030
PR24008, Wrong value of ternary expression in map file
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.