* 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.
This commit is contained in:
DJ Delorie 2012-10-03 20:24:49 +00:00
parent fea10954a6
commit 458c93a430

6
crt0.S
View file

@ -34,7 +34,11 @@
.short _start .short _start
.section ".ivec","a" .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 #define IVx() .short 0
/* To use a vector, simply define a global function named foo_handler() /* To use a vector, simply define a global function named foo_handler()