[xxx] Port.

Change-Id: I7295e6915644583f3738086f1bcc3a2ccd68e179
[mips] Port changes from the https://github.com/atanasyan/libunwind.

Change-Id: I41f0ac732209fc175faf63255f6b7f917a52f547