diff options
author | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2002-10-09 13:15:31 +0000 |
---|---|---|
committer | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2002-10-09 13:15:31 +0000 |
commit | db5cfd5022007d2a794730695b9db08f17634674 (patch) | |
tree | 2f1f2cfd8bcac71abf48e1700a40ff88c3c00224 /mdk-stage1/insmod-modutils/include/elf_x86_64.h | |
parent | 5bd2378f17544a0a21d70e4535477d3d12db39a2 (diff) | |
download | drakx-db5cfd5022007d2a794730695b9db08f17634674.tar drakx-db5cfd5022007d2a794730695b9db08f17634674.tar.gz drakx-db5cfd5022007d2a794730695b9db08f17634674.tar.bz2 drakx-db5cfd5022007d2a794730695b9db08f17634674.tar.xz drakx-db5cfd5022007d2a794730695b9db08f17634674.zip |
Update to modutils 2.4.19 with x86-64 support and other fixes
Diffstat (limited to 'mdk-stage1/insmod-modutils/include/elf_x86_64.h')
-rw-r--r-- | mdk-stage1/insmod-modutils/include/elf_x86_64.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mdk-stage1/insmod-modutils/include/elf_x86_64.h b/mdk-stage1/insmod-modutils/include/elf_x86_64.h new file mode 100644 index 000000000..6d7581b3f --- /dev/null +++ b/mdk-stage1/insmod-modutils/include/elf_x86_64.h @@ -0,0 +1,9 @@ +/* Machine-specific elf macros for x86_64. */ + +#define ELFCLASSM ELFCLASS64 +#define ELFDATAM ELFDATA2LSB + +#define MATCH_MACHINE(x) (x == EM_X86_64) + +#define SHT_RELM SHT_RELA +#define Elf64_RelM Elf64_Rela |