* ldexp.c (fold_name <LOADADDR>): Return an absolute value
rather than a section relative value.
This commit is contained in:
parent
279d0c4d5c
commit
3e23777d0b
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2006-08-23 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* ldexp.c (fold_name <LOADADDR>): Return an absolute value
|
||||||
|
rather than a section relative value.
|
||||||
|
|
||||||
2006-08-22 Alan Modra <amodra@bigpond.net.au>
|
2006-08-22 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* NEWS: Mention LMA default change.
|
* NEWS: Mention LMA default change.
|
||||||
|
|
|
@ -577,8 +577,7 @@ fold_name (etree_type *tree)
|
||||||
if (os != NULL && os->processed_lma)
|
if (os != NULL && os->processed_lma)
|
||||||
{
|
{
|
||||||
if (os->load_base == NULL)
|
if (os->load_base == NULL)
|
||||||
new_rel (os->bfd_section->lma - os->bfd_section->vma,
|
new_abs (os->bfd_section->lma);
|
||||||
NULL, os->bfd_section);
|
|
||||||
else
|
else
|
||||||
exp_fold_tree_1 (os->load_base);
|
exp_fold_tree_1 (os->load_base);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue