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/string Add aeabi strong aliases.
details: https://anonhg.NetBSD.org/src/rev/fc0b469667fd
branches: trunk
changeset: 784418:fc0b469667fd
user: matt <matt%NetBSD.org@localhost>
date: Mon Jan 28 06:23:44 2013 +0000
description:
Add aeabi strong aliases.
diffstat:
common/lib/libc/arch/arm/string/memcpy_arm.S | 6 +++++-
common/lib/libc/arch/arm/string/memmove.S | 6 +++++-
common/lib/libc/arch/arm/string/memset.S | 6 +++++-
3 files changed, 15 insertions(+), 3 deletions(-)
diffs (60 lines):
diff -r e87cc531cce0 -r fc0b469667fd common/lib/libc/arch/arm/string/memcpy_arm.S
--- a/common/lib/libc/arch/arm/string/memcpy_arm.S Mon Jan 28 06:23:14 2013 +0000
+++ b/common/lib/libc/arch/arm/string/memcpy_arm.S Mon Jan 28 06:23:44 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: memcpy_arm.S,v 1.2 2008/04/28 20:22:52 martin Exp $ */
+/* $NetBSD: memcpy_arm.S,v 1.3 2013/01/28 06:23:44 matt Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -31,6 +31,10 @@
#include <machine/asm.h>
+#if defined(__ARM_EABI__)
+STRONG_ALIAS(__aeabi_memcpy, memcpy)
+#endif
+
/*
* This is one fun bit of code ...
* Some easy listening music is suggested while trying to understand this
diff -r e87cc531cce0 -r fc0b469667fd common/lib/libc/arch/arm/string/memmove.S
--- a/common/lib/libc/arch/arm/string/memmove.S Mon Jan 28 06:23:14 2013 +0000
+++ b/common/lib/libc/arch/arm/string/memmove.S Mon Jan 28 06:23:44 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: memmove.S,v 1.3 2008/04/28 20:22:52 martin Exp $ */
+/* $NetBSD: memmove.S,v 1.4 2013/01/28 06:23:44 matt Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -31,6 +31,10 @@
#include <machine/asm.h>
+#if defined(__ARM_EABI__) && !defined(BCOPY)
+STRONG_ALIAS(__aeabi_memmove, memmove)
+#endif
+
#ifndef _BCOPY
/* LINTSTUB: Func: void *memmove(void *, const void *, size_t) */
ENTRY(memmove)
diff -r e87cc531cce0 -r fc0b469667fd common/lib/libc/arch/arm/string/memset.S
--- a/common/lib/libc/arch/arm/string/memset.S Mon Jan 28 06:23:14 2013 +0000
+++ b/common/lib/libc/arch/arm/string/memset.S Mon Jan 28 06:23:44 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: memset.S,v 1.2 2012/12/12 15:46:05 matt Exp $ */
+/* $NetBSD: memset.S,v 1.3 2013/01/28 06:23:44 matt Exp $ */
/*
* Copyright 2003 Wasabi Systems, Inc.
@@ -68,6 +68,10 @@
#include <machine/asm.h>
+#if defined(__ARM_EABI__) && !defined(BZER0)
+STRONG_ALIAS(__aeabi_memset, memset)
+#endif
+
/*
* memset: Sets a block of memory to the specified value
*
Home |
Main Index |
Thread Index |
Old Index