]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - elf/tst-unique1mod1.c
test-container: Fix "unused code" warnings on HURD
[thirdparty/glibc.git] / elf / tst-unique1mod1.c
index ccc74fae3e63405e56f59c52c7c01bc95e4411c4..84b1f908d6ed9fcc644950bf4e4da59248a542cc 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");
@@ -18,4 +14,3 @@ f (void)
   var = 1;
   return &var;
 }
-#endif