summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/powerpc64/powerpc64/locore.S3
-rw-r--r--sys/arch/powerpc64/powerpc64/trap_subr.S3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/powerpc64/powerpc64/locore.S b/sys/arch/powerpc64/powerpc64/locore.S
index e39a7ae9a01..0759e26454e 100644
--- a/sys/arch/powerpc64/powerpc64/locore.S
+++ b/sys/arch/powerpc64/powerpc64/locore.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.S,v 1.36 2020/09/15 07:47:24 kettenis Exp $ */
+/* $OpenBSD: locore.S,v 1.37 2020/09/25 17:31:27 kettenis Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
@@ -263,6 +263,7 @@ copystr:
blr
.globl proc_trampoline
+ .type proc_trampoline, @function
proc_trampoline:
#ifdef MULTIPROCESSOR
bl proc_trampoline_mp
diff --git a/sys/arch/powerpc64/powerpc64/trap_subr.S b/sys/arch/powerpc64/powerpc64/trap_subr.S
index 6f6d5e8882d..23e918a86d2 100644
--- a/sys/arch/powerpc64/powerpc64/trap_subr.S
+++ b/sys/arch/powerpc64/powerpc64/trap_subr.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap_subr.S,v 1.17 2020/09/15 07:47:24 kettenis Exp $ */
+/* $OpenBSD: trap_subr.S,v 1.18 2020/09/25 17:31:27 kettenis Exp $ */
/* $NetBSD: trap_subr.S,v 1.20 2002/04/22 23:20:08 kleink Exp $ */
/*-
@@ -483,6 +483,7 @@ generichvtrap:
*/
.globl generictrap
+ .type generictrap, @function
generictrap:
/* Save R1 for computing the exception vector */
mtsprg3 %r1