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

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
(gdb) f 1
#1  0x000000000043b9b4 in _bfd_generic_link_add_one_symbol (
    info=0x667620 <link_info>, abfd=0x6d9240, 
    name=0xa756d2 "_efi_set_variable", flags=2, section=0xa661e8, value=29806, 
    string=0x0, copy=false, collect=false, hashp=0x7e0ce0)
    at /export/gnu/import/git/gitlab/x86-binutils/bfd/linker.c:1685
1685              if (strcmp (h->u.i.link->root.string, string) == 0)
(gdb) p h->u.i.link->root.string
$2 = 0x7da6cb "_efi_set_varia...@libefivar.so.0"
(gdb) p string
$3 = 0x0
(gdb)

4985          if (! (_bfd_generic_link_add_one_symbol
4986                 (info, override ? override : abfd, name, flags, sec,
value,
4987                  NULL, false, bed->collect,
                      ^^^^
4988                  (struct bfd_link_hash_entry **) sym_hash)))

calls _bfd_generic_link_add_one_symbol with string == NULL.

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

Reply via email to