Hi, I've committed the attached obvious patch to fix some failures
Assembler messages: Error: can't open :-isa=sh4-up for reading: No such file or directory with testcases which specify -mrelax on sh4-unknown-linux-gnu. Tested with "make -k check" on sh4-unknown-linux-gnu. Regards, kaz -- 2016-05-08 Kaz Kojima <kkoj...@gcc.gnu.org> * config/sh/sh.h (SUBTARGET_ASM_RELAX_SPEC): Remove extra colon. (SUBTARGET_ASM_ISA_SPEC): Likewise. diff --git a/config/sh/sh.h b/config/sh/sh.h index 16b4a8e..548a084 100644 --- a/config/sh/sh.h +++ b/config/sh/sh.h @@ -201,7 +201,7 @@ extern int code_for_indirect_jump_scratch; SUBTARGET_EXTRA_SPECS #if TARGET_CPU_DEFAULT & MASK_HARD_SH4 -#define SUBTARGET_ASM_RELAX_SPEC "%{!m1:%{!m2:%{!m3*::-isa=sh4-up}}}" +#define SUBTARGET_ASM_RELAX_SPEC "%{!m1:%{!m2:%{!m3*:-isa=sh4-up}}}" #else #define SUBTARGET_ASM_RELAX_SPEC "%{m4*:-isa=sh4-up}" #endif @@ -245,7 +245,7 @@ extern int code_for_indirect_jump_scratch; /* Strict nofpu means that the compiler should tell the assembler to reject FPU instructions. E.g. from ASM inserts. */ #if TARGET_CPU_DEFAULT & MASK_HARD_SH4 && !(TARGET_CPU_DEFAULT & MASK_SH_E) -#define SUBTARGET_ASM_ISA_SPEC "%{!m1:%{!m2:%{!m3*:%{m4-nofpu|!m4*::-isa=sh4-nofpu}}}}" +#define SUBTARGET_ASM_ISA_SPEC "%{!m1:%{!m2:%{!m3*:%{m4-nofpu|!m4*:-isa=sh4-nofpu}}}}" #else #define SUBTARGET_ASM_ISA_SPEC \