From d35b0bc119816825a657f7c9c2a1f062e7048c39 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 23 Jul 2008 10:59:18 +0000 Subject: - fix asm and volatile keywords --- ldso/ldso/arm/dl-syscalls.h | 2 +- ldso/ldso/cris/dl-startup.h | 4 ++-- ldso/ldso/frv/dl-startup.h | 2 +- ldso/ldso/m68k/dl-startup.h | 2 +- ldso/ldso/mips/dl-startup.h | 2 +- ldso/ldso/powerpc/dl-startup.h | 2 +- ldso/ldso/sh/dl-startup.h | 2 +- ldso/ldso/sh64/dl-startup.h | 2 +- ldso/ldso/sparc/dl-startup.h | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) (limited to 'ldso') 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 */ -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 -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\ -- cgit v1.2.3