38 Commits

Author SHA1 Message Date
Chris Johns
75ffa6781a python: Updates for Python 3.12
- Change SafeConfigParser to ConfigParser

- Fix escape sequences in strings

Updates #4968
2023-11-21 15:47:17 +11:00
Chris Johns
b4227d9196 waf: Minor format clean up. 2019-09-05 09:47:01 +10:00
Chris Johns
1318c11e5d linkers: Add an address to line tool.
This tool provides a way to check the DWARF toolkit support for finding
lines from addresses.
2018-06-18 12:26:16 +10:00
Chris Johns
1e21ea76b7 linkers/exe-info: Add DWARF support to gather and check producer details.
- 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.
2018-06-18 12:26:16 +10:00
Chris Johns
8dd3803af1 linkers/exe-info: Set the data endian for getting the init/fini sec data. 2018-06-15 15:54:25 +10:00
Sebastian Huber
b76fa74df1 linkers: Update due to API changes
Update #3160.
2017-10-12 12:52:59 +02:00
Chris Johns
c81066f67f linkers: Add a tool to show RTEMS executable information. 2016-04-03 15:42:51 +10:00
Chris Johns
7148caeb91 Add Windows specific waf support for MSYS2.
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.
2016-02-19 14:51:28 +11:00
Chris Johns
efc4f099b4 Add release versioning support.
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.
2015-12-09 20:08:19 +11:00
Chris Johns
0382b6863b Fix Windows build issues.
Fix biulding the mmap Windows code.
Fix installing the files for Windows.
2015-10-19 09:06:49 +11:00
Chris Johns
b69cd3fc07 trace-linker: Add API and POSIX interfaces. 2015-03-26 18:23:35 +11:00
Chris Johns
b988768f83 trace-linker: Add Trace Buffering support.
Trace buffering traces into a static buffer complete with timestamp
and the executing context.

A shell command provides access to the data.
2015-03-26 17:08:18 +11:00
Chris Johns
b7d48ef5a4 Install the rtems-test command.
This installs the Python RTEMS Toolkit.

The copmiler has been switched from forcing gcc to allowing waf
to detect the host's tool chain.
2015-02-08 17:12:04 +11:00
Chris Johns
3badbb0622 Add support to cross-compile. Use --hosti=.
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.
2015-01-18 18:12:18 +11:00
Chris Johns
8de6f6b412 rtems-tld: Install the libc heap configuration files. 2014-12-18 15:15:11 +11:00
Chris Johns
5025439f9d rtems-tld: Add config options, fix void args, and SCore traces. 2014-09-21 14:24:37 +10:00
Chris Johns
435d879bb6 rtk: Build fastlz into the rld library.
Do not build as an object per program.
2014-09-13 12:26:45 +10:00
Chris Johns
87e0e76be5 Refactor code into the RTEMS Toolkit. 2014-09-13 12:09:16 +10:00
Chris Johns
749ddf1ed5 waf: Include waf in the souce tree and updated README on building.
Add support to build all parts of The RTEMS Tools project.
2014-09-13 10:47:07 +10:00
Chris Johns
6506aa14aa RTEMS trace linker builds trace applications.
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-08 16:06:48 +10:00
Chris Johns
31bf37564b Remove march/mcpu and add RTEMS BSP and cflags support. 2014-09-05 18:18:11 +10:00
Chris Johns
40fd7a088a rld: Split the file into a path module for path specific functions.
This allows resued for other parts of the system not dependent on
objcet files or archives.
2014-09-01 13:26:47 +10:00
Chris Johns
ea299027e8 Add initial support for the RTEM Trace Linker.
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-01 16:48:09 +10:00
Peng Fan
53ed116b90 Implement a new tool 'rtems-ra'
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-30 21:42:58 +08:00
Chris Johns
e78e2b0ce5 Documentation. 2013-01-22 22:08:09 +11:00
Chris Johns
b9f631e560 Add a memory dump utility. 2012-12-23 16:57:16 +11:00
Chris Johns
8bb0d53e58 RAP file utility. Decompressors RAP files. 2012-12-19 16:24:24 +11:00
Chris Johns
be8e1886a3 Add doxygen support. 2012-12-08 09:05:12 +11:00
Chris Johns
eb825b1deb Add RAP format support. 2012-11-26 11:09:35 +11:00
Chris Johns
3f37835cf4 Split out the compression code for reuse. 2012-11-22 16:22:22 +11:00
Chris Johns
6565f0c056 Enforce the header is created before using it on Linux. 2012-11-21 12:12:21 +11:00
Chris Johns
ead8da1e33 Add configure option --c-opts to allow special options for testing. 2012-11-19 10:35:51 +11:00
Chris Johns
977c3de534 Refactor the ELF support to allow ELF write suppport.
The refactoring allows better reuse of the ELF support and cleans up
some hacks from the generic file and archive handling improving the
separation of the file handling from the file format, ie ELF. The
handling of ELF object files and ELF object files inside archives
is cleaner.

The refactor cleaned up the symbol handling where the symbols now
reside in the ELF file object and references are take in symbol
pointer containers and symbol table containers.

The main purpose of the refactor is to allow support for creating
and writing ELF files.

Also added an rtems-syms command where special symbol support
can be added.
2012-11-17 17:34:33 +11:00
Chris Johns
16e43468ec Add FastLZ support. 2012-10-22 18:46:59 -07:00
Chris Johns
746192499f Rename rld-gcc. Add -C option.
Add a -C (also --cc) option to allow the CC to be used when linking to be
provided by the user rather than using the path. This support allows user
who work with the full path to tools rather than the environment to make
use of the linker without them needing to play with environment table.

Rename rld-gcc.[h.cpp] to rld-cc.[h,cpp] because gcc may not be the
only compiler/linker used by the RTEMS project.
2012-09-17 10:13:55 +10:00
Chris Johns
1ec9633dec Add rebuild and tags build commands 2012-09-17 09:37:07 +10:00
Chris Johns
993aa67acf Fix the waf script. 2012-09-15 17:58:00 +10:00
Chris Johns
ec24a379bc Add to git. 2012-05-07 08:47:11 +10:00