1 2010-04-20 Nick Clifton <nickc@redhat.com>
4 * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
5 altmacro mode if found inside a quoted string.
7 2010-04-20 Mike Frysinger <vapier@gentoo.org>
9 * config/bfin-lex.l (parse_int): Change index() to strchr().
11 2010-04-16 Nick Clifton <nickc@redhat.com>
14 * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
15 matcher to accept and unconditional 32-bit add instruction.
16 (pa_build_unwind_subspace): Cope with error conditions not
17 allowing the start symbol to be set.
19 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
21 * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
22 new tag names in v2.08 of ARM ABI.
23 * doc/c-arm.texi: Document new tag names in ABI.
25 2010-04-14 Tristan Gingold <gingold@adacore.com>
27 * config/tc-alpha.c: Includes vms/egps.h on EVAX.
28 (s_alpha_comm): Used new EGPS macros from egps.h
29 (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
30 (s_alpha_section_word): Add comments. Use new EGPS macros.
31 Adjust for modified bfd_vms_set_section_flags function.
33 2010-04-10 Alan Modra <amodra@gmail.com>
36 * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
38 2010-04-09 Nick Clifton <nickc@redhat.com>
40 * as.c (create_obj_attrs_section): Remove unused variable addr.
41 * listing.c (listing_listing): Remove unused variable message.
42 * read.c: Remove unnecessary register type qualifiers.
43 (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
46 2010-04-07 Eric B. Weddington <eric.weddington@atmel.com>
48 * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
49 atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
50 atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
51 atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
52 atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
53 atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
54 atmega88pa, attiny461a, attiny84a, m3000.
55 Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
56 atmega8hvd, attiny327, m3000f, m3000s, m3001b.
57 * doc/c-avr.texi: Same.
59 2010-04-07 Jie Zhang <jie@codesourcery.com>
61 * config/tc-arm.c (make_mapping_symbol): Handle the case
62 that multiple mapping symbols have the same value 0.
64 2010-04-07 Alan Modra <amodra@gmail.com>
66 * configure: Regenerate.
68 2010-04-06 Nick Clifton <nickc@redhat.com>
70 * po/ru.po: New Russian translation.
71 * configure.in (ALL_LINGUAS): Add ru.
72 * configure: Regenerate.
74 2010-03-30 H.J. Lu <hongjiu.lu@intel.com>
77 * input-scrub.c (input_scrub_next_buffer): Use memmove instead
78 of memcpy to copy overlap memory.
80 2010-03-25 Joseph Myers <joseph@codesourcery.com>
82 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
83 (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
84 * Makefile.in: Regenerate.
85 * NEWS: Add news entry for TI C6X support.
86 * app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle
87 TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in
88 operands if TC_KEEP_OPERAND_SPACES.
89 * configure.tgt (tic6x-*-*): New.
90 * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
91 TC_PREDICATE_END_CHAR): Define.
92 * config/tc-tic6x.c, config/tc-tic6x.h: New.
93 * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
94 * doc/Makefile.in: Regenerate.
95 * doc/all.texi (TIC6X): Define.
96 * doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi.
97 * doc/c-tic6x.texi: New.
99 2010-03-22 H.J. Lu <hongjiu.lu@intel.com>
101 * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
103 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
105 * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
106 with operand_size_mismatch.
107 (operand_size_match): Updated.
108 (match_template): Likewise.
110 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
112 * config/tc-i386.c (i386_error): New.
113 (_i386_insn): Replace err_msg with error.
114 (operand_size_match): Set error instead of err_msg on failure.
115 (operand_type_match): Likewise.
116 (operand_type_register_match): Likewise.
117 (VEX_check_operands): Likewise.
118 (match_template): Likewise. Use error instead of err_msg with
121 2010-03-19 Jie Zhang <jie@codesourcery.com>
123 * config/tc-arm.c (make_mapping_symbol): Hanle the case
124 that two mapping symbols have the same value.
126 2010-03-18 Daniel Jacobowitz <dan@codesourcery.com>
128 * doc/c-arm.texi (.setfp): Correct example.
130 2010-03-18 Wei Guozhi <carrot@google.com>
133 * config/tc-arm.c (reloc_names): New relocation names.
134 (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
135 (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
136 * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
138 2010-03-15 Thomas Schwinge <thomas@codesourcery.com>
140 * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
141 cases, and not only for .eh_frame.
143 * dw2gencfi.c (output_cie): Make it more explicit which code paths
144 belong to .eh_frame only.
146 2010-03-13 Segher Boessenkool <segher@kernel.crashing.org>
148 * config/tc-v850.c (v850_insert_operand): Handle out-of-range
149 assembler constants on 64-bit hosts.
151 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
153 * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
154 Strip trailing whitespace.
156 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
158 * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
159 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
161 (bfin_cpus[]): Add 0.0 for bf504 and bf506.
163 2010-03-10 Jie Zhang <jie@codesourcery.com>
165 * doc/as.texinfo: Add Blackfin options.
166 * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
167 * config/tc-bfin.c (md_show_usage): Show usage for all
168 Blackfin specific options.
170 2010-03-09 Alan Modra <amodra@gmail.com>
173 * listing.c (listing_newline): Correct backslash quote logic.
175 2010-03-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
177 * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
178 (ELF_TARGET_FORMAT64): Define.
180 2010-03-05 Paul Brook <paul@codesourcery.com>
182 * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
184 2010-03-02 Andrew Stubbs <ams@codesourcery.com>
186 * config/tc-sh.c (get_specific): Move overflow checking code to avoid
187 reading uninitialized data.
189 2010-03-01 Tristan Gingold <gingold@adacore.com>
191 * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
193 2010-02-26 Doug Evans <dje@sebabeach.org>
195 * configure.tgt: Fix mep cpu case.
197 2010-02-26 Jie Zhang <jie@codesourcery.com>
199 * config/tc-arm.c (do_t_strexd): Remove
200 operand[1] != operand[2] contraint.
202 2010-02-26 Jie Zhang <jie@codesourcery.com>
204 * config/tc-arm.c (neon_select_shape): No need to match
205 the remaining operands in the shape when one operand does
208 2010-02-26 Jie Zhang <jie@codesourcery.com>
210 * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
213 2010-02-25 Doug Evans <dje@sebabeach.org>
215 * cgen.c: Whitespace fixes.
216 (weak_operand_overflow_check): Formatting fix.
218 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
220 * config/tc-i386.c (match_template): Update error messages.
222 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
224 * config/tc-i386.c (_i386_insn): Add err_msg.
225 (operand_size_match): Set err_msg on failure.
226 (operand_type_match): Likewise.
227 (operand_type_register_match): Likewise.
228 (VEX_check_operands): Likewise.
229 (match_template): Likewise. Use i.err_msg with as_bad.
231 2010-02-25 Wu Zhangjin <wuzhangjin@gmail.com>
233 * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
234 mips_fix_loongson2f_jump): New variables.
235 (md_longopts): Add New options -mfix-loongson2f-nop/jump,
236 -mno-fix-loongson2f-nop/jump.
237 (md_parse_option): Initialize variables via above options.
238 (options): New enums for the above options.
239 (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
240 (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
242 (append_insn): call fix_loongson2f().
243 (mips_handle_align): Replace the implicit nops.
244 * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
245 for the new mips_handle_align().
246 * doc/c-mips.texi: Document the new options.
248 2010-02-23 Daniel Gutson <dgutson@codesourcery.com>
250 * config/tc-arm.c (do_rd_rm_rn): Added warning
253 2010-02-23 Andrew Zabolotny <anpaza@mail.ru>
256 * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
257 (avr_cons_fix_new): Handle fixups of a single byte.
259 2010-02-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
262 * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
263 compiler's predefines.
265 2010-02-19 Alan Modra <amodra@gmail.com>
267 * configure.tgt: Whiltespace. Sort moxie entry.
269 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
271 * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
272 * doc/c-arm.texi: Likewise.
274 2010-02-12 Daniel Gutson <dgutson@codesourcery.com>
276 * config/tc-arm.c (asm_opcode): operands type
278 (BAD_PC_ADDRESSING): New macro message.
279 (BAD_PC_WRITEBACK): Likewise.
280 (MIX_ARM_THUMB_OPERANDS): New macro.
281 (operand_parse_code): Added enum values.
282 (parse_operands): Added thumb/arm distinction,
283 plus new enum values handling.
284 (encode_arm_addr_mode_2): Validations enhanced.
285 (encode_arm_addr_mode_3): Likewise.
286 (do_rm_rd_rn): Likewise.
287 (encode_thumb32_addr_mode): Likewise.
288 (do_t_ldrex): Likewise.
289 (do_t_ldst): Likewise.
290 (do_t_strex): Likewise.
291 (md_assemble): Call parse_operands with
299 (insns): Updated insns operands.
301 2010-02-12 Tristan Gingold <gingold@adacore.com>
302 Douglas B Rupp <rupp@gnat.com>
304 * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
305 (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
306 (pseudo_func): Add an entry for slotcount.
307 (md_begin): Initialize slotcount pseudo symbol.
308 (ia64_parse_name): Handle @slotcount parameter.
309 (ia64_gen_real_reloc_type): Handle slotcount.
310 (md_apply_fix): Ditto.
311 * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
313 2010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com>
315 * config/tc-xtensa.c (istack_init): Don't call memset.
317 2010-02-11 Sterling Augustine <sterling@tensilica.com>
319 * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
322 2010-02-11 Sterling Augustine <sterling@tensilica.com>
324 * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
326 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
328 * config/tc-i386.c (build_modrm_byte): Reformat.
330 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
332 * config/tc-i386.c: Update copyright.
334 2010-02-10 Quentin Neill <quentin.neill@amd.com>
335 Sebastian Pop <sebastian.pop@amd.com>
337 * config/tc-i386.c (vec_imm4) New operand type.
339 (VEX_check_operands): New.
340 (check_reverse): Call VEX_check_operands.
341 (build_modrm_byte): Reintroduce code for 5
342 operand insns. Fix whitespace.
344 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
346 * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
349 2010-02-09 Sterling Augustine <sterling@tensilica.com>
351 * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
352 (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
353 (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
355 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
357 * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
358 non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
359 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
360 BFD_RELOC_ARM_PCREL_CALL)
362 2010-02-08 Sterling Augustine <sterling@tensilica.com>
364 * config/tc-xtensa.c (frag_format_size): Generalize logic to
365 handle more instruction sizes and fetch widths.
366 (branch_align_power): Likewise.
367 (text_align_power): Likewise.
368 (bytes_to_stretch): Likewise.
370 2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
372 * config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs.
373 (ppc_mach): Handle titan.
374 * doc/c-ppc.texi: Mention -mtitan.
376 2010-02-05 Sterling Augustine <sterling@tensilica.com>
378 * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
380 (xtensa_fetch_width) ...this.
382 2010-02-05 Joseph Myers <joseph@codesourcery.com>
384 * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
385 MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
386 * Makefile.in: Regenerate.
388 2010-02-03 Quentin Neill <quentin.neill@amd.com>
390 * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
391 (i386_align_code): Rename PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
392 * config/tc-i386.h (processor_type): Same.
393 * doc/c-i386.texi: Change amdfam15 to bdver1.
395 2010-01-29 Nick Clifton <nickc@redhat.com>
398 * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
401 2010-01-27 Dave Korn <dave.korn.cygwin@gmail.com>
403 * NEWS: Mention new feature.
404 * config/obj-coff.c (obj_coff_section): Accept digits and use
405 to override default section alignment power if specified.
406 * doc/as.texinfo (.section directive): Update documentation.
408 2010-01-27 H.J. Lu <hongjiu.lu@intel.com>
410 * config/tc-i386.c (avxscalar): New.
411 (OPTION_MAVXSCALAR): Likewise.
412 (build_vex_prefix): Select vector_length for scalar instructions
414 (md_longopts): Add OPTION_MAVXSCALAR.
415 (md_parse_option): Handle OPTION_MAVXSCALAR.
416 (md_show_usage): Add -mavxscalar=.
418 * doc/c-i386.texi: Document -mavxscalar=.
420 2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
422 * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
425 2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
427 * write.h (fix_at_start): Declare.
428 * write.c (fix_new_internal): Add at_beginning parameter.
429 Use it instead of REVERSE_SORT_RELOCS. Fix the handling of
430 seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
431 (fix_new, fix_new_exp): Update accordingly.
432 (fix_at_start): New function.
433 * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
434 (ppc_ref): New function, for OBJ_XCOFF.
435 (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
436 * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
438 2010-01-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
440 * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
441 on 64-bit Solaris/x86.
442 Include obj-format.h earlier.
444 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
446 * config/tc-s390.c (s390_elf_final_processing): New function.
447 * config/tc-s390.h (elf_tc_final_processing): New macro definition.
448 (s390_elf_final_processing): Added prototype.
451 2010-01-20 Nick Clifton <nickc@redhat.com>
454 * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1. Add
455 code to handle round-to-zero for VCVT conversions.
456 (do_neon_cvt): New. Call do_neon_cvt_1.
457 (do_neon_cvtr): New. Call do_neon_cvt_1.
458 (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
461 2010-01-18 Tristan Gingold <gingold@adacore.com>
463 * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
465 2010-01-15 Sebastian Pop <sebastian.pop@amd.com>
467 * config/tc-i386.c (md_assemble): Before accessing the IMM field
468 check that it's not an XOP insn.
470 2010-01-14 Jie Zhang <jie.zhang@analog.com>
472 * config/bfin-aux.h: Remove argument names in function
474 * config/bfin-lex.l (parse_int): Fix shadowed variable name
476 * config/bfin-parse.y (value_match): Remove argument names
478 (notethat): Likewise.
481 2010-01-13 Daniel Jacobowitz <dan@codesourcery.com>
483 * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
485 2010-01-13 Nick Clifton <nickc@redhat.com>
487 * config/tc-h8300.c (h8300_elf_section): New function - issue a
488 warning message if a new section is created without setting any
490 (md_pseudo_table): Intercept section creation pseudos.
491 (md_pcrel_from): Replace abort with an error message.
492 * config/obj-elf.c (obj_elf_section_name): Export this function.
493 * config/obj-elf.h (obj_elf_section_name): Prototype.
495 2010-01-12 Alan Modra <amodra@gmail.com>
498 * listing.c (print_source): Add one to line number.
500 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
502 * Makefile.in: Regenerate.
503 * configure: Regenerate.
504 * doc/Makefile.in: Regenerate.
506 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
508 * version.c (parse_args): Change to "Copyright 2010".
510 2010-01-06 Quentin Neill <quentin.neill@amd.com>
512 * config/tc-i386.c (cpu_arch): Add amdfam15.
513 (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
514 * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
515 * doc/c-i386.texi: Add amdfam15.
517 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
519 * config/tc-arm.c (do_neon_logic): Accept imm value
520 in the third operand too.
521 (operand_parse_code): OP_RNDQ_IMVNb renamed to
523 (parse_operands): OP_NILO case removed, applied renaming.
524 (insns): Neon shape changed for some logic instructions.
526 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
528 * config/tc-arm.c (do_neon_ldx_stx): Added
529 validation for vector load/store insns.
531 2010-01-04 Edmar Wienskoski <edmar@freescale.com>
533 * config/tc-ppc.c (md_show_usage): Document -me500mc64.
535 2010-01-03 Daniel Gutson <dgutson@codesourcery.com>
537 * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
538 (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
539 (NEON_ENCODE): New macro.
540 (check_neon_suffixes): New macro.
541 (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
542 (do_vfp_nsyn_opcode): Likewise.
543 (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
544 (do_vfp_nsyn_cmp): Likewise.
545 (do_neon_shl_imm): Likewise.
546 (do_neon_qshl_imm): Likewise.
547 (neon_dyadic_misc): Likewise.
548 (do_neon_mac_maybe_scalar): Likewise.
549 (do_neon_qdmulh): Likewise.
550 (do_neon_qmovn): Likewise.
551 (do_neon_qmovun): Likewise.
552 (do_neon_movn): Likewise.
553 (neon_mac_reg_scalar_long): Likewise.
554 (do_neon_vmull): Likewise.
555 (do_neon_trn): Likewise.
556 (do_neon_ldx_stx): Likewise.
557 (neon_dp_fixup): Changed signature and set the flag.
558 (neon_three_same): Call the above with new signature.
559 (neon_two_same): Likewise.
560 (neon_imm_shift): Likewise.
561 (neon_mul_mac): Likewise.
562 (do_neon_abs_neg): Likewise.
563 (neon_mixed_length): Likewise.
564 (do_neon_ext): Likewise.
565 (do_neon_mov): Likewise.
566 (do_neon_tbl_tbx): Likewise.
567 (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
568 (neon_compare): Likewise.
569 (do_neon_shll): Likewise.
570 (do_neon_cvt): Likewise.
571 (do_neon_mvn): Likewise.
572 (do_neon_dup): Likewise.
573 (md_assemble): Call check_neon_suffixes ().
575 For older changes see ChangeLog-2009
581 version-control: never