diff options
author | Alan Modra <amodra@gmail.com> | 2000-04-25 05:14:16 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2000-04-25 05:14:16 +0000 |
commit | aea4bd9d34f1b7454f9f04081569e7fe8371fca7 (patch) | |
tree | 0dd71ec345220574e4d1a676cbea5a09d29f87aa /ld/ldlang.c | |
parent | 8d82e76a9ddcdb24729311cda3bf216b9ed4c3dd (diff) | |
download | gdb-aea4bd9d34f1b7454f9f04081569e7fe8371fca7.zip gdb-aea4bd9d34f1b7454f9f04081569e7fe8371fca7.tar.gz gdb-aea4bd9d34f1b7454f9f04081569e7fe8371fca7.tar.bz2 |
place_orphan optimisations
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r-- | ld/ldlang.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c index d40ff07..8f0c607 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -58,7 +58,6 @@ static lang_output_section_statement_type *default_common_section; static boolean map_option_f; static bfd_vma print_dot; static lang_input_statement_type *first_file; -static lang_statement_list_type lang_output_section_statement; static CONST char *current_target; static CONST char *output_target; static lang_statement_list_type statement_list; @@ -166,6 +165,7 @@ static char * get_first_input_target PARAMS ((void)); /* EXPORTS */ lang_output_section_statement_type *abs_output_section; +lang_statement_list_type lang_output_section_statement; lang_statement_list_type *stat_ptr = &statement_list; lang_statement_list_type file_chain = { NULL, NULL }; const char *entry_symbol = NULL; @@ -3813,7 +3813,7 @@ topower (x) return 0; } -void +lang_output_section_statement_type * lang_enter_output_section_statement (output_section_statement_name, address_exp, sectype, block_value, align, subalign, ebase) @@ -3861,6 +3861,7 @@ lang_enter_output_section_statement (output_section_statement_name, "section alignment", 0)); os->load_base = ebase; + return os; } |