This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
nm and objdump when no symbols
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sources dot redhat dot com
- Date: Sat, 10 Aug 2002 17:09:48 +0930
- Subject: nm and objdump when no symbols
nm and objdump both display "filename: no symbols" to stderr when
given an object without any syms. Why? In particular, why print
to stderr? I propose changing the behaviour to printing the "no
symbols" message only when a symbol table dump is requested, and
printing the message to stdout. Objections?
i686-aout target gas test results:
/tmp/aout/gas/testsuite/../../binutils/objdump -dw -mi8086 dump.o > dump.out
/tmp/aout/gas/testsuite/../../binutils/objdump: dump.o: no symbols
FAIL: i386 intel16
--
Alan Modra
IBM OzLabs - Linux Technology Centre