[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 b/cpukit/include/rt

[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 + cpukit/include/rtems/

[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 inde

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

2018-11-22 Thread chrisj
HON_OVERRIDE=python2 + +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/rtem

[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. --- rtemstoolkit/execu

[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 4/7] tester: Minor formatting change.

2018-11-25 Thread chrisj
From: Chris Johns --- tester/rt/test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tester/rt/test.py b/tester/rt/test.py index 13c1e6e..cc9e9f7 100644 --- a/tester/rt/test.py +++ b/tester/rt/test.py @@ -148,8 +148,9 @@ class test_run(object): self.end_time = d

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

2018-11-25 Thread chrisj
HON_OVERRIDE=python2 + +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/rtem

[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 inserti

[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. --- rtemstoolkit/execu

[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 inde

[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 --- a/source-builder/sb/execute.py

[PATCH 2/2] gdb/python: Use python-config for the configuration if found.

2018-12-17 Thread chrisj
From: Chris Johns - Do not assume the installed paths for the header and library. Ask python-config if found. Close #3537. --- source-builder/config/gdb-common-1.cfg | 25 + source-builder/sb/rtems-build-dep | 2 +- 2 files changed, 22 insertions(+), 5 deletions(

[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 deletions(-

[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 th

[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 +++ b/cpukit/libm

[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 +++ b/testsuites/libtes

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 BSP

[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 memor

[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 + te

[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 d

[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 --- a/testsuites/libtests

[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 pa

[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] 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 4/4] rtemstoolkit/config: Unlock when printing to avoid blocking.

2019-02-04 Thread chrisj
From: Chris Johns --- tester/rt/config.py | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/tester/rt/config.py b/tester/rt/config.py index 673c39b..457c0bd 100644 --- a/tester/rt/config.py +++ b/tester/rt/config.py @@ -46,6 +46,8 @@ from rtemstoolkit import execute

[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 --- a/tester/rtems/testing/bsps/psim-device-

[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 @

[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 rtems/config/tools/rtems-gdb-8.2.1-1.c

[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 rtems/config/tools/rtems-gdb-8.2.1-1.c

[PATCH v4] 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/5/rtems-sparc.bset | 13 + rtems/config/tools/rtems-gdb-8.2.1-1.cfg | 18 ++ 4 files changed, 21 insertions(+), 14 deletions

[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(-) dif

[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 b/common/vers

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 http://li

[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 memor

[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 --- a/rtems/conf

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 +++ b/source-builder/sb/rtems-b

[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 deletions(-

[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 +++ b/common/versio

[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 b

[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 b

[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 +++ b/common/versio

[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 --- a/common/cov

[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 +--- cpukit/libdl/rtl-obj.c

[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 -- filesyst

[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 @@ rtems_rtl_rap_fi

[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 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 b/cpukit/include/rtems/rtl/rtl-archiv

[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 +++ b/

[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 +++ b/

[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 +++ b/cpukit/libdl/rtl-archive.c

[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 | 2

[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 r

[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 + cpu-supplement/i

[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 ++- use

[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 exc

[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 a

[PATCH 5/6] Add a cheetsheet link to the README.txt

2019-02-20 Thread chrisj
From: Chris Johns --- README.txt | 4 1 file changed, 4 insertions(+) diff --git a/README.txt b/README.txt index ed05fb8..e002f60 100644 --- a/README.txt +++ b/README.txt @@ -24,6 +24,10 @@ created is worth it. Images can be created from source using PlantUML and Ditaa. +A Sphinx chec

[PATCH v2 5/8] Add a cheetsheet link to the README.txt

2019-02-27 Thread chrisj
From: Chris Johns --- README.txt | 4 1 file changed, 4 insertions(+) diff --git a/README.txt b/README.txt index ed05fb8..e002f60 100644 --- a/README.txt +++ b/README.txt @@ -24,6 +24,10 @@ created is worth it. Images can be created from source using PlantUML and Ditaa. +A Sphinx chec

[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 + cpu-supplement/i

[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 r

[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 a

[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 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 ask

[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 ++- use

[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 ++-- u

[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 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 ++- bsps/powerpc/ss555/start

[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] libdl: Add an archive command

2019-03-09 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 ++ cpukit/libd

[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 + cpukit/inclu

[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 + cpukit/inc

[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 1006

[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 ae44032d4

[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@ libdir

[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 @@ -1

[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 -- cpukit/libdebugger/rtems-debugg

[PATCH v2] libdebugger: Fix for ARMv7-M with -O0 optimization

2019-04-09 Thread chrisj
From: Chris Johns --- cpukit/libdebugger/rtems-debugger-arm.c| 24 ++ cpukit/libdebugger/rtems-debugger-server.c | 2 +- 2 files changed, 21 insertions(+), 5 deletions(-) diff --git a/cpukit/libdebugger/rtems-debugger-arm.c b/cpukit/libdebugger/rtems-debugger-arm.c ind

[PATCH] libdl: Do not access the ELF file while the allocator is locked.

2019-05-02 Thread chrisj
From: Chris Johns - Load symbols before allocation. - Parse reloc records and place any reloc recs in a cache to use while the allocator is locked. - Relocate symbols after section allocation. - Split section loading into allocation/locating and loading. - Update all arch back-ends with a new r

[PATCH] libdl allocator deadlock

2019-05-02 Thread chrisj
Hi, This patch fixes the deadlock with libbsd's nfs client when loading ELF images. I have built and test psim and xilinx A9 qemu bsps. I will try and build all archs over the weekend. Please test and report if this fixes the deadlock. Thanks Chris _

[PATCH] sb/config: Fix os and arch conditional logic.

2019-05-06 Thread chrisj
From: Chris Johns Correctly split the argument list and check each element. Closes #3743 --- source-builder/sb/config.py | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/source-builder/sb/config.py b/source-builder/sb/config.py index b7bf403..df81d42 100644 --- a/sou

<    2   3   4   5   6   7