Drat, had the N_FN overloading based on N_EXT backwards. N_EXT = filename,

no N_EXT is a "warning". eg:
% nm -p /tmp/gets.o
...
00000000 w  warning: this program uses gets(), which is unsafe.
         U  _gets
00000000 T  _gets
This commit is contained in:
Peter Wemm 1996-09-24 15:56:26 +00:00
parent 8a6f32e24c
commit 34b2ec2b3f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=18488

View File

@ -609,8 +609,8 @@ typeletter(type)
case N_DATA:
return(IS_EXTERNAL(type) ? 'D' : 'd');
case N_FN:
/* This one is overloaded. EXT = Warn, INT = filename */
return(IS_EXTERNAL(type) ? 'W' : 'f');
/* This one is overloaded. EXT = Filename, INT = warn refs */
return(IS_EXTERNAL(type) ? 'F' : 'w');
case N_INDR:
return(IS_EXTERNAL(type) ? 'I' : 'i');
case N_TEXT: