From 31d44a623579fbca300f20bc751c7278c4375980 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Thu, 22 Feb 2001 17:21:43 +0000 Subject: use modutils for non Intel arch's --- mdk-stage1/insmod-modutils/include/elf_ppc.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 mdk-stage1/insmod-modutils/include/elf_ppc.h (limited to 'mdk-stage1/insmod-modutils/include/elf_ppc.h') diff --git a/mdk-stage1/insmod-modutils/include/elf_ppc.h b/mdk-stage1/insmod-modutils/include/elf_ppc.h new file mode 100644 index 000000000..71596de8c --- /dev/null +++ b/mdk-stage1/insmod-modutils/include/elf_ppc.h @@ -0,0 +1,10 @@ +/* Machine-specific elf macros for the PowerPC. */ +#ident "$Id$" + +#define ELFCLASSM ELFCLASS32 +#define ELFDATAM ELFDATA2MSB + +#define MATCH_MACHINE(x) (x == EM_PPC) + +#define SHT_RELM SHT_RELA +#define Elf32_RelM Elf32_Rela -- cgit v1.2.1