mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-15 15:06:42 +00:00
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. MFC after: 2 weeks
This commit is contained in:
parent
7a174c3469
commit
8e4db4e4a1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=324512
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user