On 8/7/21 11:42 AM, Warner Losh wrote:
@@ -367,9 +383,7 @@ static abi_ulong load_elf_interp(struct elfhdr
*interp_elf_ex,
last_bss = 0;
error = 0;
-#ifdef BSWAP_NEEDED
bswap_ehdr(interp_elf_ex);
-#endif
/* First of all, some simple consistency checks */
if ((int
On 8/7/21 11:42 AM, Warner Losh wrote:
Reduce the number of ifdefs by always calling the swapping routine, but
making them empty when swapping isn't needed.
Signed-off-by: Warner Losh
---
bsd-user/elfload.c | 97 ++
1 file changed, 47 insertions(+),
Reduce the number of ifdefs by always calling the swapping routine, but
making them empty when swapping isn't needed.
Signed-off-by: Warner Losh
---
bsd-user/elfload.c | 97 ++
1 file changed, 47 insertions(+), 50 deletions(-)
diff --git a/bsd-user/el