> I posted it with v2 in the subject. I have now attached it. There is a pasto in the v2:
@@ -1764,6 +1772,12 @@ extern int sparc_indent_opcode; #define AS_LEON_FLAG "-Av8" #endif +#ifdef HAVE_AS_LEONV7 +#define AS_LEONV7_FLAG "-Aleon" +#else +#define AS_LEONV7_FLAG "-Av7" +#endif + /* We use gcc _mcount for profiling. */ #define NO_PROFILE_COUNTERS 0 I think you would be better off adding a line to the arms of the existing code #ifdef HAVE_AS_LEON #define AS_LEON_FLAG "-Aleon" #else #define AS_LEON_FLAG "-Av8" #endif rather than duplicating it. -- Eric Botcazou