summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-09-13Remove invalid file that was added.HEADmasterChris 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
2013-07-21Add support for relocations which reference local symbolsPeng Fan
Signed-off-by: Peng Fan <van.freenix@gmail.com>
2013-07-19Fixed fsecPeng Fan
If one object file contains .rodata and .rodata.str1.4 sections, .rodata contains rela reloc entries, but .rodata.str1.4 do not contain reloc entris.'.rodata' and '.rodata.str1.4' will be both included in '.const'.Then using this patch to fix the rela problem Signed-off-by: Peng Fan <van.freenix@gmail.com>
2013-07-19Fixed layout problemPeng Fan
Fixed when only one elf object file is passed to rtems-ld.And fixed the error when one object file has rela relocation records, but the other does not contain relocation records. Signed-off-by: Peng Fan <van.freenix@gmail.com>
2013-07-19arch specific section supportPeng Fan
2013-03-01Fix RELA in RAP formats.Chris Johns
Fixed the RELA handling in the merging of the object sections into the RAP sections. A method in the rap::image class was not being used any more and that code transferred the RELA setting from the object sections to the image section. This change adds also transfers the rela field.
2013-03-01Support the gcc option '-Wl'.Chris Johns
Support and ignore the '-Wl,options' command line option to allow build system that use this flag to call the RTEMS linker.
2013-03-01Fix the trace help.Chris Johns
2013-03-01Fix errors building on CentOS.Chris Johns