ARM NT assumes a purely THUMB execution, and as such requires that the address of entry point is adjusted to indicate a thumb entry point. Unconditionally adjust the AddressOfEntryPoint in the PE header for PE/COFF ARM as we only support ARM NT at the moment. llvm-svn: 225139
18 lines
181 B
ArmAsm
18 lines
181 B
ArmAsm
|
|
# void mainCRTStartup(){}
|
|
|
|
.syntax unified
|
|
.thumb
|
|
.text
|
|
|
|
.def mainCRTStartup
|
|
.scl 2
|
|
.type 32
|
|
.endef
|
|
.global mainCRTStartup
|
|
.align 2
|
|
.thumb_func
|
|
mainCRTStartup:
|
|
bx lr
|
|
|