Part Number: TMS320F28379D
Hi,
In C28x Assembly Language Tools, it is explained that we can use -g or --make_global= global_symbol for linker. In CCS, if i create a simple project in Debug mode this flag is added for linker as below (4th flag from the beginning)
-v28 -ml -mt -g --diag_warning=225 --diag_wrap=off --display_error_number -z -m"Test.map" --warn_sections -i"E:/share/apps/T9BE1P~I/cgt/win/ti-cgt-c2000_16.9.3.LTS/lib" -i"E:/share/apps/T9BE1P~I/cgt/win/ti-cgt-c2000_16.9.3.LTS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="Test_linkInfo.xml" --rom_model
But in this I do not see any symbol mentioned specifically as --make_global= global_symbol. So does it mean all the symbols defined in the code will be made as global?
If I try to change the order of the -g flag as shown below (defined after the map file flag and before warn_section flag)
-v28 -ml -mt --diag_warning=225 --diag_wrap=off --display_error_number -z -m"Test.map" -g --warn_sections -i"E:/share/apps/T9BE1P~I/cgt/win/ti-cgt-c2000_16.9.3.LTS/lib" -i"E:/share/apps/T9BE1P~I/cgt/win/ti-cgt-c2000_16.9.3.LTS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="Test_linkInfo.xml" --rom_model
the linking fails with error that it does not recognize the next flag --warn_sections.
Is the flag -g order is fixed that it has to be used before certain flags? Is the order mandatory for any other flags used for linker?
Thanks,
Aditya
