392 Commits

Author SHA1 Message Date
Gedare Bloom
83826a30ec 4.10: fix version number 2017-12-21 12:18:43 -05:00
Chris Johns
a252faf1d3 bsp-builder: Results format fixes. 2016-08-30 18:10:17 +10:00
Chris Johns
06c3ccdcf3 bsp-builder: Fix bugs. 2016-08-29 11:47:04 +10:00
Chris Johns
e9fb4c5bbf bsp-builder: Add lm3s6965_qemu to ARM bsp list. Fix network-debug options. 2016-08-25 16:14:57 +10:00
Chris Johns
f7f0704905 bsp-builder: Fix column printing of the arch/bsp. 2016-08-25 16:13:18 +10:00
Chris Johns
885aebd6b3 linkers/syms: Add weak symbols to the global symbol table.
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.
2016-08-25 15:54:23 +10:00
Chris Johns
8e13939aa0 bsp-builder: Print one results report only. 2016-08-19 11:56:09 +10:00
Chris Johns
9a1daba2ff bsp-builder: Fix results report columns. 2016-08-19 09:55:03 +10:00
Chris Johns
3a92a544aa bsp-builder: Add ARM bsps. 2016-08-18 21:00:50 +10:00
Chris Johns
51e19af92d bsp-builder: Support per BSP excludes. 2016-08-18 21:00:29 +10:00
Chris Johns
57e4172c26 tester: handle compile argument warnings. 2016-08-18 14:24:45 +10:00
Chris Johns
1676b9c80b rtemstoolkit: Trace opening a macro file. 2016-08-18 14:24:13 +10:00
Chris Johns
3e1459496a Add rtems-bsp-builder.
This is a testing tool that builds BSPs with a range of configure options
for regression testing changes do not break the kernel code.

The builds are controlled by an INI file. The INI configuration has profiles
which define a specific set of architures and BSP to build. There are architectures
which contain BSPs and these further define the options needed to build the BSP.
There is also builds which define the variations each BSP is built with.

The build output can be pointed to any suitable disks so you can control where
the output ends up.

This initial release contains tiers and these are only seeded with something to
test with. It does not define the tiers.

Wanrings, object files and libraries are counted.
2016-07-06 17:58:56 +10:00
Chris Johns
6c94148e62 linkers: Demangle the C++ labels in the .ctors/.dtors sections.
Show user friendly labels for the C++ constructors and destructors.
2016-04-03 16:26:36 +10:00
Chris Johns
c81066f67f linkers: Add a tool to show RTEMS executable information. 2016-04-03 15:42:51 +10:00
Chris Johns
635a28f1fb rtemstoolkit: Add a buffer helper class to insert and extract data. 2016-04-03 15:41:08 +10:00
Chris Johns
8dc277265b rtemstoolkit: Add the address to the section. 2016-04-03 15:39:58 +10:00
Chris Johns
2e973519a4 rtemstoolkit: Add an address table of symbols key by the symbol address.
This is useful if you need to look up a symbol based on its address.
2016-04-03 15:38:14 +10:00
Chris Johns
0c0b2d4b52 rtemstoolkit: Add version number parsing to get major, minor, revision.
Add support to return the major, minor or revision numbers as numbers.
2016-04-03 15:37:01 +10:00
Chris Johns
dfa2468af6 tester: Fix reraising an exception with Python2 and Python3.
Updates #2619.
2016-03-16 21:39:39 +11:00
Chris Johns
4bcf18b926 tester/sis: Provide the -nouartrx to avoid blocking on stdin. 2016-03-16 16:22:35 +11:00
Chris Johns
1845e9132e tester: Provide a gdb kill method to aid clean ups on ctrl-C. 2016-03-16 16:21:57 +11:00
Chris Johns
0bbd2de7f5 4.12: Patches for ERC simualtor for gdb-7.11.
The patches fix the endian checks in the simulator, print filtering,
and the run command.

Updates #2644.
2016-03-16 15:47:37 +11:00
Chris Johns
6f8b07c3b6 rtemstoolkit: Fix execute's writer thread to not eval() the input.
The conversion to Python3 added an eval() call which is wrong.

Fix the spelling in execute.

Fix labels in the tester gdb locking.

Check the debug-trace arguments.

Close #2642.
2016-03-14 14:59:11 +11:00
Chris Johns
a44fedf902 Add a gdb-7.11 patch for 4.12. 2016-03-11 18:59:59 +11:00
Götz Pfeiffer
87bca993ae Bugfix: gdb-7.3.1 couldn't be build with a modern texinfo package.
The texinfo documentation of binutils contained some constructs that are
errors, at least for a modern version of texinfo (version 6.0 and newer). This
meant that gdb-7.3.1 couldn't be build e.g. on fedora-22.

A patch file was added to fix the problematic parts of the documentation.

Close #2520.
2016-03-10 10:52:01 +01:00
Götz Pfeiffer
47ec083822 Bugfix: gcc-4.4.7 couldn't be build with a modern texinfo package.
The texinfo documentation of binutils contained some constructs that are
errors, at least for a modern version of texinfo (version 6.0 and newer). This
meant that gcc-4.4.7 couldn't be build e.g. on fedora-22.

A patch file was added to fix the problematic parts of the documentation.

Update #2520.
2016-03-10 10:51:55 +01:00
Götz Pfeiffer
45d2402047 Bugfix: binutils-2.20.1 couldn't be build with a modern texinfo package.
The texinfo documentation of binutils contained some constructs that are
errors, at least for a modern version of texinfo (version 6.0 and newer). This
meant that binutils-2.20.1 couldn't be build e.g. on fedora-22.

A patch file was added to fix the problematic parts of the documentation.

Update #2520.
2016-03-10 10:51:26 +01:00
Chris Johns
c9ed2483c6 Remove exception test code left in.
Updates #2619.
2016-03-09 14:34:26 +11:00
Chris Johns
6fa359c79d Master branch version is 4.12. 2016-03-09 14:29:14 +11:00
Chris Johns
b7a9c817e1 sis: Option not present with SPARC sim. 2016-03-09 14:28:57 +11:00
Chris Johns
2de37f3432 Python 2 and python 3 refactor fixes.
Updates #2619.
2016-03-09 14:27:42 +11:00
Chris Johns
a5d243d3f8 tester: Remove the RT version.py and use the toolkit's version. 2016-03-04 12:10:09 +11:00
Chris Johns
b0fa2ae998 Update rtems-tool to support Python 2 and 3.
Add solaris and netbsd.

Close #2619.
2016-03-03 16:53:39 +11:00
Chris Johns
0e5d89d946 Add aarch64 and x86_64 binutils and gdb patches. 2016-02-29 18:02:36 +11:00
Chris Johns
6bc1ecedd2 Fix ithe automake warning with newer perl versions.
This patch is based on this post ..

https://lists.gnu.org/archive/html/automake-patches/2015-07/msg00000.html

This warnign appears with a recent MSYS2.

Update #2616.
2016-02-29 08:59:26 +11:00
Chris Johns
3018e2f444 Do not change the Python os.sep setting. 2016-02-22 15:16:23 +11: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
de1beea245 Disable installing PYO and PYC. Fix install paths.
Installing PYO and PYC does not work so disable this. Move the
Python check to the top level and have a single place.

Fix the install paths a revert the 'from . import' changes. This
is resolved by installing into the correct paths.
2016-02-19 11:26:51 +11:00
Chris Johns
4351ae5eff Update the version of waf.
Closes #2582.
2016-02-19 11:25:50 +11:00
Sebastian Huber
66c6301c3f rtemstoolkit: Python 3 compatibility 2016-01-08 07:59:05 +01:00
Sebastian Huber
606c08c8b5 rtemstoolkit: msys2 compatibility 2016-01-08 07:58:54 +01:00
Sebastian Huber
f027f37661 linkers: Fix for targets with a small-data area
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.
2016-01-05 07:05:52 +01:00
Sebastian Huber
a7951f2ca3 linkers: Avoid cast 2016-01-04 11:15:28 +01:00
Chris Johns
f77586956d Fix running rtems-test from inside the git clone. 2015-12-16 08:51:30 +11:00
Aun-Ali Zaidi
2df531a2b7 bsps/m32rsim*: Remove
closes #2447.
2015-12-13 22:10:28 -05:00
Aun-Ali Zaidi
ea51d2ac22 bsps/h8sim*: Remove
closes #2453.
2015-12-13 22:07:58 -05:00
Chris Johns
a6f5f188ce Fix how to use the waf py feature to get py source and pyo file installed.
Thanks to ita for the example.
2015-12-11 17:17:22 +11:00
Chris Johns
3828e5033c VERSION as an INI format file.
One section is supported [version] with a 'release' entry.
2015-12-11 17:01:51 +11:00
Chris Johns
8b49f734cb Use the git hash for the revision in the version string. 2015-12-10 12:26:49 +11:00