Commit 6f6e4249 authored by Charles Davis's avatar Charles Davis Committed by Alexandre Julliard

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

parent fd5a8a9d
......@@ -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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment