[arm,patch] Implement unwinding table opcodes
Paul Brook
paul@codesourcery.com
Sat Oct 2 16:42:00 GMT 2004
Attached is updated patch implementing assembly directives for arm eabi
unwinding tables.
This should apply cleanly to current CVS. No functions changes compared the
previous patch.
Original post: http://sources.redhat.com/ml/binutils/2004-09/msg00193.html
Paul
2004-10-02 Paul Brook <paul@codesourcery.com>
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.gas_unwind
Type: text/x-diff
Size: 44874 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20041002/e58012b5/attachment.bin>
More information about the Binutils
mailing list