summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/powerpc/include/asm.h2
-rw-r--r--sys/powerpc/include/profile.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/powerpc/include/asm.h b/sys/powerpc/include/asm.h
index d611617..f80c118 100644
--- a/sys/powerpc/include/asm.h
+++ b/sys/powerpc/include/asm.h
@@ -63,7 +63,7 @@
#define _ENTRY(x) \
.text; .align 4; .globl x; .type x,@function; x:
-#ifdef GPROF
+#ifdef PROF
# define _PROF_PROLOGUE mflr 0; stw 0,4(1); bl _mcount
#else
# define _PROF_PROLOGUE
diff --git a/sys/powerpc/include/profile.h b/sys/powerpc/include/profile.h
index 388feb1..47f1393 100644
--- a/sys/powerpc/include/profile.h
+++ b/sys/powerpc/include/profile.h
@@ -34,7 +34,7 @@
#define _MCOUNT_DECL void __mcount
-#define FUNCTION_ALIGNMENT 16
+#define FUNCTION_ALIGNMENT 4
typedef u_int fptrdiff_t;
OpenPOWER on IntegriCloud