update ChangeLog for previous commit
[external/binutils.git] / gas / ChangeLog
index f9082da..6560bac 100644 (file)
@@ -1,3 +1,316 @@
+2016-04-03  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
+       * config/tc-score7.c (s7_gen_reloc): Likewise.
+
+2016-04-03  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * config/tc-arm.c (do_t_branch): Change the type of reloc to
+       bfd_reloc_code_real_type.
+
+2016-04-03  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * config/bfin-parse.y (current_inputline): Remove definition.
+       * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
+
+2016-04-03  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
+       strings.
+
+2016-04-02  Alan Modra  <amodra@gmail.com>
+
+       PR 19896
+       * read.c (assign_symbol): Consume rest of line after an error
+       rather than continuing to process the line.
+
+2016-04-01  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
+       (MAX_FLAG_NAME_LENGTH): ...this.
+       (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
+       * config/tc-arc.c (tokenize_flags): Likewise.
+
+2016-04-01  Alan Modra  <amodra@gmail.com>
+
+       * cgen.c (weak_operand_overflow_check): Return const char*.
+       * messages.c (as_internal_value_out_of_range): Formatting.
+       (as_warn_value_out_of_range): Consify prefix param.
+       (as_bad_value_out_of_range): Likewise.
+       * read.c (s_errwarn): Constify msg..
+       (s_float_space, float_cons): ..and err.
+       * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
+       ieee_md_atof, vax_md_atof): Update prototypes.
+       * tc.h (md_atof): Update prototype.
+       * config/atof-ieee.c (ieee_md_atof): Return const char*.
+       * config/atof-vax.c (vax_md_atof): Likewise.
+       * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
+       * config/tc-aarch64.c (md_atof): Return const char*.
+       * config/tc-alpha.c (s_alpha_section_name): Likewise.
+       (s_alpha_comm): Constify sec_name.
+       (section_name): Constify.
+       (s_alpha_section): Consify name..
+       (alpha_elf_section_letter): ..and ptr_msg param..
+       (md_atof): ..and return.
+       * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
+       * config/tc-arc.c (md_atof): Return const char*.
+       * config/tc-arm.c (md_atof): Likewise.
+       * config/tc-avr.c (md_atof): Likewise.
+       * config/tc-bfin.c (md_atof): Likewise.
+       * config/tc-cr16.c (md_atof): Likewise.
+       * config/tc-cris.c (md_atof): Likewise.
+       * config/tc-crx.c (md_atof): Likewise.
+       * config/tc-d10v.c (md_atof): Likewise.
+       * config/tc-d30v.c (md_atof): Likewise.
+       * config/tc-dlx.c (md_atof): Likewise.
+       * config/tc-epiphany.c (md_atof): Likewise.
+       * config/tc-fr30.c (md_atof): Likewise.
+       * config/tc-frv.c (md_atof): Likewise.
+       * config/tc-ft32.c (md_atof): Likewise.
+       * config/tc-h8300.c (md_atof): Likewise.
+       * config/tc-hppa.c (struct default_subspace_dict): Constify name.
+       (struct default_space_dict): Likewise.
+       (create_new_space): Constify name param.
+       (create_new_subspace): Likewise.
+       (is_defined_space, is_defined_subspace): Likewise.
+       (pa_parse_space_stmt): Constify space_name param.
+       (md_atof): Return const char*.
+       (pa_spaces_begin): Constify name.
+       * config/tc-i370.c (md_atof): Return const char*.
+       * config/tc-i386.c (md_atof): Likewise.
+       (x86_64_section_letter): Constify ptr_msg param.
+       * config/tc-i386.h (x86_64_section_letter): Update prototype.
+       * config/tc-i860.c (struct i860_it): Constify error.
+       (md_atof): Return const char*.
+       * config/tc-i960.c (md_atof): Likewise.
+       * config/tc-ia64.c (md_atof): Likewise.
+       (ia64_elf_section_letter): Constify ptr_msg param.
+       * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
+       * config/tc-ip2k.c (md_atof): Return const char*.
+       * config/tc-iq2000.c (md_atof): Likewise.
+       * config/tc-lm32.c (md_atof): Likewise.
+       * config/tc-m32c.c (md_atof): Likewise.
+       * config/tc-m32r.c (md_atof): Likewise.
+       * config/tc-m68hc11.c (md_atof): Likewise.
+       * config/tc-m68k.c (md_atof): Likewise.
+       * config/tc-mcore.c (md_atof): Likewise.
+       * config/tc-mep.c (md_atof): Likewise.
+       (mep_elf_section_letter): Constify ptr_msg param.
+       * config/tc-mep.h (mep_elf_section_letter): Update prototype.
+       * config/tc-metag.c (md_atof): Return const char*.
+       * config/tc-microblaze.c (md_atof): Likewise.
+       * config/tc-microblaze.h (md_atof): Delete prototype.
+       * config/tc-mips.c (mips_parse_argument_token): Constify err.
+       (md_atof): Return const char*.
+       * config/tc-mmix.c (md_atof): Likewise.
+       * config/tc-mn10200.c (md_atof): Likewise.
+       * config/tc-mn10300.c (md_atof): Likewise.
+       * config/tc-moxie.c (md_atof): Likewise.
+       * config/tc-msp430.c (md_atof): Likewise.
+       * config/tc-mt.c (md_atof): Likewise.
+       * config/tc-nds32.c (md_atof): Likewise.
+       * config/tc-nios2.c (md_atof): Likewise.
+       (nios2_elf_section_letter): Constify ptr_msg param.
+       * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
+       * config/tc-ns32k.c (md_atof): Return const char*.
+       * config/tc-or1k.c (md_atof): Likewise.
+       * config/tc-pdp11.c (struct pdp11_code): Constify error.
+       (md_atof): Return const char*.
+       * config/tc-pj.c (md_atof): Likewise.
+       * config/tc-ppc.c (md_atof): Likewise.
+       * config/tc-rl78.c (md_atof): Likewise.
+       * config/tc-rx.c (md_atof): Likewise.
+       * config/tc-s390.c (md_atof): Likewise.
+       * config/tc-score.c (s3_atof, md_atof): Likewise.
+       * config/tc-sh.c (md_atof): Likewise.
+       * config/tc-sparc.c (struct sparc_it): Constify error.
+       (md_atof): Return const char*.
+       * config/tc-spu.c (md_atof): Likewise.
+       * config/tc-tic30.c (md_atof): Likewise.
+       * config/tc-tic4x.c (md_atof): Likewise.
+       * config/tc-tic54x.c (md_atof): Likewise.
+       * config/tc-tic6x.c (md_atof): Likewise.
+       * config/tc-tilegx.c (md_atof): Likewise.
+       * config/tc-tilepro.c (md_atof): Likewise.
+       * config/tc-v850.c (parse_register_list, md_atof): Likewise.
+       * config/tc-vax.c (md_atof): Likewise.
+       * config/tc-visium.c (md_atof): Likewise.
+       * config/tc-xc16x.c (md_atof): Likewise.
+       * config/tc-xgate.c (md_atof): Likewise.
+       * config/tc-xstormy16.c (md_atof): Likewise.
+       * config/tc-xtensa.c (md_atof): Likewise.
+       * config/tc-z80.c (md_atof): Likewise.
+       * config/tc-z8k.c (md_atof): Likewise.
+
+2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * config/tc-xtensa.c (struct rename_section_struct): Make old_name
+       const.
+       (xtensa_section_rename): Make argument type const char *.
+       * config/tc-xtensa.h (xtensa_section_rename): Adjust.
+
+2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
+       args[0].
+
+2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
+       char *.
+       (m32c_indirect_operand): Likewise.
+       * config/tc-nds32.c (do_pseudo_b): Likewise.
+       (do_pseudo_bal): Likewise.
+       (do_pseudo_ls_bhw): Likewise.
+
+2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * as.c (parse_args): Cast literal to char * when assigning to optarg.
+
+2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
+       get_symbol_name ().
+       * config/tc-sparc.c (s_register): Cast a literal to char * in
+       assignment.
+
+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  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * cgen.c: Modernize the way functions declare arguments.
+       * config/tc-bfin.c: Likewise.
+       * config/tc-pdp11.c: Likewise.
+       * literal.c: Likewise.
+       * read.c: Likewise.
+       * stabs.c: Likewise.
+
+2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
+       variables unsigned char[].
+       * config/tc-alpha.c (alpha_handle_align): Likewise.
+       * config/tc-arm.c (arm_handle_align): Likewise.
+       * config/tc-z80.c: Likewise.
+
+2016-03-30  Nick Clifton  <nickc@redhat.com>
+
+       PR target/19880
+       * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
+       shifting.
+
+2016-03-30  Claudiu Zissulescu  <claziss@synopsys.com>
+
+        * testsuite/gas/all/gas.exp: Don't xfail on ARC.
+        * testsuite/gas/elf/elf.exp: Likewise.
+        * testsuite/gas/all/redef3.d: Allow execution for ARC.
+
+2016-03-30  Claudiu Zissulescu  <claziss@synopsys.com>
+
+        * testsuite/gas/arc/warn.exp: Fix matching pattern.
+
+2016-03-29  Claudiu Zissulescu  <claziss@synopsys.com>
+
+        * testsuite/gas/arc/ext2op.d: New file.
+        * testsuite/gas/arc/ext2op.s: Likewise.
+        * testsuite/gas/arc/ext3op.d: Likewise.
+        * testsuite/gas/arc/ext3op.s: Likewise.
+
+2016-03-29  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
+       qualifier.
+       * config/tc-alpha.c (md_parse_option): Likewise.
+       * config/tc-arc.c (md_parse_option): Likewise.
+       * config/tc-arm.c (struct arm_long_option_table): Likewise.
+       (md_parse_option): Likewise.
+       * config/tc-avr.c (md_parse_option): Likewise.
+       * config/tc-bfin.c (md_parse_option): Likewise.
+       * config/tc-cr16.c (md_parse_option): Likewise.
+       * config/tc-cris.c (s_cris_arch): Likewise.
+       (md_parse_option): Likewise.
+       * config/tc-crx.c (md_parse_option): Likewise.
+       * config/tc-d10v.c (md_parse_option): Likewise.
+       * config/tc-d30v.c (md_parse_option): Likewise.
+       * config/tc-dlx.c (md_parse_option): Likewise.
+       * config/tc-epiphany.c (md_parse_option): Likewise.
+       * config/tc-fr30.c (md_parse_option): Likewise.
+       * config/tc-frv.c (md_parse_option): Likewise.
+       * config/tc-ft32.c (md_parse_option): Likewise.
+       * config/tc-h8300.c (md_parse_option): Likewise.
+       * config/tc-hppa.c (md_parse_option): Likewise.
+       * config/tc-i370.c (md_parse_option): Likewise.
+       * config/tc-i386.c (md_parse_option): Likewise.
+       * config/tc-i860.c (md_parse_option): Likewise.
+       * config/tc-i960.c (md_parse_option): Likewise.
+       * config/tc-ia64.c (md_parse_option): Likewise.
+       * config/tc-ip2k.c (md_parse_option): Likewise.
+       * config/tc-iq2000.c (md_parse_option): Likewise.
+       * config/tc-lm32.c (md_parse_option): Likewise.
+       * config/tc-m32c.c (md_parse_option): Likewise.
+       * config/tc-m32r.c (md_parse_option): Likewise.
+       * config/tc-m68hc11.c (md_parse_option): Likewise.
+       * config/tc-m68k.c (md_parse_option): Likewise.
+       * config/tc-mcore.c (md_parse_option): Likewise.
+       * config/tc-mep.c (md_parse_option): Likewise.
+       * config/tc-metag.c (struct metag_long_option): Likewise.
+       (md_parse_option): Likewise.
+       * config/tc-microblaze.c (md_parse_option): Likewise.
+       * config/tc-microblaze.h (md_parse_option): Remove prototype.
+       * config/tc-mips.c (md_parse_option): Adjust.
+       * config/tc-mmix.c (md_parse_option): Likewise.
+       * config/tc-mn10200.c (md_parse_option): Likewise.
+       * config/tc-mn10300.c (md_parse_option): Likewise.
+       * config/tc-moxie.c (md_parse_option): Likewise.
+       * config/tc-msp430.c (md_parse_option): Likewise.
+       * config/tc-mt.c (md_parse_option): Likewise.
+               * config/tc-nds32.c (md_parse_option): Likewise.
+               * config/tc-nds32.h (nds32_parse_option): Likewise.
+       * config/tc-nios2.c (md_parse_option): Likewise.
+       * config/tc-ns32k.c (md_parse_option): Likewise.
+       * config/tc-or1k.c (md_parse_option): Likewise.
+       * config/tc-pdp11.c (md_parse_option): Likewise.
+       * config/tc-pj.c (md_parse_option): Likewise.
+       * config/tc-ppc.c (md_parse_option): Likewise.
+       * config/tc-rl78.c (md_parse_option): Likewise.
+       * config/tc-rx.c (md_parse_option): Likewise.
+       * config/tc-s390.c (s390_parse_cpu): Likewise.
+       * config/tc-score.c (md_parse_option): Likewise.
+       * config/tc-sh.c (md_parse_option): Likewise.
+       * config/tc-sparc.c (md_parse_option): Likewise.
+       * config/tc-spu.c (md_parse_option): Likewise.
+       * config/tc-tic30.c (md_parse_option): Likewise.
+       * config/tc-tic4x.c (md_parse_option): Likewise.
+       * config/tc-tic54x.c (md_parse_option): Likewise.
+       * config/tc-tic6x.c (md_parse_option): Likewise.
+       * config/tc-tilegx.c (md_parse_option): Likewise.
+       * config/tc-tilepro.c (md_parse_option): Likewise.
+       * config/tc-v850.c (md_parse_option): Likewise.
+       * config/tc-vax.c (md_parse_option): Likewise.
+       * config/tc-visium.c (struct visium_long_option_table): Likewise.
+       * config/tc-xc16x.c (md_parse_option): Likewise.
+       * config/tc-xgate.c (md_parse_option): Likewise.
+       * config/tc-xstormy16.c (md_parse_option): Likewise.
+       * config/tc-xtensa.c (md_parse_option): Likewise.
+       * config/tc-z80.c (md_parse_option): Likewise.
+       * config/tc-z8k.c (md_parse_option): Likewise.
+       * tc.h (md_parse_option): Likewise.
+
+2016-03-29  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
+       * config/tc-hppa.c (fix_new_hppa): Likewise.
+       (pa_vtable_entry): Likewise.
+       (pa_vtable_inherit): Likewise.
+       * config/tc-m68k.c (md_begin): Likewise.
+
 2016-03-28  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
 
        * config/obj-elf.c (obj_elf_section_name): Return const char *.