]> git.ipfire.org Git - thirdparty/elfutils.git/commit
backends: Hook abi_cfi for arm.
authorMark Wielaard <mjw@redhat.com>
Mon, 2 Sep 2013 14:46:50 +0000 (16:46 +0200)
committerMark Wielaard <mjw@redhat.com>
Tue, 3 Sep 2013 09:43:19 +0000 (11:43 +0200)
commit92e47d616d15beec31c406ce254e639faa8fac2b
treec0df7b450863f22e36c0bc798d174962a6e92564
parent79b9181ff552e54bacc74fc0b0699e6133645c6b
backends: Hook abi_cfi for arm.

New arm_abi_cfi that defines initial CFA, rules for callee-saved regs,
including VFP ones and return register.

Note the DWARF abi extension for ARM says that "registers intentionally
unused" should also be initialized as if by DW_CFA_same_value.  The
example given is "an integer-only function might be included in one
executable file for targets with VFP and another for targets without".
We don't currently do this yet. See the DWARF and calling convention
documents:

DWARF for the ARM Architecture ABI r2.09
http://infocenter.arm.com/help/topic/com.arm.doc.ihi0040b/IHI0040B_aadwarf.pdf

Procedure Call Standard for the ARM Architecture ABI r2.09
http://infocenter.arm.com/help/topic/com.arm.doc.ihi0042e/IHI0042E_aapcs.pdf

Also adds addrcfi arm testcase.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
backends/ChangeLog
backends/Makefile.am
backends/arm_cfi.c [new file with mode: 0644]
backends/arm_init.c
tests/ChangeLog
tests/Makefile.am
tests/run-addrcfi.sh
tests/testfilearm.bz2 [new file with mode: 0755]