Fix x86/x86_64 getcontext overflow problem.

The x86 getcontext code was writing past the end of the context structure.
Fixed this problem, and added a test to make sure that doesn't happen again.
In addition, the x86_64 getcontext was doing the same.

Bug: 14319200
Change-Id: Ia2e2e55fe5459d6c8f8257e787012546b77503c4
Adds static lib targets

Change-Id: I40c84547723967ec369f29b19a037480abeca1dc
Removes dependencies on libgcc

Change-Id: If4ea03b8f4f31f916fbd95d927aca8a499966bab
Add exception handling unwind code.

Fix up the code to work with the map caching code.

This new functionality has not been tested thoroughly.

Change-Id: I8ef22b1125ee888c068f20d2917e2b20d903898e
Use -Wno-header-guard for clang 3.5

Clang 3.5 misdetects the #ifndef UNW_REMOTE_ONLY/#define UNW_LOCAL_ONLY
construct in src/mi/backtrace.c as a header guard with mismatching macro
names, causing a warning in code built with -Werror by default.

While this is a false positive, there's really not much clang can do to
detect this (the code does look exactly like a header guard), so this is
not really a workaround for a compiler bug.

Change-Id: If1e9d8b4344719b706f6e1856c97dfcc2edaeb72
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Populate ucontext_t#fpregs_mem when getting the context

Bug: 12828904
Change-Id: Iecee79d149a2d9009a565fec26690d5c7ef1734a
The build system now supports host arch x86_64.

Bug: 13751317
Change-Id: Ifa1137b120ad3db5e3659431aac9efe8bae59009
Merge "Populate ucontext_t#fpregs_mem when getting the context"