diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2017-07-24 16:20:53 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-07-24 19:11:08 +0300 |
commit | ccde05f0ac96ac401a782262398bd26ac381283a (patch) | |
tree | 083358fe20c444e80346193f75dfd8e80d0ca8a2 | |
parent | 3ddf9bf6dd45c2accb526dbd97919c19ade43c25 (diff) | |
download | meson-ccde05f0ac96ac401a782262398bd26ac381283a.zip meson-ccde05f0ac96ac401a782262398bd26ac381283a.tar.gz meson-ccde05f0ac96ac401a782262398bd26ac381283a.tar.bz2 |
Tag functions in asm properly.
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): |