set e_shentsize to work around bug in binutils [mostly cosmetic]

This commit is contained in:
John Reiser
2006-10-24 09:43:50 -07:00
parent a31c4bd474
commit 829e2d6c5d
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -240,7 +240,7 @@ static int modifyheaders ## CLASS (Elf ## CLASS ## _Ehdr *ehdr, \
if (EGET(ehdr->e_shoff) >= newsize) { \
ESET(ehdr->e_shoff,0); \
ESET(ehdr->e_shnum,0); \
ESET(ehdr->e_shentsize,0); \
ESET(ehdr->e_shentsize,sizeof(Elf ## CLASS ## _Shdr)); \
ESET(ehdr->e_shstrndx,0); \
} \
\