There's no need to allocate that much phdr/shdr from the stack.
This commit is contained in:
parent
905a22c391
commit
39fcd24d6a
@ -350,8 +350,8 @@ load_kernel(unsigned int kstart, unsigned int curaddr,unsigned int func_end,
|
||||
int d)
|
||||
{
|
||||
Elf32_Ehdr *eh;
|
||||
Elf32_Phdr phdr[512] /* XXX */, *php;
|
||||
Elf32_Shdr shdr[512] /* XXX */;
|
||||
Elf32_Phdr phdr[64] /* XXX */, *php;
|
||||
Elf32_Shdr shdr[64] /* XXX */;
|
||||
int i,j;
|
||||
void *entry_point;
|
||||
int symtabindex = -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user