Yes, i am using the --gen_func_subsections option. But with "--gen_func_subsections=off" (both projects) the map file looks exactly the same. The other options used for the application project are
[quote]
-mv7M3 --code_state=16 --abi=eabi -me -g --include_path="..." --gcc --define=ccs --define=_DEBUG --define=_FLASH --define=COREM3 --diag_warning=225 --display_error_number --gen_func_subsections=on -k --ual
[/quote]
The arguments used for building the library are
[quote]
-mv7M3 --code_state=16 --abi=eabi -me -g --include_path="C:/ti/ccsv5/tools/compiler/arm_5.0.7/include" --gcc --define=ccs --define=COREM3 --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --ual
[/quote]
Linker arguments for the application:
[quote]-mv7M3 --code_state=16 --abi=eabi -me -g --gcc --define=ccs --define=_DEBUG --define=_FLASH --define=COREM3 --diag_warning=225 --display_error_number --gen_func_subsections=on -k --ual -z --stack_size=1024 -m"m3.map" --heap_size=0 -i"C:/ti/ccsv5/tools/compiler/arm_5.0.7/lib" -i"C:/ti/ccsv5/tools/compiler/arm_5.0.7/include" --reread_libs --warn_sections --display_error_number --rom_model[/quote]
[quote user="George Mock"]Why is it a subsection of .text, and not .ramfuncs? I don't know. [/quote]
And why are the function trampulines are placed in RAM, where they can't be reached by an normal function call at all?
Regards