Ensure correct linking independent from compiler settings
Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@450 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
50cdf3827d
commit
c221558a4c
1 changed files with 5 additions and 1 deletions
|
|
@ -52,7 +52,11 @@ static void enable_rom(void)
|
|||
post_code(0xf2);
|
||||
}
|
||||
|
||||
void stage1_main(u32 bist)
|
||||
/*
|
||||
* This function is called from assembler code whith its argument on the
|
||||
* stack. Force the compiler to generate always correct code for this case.
|
||||
*/
|
||||
void __attribute__((stdcall)) stage1_main(u32 bist)
|
||||
{
|
||||
int ret;
|
||||
struct mem_file archive, result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue