SOURCES (LINUX_2_6_20): linux-2.6.20_i386_regparm_off.patch (NEW) ...

mguevara mguevara at pld-linux.org
Wed Jan 10 02:29:52 CET 2007


Author: mguevara                     Date: Wed Jan 10 01:29:51 2007 GMT
Module: SOURCES                       Tag: LINUX_2_6_20
---- Log message:
- function parameters are taken from stack instead of registers
  it was our default kernel behaviour before 2.6.20.
- this is only for i386 arch
- the main purpose of moving to the (slower) method is compatibility
  with binary-only kernel blobs like HAL from madwifi-ng.
- tested with 2.6.20-rc4, nvidia and madwifi-ng aka ath_pci

---- Files affected:
SOURCES:
   linux-2.6.20_i386_regparm_off.patch (NONE -> 1.1.2.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/linux-2.6.20_i386_regparm_off.patch
diff -u /dev/null SOURCES/linux-2.6.20_i386_regparm_off.patch:1.1.2.1
--- /dev/null	Wed Jan 10 02:29:51 2007
+++ SOURCES/linux-2.6.20_i386_regparm_off.patch	Wed Jan 10 02:29:46 2007
@@ -0,0 +1,11 @@
+--- a/arch/i386/Makefile	2007-01-09 23:14:13.000000000 +0100
++++ b/arch/i386/Makefile	2007-01-09 23:18:43.000000000 +0100
+@@ -31,7 +31,7 @@ LDFLAGS_vmlinux := --emit-relocs
+ endif
+ CHECKFLAGS	+= -D__i386__
+ 
+-CFLAGS += -pipe -msoft-float -mregparm=3
++CFLAGS += -pipe -msoft-float 
+ 
+ # prevent gcc from keeping the stack 16 byte aligned
+ CFLAGS += $(call cc-option,-mpreferred-stack-boundary=2)
================================================================


More information about the pld-cvs-commit mailing list