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 | |
parent | 13ab44c05b093f87ddd5f1d9431d07022d775e1b (diff) | |
download | newlib-2b74bec6c9f968fe1889aa29f10bad9b98b23d76.zip newlib-2b74bec6c9f968fe1889aa29f10bad9b98b23d76.tar.gz newlib-2b74bec6c9f968fe1889aa29f10bad9b98b23d76.tar.bz2 |
* 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')
-rw-r--r-- | libgloss/ChangeLog | 6 | ||||
-rw-r--r-- | libgloss/rl78/crt0.S | 6 |
2 files changed, 11 insertions, 1 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index 412af41..c04d9c7 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,9 @@ +2012-10-03 DJ Delorie <dj@redhat.com> + + * rl78/crt0.S (_interrupt_vector_table): Convert from CPP macros + to GAS macros, to avoid dependence on the line separation + character. + 2012-10-01 DJ Delorie <dj@redhat.com> * v850/sbrk.c (_sbrk): Change heap_start to be an array of diff --git a/libgloss/rl78/crt0.S b/libgloss/rl78/crt0.S index d5c078d..d5a07df 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() |