summaryrefslogtreecommitdiffstats
path: root/linkers (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rtems-score-thread.ini: Remove _Thread_Close so trace examples linkJoel Sherrill2024-03-111-3/+2
| | | | | _Thread_Close no longer exists. There are multiple exapmles which show tracing in rtems-examples which fail to link due to this.
* linkers: Allow generation of symbol map file onlySebastian Huber2024-02-291-10/+12
| | | | | | If a symbol map file is specified by the user and no output file, then just generate the symbol map file. The user can then compile the file using its own build jobs.
* linkers: Constify read-only dataSebastian Huber2024-02-291-8/+8
|
* linkers: Avoid void pointer arithmeticSebastian Huber2024-02-291-3/+3
|
* linkers: Use push/pop sectionSebastian Huber2024-01-251-1/+2
| | | | | Restore the previous section, otherwise the generated code may end up in a wrong section.
* rtemstoolkit, linkers: Fix C++17 warningsChris Johns2023-11-221-2/+1
| | | | Closes #4970
* python: Updates for Python 3.12Chris Johns2023-11-211-1/+1
| | | | | | | | - Change SafeConfigParser to ConfigParser - Fix escape sequences in strings Updates #4968
* linkers: Print a proper 0x-hex numberSebastian Huber2023-10-181-1/+2
| | | | It is so easy in standard C++.
* linker: Fix typo in symbol table generatorSebastian Huber2023-10-181-1/+1
| | | | Updates #4920.
* linker: Add TLS support to the symbol table generatorChris Johns2023-08-171-45/+134
| | | | Updates #4920
* linkers/rtems-syms: Generate TLS symbolsKinsey Moore2023-01-171-0/+5
| | | | | When generating the symbol table for loadable modules, include TLS symbols so that the modules can reference them.
* rtems-syms.cpp: Change check to pointer sizeRyan Long2022-07-291-2/+2
| | | | | | | Changed from a RISC-V specific value being in the conditional to a check for the size of the architecture's pointer. Closes #4673
* linkers: Speed up reading large executables for all cases except inliningChris Johns2022-05-181-19/+26
| | | | - Only load the function DWARF data if checking inlines
* linkers/rtems-score/thread*.ini: Remove symbols no longer present.Joel Sherrill2022-01-252-11/+6
| | | | Close #4585.
* rtems-tld.cpp: Remove logically dead codeRyan Long2021-10-121-4/+1
| | | | | | CID 1399595: Logically dead code in generate_traces(). Closes #4525
* rtems-exeinfo.cpp: Initialize byteorderRyan Long2021-09-011-1/+2
| | | | | | CID 1471637: Uninitialized scalar field Closes #4499
* rtems-utils: Change data type definitionRyan Long2021-08-101-4/+2
| | | | | Remove typedef of ostream_guard and change datatype of ostream_guards to have the namespace in the variable declarations.
* rtems-exeinfo.cpp: Restore ostream formatRyan Long2021-07-271-0/+6
| | | | | | | | | | | CID 1503006: Not restoring ostream format CID 1503007: Not restoring ostream format Used a variable to store the format of the ostream before any changes, and copied what was originally there back into the stream before returning from the function. Closes #4469
* rtems-exeinfo.cpp: Fix division by zero errorsRyan Long2021-06-291-4/+16
| | | | | | | CID 1503008: Division or modulo by zero CID 1503015: Division or modulo by zero Closes #4416
* linkers: Update due to API changesSebastian Huber2021-04-092-2/+2
|
* linkers: Update due to API changesSebastian Huber2020-09-182-14/+11
|
* linker/exeinfo: Optionally output full flags when listing object filesChris Johns2020-09-151-17/+81
| | | | - Start adding support to dump configuration tables
* linkers/exeinfo: Output TLS dataChris Johns2020-09-111-1/+88
| | | | Updates #4074
* linkers: Include proper header fileSebastian Huber2020-02-251-1/+1
|
* linkers: Update due to API changesSebastian Huber2020-02-252-2/+2
| | | | Update #3835.
* linkers: Remove _Thread_Life_action_handlerSebastian Huber2019-12-191-3/+2
| | | | | | This is a static function. Update #3413.
* rtems-syms: Use .quad instead of .long for riscv64Hesham Almatary2019-11-121-0/+8
| | | | | | .long in RISC-V assembly is 4 bytes, while the address in riscv64 is 8 bytes (.quad). Moreover, RTEMS' libdl increases the symbols pointer by sizeof(long) in C when iterating over global symbols.
* waf: Minor format clean up.Chris Johns2019-09-051-1/+0
|
* linkers/syms: Add symbol filtering.Chris Johns2019-02-111-20/+102
| | | | | | - Filter symbols by regx. - Return the name of a symbol via demangled() even it is not a mangled C++ function.
* linkers: Fix the -O option handling in rtems-execinfoChris Johns2019-01-101-1/+2
|
* Fix wrong function signatureskaidoho2018-12-061-2/+2
|
* Fix warnings on Windows.Chris Johns2018-11-297-7/+7
|
* linkers/exeinfo: Report who inlines which functions. Report not inline ↵Chris Johns2018-08-071-21/+54
| | | | functions.
* linkers/exeinfo: Add an inlines report and DWARF data dump.Chris Johns2018-08-071-3/+130
|
* rtemstoolkit: Add DWARF function support.Chris Johns2018-06-182-2/+20
| | | | Load the functions in each CU.
* linkers: Add an address to line tool.Chris Johns2018-06-182-1/+303
| | | | | This tool provides a way to check the DWARF toolkit support for finding lines from addresses.
* linkers/exe-info: Add DWARF support to gather and check producer details.Chris Johns2018-06-182-4/+210
| | | | | | | - Provide support to list the compilers and assemblers used to build an executable. - List the machine flags showing which flags are common and which are not.
* linkers/exe-info: Set the data endian for getting the init/fini sec data.Chris Johns2018-06-152-8/+6
|
* Updating trace buffer configurationVidushi Vashishth2018-06-021-2/+3
|
* rtemstoolkit/rtl-file: Remove a file on close if requestedChris Johns2018-04-142-6/+6
| | | | Close #3395
* 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.