RE: [PATCH 05/35] m68k: add TASK definitions for ColdFires running with MMU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




@@ -66,10 +68,12 @@ static inline void wrusp(unsigned long usp)
  * space during mmap's.
  */
 #ifdef CONFIG_MMU
-#ifndef CONFIG_SUN3
-#define TASK_UNMAPPED_BASE	0xC0000000UL
-#else
+#if defined(CONFIG_COLDFIRE)
+#define TASK_UNMAPPED_BASE	0x80000000UL
 
[Jin Zhengxiong-R64188] Need to set TASK_UNMAPPED_BASE somewhere below 0x80000000
to not break runtime linker.  When ld.so is invoked explicitly
(i.e., /lib/ld.so.1 ./myprog), it needs to be loaded below 0x80000000,
otherwise it will overwrite itself with the program it tries to load.

The comments come from codesourcery and we have set it to 0x60000000
in the latest BSP.

Jason

--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux