libdwfl: Make sure to set the CFI return register only once (for ppc64).
authorMark Wielaard <mjw@redhat.com>
Sat, 21 Dec 2013 20:56:35 +0000 (21:56 +0100)
committerMark Wielaard <mjw@redhat.com>
Wed, 25 Dec 2013 20:19:35 +0000 (21:19 +0100)
commit3e98ab73f31ed35fcd83e0e1a01147a559d1858b
treee9a40f1211536ef2abf3145fc4e619b4357d6094
parente962ec3bcbe8eccdcded36aaafee7bec41fa1bc4
libdwfl: Make sure to set the CFI return register only once (for ppc64).

On PPC64 there are two DWARF registers numbers that can represent the
same register. If that register is the CIE return register then we only
want to set it once. The second setting will confuse the unwinder.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
libdwfl/ChangeLog
libdwfl/frame_unwind.c