diff options
author | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-03-23 22:39:13 -0400 |
---|---|---|
committer | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-03-28 20:38:24 -0400 |
commit | 82b8a7851fb9d7724c53d13a4319d1e47acc4460 (patch) | |
tree | cca10abb478f1090c8a00eb0bffb510af1ba88ff /gas/config/xtensa-relax.c | |
parent | 5fa9f97233e5c75d4c70f6a86f558eadfed3696e (diff) | |
download | binutils-gdb-82b8a7851fb9d7724c53d13a4319d1e47acc4460.tar.gz |
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/xtensa-relax.c')
-rw-r--r-- | gas/config/xtensa-relax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/xtensa-relax.c b/gas/config/xtensa-relax.c index a67fbe60bf2..3adbf2aa60a 100644 --- a/gas/config/xtensa-relax.c +++ b/gas/config/xtensa-relax.c @@ -1024,7 +1024,7 @@ parse_special_fn (const char *name, const char **fn_name_p, const char **arg_name_p) { - char *p_start; + const char *p_start; const char *p_end; p_start = strchr (name, '('); |