summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/riscv64
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-03-24 15:06:04 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-03-27 07:19:08 +0100
commitdeb84369a3042c071b4f4cb5a8e914aabc5b4ba1 (patch)
tree097881892b018aff7e09e56a3d9c5682ea93f47e /libc/sysdeps/linux/riscv64
parentb7d834da283a0be4d0b4e19b1d0324267f405aa2 (diff)
riscv: add __UCLIBC_ABORT_INSTRUCTION__, suggested by sorear
Diffstat (limited to 'libc/sysdeps/linux/riscv64')
-rw-r--r--libc/sysdeps/linux/riscv64/bits/uClibc_arch_features.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/riscv64/bits/uClibc_arch_features.h b/libc/sysdeps/linux/riscv64/bits/uClibc_arch_features.h
index 011e2cef7..63b17770d 100644
--- a/libc/sysdeps/linux/riscv64/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/riscv64/bits/uClibc_arch_features.h
@@ -5,7 +5,7 @@
#ifndef _BITS_UCLIBC_ARCH_FEATURES_H
#define _BITS_UCLIBC_ARCH_FEATURES_H
-#undef __UCLIBC_ABORT_INSTRUCTION__
+#define __UCLIBC_ABORT_INSTRUCTION__ "unimp"
/* can your target use syscall6() for mmap ? */
#define __UCLIBC_MMAP_HAS_6_ARGS__