mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 08:54:05 +00:00
winebuild: Use asm_name to add underscore prefix in asm_globl.
This commit is contained in:
parent
6932138f17
commit
f35fbc5be9
|
@ -1021,8 +1021,7 @@ const char *asm_globl( const char *func )
|
|||
break;
|
||||
case PLATFORM_MINGW:
|
||||
case PLATFORM_WINDOWS:
|
||||
buffer = strmake( "\t.globl %s%s\n%s%s:", target.cpu == CPU_i386 ? "_" : "", func,
|
||||
target.cpu == CPU_i386 ? "_" : "", func );
|
||||
buffer = strmake( "\t.globl %s\n%s:", asm_name( func ), asm_name( func ) );
|
||||
break;
|
||||
default:
|
||||
buffer = strmake( "\t.globl %s\n\t.hidden %s\n%s:", func, func, func );
|
||||
|
|
Loading…
Reference in a new issue