summaryrefslogtreecommitdiff
path: root/lib/libc/arch/riscv64/sys/sbrk.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch/riscv64/sys/sbrk.S')
-rw-r--r--lib/libc/arch/riscv64/sys/sbrk.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/arch/riscv64/sys/sbrk.S b/lib/libc/arch/riscv64/sys/sbrk.S
index 02d02d3900d..a58effc3232 100644
--- a/lib/libc/arch/riscv64/sys/sbrk.S
+++ b/lib/libc/arch/riscv64/sys/sbrk.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: sbrk.S,v 1.1 2021/05/04 04:17:53 drahn Exp $ */
+/* $OpenBSD: sbrk.S,v 1.2 2021/10/25 14:38:10 jca Exp $ */
/*
* Copyright (c) 2021 Dale Rahn <drahn@openbsd.org>
*
@@ -28,7 +28,6 @@ __curbrk:
.dword _C_LABEL(_end)
END(__curbrk)
- .weak sbrk
ENTRY(sbrk)
RETGUARD_SETUP(sbrk, t6)
@@ -48,3 +47,4 @@ ENTRY(sbrk)
RETGUARD_CHECK(sbrk, t6);
ret
END(sbrk)
+ .weak sbrk