Page MenuHomeFreeBSD

D8701.id22688.diff
No OneTemporary

D8701.id22688.diff

Index: contrib/elftoolchain/libelf/libelf_ehdr.c
===================================================================
--- contrib/elftoolchain/libelf/libelf_ehdr.c
+++ contrib/elftoolchain/libelf/libelf_ehdr.c
@@ -193,7 +193,7 @@
return (NULL);
}
- if (shnum != 0 || shoff == 0LL) { /* not using extended numbering */
+ if (shnum != 0 && phnum != PN_XNUM && strndx != SHN_XINDEX && shoff == 0LL) { /* not using extended numbering */
e->e_u.e_elf.e_nphdr = phnum;
e->e_u.e_elf.e_nscn = shnum;
e->e_u.e_elf.e_strndx = strndx;

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 28, 6:17 AM (1 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30460701
Default Alt Text
D8701.id22688.diff (539 B)

Event Timeline