Fix TEXTREL message to print out the section name

This commit is contained in:
matt 2015-05-09 17:43:23 +00:00
parent b9d91f58a9
commit fd2293f463

View File

@ -13477,8 +13477,8 @@ elf32_arm_readonly_dynrelocs (struct elf_link_hash_entry * h, void * inf)
if (info->warn_shared_textrel)
(*_bfd_error_handler)
(_("warning: dynamic relocation in readonly section `%s'"),
h->root.root.string);
(_("warning: dynamic relocation to `%s' in readonly section `%s'"),
h->root.root.string, s->name);
info->flags |= DF_TEXTREL;
/* Not an error, just cut short the traversal. */