Skip to content

Commit c239f87

Browse files
committed
fix pagesize on ia64
1 parent f980119 commit c239f87

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/patchelf.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,8 @@ unsigned int ElfFile<ElfFileParamNames>::getPageSize() const
317317
// Architectures (and ABIs) can have different minimum section alignment
318318
// requirements. There is no authoritative list of these values. The
319319
// current list is extracted from GNU gold's source code (abi_pagesize).
320-
switch (rdi(hdr()->e_machine)) {
320+
switch (rdi(hdr()->e_machine)) {4:
321+
case EM_IA_64:
321322
case EM_SPARC:
322323
case EM_MIPS:
323324
case EM_PPC:

0 commit comments

Comments
 (0)