aboutsummaryrefslogtreecommitdiff
path: root/gcc/libgcc2.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/libgcc2.h')
-rw-r--r--gcc/libgcc2.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/libgcc2.h b/gcc/libgcc2.h
index f8056d6..f24854f 100644
--- a/gcc/libgcc2.h
+++ b/gcc/libgcc2.h
@@ -117,6 +117,14 @@ extern short int __get_eh_table_version (struct exception_descriptor *);
#endif
#endif
+/* FIXME: This #ifdef probably should be removed, ie. enable the test
+ for mips too. */
+#ifdef __powerpc__
+#define IS_IBM_EXTENDED(SIZE) (SIZE == 106)
+#else
+#define IS_IBM_EXTENDED(SIZE) 0
+#endif
+
#ifndef MIN_UNITS_PER_WORD
#define MIN_UNITS_PER_WORD UNITS_PER_WORD
#endif