[RTEMS Project] #3740: Libld does not load incrementially linked object file

RTEMS trac trac at rtems.org
Tue Oct 8 01:57:12 UTC 2019


#3740: Libld does not load incrementially linked object file
-------------------------+--------------------------
 Reporter:  Chris Johns  |       Owner:  Chris Johns
     Type:  defect       |      Status:  assigned
 Priority:  normal       |   Milestone:  5.1
Component:  lib/dl       |     Version:  5
 Severity:  normal       |  Resolution:
 Keywords:               |  Blocked By:
 Blocking:               |
-------------------------+--------------------------

Comment (by jameszxj):

 This does not work on arm. From IHI0044E_aaelf.pdf section 4.5.2 ,
 STT_NOTYPE does not mean a global symbol.

 The function if(...) is to make a distinction between GLOBAL symbols and
 LOCAL symbols, so use (ELF_ST_TYPE(sym->st_info) == STT_NOTYPE ) is wrong
 on ARM architectures.
 BTW: (ELF_ST_TYPE(sym->st_info) == STT_FUNC) works too on ARM.

 But your concern is reasonable, I think we should test on diffrent
 architectures.

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


More information about the bugs mailing list