summaryrefslogtreecommitdiff
path: root/lib/csu
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-02-01 19:27:21 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-02-01 19:27:21 +0000
commit7c2cefc01c0b5c9de951f3341efa70e7d66651c0 (patch)
tree9b12941ec7d993463d372b5c181b4d09039531b7 /lib/csu
parent0afc3bb7e9300a87a23bc790dc733b252af7cf2d (diff)
No multi-line strings, to please gcc3. No functional change.
Diffstat (limited to 'lib/csu')
-rw-r--r--lib/csu/sparc/crt0.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/lib/csu/sparc/crt0.c b/lib/csu/sparc/crt0.c
index 6cc0c37dad2..c05f40d6dfc 100644
--- a/lib/csu/sparc/crt0.c
+++ b/lib/csu/sparc/crt0.c
@@ -40,26 +40,26 @@
void ___start(int, char **, char **, void (*cleanup)(void), void *);
-__asm("
- .text
- .align 4
- .global __start
- .global _start
-__start:
-_start:
- mov 0, %fp
- ld [%sp + 64], %o0 ! get argc
- add %sp, 68, %o1 ! get argv
- sll %o0, 2, %o2 !
- add %o2, 4, %o2 ! envp = argv + (argc << 2) + 4
- add %o1, %o2, %o2 !
- andn %sp, 7, %sp ! align
- sub %sp, 24, %sp ! expand to standard stack frame size
- mov %g3, %o3
- mov %g2, %o4
- call ___start
- mov %g1, %o5
-");
+__asm(
+" .text\n"
+" .align 4\n"
+" .global __start\n"
+" .global _start\n"
+"__start:\n"
+"_start:\n"
+" mov 0, %fp\n"
+" ld [%sp + 64], %o0 ! get argc\n"
+" add %sp, 68, %o1 ! get argv\n"
+" sll %o0, 2, %o2\n"
+" add %o2, 4, %o2 ! envp = argv + (argc << 2) + 4\n"
+" add %o1, %o2, %o2\n"
+" andn %sp, 7, %sp ! align\n"
+" sub %sp, 24, %sp ! expand to standard stack frame size\n"
+" mov %g3, %o3\n"
+" mov %g2, %o4\n"
+" call ___start\n"
+" mov %g1, %o5\n"
+);
char **environ;
char *__progname = "";