1 2010-04-16 Nick Clifton <nickc@redhat.com>
4 * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
5 matcher to accept and unconditional 32-bit add instruction.
6 (pa_build_unwind_subspace): Cope with error conditions not
7 allowing the start symbol to be set.
9 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
11 * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
12 new tag names in v2.08 of ARM ABI.
13 * doc/c-arm.texi: Document new tag names in ABI.
15 2010-04-14 Tristan Gingold <gingold@adacore.com>
17 * config/tc-alpha.c: Includes vms/egps.h on EVAX.
18 (s_alpha_comm): Used new EGPS macros from egps.h
19 (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
20 (s_alpha_section_word): Add comments. Use new EGPS macros.
21 Adjust for modified bfd_vms_set_section_flags function.
23 2010-04-10 Alan Modra <amodra@gmail.com>
26 * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
28 2010-04-09 Nick Clifton <nickc@redhat.com>
30 * as.c (create_obj_attrs_section): Remove unused variable addr.
31 * listing.c (listing_listing): Remove unused variable message.
32 * read.c: Remove unnecessary register type qualifiers.
33 (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
36 2010-04-07 Eric B. Weddington <eric.weddington@atmel.com>
38 * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
39 atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
40 atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
41 atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
42 atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
43 atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
44 atmega88pa, attiny461a, attiny84a, m3000.
45 Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
46 atmega8hvd, attiny327, m3000f, m3000s, m3001b.
47 * doc/c-avr.texi: Same.
49 2010-04-07 Jie Zhang <jie@codesourcery.com>
51 * config/tc-arm.c (make_mapping_symbol): Handle the case
52 that multiple mapping symbols have the same value 0.
54 2010-04-07 Alan Modra <amodra@gmail.com>
56 * configure: Regenerate.
58 2010-04-06 Nick Clifton <nickc@redhat.com>
60 * po/ru.po: New Russian translation.
61 * configure.in (ALL_LINGUAS): Add ru.
62 * configure: Regenerate.
64 2010-03-30 H.J. Lu <hongjiu.lu@intel.com>
67 * input-scrub.c (input_scrub_next_buffer): Use memmove instead
68 of memcpy to copy overlap memory.
70 2010-03-25 Joseph Myers <joseph@codesourcery.com>
72 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
73 (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
74 * Makefile.in: Regenerate.
75 * NEWS: Add news entry for TI C6X support.
76 * app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle
77 TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in
78 operands if TC_KEEP_OPERAND_SPACES.
79 * configure.tgt (tic6x-*-*): New.
80 * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
81 TC_PREDICATE_END_CHAR): Define.
82 * config/tc-tic6x.c, config/tc-tic6x.h: New.
83 * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
84 * doc/Makefile.in: Regenerate.
85 * doc/all.texi (TIC6X): Define.
86 * doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi.
87 * doc/c-tic6x.texi: New.
89 2010-03-22 H.J. Lu <hongjiu.lu@intel.com>
91 * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
93 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
95 * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
96 with operand_size_mismatch.
97 (operand_size_match): Updated.
98 (match_template): Likewise.
100 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
102 * config/tc-i386.c (i386_error): New.
103 (_i386_insn): Replace err_msg with error.
104 (operand_size_match): Set error instead of err_msg on failure.
105 (operand_type_match): Likewise.
106 (operand_type_register_match): Likewise.
107 (VEX_check_operands): Likewise.
108 (match_template): Likewise. Use error instead of err_msg with
111 2010-03-19 Jie Zhang <jie@codesourcery.com>
113 * config/tc-arm.c (make_mapping_symbol): Hanle the case
114 that two mapping symbols have the same value.
116 2010-03-18 Daniel Jacobowitz <dan@codesourcery.com>
118 * doc/c-arm.texi (.setfp): Correct example.
120 2010-03-18 Wei Guozhi <carrot@google.com>
123 * config/tc-arm.c (reloc_names): New relocation names.
124 (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
125 (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
126 * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
128 2010-03-15 Thomas Schwinge <thomas@codesourcery.com>
130 * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
131 cases, and not only for .eh_frame.
133 * dw2gencfi.c (output_cie): Make it more explicit which code paths
134 belong to .eh_frame only.
136 2010-03-13 Segher Boessenkool <segher@kernel.crashing.org>
138 * config/tc-v850.c (v850_insert_operand): Handle out-of-range
139 assembler constants on 64-bit hosts.
141 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
143 * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
144 Strip trailing whitespace.
146 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
148 * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
149 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
151 (bfin_cpus[]): Add 0.0 for bf504 and bf506.
153 2010-03-10 Jie Zhang <jie@codesourcery.com>
155 * doc/as.texinfo: Add Blackfin options.
156 * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
157 * config/tc-bfin.c (md_show_usage): Show usage for all
158 Blackfin specific options.
160 2010-03-09 Alan Modra <amodra@gmail.com>
163 * listing.c (listing_newline): Correct backslash quote logic.
165 2010-03-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
167 * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
168 (ELF_TARGET_FORMAT64): Define.
170 2010-03-05 Paul Brook <paul@codesourcery.com>
172 * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
174 2010-03-02 Andrew Stubbs <ams@codesourcery.com>
176 * config/tc-sh.c (get_specific): Move overflow checking code to avoid
177 reading uninitialized data.
179 2010-03-01 Tristan Gingold <gingold@adacore.com>
181 * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
183 2010-02-26 Doug Evans <dje@sebabeach.org>
185 * configure.tgt: Fix mep cpu case.
187 2010-02-26 Jie Zhang <jie@codesourcery.com>
189 * config/tc-arm.c (do_t_strexd): Remove
190 operand[1] != operand[2] contraint.
192 2010-02-26 Jie Zhang <jie@codesourcery.com>
194 * config/tc-arm.c (neon_select_shape): No need to match
195 the remaining operands in the shape when one operand does
198 2010-02-26 Jie Zhang <jie@codesourcery.com>
200 * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
203 2010-02-25 Doug Evans <dje@sebabeach.org>
205 * cgen.c: Whitespace fixes.
206 (weak_operand_overflow_check): Formatting fix.
208 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
210 * config/tc-i386.c (match_template): Update error messages.
212 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
214 * config/tc-i386.c (_i386_insn): Add err_msg.
215 (operand_size_match): Set err_msg on failure.
216 (operand_type_match): Likewise.
217 (operand_type_register_match): Likewise.
218 (VEX_check_operands): Likewise.
219 (match_template): Likewise. Use i.err_msg with as_bad.
221 2010-02-25 Wu Zhangjin <wuzhangjin@gmail.com>
223 * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
224 mips_fix_loongson2f_jump): New variables.
225 (md_longopts): Add New options -mfix-loongson2f-nop/jump,
226 -mno-fix-loongson2f-nop/jump.
227 (md_parse_option): Initialize variables via above options.
228 (options): New enums for the above options.
229 (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
230 (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
232 (append_insn): call fix_loongson2f().
233 (mips_handle_align): Replace the implicit nops.
234 * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
235 for the new mips_handle_align().
236 * doc/c-mips.texi: Document the new options.
238 2010-02-23 Daniel Gutson <dgutson@codesourcery.com>
240 * config/tc-arm.c (do_rd_rm_rn): Added warning
243 2010-02-23 Andrew Zabolotny <anpaza@mail.ru>
246 * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
247 (avr_cons_fix_new): Handle fixups of a single byte.
249 2010-02-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
252 * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
253 compiler's predefines.
255 2010-02-19 Alan Modra <amodra@gmail.com>
257 * configure.tgt: Whiltespace. Sort moxie entry.
259 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
261 * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
262 * doc/c-arm.texi: Likewise.
264 2010-02-12 Daniel Gutson <dgutson@codesourcery.com>
266 * config/tc-arm.c (asm_opcode): operands type
268 (BAD_PC_ADDRESSING): New macro message.
269 (BAD_PC_WRITEBACK): Likewise.
270 (MIX_ARM_THUMB_OPERANDS): New macro.
271 (operand_parse_code): Added enum values.
272 (parse_operands): Added thumb/arm distinction,
273 plus new enum values handling.
274 (encode_arm_addr_mode_2): Validations enhanced.
275 (encode_arm_addr_mode_3): Likewise.
276 (do_rm_rd_rn): Likewise.
277 (encode_thumb32_addr_mode): Likewise.
278 (do_t_ldrex): Likewise.
279 (do_t_ldst): Likewise.
280 (do_t_strex): Likewise.
281 (md_assemble): Call parse_operands with
289 (insns): Updated insns operands.
291 2010-02-12 Tristan Gingold <gingold@adacore.com>
292 Douglas B Rupp <rupp@gnat.com>
294 * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
295 (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
296 (pseudo_func): Add an entry for slotcount.
297 (md_begin): Initialize slotcount pseudo symbol.
298 (ia64_parse_name): Handle @slotcount parameter.
299 (ia64_gen_real_reloc_type): Handle slotcount.
300 (md_apply_fix): Ditto.
301 * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
303 2010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com>
305 * config/tc-xtensa.c (istack_init): Don't call memset.
307 2010-02-11 Sterling Augustine <sterling@tensilica.com>
309 * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
312 2010-02-11 Sterling Augustine <sterling@tensilica.com>
314 * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
316 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
318 * config/tc-i386.c (build_modrm_byte): Reformat.
320 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
322 * config/tc-i386.c: Update copyright.
324 2010-02-10 Quentin Neill <quentin.neill@amd.com>
325 Sebastian Pop <sebastian.pop@amd.com>
327 * config/tc-i386.c (vec_imm4) New operand type.
329 (VEX_check_operands): New.
330 (check_reverse): Call VEX_check_operands.
331 (build_modrm_byte): Reintroduce code for 5
332 operand insns. Fix whitespace.
334 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
336 * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
339 2010-02-09 Sterling Augustine <sterling@tensilica.com>
341 * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
342 (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
343 (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
345 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
347 * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
348 non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
349 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
350 BFD_RELOC_ARM_PCREL_CALL)
352 2010-02-08 Sterling Augustine <sterling@tensilica.com>
354 * config/tc-xtensa.c (frag_format_size): Generalize logic to
355 handle more instruction sizes and fetch widths.
356 (branch_align_power): Likewise.
357 (text_align_power): Likewise.
358 (bytes_to_stretch): Likewise.
360 2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
362 * config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs.
363 (ppc_mach): Handle titan.
364 * doc/c-ppc.texi: Mention -mtitan.
366 2010-02-05 Sterling Augustine <sterling@tensilica.com>
368 * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
370 (xtensa_fetch_width) ...this.
372 2010-02-05 Joseph Myers <joseph@codesourcery.com>
374 * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
375 MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
376 * Makefile.in: Regenerate.
378 2010-02-03 Quentin Neill <quentin.neill@amd.com>
380 * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
381 (i386_align_code): Rename PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
382 * config/tc-i386.h (processor_type): Same.
383 * doc/c-i386.texi: Change amdfam15 to bdver1.
385 2010-01-29 Nick Clifton <nickc@redhat.com>
388 * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
391 2010-01-27 Dave Korn <dave.korn.cygwin@gmail.com>
393 * NEWS: Mention new feature.
394 * config/obj-coff.c (obj_coff_section): Accept digits and use
395 to override default section alignment power if specified.
396 * doc/as.texinfo (.section directive): Update documentation.
398 2010-01-27 H.J. Lu <hongjiu.lu@intel.com>
400 * config/tc-i386.c (avxscalar): New.
401 (OPTION_MAVXSCALAR): Likewise.
402 (build_vex_prefix): Select vector_length for scalar instructions
404 (md_longopts): Add OPTION_MAVXSCALAR.
405 (md_parse_option): Handle OPTION_MAVXSCALAR.
406 (md_show_usage): Add -mavxscalar=.
408 * doc/c-i386.texi: Document -mavxscalar=.
410 2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
412 * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
415 2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
417 * write.h (fix_at_start): Declare.
418 * write.c (fix_new_internal): Add at_beginning parameter.
419 Use it instead of REVERSE_SORT_RELOCS. Fix the handling of
420 seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
421 (fix_new, fix_new_exp): Update accordingly.
422 (fix_at_start): New function.
423 * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
424 (ppc_ref): New function, for OBJ_XCOFF.
425 (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
426 * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
428 2010-01-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
430 * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
431 on 64-bit Solaris/x86.
432 Include obj-format.h earlier.
434 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
436 * config/tc-s390.c (s390_elf_final_processing): New function.
437 * config/tc-s390.h (elf_tc_final_processing): New macro definition.
438 (s390_elf_final_processing): Added prototype.
441 2010-01-20 Nick Clifton <nickc@redhat.com>
444 * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1. Add
445 code to handle round-to-zero for VCVT conversions.
446 (do_neon_cvt): New. Call do_neon_cvt_1.
447 (do_neon_cvtr): New. Call do_neon_cvt_1.
448 (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
451 2010-01-18 Tristan Gingold <gingold@adacore.com>
453 * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
455 2010-01-15 Sebastian Pop <sebastian.pop@amd.com>
457 * config/tc-i386.c (md_assemble): Before accessing the IMM field
458 check that it's not an XOP insn.
460 2010-01-14 Jie Zhang <jie.zhang@analog.com>
462 * config/bfin-aux.h: Remove argument names in function
464 * config/bfin-lex.l (parse_int): Fix shadowed variable name
466 * config/bfin-parse.y (value_match): Remove argument names
468 (notethat): Likewise.
471 2010-01-13 Daniel Jacobowitz <dan@codesourcery.com>
473 * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
475 2010-01-13 Nick Clifton <nickc@redhat.com>
477 * config/tc-h8300.c (h8300_elf_section): New function - issue a
478 warning message if a new section is created without setting any
480 (md_pseudo_table): Intercept section creation pseudos.
481 (md_pcrel_from): Replace abort with an error message.
482 * config/obj-elf.c (obj_elf_section_name): Export this function.
483 * config/obj-elf.h (obj_elf_section_name): Prototype.
485 2010-01-12 Alan Modra <amodra@gmail.com>
488 * listing.c (print_source): Add one to line number.
490 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
492 * Makefile.in: Regenerate.
493 * configure: Regenerate.
494 * doc/Makefile.in: Regenerate.
496 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
498 * version.c (parse_args): Change to "Copyright 2010".
500 2010-01-06 Quentin Neill <quentin.neill@amd.com>
502 * config/tc-i386.c (cpu_arch): Add amdfam15.
503 (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
504 * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
505 * doc/c-i386.texi: Add amdfam15.
507 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
509 * config/tc-arm.c (do_neon_logic): Accept imm value
510 in the third operand too.
511 (operand_parse_code): OP_RNDQ_IMVNb renamed to
513 (parse_operands): OP_NILO case removed, applied renaming.
514 (insns): Neon shape changed for some logic instructions.
516 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
518 * config/tc-arm.c (do_neon_ldx_stx): Added
519 validation for vector load/store insns.
521 2010-01-04 Edmar Wienskoski <edmar@freescale.com>
523 * config/tc-ppc.c (md_show_usage): Document -me500mc64.
525 2010-01-03 Daniel Gutson <dgutson@codesourcery.com>
527 * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
528 (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
529 (NEON_ENCODE): New macro.
530 (check_neon_suffixes): New macro.
531 (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
532 (do_vfp_nsyn_opcode): Likewise.
533 (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
534 (do_vfp_nsyn_cmp): Likewise.
535 (do_neon_shl_imm): Likewise.
536 (do_neon_qshl_imm): Likewise.
537 (neon_dyadic_misc): Likewise.
538 (do_neon_mac_maybe_scalar): Likewise.
539 (do_neon_qdmulh): Likewise.
540 (do_neon_qmovn): Likewise.
541 (do_neon_qmovun): Likewise.
542 (do_neon_movn): Likewise.
543 (neon_mac_reg_scalar_long): Likewise.
544 (do_neon_vmull): Likewise.
545 (do_neon_trn): Likewise.
546 (do_neon_ldx_stx): Likewise.
547 (neon_dp_fixup): Changed signature and set the flag.
548 (neon_three_same): Call the above with new signature.
549 (neon_two_same): Likewise.
550 (neon_imm_shift): Likewise.
551 (neon_mul_mac): Likewise.
552 (do_neon_abs_neg): Likewise.
553 (neon_mixed_length): Likewise.
554 (do_neon_ext): Likewise.
555 (do_neon_mov): Likewise.
556 (do_neon_tbl_tbx): Likewise.
557 (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
558 (neon_compare): Likewise.
559 (do_neon_shll): Likewise.
560 (do_neon_cvt): Likewise.
561 (do_neon_mvn): Likewise.
562 (do_neon_dup): Likewise.
563 (md_assemble): Call check_neon_suffixes ().
565 For older changes see ChangeLog-2009
571 version-control: never