diff options
author | Alan Modra <amodra@gmail.com> | 2004-06-14 12:46:43 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-06-14 12:46:43 +0000 |
commit | 7115639bec911ae1dde027337a909b6b7674d9a5 (patch) | |
tree | 571a130abaebff275e1fe96a583b4f36bd3cc48a | |
parent | 699a6c011bd5cc1d8d1a921640409fea9d6b99bb (diff) | |
download | gdb-7115639bec911ae1dde027337a909b6b7674d9a5.zip gdb-7115639bec911ae1dde027337a909b6b7674d9a5.tar.gz gdb-7115639bec911ae1dde027337a909b6b7674d9a5.tar.bz2 |
* ldlang.c (lang_finish): Don't free lang_definedness_table.
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/ldlang.c | 3 |
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 |