8babcb102d
arm/gcc 2.95.3. Add a workaround.
19 lines
443 B
Text
19 lines
443 B
Text
$NetBSD: patch-aa,v 1.1 2004/01/31 01:23:16 kristerw Exp $
|
|
|
|
--- tryulong32.c.orig Sat Jan 31 02:15:54 2004
|
|
+++ tryulong32.c Sat Jan 31 02:16:38 2004
|
|
@@ -1,5 +1,8 @@
|
|
void main()
|
|
{
|
|
+#ifdef __arm__
|
|
+ _exit(0);
|
|
+#else
|
|
unsigned long u;
|
|
u = 1;
|
|
u += u; u += u; u += u; u += u; u += u; u += u; u += u; u += u;
|
|
@@ -8,4 +11,5 @@
|
|
u += u; u += u; u += u; u += u; u += u; u += u; u += u; u += u;
|
|
if (!u) _exit(0);
|
|
_exit(1);
|
|
+#endif
|
|
}
|