From 667a4af397dadc9123d138fa25c7a36f03d51b7c Mon Sep 17 00:00:00 2001 From: Andrew Turner Date: Wed, 18 Mar 2015 13:54:53 +0000 Subject: [PATCH] We won't support a.out on arm64/aarch64. As such there will be no need to support it in nlist(3). Reviewed by: emaste Sponsored by: The FreeBSD Foundation --- lib/libc/gen/nlist.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/libc/gen/nlist.c b/lib/libc/gen/nlist.c index bdadd55389c3..ec878c5bebc5 100644 --- a/lib/libc/gen/nlist.c +++ b/lib/libc/gen/nlist.c @@ -47,7 +47,10 @@ __FBSDID("$FreeBSD$"); #include #include "un-namespace.h" +/* There is no a.out support on arm64 */ +#ifndef __aarch64__ #define _NLIST_DO_AOUT +#endif #define _NLIST_DO_ELF #ifdef _NLIST_DO_ELF