aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrendan Kehoe <brendan@gcc.gnu.org>1993-01-26 17:14:37 -0500
committerBrendan Kehoe <brendan@gcc.gnu.org>1993-01-26 17:14:37 -0500
commitc7af43d8b32d6526b3e07a4d087944f8ea56220b (patch)
treef524d67289b8b8ce95efd8d83856f824efe0ffbf
parent8ab74e129548465b32623ee4f703de0f94918cbc (diff)
downloadgcc-c7af43d8b32d6526b3e07a4d087944f8ea56220b.zip
gcc-c7af43d8b32d6526b3e07a4d087944f8ea56220b.tar.gz
gcc-c7af43d8b32d6526b3e07a4d087944f8ea56220b.tar.bz2
collect2.c (write_list_with_asm): Use `__asm__' instead of `asm', to avoid problems with `-fno-asm'.
* collect2.c (write_list_with_asm): Use `__asm__' instead of `asm', to avoid problems with `-fno-asm'. From-SVN: r3351
-rw-r--r--gcc/collect2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/collect2.c b/gcc/collect2.c
index 7068c4b..f7f6d2a 100644
--- a/gcc/collect2.c
+++ b/gcc/collect2.c
@@ -1164,7 +1164,7 @@ write_list_with_asm (stream, prefix, list)
{
while (list)
{
- fprintf (stream, "%sx%d asm (\"%s\");\n",
+ fprintf (stream, "%sx%d __asm__ (\"%s\");\n",
prefix, list->sequence, list->name);
list = list->next;
}