aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips/elf64.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/mips/elf64.h')
-rw-r--r--gcc/config/mips/elf64.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/mips/elf64.h b/gcc/config/mips/elf64.h
index 25c88f6..c0c706a 100644
--- a/gcc/config/mips/elf64.h
+++ b/gcc/config/mips/elf64.h
@@ -142,7 +142,7 @@ do { \
#undef ASM_FINISH_DECLARE_OBJECT
#define ASM_FINISH_DECLARE_OBJECT(FILE, DECL, TOP_LEVEL, AT_END) \
do { \
- char *name = XSTR (XEXP (DECL_RTL (DECL), 0), 0); \
+ const char *name = XSTR (XEXP (DECL_RTL (DECL), 0), 0); \
if (!flag_inhibit_size_directive && DECL_SIZE (DECL) \
&& ! AT_END && TOP_LEVEL \
&& DECL_INITIAL (DECL) == error_mark_node \