* except.c (sjlj_emit_function_enter): Mark internal label as LOCAL.

From-SVN: r73598
This commit is contained in:
Richard Earnshaw 2003-11-14 10:44:08 +00:00 committed by Richard Earnshaw
parent 6f5f24812b
commit 86bdf07137
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-11-14 Richard Earnshaw <rearnsha@arm.com>
* except.c (sjlj_emit_function_enter): Mark internal label as LOCAL.
2003-11-14 Richard Earnshaw <rearnsha@arm.com>
* arm.c (arm_emit_vector_const, arm_output_load_gr): Use ISO C

View File

@ -2047,8 +2047,12 @@ sjlj_emit_function_enter (rtx dispatch_label)
if (cfun->uses_eh_lsda)
{
char buf[20];
rtx sym;
ASM_GENERATE_INTERNAL_LABEL (buf, "LLSDA", current_function_funcdef_no);
emit_move_insn (mem, gen_rtx_SYMBOL_REF (Pmode, ggc_strdup (buf)));
sym = gen_rtx_SYMBOL_REF (Pmode, ggc_strdup (buf));
SYMBOL_REF_FLAGS (sym) = SYMBOL_FLAG_LOCAL;
emit_move_insn (mem, sym);
}
else
emit_move_insn (mem, const0_rtx);