mapping obj files contents to sections [message #524644] |
Thu, 01 April 2010 16:27 |
Patrick Geremia Messages: 79 Registered: July 2009 |
Member |
|
|
In our current linker command files (TI c6000 linker), we have created
sections from obj files in a lib as groups and mapped them into memory
segments. See below for an example:
GROUP (RACFD_PRINT_LOG_PRINT)
{
.racfd_print_log_print
{
-lracfd.lib <RACFD_*_logPrint.obj> (.text)
-lracfd.lib <RACFD_*_logPrint.obj> (.const)
-lracfd.lib <RACFD_*_logPrint.obj> (.switch)
-lracfd.lib <RACFD_*_logPrint.obj> (.data)
-lracfd.lib <RACFD_*_logPrint.obj> (.bss)
-lracfd.lib <RACFD_*_logPrint.obj> (.data)
-lracfd.lib <RACFD_*_logPrint.obj> (.far)
-lracfd.lib <RACFD_*_print.obj> (.text)
-lracfd.lib <RACFD_*_print.obj> (.const)
-lracfd.lib <RACFD_*_print.obj> (.switch)
-lracfd.lib <RACFD_*_print.obj> (.data)
-lracfd.lib <RACFD_*_print.obj> (.bss)
-lracfd.lib <RACFD_*_print.obj> (.data)
-lracfd.lib <RACFD_*_print.obj> (.far)
-lracfd.lib <RACFD_*_literal*.obj> (.text)
-lracfd.lib <RACFD_*_literal*.obj> (.const)
-lracfd.lib <RACFD_*_literal*.obj> (.switch)
-lracfd.lib <RACFD_*_literal*.obj> (.data)
-lracfd.lib <RACFD_*_literal*.obj> (.bss)
-lracfd.lib <RACFD_*_literal*.obj> (.data)
-lracfd.lib <RACFD_*_literal*.obj> (.far)
-lracfd.lib <RACFD_facadeClassApi*.obj> (.text)
-lracfd.lib <RACFD_facadeClassApi*.obj> (.const)
-lracfd.lib <RACFD_facadeClassApi*.obj> (.switch)
-lracfd.lib <RACFD_facadeClassApi*.obj> (.data)
-lracfd.lib <RACFD_facadeClassApi*.obj> (.bss)
-lracfd.lib <RACFD_facadeClassApi*.obj> (.data)
-lracfd.lib <RACFD_facadeClassApi*.obj> (.far)
}
} > EXT
How can we achieve this with XDCtools?
--
Patrick Geremia
Texas Instruments (http://www.ti.com)
Phone: +33 4 93 22 26 33
Email: p-geremia@ti.com
Availability: http://meetwith.me/patrickgeremia
|
|
|
|
Powered by
FUDForum. Page generated in 0.06550 seconds