linux-user: Fix i386 safe-syscall.S
commit4aa3f4dd5bb9c2282627bf99d85eff61b325beb0
authorRichard Henderson <rth@twiddle.net>
Fri, 8 Jul 2016 04:39:22 +0000 (7 21:39 -0700)
committerRichard Henderson <rth@twiddle.net>
Fri, 8 Jul 2016 04:39:22 +0000 (7 21:39 -0700)
tree1ee174eb6954bc5cd65950d72ae98e35cf5c19f8
parent4f4a9ca4a4386c137301b3662faba076455ff15a
linux-user: Fix i386 safe-syscall.S

Clang insists that "cmp" is ambiguous with a memory destination,
requiring an explicit size suffix.

There was a true error in the use of .cfi_def_cfa_offset in the
epilogue, but changing to use the proper .cfi_adjust_cfa_offset
runs afoul of a clang bug wrt .cfi_restore_state.  Better to
fold the two epilogues so that we don't trigger the bug.

Signed-off-by: Richard Henderson <rth@twiddle.net>
linux-user/host/i386/safe-syscall.inc.S