Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2012-10-04 00:24:50 +0400
committerDJ Delorie <dj@redhat.com>2012-10-04 00:24:50 +0400
commit2b74bec6c9f968fe1889aa29f10bad9b98b23d76 (patch)
treec083cffd24d92fea6a904356ff535d6bee03e2a5 /libgloss/rl78
parent13ab44c05b093f87ddd5f1d9431d07022d775e1b (diff)
* libc/machine/rl78/setjmp.S: Convert from CPP macros to GAS
macros, to avoid dependence on the line separation character. * rl78/crt0.S (_interrupt_vector_table): Convert from CPP macros to GAS macros, to avoid dependence on the line separation character.
Diffstat (limited to 'libgloss/rl78')
-rw-r--r--libgloss/rl78/crt0.S6
1 files changed, 5 insertions, 1 deletions
diff --git a/libgloss/rl78/crt0.S b/libgloss/rl78/crt0.S
index d5c078df0..d5a07df90 100644
--- a/libgloss/rl78/crt0.S
+++ b/libgloss/rl78/crt0.S
@@ -34,7 +34,11 @@
.short _start
.section ".ivec","a"
-#define IV(x) .weak _##x##_handler | .short _##x##_handler
+ .macro _iv x
+ .weak \x
+ .short \x
+ .endm
+#define IV(x) _iv _##x##_handler
#define IVx() .short 0
/* To use a vector, simply define a global function named foo_handler()