Merge "Define BIONIC_STOP_UNWIND for mips"

This commit is contained in:
Treehugger Robot 2017-10-13 16:42:25 +00:00 committed by Gerrit Code Review
commit 1a5a9b7bbc

View file

@ -74,6 +74,8 @@ static inline T* align_up(T* p, size_t align) {
#define BIONIC_STOP_UNWIND asm volatile(".cfi_undefined \%eip")
#elif defined(__x86_64__)
#define BIONIC_STOP_UNWIND asm volatile(".cfi_undefined \%rip")
#elif defined (__mips__)
#define BIONIC_STOP_UNWIND asm volatile(".cfi_undefined $ra")
#endif
#endif // _BIONIC_MACROS_H_