add more const qualifiers
[deliverable/binutils-gdb.git] / gas / config / obj-elf.c
index c7a4ee410faee8feb62d0485a0a77c36bb022303..40c6e352746e3bcab40001cf58a519dd93721fa1 100644 (file)
@@ -918,7 +918,7 @@ obj_elf_section_word (char *str, size_t len, int *type)
 }
 
 /* Get name of section.  */
-char *
+const char *
 obj_elf_section_name (void)
 {
   char *name;
@@ -984,7 +984,8 @@ obj_elf_section_name (void)
 void
 obj_elf_section (int push)
 {
-  char *name, *group_name, *beg;
+  const char *name, *group_name;
+  char *beg;
   int type, dummy;
   bfd_vma attr;
   int entsize;
This page took 0.023134 seconds and 4 git commands to generate.