diff --git a/test cases/common/119 llvm ir and assembly/square-aarch64.S b/test cases/common/119 llvm ir and assembly/square-aarch64.S index ebe74e7de..02f1a1299 100644 --- a/test cases/common/119 llvm ir and assembly/square-aarch64.S +++ b/test cases/common/119 llvm ir and assembly/square-aarch64.S @@ -15,6 +15,15 @@ SYMBOL_NAME(square_unsigned) ENDP #else -#error gas syntax assembly for this test needs to be written +.text +.globl SYMBOL_NAME(square_unsigned) +# ifdef __linux__ +.type square_unsigned, %function +#endif + +SYMBOL_NAME(square_unsigned): + mul x1, x0, x0 + mov x0, x1 + ret #endif