diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-01-24 17:59:18 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-01-24 17:59:18 +0000 |
commit | 755f42fe99bf0e0da7aa866f348f69aac49e2ac7 (patch) | |
tree | cd1875996c284ca40160ec3e7ef9889e32de31c7 /ld/ldlang.h | |
parent | ca1c6bec7377899f7ad4e0e90f38f046adaee0d5 (diff) | |
download | gdb-755f42fe99bf0e0da7aa866f348f69aac49e2ac7.zip gdb-755f42fe99bf0e0da7aa866f348f69aac49e2ac7.tar.gz gdb-755f42fe99bf0e0da7aa866f348f69aac49e2ac7.tar.bz2 |
* ldlang.c (relaxing): Removed global variable.
(lang_size_sections): If the canonical symbols have not already
been read in, read them in before relaxing.
* ldlang.h (relaxing): Removed declaration.
Diffstat (limited to 'ld/ldlang.h')
-rw-r--r-- | ld/ldlang.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/ld/ldlang.h b/ld/ldlang.h index 7df1189..1e7e36a 100644 --- a/ld/ldlang.h +++ b/ld/ldlang.h @@ -30,7 +30,7 @@ typedef enum lang_input_file_is_file_enum } lang_input_file_enum_type; -typedef unsigned short fill_type; +typedef unsigned int fill_type; typedef struct statement_list { union lang_statement_union *head; @@ -275,13 +275,10 @@ typedef union lang_statement_union extern bfd_size_type largest_section; extern lang_output_section_statement_type *abs_output_section; -extern lang_input_statement_type *script_file; extern boolean lang_has_input_file; -extern boolean relaxing; extern etree_type *base; extern lang_statement_list_type *stat_ptr; extern boolean delete_output_file_on_failure; -extern lang_output_section_statement_type *create_object_symbols; extern void lang_init PARAMS ((void)); extern struct memory_region_struct *lang_memory_region_lookup @@ -296,10 +293,8 @@ extern void lang_enter_output_section_statement bfd_vma block_value, etree_type *align, etree_type *subalign, - etree_type *base)); + etree_type *)); extern void lang_final PARAMS ((void)); -extern struct symbol_cache_entry *create_symbol - PARAMS ((const char *, unsigned int, struct sec *)); extern void lang_process PARAMS ((void)); extern void lang_section_start PARAMS ((const char *, union etree_union *)); extern void lang_add_entry PARAMS ((const char *)); @@ -374,7 +369,8 @@ extern void ldlang_add_undef PARAMS ((const char *const name)); extern void lang_add_output_format PARAMS ((const char *, int from_script)); extern void lang_list_init PARAMS ((lang_statement_list_type*)); extern void lang_add_data PARAMS ((int type, union etree_union *)); -extern void lang_for_each_statement PARAMS ((void (*func)())); +extern void lang_for_each_statement + PARAMS ((void (*func) (lang_statement_union_type *))); extern PTR stat_alloc PARAMS ((size_t size)); #endif |