Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130511123541.VCWNU.2919.imail@eastrmwml214>
Date: Sat, 11 May 2013 12:35:41 -0400
From:  <jfoug@....net>
To: john-dev@...ts.openwall.com
Cc: Alexander Cherepanov <cherepan@...me.ru>
Subject: Re: Unused global symbols in jumbo

Many of these have to be global.  There were issues in some compiling env's (cygwin??) where it would not align static variables.  Thus, we have #defines in each source, which mangles the normal name (crypt) into something unique to the format  (MD5Gen_crypt, etc).  Yes, they are globals, but steps have been taken to make sure they are linker safe.

There is little/no gain worrying about unused globals. The only time it matters at all, is at link time.  The linker will tell you if there are problems.

Jim.

---- Alexander Cherepanov <cherepan@...me.ru> wrote: 
> Hi, all!
> 
> There are 331 unused globals in unstable-jumbo -- list attached. It's 
> generated by compiling unstable with debugging information and running 
> the following command:
> 
> $ nm -olg *.o | perl unused-globals.pl | sort -k1.40 > unused-globals.txt
> 
> unused-globals.pl is also attached.
> 
> -- 
> Alexander Cherepanov

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.