summaryrefslogtreecommitdiff
path: root/lib/libc/arch/arm/string/bcopy.S
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-08-06 19:16:10 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-08-06 19:16:10 +0000
commit909af2f4bebc5ee3531baeec07e91420bcd4d2f4 (patch)
treeb4516ed98cb771f4f4fa2582fe8fc22015a02b12 /lib/libc/arch/arm/string/bcopy.S
parent0253ed4b5cf63d8de0c6397aa5cf8592f3192e34 (diff)
Use internal names for __errno, _memcpy, memset, and {,_}{set,long}jmp
Eliminate pointless use of PIC_SYM() Split out DEFS.h from SYS.h like some other archs ok kettenis@ deraadt@
Diffstat (limited to 'lib/libc/arch/arm/string/bcopy.S')
-rw-r--r--lib/libc/arch/arm/string/bcopy.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/arch/arm/string/bcopy.S b/lib/libc/arch/arm/string/bcopy.S
index f71b5ce7cbd..c08cb810bd7 100644
--- a/lib/libc/arch/arm/string/bcopy.S
+++ b/lib/libc/arch/arm/string/bcopy.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: bcopy.S,v 1.4 2015/08/31 02:53:56 guenther Exp $ */
+/* $OpenBSD: bcopy.S,v 1.5 2016/08/06 19:16:09 guenther Exp $ */
/* $NetBSD: bcopy.S,v 1.2 2001/07/16 05:50:06 matt Exp $ */
/*-
@@ -30,7 +30,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include "SYS.h"
+#include "DEFS.h"
/* bcopy = memcpy/memmove with arguments reversed. */
@@ -39,5 +39,5 @@ ENTRY(bcopy)
eor r0, r1, r0
eor r1, r0, r1
eor r0, r1, r0
- b PIC_SYM(_C_LABEL(_memcpy), PLT)
+ b _HIDDEN(_memcpy)
END_WEAK(bcopy)