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_alpha.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 mdk-stage1/insmod-modutils/include/elf_alpha.h (limited to 'mdk-stage1/insmod-modutils/include/elf_alpha.h') diff --git a/mdk-stage1/insmod-modutils/include/elf_alpha.h b/mdk-stage1/insmod-modutils/include/elf_alpha.h new file mode 100644 index 000000000..f1ec66f1c --- /dev/null +++ b/mdk-stage1/insmod-modutils/include/elf_alpha.h @@ -0,0 +1,10 @@ +/* Machine-specific elf macros for the Alpha. */ +#ident "$Id$" + +#define ELFCLASSM ELFCLASS64 +#define ELFDATAM ELFDATA2LSB + +#define MATCH_MACHINE(x) (x == EM_ALPHA) + +#define SHT_RELM SHT_RELA +#define Elf64_RelM Elf64_Rela -- cgit v1.2.1