* 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:
parent
fea10954a6
commit
458c93a430
6
crt0.S
6
crt0.S
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue