Disable locale-specific re.alg.match tests since the Android NDK does
not support locales.

Change-Id: I80d55e6d2392327a393f4ce7179cbb5aff5de601
Fix underflow bug in wcsxfrm() when n==0.

Change-Id: I4fefc53a28c1d03ba145b9f95dd58d27c3ddd888
Disable locale-specific tests in re.alg.search.

Change-Id: Id180d78ff6530227e5a2ba7ad0746a7b79562edb
Merge pull request #70 from willchan/willchan-work

Fix re.alg tests.
pimanattr + I reviewed all diffs against upstream libc++abi trunk. Fixed bad merges.

Previously, we stomped over logan's changes to a number of files (eg
cxa_personality.cpp).

This is a much thorough scrubbing. After this patch, all libc++abi tests
except for 1 pass.

Change-Id: I43bbb796a74000699d184befbd2e5599e1917249
Do __cxa_begin_cleanup before set_registers().

In the case where we found an exception handler in phase 1,
we are doing set_registers() without doing __cxa_begin_cleanup,
then returning _URC_INSTALL_CONTEXT.

In the other case, where we did not find an exception handler,
we do __cxa_begin_cleanup first. Make the common case where
we found a handler match this behaviour so that __cxa_end_cleanup
will work.

Change-Id: If255889c2b87eae10a13a4c75e0ff9abf0a7d27a
Correct comment about set_registers's parameters
Merge pull request #72 from awong-dev/fix_bad_merges

pimanattr + awong reviewed all diffs against upstream libc++abi trunk. Fixed bad merges.

Previously, we stomped over logan's changes to a number of files (eg
cxa_personality.cpp).

This is a much thorough scrubbing. After this patch, all libc++abi tests
except for 1 pass.
Remove debug print
Fix comment typo
Merge pull request #73 from jroelofs/jroelofs-work2

Fix #if guard comment typo & remove debug print
Remove set thumb bit (Fix bad merge)
Merge pull request #74 from awong-dev/fix_bad_merge2

Remove set thumb bit (Fix bad merge)
Fix ARMV4 build
Merge pull request #67 from awong-dev/begincleanup

Do __cxa_begin_cleanup before set_registers().
Merge pull request #75 from awong-dev/fix_armv4_build

Fix ARMV4 build