From 56f89abd3144674e02cc16cb12317148c3398815 Mon Sep 17 00:00:00 2001 From: marcan Date: Thu, 26 Mar 2009 05:16:08 +0100 Subject: [PATCH] Take powerpc FIL structure out of stack ffs --- powerpc_elf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/powerpc_elf.c b/powerpc_elf.c index 237a30b..f035cd9 100644 --- a/powerpc_elf.c +++ b/powerpc_elf.c @@ -11,12 +11,12 @@ #define PHDR_MAX 10 -Elf32_Ehdr elfhdr; -Elf32_Phdr phdrs[PHDR_MAX]; +static Elf32_Ehdr elfhdr; +static Elf32_Phdr phdrs[PHDR_MAX]; +static FIL fd; int powerpc_load_file(const char *path) { - FIL fd; u32 read; FRESULT fres;