]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Pass -B to objcopy binary symbol test
authorAlan Modra <amodra@gmail.com>
Thu, 30 Oct 2025 22:57:46 +0000 (09:27 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 30 Oct 2025 23:14:38 +0000 (09:44 +1030)
commit0bb5cbb9b4b24971af12561071047e5ec4a92772
tree66b16e3ad33d1d80539fec120b0294007530224f
parent2e352790ad47b21360110b98d7d10b2db4340d58
Pass -B to objcopy binary symbol test

objcopy -I binary -O some_coff_target does not currently work without
choosing a valid arch with -B.  This used to be the case for ELF
targets too, until commit 6765ee1825d9.

* testsuite/binutils-all/objcopy.exp (binary_symbol): Pass
-B arch to objcopy.  Choose different output object files for
the two tests.
binutils/testsuite/binutils-all/objcopy.exp