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 Fix vax and mips build
details: https://anonhg.NetBSD.org/src/rev/3cc63dd48178
branches: trunk
changeset: 849376:3cc63dd48178
user: kamil <kamil%NetBSD.org@localhost>
date: Sat Feb 29 18:45:20 2020 +0000
description:
Fix vax and mips build
diffstat:
libexec/ld.elf_so/symbol.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 12e2d6534add -r 3cc63dd48178 libexec/ld.elf_so/symbol.c
--- a/libexec/ld.elf_so/symbol.c Sat Feb 29 18:07:57 2020 +0000
+++ b/libexec/ld.elf_so/symbol.c Sat Feb 29 18:45:20 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: symbol.c,v 1.72 2020/02/29 04:24:33 kamil Exp $ */
+/* $NetBSD: symbol.c,v 1.73 2020/02/29 18:45:20 kamil Exp $ */
/*
* Copyright 1996 John D. Polstra.
@@ -40,7 +40,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: symbol.c,v 1.72 2020/02/29 04:24:33 kamil Exp $");
+__RCSID("$NetBSD: symbol.c,v 1.73 2020/02/29 18:45:20 kamil Exp $");
#endif /* not lint */
#include <err.h>
@@ -225,7 +225,7 @@
return false;
#if defined(__mips__) || defined(__vax__)
if (symp->st_shndx == SHN_UNDEF)
- continue;
+ return false;
#else
/*
* XXX DANGER WILL ROBINSON!
Home |
Main Index |
Thread Index |
Old Index