Merge "riscv64 BIONIC_STOP_UNWIND."
This commit is contained in:
commit
002b57c00e
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