winebuild: Reserve the space for the PE header in the .init section.
This commit is contained in:
parent
1030d41279
commit
538071ce7e
|
@ -358,13 +358,14 @@ void BuildSpec32File( DLLSPEC *spec )
|
|||
|
||||
/* Reserve some space for the PE header */
|
||||
|
||||
output( "\t.text\n" );
|
||||
output( "\t.align %d\n", get_alignment(page_size) );
|
||||
output( "\n\t.section \".init\",\"ax\"\n" );
|
||||
output( "\tjmp 1f\n" );
|
||||
output( "__wine_spec_pe_header:\n" );
|
||||
if (target_platform == PLATFORM_APPLE)
|
||||
output( "\t.space 65536\n" );
|
||||
output( "\t.space %u\n", 65536 + page_size );
|
||||
else
|
||||
output( "\t.skip 65536\n" );
|
||||
output( "\t.skip %u\n", 65536 + page_size );
|
||||
output( "1:\n" );
|
||||
|
||||
/* Output the NT header */
|
||||
|
||||
|
|
Loading…
Reference in New Issue