[rtems-tools PATCH] tester/sis: Use the RTEMS SIS command

2023-08-16 Thread chrisj
From: Chris Johns Make sis and sis-run the same as there is no SIS support in gdb anymore. Closes #4945 --- tester/rtems/testing/bsps/sis-run.ini | 2 +- tester/rtems/testing/bsps/sis.ini | 6 ++ 2 files changed, 3 insertions(+), 5 deletions(-) diff --git

[rtems-tools PATCH v2] linker: Add TLS support to the symbol table generator

2023-08-16 Thread chrisj
From: Chris Johns Updates #4920 --- linkers/rtems-syms.cpp | 179 ++--- 1 file changed, 134 insertions(+), 45 deletions(-) diff --git a/linkers/rtems-syms.cpp b/linkers/rtems-syms.cpp index e5170e1..c72ee55 100644 --- a/linkers/rtems-syms.cpp +++

v2 libdl support for base image TLS variables

2023-08-16 Thread chrisj
These patches add support to rtems.git and rtems-tools.git to provide access to TLS variables in the base from loaded code. The changes contain the ground work to resolving #4920 which is a blocker for the release of 6. This change is required due to the regression in libdl due to the change in

[PATCH v2] libdl: Add support to import base image TLS symbols

2023-08-16 Thread chrisj
From: Chris Johns This change requires an rtems-tools update for symbol generation. Working architectures: - aarch64 - arm - powerpc - sparc No newlib TLS support but checked: - i386 - m69k Updates #4920 --- cpukit/include/rtems/rtl/rtl-sym.h | 26 - cpukit/include/rtems/rtl/rtl.h

Re: [PATCH rtems-tools] tester/report: Apply test excludes to fatal-error

2023-08-16 Thread Chris Johns
On 17/8/2023 7:36 am, Kinsey Moore wrote: > Before the fatal-error test result type was introduced, minimum.exe was > classified as an invalid test since it lacked a proper test header and > trailer. This applies the test exclusions to all test states to avoid > this happening again in the future.

Re: [PATCH] spec/cpukit: Omit Cortex-M from libdebugger build

2023-08-16 Thread Chris Johns
On 17/8/2023 6:30 am, Kinsey Moore wrote: > The current ARM support in libdebugger does not cover Cortex-M series > cores since it requires support for CP14 system register accessor > instructions. Cortex-M series cores support debug monitor mode, but its > configuration is accessed by memory

Re: libdl support for base image TLS variables

2023-08-16 Thread Chris Johns
On 17/8/2023 11:57 am, Joel Sherrill wrote: > On Wed, Aug 16, 2023, 8:30 PM Chris Johns > wrote: > > On 17/8/2023 6:34 am, Gedare Bloom wrote: > > On Mon, Aug 14, 2023 at 10:05 PM > wrote: > >> > >> These patches add support

Re: libdl support for base image TLS variables

2023-08-16 Thread Joel Sherrill
On Wed, Aug 16, 2023, 8:30 PM Chris Johns wrote: > On 17/8/2023 6:34 am, Gedare Bloom wrote: > > On Mon, Aug 14, 2023 at 10:05 PM wrote: > >> > >> These patches add support to rtems.git and rtems-tools.git to > >> provide access to TLS variables in the base from loaded code. > >> The changes

Re: libdl support for base image TLS variables

2023-08-16 Thread Chris Johns
On 17/8/2023 6:34 am, Gedare Bloom wrote: > On Mon, Aug 14, 2023 at 10:05 PM wrote: >> >> These patches add support to rtems.git and rtems-tools.git to >> provide access to TLS variables in the base from loaded code. >> The changes contain the ground work to resolving #4920 which is >> a blocker

Re: [PATCH] libdl: Add support to import base image TLS symbols

2023-08-16 Thread Chris Johns
Thanks for the detailed review. It is so nice to have this happen. I will post v2 soon. On 17/8/2023 6:55 am, Gedare Bloom wrote: > On Mon, Aug 14, 2023 at 10:05 PM wrote: >> >> From: Chris Johns >> >> This change requires an rtems-tools update for symbol generation. >> >> Working

Re: [PATCH 0/2 v3] Refactor the aarch64/raspberryp4b BSP

2023-08-16 Thread Utkarsh Verma
A gentle reminder for this patch. On Thu, Aug 10, 2023 at 11:45 AM Utkarsh Verma wrote: > A gentle reminder for this. Please let me know which changes are required > so that I can send the next set of patches as well. > > On Wed, Aug 9, 2023 at 9:20 AM Utkarsh Verma > wrote: > >> Changes can

[PATCH rtems-tools] tester/report: Apply test excludes to fatal-error

2023-08-16 Thread Kinsey Moore
Before the fatal-error test result type was introduced, minimum.exe was classified as an invalid test since it lacked a proper test header and trailer. This applies the test exclusions to all test states to avoid this happening again in the future. --- tester/rt/report.py | 15 +++ 1

Re: [PATCH] libdl: Add support to import base image TLS symbols

2023-08-16 Thread Gedare Bloom
On Mon, Aug 14, 2023 at 10:05 PM wrote: > > From: Chris Johns > > This change requires an rtems-tools update for symbol generation. > > Working architectures: > - aarch64 > - arm > - powerpc > - sparc > > Updates #4920 > --- > cpukit/include/rtems/rtl/rtl-sym.h | 23 - >

Re: libdl support for base image TLS variables

2023-08-16 Thread Gedare Bloom
On Mon, Aug 14, 2023 at 10:05 PM wrote: > > These patches add support to rtems.git and rtems-tools.git to > provide access to TLS variables in the base from loaded code. > The changes contain the ground work to resolving #4920 which is > a blocker for the release of 6. > > This change is required

[PATCH] spec/cpukit: Omit Cortex-M from libdebugger build

2023-08-16 Thread Kinsey Moore
The current ARM support in libdebugger does not cover Cortex-M series cores since it requires support for CP14 system register accessor instructions. Cortex-M series cores support debug monitor mode, but its configuration is accessed by memory mapped registers instead of using CP14. This omits