summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2015-12-22 20:36:14 +0000
committeremaste <emaste@FreeBSD.org>2015-12-22 20:36:14 +0000
commit3808bf980c2c46dcb44722f214c1d89db5b6c04d (patch)
tree9e9fb52ecdfe3b93ab5e8d77874b215d5e542655 /lib
parentb665ac07581ab1fbd0d71db29a027b4a39734789 (diff)
downloadFreeBSD-src-3808bf980c2c46dcb44722f214c1d89db5b6c04d.zip
FreeBSD-src-3808bf980c2c46dcb44722f214c1d89db5b6c04d.tar.gz
Support a.out format in nlist only on i386
i386 is the only current FreeBSD architecture that ever used a.out format. Reviewed by: kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D4687
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/nlist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/nlist.c b/lib/libc/gen/nlist.c
index e93f89b..80784dd 100644
--- a/lib/libc/gen/nlist.c
+++ b/lib/libc/gen/nlist.c
@@ -47,8 +47,8 @@ __FBSDID("$FreeBSD$");
#include <unistd.h>
#include "un-namespace.h"
-/* There is no a.out support on arm64 */
-#ifndef __aarch64__
+/* i386 is the only current FreeBSD architecture that used a.out format. */
+#ifdef __i386__
#define _NLIST_DO_AOUT
#endif
#define _NLIST_DO_ELF
OpenPOWER on IntegriCloud