]> git.pld-linux.org Git - packages/busybox.git/commitdiff
- new
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 21 Dec 2003 15:27:07 +0000 (15:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    busybox-amd64.patch -> 1.1

busybox-amd64.patch [new file with mode: 0644]

diff --git a/busybox-amd64.patch b/busybox-amd64.patch
new file mode 100644 (file)
index 0000000..214d856
--- /dev/null
@@ -0,0 +1,19 @@
+diff -urN busybox-1.00-pre4.org/modutils/insmod.c busybox-1.00-pre4/modutils/insmod.c
+--- busybox-1.00-pre4.org/modutils/insmod.c    2003-12-21 16:16:18.698827120 +0100
++++ busybox-1.00-pre4/modutils/insmod.c        2003-12-21 16:25:03.315073328 +0100
+@@ -248,6 +248,15 @@
+ #define ELFCLASSM     ELFCLASS32
+ #endif
++#if defined(__amd64__)
++#define ELFCLASSM       ELFCLASS64
++#define ELFDATAM        ELFDATA2LSB
++
++#define MATCH_MACHINE(x)  (x == EM_X86_64)
++#define SHT_RELM        SHT_RELA
++#define Elf64_RelM      Elf64_Rela
++#endif
++      
+ #ifndef SHT_RELM
+ #error Sorry, but insmod.c does not yet support this architecture...
+ #endif
This page took 0.116779 seconds and 4 git commands to generate.