Weaken x86.get_pc_thunk for NDK <= r22 (#9994)

Otherwise there is multiple definition of '__x86.get_pc_thunk.bx'
This commit is contained in:
Yi-Hong Lyu 2021-12-10 17:30:26 +08:00 committed by GitHub
parent 343a76945b
commit 3c79f3055f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,9 +14,6 @@ Abstract:
--*/
#include "asmmacro.h"
.intel_syntax noprefix
/*++
@ -28,7 +25,9 @@ Routine Description:
--*/
FUNCTION_ENTRY __x86.get_pc_thunk.bx
.p2align 4
.weak __x86.get_pc_thunk.bx
.type __x86.get_pc_thunk.bx,@function
__x86.get_pc_thunk.bx:
mov ebx, [esp]
ret