diff options
author | emaste <emaste@FreeBSD.org> | 2015-01-16 18:59:15 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2015-01-16 18:59:15 +0000 |
commit | 5961fde4f1f3a419fe90af39fe7eb55223c8c0da (patch) | |
tree | 4e2687c840d3402666106862fcc76d3e2e4b8d45 /contrib/diff/lib/hard-locale.c | |
parent | b077e94c55a70f65040e147b6291a623be13682c (diff) | |
download | FreeBSD-src-5961fde4f1f3a419fe90af39fe7eb55223c8c0da.zip FreeBSD-src-5961fde4f1f3a419fe90af39fe7eb55223c8c0da.tar.gz |
crunchide: Correct 64-bit section header offset
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().
Differential Revision: https://reviews.freebsd.org/D1543
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'contrib/diff/lib/hard-locale.c')
0 files changed, 0 insertions, 0 deletions