]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - elf/tst-unique2mod2.c
test-container: Fix "unused code" warnings on HURD
[thirdparty/glibc.git] / elf / tst-unique2mod2.c
index 4f1fec0087b264a897055478bad68af5376ca7c1..126ca1ac6cf9fa3e517c076878c7584588f65d5f 100644 (file)
@@ -1,12 +1,8 @@
 #include <config.h>
 
-#ifdef HAVE_ASM_UNIQUE_OBJECT
-# define S(s) _S (s)
-# define _S(s) #s
-
 asm (".data;"
      ".globl var\n"
-     ".type var, " S (ASM_TYPE_DIRECTIVE_PREFIX) "gnu_unique_object\n"
+     ".type var, %gnu_unique_object\n"
      ".size var, 4\n"
      "var:.zero 4\n"
      ".previous");
@@ -17,4 +13,3 @@ f (int *p)
 {
   return &var != p || *p != 1;
 }
-#endif