aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-sh.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-sh.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-sh.c')
-rw-r--r--gas/config/tc-sh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-sh.c b/gas/config/tc-sh.c
index fa352d6..fa2e75a 100644
--- a/gas/config/tc-sh.c
+++ b/gas/config/tc-sh.c
@@ -4382,7 +4382,7 @@ sh_cfi_frame_initial_instructions (void)
}
int
-sh_regname_to_dw2regnum (const char *regname)
+sh_regname_to_dw2regnum (char *regname)
{
unsigned int regnum = -1;
unsigned int i;