Move the default rw_base from 4 Meg to 8 Meg, to allow for the very large Qt executables GCC_SURGE
authorWilliam Roberts <williamr@symbian.org>
Tue, 27 Jul 2010 13:39:38 +0100
branchGCC_SURGE
changeset 100 4851e97e5743
parent 99 27fa7531ea9d
child 101 da39946e0c66
Move the default rw_base from 4 Meg to 8 Meg, to allow for the very large Qt executables This change is done by explicit ARMCC overrides in revelant .pro files, e.g. this one in hbcore.pro # Executable section is now over 4MB in Symbian. Extend it to 8MB QMAKE_LFLAGS.ARMCC += --rw-base 0x800000
foundation_system/sf_config/sbs/s60_sbs_config.xml
--- a/foundation_system/sf_config/sbs/s60_sbs_config.xml	Fri Jul 23 14:39:03 2010 +0100
+++ b/foundation_system/sf_config/sbs/s60_sbs_config.xml	Tue Jul 27 13:39:38 2010 +0100
@@ -28,7 +28,9 @@
 		<append name="CC_WARNINGS_CONTROL_OPTION" value="-Wno-attributes"/>		<!-- turn off warnings where IMPORT_C and EXPORT_C are *correctly* matched -->
 
 		<set name="AAPCS_OPTION" value="-mapcs-frame -mthumb-interwork"/>   <!-- use -mapcs-frame instead of -mapcs - see Bug 1405 -->
+		<set name="RW_BASE" value="$(RW_BASE_OPTION)0x800000"/>          <!-- allow for the mega Qt executables with more than 4 Meg of code+rodata -->
 		<set name="USER_STATIC_RUNTIME_LIB" value="usrt4_0.lib"/>        <!-- use the RVCT 4.0 version of the runtime support -->
 		<set name="KERNEL_STATIC_RUNTIME_LIB" value="ksrt4_0.lib"/>      <!-- use the RVCT 4.0 version of the runtime support -->
+
 	</var>
 </build>