mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-18 05:53:36 +01:00
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:
parent
8a6f32e24c
commit
34b2ec2b3f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=18488
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user