소스 검색

riscv: add __UCLIBC_ABORT_INSTRUCTION__, suggested by sorear

Waldemar Brodkorb 1 개월 전
부모
커밋
deb84369a3
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      libc/sysdeps/linux/riscv32/bits/uClibc_arch_features.h
  2. 1 1
      libc/sysdeps/linux/riscv64/bits/uClibc_arch_features.h

+ 1 - 1
libc/sysdeps/linux/riscv32/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"
 
 #undef __UCLIBC_SYSCALL_ALIGN_64BIT__
 

+ 1 - 1
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__