Merge "riscv64 BIONIC_STOP_UNWIND." am: 002b57c00e
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2243977 Change-Id: Iddac964c1fec24527e62b7c06f607df749ef461b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
ca89fdddf7
1 changed files with 2 additions and 0 deletions
|
@ -55,6 +55,8 @@ static inline T* align_up(T* p, size_t align) {
|
|||
#define BIONIC_STOP_UNWIND asm volatile(".cfi_undefined x30")
|
||||
#elif defined(__i386__)
|
||||
#define BIONIC_STOP_UNWIND asm volatile(".cfi_undefined \%eip")
|
||||
#elif defined(__riscv)
|
||||
#define BIONIC_STOP_UNWIND asm volatile(".cfi_undefined ra")
|
||||
#elif defined(__x86_64__)
|
||||
#define BIONIC_STOP_UNWIND asm volatile(".cfi_undefined \%rip")
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue