X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2FChangeLog;h=d0e0f108b3f7efbc739c92a25a49c5261c6b1129;hb=99aad254595b8837203f467344727c1f1043c378;hp=6a9191eb7a10498013d855fa1d4ca08ec8f03000;hpb=b38cadfb70dbcbe3f1b31f53e96f0ab9a72e394b;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/ChangeLog b/gas/ChangeLog index 6a9191eb7a..d0e0f108b3 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,484 @@ +2012-06-29 Nick Clifton + + PR gas/14263 + * config/tc-arm.c (parse_operands): Initialise val. + +2012-06-28 Nick Clifton + + 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 + + * 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 + + * 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 + + * configure.in: Check DECLS for free, getenv, malloc, realloc, + * configure: Regenerate. + * config.in: Likewise. + +2012-06-13 H.J. Lu + + * 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 + + 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 + + PR 13503 + * config/tc-avr.c (exp_mod): Fix typo introduced in 1.82 + from 2012-05-16. + +2012-06-09 H.J. Lu + + * 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 + + * 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 + + 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 + + * 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 + + * 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 + + * config/tc-mips.c (mips_after_parse_args): Assert that arch_info + is non-NULL. + +2012-05-19 Alan Modra + + * config/obj-elf.c (obj_elf_section): Cater for TC_KEEP_OPERAND_SPACES + targets when checking for "comdat". + +2012-05-19 Alan Modra + + * config/tc-dlx.c (s_proc): Don't use asprintf. + +2012-05-18 Alan Modra + + * config/tc-dlx.c (s_proc): Avoid warning about ignoring asprintf + return value. + +2012-05-18 James Lemke + Alan Modra + + * config/tc-ppc.c: Don't capitalise error and warning messages. + (md_parse_option): Add checks for -a32 -mvle. + +2012-05-18 Alan Modra + + * config/obj-evax.c: Include as.h first. + +2012-05-18 Andreas Schwab + + * aclocal.m4: Regenerate. + * configure: Regenerate. + * Makefile.in: Regenerate. + +2012-05-17 Daniel Richard G. + Nick Clifton + + 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 + + * config/tc-alpha.c (maybe_set_gp): Pass proper `bfd' + as the first argument for `bfd_get_section_vma'. + +2012-05-16 Alberto Garcia + + PR gas/14082 + * app.c (do_scrub_chars): Prevent possible out of bounds access to + lex[] array. + +2012-05-16 Georg-Johann Lay + + 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 + Kwok Cheung Yeung + + * config/tc-m68k.c (m68k_cpus): Add 51ag, 51je, 51jf, 51jg, 51mm, + 51qm variants. + +2012-05-15 James Murray + + * 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 + + * 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 + + * 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 + + * config/tc-ppc.c (ppc_setup_opcodes): Allow out-of-order + for the VLE conditional branches. + +2012-05-14 Catherine Moore + Maciej W. Rozycki + Rhonda Wittels + + * 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 + + * 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 + + * config/tc-i386.c (tc_gen_reloc): Remove x32 addend overflow + for BFD_RELOC_64. + +2012-05-11 Daniel Richard G. + + PR binutils/14028 + * configure.in: Invoke ACX_HEADER_STRING. + * configure: Regenerate. + * config.in: Regenerate. + * as.h: If STRINGS_WITH_STRING is defined then include both + string.h and strings.h. + +2012-05-11 Georg-Johann Lay + + * config/tc-i386.c (tc_gen_reloc): Use bfd_signed_vma in x32 + addend overflow check. + +2012-05-10 H.J. Lu + + * config/tc-i386.c (tc_gen_reloc): Display signed hex number in + x32 addend overflow check. + +2012-05-09 H.J. Lu + + * config/tc-i386.c (tc_gen_reloc): Use fits_in_signed_long. + +2012-05-09 H.J. Lu + + * config/tc-i386.c (tc_gen_reloc): Check x32 addend overflow + for BFD_RELOC_64. + +2012-05-08 Alan Modra + + * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other + LC and LANG environment vars. + * Makefile.in: Regenerate. + +2012-05-07 Alan Modra + + * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG. + * Makefile.in: Regenerate. + +2012-05-06 Arnold Metselaar + + * config/tc-z80.h(md_register_arithmetic): Define as 0. + * config/tc-z80.c(md_begin): Store register names in symbol table, + preventing usage as ordinary symbol. + * config/tc-z80.c(contains_register): New function. + * config/tc-z80.c(parse_exp2): Removed. + * config/tc-z80.c(parse_exp_not_indexed): New function. + * config/tc-z80.c(parse_exp): Add code to recogize indexed + addressing after parsing. + * config/tc-z80.c(emit_byte, emit_word): Use contains_register. + * config/tc-z80.c(emit_jp): Use parse_exp_not_indexed, simplify + condition for jump to register. + * config/tc-z80.c(emit_call, emit_jr, emit_ex, emit_rst): Use + parse_exp_not_indexed. + +2012-05-05 Alan Modra + + * ecoff.c: Replace all uses of bfd_abs_section, bfd_com_section, + bfd_und_section and bfd_ind_section with their _ptr variants, or + use corresponding bfd_is_* macros. + * symbols.c: Likewise. + * config/obj-aout.c: Likewise. + * config/obj-coff-seh.h: Likewise. + * config/tc-hppa.c: Likewise. + * config/tc-hppa.h: Likewise. + * config/tc-ia64.c: Likewise. + * config/tc-m32r.c: Likewise. + * config/tc-microblaze.c: Likewise. + * config/tc-mips.c: Likewise. + * config/tc-score.c: Likewise. + * config/tc-score7.c: Likewise. + * config/tc-tic6x.c: Likewise. + +2012-05-04 H.J. Lu + + * configure.tgt: Support x86_64-*-linux-gnux32. + +2012-05-04 H.J. Lu + + * config/tc-i386.c (match_template): Add `instruction' to + unsupported error message. + +2012-05-04 H.J. Lu + + * config/tc-i386.c (output_insn): Reformat. + +2012-05-04 H.J. Lu + + * config/tc-i386.c (output_insn): Remove the extra VEX check. + +2012-05-04 H.J. Lu + + * config/tc-i386.c (match_template): Improve unsupported error + message. + +2012-05-03 Sean Keys + + * configure, Makefile.in: Regenerate. + * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES): + * configure.tgt: Added cpu type. + Added files for XGATE assembler. + * config/tc-xgate.c: Assembler for XGATE. + * config/tc-xgate.h: Header definition for assembler + Added files for XGATE testsuite. + * doc/Makefile.am (CPU_DOCS): Added XGATE file. + * doc/c-xgate.texi: Document XGATE and XGATE port. + * doc/as.texinfo: Ditto. + * doc/all.texi: Ditto + * NEWS: Mention the new support. + +2012-04-30 DJ Delorie + + * config/rx-parse.y (rx_intop): Add parameter for operation size. + Check for large positive constants really being small negative + ones. + (BRA, BSR): Update calls to rx_intop. + (immediate): Likewise. + +2012-04-26 Mark Wielaard + + * dwarf2dbg.c (DWARF2_ARANGES_VERSION): New define to 2. + (DWARF2_LINE_VERSION): Likewise. + (out_debug_line): Use DWARF2_LINE_VERSION not DWARF2_VERSION. + (out_debug_aranges): Use DWARF2_ARANGES_VERSION not DWARF2_VERSION. + (out_debug_abbrev): Use DW_FORM_data for DW_AT_high_pc when + DWARF2_VERSION >= 4. + (out_debug_info): Use difference between start and end as data + value for DW_AT_high_pc when DWARF2_VERSION >= 4. + * config/tc-ia64.h (DWARF2_LINE_VERSION): Override it. + +2012-04-27 David S. Miller + + * doc/c-sparc.text: Document %l34 and %h34. + + * config/tc-sparc.c (v9a_asr_table): Add 'cfr'. + + * config/tc-sparc.c (sparc_arch_table): Add HWCAP_PAUSE to sparc4, + v8pluse, v8plusv, v9e, and v9v. + (v9a_asr_table): Add 'pause'. + + * config/tc-sparc.c (sparc_arch_table): Add HWCAP_CBCOND to + sparc4, v8pluse, v8plusv, v9e, and v9v. + (sparc_ip): Handle R_SPARC_5 of immediate constants inline in + order to accomodate cbcond which otherwise would require two + relocations to be handled in a single instruction.. + + * config/tc-sparc.c (sparc_ip): Likewise. Accept instruction + names containing "_". + (sparc_arch_table): Add sparc4, v8pluse, and v9e. Add crypto + hwcap masks to v8plusv and v9v. + + * config/tc-sparc.c (sparc_arch_table): Rework to use HWCAP_* + masks. + (sparc_md_end): No longer need to translate hwcap_seen values into + ELF hwcap bits, they now match exactly. + (get_hwcap_name): Use HWCAP_* and handle new values. + (sparc_ip): Fetch hwcaps from insn->hwcaps instead of insn->flags. + +2012-04-20 Tristan Gingold + + * config/tc-ia64.c (obj_elf_vms_common): New function. + (md_pseudo_table): Add .vms_common pseudo. + * config/obj-elf.h (obj_elf_section_name): Add a prototype. + * config/obj-elf.c (obj_elf_section_name): Make it public. + +2012-04-17 Richard Sandiford + + * config/tc-avr.c (md_apply_fix): Fix handling of BFD_RELOC32. + +2012-04-12 David S. Miller + + * config/tc-sparc.c (sparc_ip): Handle '=', "%h34", "%l34", and + BFD_RELOC_SPARC_H34. + (md_apply_fix): Handle BFD_RELOC_SPARC_WDISP10 and BFD_RELOC_SPARC_H34. + (tc_gen_reloc): Likewise. + 2012-04-12 Roland McGrath * configure.tgt (arm-*-nacl*): Match it.