aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.h
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/ldlang.h
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/ldlang.h')
-rw-r--r--ld/ldlang.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/ldlang.h b/ld/ldlang.h
index 26b7d68..8ce312d 100644
--- a/ld/ldlang.h
+++ b/ld/ldlang.h
@@ -449,6 +449,8 @@ extern int lang_statement_iteration;
extern void lang_init
(void);
+extern void lang_finish
+ (void);
extern lang_memory_region_type *lang_memory_region_lookup
(const char *const, bfd_boolean);
extern lang_memory_region_type *lang_memory_region_default