binutils-gdb/gas/config
Trevor Saunders 47990a6ab5 cast literal to char * when assigning to input_line_ptr
various places either directly or indirectly set input_line_pointer to point at
a literal.  Currently lots of places modify the string input_line_pointer
points at, so making it const isn't easy.  Since most if not all of these
places assign to input_line_pointer to parse an expression it would probably be
best to add ways to generate and deal with expressions that doesn't involve
parsing strings, but for now adding some casts seems easiest.

gas/ChangeLog:

2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* config/tc-i960.c (parse_expr): Cast to char * when assigning to
	input_line_pointer.
	* config/tc-m32r.c (expand_debug_syms): Likewise.
	* config/tc-msp430.c (msp430_dstoperand): Likewise.
	* config/tc-z80.c (md_begin): Likewise.
	* stabs.c (stabs_generate_asm_func): Likewise.
2016-03-31 07:23:31 -04:00
..
aout_gnu.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
atof-ieee.c Copyright update for binutils 2016-01-01 23:00:01 +10:30
atof-vax.c Copyright update for binutils 2016-01-01 23:00:01 +10:30
bfin-aux.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
bfin-defs.h Convert more variables to a constant form. 2016-02-25 16:55:21 +00:00
bfin-lex-wrapper.c Copyright update for binutils 2016-01-01 23:00:01 +10:30
bfin-lex.l Copyright update for binutils 2016-01-01 23:00:01 +10:30
bfin-parse.y Convert more variables to a constant form. 2016-02-25 16:55:21 +00:00
e-crisaout.c Copyright update for binutils 2016-01-01 23:00:01 +10:30
e-criself.c Copyright update for binutils 2016-01-01 23:00:01 +10:30
e-i386aout.c Copyright update for binutils 2016-01-01 23:00:01 +10:30
e-i386coff.c Copyright update for binutils 2016-01-01 23:00:01 +10:30
e-i386elf.c Copyright update for binutils 2016-01-01 23:00:01 +10:30
e-mipself.c Copyright update for binutils 2016-01-01 23:00:01 +10:30
itbl-mips.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
m68k-parse.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
m68k-parse.y Copyright update for binutils 2016-01-01 23:00:01 +10:30
obj-aout.c Copyright update for binutils 2016-01-01 23:00:01 +10:30
obj-aout.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
obj-coff-seh.c Copyright update for binutils 2016-01-01 23:00:01 +10:30
obj-coff-seh.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
obj-coff.c Add more const type qualifiers to GAS sources. 2016-02-22 14:11:27 +00:00
obj-coff.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
obj-ecoff.c Copyright update for binutils 2016-01-01 23:00:01 +10:30
obj-ecoff.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
obj-elf.c add more const qualifiers 2016-03-28 20:38:24 -04:00
obj-elf.h add more const qualifiers 2016-03-28 20:38:24 -04:00
obj-evax.c Copyright update for binutils 2016-01-01 23:00:01 +10:30
obj-evax.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
obj-fdpicelf.c Copyright update for binutils 2016-01-01 23:00:01 +10:30
obj-fdpicelf.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
obj-macho.c Copyright update for binutils 2016-01-01 23:00:01 +10:30
obj-macho.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
obj-multi.c Copyright update for binutils 2016-01-01 23:00:01 +10:30
obj-multi.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
obj-som.c Add more const type qualifiers to GAS sources. 2016-02-22 14:11:27 +00:00
obj-som.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
rl78-defs.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
rl78-parse.y Copyright update for binutils 2016-01-01 23:00:01 +10:30
rx-defs.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
rx-parse.y Fix checking bignum values that are being inserted into byte sized containers. 2016-03-16 11:33:55 +00:00
tc-aarch64.c make some variables unsigned 2016-03-31 00:57:11 -04:00
tc-aarch64.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-alpha.c make some variables unsigned 2016-03-31 00:57:11 -04:00
tc-alpha.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-arc.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-arc.h [ARC] Enable .cfi_* pseudo-ops. 2016-02-16 15:56:04 +01:00
tc-arm.c make some variables unsigned 2016-03-31 00:57:11 -04:00
tc-arm.h Remove support for creating ARM NOREAD sections. 2016-02-04 11:57:57 +00:00
tc-avr.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-avr.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-bfin.c get rid of K&R style args 2016-03-31 01:04:00 -04:00
tc-bfin.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-cr16.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-cr16.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-cris.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-cris.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-crx.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-crx.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-d10v.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-d10v.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-d30v.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-d30v.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-dlx.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-dlx.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-epiphany.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-epiphany.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-fr30.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-fr30.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-frv.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-frv.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-ft32.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-ft32.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-generic.c Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-generic.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-h8300.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-h8300.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-hppa.c use xstrdup and friends more 2016-03-29 21:48:26 -04:00
tc-hppa.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-i370.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-i370.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-i386-intel.c Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-i386.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-i386.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-i860.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-i860.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-i960.c cast literal to char * when assigning to input_line_ptr 2016-03-31 07:23:31 -04:00
tc-i960.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-ia64.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-ia64.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-ip2k.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-ip2k.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-iq2000.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-iq2000.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-lm32.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-lm32.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-m32c.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-m32c.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-m32r.c cast literal to char * when assigning to input_line_ptr 2016-03-31 07:23:31 -04:00
tc-m32r.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-m68hc11.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-m68hc11.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-m68k.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-m68k.h Convert more variables to a constant form. 2016-02-25 16:55:21 +00:00
tc-m68851.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-mcore.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-mcore.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-mep.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-mep.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-metag.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-metag.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-microblaze.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-microblaze.h make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-mips.c use xstrdup and friends more 2016-03-29 21:48:26 -04:00
tc-mips.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-mmix.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-mmix.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-mn10200.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-mn10200.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-mn10300.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-mn10300.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-moxie.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-moxie.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-msp430.c cast literal to char * when assigning to input_line_ptr 2016-03-31 07:23:31 -04:00
tc-msp430.h msp430: Set DWARF2_ADDR_SIZE to 4. 2016-02-03 09:21:51 -07:00
tc-mt.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-mt.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-nds32.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-nds32.h make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-nios2.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-nios2.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-ns32k.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-ns32k.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-or1k.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-or1k.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-pdp11.c get rid of K&R style args 2016-03-31 01:04:00 -04:00
tc-pdp11.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-pj.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-pj.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-ppc.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-ppc.h Convert more variables to a constant form. 2016-02-25 16:55:21 +00:00
tc-rl78.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-rl78.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-rx.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-rx.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-s390.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-s390.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-score7.c make more variables const 2016-03-22 19:16:06 -04:00
tc-score.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-score.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-sh64.c Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-sh64.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-sh.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-sh.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-sparc.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-sparc.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-spu.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-spu.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-tic4x.c use xstrdup and friends more 2016-03-29 21:48:26 -04:00
tc-tic4x.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-tic6x.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-tic6x.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-tic30.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-tic30.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-tic54x.c use xstrdup and friends more 2016-03-29 21:48:26 -04:00
tc-tic54x.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-tilegx.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-tilegx.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-tilepro.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-tilepro.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-v850.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-v850.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-vax.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-vax.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-visium.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-visium.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-xc16x.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-xc16x.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-xgate.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-xgate.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-xstormy16.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-xstormy16.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-xtensa.c use xstrdup and friends more 2016-03-29 21:48:26 -04:00
tc-xtensa.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-z8k.c make md_parse_option () take a const char * 2016-03-29 07:43:25 -04:00
tc-z8k.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
tc-z80.c cast literal to char * when assigning to input_line_ptr 2016-03-31 07:23:31 -04:00
tc-z80.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-386bsd.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-aix5.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-aix.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-armeabi.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-armfbsdeabi.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-armfbsdvfp.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-armlinuxeabi.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-dragonfly.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-dynix.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-epoc-pe.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-freebsd.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-generic.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-gnu.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-go32.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-hppa64.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-hppa.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-hppalinux64.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-hpux.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-i386aix.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-ia64aix.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-interix.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-irix.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-linux.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-lynx.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-mach.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-macos.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-nacl.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-nbsd532.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-nbsd.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-netware.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-pc532mach.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-pe.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-pep.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-psos.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-riscix.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-solaris.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-sparcaout.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-sun3.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-svr4.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-symbian.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-tmips.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-uclinux.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-vms.c Remove use of alloca. 2016-03-21 16:31:46 +00:00
te-vms.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-vxworks.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
te-wince-pe.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
vax-inst.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
xtensa-istack.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
xtensa-relax.c add more const qualifiers 2016-03-28 20:38:24 -04:00
xtensa-relax.h Copyright update for binutils 2016-01-01 23:00:01 +10:30