svn commit: r332569 - stable/11/sys/sparc64/sparc64
Kurt Lidl
lidl at FreeBSD.org
Mon Apr 16 14:42:26 UTC 2018
Author: lidl
Date: Mon Apr 16 14:42:25 2018
New Revision: 332569
URL: https://svnweb.freebsd.org/changeset/base/332569
Log:
MFC r324512: Don't use a non-zero argument for __builtin_frame_address
Mirror the change made for powerpc64 in r323687. With this
change, gcc 6.4.0 can successfully compile and link a kernel
that runs on sparc64.
Modified:
stable/11/sys/sparc64/sparc64/stack_machdep.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/sparc64/sparc64/stack_machdep.c
==============================================================================
--- stable/11/sys/sparc64/sparc64/stack_machdep.c Mon Apr 16 14:41:12 2018 (r332568)
+++ stable/11/sys/sparc64/sparc64/stack_machdep.c Mon Apr 16 14:42:25 2018 (r332569)
@@ -93,5 +93,5 @@ void
stack_save(struct stack *st)
{
- stack_capture(st, (struct frame *)__builtin_frame_address(1));
+ stack_capture(st, (struct frame *)__builtin_frame_address(0));
}
More information about the svn-src-all
mailing list