From 2b0210eb4094c59366fd1d8eeca9df0b69df821e Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Fri, 3 Dec 2004 01:00:07 +0000 Subject: * config/tc-xtensa.c (xtensa_switch_section_emit_state): Use subseg_set. (xtensa_restore_emit_state): Likewise. --- gas/ChangeLog | 5 +++++ gas/config/tc-xtensa.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 2a1db5f..17247a1 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2004-12-02 Bob Wilson + + * config/tc-xtensa.c (xtensa_switch_section_emit_state): Use subseg_set. + (xtensa_restore_emit_state): Likewise. + 2004-12-02 Alan Modra * read.c (ALIGN_LIMIT): Define, increasing limit for BFD_ASSEMBLER. diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c index 5325792..1df3c0b 100644 --- a/gas/config/tc-xtensa.c +++ b/gas/config/tc-xtensa.c @@ -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); } -- cgit v1.1