summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-11-03 14:12:29 +0000
committerEric Andersen <andersen@codepoet.org>2002-11-03 14:12:29 +0000
commit4bb535f88baea1473630b83d06fe86cc42d69e86 (patch)
treeef7c2623886fc26530b658d8163605bd1530d7cb
parent74f5887007f45401e6a8933d7da96ddef02f9940 (diff)
Patch from M. R. Brown <mrbrown@0xd6.org> to get rid of
"depreciated multi-line string literals" warnings
-rw-r--r--ldso/ldso/sh/boot1_arch.h30
-rw-r--r--ldso/ldso/sh/dl-startup.h30
-rw-r--r--ldso/ldso/sh/dl-sysdep.h92
-rw-r--r--ldso/ldso/sh/ld_sysdep.h92
4 files changed, 122 insertions, 122 deletions
diff --git a/ldso/ldso/sh/boot1_arch.h b/ldso/ldso/sh/boot1_arch.h
index 40d6a0dd4..81d29d119 100644
--- a/ldso/ldso/sh/boot1_arch.h
+++ b/ldso/ldso/sh/boot1_arch.h
@@ -2,21 +2,21 @@
* will work as expected and cope with whatever platform specific wierdness is
* needed for this architecture. */
-asm("\
- .text
- .globl _dl_boot
-_dl_boot:
- mov r15, r4
- mov.l .L_dl_boot2, r0
- bsrf r0
- add #4, r4
-.jmp_loc:
- jmp @r0
- mov #0, r4 /* call _start with arg == 0 */
-.L_dl_boot2:\n\
- .long _dl_boot2-.jmp_loc\n\
- .previous\n\
-");
+asm("" \
+" .text\n" \
+" .globl _dl_boot\n" \
+"_dl_boot:\n" \
+" mov r15, r4\n" \
+" mov.l .L_dl_boot2, r0\n" \
+" bsrf r0\n" \
+" add #4, r4\n" \
+".jmp_loc:\n" \
+" jmp @r0\n" \
+" mov #0, r4 !call _start with arg == 0\n" \
+".L_dl_boot2:\n" \
+" .long _dl_boot2-.jmp_loc\n" \
+" .previous\n" \
+);
#define _dl_boot _dl_boot2
#define LD_BOOT(X) static void * __attribute__ ((unused)) _dl_boot (X)
diff --git a/ldso/ldso/sh/dl-startup.h b/ldso/ldso/sh/dl-startup.h
index 40d6a0dd4..81d29d119 100644
--- a/ldso/ldso/sh/dl-startup.h
+++ b/ldso/ldso/sh/dl-startup.h
@@ -2,21 +2,21 @@
* will work as expected and cope with whatever platform specific wierdness is
* needed for this architecture. */
-asm("\
- .text
- .globl _dl_boot
-_dl_boot:
- mov r15, r4
- mov.l .L_dl_boot2, r0
- bsrf r0
- add #4, r4
-.jmp_loc:
- jmp @r0
- mov #0, r4 /* call _start with arg == 0 */
-.L_dl_boot2:\n\
- .long _dl_boot2-.jmp_loc\n\
- .previous\n\
-");
+asm("" \
+" .text\n" \
+" .globl _dl_boot\n" \
+"_dl_boot:\n" \
+" mov r15, r4\n" \
+" mov.l .L_dl_boot2, r0\n" \
+" bsrf r0\n" \
+" add #4, r4\n" \
+".jmp_loc:\n" \
+" jmp @r0\n" \
+" mov #0, r4 !call _start with arg == 0\n" \
+".L_dl_boot2:\n" \
+" .long _dl_boot2-.jmp_loc\n" \
+" .previous\n" \
+);
#define _dl_boot _dl_boot2
#define LD_BOOT(X) static void * __attribute__ ((unused)) _dl_boot (X)
diff --git a/ldso/ldso/sh/dl-sysdep.h b/ldso/ldso/sh/dl-sysdep.h
index cf8820e4e..ee2832436 100644
--- a/ldso/ldso/sh/dl-sysdep.h
+++ b/ldso/ldso/sh/dl-sysdep.h
@@ -85,52 +85,52 @@ register unsigned int __r0 __asm__ ("r0");
register unsigned int __r4 __asm__ ("r4") = n;
register unsigned int __r5 __asm__ ("r5") = base;
- __asm__ ("
- mov #0, r0
- div0u
-
- ! get one bit from the msb of the numerator into the T
- ! bit and divide it by whats in %2. Put the answer bit
- ! into the T bit so it can come out again at the bottom
-
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
-
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
-
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
-
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4
- mov r4, r0
-"
+ __asm__ ("" \
+ "mov #0, r0\n\t" \
+ "div0u\n\t" \
+ "" \
+ "! get one bit from the msb of the numerator into the T\n\t" \
+ "! bit and divide it by whats in %2. Put the answer bit\n\t" \
+ "! into the T bit so it can come out again at the bottom\n\t" \
+ "" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4\n\t" \
+ "mov r4, r0\n\t"
+
: "=r" (__r0)
: "r" (__r4), "r" (__r5)
: "r4", "cc");
diff --git a/ldso/ldso/sh/ld_sysdep.h b/ldso/ldso/sh/ld_sysdep.h
index cf8820e4e..ee2832436 100644
--- a/ldso/ldso/sh/ld_sysdep.h
+++ b/ldso/ldso/sh/ld_sysdep.h
@@ -85,52 +85,52 @@ register unsigned int __r0 __asm__ ("r0");
register unsigned int __r4 __asm__ ("r4") = n;
register unsigned int __r5 __asm__ ("r5") = base;
- __asm__ ("
- mov #0, r0
- div0u
-
- ! get one bit from the msb of the numerator into the T
- ! bit and divide it by whats in %2. Put the answer bit
- ! into the T bit so it can come out again at the bottom
-
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
-
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
-
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
-
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4 ; div1 r5, r0
- rotcl r4
- mov r4, r0
-"
+ __asm__ ("" \
+ "mov #0, r0\n\t" \
+ "div0u\n\t" \
+ "" \
+ "! get one bit from the msb of the numerator into the T\n\t" \
+ "! bit and divide it by whats in %2. Put the answer bit\n\t" \
+ "! into the T bit so it can come out again at the bottom\n\t" \
+ "" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4 ; div1 r5, r0\n\t" \
+ "rotcl r4\n\t" \
+ "mov r4, r0\n\t"
+
: "=r" (__r0)
: "r" (__r4), "r" (__r5)
: "r4", "cc");