[RFC] libdl: Make Elf_Sym::st_other available

2024-02-26 Thread Sebastian Huber
The 64-bit PowerPC ELFv2 relocation support needs access to the Elf_Sym::st_other symbol information. The machine-specific relocation handler had only access to the Elf_Sym::st_info symbol information. This change extends the 8-bit syminfo parameter to 16-bit and uses the additional 8-bits to

Re: [PATCH] improved error checking in ticks per timeslice

2024-02-26 Thread Sebastian Huber
On 19.02.24 03:13, zakthertems...@gmail.com wrote: +#if defined(CONFIGURE_TICKS_PER_TIMESLICE) + #if CONFIGURE_TICKS_PER_TIMESLICE <= 0 +#error "CONFIGURE_TICKS_PER_TIMESLICE shall be greater than zero" + #endif +#endif This should be #if defined(CONFIGURE_TICKS_PER_TIMESLICE) &&

Re: [PATCH] improved error checking in ticks per timeslice

2024-02-26 Thread zack leung
ping On Tue, 20 Feb 2024 at 20:25, zack leung wrote: > ping > > On Sun, 18 Feb 2024 at 21:15, wrote: > >> --- >> cpukit/doxygen/appl-config.h | 2 +- >> cpukit/include/rtems/confdefs/clock.h | 6 ++ >> 2 files changed, 7 insertions(+), 1 deletion(-) >> >> diff --git

Patch with modified hello world

2024-02-26 Thread Seif Alrahman Ahmed Mohamed Alfakharany
SeifalrahmanAhmedAlfakharany.patch Description: Binary data ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

[RTEMS Tools 4/4] rld: Recognize 64-bit PowerPC

2024-02-26 Thread Sebastian Huber
Close #4995. --- rtemstoolkit/rld-elf.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rtemstoolkit/rld-elf.cpp b/rtemstoolkit/rld-elf.cpp index 8b55818..b131461 100644 --- a/rtemstoolkit/rld-elf.cpp +++ b/rtemstoolkit/rld-elf.cpp @@ -1178,6 +1178,7 @@ namespace rld { "m68k",

[RTEMS Tools 2/4] linkers: Constify read-only data

2024-02-26 Thread Sebastian Huber
--- linkers/rtems-syms.cpp | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/linkers/rtems-syms.cpp b/linkers/rtems-syms.cpp index 9fe552e..377007d 100644 --- a/linkers/rtems-syms.cpp +++ b/linkers/rtems-syms.cpp @@ -53,7 +53,7 @@ /** * Header text. */

[RTEMS Tools 1/4] linkers: Avoid void pointer arithmetic

2024-02-26 Thread Sebastian Huber
--- linkers/rtems-syms.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/linkers/rtems-syms.cpp b/linkers/rtems-syms.cpp index f0ac2bb..9fe552e 100644 --- a/linkers/rtems-syms.cpp +++ b/linkers/rtems-syms.cpp @@ -322,9 +322,9 @@ output_sym::operator ()(const

[RTEMS Tools 3/4] linkers: Allow generation of symbol map file only

2024-02-26 Thread Sebastian Huber
If a symbol map file is specified by the user and no output file, then just generate the symbol map file. The user can then compile the file using its own build jobs. --- linkers/rtems-syms.cpp | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git