summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/arm/dl-syscalls.h2
-rw-r--r--ldso/ldso/cris/dl-startup.h4
-rw-r--r--ldso/ldso/frv/dl-startup.h2
-rw-r--r--ldso/ldso/m68k/dl-startup.h2
-rw-r--r--ldso/ldso/mips/dl-startup.h2
-rw-r--r--ldso/ldso/powerpc/dl-startup.h2
-rw-r--r--ldso/ldso/sh/dl-startup.h2
-rw-r--r--ldso/ldso/sh64/dl-startup.h2
-rw-r--r--ldso/ldso/sparc/dl-startup.h2
9 files changed, 10 insertions, 10 deletions
diff --git a/ldso/ldso/arm/dl-syscalls.h b/ldso/ldso/arm/dl-syscalls.h
index ecbe96a1c..1c0e6699e 100644
--- a/ldso/ldso/arm/dl-syscalls.h
+++ b/ldso/ldso/arm/dl-syscalls.h
@@ -9,7 +9,7 @@ extern int _dl_errno;
* provides them, so define them here (only required for thumb).
*/
#if defined(__thumb__)
-asm(
+__asm__(
".macro call_via register\n"
" .global _call_via_\\register\n"
" .hidden _call_via_\\register\n"
diff --git a/ldso/ldso/cris/dl-startup.h b/ldso/ldso/cris/dl-startup.h
index 417cb5096..832c3528b 100644
--- a/ldso/ldso/cris/dl-startup.h
+++ b/ldso/ldso/cris/dl-startup.h
@@ -6,7 +6,7 @@
* can find argc, argv and auxvt (Auxillary Vector Table). */
#ifdef __arch_v32
-asm("" \
+__asm__("" \
" .text\n" \
" .globl _start\n" \
" .type _start,@function\n" \
@@ -24,7 +24,7 @@ asm("" \
#else
-asm("" \
+__asm__("" \
" .text\n" \
" .globl _start\n" \
" .type _start,@function\n" \
diff --git a/ldso/ldso/frv/dl-startup.h b/ldso/ldso/frv/dl-startup.h
index 00c7592e1..674f81c15 100644
--- a/ldso/ldso/frv/dl-startup.h
+++ b/ldso/ldso/frv/dl-startup.h
@@ -25,7 +25,7 @@
__self_reloc returns the relocated pointer to us, so that we can
use this value to initialize the PIC register. */
-asm("" \
+__asm__("" \
" .text\n" \
" .global _dl_boot\n" \
" .type _dl_boot,@function\n" \
diff --git a/ldso/ldso/m68k/dl-startup.h b/ldso/ldso/m68k/dl-startup.h
index fca4b6ccb..2ed9ead50 100644
--- a/ldso/ldso/m68k/dl-startup.h
+++ b/ldso/ldso/m68k/dl-startup.h
@@ -4,7 +4,7 @@
* Copyright (C) 2005 by Erik Andersen <andersen@codepoet.org>
*/
-asm ("\
+__asm__ ("\
.text\n\
.globl _start\n\
.type _start,@function\n\
diff --git a/ldso/ldso/mips/dl-startup.h b/ldso/ldso/mips/dl-startup.h
index 4e3fcafb8..d76f4874d 100644
--- a/ldso/ldso/mips/dl-startup.h
+++ b/ldso/ldso/mips/dl-startup.h
@@ -7,7 +7,7 @@
#include <sgidefs.h>
-asm(""
+__asm__(""
" .text\n"
" .globl _start\n"
" .ent _start\n"
diff --git a/ldso/ldso/powerpc/dl-startup.h b/ldso/ldso/powerpc/dl-startup.h
index a5a8a83f2..7033da32b 100644
--- a/ldso/ldso/powerpc/dl-startup.h
+++ b/ldso/ldso/powerpc/dl-startup.h
@@ -4,7 +4,7 @@
* Copyright (C) 2005 by Joakim Tjernlund
*/
-asm(
+__asm__(
" .text\n"
" .globl _start\n"
" .type _start,@function\n"
diff --git a/ldso/ldso/sh/dl-startup.h b/ldso/ldso/sh/dl-startup.h
index bd51cebe0..3e59093fa 100644
--- a/ldso/ldso/sh/dl-startup.h
+++ b/ldso/ldso/sh/dl-startup.h
@@ -2,7 +2,7 @@
* will work as expected and cope with whatever platform specific wierdness is
* needed for this architecture. */
-asm(
+__asm__(
" .text\n"
" .globl _start\n"
" .type _start,@function\n"
diff --git a/ldso/ldso/sh64/dl-startup.h b/ldso/ldso/sh64/dl-startup.h
index 7701afc71..8c0a58df8 100644
--- a/ldso/ldso/sh64/dl-startup.h
+++ b/ldso/ldso/sh64/dl-startup.h
@@ -3,7 +3,7 @@
* needed for this architecture.
*/
-asm("" \
+__asm__("" \
" .section .text..SHmedia32,\"ax\"\n" \
" .globl _start\n" \
" .type _start, @function\n" \
diff --git a/ldso/ldso/sparc/dl-startup.h b/ldso/ldso/sparc/dl-startup.h
index 4ceb7c55a..c310e5df9 100644
--- a/ldso/ldso/sparc/dl-startup.h
+++ b/ldso/ldso/sparc/dl-startup.h
@@ -4,7 +4,7 @@
* can be done.
*/
-asm ("\
+__asm__ ("\
.text\n\
.global _start\n\
.type _start,%function\n\