Author: br
Date: Sun Jan 24 15:15:57 2016
New Revision: 294665
URL: https://svnweb.freebsd.org/changeset/base/294665

Log:
  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

Modified:
  head/usr.bin/ldd/ldd.c

Modified: head/usr.bin/ldd/ldd.c
==============================================================================
--- head/usr.bin/ldd/ldd.c      Sun Jan 24 15:12:49 2016        (r294664)
+++ head/usr.bin/ldd/ldd.c      Sun Jan 24 15:15:57 2016        (r294665)
@@ -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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to