Fix TEXTREL message to print out the section name
This commit is contained in:
parent
b9d91f58a9
commit
fd2293f463
4
external/gpl3/binutils/dist/bfd/elf32-arm.c
vendored
4
external/gpl3/binutils/dist/bfd/elf32-arm.c
vendored
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user