svn commit: r294665 - head/usr.bin/ldd

Jan Beich jbeich at vfemail.net
Mon Jan 25 03:18:28 UTC 2016


Ruslan Bukin <br at FreeBSD.org> writes:

> 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__)

a.out in userland is only supported by i386. On amd64 it'd mean 32bit jail
after |kldload aout|.

r292623 maybe an example fix if you can ignore whitespace noise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 602 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20160124/4c35dd45/attachment.sig>


More information about the svn-src-all mailing list