Re: [PATCH] RTL: Fixed comparison of ELF object names

2014-08-31 Thread Chris Johns
On 4/11/2013 1:01 pm, Mohammed Khoory wrote: Hi, While using RTL with ELF files, I noticed that if I load 2 ELF files via dlopen(), the first one loads correctly, but the second load call returns the same pointer to the first ELF handle. After looking a bit further I noticed that the ELF names w

[PATCH 2/3] or1ksim: Add tm27.h to include_HEADERS

2014-08-31 Thread Hesham ALMatary
Add tm27.h to include_HEADERS instead of include_bsp_HEADERS for or1ksim BSP. --- c/src/lib/libbsp/or1k/or1ksim/Makefile.am | 1 + c/src/lib/libbsp/or1k/or1ksim/preinstall.am | 10 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/c/src/lib/libbsp/or1k/or1ksim/Makefile.a

[PATCH 3/3] or1k: Implement context validate and context volatile clobber functions.

2014-08-31 Thread Hesham ALMatary
score/cpu/or1k: Add two new assembly functions: _CPU_Context_validate and _CPU_Context_volatile_clobber; their implementation follows corresponding ARM functions. --- cpukit/score/cpu/or1k/Makefile.am | 2 + cpukit/score/cpu/or1k/or1k-context-validate.S | 186 ++

[PATCH 1/3] Add missing r31 load instruction _ISR_Handler

2014-08-31 Thread Hesham ALMatary
_ISR_Handler: r31 was not loaded in restore function. This patch adds this load. --- cpukit/score/cpu/or1k/or1k-exception-handler-low.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpukit/score/cpu/or1k/or1k-exception-handler-low.S b/cpukit/score/cpu/or1k/or1k-exception-h