mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-09-13 09:17:20 -07:00
winebuild-Fake_Dlls: Do not use get_alignment for .balign instructions.
Spotted by Michael Müller.
This commit is contained in:
parent
033c4b149f
commit
d7d4fde17e
@ -291,7 +291,7 @@ index f3feb0f3300..dde1bd0704d 100644
|
||||
+ ORDDEF *odp = spec->syscalls[i];
|
||||
+ const char *name = odp->link_name;
|
||||
+
|
||||
+ output( "\t.balign %d, 0\n", get_alignment(16) );
|
||||
+ output( "\t.balign 16, 0\n" );
|
||||
+ output( "\t%s\n", func_declaration(name) );
|
||||
+ output( "%s\n", asm_globl(name) );
|
||||
+ output_cfi( ".cfi_startproc" );
|
||||
|
@ -78,7 +78,7 @@ index 4dda31c349b..6a8a5d07ebd 100644
|
||||
+ output( "\t.align %d\n", get_alignment(65536) );
|
||||
+ output( "__wine_spec_pe_header_syscalls:\n" );
|
||||
+ output( "\t.byte 0\n" );
|
||||
+ output( "\t.balign %d, 0\n", get_alignment(page_size) );
|
||||
+ output( "\t.balign %d, 0\n", page_size );
|
||||
|
||||
+ output( "\n/* syscall thunks */\n\n" );
|
||||
for (i = 0; i < spec->nb_syscalls; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user