Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
This makes the verbose a single and removes the need to have the
logic of the test in the code.
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Added support to read an RTEMS BSP pkgconfig file and ste the CC
flags.
|
|
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.
|
|
This allows resued for other parts of the system not dependent on
objcet files or archives.
|
|
When passing shorhand options, getopt_long sometimes does not handle
them correctly.
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
|
|
|
|
|
|
Move the static objects into the rld-process file and change the
clean up to a call.
Add support to write to tempfiles.
|
|
|
|
|
|
Extend the configuration support to provide the needed configuration
required to generate the C stub support.
|
|
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.
|
|
Remove some warnings.
|
|
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>
|
|
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.
|
|
Signed-off-by: Peng Fan <van.freenix@gmail.com>
|
|
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>
|
|
1. align to even address
2. Fix the use of GElf_Ehdr and Elf32_Ehdr
3. Fix the header related
|
|
|
|
Add elf section size to the section details, because gdb will use the size of
a section.
|
|
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.
|
|
|
|
|
|
Signed-off-by: Peng Fan <van.freenix@gmail.com>
|
|
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>
|
|
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>
|
|
|
|
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.
|
|
Support and ignore the '-Wl,options' command line option to allow
build system that use this flag to call the RTEMS linker.
|
|
|
|
|