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 don't die printing a name we...



details:   https://anonhg.NetBSD.org/src/rev/d1830db6938d
branches:  trunk
changeset: 816738:d1830db6938d
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jul 21 00:10:57 2016 +0000

description:
don't die printing a name we don't have

diffstat:

 external/gpl3/binutils/dist/bfd/elf32-vax.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 90fa42c0b18d -r d1830db6938d external/gpl3/binutils/dist/bfd/elf32-vax.c
--- a/external/gpl3/binutils/dist/bfd/elf32-vax.c       Wed Jul 20 23:36:23 2016 +0000
+++ b/external/gpl3/binutils/dist/bfd/elf32-vax.c       Thu Jul 21 00:10:57 2016 +0000
@@ -782,7 +782,7 @@
                        if (info->warn_shared_textrel)
                          (*_bfd_error_handler)
                            (_("warning: dynamic relocation to `%s' in readonly section `%s'"),
-                            h->root.root.string, sec->name);
+                            h ? h->root.root.string : "?", sec->name);
                        info->flags |= DF_TEXTREL;
                    }
                }



Home | Main Index | Thread Index | Old Index