aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/ldexp.c5
2 files changed, 5 insertions, 4 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index ed249f0..3c98840 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,9 @@
2005-06-09 Alan Modra <amodra@bigpond.net.au>
+ * ldexp.c (fold_unary <ALIGN_K>): Revert last change.
+
+2005-06-09 Alan Modra <amodra@bigpond.net.au>
+
* ld.h (lang_phase_type): Move to..
* ldexp.h: ..here. Add lang_mark_phase_enum.
(node_type): Remove etree_undef and etree_unspec.
diff --git a/ld/ldexp.c b/ld/ldexp.c
index 9b899f0..6c3c717 100644
--- a/ld/ldexp.c
+++ b/ld/ldexp.c
@@ -207,10 +207,7 @@ fold_unary (etree_type *tree)
{
case ALIGN_K:
if (expld.phase != lang_first_phase_enum)
- {
- make_abs ();
- new_rel_from_abs (align_n (expld.dot, expld.result.value));
- }
+ new_rel_from_abs (align_n (expld.dot, expld.result.value));
else
expld.result.valid_p = FALSE;
break;