Subversion Repositories Kolibri OS

Rev

Rev 5199 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5199 Rev 6324
Line 1... Line 1...
1
/* Plugin control for the GNU linker.
1
/* Plugin control for the GNU linker.
2
   Copyright 2010, 2011 Free Software Foundation, Inc.
2
   Copyright (C) 2010-2015 Free Software Foundation, Inc.
Line 3... Line 3...
3
 
3
 
Line 4... Line 4...
4
   This file is part of the GNU Binutils.
4
   This file is part of the GNU Binutils.
5
 
5
 
Line 37... Line 37...
37
 
37
 
38
/* Accumulate option arguments for last-loaded plugin, or return
38
/* Accumulate option arguments for last-loaded plugin, or return
39
   error if none.  */
39
   error if none.  */
Line 40... Line -...
40
extern int plugin_opt_plugin_arg (const char *arg);
-
 
41
 
-
 
42
/* Return true if any plugins are active this run.  Only valid
-
 
43
   after options have been processed.  */
-
 
44
extern bfd_boolean plugin_active_plugins_p (void);
40
extern int plugin_opt_plugin_arg (const char *arg);
45
 
41
 
Line 46... Line 42...
46
/* Load up and initialise all plugins after argument parsing.  */
42
/* Load up and initialise all plugins after argument parsing.  */
47
extern void plugin_load_plugins (void);
43
extern void plugin_load_plugins (void);
Line 48... Line 44...
48
 
44
 
49
/* Return name of plugin which caused an error in any of the above.  */
45
/* Return name of plugin which caused an error in any of the above.  */
50
extern const char *plugin_error_plugin (void);
-
 
Line 51... Line 46...
51
 
46
extern const char *plugin_error_plugin (void);
52
/* Call 'claim file' hook for all plugins.  */
47
 
Line 53... Line 48...
53
extern void plugin_maybe_claim (struct ld_plugin_input_file *,
48
/* Call 'claim file' hook for all plugins.  */
54
				lang_input_statement_type *);
49
extern void plugin_maybe_claim (lang_input_statement_type *);
Line 55... Line -...
55
 
-
 
56
/* Call 'all symbols read' hook for all plugins.  */
-
 
57
extern int plugin_call_all_symbols_read (void);
-
 
58
 
-
 
59
/* Call 'cleanup' hook for all plugins at exit.  */
-
 
60
extern void plugin_call_cleanup (void);
-
 
61
 
-
 
62
/* Generate a dummy BFD to represent an IR file, for any callers of
-
 
63
   plugin_call_claim_file to use as the handle in the ld_plugin_input_file
-
 
64
   struct that they build to pass in.  The BFD is initially writable, so
-
 
65
   that symbols can be added to it; it must be made readable after the
50