https://sourceware.org/bugzilla/show_bug.cgi?id=34038

            Bug ID: 34038
           Summary: [PATCH] ELF object files containing an STT_GNU_IFUNC
                    symbol cause seg-faults on targets that don't support
                    dynamic linking
           Product: binutils
           Version: 2.47 (HEAD)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: joel at airwebreathe dot org.uk
  Target Milestone: ---

Created attachment 16678
  --> https://sourceware.org/bugzilla/attachment.cgi?id=16678&action=edit
bfd: fix null pointer dereference in elf_link_output_extsym for IFUNC symbols

When linking an ELF object file containing an STT_GNU_IFUNC symbol,
elf_link_output_extsym() unconditionally calls the backend's
elf_backend_finish_dynamic_symbol callback.  On targets that do not support
dynamic linking (and therefore do not define this callback), the function
pointer is NULL, causing a segmentation fault.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to