diff options
author | Alan Modra <amodra@gmail.com> | 2025-08-06 11:36:03 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2025-08-07 22:14:49 +0930 |
commit | 97b6ffe44b98479f991ab38b4c59f4fd0f30198e (patch) | |
tree | 35673cff954fdfd692c79fb68b6f8238f975cab7 /gdb/python/py-cmd.c | |
parent | bdee55420232f16d73210517e96320636e0f2e7d (diff) | |
download | binutils-97b6ffe44b98479f991ab38b4c59f4fd0f30198e.zip binutils-97b6ffe44b98479f991ab38b4c59f4fd0f30198e.tar.gz binutils-97b6ffe44b98479f991ab38b4c59f4fd0f30198e.tar.bz2 |
Move struct plugin_data_struct to plugin.c
It isn't needed anywhere except plugin.c. The typedef can disappear.
Also make a forward declaraion for ld_plugin_input_file in plugin.h
so that this header can be used without first including plugin-api.h.
bfd/
* plugin.h (struct ld_plugin_input_file): Forward declare.
(struct plugin_data_struct): Move to..
* plugin.c: ..here.
(add_symbols): Size plugin_data without using type.
* archive.c: Don't include plugin-api.h.
* elflink.c: Likewise.
* format.c: Likewise.
binutils/
* ar.c: Don't include plugin-api.h or ansidecl.h. Only
include plugin.h when BFD_SUPPORTS_PLUGINS.
* nm.c: Don't include plugin-api.h. Only include plugin.h
when BFD_SUPPORTS_PLUGINS.
* objcopy.c: Likewise.
ld/
* ldfile.c: Don't include plugin-api.h.
* ldmain.c: Likewise.
Diffstat (limited to 'gdb/python/py-cmd.c')
0 files changed, 0 insertions, 0 deletions