aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2019-06-29 19:33:33 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2019-09-10 23:47:43 -0700
commit692fade34e05e4f64b40e9f2c278719294079a63 (patch)
tree8dca373cca2d3671e707bb301b0969cdc00654bc
parent3d74987c815b0cfcced02ad8659c1cd33e7d35d5 (diff)
downloadmeson-692fade34e05e4f64b40e9f2c278719294079a63.zip
meson-692fade34e05e4f64b40e9f2c278719294079a63.tar.gz
meson-692fade34e05e4f64b40e9f2c278719294079a63.tar.bz2
Fix "test cases/common/131 generated assembly" on Solaris
Without this change, the test fails with: [11/12] Linking target square-gen-test. warning: Text relocation remains referenced against symbol offset in file square_unsigned 0x15 square-gen-test@exe/main.c.o [12/12] Linking target square-ct-test. warning: Text relocation remains referenced against symbol offset in file square_unsigned 0x15 square-ct-test@exe/main.c.o Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--test cases/common/131 generated assembly/square-x86_64.S.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/test cases/common/131 generated assembly/square-x86_64.S.in b/test cases/common/131 generated assembly/square-x86_64.S.in
index 856af13..b2cf3eb 100644
--- a/test cases/common/131 generated assembly/square-x86_64.S.in
+++ b/test cases/common/131 generated assembly/square-x86_64.S.in
@@ -19,7 +19,7 @@ END
.text
.globl SYMBOL_NAME(square_unsigned)
/* Only supported with GAS */
-# if defined(__linux__) || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__)
+# if defined(__linux__) || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__sun)
.type square_unsigned,@function
# endif