From: Alan Modra Date: Mon, 14 Jun 2004 12:46:43 +0000 (+0000) Subject: * ldlang.c (lang_finish): Don't free lang_definedness_table. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7115639bec911ae1dde027337a909b6b7674d9a5;p=binutils-gdb.git * ldlang.c (lang_finish): Don't free lang_definedness_table. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 00318f37847..edc76afbbf5 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2004-06-14 Alan Modra + + From Richard Wirth + * ldlang.c (lang_finish): Don't free lang_definedness_table. + 2004-05-29 Alan Modra * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles.. diff --git a/ld/ldlang.c b/ld/ldlang.c index 7ff8be0dcb8..4db0a5f45b0 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