Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/ld.elf_so/arch/arm Drop symbol number from default b...



details:   https://anonhg.NetBSD.org/src/rev/f1ce3a739603
branches:  trunk
changeset: 824837:f1ce3a739603
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue Jun 20 11:01:18 2017 +0000

description:
Drop symbol number from default branch diagnostic, it isn't set at this
point and most likely not valid either.

diffstat:

 libexec/ld.elf_so/arch/arm/mdreloc.c |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r 6cbf3725b66e -r f1ce3a739603 libexec/ld.elf_so/arch/arm/mdreloc.c
--- a/libexec/ld.elf_so/arch/arm/mdreloc.c      Tue Jun 20 10:55:03 2017 +0000
+++ b/libexec/ld.elf_so/arch/arm/mdreloc.c      Tue Jun 20 11:01:18 2017 +0000
@@ -1,8 +1,8 @@
-/*     $NetBSD: mdreloc.c,v 1.39 2017/06/19 11:57:01 joerg Exp $       */
+/*     $NetBSD: mdreloc.c,v 1.40 2017/06/20 11:01:18 joerg Exp $       */
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: mdreloc.c,v 1.39 2017/06/19 11:57:01 joerg Exp $");
+__RCSID("$NetBSD: mdreloc.c,v 1.40 2017/06/20 11:01:18 joerg Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -236,11 +236,10 @@
 
                default:
                        rdbg(("sym = %lu, type = %lu, offset = %p, "
-                           "contents = %p, symbol = %s",
+                           "contents = %p",
                            (u_long)ELF_R_SYM(rel->r_info),
                            (u_long)ELF_R_TYPE(rel->r_info),
-                           (void *)rel->r_offset, (void *)load_ptr(where),
-                           obj->strtab + obj->symtab[symnum].st_name));
+                           (void *)rel->r_offset, (void *)load_ptr(where)));
                        _rtld_error("%s: Unsupported relocation type %ld "
                            "in non-PLT relocations",
                            obj->path, (u_long) ELF_R_TYPE(rel->r_info));



Home | Main Index | Thread Index | Old Index