Fix stack offset in Mach-O output for -P compact_unwind.
authorTristan Gingold <tristan.gingold@adacore.com>
Fri, 21 Mar 2014 08:25:05 +0000 (09:25 +0100)
committerTristan Gingold <tristan.gingold@adacore.com>
Mon, 24 Mar 2014 09:18:52 +0000 (10:18 +0100)
commitaa9fa1e22a61f60c51ef7886cb297bfbad3cc305
treea319e7b1051883783c7de49dde1a1e1bd197680e
parent31ae9d245c409ce407c32a36034acf89fdc23a5f
Fix stack offset in Mach-O output for -P compact_unwind.

Minor fix in compact unwind output: to be more readable, the stack offset
for indirect compact unwind entries are mutiplied by its factor (4 or 8).

binutils/
* od-macho.c (dump_unwind_encoding_x86): Set the factor.
(dump_exe_compact_unwind): Change the condition.  Improve
indentation.
binutils/ChangeLog
binutils/od-macho.c