While build tests(`make check') with gcc 8.1.0 on mips32-linux, there is a failure [snip] |mips-wrsmllib32-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -c -o tc08_hbl2-tc08_hbl2.o `test -f 'tc08_hbl2.c' || echo '../../../ valgrind-3.13.0/helgrind/tests/'`tc08_hbl2.c |/tmp/cc37aJxQ.s: Assembler messages: |/tmp/cc37aJxQ.s:275: Error: symbol `L1xyzzy1main' is already defined |Makefile:1323: recipe for target 'tc08_hbl2-tc08_hbl2.o' failed [snip]
Created attachment 114162 [details] fix broken inline asm in tests on mips32-linux Remove the duplicated L1xyzzy1main, and use local symbol to replace. http://tigcc.ticalc.org/doc/gnuasm.html#SEC46
There are no regressions after applying this patch on mips32r2 and mips64r2. This change look reasonable and acceptable.
Committed. Thank you for the patch.