PR gas/14263
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 5eb6d0ae6a89618efaad5d8229ffc33cd37fe60f..d0e0f108b3f7efbc739c92a25a49c5261c6b1129 100644 (file)
@@ -1,3 +1,294 @@
+2012-06-29  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/14263
+       * config/tc-arm.c (parse_operands): Initialise val.
+
+2012-06-28  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/14260
+       * config/tc-arm.c (encode_arm_addr_mode_common): Generate an error
+       message if literal pool addressing is used.
+
+2012-06-28  Nick Clifton  <nickc@redhat.com>
+
+       * dwarf2dbg.c (DWARF2_USE_FIXED_ADVANCE_PC): Enable when using
+       linker relaxation.
+       (dwarf2_gen_line_info): Generate real, local, labels for line
+       numbers.
+       (dwarf2dbg_convert_frag): Do not finalize the computation of the
+       frag's symbol value when linker relaxation is enabled.
+       (ADDR_DELTA_LIMIT): Define.
+       (size_fixed_inc_line_addr): Use ADDR_DELTA_LIMIT.
+       (emit_fixed_inc_line_addr): Likewise.
+       * write.c (fixup_segment): If the subtraction of two symbols
+       cannot be resolved but is valid, then prevent bogus range warnings
+       by pre-biasing add_number.
+       * config/tc-h8300.h (DWARF2_USE_FIXED_ADVANCE_PC): Define to 0.
+
+2012-06-22  Roland McGrath  <mcgrathr@google.com>
+
+       * NEWS: Mention 'rep ret' too.
+
+       * config/tc-i386.c (parse_insn): Don't complain about REP prefix
+       when the template has opcode_modifier.repprefixok set.
+       * NEWS: Mention the change.
+
+2012-06-18  Iain Sandoe  <iain@codesourcery.com>
+
+       * configure.in: Check DECLS for free, getenv, malloc, realloc,
+       * configure: Regenerate.
+       * config.in: Likewise.
+
+2012-06-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (x86_address_bytes): New.
+       * config/tc-i386.h (TC_ADDRESS_BYTES): Likewise.
+       (x86_address_bytes): Likewise.
+
+2012-06-13  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
+
+       PR gas/12698
+       * config/tc-arm.c (do_t_mrs): Do not require an m-profile
+       architecure when assembling for all archiectures.
+       (do_t_msr): Likewise.
+
+2012-06-11  Georg-Johann Lay  <avr@gjlay.de>
+
+       PR 13503
+       * config/tc-avr.c (exp_mod): Fix typo introduced in 1.82
+       from 2012-05-16.
+
+2012-06-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * input-scrub.c (input_scrub_include_sb): Use sb_build to
+       allocate sufficient space for from_sb.  Use sb_terminate to
+       terminate string.
+       * read.c (read_a_source_file): Use sb_build to allocate
+       sufficient space and replace sb_add_string with sb_add_buffer.
+       (s_macro): Likewise.
+       (input_scrub_insert_line): Likewise.
+       (s_irp): Use sb_build to allocate sufficient space.
+       (do_repeat): Use sb_build to allocate sufficient space
+       for many.
+       * sb.c (sb_build): Remove static.
+       * sb.h (sb_build): New prototype.
+
+2012-06-09  Alan Modra  <amodra@gmail.com>
+
+       * sb.c: Include limits.h.
+       (dsize): Delete.
+       (MALLOC_OVERHEAD, INIT_ALLOC): Define.
+       (sb_new): Use INIT_ALLOC.
+       (sb_check): Modify allocation strategy using MALLOC_OVERHEAD.
+       (sb_terminate): Don't use sb_add_char.
+
+2012-06-07  Alan Modra  <amodra@gmail.com>
+
+       PR gas/14201
+       * sb.h (sb_max_power_two): Delete.
+       (struct sb): Delete "item" and "pot".  Make "len" a size_t.  Add "max".
+       (sb_element): Delete.
+       (sb_add_char, sb_add_buffer, sb_skip_comma, sb_skip_write): Update
+       prototypes.
+       * sb.c (string_count, free_list): Delete.
+       (sb_build, sb_kill, sb_check): Rewrite.
+       (scrub_from_sb, sb_add_char, sb_add_string, sb_add_buffer,
+       sb_skip_white, sb_skip_comma): Replace assorted int params,
+       vars and return types with size_t.
+       * input-scrub.c: Likewise.
+       * macro.c: Likewise.
+       * macro.h: Likewise.
+       * as.c: Likewise.
+       * as.h: Likewise.
+       * input-file.h: Likewise.
+       * input-file.c: Likewise.
+       * read.c: Likewise.
+       * app.c: ..or ptrdiff_t.
+       * input-file.c (input_file_get): Use ferror.
+       (input_file_give_next_buffer): Use input_file_get.
+
+2012-05-29  Roland McGrath  <mcgrathr@google.com>
+
+       * read.c [HANDLE_BUNDLE] (bundle_lock_depth): New variable.
+       (read_a_source_file) [HANDLE_BUNDLE]: Reset it.
+       [HANDLE_BUNDLE] (s_bundle_lock, s_bundle_unlock): Allow nested
+       pairs.
+
+2012-05-28  Nick Clifton  <nickc@redhat.com>
+
+       * read.c (read_symbol_name): New function.  Reads a symbol names.
+       Allows escape codes in names.
+       (s_comm_internal): Use read_symbol_name.
+       (s_globl, s_lsym, s_set, s_weakref): Likewise.
+       * doc/as.texinfo: Document support for multibyte characters in
+       symbol names.
+
+2012-05-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * config/tc-mips.c (mips_after_parse_args): Assert that arch_info
+       is non-NULL.
+
+2012-05-19  Alan Modra  <amodra@gmail.com>
+
+       * config/obj-elf.c (obj_elf_section): Cater for TC_KEEP_OPERAND_SPACES
+       targets when checking for "comdat".
+
+2012-05-19  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-dlx.c (s_proc): Don't use asprintf.
+
+2012-05-18  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-dlx.c (s_proc): Avoid warning about ignoring asprintf
+       return value.
+
+2012-05-18  James Lemke  <jwlemke@codesourcery.com>
+           Alan Modra  <amodra@gmail.com>
+
+       * config/tc-ppc.c: Don't capitalise error and warning messages.
+       (md_parse_option): Add checks for -a32 -mvle.
+
+2012-05-18  Alan Modra  <amodra@gmail.com>
+
+       * config/obj-evax.c: Include as.h first.
+
+2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+       * Makefile.in: Regenerate.
+
+2012-05-17  Daniel Richard G.  <skunk@iskunk.org>
+           Nick Clifton  <nickc@redhat.com>
+
+       PR 14072
+       * configure.in: Add check that sysdep.h has been included before
+       any system header files.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+       * aclocal.m4: Regenerate.
+       * Makefile.am: Use wrappers around C files generated by flex.
+       * Makefile.in: Regenerate.
+       * doc/Makefile.in: Regenerate.
+       * itbl-lex-wrapper.c: New file.
+       * config/bfin-lex-wrapper.c: New file.
+       * cgen.c: Include as.h before setjmp.h.
+       * config/tc-dlx.c: Include as.h before any other header.
+       * config/tc-h8300.c: Likewise.
+       * config/tc-lm32.c: Likewise.
+       * config/tc-mep.c: Likewise.
+       * config/tc-microblaze.c: Likewise.
+       * config/tc-mmix.c: Likewise.
+       * config/tc-msp430.c: Likewise.
+       * config/tc-or32.c: Likewise.
+       * config/tc-tic4x.c: Likewise.
+       * config/tc-tic54x.c: Likewise.
+       * config/tc-xtensa.c: Likewise.
+
+2012-05-16  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * config/tc-alpha.c (maybe_set_gp): Pass proper `bfd'
+       as the first argument for `bfd_get_section_vma'.
+
+2012-05-16  Alberto Garcia  <agarcia@igalia.com>
+
+       PR gas/14082
+       * app.c (do_scrub_chars): Prevent possible out of bounds access to
+       lex[] array.
+
+2012-05-16  Georg-Johann Lay  <avr@gjlay.de>
+
+       PR target/13503
+       * config/tc-avr.c (avr_cons_fix_new): Rename R_AVR_8_HHI8 to
+       R_AVR_8_HLO8.
+       (exp_mod_data) Ditto. And replace "hhi8" with "hlo8".
+       (md_apply_fix): Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO.
+
+2012-05-16  Nathan Sidwell  <nathan@codesourcery.com>
+           Kwok Cheung Yeung  <kcy@codesourcery.com>
+
+       * config/tc-m68k.c (m68k_cpus): Add 51ag, 51je, 51jf, 51jg, 51mm,
+       51qm variants.
+
+2012-05-15  James Murray <jsm@jsm-net.demon.co.uk>
+
+       * config/tc-m68hc11.c: Add S12X and XGATE co-processor support.
+       Add option to offset S12 addresses into XGATE memory space.
+       Tweak target flags to match other tools. (i.e. -m m68hc11).
+       * doc/as.texinfo: Mention new options.
+       * doc/c-m68hc11.texi: Document new options.
+       * NEWS: Mention new support.
+
+2012-05-14  DJ Delorie  <dj@redhat.com>
+
+       * config/rx-parse.y (rx_range): declare.
+       (O1,O2,O3,O4): Add calls to rx_range.
+       (UO1,UO2,UO3): Likewise.
+       (IMM2,IMMB): Likewise.
+       (rx_range): New.
+
+       * config/tc-rx.c (rx_fetchalign): Declare.
+       (md_pseudo_table): Add .fetchalign.
+       (RX_NBASE_FETCHALIGN): New.
+       (fetchalign_bytes): New.
+       (rx_fetchalign): New.
+       (rx_frag_init): If a "magic" value is found, also init the
+       machine-specific data.
+       (md_assemble): Note following opcode size if called for.
+       (rx_next_opcode): New.
+       (rx_relax_frag): Support .fetchalign.
+       (md_convert_frag): Likewise.
+       * doc/c-rx.texi (RX-Directives): Add .fetchalign.
+
+2012-05-14  James Lemke  <jwlemke@codesourcery.com>
+
+       * config/tc-ppc.c (insn_validate): New func of existing code to call..
+       (ppc_setup_opcodes): ..from 2 places here.
+       Revise for second (VLE) opcode table.
+       Add #ifdef'd code to print opcode tables.
+
+2012-05-14  James Lemke  <jwlemke@codesourcery.com>
+
+       * config/tc-ppc.c (ppc_setup_opcodes): Allow out-of-order
+       for the VLE conditional branches.
+
+2012-05-14  Catherine Moore  <clm@codesourcery.com>
+           Maciej W. Rozycki  <macro@codesourcery.com>
+           Rhonda Wittels  <rhonda@codesourcery.com>
+
+       * config/tc-ppc.c (PPC_VLE_SPLIT16A): New macro.
+       (PPC_VLE_SPLIT16D): New macro.
+       (PPC_VLE_LO16A): New macro.
+       (PPC_VLE_LO16D): New macro.
+       (PPC_VLE_HI16A): New macro.
+       (PPC_VLE_HI16D): New macro.
+       (PPC_VLE_HA16A): New macro.
+       (PPC_VLE_HA16D): New macro.
+       (PPC_APUINFO_VLE): New definition.
+       (md_chars_to_number): New function.
+       (md_parse_option): Check for combinations of little
+       endian and -mvle.
+       (md_show_usage): Document -mvle.
+       (ppc_arch): Recognize VLE.
+       (ppc_mach): Recognize bfd_mach_ppc_vle.
+       (ppc_setup_opcodes): Print the opcode table if
+       * config/tc-ppc.h (ppc_frag_check): Declare.
+       * doc/c-ppc.texi: Document -mvle.
+       * NEWS:  Mention PowerPC VLE port.
+
+2012-05-14  Catherine Moore  <clm@codesourcery.com>
+
+       * config/tc-ppc.h (ppc_dw2_line_min_insn_length): Declare.
+       (DWARF2_LINE_MIN_INSN_LENGTH): Redefine.
+       * config/tc-ppc.c (ppc_dw2_line_min_insn_length): New.
+       * dwarf2dbg.c (scale_addr_delta): Handle values of 1
+       for DWARF2_LINE_MIN_INSN_LENGTH.
+
+2012-05-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (tc_gen_reloc): Remove x32 addend overflow
+       for BFD_RELOC_64.
+
 2012-05-11  Daniel Richard G.  <skunk@iskunk.org>
 
        PR binutils/14028
This page took 0.029117 seconds and 4 git commands to generate.