* config/tc-xtensa.c (xtensa_switch_section_emit_state): Use subseg_set.
authorBob Wilson <bob.wilson@acm.org>
Fri, 3 Dec 2004 01:00:07 +0000 (01:00 +0000)
committerBob Wilson <bob.wilson@acm.org>
Fri, 3 Dec 2004 01:00:07 +0000 (01:00 +0000)
(xtensa_restore_emit_state): Likewise.

gas/ChangeLog
gas/config/tc-xtensa.c

index 2a1db5f98caaa0f6c9ca39ea9244335161a19e74..17247a172bb64b7db37654d7fe97e357b02bcffb 100644 (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.
index 5325792fff258f3e58ece89d98b508c29a93008d..1df3c0b1b9aed2b014a522154a8bd75027c331c5 100644 (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);
 }