Skip to content

Commit 6c72535

Browse files
committed
Added ARCH_PPC to the old elf interface
1 parent b164ae0 commit 6c72535

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/elf.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
#endif
4949

5050

51-
#if defined(MMU) || defined (WOLFBOOT_FSP)
51+
#if defined(MMU) || defined (WOLFBOOT_FSP) || defined (ARCH_PPC)
5252
/* Loader for elf32 or elf64 format program headers
5353
* Returns the entry point function
5454
*/
@@ -181,7 +181,7 @@ int elf_hdr_size(const unsigned char *ehdr)
181181
}
182182
return sz;
183183
}
184-
#if !defined(MMU) && !defined(WOLFBOOT_FSP)
184+
#if !defined(MMU) && !defined(WOLFBOOT_FSP) && !defined(ARCH_PPC)
185185
int elf_store_image_scattered(const unsigned char *hdr, unsigned long *entry_out, int ext_flash) {
186186
const unsigned char *image;
187187
int is_elf32;

0 commit comments

Comments
 (0)