Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/common/lib/libc/arch/arm/gen Only assemble if !__ARM_EABI__
details: https://anonhg.NetBSD.org/src/rev/f6ca2cf5080c
branches: trunk
changeset: 789338:f6ca2cf5080c
user: matt <matt%NetBSD.org@localhost>
date: Thu Aug 15 21:40:11 2013 +0000
description:
Only assemble if !__ARM_EABI__
diffstat:
common/lib/libc/arch/arm/gen/modsi3.S | 5 ++++-
common/lib/libc/arch/arm/gen/umodsi3.S | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diffs (46 lines):
diff -r 725aa4482517 -r f6ca2cf5080c common/lib/libc/arch/arm/gen/modsi3.S
--- a/common/lib/libc/arch/arm/gen/modsi3.S Thu Aug 15 21:29:04 2013 +0000
+++ b/common/lib/libc/arch/arm/gen/modsi3.S Thu Aug 15 21:40:11 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: modsi3.S,v 1.3 2013/06/20 07:16:23 matt Exp $ */
+/* $NetBSD: modsi3.S,v 1.4 2013/08/15 21:40:11 matt Exp $ */
/*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
@@ -16,6 +16,7 @@
#include <machine/asm.h>
+#ifndef __ARM_EABI__
/*
* stack is aligned as there's a possibility of branching to .L_overflow
* which makes a C call
@@ -33,3 +34,5 @@
#endif
RET
END(__modsi3)
+
+#endif
diff -r 725aa4482517 -r f6ca2cf5080c common/lib/libc/arch/arm/gen/umodsi3.S
--- a/common/lib/libc/arch/arm/gen/umodsi3.S Thu Aug 15 21:29:04 2013 +0000
+++ b/common/lib/libc/arch/arm/gen/umodsi3.S Thu Aug 15 21:40:11 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: umodsi3.S,v 1.3 2013/06/20 07:16:23 matt Exp $ */
+/* $NetBSD: umodsi3.S,v 1.4 2013/08/15 21:40:11 matt Exp $ */
/*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
@@ -16,6 +16,7 @@
#include <machine/asm.h>
+#ifndef __ARM_EABI__
/*
* stack is aligned as there's a possibility of branching to .L_overflow
* which makes a C call
@@ -32,3 +33,5 @@
ldr lr, [sp], #8 /* pop lr */
#endif
RET
+END(__umodsi3)
+#endif
Home |
Main Index |
Thread Index |
Old Index