rl78.c (rl78_expand_prologue): Always select register bank 0 at the start of an interrupt handler.

* config/rl78/rl78.c (rl78_expand_prologue): Always select
	register bank 0 at the start of an interrupt handler.

From-SVN: r195019
This commit is contained in:
Nick Clifton 2013-01-08 15:00:22 +00:00 committed by Nick Clifton
parent 385eb93d42
commit f90d87f524
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-01-08 Nick Clifton <nickc@redhat.com>
* config/rl78/rl78.c (rl78_expand_prologue): Always select
register bank 0 at the start of an interrupt handler.
2013-01-08 James Greenhalgh <james.greenhalgh@arm.com>
* config/aarch64/aarch64-simd.md
@ -42,7 +47,7 @@
* config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT,
TF_SIZE): Define.
2013-01-07 Steve Ellcey <sellcey@mips.com>
PR target/42661

View File

@ -839,6 +839,9 @@ rl78_expand_prologue (void)
if (flag_stack_usage_info)
current_function_static_stack_size = cfun->machine->framesize;
if (is_interrupt_func (cfun->decl))
emit_insn (gen_sel_rb (GEN_INT (0)));
for (i = 0; i < 16; i++)
if (cfun->machine->need_to_push [i])
{