patch-2.4.19 linux-2.4.19/include/asm-alpha/a.out.h

Next file: linux-2.4.19/include/asm-alpha/core_tsunami.h
Previous file: linux-2.4.19/fs/vfat/namei.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/include/asm-alpha/a.out.h linux-2.4.19/include/asm-alpha/a.out.h
@@ -95,8 +95,8 @@
    Worse, we have to notice the start address before swapping to use
    /sbin/loader, which of course is _not_ a TASO application.  */
 #define SET_AOUT_PERSONALITY(BFPM, EX) \
-	set_personality (BFPM->sh_bang || EX.ah.entry < 0x100000000 \
-			 ? PER_LINUX_32BIT : PER_LINUX)
+	set_personality (((BFPM->sh_bang || EX.ah.entry < 0x100000000 \
+			   ? ADDR_LIMIT_32BIT : 0) | PER_OSF4))
 
 #define STACK_TOP \
   (current->personality & ADDR_LIMIT_32BIT ? 0x80000000 : 0x00120000000UL)

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