diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/tc-hppa.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 4dd895b..912e31c 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +Fri Feb 11 14:21:51 2000 Jeffrey A Law (law@cygnus.com) + + * config/tc-hppa.c (pa_build_unwind_subspace): Use subseg_new to create + the unwinder subspace. Save the current seg/subseg before creating + the new seg/subseg. + 2000-02-10 Nick Clifton <nickc@cygnus.com> * config/tc-mcore.c (INST_BYTE0): Redefine to handle big and diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index fe53273..7e95a4a 100644 --- a/gas/config/tc-hppa.c +++ b/gas/config/tc-hppa.c @@ -6001,21 +6001,21 @@ pa_build_unwind_subspace (call_info) else reloc = R_PARISC_SEGREL32; + save_seg = now_seg; + save_subseg = now_subseg; /* Get into the right seg/subseg. This may involve creating the seg the first time through. Make sure to have the old seg/subseg so that we can reset things when we are done. */ seg = bfd_get_section_by_name (stdoutput, UNWIND_SECTION_NAME); if (seg == ASEC_NULL) { - seg = bfd_make_section_old_way (stdoutput, UNWIND_SECTION_NAME); + seg = subseg_new (UNWIND_SECTION_NAME, 0); bfd_set_section_flags (stdoutput, seg, SEC_READONLY | SEC_HAS_CONTENTS | SEC_LOAD | SEC_RELOC | SEC_ALLOC | SEC_DATA); bfd_set_section_alignment (stdoutput, seg, 2); } - save_seg = now_seg; - save_subseg = now_subseg; subseg_set (seg, 0); |