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/289361ac5e62
branches: trunk
changeset: 354536:289361ac5e62
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 7550560b10df -r 289361ac5e62 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