From b89fd7868075febbfcecfe04801cafec4a8be44b Mon Sep 17 00:00:00 2001 From: Detlef Riekenberg Date: Wed, 31 Jul 2024 00:28:23 +0200 Subject: [PATCH] watcom/h: Fix Elf64_Phdr layout (#1313) -- Regards ... Detlef --- bld/watcom/h/exeelf.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bld/watcom/h/exeelf.h b/bld/watcom/h/exeelf.h index 4ff2dd9f7b..4920103937 100644 --- a/bld/watcom/h/exeelf.h +++ b/bld/watcom/h/exeelf.h @@ -809,9 +809,9 @@ typedef struct { Elf64_Off p_offset; // offset of segment from beginnning of file Elf64_Addr p_vaddr; // segment virtual address Elf64_Addr p_paddr; // segment physical address - Elf64_Word p_filesz; // size of segment in file - Elf64_Word p_memsz; // size of segment in memory - Elf64_Word p_align; // segment align value (in mem & file) + Elf64_Xword p_filesz; // size of segment in file + Elf64_Xword p_memsz; // size of segment in memory + Elf64_Xword p_align; // segment align value (in mem & file) } Elf64_Phdr; // segment types