]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gas: hide emulation struct format_ops instances when not needed
authorJan Beulich <jbeulich@suse.com>
Fri, 4 Oct 2024 07:42:45 +0000 (09:42 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 4 Oct 2024 07:42:45 +0000 (09:42 +0200)
commit85ef4a5ed82fb5f71c78505acfac2104767f908d
treefb367d30677f54a8ad27700d7de29c920c43bbd5
parente9285aa0466ce1b4484b7c35858da65e7326839b
gas: hide emulation struct format_ops instances when not needed

Most targets don't even support emulations, so this data (and certain
functions) are entirely dead code for them.
gas/config/obj-aout.c
gas/config/obj-aout.h
gas/config/obj-coff.c
gas/config/obj-coff.h
gas/config/obj-ecoff.c
gas/config/obj-elf.c
gas/config/obj-elf.h