[PATCH] plugin: Set is_strip_input in bfd of object only section
H.J. Lu
hjl.tools@gmail.com
Fri Aug 8 23:54:43 GMT 2025
More information about the Binutils mailing list
Fri Aug 8 23:54:43 GMT 2025
- Previous message (by thread): [PATCH] plugin: Set is_strip_input in bfd of object only section
- Next message (by thread): [COMMITTED] binutils: add ia64 marker in name of testranges-ia64
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Aug 8, 2025 at 4:11 PM Alan Modra <amodra@gmail.com> wrote: > > On Fri, Aug 08, 2025 at 02:14:03PM -0700, H.J. Lu wrote: > > diff --git a/bfd/plugin.c b/bfd/plugin.c > > index 733e7f0f322..57f4d32edb6 100644 > > --- a/bfd/plugin.c > > +++ b/bfd/plugin.c > > @@ -207,6 +207,7 @@ bfd_plugin_get_symbols_in_object_only (bfd *abfd) > > /* Prevent this recursive call into bfd_check_format from > > attempting to load the plugin again while it is running. */ > > nbfd->plugin_format = bfd_plugin_no; > > + nbfd->is_strip_input = abfd->is_strip_input; > > if (!bfd_check_format (nbfd, bfd_object)) > > { > > /* There is no object only section if it isn't a bfd_object > > Seems unnecessary. Won't the bfd_plugin_no ensure the plugin object_p > always returns NULL, and thus is_strip_input is never tested in > bfd_check_format? > You are right. This patch isn't needed. -- H.J.
- Previous message (by thread): [PATCH] plugin: Set is_strip_input in bfd of object only section
- Next message (by thread): [COMMITTED] binutils: add ia64 marker in name of testranges-ia64
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list