aboutsummaryrefslogtreecommitdiff
path: root/gdb/xml-support.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2023-11-17 11:20:49 +0100
committerJan Beulich <jbeulich@suse.com>2023-11-17 11:20:49 +0100
commit071c5d81c7681fd92189c380e14266054f0c6c41 (patch)
tree054e176f0538107e76446c28a5d78500cd100cde /gdb/xml-support.c
parentd9a1b71137d206f1ff73eee25423cf6d22814495 (diff)
downloadbinutils-071c5d81c7681fd92189c380e14266054f0c6c41.zip
binutils-071c5d81c7681fd92189c380e14266054f0c6c41.tar.gz
binutils-071c5d81c7681fd92189c380e14266054f0c6c41.tar.bz2
x86: conditionally hide object-format-specific functions
ELF-only functions don't need to be built when dealing with a non-ELF target. md_section_align() also doesn't need to be a function when dealing with non-AOUT targets. Similarly tc_fix_adjustable() can be a simple macro when building non-ELF targets. Furthermore x86_elf_abi is already used in ELF-only code sections, with one exception. By adjusting that, the otherwise bogusly named variable can also be confined to just ELF builds.
Diffstat (limited to 'gdb/xml-support.c')
0 files changed, 0 insertions, 0 deletions