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_hppa.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 mdk-stage1/insmod-modutils/include/elf_hppa.h (limited to 'mdk-stage1/insmod-modutils/include/elf_hppa.h') diff --git a/mdk-stage1/insmod-modutils/include/elf_hppa.h b/mdk-stage1/insmod-modutils/include/elf_hppa.h new file mode 100644 index 000000000..9a1bd34ce --- /dev/null +++ b/mdk-stage1/insmod-modutils/include/elf_hppa.h @@ -0,0 +1,9 @@ +/* Machine-specific elf macros for HP-PA. */ + +#define ELFCLASSM ELFCLASS32 +#define ELFDATAM ELFDATA2MSB + +#define MATCH_MACHINE(x) (x == EM_PARISC) + +#define SHT_RELM SHT_RELA +#define Elf32_RelM Elf32_Rela -- cgit v1.2.1