mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 02:50:08 +08:00
Fixing CONST declarations.
This commit is contained in:
@ -63,7 +63,11 @@ struct a29k_opcode {
|
|||||||
char *args;
|
char *args;
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct a29k_opcode a29k_opcodes[] =
|
#ifndef CONST
|
||||||
|
#define CONST
|
||||||
|
#endif /* CONST */
|
||||||
|
|
||||||
|
static CONST struct a29k_opcode a29k_opcodes[] =
|
||||||
{
|
{
|
||||||
|
|
||||||
{ "add", 0x14000000, "c,a,b" },
|
{ "add", 0x14000000, "c,a,b" },
|
||||||
@ -279,11 +283,14 @@ static const struct a29k_opcode a29k_opcodes[] =
|
|||||||
if we've run off the end of the table. */
|
if we've run off the end of the table. */
|
||||||
};
|
};
|
||||||
|
|
||||||
const unsigned int num_opcodes = (((sizeof a29k_opcodes) / (sizeof a29k_opcodes[0])) - 1);
|
CONST unsigned int num_opcodes = (((sizeof a29k_opcodes) / (sizeof a29k_opcodes[0])) - 1);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* $Log$
|
* $Log$
|
||||||
* Revision 1.3 1991/08/05 22:31:05 rich
|
* Revision 1.4 1991/08/06 07:20:27 rich
|
||||||
|
* Fixing CONST declarations.
|
||||||
|
*
|
||||||
|
* Revision 1.3 1991/08/05 22:31:05 rich
|
||||||
* *** empty log message ***
|
* *** empty log message ***
|
||||||
*
|
*
|
||||||
* Revision 1.2 1991/07/15 23:34:04 steve
|
* Revision 1.2 1991/07/15 23:34:04 steve
|
||||||
|
Reference in New Issue
Block a user