* include/grub/symbol.h (EXT_C) [!ASM_FILE]: Redefine with strings.
* grub-core/lib/i386/backtrace.c (grub_backtrace): Use EXT_C.
This commit is contained in:
parent
70115b995d
commit
5982495738
3 changed files with 12 additions and 2 deletions
|
@ -57,10 +57,10 @@ grub_backtrace (void)
|
|||
{
|
||||
#ifdef __x86_64__
|
||||
asm volatile ("movq %rbp, %rdi\n"
|
||||
"call grub_backtrace_pointer");
|
||||
"call " EXT_C("grub_backtrace_pointer"));
|
||||
#else
|
||||
asm volatile ("movl %ebp, %eax\n"
|
||||
"call grub_backtrace_pointer");
|
||||
"call " EXT_C("grub_backtrace_pointer"));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue