The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
448 B
30 lines
448 B
5 years ago
|
#include "symbol-underscore.h"
|
||
|
|
||
5 years ago
|
#ifdef _MSC_VER
|
||
|
|
||
|
AREA _TEXT, ARM, CODE, READONLY
|
||
|
|
||
|
EXPORT SYMBOL_NAME(square_unsigned)
|
||
|
SYMBOL_NAME(square_unsigned) PROC
|
||
|
mul r1, r0, r0
|
||
|
mov r0, r1
|
||
|
mov pc, lr
|
||
|
SYMBOL_NAME(square_unsigned) ENDP
|
||
|
|
||
|
END
|
||
|
|
||
|
#else
|
||
|
|
||
5 years ago
|
.text
|
||
|
.globl SYMBOL_NAME(square_unsigned)
|
||
|
# ifdef __linux__
|
||
|
.type square_unsigned, %function
|
||
|
#endif
|
||
|
|
||
|
SYMBOL_NAME(square_unsigned):
|
||
|
mul r1, r0, r0
|
||
|
mov r0, r1
|
||
|
mov pc, lr
|
||
5 years ago
|
|
||
|
#endif
|