[RTEMS Project] #4920: libdl does not support TLS

RTEMS trac trac at rtems.org
Fri Sep 22 18:18:30 UTC 2023


#4920: libdl does not support TLS
-------------------------+---------------------
 Reporter:  Chris Johns  |       Owner:  (none)
     Type:  defect       |      Status:  new
 Priority:  normal       |   Milestone:  6.1
Component:  lib/dl       |     Version:  6
 Severity:  blocker      |  Resolution:
 Keywords:               |  Blocked By:
 Blocking:               |
-------------------------+---------------------

Comment (by Kinsey Moore):

 For Moxie in sptls01.exe:

 Retrieving TLS space:
     2022:       03 00 00 00     jsra    1c4e <__emutls_get_address>
     2026:       1c 4e
 (return value stored in r0)

 Retrieving value:
     1e98:       1c 32           ld.b    $r1, ($r0)

 Storing value (TLS address moved to r10):
     202a:       1b 20 00 00     ldi.b   $r0, 0x5
     202e:       00 05
     2030:       1e c2           st.b    ($r10), $r0

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


More information about the bugs mailing list