]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
bfd: guard ARCH_SIZE uses to avoid -Wundef
authorAndrew Hanson <andrew@andrewhanson.dev>
Fri, 26 Sep 2025 10:22:37 +0000 (12:22 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 26 Sep 2025 10:22:37 +0000 (12:22 +0200)
commit951df7206e969a8f49f87707121fa1ef93268c28
tree82b8e544e1066b48363303af85fa8b06bf90c11b
parent65a5bb3c1fc4632ed71dfb8c211ff756619afd29
bfd: guard ARCH_SIZE uses to avoid -Wundef

bfd/

* elf-bfd.h: Use `defined(ARCH_SIZE)` instead of testing ARCH_SIZE
directly, to silence -Wundef when ARCH_SIZE is not defined.

Signed-off-by: Andrew Hanson <andrew@andrewhanson.dev>
bfd/elf-bfd.h