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 1996-09-24 15:56:26 +00:00
parent ca089a0cd7
commit 9425663304

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: