abinfo "Remove files to avoid conflicts with GDB, etc..."
rm -v "$PKGDIR"/usr/share/man/man1/{dlltool,windres,windmc}*

abinfo "Remove libbfd.so symlink to force 3rdparty applications to statically link libbfd..."
rm -v "$PKGDIR"/usr/lib/libbfd.so

abinfo "Creating host-prefixed symlinks..."
cd "$PKGDIR"/usr/bin/
for i in *; do
    ln -sv $i ${ARCH_TARGET[$ARCH]}-$i
done

# FIXME: https://sourceware.org/pipermail/binutils/2026-July/150516.html
abinfo "Removing stamp ..."
rm -v "$PKGDIR"/usr/lib/ldscripts/stamp
