summaryrefslogtreecommitdiffstats
path: root/linkers (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* linkers: Add base image symbol to ELF object file generation.Chris Johns2014-10-301-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.
* linkers: Add kernel symbol support.Chris Johns2014-10-281-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.
* rtems-tld: Make printk the default generator.Chris Johns2014-09-221-1/+1
|
* rtems-tld: Add config options, fix void args, and SCore traces.Chris Johns2014-09-2111-146/+443
|
* rtems-tld: Remove forced trace message.Chris Johns2014-09-211-1/+1
|
* rtk: Build fastlz into the rld library.Chris Johns2014-09-131-1/+1
| | | | Do not build as an object per program.
* Refactor code into the RTEMS Toolkit.Chris Johns2014-09-13176-53470/+38
|
* waf: Include waf in the souce tree and updated README on building.Chris Johns2014-09-131-2/+2
| | | | Add support to build all parts of The RTEMS Tools project.
* Remove invalid file that was added.Chris Johns2014-09-131-0/+0
|
* rtems-tld: Add a printk generator.Chris Johns2014-09-101-15/+58
|
* rtems-tld: Fix warnings in the generated code.Chris Johns2014-09-101-5/+11
|
* Fix the error message.Chris Johns2014-09-101-1/+1
|
* Fix the tempfile output code to handle line breaks better.Chris Johns2014-09-102-28/+42
|
* Make the verbose take the level and return the level if valid.Chris Johns2014-09-102-3/+3
| | | | | This makes the verbose a single and removes the need to have the logic of the test in the code.
* linkers: If no RTEMS path is provied see if the prefix can be used.Chris Johns2014-09-094-7/+66
|
* rtems-tld: Add entry and exit trace support.Chris Johns2014-09-094-13/+72
|
* rtems-tld: Generate arg and ret code in the wrapper.Chris Johns2014-09-082-22/+48
|
* Fix building on CentOS 6.5.Chris Johns2014-09-081-0/+2
|
* RTEMS trace linker builds trace applications.Chris Johns2014-09-0811-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.
* Refactor the rld-rtems support to remove the globals.Chris Johns2014-09-076-100/+174
|
* rtems-tld: Add --wrapper option to aid testing.Chris Johns2014-09-077-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.
* Chanhe the base temp file name to 'rld--'.Chris Johns2014-09-071-4/+4
|
* Fix rtems-ld to keep tmep files around while building.Chris Johns2014-09-061-28/+25
|
* Refactor the CC flags. Fix the various linkers. The trace linker is compiling.Chris Johns2014-09-0612-171/+462
|
* Fxi the split call.Chris Johns2014-09-061-1/+1
|
* Add a path str. Remove the duplicate split call.Chris Johns2014-09-062-29/+8
|
* Trim the return value from a package file.Chris Johns2014-09-061-1/+1
|
* Remove march/mcpu and add RTEMS BSP and cflags support.Chris Johns2014-09-053-9/+49
|
* Add support for RTEMS BSP or user supplied CFLAGS. Remove march/mcpu.Chris Johns2014-09-057-21/+529
| | | | | Added support to read an RTEMS BSP pkgconfig file and ste the CC flags.
* Return the requested label.Chris Johns2014-09-052-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.
* rld: Split the file into a path module for path specific functions.Chris Johns2014-09-0115-325/+451
| | | | | This allows resued for other parts of the system not dependent on objcet files or archives.
* Fix getopt_long usagePeng Fan2014-09-013-3/+3
| | | | | | | When passing shorhand options, getopt_long sometimes does not handle them correctly. Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
* rtms-tld: Refactor the code to match a better configuration format.Chris Johns2014-08-077-285/+374
|
* rtems-tld: Add wrapper support and start the generator coding.Chris Johns2014-08-052-18/+172
|
* Fix temporary file handling and add tempfile write support.Chris Johns2014-08-057-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.
* rtems-tld: Add generator loading support.Chris Johns2014-08-046-29/+183
|
* rtems-tld: Add recursive parsing of headers and defines.Chris Johns2014-08-044-8/+51
|
* rtems-tld: Add trace configuration support.Chris Johns2014-08-047-185/+609
| | | | | Extend the configuration support to provide the needed configuration required to generate the C stub support.
* Add initial support for the RTEM Trace Linker.Chris Johns2014-08-019-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.
* Fix building on Windows with the latest MSVC.Chris Johns2014-08-013-16/+43
| | | | Remove some warnings.
* std::list should be sorted before uniquePeng Fan2014-07-241-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>
* Implement a new tool 'rtems-ra'Peng Fan2013-08-305-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.
* Ignore common section and null(index 0) sectionPeng Fan2013-08-291-0/+8
| | | | Signed-off-by: Peng Fan <van.freenix@gmail.com>
* RA format support for rtems-ldPeng Fan2013-08-293-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>
* Fix archive writerPeng Fan2013-08-293-10/+34
| | | | | | 1. align to even address 2. Fix the use of GElf_Ehdr and Elf32_Ehdr 3. Fix the header related
* Add rpath supportPeng Fan2013-08-044-2/+53
|
* Add section size for rap detailsPeng Fan2013-08-012-6/+19
| | | | | Add elf section size to the section details, because gdb will use the size of a section.
* Add object file details to RAP formatPeng Fan2013-07-264-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.
* collect 'STT_NOTYPE' symbolsPeng Fan2013-07-221-1/+1
|
* fix relocation records orderPeng Fan2013-07-221-1/+18
|