Commit c7af43d8 by Brendan Kehoe

collect2.c (write_list_with_asm): Use `__asm__' instead of `asm', to avoid…

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
parent 8ab74e12
...@@ -1164,7 +1164,7 @@ write_list_with_asm (stream, prefix, list) ...@@ -1164,7 +1164,7 @@ write_list_with_asm (stream, prefix, list)
{ {
while (list) while (list)
{ {
fprintf (stream, "%sx%d asm (\"%s\");\n", fprintf (stream, "%sx%d __asm__ (\"%s\");\n",
prefix, list->sequence, list->name); prefix, list->sequence, list->name);
list = list->next; list = list->next;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment