summaryrefslogtreecommitdiff
path: root/lib/csu/sparc64/crt0.c
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2004-01-04 03:40:20 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2004-01-04 03:40:20 +0000
commit953dcc28bcfebce670669f86bc7d5e111595378e (patch)
tree2e9eb2784e4e57e2a705b969514e9969346c8505 /lib/csu/sparc64/crt0.c
parent0bb8ffe6da28e91a5982e4244360b5f764650f20 (diff)
zap multi-line literals; ok deraadt
Diffstat (limited to 'lib/csu/sparc64/crt0.c')
-rw-r--r--lib/csu/sparc64/crt0.c26
1 files changed, 12 insertions, 14 deletions
diff --git a/lib/csu/sparc64/crt0.c b/lib/csu/sparc64/crt0.c
index 68457bfba42..ac0716f04f8 100644
--- a/lib/csu/sparc64/crt0.c
+++ b/lib/csu/sparc64/crt0.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crt0.c,v 1.5 2003/02/28 18:05:51 deraadt Exp $ */
+/* $OpenBSD: crt0.c,v 1.6 2004/01/04 03:40:19 pvalchev Exp $ */
/*
* Copyright (c) 1995 Christopher G. Demetriou
@@ -46,19 +46,17 @@ extern void _mcleanup(void);
extern unsigned char _etext, _eprol;
#endif /* MCRT0 */
-__asm__("
- .text
- .align 4
- .global _start /* NetBSD compat */
- .global __start
-_start:
-__start:
- clr %g4
- clr %fp
- add %sp, 2175, %o0 /* stack */
- ba,pt %icc, ___start
- nop
-");
+__asm__(".text\n"
+" .align 4\n"
+" .global _start\n" /* NetBSD compat */
+" .global __start\n"
+"_start:\n"
+"__start:\n"
+" clr %g4\n"
+" clr %fp\n"
+" add %sp, 2175, %o0\n" /* stack */
+" ba,pt %icc, ___start\n"
+" nop");
void ___start(char **, void (*)(void), const void *);