[Xtensa] clean up some code in GAS

Bob Wilson bwilson@tensilica.com
Fri Dec 7 01:09:00 GMT 2007


I've committed this patch to clean up some old code in the Xtensa port of GAS. 
I have no idea why it was ever written the way it was.

2007-12-06  Bob Wilson  <bob.wilson@acm.org>

         * config/tc-xtensa.c (xg_force_frag_space): Delete.
         (xg_finish_frag, xg_assemble_literal_space): Replace calls to it.
         (xtensa_create_property_segments, xtensa_create_xproperty_segments):
         Set output_section for new property sections.  Use subseg_set and
         seg_info instead of retrieve_segment_info.  Adjust arguments to
         add_xt_block_frags and add_xt_prop_frags.  Use standard functions
         to create frags and fix records.
         (retrieve_segment_info): Delete.
         (add_xt_block_frags, add_xt_prop_frags): Replace calls to
         retrieve_segment_info.  Remove unused xt_block_sec arguments.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gas-cleanup.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20071207/99a99acc/attachment.ksh>


More information about the Binutils mailing list