Do you have an emulparams/elf32loongarch.sh? That seems to be required for --target=loongarch32-elf. Also, please specify a message to go in the commit log for each of these patches when this is committed, in order to give credit to the authors of the patch. -- Alan Modra Australia Development Lab, IBM