X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Fplugin.h;h=f99163250e6fc42a89e91ffe56cc4b742d16aece;hb=5430098f1807e084fe4ff5057040d68435f3d8a2;hp=3091f9705a1a8522f4762ca6c874f0d355984133;hpb=fc579192b43d249de3661894c154342a6c7ebad2;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/plugin.h b/bfd/plugin.h index 3091f9705a..f99163250e 100644 --- a/bfd/plugin.h +++ b/bfd/plugin.h @@ -1,5 +1,5 @@ /* Plugin support for BFD. - Copyright 2009 Free Software Foundation, Inc. + Copyright (C) 2009-2017 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -21,10 +21,13 @@ #ifndef _PLUGIN_H_ #define _PLUGIN_H_ -#include "bfd.h" - void bfd_plugin_set_program_name (const char *); +int bfd_plugin_open_input (bfd *, struct ld_plugin_input_file *); void bfd_plugin_set_plugin (const char *); +bfd_boolean bfd_plugin_target_p (const bfd_target *); +bfd_boolean bfd_plugin_specified_p (void); +bfd_boolean bfd_link_plugin_object_p (bfd *); +void register_ld_plugin_object_p (const bfd_target *(*object_p) (bfd *)); typedef struct plugin_data_struct {