diff options
author | DJ Delorie <dj@redhat.com> | 2012-10-03 20:24:50 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2012-10-03 20:24:50 +0000 |
commit | 2b74bec6c9f968fe1889aa29f10bad9b98b23d76 (patch) | |
tree | c083cffd24d92fea6a904356ff535d6bee03e2a5 /libgloss/rl78/crt0.S | |
parent | 13ab44c05b093f87ddd5f1d9431d07022d775e1b (diff) | |
download | cygnal-2b74bec6c9f968fe1889aa29f10bad9b98b23d76.tar.gz cygnal-2b74bec6c9f968fe1889aa29f10bad9b98b23d76.tar.bz2 cygnal-2b74bec6c9f968fe1889aa29f10bad9b98b23d76.zip |
* 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/crt0.S')
-rw-r--r-- | libgloss/rl78/crt0.S | 6 |
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() |