sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
* config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32. (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64, not %g2. (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2 as sparc64 block profiling register. * config/sparc/sparc.c (sparc_override_options): Allow block profiling with -m32. (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block profiling register. * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64. * config/sparc/sol2.h (MACHINE_STATE_*): Likewise. From-SVN: r30916
Showing
Please
register
or
sign in
to comment