aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-elf.h
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-03-23 22:39:13 -0400
committerTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-03-28 20:38:24 -0400
commit82b8a7851fb9d7724c53d13a4319d1e47acc4460 (patch)
treecca10abb478f1090c8a00eb0bffb510af1ba88ff /gas/config/obj-elf.h
parent5fa9f97233e5c75d4c70f6a86f558eadfed3696e (diff)
downloadgdb-82b8a7851fb9d7724c53d13a4319d1e47acc4460.zip
gdb-82b8a7851fb9d7724c53d13a4319d1e47acc4460.tar.gz
gdb-82b8a7851fb9d7724c53d13a4319d1e47acc4460.tar.bz2
add more const qualifiers
gas/ChangeLog: 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * config/obj-elf.c (obj_elf_section_name): Return const char *. * config/obj-elf.h (obj_elf_section_name): Adjust. * config/tc-aarch64.c (aarch64_parse_features): Likewise. (aarch64_parse_cpu): Likewise. (aarch64_parse_arch): Likewise. * config/tc-arm.c (arm_parse_extension): Likewise. (arm_parse_cpu): Likewise. (arm_parse_arch): Likewise. * config/tc-nds32.c: Likewise. * config/xtensa-relax.c (parse_special_fn): Likewise. * stabs.c (generate_asm_file): Likewise.
Diffstat (limited to 'gas/config/obj-elf.h')
-rw-r--r--gas/config/obj-elf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/obj-elf.h b/gas/config/obj-elf.h
index 257d877..02b3f74 100644
--- a/gas/config/obj-elf.h
+++ b/gas/config/obj-elf.h
@@ -155,7 +155,7 @@ extern void elf_file_symbol (const char *, int);
extern void obj_elf_section_change_hook (void);
extern void obj_elf_section (int);
-extern char * obj_elf_section_name (void);
+extern const char * obj_elf_section_name (void);
extern void obj_elf_previous (int);
extern void obj_elf_version (int);
extern void obj_elf_common (int);