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 sync error with x86_64.
details: https://anonhg.NetBSD.org/src/rev/703f89e579ba
branches: trunk
changeset: 347609:703f89e579ba
user: christos <christos%NetBSD.org@localhost>
date: Mon Sep 05 09:17:35 2016 +0000
description:
sync error with x86_64.
diffstat:
external/gpl3/binutils/dist/bfd/elfxx-sparc.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (22 lines):
diff -r c1872ca2116f -r 703f89e579ba external/gpl3/binutils/dist/bfd/elfxx-sparc.c
--- a/external/gpl3/binutils/dist/bfd/elfxx-sparc.c Mon Sep 05 08:53:57 2016 +0000
+++ b/external/gpl3/binutils/dist/bfd/elfxx-sparc.c Mon Sep 05 09:17:35 2016 +0000
@@ -2514,12 +2514,14 @@
{
struct bfd_link_info *info = (struct bfd_link_info *) inf;
- if (info->warn_shared_textrel)
- (*_bfd_error_handler)
- (_("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))
+ || info->error_textrel)
+ info->callbacks->einfo (_("%P: %B: warning: relocation against `%s' in readonly section `%A'\n"),
+ p->sec->owner, h->root.root.string,
+ p->sec);
+
/* Not an error, just cut short the traversal. */
return FALSE;
}
Home |
Main Index |
Thread Index |
Old Index