Date: Thu, 12 Aug 2010 14:16:57 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.sbin/crunch/crunchide exec_elf32.c Message-ID: <201008121417.o7CEHJ42055953@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
adrian 2010-08-12 14:16:57 UTC
FreeBSD src repository
Modified files:
usr.sbin/crunch/crunchide exec_elf32.c
Log:
SVN rev 211222 on 2010-08-12 14:16:57Z by adrian
Fix crunchide to work on sparc64 and perhaps other 64 bit platforms.
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.
Revision Changes Path
1.19 +6 -1 src/usr.sbin/crunch/crunchide/exec_elf32.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008121417.o7CEHJ42055953>
