X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Felf.h;h=b04e746d6176bd37abc30fe775d4dcf97742e886;hb=92832045c54586e9dffa082ff8cd8c2ef6040757;hp=81f40191d73bcaf7b7f5ae0649336002ead3641b;hpb=b8a1f47be3ab050090cd8625e580cf3c63e3ff53;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/elf.h b/include/elf.h index 81f4019..b04e746 100644 --- a/include/elf.h +++ b/include/elf.h @@ -9,7 +9,7 @@ #ifndef _ELF_H #define _ELF_H -#ifndef __ASSEMBLER__ +#ifndef __ASSEMBLY__ #include "compiler.h" /* This version doesn't work for 64-bit ABIs - Erik */ @@ -690,8 +690,12 @@ unsigned long elf_hash(const unsigned char *name); #define R_RISCV_64 2 #define R_RISCV_RELATIVE 3 -#ifndef __ASSEMBLER__ +#ifndef __ASSEMBLY__ int valid_elf_image(unsigned long addr); +unsigned long load_elf64_image_phdr(unsigned long addr); +unsigned long load_elf64_image_shdr(unsigned long addr); +unsigned long load_elf_image_phdr(unsigned long addr); +unsigned long load_elf_image_shdr(unsigned long addr); #endif #endif /* _ELF_H */