diff options
author | Alan Modra <amodra@gmail.com> | 2008-02-16 00:06:02 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2008-02-16 00:06:02 +0000 |
commit | 819da74e19e58ccb6cf378100a3023b9f2532c40 (patch) | |
tree | 7d86f152ee303583b7bcbdf20101fadbcf1095e7 /ld/ldexp.c | |
parent | 1fb93dfff914856fe65d16fdf7d0bfc937669320 (diff) | |
download | gdb-819da74e19e58ccb6cf378100a3023b9f2532c40.zip gdb-819da74e19e58ccb6cf378100a3023b9f2532c40.tar.gz gdb-819da74e19e58ccb6cf378100a3023b9f2532c40.tar.bz2 |
PR ld/5761
* ldexp.c (fold_name <LOADADDR>): Check result of evaluating
load_base before calling make_abs.
Diffstat (limited to 'ld/ldexp.c')
-rw-r--r-- | ld/ldexp.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -605,7 +605,8 @@ fold_name (etree_type *tree) else { exp_fold_tree_1 (os->load_base); - make_abs (); + if (expld.result.valid_p) + make_abs (); } } } |