Date: Mon, 16 Apr 2018 14:42:26 +0000 (UTC) From: Kurt Lidl <lidl@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r332569 - stable/11/sys/sparc64/sparc64 Message-ID: <201804161442.w3GEgQa1046904@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804161442.w3GEgQa1046904>