aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/ldlang.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 00318f3..edc76af 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2004-06-14 Alan Modra <amodra@bigpond.net.au>
+
+ From Richard Wirth <r.wirth@wirthware.de>
+ * ldlang.c (lang_finish): Don't free lang_definedness_table.
+
2004-05-29 Alan Modra <amodra@bigpond.net.au>
* ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..
diff --git a/ld/ldlang.c b/ld/ldlang.c
index 7ff8be0..4db0a5f 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -3802,7 +3802,8 @@ lang_finish (void)
}
}
- bfd_hash_table_free (&lang_definedness_table);
+ /* Don't bfd_hash_table_free (&lang_definedness_table);
+ map file output may result in a call of lang_track_definedness. */
}
/* This is a small function used when we want to ignore errors from