aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmain.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2005-09-30 17:45:54 +0000
committerH.J. Lu <hjl.tools@gmail.com>2005-09-30 17:45:54 +0000
commit750877bad8740895d88b9f2f284e2400ef79f844 (patch)
treeb3b9da46444fe90f99f8d9d180b0351dc6013cd9 /ld/ldmain.c
parent869b9d07bbfd935cc39b6bccb3da0506e467b6a7 (diff)
downloadgdb-750877bad8740895d88b9f2f284e2400ef79f844.zip
gdb-750877bad8740895d88b9f2f284e2400ef79f844.tar.gz
gdb-750877bad8740895d88b9f2f284e2400ef79f844.tar.bz2
ld/
2005-09-30 H.J. Lu <hongjiu.lu@intel.com> * ldlang.c (output_statement_hash_entry): New type. (output_statement_table): New variable for hash table. (output_statement_newfunc): New function. (output_statement_table_init): Likewise. (output_statement_table_free): Likewise. (lang_init): Call output_statement_table_init. (lang_finish): Renamed to ... (lang_end): This. (lang_process): Updated. (lang_finish): New function. (lang_output_section_find_1): Use hash table. (lang_output_section_statement_lookup_1): Likewise. * ldlang.h (lang_finish): New. * ldmain.c (main): Call lang_finish. ld/testsuite/ 2005-09-30 H.J. Lu <hongjiu.lu@intel.com> * ld-elf/sec64k.exp: Enabled for all ELF targets.
Diffstat (limited to 'ld/ldmain.c')
-rw-r--r--ld/ldmain.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c
index dd79c23..f9e1348 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -474,6 +474,8 @@ main (int argc, char **argv)
if (nocrossref_list != NULL)
check_nocrossrefs ();
+ lang_finish ();
+
/* Even if we're producing relocatable output, some non-fatal errors should
be reported in the exit status. (What non-fatal errors, if any, do we
want to ignore for relocatable output?) */