[RTEMS Project] #4069: dl06 does not link on RISCV

RTEMS trac trac at rtems.org
Fri Sep 11 08:07:21 UTC 2020


#4069: dl06 does not link on RISCV
-------------------------+-------------------------------------------------
 Reporter:  Chris Johns  |       Owner:  Hesham Almatary
                         |  <Hesham.Almatary@…>
     Type:  defect       |      Status:  reopened
 Priority:  normal       |   Milestone:  6.1
Component:  tool         |     Version:  6
 Severity:  normal       |  Resolution:
 Keywords:               |  Blocked By:
 Blocking:               |
-------------------------+-------------------------------------------------

Comment (by Chris Johns):

 I am starting to suspect the issue is the `R_RISCV_RELAX` reloc records
 and the call sites. The simplest approach is to ignore those relocs and
 just use 32bit destinations or implement the 21bit relative offset if the
 target is in range.

 The RISCV relax approach is nicer to libdl than the ARM or PowerPC
 trampoline support.

--
Ticket URL: <http://devel.rtems.org/ticket/4069#comment:18>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list