opcodes/ChangeLog
* cr16-dis.c (match_opcode,make_instruction: Remove static declaration. (dwordU,wordU): Moved typedefs to opcode/cr16.h (cr16_words,cr16_allWords,cr16_currInsn): Added prefix 'cr16_' bfd/Changelog * config.bfd (cr16*-*-uclinux*): New target support. include/opcode/ChangeLog * cr16.h (dwordU,wordU): Moved typedefs from cr16-dis.c (make_instruction,match_opcode): Added function prototypes. (cr16_words,cr16_allWords,cr16_currInsn): Declare as extern.
This commit is contained in:
parent
3b1c1875dd
commit
ff84dbd31f
@ -1,3 +1,9 @@
|
||||
2013-01-02 Kaushik Phatak <kaushik.phatak@kpitcummins.com>
|
||||
|
||||
* cr16.h (dwordU,wordU): Moved typedefs from cr16-dis.c
|
||||
(make_instruction,match_opcode): Added function prototypes.
|
||||
(cr16_words,cr16_allWords,cr16_currInsn): Declare as extern.
|
||||
|
||||
2012-11-23 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* ppc.h (ppc_parse_cpu): Update prototype.
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* cr16.h -- Header file for CR16 opcode and register tables.
|
||||
Copyright 2007, 2008, 2010 Free Software Foundation, Inc.
|
||||
Copyright 2007, 2008, 2010, 2013 Free Software Foundation, Inc.
|
||||
Contributed by M R Swami Reddy
|
||||
|
||||
This file is part of GAS, GDB and the GNU binutils.
|
||||
@ -89,7 +89,7 @@ reg_type;
|
||||
idxrp - index with register pair
|
||||
rbase - register base
|
||||
rpbase - register pair base
|
||||
pr - processor register */
|
||||
pr - processor register. */
|
||||
|
||||
typedef enum
|
||||
{
|
||||
@ -435,4 +435,17 @@ extern const inst *instruction;
|
||||
typedef long long int LONGLONG;
|
||||
typedef unsigned long long ULONGLONG;
|
||||
|
||||
/* Data types for opcode handling. */
|
||||
typedef unsigned long dwordU;
|
||||
typedef unsigned short wordU;
|
||||
|
||||
/* Globals to store opcode data and build the instruction. */
|
||||
extern wordU cr16_words[3];
|
||||
extern ULONGLONG cr16_allWords;
|
||||
extern ins cr16_currInsn;
|
||||
|
||||
/* Prototypes for function in cr16-dis.c. */
|
||||
extern void make_instruction (void);
|
||||
extern int match_opcode (void);
|
||||
|
||||
#endif /* _CR16_H_ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user