Use __asm__ rather than asm in gold testsuite
[deliverable/binutils-gdb.git] / gold / testsuite / discard_locals_relocatable_test.c
index e7a22fca8dfe12990182c616fd7e47e1a4937372..543b99757de8a41b317a7a733f3c89c32c064f4d 100644 (file)
@@ -1,6 +1,6 @@
 /* discard_locals_relocatable_test.c -- test --discard-locals/--discard-all -r
 
-   Copyright (C) 2010-2019 Free Software Foundation, Inc.
+   Copyright (C) 2010-2020 Free Software Foundation, Inc.
    Viktor Kutuzov <vkutuzov@accesssoftek.com>.
 
    This file is part of gold.
 /* Local symbol format for generic ELF target. 
    Use GCC -Wa,-L option to preserve this local symbol
    in the output object file. */
-asm (".Lshould_be_discarded:");
+__asm__ (".Lshould_be_discarded:");
 
 #ifdef __powerpc__
 /* Test wants to keep one local.  Satisfy it.  */
 #ifdef __powerpc64__
-asm (".reloc 0,R_PPC64_NONE,.LC0");
+__asm__ (".reloc 0,R_PPC64_NONE,.LC0");
 #else
-asm (".reloc 0,R_PPC_NONE,.LC0");
+__asm__ (".reloc 0,R_PPC_NONE,.LC0");
 #endif
 #endif
 
This page took 0.02419 seconds and 4 git commands to generate.