]> git.feebdaed.xyz Git - 0xmirror/binutils-gdb.git/commit
bfd ASSOCIATED_VECS
authorAlan Modra <amodra@gmail.com>
Sat, 20 Dec 2025 03:42:31 +0000 (14:12 +1030)
committerAlan Modra <amodra@gmail.com>
Sat, 20 Dec 2025 04:20:53 +0000 (14:50 +1030)
commitf4e835a40ccdab7e6d463cf419e4cba593fb524f
treeef904c24cb3aaf7914e3197c9ace7e3119899a04
parent12b471a0007bf9b69fcdd2a2e085cf8d07157133
bfd ASSOCIATED_VECS

Tidy code setting ASSOCIATED_VECS, which could be fooled by unusual
configure options such as --enable-targets="srec,all".

* targets.c (_bfd_associated_vector): Remove comma after
ASSOCIATED_VECS.
* configure.ac: Set assocvecs from targ_defvec and
targ_selvecs when handling the target, rather than assuming
those variables are still set for the target when handling
--enable-targets=all.  Move code making assocvecs unique
later.  Do so in a way that need not run sed afterwards, and
leave a trailing comma.
* configure: Regenerate.
bfd/configure
bfd/configure.ac
bfd/targets.c