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 Oops wrong mask.
details: https://anonhg.NetBSD.org/src/rev/d1be41972e1d
branches: trunk
changeset: 374324:d1be41972e1d
user: christos <christos%NetBSD.org@localhost>
date: Tue Apr 18 22:42:52 2023 +0000
description:
Oops wrong mask.
diffstat:
libexec/ld.elf_so/symbol.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 3f2eba84d031 -r d1be41972e1d libexec/ld.elf_so/symbol.c
--- a/libexec/ld.elf_so/symbol.c Tue Apr 18 20:11:34 2023 +0000
+++ b/libexec/ld.elf_so/symbol.c Tue Apr 18 22:42:52 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: symbol.c,v 1.74 2023/04/18 16:48:45 christos Exp $ */
+/* $NetBSD: symbol.c,v 1.75 2023/04/18 22:42:52 christos Exp $ */
/*
* Copyright 1996 John D. Polstra.
@@ -40,7 +40,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: symbol.c,v 1.74 2023/04/18 16:48:45 christos Exp $");
+__RCSID("$NetBSD: symbol.c,v 1.75 2023/04/18 22:42:52 christos Exp $");
#endif /* not lint */
#include <err.h>
@@ -94,7 +94,7 @@ Elf32_Word
h = (h << 4) + *p++;
h ^= (h >> 24) & 0xf0;
}
- return (h & 0xffffffff);
+ return (h & 0x0fffffff);
}
/*
Home |
Main Index |
Thread Index |
Old Index