diff options
author | Alan Modra <amodra@bigpond.net.au> | 2008-02-16 00:06:02 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2008-02-16 00:06:02 +0000 |
commit | 78431fb71a8a62f0b15e76d0720b509b6e12d621 (patch) | |
tree | 736a70d754cfeaa197abee03ab05bfd6eda3c905 /ld/ldexp.c | |
parent | acce280e0acda58e32ba3af1947f772526de2fd4 (diff) | |
download | binutils-redhat-78431fb71a8a62f0b15e76d0720b509b6e12d621.tar.gz |
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
diff --git a/ld/ldexp.c b/ld/ldexp.c index 16ee5dd556..17dd49dd8c 100644 --- a/ld/ldexp.c +++ b/ld/ldexp.c @@ -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 (); } } } |