* config/tc-xtensa.c (xtensa_switch_section_emit_state): Use subseg_set.

(xtensa_restore_emit_state): Likewise.
This commit is contained in:
Bob Wilson 2004-12-03 01:00:07 +00:00
parent ca5e5bc767
commit 2b0210eb40
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2004-12-02 Bob Wilson <bob.wilson@acm.org>
* config/tc-xtensa.c (xtensa_switch_section_emit_state): Use subseg_set.
(xtensa_restore_emit_state): Likewise.
2004-12-02 Alan Modra <amodra@bigpond.net.au>
* read.c (ALIGN_LIMIT): Define, increasing limit for BFD_ASSEMBLER.

View file

@ -10267,7 +10267,7 @@ xtensa_switch_section_emit_state (emit_state *state,
state->now_subseg = now_subseg;
state->generating_literals = generating_literals;
generating_literals++;
subseg_new (segment_name (new_now_seg), new_now_subseg);
subseg_set (new_now_seg, new_now_subseg);
}
@ -10277,7 +10277,7 @@ static void
xtensa_restore_emit_state (emit_state *state)
{
generating_literals = state->generating_literals;
subseg_new (state->name, state->now_subseg);
subseg_set (state->now_seg, state->now_subseg);
}