diff options
author | Mike Frysinger | 2005-09-14 00:07:26 +0000 |
---|---|---|
committer | Mike Frysinger | 2005-09-14 00:07:26 +0000 |
commit | bc48ebd86a09d047889049885e46b6f4b7b11ea1 (patch) | |
tree | e842809ff128363c8f666a25254717e618992341 /modutils | |
parent | f2de0b7ae4d631cd717dde251ceee2de6bb0f44e (diff) | |
download | busybox-bc48ebd86a09d047889049885e46b6f4b7b11ea1.zip busybox-bc48ebd86a09d047889049885e46b6f4b7b11ea1.tar.gz |
initial ppc64 support
Diffstat (limited to 'modutils')
-rw-r--r-- | modutils/insmod.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c index dfb8a76..232a6e6 100644 --- a/modutils/insmod.c +++ b/modutils/insmod.c @@ -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 |