[PATCH] Update the copyright year.

2018-10-18 Thread chrisj
From: Chris Johns --- bsp-howto/index.rst| 2 +- c-user/index.rst | 2 +- common/conf.py | 2 +- cpu-supplement/index.rst | 2 +- develenv/index.rst | 2 +- eclipse/index.rst | 2 +- filesystem/index.rst | 2 +- networking/index.rst |

[PATCH v2] Python2/Python3 support

2018-10-18 Thread chrisj
The patch implements runtime support to select a python to run the RSB. The selection order is: python2 python3 python In a future release we can change this order without needing to change the support structures around the RSB. The patch also handles GDB's selection of python moving away

[PATCH v2] sb: Add support to search for a suitable version of python.

2018-10-18 Thread chrisj
From: Chris Johns The command python has been removed from upstream python and python2 and python3 is now used. This patch wraps the commands in a shell script that locates a suitable python to run. Updates #3537 --- source-builder/config/gdb-common-1.cfg | 105 +-

[PATCH] windows: Remove BuildRoot from all configs, add a short tmp path.

2018-10-21 Thread chrisj
From: Chris Johns Closes #3562. --- bare/config/devel/texane-stlink-1.cfg | 1 - rtems/config/tools/rtems-kernel-4-1.cfg | 1 - .../rtems-nios2-gcc-4.1-newlib-1.19.0-1.cfg | 1 - rtems/config/tools/rtems-tools-common-1.cfg | 1 - rtems/config/tools/rtems-tools-git-1.cfg

[PATCH 1/4] User: Simplify the top level headings.

2018-11-01 Thread chrisj
From: Chris Johns --- user/bsps/index.rst| 14 +++--- user/ecosys/index.rst | 6 ++ user/support/index.rst | 12 +++- user/tracing/index.rst | 4 ++-- 4 files changed, 26 insertions(+), 10 deletions(-) diff --git a/user/bsps/index.rst b/user/bsps/index.rst index

[PATCH] User Manual Executable and Test documentation

2018-11-01 Thread chrisj
that command. Note, there is a 4th patch which is the generated images which I have not sent for review. These patches can be reviewed as build doco at the following: https://ftp.rtems.org/pub/rtems/people/chrisj/rtems-test/docs/master/ Chris

[PATCH 3/4] user: Add RTEMS executable test documentation.

2018-11-01 Thread chrisj
From: Chris Johns --- images/user/exe-app.puml| 72 images/user/exe-debug-jtag.ditaa| 33 images/user/exe-debug-libdebugger.ditaa | 43 + images/user/exe-debug-qemu.ditaa| 23 +++ images/user/exe-debug.ditaa | 20 ++

[PATCH 2/4] waf: Add support to build PlantUML and Ditaa images.

2018-11-01 Thread chrisj
From: Chris Johns --- README.txt| 17 +- common/waf.py | 70 ++- images/.gitignore | 1 + images/wscript| 7 ++ wscript | 6 + 5 files changed, 99 insertions(+), 2 deletions(-) create mode

[PATCH 1/2] python: Provide support to select a valid python version.

2018-11-06 Thread chrisj
From: Chris Johns - Update imports after wrapping the code. - Fix python3 issues. - Fix config path issues for in repo and install runs. Closes #3537 --- rtemstoolkit/configuration.py | 30 +-- rtemstoolkit/python-wrapper.sh | 54 ++

[PATCH 2/2] tester: Update the Python TFTP server to fix Python3 issues.

2018-11-06 Thread chrisj
From: Chris Johns Updated to af2f2fe89a3bf45748b78703820efb0986a8207a. Repo is https://github.com/msoulier/tftpy.git --- tester/rt/tftpy/TftpClient.py| 9 +- tester/rt/tftpy/TftpContexts.py | 47 ++-- tester/rt/tftpy/TftpPacketFactory.py | 9 +-

[PATCH v2 2/2] tester: Update the Python TFTP server to fix Python3 issues.

2018-11-07 Thread chrisj
From: Chris Johns Updated to af2f2fe89a3bf45748b78703820efb0986a8207a. Repo is https://github.com/msoulier/tftpy.git --- tester/rt/tftp.py| 3 +- tester/rt/tftpy/TftpClient.py| 9 +- tester/rt/tftpy/TftpContexts.py | 47 ++--

[PATCH v2 1/2] python: Provide support to select a valid python version.

2018-11-07 Thread chrisj
From: Chris Johns - Update imports after wrapping the code. - Fix python3 issues. - Fix config path issues for in repo and install runs. Closes #3537 --- rtemstoolkit/configuration.py | 30 +-- rtemstoolkit/python-wrapper.sh | 54 ++

[PATCH] testsuite: Add python verison support to rtems-test-check.py

2018-11-06 Thread chrisj
From: Chris Johns Closes #3579 --- testsuites/aclocal/rtems-test-check.m4 | 2 +- testsuites/rtems-test-check| 57 ++ testsuites/rtems-test-check.py | 47 ++-- 3 files changed, 95 insertions(+), 11 deletions(-) create

[PATCH] rtemstoolkit: Fix imports and fix all unittests.

2018-10-04 Thread chrisj
From: Chris Johns --- rtemstoolkit/check.py | 36 rtemstoolkit/config.py| 60 +++-- rtemstoolkit/configuration.py | 35 ++-- rtemstoolkit/darwin.py| 13 ++- rtemstoolkit/execute.py | 16 ++-- rtemstoolkit/freebsd.py | 14 ++--

[PATCH] config: Consolidate the version information into a single configuration file

2018-10-02 Thread chrisj
From: Chris Johns --- config/rtems-version.ini | 8 ++ rtemstoolkit/check.py| 2 +- rtemstoolkit/options.py | 4 +- rtemstoolkit/rtems.py| 59 -- rtemstoolkit/version.py | 196 +-- tester/rt/check.py | 33

[PATCH] sb: Add support to search for a suitable vrsion of python.

2018-10-11 Thread chrisj
From: Chris Johns The command python has been removed from upstream python and python2 and python3 is now used. This patch wraps the commands in a shell script that locates a suitable python to run. Updates #3537 --- source-builder/pkg-config | 241 +++---

[PATCH] config: Create a config directory and move the RTEMS arch/bsp data to it.

2018-10-02 Thread chrisj
From: Chris Johns Closes #3536 --- {tester/rtems => config}/rtems-bsps-arm.ini | 0 {tester/rtems => config}/rtems-bsps-bfin.ini | 0 {tester/rtems => config}/rtems-bsps-epiphany.ini | 0 {tester/rtems => config}/rtems-bsps-i386.ini | 0 {tester/rtems =>

[PATCH] darwin: Work around symlink issues on Darwin with APFS building libstd++.

2018-10-06 Thread chrisj
From: Chris Johns See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 Updates #3171 --- ...7.3.0-newlib-d13c84eb07e35984bf7a974cd786a6cdac29e6b9.cfg | 5 + 1 file changed, 5 insertions(+) diff --git

[PATCH 1/2] sb/execute: Port the rtemstoolkit performance fixes for python3

2018-12-17 Thread chrisj
From: Chris Johns Close #3664. --- source-builder/sb/execute.py | 332 +-- 1 file changed, 278 insertions(+), 54 deletions(-) diff --git a/source-builder/sb/execute.py b/source-builder/sb/execute.py index 12d8114..0c25163 100755 ---

[PATCH 3/3] libdl: Add object file dependencies to track references

2018-11-20 Thread chrisj
From: Chris Johns Tracking references lets us manage when an object file can be unloaded. If an object file has references to it, it cannot be unloaded. Modules that depend on each other cannot be unloaded. Updates #3605 --- cpukit/include/rtems/rtl/rtl-obj-fwd.h | 6 +

[PATCH 1/3] libdl: Manage the allocation of common uninitialised variables.

2018-11-20 Thread chrisj
From: Chris Johns The use of separate text and data results in uninitialised variables being placed in the common section. There is no section in ELF for the common variables so the loader needs to create the section and allocate the variables in that section. This patch does that. The patch

[PATCH 2/3] ilibdl: Reindex unresolved names after removing used records.

2018-11-20 Thread chrisj
From: Chris Johns Updates #3194 --- cpukit/include/rtems/rtl/rtl-unresolved.h | 7 +- cpukit/libdl/rtl-unresolved.c | 140 +- 2 files changed, 126 insertions(+), 21 deletions(-) diff --git a/cpukit/include/rtems/rtl/rtl-unresolved.h

[PATCH] RTL Fixes

2018-11-20 Thread chrisj
Hi, These 3 patches fix 3 issues in libdl. 1. The first patch adds support for common variables. I suspect this started to happen when we switch to separate text and data sections for functions. Libdl now allocates the address of uninitialised variables when loading. 2. A bug in the

[PATCH v2 3/7] rtemstoolkit: Add unit testing for the python modules

2018-11-25 Thread chrisj
+ +will use python2. + Waf --- The Waf project can be found here: http://code.google.com/p/waf/ - -Simple instructions on How to set up Waf is here: - - http://www.rtems.org/ftp/pub/rtems/people/chrisj/rtl/rtems-linker/waf.html - diff --git a/rtemstoolkit/__init__.py b/rtemstoolkit/__init__.py

[PATCH v2 6/7] rtemstoolkit: Fixes to the reader and writer threads for capturing

2018-11-25 Thread chrisj
From: Chris Johns - Use the 'read1' file handle call to return if any data is queued for reading from stdout or stderr. - Flush the stdin pipe in the writer thread. These changes let the execute module work on Python2 and Python3. --- rtemstoolkit/execute.py | 3 ++- 1 file changed, 2

[PATCH v2 5/7] tester/gdb: mi_parser, fix on Python3 and remove globals

2018-11-25 Thread chrisj
From: Chris Johns - Fix mi_parser on Python3. Python3 does not support the __cmp__ operator and rich comparision operators are required, See PEP 207. - Remove the global variables and make a class containing them. Update the gdb class to use the mi_parser session class. Removing the globals

[PATCH v2 7/7] rtemstoolkit/git: Ignore untracked files in the dirty state.

2018-11-25 Thread chrisj
From: Chris Johns --- rtemstoolkit/git.py | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rtemstoolkit/git.py b/rtemstoolkit/git.py index e1dd029..b92391f 100644 --- a/rtemstoolkit/git.py +++ b/rtemstoolkit/git.py @@ -152,7 +152,10 @@ class repo: def dirty(self):

[PATCH v2] rtemstoolkit: Add unit testing for the python modules

2018-11-25 Thread chrisj
Hi, Please test these patches and report. The patches: - Add unittests for the rtemstoolkit python modules. To run enter: ./waf test The tests will be run for python2 and python3 is present on your host. - Improvie the reader thread line processor of child process stdio data. Switch

[PATCH v2 2/7] rtemstoolkit/execute: Use buffered output and improve performance

2018-11-25 Thread chrisj
From: Chris Johns - Use buffered output on the stdout and stderr streams from child processors. - Simplify the read thread line processing to improve performance. - Disable 'close_fds' as it slows down python3's popen call. - Update the importing of rtemstoolkit modules. ---

[PATCH v2 1/7] tester: Change the QEMU command line to match the RSB built QEMU.

2018-11-25 Thread chrisj
From: Chris Johns The command line changed and the RSB is the newer version. Make the old version via a config variable. --- tester/rtems/testing/qemu.cfg | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tester/rtems/testing/qemu.cfg b/tester/rtems/testing/qemu.cfg

[PATCH 1/3] tester: Change the QEMU command line to match the RSB built QEMU.

2018-11-22 Thread chrisj
From: Chris Johns The command line changed and the RSB is the newer version. Make the old version via a config variable. --- tester/rtems/testing/qemu.cfg | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tester/rtems/testing/qemu.cfg b/tester/rtems/testing/qemu.cfg

[PATCH 3/3] rtemstoolkit: Add unit testing for the python modules

2018-11-22 Thread chrisj
+ +will use python2. + Waf --- The Waf project can be found here: http://code.google.com/p/waf/ - -Simple instructions on How to set up Waf is here: - - http://www.rtems.org/ftp/pub/rtems/people/chrisj/rtl/rtems-linker/waf.html - diff --git a/rtemstoolkit/__init__.py b/rtemstoolkit/__init__.py

[PATCH] rtems-tools: Add unittests for python, fix stdio handling

2018-11-22 Thread chrisj
Hi, Please test these patches and report. The patches: - Add unittests for the rtemstoolkit python modules. To run enter: ./waf test The tests will be run for python2 and python3 is present on your host. - Improvie the reader thread line processor of child process stdio data. Switch

[PATCH 2/3] rtemstoolkit/execute: Use buffered output and improve performance

2018-11-22 Thread chrisj
From: Chris Johns - Use buffered output on the stdout and stderr streams from child processors. - Simplify the read thread line processing to improve performance. - Disable 'close_fds' as it slows down python3's popen call. - Update the importing of rtemstoolkit modules. ---

[PATCH] arm: Use bl for the boot_start_hook_0 calls to avoid JUMP11 calls.

2018-11-20 Thread chrisj
From: Chris Johns --- bsps/arm/shared/start/start.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bsps/arm/shared/start/start.S b/bsps/arm/shared/start/start.S index e4df46f656..f9f2baec32 100644 --- a/bsps/arm/shared/start/start.S +++ b/bsps/arm/shared/start/start.S

[PATCH] user/app: Add a simple Makefile example.

2019-03-31 Thread chrisj
From: Chris Johns Closes #3729 --- user/start/app.rst | 223 - 1 file changed, 220 insertions(+), 3 deletions(-) diff --git a/user/start/app.rst b/user/start/app.rst index fdf6bb7..0f2dda1 100644 --- a/user/start/app.rst +++ b/user/start/app.rst @@

[PATCH] pkg-config: Add extra variables to make building a simple app easier.

2019-03-31 Thread chrisj
From: Chris Johns Updates #3729 --- c/src/bsp.pc.in | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/c/src/bsp.pc.in b/c/src/bsp.pc.in index 9d948b8c53..fcc48fd6cc 100644 --- a/c/src/bsp.pc.in +++ b/c/src/bsp.pc.in @@ -8,8 +8,17 @@ exec_prefix=@exec_prefix@

[PATCH v3] libdl: Add an archive command

2019-03-20 Thread chrisj
From: Chris Johns - The archive command lists archives, symbols and any duplicate symbols. - Change the RTL shell commands to the rtems_printer to allow the output to be captured. --- cpukit/include/rtems/rtl/rtl-archive.h |1 + cpukit/include/rtems/rtl/rtl-shell.h | 28 +

[PATCH] shell/dl: Add dynamic loader commands

2019-03-20 Thread chrisj
From: Chris Johns --- shell/dl_commands.rst | 724 ++ shell/index.rst | 3 +- 2 files changed, 726 insertions(+), 1 deletion(-) create mode 100644 shell/dl_commands.rst diff --git a/shell/dl_commands.rst b/shell/dl_commands.rst new file mode

[PATCH] Set the small data section size to max. for mvme5500 and mvme2100 BSPs

2019-03-29 Thread chrisj
From: Chris Johns Closes #3728 --- bsps/powerpc/motorola_powerpc/start/linkcmds | 2 ++ bsps/powerpc/mvme5500/start/linkcmds | 2 ++ 2 files changed, 4 insertions(+) diff --git a/bsps/powerpc/motorola_powerpc/start/linkcmds b/bsps/powerpc/motorola_powerpc/start/linkcmds index

[PATCH] libdebugger: Use an offset table to format GDB `g` packets.

2019-04-07 Thread chrisj
From: Chris Johns Adding support for a register offset table lets FPU registers be supported if added to the backend. Closes #3733. --- .../rtems/debugger/rtems-debugger-server.h| 7 +- cpukit/libdebugger/rtems-debugger-arm.c | 281 --

[PATCH] Add a dynamic loader section.

2019-02-18 Thread chrisj
Hi, This patch adds a dynamic loader section to the User manual. The generated docs can be viewed at: https://ftp.rtems.org/pub/rtems/people/chrisj/rtl/5/doc/user/index.html https://ftp.rtems.org/pub/rtems/people/chrisj/rtl/5/doc/user.pdf https://ftp.rtems.org/pub/rtems/people/chrisj/rtl/5

[PATCH] user: Add a Dynamic Loader section.

2019-02-18 Thread chrisj
From: Chris Johns --- images/user/libdl-load.png | Bin 0 -> 38044 bytes images/user/libdl-load.puml | 39 ++ images/user/libdl.ditaa | 42 ++ images/user/libdl.png | Bin 0 -> 26974 bytes user/exe/executables.rst| 2 + user/exe/execution.rst |

[PATCH v2 7/8] Add commands and output to the README.

2019-02-27 Thread chrisj
From: Chris Johns --- README.txt | 28 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/README.txt b/README.txt index e002f60..3679d1d 100644 --- a/README.txt +++ b/README.txt @@ -415,14 +415,34 @@ existing documentation for an example and if unsure

[PATCH v2 6/8] user: Remove nit-picky warnings.

2019-02-27 Thread chrisj
From: Chris Johns --- user/bsps/bsps-powerpc.rst | 4 +- user/bsps/bsps-x86_64.rst | 16 +- user/exe/debugging.rst | 2 +- user/exe/index.rst | 12 +- user/exe/initialization.rst| 4 +- user/exe/loader.rst| 23 ++-

[PATCH v2 8/8] User: Change output block to type none.

2019-02-27 Thread chrisj
From: Chris Johns --- user/bsps/bsps-powerpc.rst| 4 ++-- user/bsps/bsps-x86_64.rst | 10 - user/bsps/index.rst | 2 +- user/exe/initialization.rst | 2 +- user/exe/loader.rst | 6 +++--- user/hardware/architectures.rst | 4 ++--

[PATCH v2 3/8] waf: Change --sphinx-verbose to --sphinx-options, add --sphinx-nit-pick

2019-02-27 Thread chrisj
From: Chris Johns Provide options to manage sphinx. Make using the nit-picky mode simpler to access. --- README.txt| 44 common/waf.py | 41 - 2 files changed, 68 insertions(+), 17 deletions(-) diff --git

[PATCH v2 4/8] waf: Add support for extra and excluded sources.

2019-02-27 Thread chrisj
From: Chris Johns --- common/waf.py| 46 posix-compliance/wscript | 3 ++- 2 files changed, 34 insertions(+), 15 deletions(-) diff --git a/common/waf.py b/common/waf.py index 949d693..6a65b42 100644 --- a/common/waf.py +++ b/common/waf.py

[PATCH v2 2/8] Add unicode support for commonly used characters like copyright.

2019-02-27 Thread chrisj
From: Chris Johns - This change makes the copyright character easier to see on editors lacking good unicode rendering support, ie terminals. --- bsp-howto/index.rst| 10 ++ c-user/index.rst | 16 +--- common/unicode.rst | 5 +

[PATCH v2 1/8] waf: Fix building the images in the src path.

2019-02-27 Thread chrisj
From: Chris Johns --- common/waf.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/waf.py b/common/waf.py index f859be7..d3bfbbf 100644 --- a/common/waf.py +++ b/common/waf.py @@ -394,7 +394,7 @@ def images_plantuml(ctx, source_dir, conf_dir, ext): return

[PATCH 2/6] Add unicode support for commonly used characters like copyright.

2019-02-20 Thread chrisj
From: Chris Johns - This change makes the copyright character easier to see on editors lacking good unicode rendering support, ie terminals. --- bsp-howto/index.rst| 10 ++ c-user/index.rst | 16 +--- common/unicode.rst | 5 +

[PATCH 4/6] waf: Add support for extra and excluded sources.

2019-02-20 Thread chrisj
From: Chris Johns --- common/waf.py| 46 posix-compliance/wscript | 3 ++- 2 files changed, 34 insertions(+), 15 deletions(-) diff --git a/common/waf.py b/common/waf.py index 949d693..6a65b42 100644 --- a/common/waf.py +++ b/common/waf.py

[PATCH 6/6] user: Remove nit-picky warnings.

2019-02-20 Thread chrisj
From: Chris Johns --- user/bsps/bsps-powerpc.rst | 4 +- user/bsps/bsps-x86_64.rst | 16 +- user/exe/debugging.rst | 2 +- user/exe/index.rst | 12 +- user/exe/initialization.rst| 4 +- user/exe/loader.rst| 23 ++-

[PATCH] Documentation clean ups.

2019-02-20 Thread chrisj
Hi, These patches clean up outstanding issues in the documentation: - Fix building images in the source directory - Provide a text unicode macro for copyright - Change --sphinx-verbose to --sphinx-options and add --sphinx-nit-pick to make nit-picky checking simpler - Allow extra and

[PATCH 3/6] waf: Change --sphinx-verbose to --sphinx-options, add --sphinx-nit-pick

2019-02-20 Thread chrisj
From: Chris Johns Provide options to manage sphinx. Make using the nit-picky mode simpler to access. --- README.txt| 44 common/waf.py | 41 - 2 files changed, 68 insertions(+), 17 deletions(-) diff --git

[PATCH 1/6] waf: Fix building the images in the src path.

2019-02-20 Thread chrisj
From: Chris Johns --- common/waf.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/waf.py b/common/waf.py index f859be7..d3bfbbf 100644 --- a/common/waf.py +++ b/common/waf.py @@ -394,7 +394,7 @@ def images_plantuml(ctx, source_dir, conf_dir, ext): return

[PATCH] user/test: Update with the latest test configuration format.

2019-03-06 Thread chrisj
From: Chris Johns --- user/testing/tests.rst | 110 +++-- 1 file changed, 96 insertions(+), 14 deletions(-) diff --git a/user/testing/tests.rst b/user/testing/tests.rst index 0b44d05..557cbc0 100644 --- a/user/testing/tests.rst +++ b/user/testing/tests.rst

[PATCH 2/3] testsuite: Make the OPERATION_COUNT a test configuration parameter.

2019-03-06 Thread chrisj
From: Chris Johns - Add a small memory test config file. - Update the small memory PowerPC BSPs to use the new test config. --- .../hurricane/config/hurricane-testsuite.tcfg | 2 +- .../rbtx4925/config/rbtx4925-testsuite.tcfg | 2 +- .../rbtx4938/config/rbtx4938-testsuite.tcfg | 2 +-

[PATCH 3/3] libdl: Add small data support to the remaining PowerPC BSPs.

2019-03-06 Thread chrisj
From: Chris Johns Updates #3687 --- .../gen5200/start/linkcmds.gen5200_base | 19 +- bsps/powerpc/haleakala/start/linkcmds | 12 bsps/powerpc/mpc8260ads/start/linkcmds| 24 --- bsps/powerpc/shared/start/linkcmds.share | 24 ++-

[PATCH 1/3] testsuite: Add rexclude, rinclude and cflags to test config files.

2019-03-06 Thread chrisj
From: Chris Johns --- testsuites/rtems-test-check.py | 94 ++ 1 file changed, 83 insertions(+), 11 deletions(-) diff --git a/testsuites/rtems-test-check.py b/testsuites/rtems-test-check.py index 8eef1a01c1..8af841957f 100755 --- a/testsuites/rtems-test-check.py

[PATCH v2] libdl: Add an archive command

2019-03-10 Thread chrisj
From: Chris Johns - The archive command lists archives, symbols and any duplicate symbols. - Change the RTL shell commands to the rtems_printer to allow the output to be captured. --- cpukit/include/rtems/rtl/rtl-archive.h | 10 + cpukit/include/rtems/rtl/rtl-shell.h | 17 +

libdl: Powerpc small data linkcmd support

2019-02-07 Thread chrisj
Hi, This is v2 of patch 11 of this series ... https://lists.rtems.org/pipermail/devel/2019-February/024704.html This patch is the only change so I am only posting the one patch from the series. Chris ___ devel mailing list devel@rtems.org

[PATCH v2 11/11] libdl: Add powerpc large memory and small data support.

2019-02-07 Thread chrisj
From: Chris Johns - Add support for architecure sections that can be handled by the architecture back end. - Add trampoline/fixup support for PowerPC. This means the PowerPC now supports large memory loading of applications. - Add a bit allocator to manage small block based regions of

[PATCH 2/4] libdl/archive: Fix the config file string index while removing tailing white space.

2019-02-17 Thread chrisj
From: Chris Johns Coverity issue 1442540 Updates #3686 --- cpukit/include/rtems/rtl/rtl-archive.h | 2 +- cpukit/libdl/rtl-archive.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cpukit/include/rtems/rtl/rtl-archive.h

[PATCH 3/4] libdl/archive: Check for an overflow of the symbol table.

2019-02-17 Thread chrisj
From: Chris Johns Coverty 1442636 Updates #3686 --- cpukit/libdl/rtl-archive.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/cpukit/libdl/rtl-archive.c b/cpukit/libdl/rtl-archive.c index 8490b4bc07..77ad2b0d30 100644 --- a/cpukit/libdl/rtl-archive.c +++

[PATCH 4/4] libdl/unresolved: Fix return value for rtems_rtl_unresolved_remove

2019-02-17 Thread chrisj
From: Chris Johns Coverity 1399717 Updates #3686 --- cpukit/libdl/rtl-unresolved.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpukit/libdl/rtl-unresolved.c b/cpukit/libdl/rtl-unresolved.c index 7ee572c351..dc21e9bcc1 100644 --- a/cpukit/libdl/rtl-unresolved.c +++

[PATCH 1/4] libdl/archive: Return false on read failure.

2019-02-17 Thread chrisj
From: Chris Johns Coverity issue 1442641 Updates #3686 --- cpukit/libdl/rtl-archive.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cpukit/libdl/rtl-archive.c b/cpukit/libdl/rtl-archive.c index 07d40187e1..faa6616eb1 100644 --- a/cpukit/libdl/rtl-archive.c +++

[PATCH] libdl/alloc: Add a locking interface to the allocator.

2019-02-17 Thread chrisj
From: Chris Johns - Allow an allocator to lock the allocations. This is needed to lock the heap allocator so the text and trampoline table are as close together as possible to allow for the largest possible object file size. - Update the default heap allocator to lock the heap allocator.

[PATCH] rtems/5: Add the required MacOS APFS workround for building libstdc++.

2019-02-09 Thread chrisj
From: Chris Johns --- rtems/config/tools/rtems-gcc-7.4.0-newlib-3e24fbf6f.cfg | 5 + 1 file changed, 5 insertions(+) diff --git a/rtems/config/tools/rtems-gcc-7.4.0-newlib-3e24fbf6f.cfg b/rtems/config/tools/rtems-gcc-7.4.0-newlib-3e24fbf6f.cfg index 7098b6d..b014b7d 100644 ---

MacOS APFS libstdc++ build workaround

2019-02-09 Thread chrisj
Hi, I will push this patch. It is needed on some MacOS system where the APFS file system and building GCC's libstdc++ fail. This patch was in the gcc-7.3.0 builds so it would be good if this patch could move with gcc as it changes. I doubt this part of gcc build system will change anytime soon.

[PATCH] sb/rtems-build-dep: Fix arg check loop, removes stray 0 in build.

2019-02-09 Thread chrisj
From: Chris Johns --- source-builder/sb/rtems-build-dep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source-builder/sb/rtems-build-dep b/source-builder/sb/rtems-build-dep index 7e406c5..1f795d3 100755 --- a/source-builder/sb/rtems-build-dep +++

[PATCH 2/2] waf: Fix version.py to support older versions of git.

2019-02-12 Thread chrisj
From: Chris Johns --- common/version.py | 53 --- wscript | 1 + 2 files changed, 37 insertions(+), 17 deletions(-) diff --git a/common/version.py b/common/version.py index 3ba9454..0f37dad 100644 --- a/common/version.py +++

[PATCH 1/2] waf: Remove as many sys path hacks as we can.

2019-02-12 Thread chrisj
From: Chris Johns There are still sys.path hacks in the conf.py files. They cannot be removed because the instance of python running the sphinx-build command does not see our top level path hacks. I looked at using PYTHONPATH but I could not figure out how to set a process environ var for a waf

[PATCH v2 1/3] waf: Remove as many sys path hacks as we can.

2019-02-12 Thread chrisj
From: Chris Johns There are still sys.path hacks in the conf.py files. They cannot be removed because the instance of python running the sphinx-build command does not see our top level path hacks. I looked at using PYTHONPATH but I could not figure out how to set a process environ var for a waf

[PATCH v2 2/3] waf: Fix version.py to support older versions of git.

2019-02-12 Thread chrisj
From: Chris Johns --- common/version.py | 51 +++ wscript | 1 + 2 files changed, 35 insertions(+), 17 deletions(-) diff --git a/common/version.py b/common/version.py index 3ba9454..9beb3e7 100644 --- a/common/version.py +++

[PATCH v2 3/3] waf: Use the release date in the coverpage

2019-02-12 Thread chrisj
From: Chris Johns --- common/coverpage/coverpage.html | 4 ++-- wscript | 16 ++-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/common/coverpage/coverpage.html b/common/coverpage/coverpage.html index 442093b..17ce056 100644 ---

[PATCH] libdl: Allocator does not unlock and lock memory on loading.

2019-02-13 Thread chrisj
From: Chris Johns Close #3692 --- cpukit/include/rtems/rtl/rtl-allocator.h | 70 +++- cpukit/libdl/rtl-alloc-heap.c| 6 +- cpukit/libdl/rtl-alloc-heap.h| 4 +- cpukit/libdl/rtl-allocator.c | 84 +---

[PATCH] Use pathto() on the genindex URL to make it relative.

2019-02-14 Thread chrisj
From: Chris Johns --- bsp-howto/index.rst | 2 -- c-user/index.rst | 2 -- common/_templates/layout.html | 2 +- cpu-supplement/index.rst | 2 -- develenv/index.rst| 2 -- eclipse/index.rst | 2 -- eng/index.rst | 2 --

[PATCH] linkers/syms: Add symbol filtering.

2019-02-10 Thread chrisj
From: Chris Johns - Filter symbols by regx. - Return the name of a symbol via demangled() even it is not a mangled C++ function. --- linkers/rtems-syms.cpp | 122 +-- rtemstoolkit/rld-symbols.cpp | 6 +- 2 files changed, 106 insertions(+), 22

[PATCH] libdl/rap: Add the section alloc call after section load was split

2019-02-14 Thread chrisj
From: Chris Johns Updates #3687 --- cpukit/libdl/rtl-rap.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/cpukit/libdl/rtl-rap.c b/cpukit/libdl/rtl-rap.c index afbc268be6..937d48895b 100644 --- a/cpukit/libdl/rtl-rap.c +++ b/cpukit/libdl/rtl-rap.c @@ -967,6 +967,12 @@

[PATCH 2/2] Fix building with Sphinx 1.8 and later.

2019-02-05 Thread chrisj
From: Chris Johns - Provide the pytnon.ist file for makeindex. - Add support for xelatex building so we can switch if we want too. Closes #3669 --- common/conf.py | 8 +--- common/waf.py | 39 --- 2 files changed, 33 insertions(+), 14 deletions(-)

[PATCH 1/2] Support VERSION file for releasing and deployment

2019-02-05 Thread chrisj
From: Chris Johns - Shorten the GIT hash. --- common/version.py | 150 ++ wscript | 55 +++-- 2 files changed, 170 insertions(+), 35 deletions(-) create mode 100644 common/version.py diff --git a/common/version.py

[PATCH 03/11] powerpc/psim: Increase the psim memory to 256M

2019-02-04 Thread chrisj
From: Chris Johns This allows test dl09 to run and test PowePC backend trampoline support. Updates #3685 --- bsps/powerpc/psim/start/bspstart.c | 4 ++-- bsps/powerpc/psim/start/device-tree | 2 +- bsps/powerpc/psim/start/linkcmds| 7 ++- 3 files changed, 9 insertions(+), 4

[PATCH 04/11] libdl: Add symbol searching and loading from archives.

2019-02-04 Thread chrisj
From: Chris Johns - Load archive symbol tables to support searching of archives for symbols. - Search archive symbols and load the object file that contains the symbol. - Search the global and archives until all remaining unresolved symbols are not found. Group the loaded object files in

[PATCH 07/11] libtest/dl08: Add a test for archives.

2019-02-04 Thread chrisj
From: Chris Johns - Create 2 archives. - Load 1 object file which loads 6 object files from the libraries. Updates #3686 --- cpukit/headers.am | 1 + testsuites/libtests/Makefile.am | 55 +++- testsuites/libtests/configure.ac | 1 +

[PATCH 09/11] libdl: Add support for trampolines

2019-02-04 Thread chrisj
From: Chris Johns - Trampolines or fixups for veneers provide long jump support for instruciton sets that implement short relative address branches. The linker provides trampolines when creating a static image. This patch adds trampoline support to libdl and the ARM architecture. - The

[PATCH 11/11] libdl: Add powerpc large memory and small data support.

2019-02-04 Thread chrisj
From: Chris Johns - Add support for architecure sections that can be handled by the architecture back end. - Add trampoline/fixup support for PowerPC. This means the PowerPC now supports large memory loading of applications. - Add a bit allocator to manage small block based regions of

[PATCH 06/11] libtests/dl02: Update the rtl-shell path. More verbose test.

2019-02-04 Thread chrisj
From: Chris Johns Updates #3686 --- testsuites/libtests/dl07/dl-load.c | 21 - 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/testsuites/libtests/dl07/dl-load.c b/testsuites/libtests/dl07/dl-load.c index 6e0262c7df..b0f8bd9dac 100644 ---

[PATCH 10/11] libdl: Add support for large memory programs

2019-02-04 Thread chrisj
From: Chris Johns - Add trampolines to support relocs that are out of range on support architectures. - Support not loading separate text/data sections in an object file if the symbol provided in the section is a duplicate. A base image may have pulled in part of an object and another

[PATCH 08/11] libdl: Fix the support for constructors and desctructors.

2019-02-04 Thread chrisj
From: Chris Johns - Fix the handling of pending objects. - Add a constructor flags in objects to track then being called. Closes #2921 --- cpukit/include/rtems/rtl/rtl-obj.h| 1 + cpukit/libdl/rtl-elf.c| 21 + cpukit/libdl/rtl-mdreloc-arm.c

[PATCH 01/11] libmisc: Fix rtems_print_buffer

2019-02-04 Thread chrisj
From: Chris Johns Closes #3684 --- cpukit/libmisc/dumpbuf/dumpbuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpukit/libmisc/dumpbuf/dumpbuf.c b/cpukit/libmisc/dumpbuf/dumpbuf.c index a27d685f72..ed4868cdb4 100644 --- a/cpukit/libmisc/dumpbuf/dumpbuf.c +++

[PATCH 02/11] libdl: Fix dlerror non-conformance

2019-02-04 Thread chrisj
From: Chris Johns Closes #3298 --- cpukit/libdl/dlfcn.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cpukit/libdl/dlfcn.c b/cpukit/libdl/dlfcn.c index 1d7164539b..b97078cbaa 100644 --- a/cpukit/libdl/dlfcn.c +++ b/cpukit/libdl/dlfcn.c @@ -129,7 +129,10 @@ const char*

[PATCH 05/11] libtests/dl02: Update the rtl-shell path.

2019-02-04 Thread chrisj
From: Chris Johns Updates #3686 --- testsuites/libtests/dl02/dl-load.c | 1 + 1 file changed, 1 insertion(+) diff --git a/testsuites/libtests/dl02/dl-load.c b/testsuites/libtests/dl02/dl-load.c index a00581ab42..0fa897d5a0 100644 --- a/testsuites/libtests/dl02/dl-load.c +++

Libdl support for library searching and load and large memory support.

2019-02-04 Thread chrisj
Hi, The patch series adds: - Archive or library searching for unresolved symbols loading the first object file that provdes the symbol. - Large memory support for architectures that use small relative branch instructions. - Libdl small data support for the PowerPC. - Increase the psim

[PATCH] rtems/5: Update to gdb-8.2.2 with Jiri's SIS and RISCV patches.

2019-02-04 Thread chrisj
From: Chris Johns --- rtems/config/5/rtems-default.bset| 2 +- rtems/config/tools/rtems-gdb-8.2.1-1.cfg | 18 ++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 rtems/config/tools/rtems-gdb-8.2.1-1.cfg diff --git a/rtems/config/5/rtems-default.bset

[PATCH v2] rtems/5: Update to gdb-8.2.1 with Jiri's SIS and RISCV patches.

2019-02-05 Thread chrisj
From: Chris Johns --- rtems/config/5/rtems-default.bset| 2 +- rtems/config/5/rtems-riscv.bset | 2 +- rtems/config/tools/rtems-gdb-8.2.1-1.cfg | 18 ++ 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644

[PATCH v3] rtems/5: Update to gdb-8.2.1 with Jiri's SIS and RISCV patches.

2019-02-05 Thread chrisj
From: Chris Johns --- rtems/config/5/rtems-default.bset| 2 +- rtems/config/5/rtems-riscv.bset | 2 +- rtems/config/tools/rtems-gdb-8.2.1-1.cfg | 18 ++ 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644

[PATCH 3/4] tester/check: Covert the indent size to an int.

2019-02-04 Thread chrisj
From: Chris Johns --- tester/rt/check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tester/rt/check.py b/tester/rt/check.py index f81ee70..3bb24e3 100755 --- a/tester/rt/check.py +++ b/tester/rt/check.py @@ -304,7 +304,7 @@ class warnings_errors:

[PATCH 1/4] tester: Increase the psim memory size to match the BSP.

2019-02-04 Thread chrisj
From: Chris Johns --- tester/rtems/testing/bsps/psim-device-tree | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tester/rtems/testing/bsps/psim-device-tree b/tester/rtems/testing/bsps/psim-device-tree index 6049da4..d0b5f7c 100644 ---

[PATCH 2/4] rtemstoolkit/execute: Print the trace exe command as a string and not list.

2019-02-04 Thread chrisj
From: Chris Johns --- rtemstoolkit/execute.py | 38 +- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/rtemstoolkit/execute.py b/rtemstoolkit/execute.py index d509664..35f616c 100755 --- a/rtemstoolkit/execute.py +++ b/rtemstoolkit/execute.py

  1   2   3   4   5   6   7   >