winebuild: Make emitting mod_*_func sections on Mac OS respect the pointer size.

This commit is contained in:
Charles Davis 2015-01-22 23:25:25 -07:00 committed by Alexandre Julliard
parent fd5a8a9db8
commit 6f6e42498d
1 changed files with 2 additions and 2 deletions

View File

@ -426,8 +426,8 @@ static void output_asm_constructor( const char *constructor )
{
/* Mach-O doesn't have an init section */
output( "\n\t.mod_init_func\n" );
output( "\t.align %d\n", get_alignment(4) );
output( "\t.long %s\n", asm_name(constructor) );
output( "\t.align %d\n", get_alignment(get_ptr_size()) );
output( "\t%s %s\n", get_asm_ptr_keyword(), asm_name(constructor) );
}
else
{