projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fb93df
)
PR ld/5761
author
Alan Modra
<amodra@gmail.com>
Sat, 16 Feb 2008 00:06:02 +0000
(
00:06
+0000)
committer
Alan Modra
<amodra@gmail.com>
Sat, 16 Feb 2008 00:06:02 +0000
(
00:06
+0000)
* ldexp.c (fold_name <LOADADDR>): Check result of evaluating
load_base before calling make_abs.
ld/ChangeLog
patch
|
blob
|
history
ld/ldexp.c
patch
|
blob
|
history
diff --git
a/ld/ChangeLog
b/ld/ChangeLog
index f8d3bf858443dfece6add620222158ddde9171fd..0351411706ebc76cbc32de22c55e5960413736ad 100644
(file)
--- a/
ld/ChangeLog
+++ b/
ld/ChangeLog
@@
-1,3
+1,9
@@
+2008-02-16 Alan Modra <amodra@bigpond.net.au>
+
+ PR ld/5761
+ * ldexp.c (fold_name <LOADADDR>): Check result of evaluating
+ load_base before calling make_abs.
+
2008-02-15 Alan Modra <amodra@bigpond.net.au>
* emultempl/alphaelf.em (alpha_after_open): Use elf_object_id.
diff --git
a/ld/ldexp.c
b/ld/ldexp.c
index 16ee5dd5567defe7968c87f2c2411f07943f8cf7..17dd49dd8ccd1e76500717f59768204f2258382a 100644
(file)
--- 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 ();
}
}
}