# HG changeset patch # User Stefan Karlsson # Date 1268653083 0 # Node ID 28419e56ee8ab87efdbef443663a2f98475a94ad # Parent a5741f22d0a5e44602f5b7914bbc303e700b9035 Add support for MMP keyword EPOCNESTEDEXCEPTIONS diff -r a5741f22d0a5 -r 28419e56ee8a sbsv2/raptor/RELEASE-NOTES.txt --- a/sbsv2/raptor/RELEASE-NOTES.txt Mon Mar 08 14:05:10 2010 +0000 +++ b/sbsv2/raptor/RELEASE-NOTES.txt Mon Mar 15 11:38:03 2010 +0000 @@ -3,11 +3,12 @@ next version New Features: -- Add support for FEATUREVARIANTSAFE in BV builds. +- Add support for FEATUREVARIANTSAFE in BV builds - Add support for Cygwin 1.7. - New support for cross-compiling win32 tools on Linux. To enable it, use "sbs -c tools2.win32 -c tools2" on Linux - New prototype support for reading System Definition v3 files +- Add support for MMP keyword EPOCNESTEDEXCEPTIONS version 2.12.4 diff -r a5741f22d0a5 -r 28419e56ee8a sbsv2/raptor/lib/config/gcce.xml --- a/sbsv2/raptor/lib/config/gcce.xml Mon Mar 08 14:05:10 2010 +0000 +++ b/sbsv2/raptor/lib/config/gcce.xml Mon Mar 15 11:38:03 2010 +0000 @@ -119,6 +119,7 @@ + diff -r a5741f22d0a5 -r 28419e56ee8a sbsv2/raptor/lib/config/variants.xml --- a/sbsv2/raptor/lib/config/variants.xml Mon Mar 08 14:05:10 2010 +0000 +++ b/sbsv2/raptor/lib/config/variants.xml Mon Mar 15 11:38:03 2010 +0000 @@ -131,8 +131,8 @@ + - @@ -158,8 +158,8 @@ + - @@ -188,8 +188,8 @@ + - diff -r a5741f22d0a5 -r 28419e56ee8a sbsv2/raptor/lib/flm/e32abiv2ani.flm --- a/sbsv2/raptor/lib/flm/e32abiv2ani.flm Mon Mar 08 14:05:10 2010 +0000 +++ b/sbsv2/raptor/lib/flm/e32abiv2ani.flm Mon Mar 15 11:38:03 2010 +0000 @@ -36,7 +36,6 @@ endif LINKER_STUB_LIBRARY:=$(STATIC_RUNTIME_DIR)/edllstub.lib -STATIC_RUNTIME_LIB:=$(USER_STATIC_RUNTIME_LIB) CANIGNORENONCALLABLE:=1 # Fixed export TARGETTYPEs should only reference a .def file if an explicit DEFFILE statement is present in the .mmp file diff -r a5741f22d0a5 -r 28419e56ee8a sbsv2/raptor/lib/flm/e32abiv2defaults.mk --- a/sbsv2/raptor/lib/flm/e32abiv2defaults.mk Mon Mar 08 14:05:10 2010 +0000 +++ b/sbsv2/raptor/lib/flm/e32abiv2defaults.mk Mon Mar 15 11:38:03 2010 +0000 @@ -31,11 +31,15 @@ POSTLINKDEFFILE:= POSTLINKFILETYPE:= POSTLINKTARGETTYPE:= -STATIC_RUNTIME_LIB:= SUPPORT_FREEZE:= NOHIDEALL:= DEFAULT_NEWLIB:=$(DEFAULT_SYMBIAN_NEWLIB) +ifeq ($(EPOCNESTEDEXCEPTIONS),) +STATIC_RUNTIME_LIB:=$(USER_STATIC_RUNTIME_LIB) +else +STATIC_RUNTIME_LIB:=$(USER_STATIC_RUNTIME_LIB_NESTED_EXCEPTIONS) +endif # Reset these variables as they change for every single target type # LINKER_ENTRYPOINT_ADORNMENT will be blank for GCCE; for RVCT it will look like "(uc_exe_.o)" diff -r a5741f22d0a5 -r 28419e56ee8a sbsv2/raptor/lib/flm/e32abiv2dll.flm --- a/sbsv2/raptor/lib/flm/e32abiv2dll.flm Mon Mar 08 14:05:10 2010 +0000 +++ b/sbsv2/raptor/lib/flm/e32abiv2dll.flm Mon Mar 15 11:38:03 2010 +0000 @@ -35,7 +35,6 @@ endif LINKER_STUB_LIBRARY:=$(STATIC_RUNTIME_DIR)/edllstub.lib -STATIC_RUNTIME_LIB:=$(USER_STATIC_RUNTIME_LIB) # Default Postlinker settings diff -r a5741f22d0a5 -r 28419e56ee8a sbsv2/raptor/lib/flm/e32abiv2exe.flm --- a/sbsv2/raptor/lib/flm/e32abiv2exe.flm Mon Mar 08 14:05:10 2010 +0000 +++ b/sbsv2/raptor/lib/flm/e32abiv2exe.flm Mon Mar 15 11:38:03 2010 +0000 @@ -34,8 +34,6 @@ LINKER_ENTRYPOINT_SETTING:=$(LINKER_ENTRYPOINT_SETTING) $(LINKER_ENTRYPOINT_LIBDEP) endif -STATIC_RUNTIME_LIB:=$(USER_STATIC_RUNTIME_LIB) - $(call vsave,CDEFS) CDEFS:=$(CDEFS) __EXE__ include $(FLMHOME)/e32abiv2.flm diff -r a5741f22d0a5 -r 28419e56ee8a sbsv2/raptor/lib/flm/e32abiv2exexp.flm --- a/sbsv2/raptor/lib/flm/e32abiv2exexp.flm Mon Mar 08 14:05:10 2010 +0000 +++ b/sbsv2/raptor/lib/flm/e32abiv2exexp.flm Mon Mar 15 11:38:03 2010 +0000 @@ -30,7 +30,6 @@ $(call vsave,CDEFS) # Determine what kind of entrypoint option to set FIRSTLIB_OBJECTFILE=uc_exe_.o -STATIC_RUNTIME_LIB:=$(USER_STATIC_RUNTIME_LIB) ifeq ($(FIRSTLIB),) FIRSTLIB:=eexe.lib diff -r a5741f22d0a5 -r 28419e56ee8a sbsv2/raptor/lib/flm/e32abiv2fsy.flm --- a/sbsv2/raptor/lib/flm/e32abiv2fsy.flm Mon Mar 08 14:05:10 2010 +0000 +++ b/sbsv2/raptor/lib/flm/e32abiv2fsy.flm Mon Mar 15 11:38:03 2010 +0000 @@ -46,7 +46,6 @@ endif UID2:=100039df -STATIC_RUNTIME_LIB:=$(USER_STATIC_RUNTIME_LIB) CANIGNORENONCALLABLE:=1 diff -r a5741f22d0a5 -r 28419e56ee8a sbsv2/raptor/lib/flm/e32abiv2implib.flm --- a/sbsv2/raptor/lib/flm/e32abiv2implib.flm Mon Mar 08 14:05:10 2010 +0000 +++ b/sbsv2/raptor/lib/flm/e32abiv2implib.flm Mon Mar 15 11:38:03 2010 +0000 @@ -32,6 +32,7 @@ REQUESTEDTARGETEXT:=dll # if there is a LINKAS variable then this won't matter +STATIC_RUNTIME_LIB:= # We are appending to CDEFS but we don't want this to affect # other invocations so we are going to save it on a stack diff -r a5741f22d0a5 -r 28419e56ee8a sbsv2/raptor/lib/flm/e32abiv2lib.flm --- a/sbsv2/raptor/lib/flm/e32abiv2lib.flm Mon Mar 08 14:05:10 2010 +0000 +++ b/sbsv2/raptor/lib/flm/e32abiv2lib.flm Mon Mar 15 11:38:03 2010 +0000 @@ -25,6 +25,8 @@ POSTLINKFILETYPE:=lib MULTIFILE_ENABLED:= +STATIC_RUNTIME_LIB:= + include $(FLMHOME)/e32abiv2.flm else diff -r a5741f22d0a5 -r 28419e56ee8a sbsv2/raptor/lib/flm/e32abiv2none.flm --- a/sbsv2/raptor/lib/flm/e32abiv2none.flm Mon Mar 08 14:05:10 2010 +0000 +++ b/sbsv2/raptor/lib/flm/e32abiv2none.flm Mon Mar 15 11:38:03 2010 +0000 @@ -20,6 +20,7 @@ include $(FLMHOME)/e32abiv2defaults.mk POSTLINKTARGETTYPE:=NONE POSTLINKFILETYPE:=none +STATIC_RUNTIME_LIB:= # We are appending to CDEFS but we don't want this to affect diff -r a5741f22d0a5 -r 28419e56ee8a sbsv2/raptor/lib/flm/e32abiv2pdl.flm --- a/sbsv2/raptor/lib/flm/e32abiv2pdl.flm Mon Mar 08 14:05:10 2010 +0000 +++ b/sbsv2/raptor/lib/flm/e32abiv2pdl.flm Mon Mar 15 11:38:03 2010 +0000 @@ -35,7 +35,6 @@ endif LINKER_STUB_LIBRARY:=$(STATIC_RUNTIME_DIR)/edllstub.lib -STATIC_RUNTIME_LIB:=$(USER_STATIC_RUNTIME_LIB) CANIGNORENONCALLABLE:=1 # Fixed export TARGETTYPEs should only reference a .def file if an explicit DEFFILE statement is present in the .mmp file diff -r a5741f22d0a5 -r 28419e56ee8a sbsv2/raptor/lib/flm/e32abiv2pdll.flm --- a/sbsv2/raptor/lib/flm/e32abiv2pdll.flm Mon Mar 08 14:05:10 2010 +0000 +++ b/sbsv2/raptor/lib/flm/e32abiv2pdll.flm Mon Mar 15 11:38:03 2010 +0000 @@ -35,8 +35,6 @@ endif LINKER_STUB_LIBRARY:=$(STATIC_RUNTIME_DIR)/edllstub.lib -STATIC_RUNTIME_LIB:=$(USER_STATIC_RUNTIME_LIB) - # Default Postlinker settings CANHAVEEXPORTS:=1 diff -r a5741f22d0a5 -r 28419e56ee8a sbsv2/raptor/lib/flm/e32abiv2plugin.flm --- a/sbsv2/raptor/lib/flm/e32abiv2plugin.flm Mon Mar 08 14:05:10 2010 +0000 +++ b/sbsv2/raptor/lib/flm/e32abiv2plugin.flm Mon Mar 15 11:38:03 2010 +0000 @@ -28,7 +28,6 @@ endif LINKER_STUB_LIBRARY:=$(STATIC_RUNTIME_DIR)/edllstub.lib -STATIC_RUNTIME_LIB:=$(USER_STATIC_RUNTIME_LIB) # Default Postlinker settings CANHAVEEXPORTS:=1 diff -r a5741f22d0a5 -r 28419e56ee8a sbsv2/raptor/lib/flm/e32abiv2stddll.flm --- a/sbsv2/raptor/lib/flm/e32abiv2stddll.flm Mon Mar 08 14:05:10 2010 +0000 +++ b/sbsv2/raptor/lib/flm/e32abiv2stddll.flm Mon Mar 15 11:38:03 2010 +0000 @@ -37,7 +37,6 @@ endif LINKER_STUB_LIBRARY:=$(STATIC_RUNTIME_DIR)/edllstub.lib -STATIC_RUNTIME_LIB:=$(USER_STATIC_RUNTIME_LIB) LIBRARY:=$(LIBRARY) euser.dso diff -r a5741f22d0a5 -r 28419e56ee8a sbsv2/raptor/lib/flm/e32abiv2stdexe.flm --- a/sbsv2/raptor/lib/flm/e32abiv2stdexe.flm Mon Mar 08 14:05:10 2010 +0000 +++ b/sbsv2/raptor/lib/flm/e32abiv2stdexe.flm Mon Mar 15 11:38:03 2010 +0000 @@ -35,7 +35,6 @@ LINKER_ENTRYPOINT_SETTING:=$(LINKER_ENTRYPOINT_SETTING) $(LINKER_ENTRYPOINT_LIBDEP) endif -STATIC_RUNTIME_LIB:=$(USER_STATIC_RUNTIME_LIB) NAMEDSYMLKUP:=1 LIBRARY:=$(LIBRARY) euser.dso diff -r a5741f22d0a5 -r 28419e56ee8a sbsv2/raptor/lib/flm/e32abiv2stdlib.flm --- a/sbsv2/raptor/lib/flm/e32abiv2stdlib.flm Mon Mar 08 14:05:10 2010 +0000 +++ b/sbsv2/raptor/lib/flm/e32abiv2stdlib.flm Mon Mar 15 11:38:03 2010 +0000 @@ -25,6 +25,8 @@ NOHIDEALL:=1 +STATIC_RUNTIME_LIB:= + include $(FLMHOME)/e32abiv2.flm else diff -r a5741f22d0a5 -r 28419e56ee8a sbsv2/raptor/lib/flm/e32abiv2textnotifier2.flm --- a/sbsv2/raptor/lib/flm/e32abiv2textnotifier2.flm Mon Mar 08 14:05:10 2010 +0000 +++ b/sbsv2/raptor/lib/flm/e32abiv2textnotifier2.flm Mon Mar 15 11:38:03 2010 +0000 @@ -35,7 +35,6 @@ endif LINKER_STUB_LIBRARY:=$(STATIC_RUNTIME_DIR)/edllstub.lib -STATIC_RUNTIME_LIB:=$(USER_STATIC_RUNTIME_LIB) CANIGNORENONCALLABLE:=1 # Fixed export TARGETTYPEs should only reference a .def file if an explicit DEFFILE statement is present in the .mmp file diff -r a5741f22d0a5 -r 28419e56ee8a sbsv2/raptor/lib/flm/standard.xml --- a/sbsv2/raptor/lib/flm/standard.xml Mon Mar 08 14:05:10 2010 +0000 +++ b/sbsv2/raptor/lib/flm/standard.xml Mon Mar 15 11:38:03 2010 +0000 @@ -60,6 +60,7 @@ + @@ -172,6 +173,7 @@ + diff -r a5741f22d0a5 -r 28419e56ee8a sbsv2/raptor/test/config/arm.xml --- a/sbsv2/raptor/test/config/arm.xml Mon Mar 08 14:05:10 2010 +0000 +++ b/sbsv2/raptor/test/config/arm.xml Mon Mar 15 11:38:03 2010 +0000 @@ -9,7 +9,6 @@ -