/* discard_locals_relocatable_test.c -- test --discard-locals/--discard-all -r
- Copyright (C) 2010-2020 Free Software Foundation, Inc.
+ Copyright (C) 2010-2021 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