winebuild: Make emitting mod_*_func sections on Mac OS respect the pointer size.
This commit is contained in:
parent
fd5a8a9db8
commit
6f6e42498d
|
@ -426,8 +426,8 @@ static void output_asm_constructor( const char *constructor )
|
||||||
{
|
{
|
||||||
/* Mach-O doesn't have an init section */
|
/* Mach-O doesn't have an init section */
|
||||||
output( "\n\t.mod_init_func\n" );
|
output( "\n\t.mod_init_func\n" );
|
||||||
output( "\t.align %d\n", get_alignment(4) );
|
output( "\t.align %d\n", get_alignment(get_ptr_size()) );
|
||||||
output( "\t.long %s\n", asm_name(constructor) );
|
output( "\t%s %s\n", get_asm_ptr_keyword(), asm_name(constructor) );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue