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

RTEMS trac trac at rtems.org
Sun Sep 29 22:16:59 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 Chris Johns):

 Thank you for the patch. I am not sure we can remove the check for
 `STT_NOTYPE` so should the change be ...
 {{{
 if (ELF_ST_BIND(sym->st_info) == STB_GLOBAL ||
     ELF_ST_TYPE(sym->st_info) == STT_NOTYPE ||
     sym->st_shndx == SHN_COMMON)
 {
  ...
 }}}
 I am concerned removing `STT_NOTYPE` may break other architectures.

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


More information about the bugs mailing list