From: Alan Modra Date: Mon, 19 Feb 2007 23:51:58 +0000 (+0000) Subject: * ldexp.c (fold_name ): Ensure result is always absolute. X-Git-Tag: drow-reverse-20070409-branchpoint~431 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=67469e1ff309c1997e73e1ffc261a68fd2b29106;p=thirdparty%2Fbinutils-gdb.git * ldexp.c (fold_name ): Ensure result is always absolute. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 1e8dc5f2fc9..cbe05449797 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2007-02-20 Alan Modra + + * ldexp.c (fold_name ): Ensure result is always absolute. + 2007-02-17 Mark Mitchell Nathan Sidwell Vladimir Prus . @@ -485,6 +485,7 @@ fold_name (etree_type *tree) new_abs (hdr_size); } break; + case DEFINED: if (expld.phase == lang_first_phase_enum) lang_track_definedness (tree->name.name); @@ -507,6 +508,7 @@ fold_name (etree_type *tree) expld.result.valid_p = TRUE; } break; + case NAME: if (expld.phase == lang_first_phase_enum) ; @@ -591,7 +593,10 @@ fold_name (etree_type *tree) if (os->load_base == NULL) new_abs (os->bfd_section->lma); else - exp_fold_tree_1 (os->load_base); + { + exp_fold_tree_1 (os->load_base); + make_abs (); + } } } break;