From bc1fcb77980fd5ebc360d4145dca1eeefd4ad213 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Mon, 15 Apr 2002 19:53:34 +0000 Subject: [PATCH] 2002-04-15 Hans-Peter Nilsson * m32r/trapmon0.c (__trap0): Don't use multi-line strings. --- libgloss/ChangeLog | 4 ++++ libgloss/m32r/trapmon0.c | 22 +++++++++++----------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index 04487a8f9..82af543d0 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,7 @@ +2002-04-15 Hans-Peter Nilsson + + * m32r/trapmon0.c (__trap0): Don't use multi-line strings. + 2002-02-05 Mark Salter * arm/elf-iq80310.specs: Ditto. diff --git a/libgloss/m32r/trapmon0.c b/libgloss/m32r/trapmon0.c index 44bf6a586..20a2fcbfe 100644 --- a/libgloss/m32r/trapmon0.c +++ b/libgloss/m32r/trapmon0.c @@ -14,9 +14,9 @@ int __trap0 (int function, int p1, int p2, int p3, struct _reent *r) case SYS_exit: /* loop so GDB can't go past system exit call */ while (1) { - asm volatile (" - ldi r0, #0 - trap #15 ; return control to Mon2000"); + asm volatile ( + "ldi r0, #0 \n" + "trap #15 ; return control to Mon2000"); } break; @@ -25,15 +25,15 @@ int __trap0 (int function, int p1, int p2, int p3, struct _reent *r) int i; for( i=0; i