diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2020-09-25 17:31:28 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2020-09-25 17:31:28 +0000 |
commit | 56ebd27fc31406308f41f86d64af2d9c05769b07 (patch) | |
tree | 03339f0e344653ea6b5917c368775bfa4807fc09 /sys | |
parent | d1661dd08a4e536cb1ebe6edfebd0fa2d27dfb17 (diff) |
Sprinkle some .type statements to help btrace(4) pick function names.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/powerpc64/powerpc64/locore.S | 3 | ||||
-rw-r--r-- | sys/arch/powerpc64/powerpc64/trap_subr.S | 3 |
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 |