summaryrefslogtreecommitdiff
path: root/backends/ppc_cfi.c
Commit message (Collapse)AuthorAgeFilesLines
* backends: fix spelling typos in commentsDmitry V. Levin2020-12-121-1/+1
| | | | | | | adress -> address sigle -> single Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
* backends: ppc_abi_cfi reg1 use DW_CFA_val_offset not DW_CFA_val_expression.Mark Wielaard2013-10-071-1/+1
| | | | | | | | | | | | | | | Register rules using expressions are stored using an offset from the start of the .eh_frame or .debug_frame ELF section data. Since abi_cfi rules aren't stored in those ELF sections they should use neither DW_CFA_expression nor DW_CFA_val_expression. The only backend that used DW_CFA_val_expression was ppc_cfi.c. It was easier to express the same rule using DW_CFA_val_offset than to change the code to handle register rules using expressions. On most architectures this did work by accident. See the definition of struct dwarf_frame_register value in libdw/cfi.h to see why. But on ia64 the abi_cfi data and actual frame data were placed too far apart and caused a crash in tests/run-addrcfi.sh for ppc32. Signed-off-by: Mark Wielaard <mjw@redhat.com>
* backends: Hook abi_cfi for ppc and s390.Jan Kratochvil2013-09-021-0/+77
Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com> Signed-off-by: Mark Wielaard <mjw@redhat.com>