x86: consistently convert to byte registers for TEST w/ imm optimization
[deliverable/binutils-gdb.git] / bfd / hash.c
index 5b44d4f9f17f9e589dd8226af5b174c52dc6e2c5..8dd130aaff0b95dbe2de9f2484205e933e765d62 100644 (file)
@@ -1,5 +1,5 @@
 /* hash.c -- hash table routines for BFD
-   Copyright (C) 1993-2017 Free Software Foundation, Inc.
+   Copyright (C) 1993-2020 Free Software Foundation, Inc.
    Written by Steve Chamberlain <sac@cygnus.com>
 
    This file is part of BFD, the Binary File Descriptor library.
@@ -435,6 +435,7 @@ bfd_hash_hash (const char *string, unsigned int *lenp)
   unsigned int len;
   unsigned int c;
 
+  BFD_ASSERT (string != NULL);
   hash = 0;
   len = 0;
   s = (const unsigned char *) string;
This page took 0.023596 seconds and 4 git commands to generate.