Line 1... |
Line 1... |
/* CGEN generic opcode support.
|
/* CGEN generic opcode support.
|
|
|
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2005, 2007
|
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2005, 2007, 2009
|
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
|
|
This file is part of libopcodes.
|
This file is part of libopcodes.
|
|
|
This library is free software; you can redistribute it and/or modify
|
This library is free software; you can redistribute it and/or modify
|
Line 17... |
Line 17... |
|
|
You should have received a copy of the GNU General Public License along
|
You should have received a copy of the GNU General Public License along
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
|
51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
|
|
|
|
#include "alloca-conf.h"
|
#include "sysdep.h"
|
#include "sysdep.h"
|
#include <stdio.h>
|
#include <stdio.h>
|
#include "ansidecl.h"
|
#include "ansidecl.h"
|
#include "libiberty.h"
|
#include "libiberty.h"
|
#include "safe-ctype.h"
|
#include "safe-ctype.h"
|
#include "bfd.h"
|
#include "bfd.h"
|
#include "symcat.h"
|
#include "symcat.h"
|
#include "opcode/cgen.h"
|
#include "opcode/cgen.h"
|
|
|
#ifdef HAVE_ALLOCA_H
|
|
#include <alloca.h>
|
|
#endif
|
|
|
|
static unsigned int hash_keyword_name
|
static unsigned int hash_keyword_name
|
(const CGEN_KEYWORD *, const char *, int);
|
(const CGEN_KEYWORD *, const char *, int);
|
static unsigned int hash_keyword_value
|
static unsigned int hash_keyword_value
|
(const CGEN_KEYWORD *, unsigned int);
|
(const CGEN_KEYWORD *, unsigned int);
|
static void build_keyword_hash_tables
|
static void build_keyword_hash_tables
|