I threw together a quick perl script to generate symbol dependency info for
all the files built in libafs. (Can change one parm to do for all of source
easily.) The script basically just inverts nm. 

I've attached the output for running it over a 2.4.18 build, and also
grepped out the symbols that show as not having any external references. Most
of these can probably be made static. 

The script is also attached in case anyone wants to do something with it.

This is just a quick hack, but it should significantly ease the process of 
determining what symbols can be made static in the module.

BTW, If there is some fancy-already-exists-you-just-reinvented-the-wheel
tool to do this same thing, please let me know. 

-- Nathan

------------------------------------------------------------
Nathan Neulinger                       EMail:  [EMAIL PROTECTED]
University of Missouri - Rolla         Phone: (573) 341-4841
Computing Services                       Fax: (573) 341-4216

Attachment: depend.out.gz
Description: application/gunzip

Attachment: depend.static.out.gz
Description: application/gunzip

Attachment: depend-graph.pl
Description: Perl program

Reply via email to