diff options
3 files changed, 9 insertions, 0 deletions
diff --git a/test cases/common/126 llvm ir and assembly/square-arm.S b/test cases/common/126 llvm ir and assembly/square-arm.S index 58a5b1b..e66fa47 100644 --- a/test cases/common/126 llvm ir and assembly/square-arm.S +++ b/test cases/common/126 llvm ir and assembly/square-arm.S @@ -2,6 +2,9 @@ .text .globl SYMBOL_NAME(square_unsigned) +# ifdef __linux__ +.type square_unsigned, %function +#endif SYMBOL_NAME(square_unsigned): mul r1, r0, r0 diff --git a/test cases/common/126 llvm ir and assembly/square-x86.S b/test cases/common/126 llvm ir and assembly/square-x86.S index b38da4f..7d1202a 100644 --- a/test cases/common/126 llvm ir and assembly/square-x86.S +++ b/test cases/common/126 llvm ir and assembly/square-x86.S @@ -23,6 +23,9 @@ END .text .globl SYMBOL_NAME(square_unsigned) +# ifdef __linux__ +.type square_unsigned, %function +#endif SYMBOL_NAME(square_unsigned): movl 4(%esp), %eax diff --git a/test cases/common/126 llvm ir and assembly/square-x86_64.S b/test cases/common/126 llvm ir and assembly/square-x86_64.S index 1452f47..09cc7a4 100644 --- a/test cases/common/126 llvm ir and assembly/square-x86_64.S +++ b/test cases/common/126 llvm ir and assembly/square-x86_64.S @@ -18,6 +18,9 @@ END .text .globl SYMBOL_NAME(square_unsigned) +# ifdef __linux__ +.type square_unsigned, %function +#endif # if defined(_WIN32) || defined(__CYGWIN__) /* msabi */ SYMBOL_NAME(square_unsigned): |