diff options
author | Bob Wilson <bob.wilson@acm.org> | 2004-12-03 01:00:07 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@acm.org> | 2004-12-03 01:00:07 +0000 |
commit | 2b0210eb4094c59366fd1d8eeca9df0b69df821e (patch) | |
tree | 17e531c15ec302dd1aa20921a7b9c6b2a4817d22 /gas | |
parent | ca5e5bc767c677847e700abfe558f125219f7306 (diff) | |
download | gdb-2b0210eb4094c59366fd1d8eeca9df0b69df821e.zip gdb-2b0210eb4094c59366fd1d8eeca9df0b69df821e.tar.gz gdb-2b0210eb4094c59366fd1d8eeca9df0b69df821e.tar.bz2 |
* config/tc-xtensa.c (xtensa_switch_section_emit_state): Use subseg_set.
(xtensa_restore_emit_state): Likewise.
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); } |