diff options
author | peter <peter@FreeBSD.org> | 1998-10-09 23:29:44 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-10-09 23:29:44 +0000 |
commit | 0ece9ad76db57ea3321bf5e0c6c57fbde23ddda3 (patch) | |
tree | acd216b76a2d3658244ba295695ebcceaa41d9a3 /sys/ddb | |
parent | 9313d0c7fbc15099ae66a70dc45d0d441af71cbd (diff) | |
download | FreeBSD-src-0ece9ad76db57ea3321bf5e0c6c57fbde23ddda3.zip FreeBSD-src-0ece9ad76db57ea3321bf5e0c6c57fbde23ddda3.tar.gz |
We don't compile this on an elf kernel (and explicitly not on alpha in
case it's possible to compile in something like ECOFF)
The three db_xxx.c symbol interfaces are "standard" because config isn't
flexible enough without forcing the user to know about it.
Diffstat (limited to 'sys/ddb')
-rw-r--r-- | sys/ddb/db_aout.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/ddb/db_aout.c b/sys/ddb/db_aout.c index 093fad0..eeca60e 100644 --- a/sys/ddb/db_aout.c +++ b/sys/ddb/db_aout.c @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: db_aout.c,v 1.20 1998/06/07 17:09:36 dfr Exp $ + * $Id: db_aout.c,v 1.21 1998/06/28 00:55:02 dfr Exp $ */ /* @@ -34,6 +34,8 @@ * Symbol table routines for a.out format files. */ +#if !defined(__ELF__) && !defined(__alpha__) + #include <sys/param.h> #include <sys/systm.h> @@ -42,8 +44,6 @@ #include <ddb/ddb.h> #include <ddb/db_sym.h> -#ifndef DB_NO_AOUT - #define _AOUT_INCLUDE_ #include <nlist.h> #include <stab.h> @@ -399,5 +399,4 @@ read_symtab_from_file(fp, symtab_name) } #endif - -#endif /* DB_NO_AOUT */ +#endif |