freebsd-skq/usr.sbin/kldxref
emaste 35d9abcb8d MFC r265157: kldxref: Clean up error reporting
Omit "too many sections" warnings if the ELF file is not dynamically
  linked (and is therefore skipped anyway), and otherwise output it only
  once.  An errant core file would previously cause kldxref to output a
  number of warnings.

  Also introduce a MAXSEGS #define and replace literal 2 with it, to make
  comparisons clear.

Reviewed by:	kib
Sponsored by:	The FreeBSD Foundation
2014-07-23 14:30:58 +00:00
..
ef_amd64.c
ef_i386.c
ef_nop.c
ef_obj.c
ef_powerpc.c
ef_sparc64.c
ef.c
ef.h
fileformat
kldxref.8
kldxref.c
Makefile