patch-2.4.23 linux-2.4.23/arch/x86_64/ia32/ia32_binfmt.c

Next file: linux-2.4.23/arch/x86_64/ia32/ia32_ioctl.c
Previous file: linux-2.4.23/arch/x86_64/defconfig
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/arch/x86_64/ia32/ia32_binfmt.c linux-2.4.23/arch/x86_64/ia32/ia32_binfmt.c
@@ -28,7 +28,6 @@
 
 #define ELF_NAME "elf/i386"
 
-#define IA32_PAGE_OFFSET ((current->personality & ADDR_LIMIT_3GB) ? 0xc0000000 : 0xFFFFe000)
 #define IA32_STACK_TOP IA32_PAGE_OFFSET
 #define ELF_ET_DYN_BASE		(IA32_PAGE_OFFSET/3 + 0x1000000)
 
@@ -163,7 +162,7 @@
 # define CONFIG_BINFMT_ELF_MODULE	CONFIG_BINFMT_ELF32_MODULE
 #endif
 
-#define ELF_PLAT_INIT(r)		elf32_init(r)
+#define ELF_PLAT_INIT(r, load_addr)	elf32_init(r)
 #define setup_arg_pages(bprm)		ia32_setup_arg_pages(bprm)
 
 extern void load_gs_index(unsigned);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)