Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/usr.bin/elf2ecoff
Module Name: src
Committed By: tsutsui
Date: Sun Jan 11 08:19:12 UTC 2026
Modified Files:
src/usr.bin/elf2ecoff: elf2ecoff.c
Log Message:
elf2ecoff: fix one more incorrect but harmless byteswap botch
Don't pass swapped ecoff32_exechdr to ECOFF32_SEGMENT_ALIGNMENT().
ECOFF32_SEGMENT_ALIGNMENT(ep) is defined as "((ep)->a.vstamp < 23 ? 8 : 16)"
so fortunately it always returns 16 even if a wrong byteorder value is
passed because we use fixed '.vstamp = 2 * 256 + 10' (2.10) here.
To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/usr.bin/elf2ecoff/elf2ecoff.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index