78599c32ef
Follow-up to r353959 and r368070: do the same for other architectures. arm32 already seems to use its own .fnstart/.fnend directives, which appear to be ARM-specific variants of the same thing. Likewise, MIPS uses .frame directives. Reviewed by: arichardson Differential Revision: https://reviews.freebsd.org/D27387
17 lines
262 B
ArmAsm
17 lines
262 B
ArmAsm
/* $FreeBSD$ */
|
|
|
|
#ifdef __powerpc64__
|
|
#include <powerpc/aim/locore64.S>
|
|
#else
|
|
#include <powerpc/aim/locore32.S>
|
|
#endif
|
|
|
|
/*
|
|
* XXX: This should be moved to a shared AIM/booke asm file, if one ever is
|
|
* created.
|
|
*/
|
|
ENTRY(get_spr)
|
|
mfspr %r3, 0
|
|
blr
|
|
END(get_spr)
|