mirror of
https://github.com/sheumann/hush.git
synced 2024-08-27 03:29:05 +00:00
initial ppc64 support
This commit is contained in:
parent
f2de0b7ae4
commit
bc48ebd86a
@ -218,7 +218,12 @@ extern int insmod_ng_main( int argc, char **argv);
|
||||
#endif
|
||||
|
||||
/* PowerPC */
|
||||
#if defined(__powerpc__)
|
||||
#if defined(__powerpc64__)
|
||||
#define MATCH_MACHINE(x) (x == EM_PPC64)
|
||||
#define SHT_RELM SHT_RELA
|
||||
#define Elf64_RelM Elf64_Rela
|
||||
#define ELFCLASSM ELFCLASS64
|
||||
#elif defined(__powerpc__)
|
||||
#define MATCH_MACHINE(x) (x == EM_PPC)
|
||||
#define SHT_RELM SHT_RELA
|
||||
#define Elf32_RelM Elf32_Rela
|
||||
|
Loading…
Reference in New Issue
Block a user