]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/commitdiff
Modify linker script to not throw away interrupt vectors
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 13 Sep 2013 18:33:42 +0000 (20:33 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 13 Sep 2013 18:33:42 +0000 (20:33 +0200)
This is necessary when programs link against the rpp library and do not
compile the sys_intvecs.asm themselves. This was the case in rpp-test-sw,
but after reorganization of the build system (the library is built
separately), the processor didn't start properly.

rpp/TMS570LS313xFlashLnk.cmd

index a2ffb5cecf20b05de79b7dbb9793c61aabeaca93..a7b4adf6a96451c88614ffca4cfa9651fec5a504 100644 (file)
@@ -16,7 +16,7 @@
 /*----------------------------------------------------------------------------*/
 /* Linker Settings                                                            */
 --retain="*(.intvecs)"
-
+--retain="rpp-lib.lib<sys_intvecs.obj>(.intvecs)"
 /*----------------------------------------------------------------------------*/
 /* Memory Map                                                                 */
 MEMORY{