2020-01-30 John David Anglin <danglin@gcc.gnu.org>
* config/pa/pa.c (pa_elf_select_rtx_section): Place function pointers
without a DECL in .data.rel.ro.local.
+2020-01-30 John David Anglin <danglin@gcc.gnu.org>
+
+ * config/pa/pa.c (pa_elf_select_rtx_section): Place function pointers
+ without a DECL in .data.rel.ro.local.
+
2020-01-30 Jakub Jelinek <jakub@redhat.com>
PR target/93494
{
tree decl = SYMBOL_REF_DECL (x);
- if (DECL_P (decl) && DECL_COMDAT_GROUP (decl))
+ if (!decl || (DECL_P (decl) && DECL_COMDAT_GROUP (decl)))
return get_named_section (NULL, ".data.rel.ro.local", 1);
}