diff options
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 412af41d0..c04d9c710 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 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() |