diff options
author | Alan Modra <amodra@gmail.com> | 2014-08-12 19:29:33 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-08-12 20:49:58 +0930 |
commit | e77620a58ff6050a8f1923062262d7811f8f0083 (patch) | |
tree | 3521724de78d7af7db65c60cd1e91c9f6ed5cb6a /ld/ldlang.h | |
parent | 4613510308cea27713e8c7424b2afee9b99f6226 (diff) | |
download | gdb-e77620a58ff6050a8f1923062262d7811f8f0083.zip gdb-e77620a58ff6050a8f1923062262d7811f8f0083.tar.gz gdb-e77620a58ff6050a8f1923062262d7811f8f0083.tar.bz2 |
Fix build breakage when ld plugins disabled
* ldlang.h (struct lang_input_statement_flags): Don't make "reload"
field conditional on ENABLE_PLUGINS.
* ldlang.c (open_input_bfds): Expand plugin_should_reload.
* plugin.h (plugin_should_reload): Delete.
* plugin.c (plugin_should_reload): Delete.
Diffstat (limited to 'ld/ldlang.h')
-rw-r--r-- | ld/ldlang.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/ldlang.h b/ld/ldlang.h index 45420cd..2afe283 100644 --- a/ld/ldlang.h +++ b/ld/ldlang.h @@ -272,15 +272,15 @@ struct lang_input_statement_flags /* Set if the file does not exist. */ unsigned int missing_file : 1; + /* Set if reloading an archive or --as-needed lib. */ + unsigned int reload : 1; + #ifdef ENABLE_PLUGINS /* Set if the file was claimed by a plugin. */ unsigned int claimed : 1; /* Set if the file was claimed from an archive. */ unsigned int claim_archive : 1; - - /* Set if reloading an archive or --as-needed lib. */ - unsigned int reload : 1; #endif /* ENABLE_PLUGINS */ /* Head of list of pushed flags. */ |