[arm,patch] Implement unwinding table opcodes

Nick Clifton nickc@redhat.com
Tue Oct 5 13:52:00 GMT 2004


Hi Paul,

> gas/
>  * config/tc-arm.c (unwind): New variable.
>  (vfp_sp_encode_reg): New function.
>  (vfp_sp_reg_required_here): Use it.
>  (vfp_sp_reg_list, vfp_dp_reg_list): Remove.
>  (vfp_parse_reg_list): New function.
>  (s_arm_unwind_fnstart, s_arm_unwind_fnend, s_arm_unwind_cantunwind,
>  s_arm_unwind_personality, s_arm_unwind_personalityindex,
>  s_arm_unwind_handlerdata, s_arm_unwind_save, s_arm_unwind_movsp,
>  s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): New
>  functions.
>  (md_pseudo_table): Add them.
>  (do_vfp_reg2_from_sp2): Use vfp_parse_reg_list and vfp_sp_encode_reg.
>  (do_vfp_sp2_from_reg2, vfp_sp_ldstm, vfp_dp_ldstm): Ditto.
>  (set_section, add_unwind_adjustsp, flush_pending_unwind,
>  finish_unwind_opcodes, start_unwind_section, create_unwind_entry,
>  require_hashconst, add_unwind_opcode): New functions.
>  * doc/tc-arm.text: Document unwinding opcodes.
> gas/testsuite/
>  * gas/arm/arm.exp: Add unwind table test.  Recognise
>  arm-symbian-symbianelf and arm-none-eabi.
>  * gas/arm/unwind.s: New file.
>  * gas/arm/unwind.d: New file.

Approved and applied.

Note - I added an entry to the gas/NEWS file as well.

Cheers
   Nick



More information about the Binutils mailing list