Newer
Older
barebox / arch / sandbox / include / asm / elf.h
@Jean-Christophe PLAGNIOL-VILLARD Jean-Christophe PLAGNIOL-VILLARD on 22 Nov 2011 229 bytes sandbox: move ELFCLASS detection to asm/elf.h
#ifndef __ASM_SANDBOX_ELF_H__
#define __ASM_SANDBOX_ELF_H__

#if __SIZEOF_POINTER__ == 8
#define ELF_CLASS	ELFCLASS64
#define CONFIG_PHYS_ADDR_T_64BIT
#else
#define ELF_CLASS	ELFCLASS32
#endif

#endif /* __ASM_SANDBOX_ELF_H__ */