Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/binutils/dist/bfd Harmonize the error messages...
details: https://anonhg.NetBSD.org/src/rev/f265e264618d
branches: trunk
changeset: 345923:f265e264618d
user: christos <christos%NetBSD.org@localhost>
date: Wed Jun 15 14:47:23 2016 +0000
description:
Harmonize the error messages about dynamic relocations.
diffstat:
external/gpl3/binutils/dist/bfd/elf32-hppa.c | 4 ++--
external/gpl3/binutils/dist/bfd/elf32-i386.c | 4 ++--
external/gpl3/binutils/dist/bfd/elf32-m68k.c | 8 ++++----
external/gpl3/binutils/dist/bfd/elf32-sh.c | 4 ++--
external/gpl3/binutils/dist/bfd/elf32-vax.c | 4 ++--
external/gpl3/binutils/dist/bfd/elfxx-sparc.c | 4 ++--
6 files changed, 14 insertions(+), 14 deletions(-)
diffs (95 lines):
diff -r 5133805cce10 -r f265e264618d external/gpl3/binutils/dist/bfd/elf32-hppa.c
--- a/external/gpl3/binutils/dist/bfd/elf32-hppa.c Wed Jun 15 14:32:03 2016 +0000
+++ b/external/gpl3/binutils/dist/bfd/elf32-hppa.c Wed Jun 15 14:47:23 2016 +0000
@@ -2185,8 +2185,8 @@
if (info->warn_shared_textrel)
(*_bfd_error_handler)
- (_("warning: dynamic relocation in readonly section `%s'"),
- eh->root.root.string);
+ (_("warning: dynamic relocation to `%s' in readonly section `%s'"),
+ eh->root.root.string, sec->name);
info->flags |= DF_TEXTREL;
/* Not an error, just cut short the traversal. */
diff -r 5133805cce10 -r f265e264618d external/gpl3/binutils/dist/bfd/elf32-i386.c
--- a/external/gpl3/binutils/dist/bfd/elf32-i386.c Wed Jun 15 14:32:03 2016 +0000
+++ b/external/gpl3/binutils/dist/bfd/elf32-i386.c Wed Jun 15 14:47:23 2016 +0000
@@ -2718,8 +2718,8 @@
struct bfd_link_info *info = (struct bfd_link_info *) 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;
if ((info->warn_shared_textrel && bfd_link_pic (info))
diff -r 5133805cce10 -r f265e264618d external/gpl3/binutils/dist/bfd/elf32-m68k.c
--- a/external/gpl3/binutils/dist/bfd/elf32-m68k.c Wed Jun 15 14:32:03 2016 +0000
+++ b/external/gpl3/binutils/dist/bfd/elf32-m68k.c Wed Jun 15 14:47:23 2016 +0000
@@ -2816,8 +2816,8 @@
{
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, sec->name);
info->flags |= DF_TEXTREL;
}
@@ -3439,8 +3439,8 @@
{
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;
break;
}
diff -r 5133805cce10 -r f265e264618d external/gpl3/binutils/dist/bfd/elf32-sh.c
--- a/external/gpl3/binutils/dist/bfd/elf32-sh.c Wed Jun 15 14:32:03 2016 +0000
+++ b/external/gpl3/binutils/dist/bfd/elf32-sh.c Wed Jun 15 14:47:23 2016 +0000
@@ -3304,8 +3304,8 @@
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. */
diff -r 5133805cce10 -r f265e264618d external/gpl3/binutils/dist/bfd/elf32-vax.c
--- a/external/gpl3/binutils/dist/bfd/elf32-vax.c Wed Jun 15 14:32:03 2016 +0000
+++ b/external/gpl3/binutils/dist/bfd/elf32-vax.c Wed Jun 15 14:47:23 2016 +0000
@@ -781,8 +781,8 @@
{
if (info->warn_shared_textrel)
(*_bfd_error_handler)
- (_("warning: dynamic relocation in readonly section `%s'"),
- sec->name);
+ (_("warning: dynamic relocation to `%s' in readonly section `%s'"),
+ h->root.root.string, sec->name);
info->flags |= DF_TEXTREL;
}
}
diff -r 5133805cce10 -r f265e264618d external/gpl3/binutils/dist/bfd/elfxx-sparc.c
--- a/external/gpl3/binutils/dist/bfd/elfxx-sparc.c Wed Jun 15 14:32:03 2016 +0000
+++ b/external/gpl3/binutils/dist/bfd/elfxx-sparc.c Wed Jun 15 14:47:23 2016 +0000
@@ -2516,8 +2516,8 @@
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. */
Home |
Main Index |
Thread Index |
Old Index