aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-sh.h
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.h
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.h')
-rw-r--r--gas/config/tc-sh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-sh.h b/gas/config/tc-sh.h
index a812036..412875c 100644
--- a/gas/config/tc-sh.h
+++ b/gas/config/tc-sh.h
@@ -225,7 +225,7 @@ void sh_cons_fix_new (fragS *, int, int, expressionS *);
extern void sh_cfi_frame_initial_instructions (void);
#define tc_regname_to_dw2regnum sh_regname_to_dw2regnum
-extern int sh_regname_to_dw2regnum (const char *regname);
+extern int sh_regname_to_dw2regnum (char *regname);
/* All SH instructions are multiples of 16 bits. */
#define DWARF2_LINE_MIN_INSN_LENGTH 2