svn commit: r211222 - head/usr.sbin/crunch/crunchide

Adrian Chadd adrian at freebsd.org
Fri Aug 13 01:10:43 UTC 2010


On 12 August 2010 22:16, Adrian Chadd <adrian at freebsd.org> wrote:

>  I used the wrong type when setting st_name in the symbol table entry
>  struct. It's an Elf64_Word which is defined as an unsigned 32 bit int
>  on both 32 and 64 bit platforms.
>
>  To make things sensible, define some new macros to use as "word" macros
>  and use those, rather than simply using the explicit 32 bit macros.

.. and I haven't gone over the source with a fine tooth comb to
substitute the "right" macros everywhere. It's possible things are
still not "correct" but work fine.



Adrian


More information about the svn-src-all mailing list