14 Commits

Author SHA1 Message Date
Chris Johns
2126ea7ff0 rtems-tld: Generate arg and ret code in the wrapper. 2014-09-08 19:29:41 +10:00
Chris Johns
6506aa14aa RTEMS trace linker builds trace applications.
The trace linker builds the both_hello example in examples-v2.

Move the various string support functions into a C++ file and stop being
inlined. Make them return const std::string.

Add ld support to rld-cc.

Add search path support to rld-config so installed common files can be used.

Fix the path bugs.

Add an absolute path function to rld-path.
2014-09-08 16:06:48 +10:00
Chris Johns
b28e8b3115 Refactor the rld-rtems support to remove the globals. 2014-09-07 14:31:18 +10:00
Chris Johns
32cd4fcc17 rtems-tld: Add --wrapper option to aid testing.
The --wrapper option lets a user control the wrapper file name and
location to aid testing.

Add keep support to tempfiles so specific tempfile can be set
to be kept.

Add unlink to the rld::path namespace.
2014-09-07 10:47:00 +10:00
Chris Johns
c4c8218373 Fix rtems-ld to keep tmep files around while building. 2014-09-06 21:59:25 +10:00
Chris Johns
8807135964 Refactor the CC flags. Fix the various linkers. The trace linker is compiling. 2014-09-06 20:19:45 +10:00
Chris Johns
31bf37564b Remove march/mcpu and add RTEMS BSP and cflags support. 2014-09-05 18:18:11 +10:00
Chris Johns
40fd7a088a rld: Split the file into a path module for path specific functions.
This allows resued for other parts of the system not dependent on
objcet files or archives.
2014-09-01 13:26:47 +10:00
Chris Johns
097f1fdf56 rtms-tld: Refactor the code to match a better configuration format. 2014-08-07 18:15:06 +10:00
Chris Johns
4fd758e4f6 rtems-tld: Add wrapper support and start the generator coding. 2014-08-05 23:02:35 +10:00
Chris Johns
058d5024e9 rtems-tld: Add generator loading support. 2014-08-04 15:09:39 +10:00
Chris Johns
0a2102442e rtems-tld: Add recursive parsing of headers and defines. 2014-08-04 09:50:56 +10:00
Chris Johns
b6d7f5ff2e rtems-tld: Add trace configuration support.
Extend the configuration support to provide the needed configuration
required to generate the C stub support.
2014-08-04 09:19:55 +10:00
Chris Johns
ea299027e8 Add initial support for the RTEM Trace Linker.
The RTEMS Trace Linker or rtems-rld creates an RTEMS executable with
trace support built in without any changes the existing code.

This commit is an initial starting point with function signatures
being read from INI files.
2014-08-01 16:48:09 +10:00