summaryrefslogtreecommitdiffstats
path: root/linkers (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-11-01fix for open() not taking a std::stringBen Gras1-1/+1
2014-10-30linkers: Add base image symbol to ELF object file generation.Chris Johns1-70/+74
This change adds support to the rtems-syms code to generate a suitable ELF object you can link to the base image kernel in the embed mode or you can load with the run-time load mode. The change fixes a bug in the framework where local ELF symbols were being placed in the external symbol table. The external symbol table has been removed and a global, weak and local set of tables is now provided as this is more aligned with the ELF format.
2014-10-28linkers: Add kernel symbol support.Chris Johns1-97/+274
The rtems-sym tool has been changed from a basic map tool to now provide an object file in the specific architecture containing the symbols in the RTEMS kernel. It can still generate a map. The object can be embedded or loaded. It cannot be both.
2014-09-22rtems-tld: Make printk the default generator.Chris Johns1-1/+1
2014-09-21rtems-tld: Add config options, fix void args, and SCore traces.Chris Johns11-146/+443
2014-09-21rtems-tld: Remove forced trace message.Chris Johns1-1/+1
2014-09-13rtk: Build fastlz into the rld library.Chris Johns1-1/+1
Do not build as an object per program.
2014-09-13Refactor code into the RTEMS Toolkit.Chris Johns176-53470/+38
2014-09-13waf: Include waf in the souce tree and updated README on building.Chris Johns1-2/+2
Add support to build all parts of The RTEMS Tools project.
2014-09-13Remove invalid file that was added.Chris Johns1-0/+0
2014-09-10rtems-tld: Add a printk generator.Chris Johns1-15/+58
2014-09-10rtems-tld: Fix warnings in the generated code.Chris Johns1-5/+11
2014-09-10Fix the error message.Chris Johns1-1/+1
2014-09-10Fix the tempfile output code to handle line breaks better.Chris Johns2-28/+42
2014-09-10Make the verbose take the level and return the level if valid.Chris Johns2-3/+3
This makes the verbose a single and removes the need to have the logic of the test in the code.
2014-09-09linkers: If no RTEMS path is provied see if the prefix can be used.Chris Johns4-7/+66
2014-09-09rtems-tld: Add entry and exit trace support.Chris Johns4-13/+72
2014-09-08rtems-tld: Generate arg and ret code in the wrapper.Chris Johns2-22/+48
2014-09-08Fix building on CentOS 6.5.Chris Johns1-0/+2
2014-09-08RTEMS trace linker builds trace applications.Chris Johns11-150/+489
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-07Refactor the rld-rtems support to remove the globals.Chris Johns6-100/+174
2014-09-07rtems-tld: Add --wrapper option to aid testing.Chris Johns7-60/+169
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-07Chanhe the base temp file name to 'rld--'.Chris Johns1-4/+4
2014-09-06Fix rtems-ld to keep tmep files around while building.Chris Johns1-28/+25
2014-09-06Refactor the CC flags. Fix the various linkers. The trace linker is compiling.Chris Johns12-171/+462
2014-09-06Fxi the split call.Chris Johns1-1/+1
2014-09-06Add a path str. Remove the duplicate split call.Chris Johns2-29/+8
2014-09-06Trim the return value from a package file.Chris Johns1-1/+1
2014-09-05Remove march/mcpu and add RTEMS BSP and cflags support.Chris Johns3-9/+49
2014-09-05Add support for RTEMS BSP or user supplied CFLAGS. Remove march/mcpu.Chris Johns7-21/+529
Added support to read an RTEMS BSP pkgconfig file and ste the CC flags.
2014-09-05Return the requested label.Chris Johns2-19/+35
This completes this code to a basic working level. It usable for the RTEMS pc files but not as a full pkgconfig replacement. The python version in the RSB is more complete.
2014-09-01rld: Split the file into a path module for path specific functions.Chris Johns15-325/+451
This allows resued for other parts of the system not dependent on objcet files or archives.
2014-09-01Fix getopt_long usagePeng Fan3-3/+3
When passing shorhand options, getopt_long sometimes does not handle them correctly. Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
2014-08-07rtms-tld: Refactor the code to match a better configuration format.Chris Johns7-285/+374
2014-08-05rtems-tld: Add wrapper support and start the generator coding.Chris Johns2-18/+172
2014-08-05Fix temporary file handling and add tempfile write support.Chris Johns7-99/+180
Move the static objects into the rld-process file and change the clean up to a call. Add support to write to tempfiles.
2014-08-04rtems-tld: Add generator loading support.Chris Johns6-29/+183
2014-08-04rtems-tld: Add recursive parsing of headers and defines.Chris Johns4-8/+51
2014-08-04rtems-tld: Add trace configuration support.Chris Johns7-185/+609
Extend the configuration support to provide the needed configuration required to generate the C stub support.
2014-08-01Add initial support for the RTEM Trace Linker.Chris Johns9-12/+4892
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-01Fix building on Windows with the latest MSVC.Chris Johns3-16/+43
Remove some warnings.
2014-07-24std::list should be sorted before uniquePeng Fan1-0/+1
std::list should be sorted first, then unique can remove duplicated objects. Otherwise there will be many duplicated objects. Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
2013-08-30Implement a new tool 'rtems-ra'Peng Fan5-10/+653
rtems-ra supports converting an elf archive file into a rap archive file. It also support add, replace and delete rap files from the rap archive file.
2013-08-29Ignore common section and null(index 0) sectionPeng Fan1-0/+8
Signed-off-by: Peng Fan <van.freenix@gmail.com>
2013-08-29RA format support for rtems-ldPeng Fan3-4/+157
1. Automatically place object files in archive files into a ra file, using new option --runtime-lib 2. Add a new option --one-file to decide whether the collected object files should be merged into the rap file or not. Signed-off-by: Peng Fan <van.freenix@gmail.com>
2013-08-29Fix archive writerPeng Fan3-10/+34
1. align to even address 2. Fix the use of GElf_Ehdr and Elf32_Ehdr 3. Fix the header related
2013-08-04Add rpath supportPeng Fan4-2/+53
2013-08-01Add section size for rap detailsPeng Fan2-6/+19
Add elf section size to the section details, because gdb will use the size of a section.
2013-07-26Add object file details to RAP formatPeng Fan4-6/+337
This change added the object file details to the RAP format so aid debugging support. The information can be optionally stripped for production images not needed this information if space is an issue,with '--rap-strip' assigned to rtems-ld.
2013-07-22collect 'STT_NOTYPE' symbolsPeng Fan1-1/+1