* 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
1 changed files with 5 additions and 1 deletions
6
crt0.S
6
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()
|
||||
|
|
Loading…
Reference in a new issue