aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/obj-elf.c')
-rw-r--r--gas/config/obj-elf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c
index c7a4ee4..40c6e35 100644
--- a/gas/config/obj-elf.c
+++ b/gas/config/obj-elf.c
@@ -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;