aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-m68k.c
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2006-05-19 11:26:11 +0000
committerThiemo Seufer <ths@networkno.de>2006-05-19 11:26:11 +0000
commit1df69f4f6c134c94f81ef6fe0229bc4da0e66411 (patch)
tree2374dc73413f3b7bd35b823a0bf75ee4bd06376e /gas/config/tc-m68k.c
parent377260ba3af89e31f1051de370ace5d3b3892446 (diff)
downloadgdb-1df69f4f6c134c94f81ef6fe0229bc4da0e66411.zip
gdb-1df69f4f6c134c94f81ef6fe0229bc4da0e66411.tar.gz
gdb-1df69f4f6c134c94f81ef6fe0229bc4da0e66411.tar.bz2
* config/tc-arm.c, config/tc-arm.h (tc_arm_regname_to_dw2regnum):
Un-constify string argument. * config/tc-i386.c, config/tc-i386.h (tc_x86_regname_to_dw2regnum): Likewise. * config/tc-m68k.c, config/tc-m68k.h (tc_m68k_regname_to_dw2regnum): Likewise. * config/tc-ppc.c, config/tc-ppc.h (tc_ppc_regname_to_dw2regnum): Likewise. * config/tc-s390.c, config/tc-s390.h (tc_s390_regname_to_dw2regnum): Likewise. * config/tc-sh.c, config/tc-sh.h (sh_regname_to_dw2regnum): Likewise. * config/tc-sparc.c, config/tc-sparc.h (sparc_regname_to_dw2regnum): Likewise. -------------------------------------------------------------------
Diffstat (limited to 'gas/config/tc-m68k.c')
-rw-r--r--gas/config/tc-m68k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-m68k.c b/gas/config/tc-m68k.c
index 6cf85d7..3f4382e 100644
--- a/gas/config/tc-m68k.c
+++ b/gas/config/tc-m68k.c
@@ -7562,7 +7562,7 @@ m68k_elf_final_processing (void)
#endif
int
-tc_m68k_regname_to_dw2regnum (const char *regname)
+tc_m68k_regname_to_dw2regnum (char *regname)
{
unsigned int regnum;
static const char *const regnames[] =