2011-03-18 Alan Modra * config/obj-elf.c (elf_frob_symbol): Report S_SET_SIZE symbol on .size expression errors rather than symbols in the size expression. 2011-03-18 Alan Modra * input-scrub.c (line_numberT): Delete. (input_scrub_close): Reset line counters. * messages.c (as_show_where): Don't print invalid line number. (as_warn_internal, as_bad_internal): Likewise. 2011-03-18 Alan Modra * read.c (read_a_source_file): Remove md_after_pass_hook. Move "quit" label before set of dot_symbol. * config/tc-d10v.h (md_after_pass_hook): Don't define. * config/tc-d30v.h (md_after_pass_hook): Likewise. * config/tc-m32r.h (md_after_pass_hook): Likewise. (md_cleanup): Define to call m32r_fill_insn. 2011-03-18 Andreas Krebbel * config/tc-s390.c (md_parse_option): Add -march=all option which switches to the highest available CPU. 2011-03-17 Alan Modra PR 12569 * expr.c (operand): Correct passing of "mode" to expr. * read.c (do_org): Allow expr_section. (get_known_segmented_expression): Don't assert anything about the segment. 2011-03-16 H.J. Lu * as.c (show_usage): Add --size-check=. (parse_args): Add and handle OPTION_SIZE_CHECK. * as.h (flag_size_check): New. * config/obj-elf.c (elf_frob_symbol): Use as_bad to report bad .size directive only for --size-check=error. * doc/as.texinfo: Document --size-check=. 2011-03-14 Mike Frysinger * config/tc-bfin.c (bfin_cpus[]): Add 0.4 for bf542/bf544/bf547/bf548/bf549. 2011-03-14 Richard Sandiford * config/tc-arm.c (md_pcrel_from_section): Use S_FORCE_RELOC to determine whether a relocation is needed. (md_apply_fix, arm_apply_sym_value): Likewise. 2011-03-14 Richard Sandiford * config/tc-arm.c (arm_adjust_symtab): Set the branch type for Thumb symbols. 2011-03-11 Nick Clifton * remap.c (remap_debug_filename): Always allocate a buffer for the returned pointer. * stabs.c (stabs_generate_asm_file): Free the pointer returned by remap_debug_filename. 2011-03-10 Michael Snyder Revert the following change: * dwarf2dbg.c (out_file_list): Free malloced 'dir'. (out_debug_info): Free malloced 'dirname' and 'comp_dir'. 2011-03-10 Alan Modra * gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS, TARGET_SYMBOL_FIELDS): Don't define. * gas/config/tc-arc.c (arc_common): Use correct symbol "local" field. 2011-03-09 Michael Snyder * dwarf2dbg.c (out_file_list): Free malloced 'dir'. (out_debug_info): Free malloced 'dirname' and 'comp_dir'. (emit_fixed_inc_line_addr): Assign instead of conditional in assert. 2011-03-05 H.J. Lu * config/obj-elf.c (elf_frob_symbol): Mention symbol name in non-constant .size expression. 2011-03-02 Nick Clifton * ecoff.c: Incldue filenames.h 2011-02-28 Kai Tietz * depend.c (register_dependency): Use filename_(n)cmp. * dwarf2dbg.c (get_filenum): Likewise. * ecoff.c (add_file): Likewise. (ecoff_generate_asm_lineno): Likewise. * input-scrub.c (new_logical_line_flags): Likewise. * listing.c (file_info): Likewise. (listing_newline): Likewise. * remap.c (remap_debug_filename): Likewise. * stabs.c (generate_asm_file): Likewise. (stabs_generate_asm_lineno): Likewise. 2011-02-28 Maciej W. Rozycki * config/tc-mips.c (append_insn): Disable branch relaxation for DSP instructions. 2011-02-28 Maciej W. Rozycki * config/tc-mips.c (macro): Handle M_PREF_AB. 2011-02-28 Maciej W. Rozycki * config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary register to use. (RELAX_BRANCH_UNCOND): Adjust accordingly. (RELAX_BRANCH_LIKELY): Likewise. (RELAX_BRANCH_LINK): Likewise. (RELAX_BRANCH_TOOFAR): Likewise. (RELAX_BRANCH_AT): New macro. (append_insn): Encode the temporary register to use in standard MIPS branch relaxation. (relaxed_branch_length): Update according to changes to RELAX_BRANCH_ENCODE. (md_convert_frag): Use the encoded register as the temporary. 2011-02-28 Maciej W. Rozycki * config/tc-mips.c (mips_fix_adjustable): On REL targets also reject PC-relative relocations. 2011-02-28 Maciej W. Rozycki * config/tc-mips.c (md_convert_frag): Correct message capitalization. 2011-02-28 Alan Modra * symbols.c (report_op_error): Remove unnecessary forward declaration. Add "op" parameter. Report operator and operand segments in error message, not operand symbols. (resolve_symbol_value): Always set segment for equated symbols, not just when finalizing. Adjust report_op_error calls. 2011-02-25 H.J. Lu * config/tc-i386.c (reloc): Don't sign-check 4-byte relocations if 64bit relocations aren't allowed. 2011-02-25 Alan Modra PR gas/12519 * config/obj-elf.c (elf_frob_symbol): Properly handle size expression. 2011-02-21 Maciej W. Rozycki * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate initialization of offset_reloc. 2011-02-15 Richard Henderson * dw2gencfi.c (dot_cfi_dummy): New. (cfi_pseudo_table) [!TARGET_USE_CFIPOP]: New. * read.c (pobegin): Unconditionally call cfi_pop_insert. 2011-02-13 Ralf Wildenhues * configure: Regenerate. 2011-02-13 Mike Frysinger * config/bfin-lex.l (BYTEOP2M): Remove tokenization. * config/bfin-parse.y (BYTEOP2M): Delete token. (asm_1): Remove BYTEOP2M insn matching. 2011-02-12 Mike Frysinger * config/bfin-defs.h: Include opcode/bfin.h. (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH, M_IU): Delete. 2011-02-11 Mike Frysinger * doc/c-bfin.texi (Instruction Delimiting): Fix occur typo. (Modify Registers): Fix subtracted typo. (.byte2): Extend and swap descriptions with .byte4. (.byte4): Extend and swap descriptions with .byte2. (.db, .dw, .dd): Document behavior. 2011-02-11 Mike Frysinger * config/bfin-parse.y (TESTSET): Reject REG_SP and REG_FP. 2011-02-11 Alan Modra * doc/c-ppc.texi (PowerPC-Opts <-nops>): Clarify. 2011-02-10 Alan Modra * doc/as.texinfo (Overview): Add missing markup around Blackfin and PowerPC options. 2011-02-10 Alan Modra * config/tc-ppc.c (md_show_usage): Remove -l and -b. Add -K PIC. * doc/as.texinfo: Refer to and include c-ppc.texi for PowerPC options. (Overview ): Add a number of missing options. * doc/c-ppc.texi: Likewise. Add markup for use in manpage generation. 2011-02-08 H.J. Lu PR gas/6957 * config/tc-i386.c (i386_align_code): Use f32_patt when tuning for i686. 2011-02-08 H.J. Lu * config/tc-i386.c (set_cpu_arch): Also update cpu_arch_isa_flags for ISA extensions. (md_parse_option): Likewise. 2011-02-04 Bernd Schmidt * doc/as.texinfo (Target TIC6X options): Don't mention "-matomic". * doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic". (TIC6X Options): Don't mention "-matomic". * config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete. (md_longopts): Remove corresponding entries. (md_parse_option): Don't handle them. (md_show_usage): Don't document them. (tic6x_atomic): Delete variable. (tic6x_update_features): Always copy tic6x_arch_enable to tic6x_features. (tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC. (s_tic6x_atomic, s_tic6x_noatomic): Remove functions. (md_pseudo_table): Remove ".atomic" and ".noatomic". 2011-01-31 Nick Clifton * write.c (write_contents): Include output file name and bfd error value when reporting the inability to write to the output file. * config/tc-rx.c (rx_handle_align): Do not insert NOPs into align frag that has a non-zero fill value. 2011-01-27 DJ Delorie * config/tc-rx.c (md_convert_frag): If we can't compute the target address, zero out the values stored in the object file to make objdump's output consistent. 2011-01-26 Kai Tietz * config/tc-i386.c (md_begin): Set for x64 windows COFF target x86_dwarf2_return_column to 32. 2011-01-20 Nick Clifton PR gas/12384 * config/tc-h8300.c (constant_fits_width_p): Use correct type for comparison. 2011-01-18 H.J. Lu * write.c (compress_debug): Return if section size is smaller than 32 bytes. 2011-01-18 H.J. Lu PR gas/12409 * write.c (compress_debug): Return if section size is 0. 2011-01-18 Mingfeng Wu * config/tc-arm.c (arm_cpus): Add Faraday ARMv5TE compatible cores: fa606te, fa616te, fmp626. Modify the VFP of fa626te. * doc/c-arm.texi (ARM Options): Add -mcpu={fa606te, fa616te, fmp626} options. 2011-01-18 Nick Clifton PR gas/12390 * doc/all.texi: Add NS32K * doc/as.texinfo: Remove target specific details of which characters act as comment initiators and statement separators into individual target specific files. * doc/c-alpha.texi (Alpha-Chars): Document special behaviour of the hash character at the start of a line. * doc/c-arm.texi (ARM-Chars): Likewise. * doc/c-avr.texi (AVR-Chars): Likewise. * doc/c-d10v.texi (D10V-Chars): Likewise. * doc/c-d30v.texi (D30V-Chars): Likewise. * doc/c-mmix.texi (MMIX-Chars): Likewise. * doc/c-s390.texi (s390 characters): Likewise. * doc/c-sh.texi (SH-Chars): Likewise. * doc/c-sh64.texi (SH64-Chars): Likewise. * doc/c-sparc.texi (SPARC-Chars): Likewise. * doc/c-tic6x.texi (TIC6X Syntax): Likewise. * doc/c-xtensa.texi (Xtensa Syntax): Likewise. * doc/c-z80.texi (Z80-Chars): Likewise. * doc/c-z8k.texi (Z8000-Chars): Likewise. * doc/c-pdp11.texi (PDP11-Syntax): Document line separator character. * doc/c-arc.texi (ARC-Chars): Fill in this subsection. * doc/c-bfin.texi (Blackfin Syntax): Document line comment and line separator characters. * doc/c-cr16.texi (CR16 Syntax): Likewise. * doc/c-i386.texi (i386-Chars): Likewise. * doc/c-i860.texi (i860-Chars): Likewise. * doc/c-i960.texi (i960-Chars): Likewise. * doc/c-ip2k.texi (IP2K-Chars): Likewise. * doc/c-lm32.texi (LM32-Chars): likewise. * doc/c-m32c.texi (M32C-Chars): Likewise. * doc/c-m68hc11.texi (M68HC11-syntax): Likewise. * doc/c-m68k.texi (M68K-Chars): Likewise. * doc/c-microblaze.texi (MicroBlaze-Chars): Likewise. * doc/c-msp430.texi (MSP430-Chars): Likewise. * doc/c-mt.texi (MT-Chars): Likewise. * doc/c-ns32k.texi (NS32K-Chars): Likewise. * doc/c-pj.texi (PJ-Chars): Likewise. * doc/c-ppc.texi (PowerPC-Chars): Likewise. * doc/c-rx.texi (RX-Chars): Likewise. * doc/c-score.texi (SCORE-Chars): Likewise. * doc/c-tic54x.texi (TIC54X-Chars): Likewise. * doc/c-v850.texi (V850-Chars): Likewise. * doc/c-vax.texi (VAX-Chars): Likewise. * doc/c-xc16x.texi (xc16x-Chars): Likewise. 2011-01-17 Quentin Neill * config/tc-i386.c (cpu_arch): Add CPU_TBM_FLAGS. * doc/c-i386.texi (i386-TBM): New section. 2011-01-16 H.J. Lu * config/tc-i386.c (disallow_64bit_disp): Renamed to ... (disallow_64bit_reloc): This. (md_assemble): Don't check movabs for x32 mode here. (i386_target_format): Updated. (tc_gen_reloc): Check if 64bit relocations are allowed. 2011-01-15 H.J. Lu * config/tc-i386.c (disallow_64bit_disp): New. (x86_elf_abi): Replace X86_64_LP64_ABI/X86_64_ILP32_ABI with X86_64_ABI/X86_64_X32_ABI. (md_assemble): Don't allow movabs with relocation in x32 mode. (i386_target_format): Updated. 2011-01-14 H.J. Lu * config/tc-i386.c (OPTION_N32): Renamed to ... (OPTION_X32): This. (md_longopts): Replace n32 with x32. (md_parse_option): Updated. (md_show_usage): Likewise. * doc/c-i386.texi: Replace --n32 with --x32. 2011-01-11 Mingjie Xing * config/tc-mips.c (mips_ip): Update error messages. Take an unadjusted offset for "+c" argument. 2011-01-10 Nick Clifton * config/tc-i386.c (x86_elf_abi): Only define for targets that use it. 2011-01-10 Nick Clifton * config/tc-arm.c (s_arm_tls_desceq): Move code into ELF-only part of the file. 2011-01-10 Nathan Sidwell Glauber de Oliveira Costa * doc/c-arm.texi: Document TLSDESC and TLSCALL relocations, and .tlsdescseq directive. * config/tc-arm.c (arm_typed_reg_parse): Check for potential reloc following a symbol. (s_arm_tls_descseq): New directive. (md_pseudo_table): Add it. (encode_branch): Allow TLS_CALL relocs too. (do_t_blx, do_t_branch23): Use encode_branch. (reloc_names): Add tlsdesc and tlscall. (md_apply_fix): Process tls desc relocations. (tc_gen_reloc): Likewise. (arm_fix_adjustable): Likewise. 2011-01-07 Quentin Neill * config/tc-i386.c (cpu_arch): Add CPU_BMI_FLAGS. * doc/c-i386.texi (i386-BMI): New section. 2011-01-06 Paul Koning * config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relative references to absolute addresses. 2011-01-05 DJ Delorie * config/tc-rx.c (tc_gen_reloc): Emit an RX_OP_NEG expression instead of an RH_NEG32 one. 2011-01-05 Jonathan Wakely * doc/c-i386.texi: Clarify --n32. 2011-01-04 H.J. Lu * config/tc-i386.c (build_modrm_byte): Allow encoding 32/64bit integer registers in VEX.vvvv. Check register-only source operand when two source operands are swapped. Properly update destination when two source operands are swapped. 2011-01-01 H.J. Lu * gas.c (parse_args): Update copyright to 2011. For older changes see ChangeLog-2010 Local Variables: mode: change-log left-margin: 8 fill-column: 74 version-control: never End: