Automatic date update in version.in
[deliverable/binutils-gdb.git] / gas / hash.c
index bae83867d5117c271abff7265c0f8a13c66fd840..cfffede7e2e909648894c2aacafa28318b32b93b 100644 (file)
@@ -1,7 +1,5 @@
 /* hash.c -- gas hash table code
-   Copyright 1987, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999,
-   2000, 2001, 2002, 2003, 2005, 2007, 2008, 2009, 2011, 2013
-   Free Software Foundation, Inc.
+   Copyright (C) 1987-2019 Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
@@ -89,7 +87,7 @@ hash_new_sized (unsigned long size)
   unsigned long alloc;
   struct hash_control *ret;
 
-  ret = (struct hash_control *) xmalloc (sizeof *ret);
+  ret = XNEW (struct hash_control);
   obstack_begin (&ret->memory, chunksize);
   alloc = size * sizeof (struct hash_entry *);
   ret->table = (struct hash_entry **) obstack_alloc (&ret->memory, alloc);
This page took 0.02407 seconds and 4 git commands to generate.