diff options
Diffstat (limited to 'gcc/config/arm/elf.h')
-rw-r--r-- | gcc/config/arm/elf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/arm/elf.h b/gcc/config/arm/elf.h index b95c7fbecc0..893350f04a1 100644 --- a/gcc/config/arm/elf.h +++ b/gcc/config/arm/elf.h @@ -106,7 +106,7 @@ Boston, MA 02111-1307, USA. */ #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 \ |