summaryrefslogtreecommitdiffstats
path: root/linkers (follow)
Commit message (Collapse)AuthorAgeFilesLines
* linkers: Update due to API changesSebastian Huber2017-10-126-51/+46
| | | | Update #3160.
* linkers/exe-info Support ARM static constructors.Chris Johns2017-08-161-26/+71
| | | | | | | | | Note, ARM destructors are registered at runtime and currently not easly found. Update libiberty to get a newer demangler. Closes #3102.
* rtems-syms: Fix usage help.Chris Johns2017-03-151-2/+2
|
* linkers/syms: Add weak symbols to the global symbol table.Chris Johns2016-08-251-20/+61
| | | | | | | | Add any weak symbols that have been linked into the base image to the global symbol table. A weak symbol is global when view viewed from a dynamically loaded module. Closes #2704.
* linkers: Demangle the C++ labels in the .ctors/.dtors sections.Chris Johns2016-04-031-6/+20
| | | | Show user friendly labels for the C++ constructors and destructors.
* linkers: Add a tool to show RTEMS executable information.Chris Johns2016-04-032-21/+607
|
* Add Windows specific waf support for MSYS2.Chris Johns2016-02-191-0/+3
| | | | | | | | | | | Limit the compilers used to gcc and clang. Clang has not been tested. Users with MSVC install does not need to remove now. Force the os.sep path to the standard '\\' on Windows. The MSYS2 python sets it to '/' for internal project reasons. Doing this does cause waf problems when running configure so only do this for the build target. Closes #2583.
* linkers: Fix for targets with a small-data areaSebastian Huber2016-01-051-2/+2
| | | | | | | | | | On certain targets (e.g. PowerPC) global data below a certain threshold (e.g. 8 bytes) may resided in a special memory area, the small-data area. This allows more efficient load/store operations. Placing such data into the wrong section (e.g. .rodata) leads to relocation errors during link-time. See test program libtests/dl02 in the RTEMS testsuite. Using an array of unspecified size prevents that the compiler assumes that a certain variable is in the small-data area.
* linkers: Avoid castSebastian Huber2016-01-041-1/+1
|
* Add release versioning support.Chris Johns2015-12-096-11/+20
| | | | | | | | | | | | | | Support a top level VERSION file that defines an RTEMS release. Fix the install of the python modules including thertems-test. Update the git python module to the RSB version. Fix the options to not call clean and to call dirty. Update the version python module. Fix the rtld C++ support to the VERSION file and the top level waf script.
* Fix Windows build issues.Chris Johns2015-10-191-0/+30
| | | | | Fix biulding the mmap Windows code. Fix installing the files for Windows.
* Always provide the argument size defines.Chris Johns2015-10-151-44/+42
|
* Change to use the task implemenation interface.Chris Johns2015-10-151-5/+10
|
* Add a lock model to support different lock models when tracing.Chris Johns2015-09-291-3/+17
| | | | | | Logging to a file requires a 'trace' lock model be used. The 'trace' lock model holds the lock for the entire trace time, for example the entry or exit tracing.
* rtemstoolkit: Add support to return the system path split as paths.Chris Johns2015-03-291-1/+1
| | | | | Seacch the path for the program name if not found and set it as an absolute path. This allow the prefix to be found.
* trace-linker: Update comments.Chris Johns2015-03-291-24/+28
|
* trace-linker: Add the trace function signatures to the wrapper code.Chris Johns2015-03-271-25/+164
| | | | | This gives the tools the ability to extract all needed data from the executable.
* trace-linker: Add API and POSIX interfaces.Chris Johns2015-03-264-2/+115
|
* trace-linker: Add Trace Buffering support.Chris Johns2015-03-263-23/+249
| | | | | | | Trace buffering traces into a static buffer complete with timestamp and the executing context. A shell command provides access to the data.
* rtems-tld: Add lock and buffer allocator support to generators.Chris Johns2015-03-241-13/+144
| | | | | Generators can control a lock and buffer allocation so a single alloc can happen and a lock released.
* trace-linker: Add options, names, enables, and triggers.Chris Johns2015-03-232-60/+366
| | | | | | | | | | | | | | | | | | Move the options to a section so an option can be a single line. This gives the user the ability to localise specific configurations in a top level configuration file. Provide support for names, enables and triggers. Names is an array of names of the trace functions. The table is sorted and you can use an index to reference the trace function. There is a @FUNC_INDEX@ macro that is replaced with the trace function's index. Enables is a bitmap of default trace enabled states for all trace functions. Triggers is a bitmap of default triggers bit states for each trace function. Generators can use these bitmaps to control functionality. Currently the bitmaps are const but a generator option can be added to disable the const and allow the capture engine access to update the bitmaps.
* Install the rtems-test command.Chris Johns2015-02-081-4/+4
| | | | | | | This installs the Python RTEMS Toolkit. The copmiler has been switched from forcing gcc to allowing waf to detect the host's tool chain.
* Remove warning on Linux.Chris Johns2015-01-211-2/+0
|
* Add support to cross-compile. Use --hosti=.Chris Johns2015-01-186-859/+2
| | | | | | On FreeBSD use --host=mingw32 for Windows. If you use another OS you might need to add the specific windows host to the top level wscript file.
* rtems-tld: Install the libc heap configuration files.Chris Johns2014-12-181-1/+3
|
* rtems-tld: Add configuration support for libc head tracing.Chris Johns2014-12-182-0/+42
| | | | | These files allow you to trace malloc, calloc, realloc and free. With a simple script you can see what is allocated and never freed.
* main-page.cpp: Fix spelling issueJoel Sherrill2014-11-201-1/+2
|
* linkers: Disable .type statements in symbol code.Chris Johns2014-11-061-0/+4
| | | | Some of the assemblers do not support this statement.
* linkers: Merge the standard libraries into the user library paths.Chris Johns2014-11-041-2/+1
| | | | | The change to rld::split clears the user's library paths. Fix this.
* fix for open() not taking a std::stringBen Gras2014-11-011-1/+1
|
* 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
|