summaryrefslogtreecommitdiff
path: root/bfd/xtensa-modules.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2003-05-09 11:35:35 +0000
committerAlan Modra <amodra@bigpond.net.au>2003-05-09 11:35:35 +0000
commitf92075730ccc2c3636e499da568baba7a6fd6109 (patch)
tree2c8c4abe253ed75ffddb8865ec52941924048693 /bfd/xtensa-modules.c
parentd335176ce4302f739a683b654c58ec35e341221a (diff)
downloadgdb-f92075730ccc2c3636e499da568baba7a6fd6109.tar.gz
* cpu-arm.c (arm_check_note): Warning fix.
* elf32-iq2000.c (iq2000_elf_check_relocs): Warning fixes. Arrange to keep relocs if edited. (iq2000_elf_print_private_bfd_data): Return TRUE. * elfxx-ia64.c (elfNN_ia64_relax_section): Use ELFNN_R_SYM, not ELF64_R_SYM. (elfNN_ia64_relax_ldxmov): Warning fix. * xtensa-isa.c (xtensa_add_isa): Warning fix. * xtensa-modules.c (get_num_opcodes): Warning fix.
Diffstat (limited to 'bfd/xtensa-modules.c')
-rw-r--r--bfd/xtensa-modules.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/xtensa-modules.c b/bfd/xtensa-modules.c
index d023b5233e1..e5d7682f09a 100644
--- a/bfd/xtensa-modules.c
+++ b/bfd/xtensa-modules.c
@@ -41,7 +41,7 @@ tie_undo_reloc_l (uint32 offset, uint32 pc)
}
xtensa_opcode_internal** get_opcodes (void);
-const int get_num_opcodes (void);
+int get_num_opcodes (void);
int decode_insn (const xtensa_insnbuf);
int interface_version (void);
@@ -5463,7 +5463,7 @@ get_opcodes (void)
return &opcodes[0];
}
-const int
+int
get_num_opcodes (void)
{
return 149;