xref: /netbsd/sys/arch/powerpc/include/elf_machdep.h (revision bf9ec67e)
1 /*	$NetBSD: elf_machdep.h,v 1.5 2001/12/09 23:05:58 thorpej Exp $	*/
2 
3 #define	ELF32_MACHDEP_ENDIANNESS	ELFDATA2MSB
4 #define	ELF32_MACHDEP_ID_CASES						\
5 		case EM_PPC:						\
6 			break;
7 
8 #define	ELF64_MACHDEP_ENDIANNESS	XXX	/* break compilation */
9 #define	ELF64_MACHDEP_ID_CASES						\
10 		/* no 64-bit ELF machine types supported */
11 
12 #define	ELF32_MACHDEP_ID	EM_PPC
13 
14 #define ARCH_ELFSIZE		32	/* MD native binary size */
15 
16 #include <machine/reloc.h>		/* XXX */
17 
18 #define R_TYPE(name) __CONCAT(RELOC_,name)
19