summaryrefslogtreecommitdiff
path: root/linkers (follow)
AgeCommit message (Collapse)Author
2014-10-30linkers: Add base image symbol to ELF object file generation.Chris Johns
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 Johns
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 Johns
2014-09-21rtems-tld: Add config options, fix void args, and SCore traces.Chris Johns
2014-09-21rtems-tld: Remove forced trace message.Chris Johns
2014-09-13rtk: Build fastlz into the rld library.Chris Johns
Do not build as an object per program.
2014-09-13Refactor code into the RTEMS Toolkit.Chris Johns
2014-09-13waf: Include waf in the souce tree and updated README on building.Chris Johns
Add support to build all parts of The RTEMS Tools project.
2014-09-13Remove invalid file that was added.Chris Johns
2014-09-10rtems-tld: Add a printk generator.Chris Johns
2014-09-10rtems-tld: Fix warnings in the generated code.Chris Johns
2014-09-10Fix the error message.Chris Johns
2014-09-10Fix the tempfile output code to handle line breaks better.Chris Johns
2014-09-10Make the verbose take the level and return the level if valid.Chris Johns
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 Johns
2014-09-09rtems-tld: Add entry and exit trace support.Chris Johns
2014-09-08rtems-tld: Generate arg and ret code in the wrapper.Chris Johns
2014-09-08Fix building on CentOS 6.5.Chris Johns
2014-09-08RTEMS trace linker builds trace applications.Chris Johns
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 Johns
2014-09-07rtems-tld: Add --wrapper option to aid testing.Chris Johns
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 Johns
2014-09-06Fix rtems-ld to keep tmep files around while building.Chris Johns
2014-09-06Refactor the CC flags. Fix the various linkers. The trace linker is compiling.Chris Johns
2014-09-06Fxi the split call.Chris Johns
2014-09-06Add a path str. Remove the duplicate split call.Chris Johns
2014-09-06Trim the return value from a package file.Chris Johns
2014-09-05Remove march/mcpu and add RTEMS BSP and cflags support.Chris Johns
2014-09-05Add support for RTEMS BSP or user supplied CFLAGS. Remove march/mcpu.Chris Johns
Added support to read an RTEMS BSP pkgconfig file and ste the CC flags.
2014-09-05Return the requested label.Chris Johns
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 Johns
This allows resued for other parts of the system not dependent on objcet files or archives.
2014-09-01Fix getopt_long usagePeng Fan
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 Johns
2014-08-05rtems-tld: Add wrapper support and start the generator coding.Chris Johns
2014-08-05Fix temporary file handling and add tempfile write support.Chris Johns
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 Johns
2014-08-04rtems-tld: Add recursive parsing of headers and defines.Chris Johns
2014-08-04rtems-tld: Add trace configuration support.Chris Johns
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 Johns
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 Johns
Remove some warnings.
2014-07-24std::list should be sorted before uniquePeng Fan
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 Fan
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 Fan
Signed-off-by: Peng Fan <van.freenix@gmail.com>
2013-08-29RA format support for rtems-ldPeng Fan
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 Fan
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 Fan
2013-08-01Add section size for rap detailsPeng Fan
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 Fan
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 Fan
2013-07-22fix relocation records orderPeng Fan