diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2013-07-13 16:33:23 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2013-07-13 16:33:23 +0000 |
commit | bc28070f355445ace8e6cc4482f0bb56990dba71 (patch) | |
tree | da8f6ea0eb0fb8b8630fb41eb019983429e6757f /sys/arch | |
parent | 9b444726ceb69ae4c00fb4f16f7350473793bf58 (diff) |
Rework multiline string literal to appease gcc3.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/vax/stand/boot/autoconf.c | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/sys/arch/vax/stand/boot/autoconf.c b/sys/arch/vax/stand/boot/autoconf.c index 1871ceb1c0f..a77cd66ecdf 100644 --- a/sys/arch/vax/stand/boot/autoconf.c +++ b/sys/arch/vax/stand/boot/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.14 2013/07/05 21:13:06 miod Exp $ */ +/* $OpenBSD: autoconf.c,v 1.15 2013/07/13 16:33:22 miod Exp $ */ /* $NetBSD: autoconf.c,v 1.19 2002/06/01 15:33:22 ragge Exp $ */ /* * Copyright (c) 1994, 1998 Ludd, University of Lule}, Sweden. @@ -238,26 +238,26 @@ rtimer(void *arg) #define CMN_IDSPTCH "_cmn_idsptch" #endif -asm(" - .text - .align 2 - .globl " IDSPTCH ", " EIDSPTCH " -" IDSPTCH ": - pushr $0x3f - .word 0x9f16 - .long " CMN_IDSPTCH " - .long 0 - .long 0 - .long 0 -" EIDSPTCH ": - -" CMN_IDSPTCH ": - movl (%sp)+,%r0 - pushl 4(%r0) - calls $1,*(%r0) - popr $0x3f - rei -"); +asm( + ".text\n" + ".align 2\n" + ".globl " IDSPTCH ", " EIDSPTCH "\n" +IDSPTCH ":\n" + "pushr $0x3f\n" + ".word 0x9f16\n" + ".long " CMN_IDSPTCH "\n" + ".long 0\n" + ".long 0\n" + ".long 0\n" +EIDSPTCH ":\n" + +CMN_IDSPTCH ":\n" + "movl (%sp)+,%r0\n" + "pushl 4(%r0)\n" + "calls $1,*(%r0)\n" + "popr $0x3f\n" + "rei\n" +); /* * Stray interrupt handler. |