PERFORCE change 85840 for review
John Baldwin
jhb at FreeBSD.org
Tue Oct 25 11:42:15 PDT 2005
http://perforce.freebsd.org/chv.cgi?CH=85840
Change 85840 by jhb at jhb_slimer on 2005/10/25 18:41:21
Save this patch here so I don't lose it. The original problem
reporter on current@ never got back to me. :(
Affected files ...
.. //depot/projects/smpng/sys/kern/link_elf.c#29 edit
Differences ...
==== //depot/projects/smpng/sys/kern/link_elf.c#29 (text+ko) ====
@@ -1022,6 +1022,12 @@
unsigned long hash;
int i;
+ /* If we don't have a hash, bail. */
+ if (ef->buckets == NULL || ef->nbuckets == 0) {
+ printf("link_elf_lookup_symbol: missing symbol hash table\n");
+ return ENOENT;
+ }
+
/* First, search hashed global symbols */
hash = elf_hash(name);
symnum = ef->buckets[hash % ef->nbuckets];
More information about the p4-projects
mailing list