diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | 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 <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. 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); } |