summaryrefslogtreecommitdiff
path: root/backends/ppc_init.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2013-12-15 18:56:17 +0100
committerJan Kratochvil <jan.kratochvil@redhat.com>2013-12-15 18:56:17 +0100
commit5cbf42aaf47195e2c41171786371d55b253a7667 (patch)
tree8def24d1108f287998fadbdc6348a925ce3d72ec /backends/ppc_init.c
parent63572f42b04e1c3b752b113810ec642121c8090e (diff)
downloadelfutils-5cbf42aaf47195e2c41171786371d55b253a7667.tar.gz
unwinder: ppc and ppc64
Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
Diffstat (limited to 'backends/ppc_init.c')
-rw-r--r--backends/ppc_init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/ppc_init.c b/backends/ppc_init.c
index 004c6016..ad92765c 100644
--- a/backends/ppc_init.c
+++ b/backends/ppc_init.c
@@ -65,6 +65,10 @@ ppc_init (elf, machine, eh, ehlen)
HOOK (eh, auxv_info);
HOOK (eh, check_object_attribute);
HOOK (eh, abi_cfi);
+ /* gcc/config/ #define DWARF_FRAME_REGISTERS. */
+ eh->frame_nregs = (114 - 1) + 32;
+ HOOK (eh, set_initial_registers_tid);
+ HOOK (eh, dwarf_to_regno);
return MODVERSION;
}