Subject: Nm output for multiple files ...
To: None <current-users@netbsd.org>
From: Andrew Cagney <cagney@highland.com.au>
List: current-users
Date: 11/28/1994 17:38:42
Hello,
NM (typical of UNIX) behaves differently when given more than one file.
For instance, contrast:
cagney@bunyip$ nm -go libmain.o
libmain.o: U ___main
libmain.o:00000000 T _main
libmain.o: U _yylex
with:
cagney@bunyip$ nm -go libmain.o libyywrap.o
libmain.o:
libmain.o: U ___main
libmain.o:00000000 T _main
libmain.o: U _yylex
libyywrap.o:
libyywrap.o:00000000 T _yywrap
do documents, such as POSIX, have an opinion on this?
So far I've found that while NetBSD's nm behaves this way, two other
implementations (GNU binutils and SunOS.4) don't.
any thoughts?
Andrew
PS: The difference above breaks lorder when used with gnu's binutils.
PPS: NetBSD-1.0 BETA ~9th?