emaste created this revision. emaste added a subscriber: freebsd-toolchain.
REVISION SUMMARY For 64-bit binaries the Elf_Ehdr e_shoff is at offset 40, not 44. Instead of using an incorrect hardcoded offset, let the compiler figure it out for us with offsetof(). REVISION DETAIL https://reviews.freebsd.org/D1543 AFFECTED FILES usr.sbin/crunch/crunchide/exec_elf32.c To: emaste Cc: freebsd-toolchain _______________________________________________ freebsd-toolchain@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"