We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c4a55b commit bc2085eCopy full SHA for bc2085e
bfd/arc-got.h
@@ -379,10 +379,10 @@ relocate_fix_got_relocs_for_got_info (struct got_entry **list_p,
379
380
case GOT_NORMAL:
381
{
382
- BFD_ASSERT (h);
383
- if (h->root.type == bfd_link_hash_undefweak
384
- /* FIXME! catch the undefined situation in a test. */
385
- || h->root.type == bfd_link_hash_undefined)
+ if (h != NULL &&
+ (h->root.type == bfd_link_hash_undefweak
+ /* FIXME! catch the undefined situation in a test. */
+ || h->root.type == bfd_link_hash_undefined))
386
ARC_DEBUG ("arc_info: PATCHED: NOT_PATCHED "
387
"@ %#08lx for sym %s in got offset %#lx "
388
"(is undefweak)\n",
0 commit comments