aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2004-06-14 12:46:43 +0000
committerAlan Modra <amodra@gmail.com>2004-06-14 12:46:43 +0000
commit7115639bec911ae1dde027337a909b6b7674d9a5 (patch)
tree571a130abaebff275e1fe96a583b4f36bd3cc48a /ld
parent699a6c011bd5cc1d8d1a921640409fea9d6b99bb (diff)
downloadgdb-7115639bec911ae1dde027337a909b6b7674d9a5.zip
gdb-7115639bec911ae1dde027337a909b6b7674d9a5.tar.gz
gdb-7115639bec911ae1dde027337a909b6b7674d9a5.tar.bz2
* ldlang.c (lang_finish): Don't free lang_definedness_table.
Diffstat (limited to 'ld')
-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