diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2010-11-21 20:36:25 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2010-11-21 20:36:25 +0000 |
commit | f84854b643db17f4f06a8164114152b0bc001803 (patch) | |
tree | bc7dff985e578f634b3569d627098ec5f83e13a2 /ld/ldlang.c | |
parent | 62b06a9e17aacab20187632db20a98c4f2fe7f49 (diff) | |
download | gdb-f84854b643db17f4f06a8164114152b0bc001803.zip gdb-f84854b643db17f4f06a8164114152b0bc001803.tar.gz gdb-f84854b643db17f4f06a8164114152b0bc001803.tar.bz2 |
Re-indent plugin code.
2010-11-21 H.J. Lu <hongjiu.lu@intel.com>
* ldfile.c: Re-indent plugin code.
* ldlang.c: Likewise.
* ldmain.c: Likewise.
* plugin.c: Likewise.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r-- | ld/ldlang.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c index 9038ebf..f74c1b5 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -6419,22 +6419,22 @@ lang_process (void) open_input_bfds (statement_list.head, FALSE); #ifdef ENABLE_PLUGINS - { - union lang_statement_union **listend; - /* Now all files are read, let the plugin(s) decide if there - are any more to be added to the link before we call the - emulation's after_open hook. */ - listend = statement_list.tail; - ASSERT (!*listend); - if (plugin_call_all_symbols_read ()) - einfo (_("%P%F: %s: plugin reported error after all symbols read\n"), - plugin_error_plugin ()); - /* If any new files were added, they will be on the end of the - statement list, and we can open them now by getting open_input_bfds - to carry on from where it ended last time. */ - if (*listend) - open_input_bfds (*listend, FALSE); - } + { + union lang_statement_union **listend; + /* Now all files are read, let the plugin(s) decide if there + are any more to be added to the link before we call the + emulation's after_open hook. */ + listend = statement_list.tail; + ASSERT (!*listend); + if (plugin_call_all_symbols_read ()) + einfo (_("%P%F: %s: plugin reported error after all symbols read\n"), + plugin_error_plugin ()); + /* If any new files were added, they will be on the end of the + statement list, and we can open them now by getting open_input_bfds + to carry on from where it ended last time. */ + if (*listend) + open_input_bfds (*listend, FALSE); + } #endif /* ENABLE_PLUGINS */ link_info.gc_sym_list = &entry_symbol; |