diff options
author | br <br@FreeBSD.org> | 2016-01-24 15:15:57 +0000 |
---|---|---|
committer | br <br@FreeBSD.org> | 2016-01-24 15:15:57 +0000 |
commit | 6cdde1eb9e112d83ff4d63a31ab8e0762f564e0d (patch) | |
tree | 8ce3908a457dc4832e85a17c8ecd3e1a3420c4b0 /usr.bin/ldd/ldd.c | |
parent | ab3b7383d7d18bbb73149b81ac1e13d453cf05dc (diff) | |
download | FreeBSD-src-6cdde1eb9e112d83ff4d63a31ab8e0762f564e0d.zip FreeBSD-src-6cdde1eb9e112d83ff4d63a31ab8e0762f564e0d.tar.gz |
We don't support a.out executables on RISC-V.
Reviewed by: emaste
Sponsored by: DARPA, AFRL
Sponsored by: HEIF5
Differential Revision: https://reviews.freebsd.org/D5048
Diffstat (limited to 'usr.bin/ldd/ldd.c')
-rw-r--r-- | usr.bin/ldd/ldd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ldd/ldd.c b/usr.bin/ldd/ldd.c index c8e0be3..cc3a769 100644 --- a/usr.bin/ldd/ldd.c +++ b/usr.bin/ldd/ldd.c @@ -48,8 +48,8 @@ __FBSDID("$FreeBSD$"); #include "extern.h" -/* We don't support a.out executables on arm64 */ -#ifndef __aarch64__ +/* We don't support a.out executables on arm64 and riscv */ +#if !defined(__aarch64__) && !defined(__riscv__) #include <a.out.h> #define AOUT_SUPPORTED #endif |