compiling libgcc2 the macro depends always on arch cpp defines.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30995
138bc75d-0d04-0410-961f-
82ee72b054a4
+1999-12-16 Jakub Jelinek <jakub@redhat.com>
+
+ * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
+ compiling libgcc2 the macro depends always on arch cpp defines.
+
Fri Dec 17 10:34:16 1999 Richard Earnshaw <rearnsha@arm.com>
* loop.c (insert_loop_mem): Don't record MEMs from inside
/* TARGET_ARCH{32,64} are the main macros to decide which of the two
architectures to compile for. We allow targets to choose compile time or
runtime selection. */
-#ifdef SPARC_BI_ARCH
#ifdef IN_LIBGCC2
#if defined(__sparcv9) || defined(__arch64__)
#define TARGET_ARCH32 0
#define TARGET_ARCH32 1
#endif /* sparc64 */
#else
+#ifdef SPARC_BI_ARCH
#define TARGET_ARCH32 (! TARGET_64BIT)
-#endif /* IN_LIBGCC2 */
#else
#define TARGET_ARCH32 (DEFAULT_ARCH32_P)
#endif /* SPARC_BI_ARCH */
+#endif /* IN_LIBGCC2 */
#define TARGET_ARCH64 (! TARGET_ARCH32)
/* Code model selection.