This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]