freebsd-skq/usr.sbin/kldxref
Ed Maste 2bd7b9e5cc 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-04-30 18:11:53 +00:00
..
ef_amd64.c Remove unneeded reference to link.h (sys/link_elf.h). 2013-06-05 21:55:20 +00:00
ef_i386.c Remove unneeded reference to link.h (sys/link_elf.h). 2013-06-05 21:55:20 +00:00
ef_nop.c
ef_obj.c Use calloc(). 2013-06-05 21:56:29 +00:00
ef_powerpc.c
ef_sparc64.c
ef.c kldxref: Clean up error reporting 2014-04-30 18:11:53 +00:00
ef.h
fileformat
kldxref.8
kldxref.c kldxref: Add static keyword to the new function only used in the same file. 2013-10-16 20:04:06 +00:00
Makefile