aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2014-08-12 19:29:33 +0930
committerAlan Modra <amodra@gmail.com>2014-08-12 20:49:58 +0930
commite77620a58ff6050a8f1923062262d7811f8f0083 (patch)
tree3521724de78d7af7db65c60cd1e91c9f6ed5cb6a /ld/ldlang.h
parent4613510308cea27713e8c7424b2afee9b99f6226 (diff)
downloadgdb-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.h6
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. */