[Cbe-oss-dev] [PATCH 21/22]MARS/samples: Kernel and module size reduction compatibility

Yuji Mano yuji.mano at am.sony.com
Wed Jan 21 11:30:29 EST 2009


Adjust the workload module base address and stack.
Adjust the task base address.

Signed-off-by: Yuji Mano <yuji.mano at am.sony.com>

---
 samples/config.mk |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- a/samples/config.mk
+++ b/samples/config.mk
@@ -36,13 +36,13 @@ SPU_LDFLAGS = -lmars_base -Wl,-N -Wl,-gc
 
 SPU_WM_CFLAGS = $(SPU_CFLAGS)
 SPU_WM_LDFLAGS = \
-	-Wl,--defsym=__stack=0x7ff0 \
-	-Wl,--section-start,.init=0x4000 \
+	-Wl,--defsym=__stack=0x3ff0 \
+	-Wl,--section-start,.init=0x2800 \
 	-Wl,--entry,mars_module_entry -Wl,-u,mars_module_entry \
 	$(SPU_LDFLAGS)
 
 SPU_TASK_CFLAGS = $(SPU_CFLAGS)
 SPU_TASK_LDFLAGS = \
 	-lmars_task \
-	-Wl,--section-start,.init=0x8000 \
+	-Wl,--section-start,.init=0x4000 \
 	$(SPU_LDFLAGS)






More information about the cbe-oss-dev mailing list