diff --git a/onnxruntime/core/mlas/lib/x86/x86.get_pc_thunk.S b/onnxruntime/core/mlas/lib/x86/x86.get_pc_thunk.S index b3c4f6ac8b..fd81ddb7e3 100644 --- a/onnxruntime/core/mlas/lib/x86/x86.get_pc_thunk.S +++ b/onnxruntime/core/mlas/lib/x86/x86.get_pc_thunk.S @@ -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