aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-06-09 02:59:57 +0000
committerAlan Modra <amodra@gmail.com>2005-06-09 02:59:57 +0000
commitdea2f0a859a292147d2543bcd7a4e138aa4ac72e (patch)
tree97d396dd726a0ab5ae8eeac537c6bdacdad2081c /ld
parent6e81d46e50b6c0ca5abaf6fdd80984b546c116ae (diff)
downloadgdb-dea2f0a859a292147d2543bcd7a4e138aa4ac72e.zip
gdb-dea2f0a859a292147d2543bcd7a4e138aa4ac72e.tar.gz
gdb-dea2f0a859a292147d2543bcd7a4e138aa4ac72e.tar.bz2
* ldexp.c (fold_unary <ALIGN_K>): Revert last change.
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;