1 2010-06-21 Alan Modra <amodra@gmail.com>
4 * config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
6 2010-06-18 Joseph Myers <joseph@codesourcery.com>
8 * config/tc-tic6x.h (tic6x_segment_info_type): Add field
10 * config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
11 (md_assemble): Clear func_units_used for new execute packet.
12 Check for duplicate functional units and update func_units_used
13 for instructions using a functional unit.
15 2010-06-15 Joseph Myers <joseph@codesourcery.com>
17 * config/tc-tic6x.c: Include elf/tic6x.h.
18 (tic6x_arch_attribute, tic6x_seen_insns): New.
19 (tic6x_arch_table, tic6x_arches): Add attribute values.
20 (tic6x_use_arch): Handle attribute settings.
21 (tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
22 tic6x_attribute_table, tic6x_attributes,
23 tic6x_convert_symbolic_attribute): New.
24 (md_pseudo_table): Add c6xabi_attribute.
25 (md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
26 (tic6x_set_attribute_int, tic6x_set_attributes): New.
27 (tic6x_end): Call tic6x_set_attributes.
28 * config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
29 (tic6x_convert_symbolic_attribute): Declare.
31 2010-06-14 Alan Modra <amodra@gmail.com>
33 * config/tc-ppc.c (md_assemble): Emit APUinfo section for
36 2010-06-11 Jan Beulich <jbeulich@novell.com>
38 * config/tc-i386.c (md_parse_option): Ignore impossible processor
40 (show_arch): New parameter 'check'.
41 (md_show_usage): Adjust calls to show_arch().
43 2010-06-10 H.J. Lu <hongjiu.lu@intel.com>
45 * config/tc-i386.c (update_code_flag): New.
46 (set_code_flag): Use it.
47 (i386_target_format): Replace set_code_flag with update_code_flag.
49 2010-06-10 Tristan Gingold <gingold@adacore.com>
51 * config/obj-som.h: Includes som/reloc.h
53 2010-06-10 Jan Beulich <jbeulich@novell.com>
55 * config/tc-i386.c (cpu_arch): Add comment.
56 (i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
57 from the generic entries of cpu_arch[].
59 2010-06-08 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
61 * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
63 (parse_operands): Add support for OP_RRnpctw.
64 (insns): Update floating-point load/store multiples so the
65 first register is of type OP_RRnpctw.
67 2010-06-08 Quentin Neill <quentin.neill@amd.com>
69 * config/tc-i386.c (pi): Rename local loop counter
70 variable i that shadows global static i386_insn i
71 when DEBUG386 is defined.
74 2010-06-08 Nick Clifton <nickc@redhat.com>
76 * doc/as.texinfo: Replace abbreviated 20th century year numbers
79 2010-06-02 Quentin Neill <quentin.neill@amd.com>
81 * config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
83 2010-06-02 Tristan Gingold <gingold@adacore.com>
85 * as.h: Remove conditionnal definition of HAVE_STDARG_H,
86 USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
87 Remove conditionnal inclusion of stdarg.h and varargs.h.
89 * config.in: Regenerate.
90 * configure: Regenerate.
91 * configure.in: Remove stdarg.h and varargs.h from
92 AC_CHECK_HEADERS list.
93 * messages.c (as_tsktsk): Remove non ISO C version.
94 (as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
96 2010-05-31 Tristan Gingold <gingold@adacore.com>
98 * config/tc-alpha.c: Add comments for evax.
99 * config/obj-evax.c: Ditto.
101 2010-05-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
103 * config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
106 2010-05-27 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
108 * config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
109 writeback when base register is in register list an error, and
111 (do_t_ldmstm): Change warnings.
113 2010-05-26 Catherine Moore <clm@codesourcery.com>
115 * config/tc-mips.c (is_opcode_valid): Remove expansionp.
116 (macro_build): Change invocation of is_opcode_valid.
119 2010-05-25 Nick Clifton <nickc@redhat.com>
121 * Makefile.am (MOSTLYCLEANFILES): Fix typo.
122 * Makefile.in: Regenerate.
124 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
125 Joseph Myers <joseph@codesourcery.com>
126 Andrew Stubbs <ams@codesourcery.com>
128 * config/tc-sh.c (sh_fdpic): New.
129 (sh_check_fixup): Handle relocations on movi20.
130 (parse_exp): Do not reject PIC operators here.
131 (build_Mytes): Check for unhandled PIC operators here. Use
132 sh_check_fixup for movi20.
133 (enum options): Add OPTION_FDPIC.
134 (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
135 (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
136 (sh_elf_final_processing): Handle --fdpic.
137 (sh_uclinux_target_format): New.
138 (sh_parse_name): Handle FDPIC relocation operators.
139 * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
140 (sh_uclinux_target_format): Declare for TE_UCLINUX.
141 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
143 * doc/c-sh.texi (SH Options): Document --fdpic.
145 2010-05-25 Jay Krell <jay.krell@cornell.edu>
148 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
149 * Makefile.in: Regenerate.
151 2010-05-25 Alan Modra <amodra@gmail.com>
153 * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
155 2010-05-19 Nick Clifton <nickc@redhat.com>
157 * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
158 of known section prefixes.
160 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
163 * obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
164 (obj_elf_parse_section_letters): Likewise.
165 (obj_elf_section_word): Likewise.
167 * config/tc-ppc.c (ppc_section_letter): Removed.
168 (ppc_section_word): Likewise.
169 * config/tc-ppc.h (ppc_section_letter): Likewise.
170 (ppc_section_word): Likewise.
171 (md_elf_section_letter): Likewise.
172 (md_elf_section_word): Likewise.
174 * doc/as.texinfo: Document `e' and `#exclude'.
176 2010-05-13 Nathan Sidwell <nathan@codesourcery.com>
178 * config/tc-arm.c (md_assemble): Clarify current mode in error
179 messages about unsupported instructions.
180 (UT): Delete #define.
181 (insns): Adjust cbnz, cbz appropriately.
183 2010-05-11 Andrew Stubbs <ams@codesourcery.com>
185 * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
187 2010-05-11 Jie Zhang <jie@codesourcery.com>
189 * config/tc-arm.c (aeabi_set_public_attributes): Set
190 Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
192 2010-05-07 Tristan Gingold <gingold@adacore.com>
194 * Makefile.in: Regenerate with automake 1.11.1.
196 * doc/Makefile.in: Ditto.
198 2010-05-05 Nick Clifton <nickc@redhat.com>
200 * po/es.po: Updated Spanish translation.
202 2010-05-05 Julian Brown <julian@codesourcery.com>
204 * read.c (cons_worker): Detect and reject unexpected string argument.
206 2010-05-04 Nick Clifton <nickc@redhat.com>
208 * write.c (fixup_segment): Revert previous delta.
209 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
210 generation of relocations for fixups against weak symbols.
212 2010-04-29 Nathan Sidwell <nathan@codesourcery.com>
214 * write.c (fixup_segment): Do not assume we know the section a
215 defined weak symbol is in.
216 * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
217 weak symbols as not known to be in the same section, even if they
220 2010-04-27 Joseph Myers <joseph@codesourcery.com>
222 * config/tc-tic6x.h (tic6x_label_list): New.
223 (tic6x_segment_info_type): Keep a list of labels and a current
224 frag instead of a boolean for whether labels seen and a count of
226 (tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
227 md_do_align, tic6x_do_align, md_end, tic6x_end): New.
228 * config/tc-tic6x.c (tic6x_frob_label): Put label on list.
229 (tic6x_cleanup): Correct comment.
230 (tic6x_free_label_list): New.
231 (tic6x_cons_align): Free label list and update for
232 tic6x_segment_info_type changes.
233 (tic6x_do_align): New.
234 (md_assemble): Handle list of labels and saved frag for execute
235 packet. Create machine-dependent frag for new execute packet and
236 adjust labels accordingly.
237 (tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
238 (md_convert_frag, md_estimate_size_before_relax): Update comments.
240 2010-04-24 H.J. Lu <hongjiu.lu@intel.com>
243 * config/tc-i386-intel.c (intel_state): Add is_indirect.
244 (i386_intel_operand): Initialize intel_state.is_indirect. Check
245 intel_state.is_indirect for "call|jmp [symbol]".
247 2010-04-22 Nick Clifton <nickc@redhat.com>
249 * po/gas.pot: Updated by the Translation project.
251 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
253 * config/tc-i386.c (i386_is_register): Removed.
254 (x86_cons): Don't use i386_is_register.
255 (parse_register): Likewise.
256 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
257 (i386_intel_operand): Likewise.
259 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
261 * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
264 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
266 * config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
268 (parse_register): Likewise.
269 (tc_x86_parse_to_dw2regnum): Likewise.
270 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
271 (i386_intel_operand): Likewise.
273 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
276 * config/tc-i386-intel.c (i386_intel_simplify_register): New.
277 (i386_intel_simplify): Use i386_is_register and
278 i386_intel_simplify_register. Set X_md for O_register and
279 check X_md for O_constant.
280 (i386_intel_operand): Use i386_is_register.
282 * config/tc-i386.c (i386_is_register): New.
283 (x86_cons): Initialize the X_md field. Use i386_is_register.
284 (parse_register): Use i386_is_register.
285 (tc_x86_parse_to_dw2regnum): Likewise.
287 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
289 * expr.c (expr): Initialize the X_md field.
291 2010-04-20 Joseph Myers <joseph@codesourcery.com>
293 * config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
294 (md_longopts): Add -mgenerate-rel.
295 (tic6x_generate_rela): New.
296 (md_parse_option): Handle -mgenerate-rel.
297 (md_show_usage): Add comment that -mgenerate-rel is undocumented.
298 (tic6x_init_after_args): New.
299 (md_apply_fix): Correct shift calculations for SB-relative
301 (md_pcrel_from): Change to tic6x_pcrel_from_section. Do not
302 adjust addresses for relocations referencing symbols in other
304 (tc_gen_reloc): Adjust addend calculations for REL relocations.
305 * config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
306 tic6x_pcrel_from_section, tc_init_after_args,
307 tic6x_init_after_args): New.
309 2010-04-20 Nick Clifton <nickc@redhat.com>
312 * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
313 altmacro mode if found inside a quoted string.
315 2010-04-20 Mike Frysinger <vapier@gentoo.org>
317 * config/bfin-lex.l (parse_int): Change index() to strchr().
319 2010-04-16 Nick Clifton <nickc@redhat.com>
322 * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
323 matcher to accept and unconditional 32-bit add instruction.
324 (pa_build_unwind_subspace): Cope with error conditions not
325 allowing the start symbol to be set.
327 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
329 * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
330 new tag names in v2.08 of ARM ABI.
331 * doc/c-arm.texi: Document new tag names in ABI.
333 2010-04-14 Tristan Gingold <gingold@adacore.com>
335 * config/tc-alpha.c: Includes vms/egps.h on EVAX.
336 (s_alpha_comm): Used new EGPS macros from egps.h
337 (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
338 (s_alpha_section_word): Add comments. Use new EGPS macros.
339 Adjust for modified bfd_vms_set_section_flags function.
341 2010-04-10 Alan Modra <amodra@gmail.com>
344 * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
346 2010-04-09 Nick Clifton <nickc@redhat.com>
348 * as.c (create_obj_attrs_section): Remove unused variable addr.
349 * listing.c (listing_listing): Remove unused variable message.
350 * read.c: Remove unnecessary register type qualifiers.
351 (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
354 2010-04-07 Eric B. Weddington <eric.weddington@atmel.com>
356 * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
357 atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
358 atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
359 atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
360 atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
361 atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
362 atmega88pa, attiny461a, attiny84a, m3000.
363 Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
364 atmega8hvd, attiny327, m3000f, m3000s, m3001b.
365 * doc/c-avr.texi: Same.
367 2010-04-07 Jie Zhang <jie@codesourcery.com>
369 * config/tc-arm.c (make_mapping_symbol): Handle the case
370 that multiple mapping symbols have the same value 0.
372 2010-04-07 Alan Modra <amodra@gmail.com>
374 * configure: Regenerate.
376 2010-04-06 Nick Clifton <nickc@redhat.com>
378 * po/ru.po: New Russian translation.
379 * configure.in (ALL_LINGUAS): Add ru.
380 * configure: Regenerate.
382 2010-03-30 H.J. Lu <hongjiu.lu@intel.com>
385 * input-scrub.c (input_scrub_next_buffer): Use memmove instead
386 of memcpy to copy overlap memory.
388 2010-03-25 Joseph Myers <joseph@codesourcery.com>
390 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
391 (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
392 * Makefile.in: Regenerate.
393 * NEWS: Add news entry for TI C6X support.
394 * app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle
395 TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in
396 operands if TC_KEEP_OPERAND_SPACES.
397 * configure.tgt (tic6x-*-*): New.
398 * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
399 TC_PREDICATE_END_CHAR): Define.
400 * config/tc-tic6x.c, config/tc-tic6x.h: New.
401 * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
402 * doc/Makefile.in: Regenerate.
403 * doc/all.texi (TIC6X): Define.
404 * doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi.
405 * doc/c-tic6x.texi: New.
407 2010-03-22 H.J. Lu <hongjiu.lu@intel.com>
409 * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
411 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
413 * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
414 with operand_size_mismatch.
415 (operand_size_match): Updated.
416 (match_template): Likewise.
418 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
420 * config/tc-i386.c (i386_error): New.
421 (_i386_insn): Replace err_msg with error.
422 (operand_size_match): Set error instead of err_msg on failure.
423 (operand_type_match): Likewise.
424 (operand_type_register_match): Likewise.
425 (VEX_check_operands): Likewise.
426 (match_template): Likewise. Use error instead of err_msg with
429 2010-03-19 Jie Zhang <jie@codesourcery.com>
431 * config/tc-arm.c (make_mapping_symbol): Hanle the case
432 that two mapping symbols have the same value.
434 2010-03-18 Daniel Jacobowitz <dan@codesourcery.com>
436 * doc/c-arm.texi (.setfp): Correct example.
438 2010-03-18 Wei Guozhi <carrot@google.com>
441 * config/tc-arm.c (reloc_names): New relocation names.
442 (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
443 (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
444 * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
446 2010-03-15 Thomas Schwinge <thomas@codesourcery.com>
448 * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
449 cases, and not only for .eh_frame.
451 * dw2gencfi.c (output_cie): Make it more explicit which code paths
452 belong to .eh_frame only.
454 2010-03-13 Segher Boessenkool <segher@kernel.crashing.org>
456 * config/tc-v850.c (v850_insert_operand): Handle out-of-range
457 assembler constants on 64-bit hosts.
459 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
461 * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
462 Strip trailing whitespace.
464 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
466 * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
467 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
469 (bfin_cpus[]): Add 0.0 for bf504 and bf506.
471 2010-03-10 Jie Zhang <jie@codesourcery.com>
473 * doc/as.texinfo: Add Blackfin options.
474 * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
475 * config/tc-bfin.c (md_show_usage): Show usage for all
476 Blackfin specific options.
478 2010-03-09 Alan Modra <amodra@gmail.com>
481 * listing.c (listing_newline): Correct backslash quote logic.
483 2010-03-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
485 * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
486 (ELF_TARGET_FORMAT64): Define.
488 2010-03-05 Paul Brook <paul@codesourcery.com>
490 * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
492 2010-03-02 Andrew Stubbs <ams@codesourcery.com>
494 * config/tc-sh.c (get_specific): Move overflow checking code to avoid
495 reading uninitialized data.
497 2010-03-01 Tristan Gingold <gingold@adacore.com>
499 * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
501 2010-02-26 Doug Evans <dje@sebabeach.org>
503 * configure.tgt: Fix mep cpu case.
505 2010-02-26 Jie Zhang <jie@codesourcery.com>
507 * config/tc-arm.c (do_t_strexd): Remove
508 operand[1] != operand[2] contraint.
510 2010-02-26 Jie Zhang <jie@codesourcery.com>
512 * config/tc-arm.c (neon_select_shape): No need to match
513 the remaining operands in the shape when one operand does
516 2010-02-26 Jie Zhang <jie@codesourcery.com>
518 * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
521 2010-02-25 Doug Evans <dje@sebabeach.org>
523 * cgen.c: Whitespace fixes.
524 (weak_operand_overflow_check): Formatting fix.
526 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
528 * config/tc-i386.c (match_template): Update error messages.
530 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
532 * config/tc-i386.c (_i386_insn): Add err_msg.
533 (operand_size_match): Set err_msg on failure.
534 (operand_type_match): Likewise.
535 (operand_type_register_match): Likewise.
536 (VEX_check_operands): Likewise.
537 (match_template): Likewise. Use i.err_msg with as_bad.
539 2010-02-25 Wu Zhangjin <wuzhangjin@gmail.com>
541 * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
542 mips_fix_loongson2f_jump): New variables.
543 (md_longopts): Add New options -mfix-loongson2f-nop/jump,
544 -mno-fix-loongson2f-nop/jump.
545 (md_parse_option): Initialize variables via above options.
546 (options): New enums for the above options.
547 (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
548 (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
550 (append_insn): call fix_loongson2f().
551 (mips_handle_align): Replace the implicit nops.
552 * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
553 for the new mips_handle_align().
554 * doc/c-mips.texi: Document the new options.
556 2010-02-23 Daniel Gutson <dgutson@codesourcery.com>
558 * config/tc-arm.c (do_rd_rm_rn): Added warning
561 2010-02-23 Andrew Zabolotny <anpaza@mail.ru>
564 * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
565 (avr_cons_fix_new): Handle fixups of a single byte.
567 2010-02-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
570 * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
571 compiler's predefines.
573 2010-02-19 Alan Modra <amodra@gmail.com>
575 * configure.tgt: Whiltespace. Sort moxie entry.
577 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
579 * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
580 * doc/c-arm.texi: Likewise.
582 2010-02-12 Daniel Gutson <dgutson@codesourcery.com>
584 * config/tc-arm.c (asm_opcode): operands type
586 (BAD_PC_ADDRESSING): New macro message.
587 (BAD_PC_WRITEBACK): Likewise.
588 (MIX_ARM_THUMB_OPERANDS): New macro.
589 (operand_parse_code): Added enum values.
590 (parse_operands): Added thumb/arm distinction,
591 plus new enum values handling.
592 (encode_arm_addr_mode_2): Validations enhanced.
593 (encode_arm_addr_mode_3): Likewise.
594 (do_rm_rd_rn): Likewise.
595 (encode_thumb32_addr_mode): Likewise.
596 (do_t_ldrex): Likewise.
597 (do_t_ldst): Likewise.
598 (do_t_strex): Likewise.
599 (md_assemble): Call parse_operands with
607 (insns): Updated insns operands.
609 2010-02-12 Tristan Gingold <gingold@adacore.com>
610 Douglas B Rupp <rupp@gnat.com>
612 * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
613 (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
614 (pseudo_func): Add an entry for slotcount.
615 (md_begin): Initialize slotcount pseudo symbol.
616 (ia64_parse_name): Handle @slotcount parameter.
617 (ia64_gen_real_reloc_type): Handle slotcount.
618 (md_apply_fix): Ditto.
619 * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
621 2010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com>
623 * config/tc-xtensa.c (istack_init): Don't call memset.
625 2010-02-11 Sterling Augustine <sterling@tensilica.com>
627 * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
630 2010-02-11 Sterling Augustine <sterling@tensilica.com>
632 * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
634 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
636 * config/tc-i386.c (build_modrm_byte): Reformat.
638 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
640 * config/tc-i386.c: Update copyright.
642 2010-02-10 Quentin Neill <quentin.neill@amd.com>
643 Sebastian Pop <sebastian.pop@amd.com>
645 * config/tc-i386.c (vec_imm4) New operand type.
647 (VEX_check_operands): New.
648 (check_reverse): Call VEX_check_operands.
649 (build_modrm_byte): Reintroduce code for 5
650 operand insns. Fix whitespace.
652 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
654 * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
657 2010-02-09 Sterling Augustine <sterling@tensilica.com>
659 * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
660 (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
661 (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
663 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
665 * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
666 non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
667 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
668 BFD_RELOC_ARM_PCREL_CALL)
670 2010-02-08 Sterling Augustine <sterling@tensilica.com>
672 * config/tc-xtensa.c (frag_format_size): Generalize logic to
673 handle more instruction sizes and fetch widths.
674 (branch_align_power): Likewise.
675 (text_align_power): Likewise.
676 (bytes_to_stretch): Likewise.
678 2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
680 * config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs.
681 (ppc_mach): Handle titan.
682 * doc/c-ppc.texi: Mention -mtitan.
684 2010-02-05 Sterling Augustine <sterling@tensilica.com>
686 * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
688 (xtensa_fetch_width) ...this.
690 2010-02-05 Joseph Myers <joseph@codesourcery.com>
692 * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
693 MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
694 * Makefile.in: Regenerate.
696 2010-02-03 Quentin Neill <quentin.neill@amd.com>
698 * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
699 (i386_align_code): Rename PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
700 * config/tc-i386.h (processor_type): Same.
701 * doc/c-i386.texi: Change amdfam15 to bdver1.
703 2010-01-29 Nick Clifton <nickc@redhat.com>
706 * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
709 2010-01-27 Dave Korn <dave.korn.cygwin@gmail.com>
711 * NEWS: Mention new feature.
712 * config/obj-coff.c (obj_coff_section): Accept digits and use
713 to override default section alignment power if specified.
714 * doc/as.texinfo (.section directive): Update documentation.
716 2010-01-27 H.J. Lu <hongjiu.lu@intel.com>
718 * config/tc-i386.c (avxscalar): New.
719 (OPTION_MAVXSCALAR): Likewise.
720 (build_vex_prefix): Select vector_length for scalar instructions
722 (md_longopts): Add OPTION_MAVXSCALAR.
723 (md_parse_option): Handle OPTION_MAVXSCALAR.
724 (md_show_usage): Add -mavxscalar=.
726 * doc/c-i386.texi: Document -mavxscalar=.
728 2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
730 * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
733 2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
735 * write.h (fix_at_start): Declare.
736 * write.c (fix_new_internal): Add at_beginning parameter.
737 Use it instead of REVERSE_SORT_RELOCS. Fix the handling of
738 seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
739 (fix_new, fix_new_exp): Update accordingly.
740 (fix_at_start): New function.
741 * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
742 (ppc_ref): New function, for OBJ_XCOFF.
743 (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
744 * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
746 2010-01-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
748 * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
749 on 64-bit Solaris/x86.
750 Include obj-format.h earlier.
752 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
754 * config/tc-s390.c (s390_elf_final_processing): New function.
755 * config/tc-s390.h (elf_tc_final_processing): New macro definition.
756 (s390_elf_final_processing): Added prototype.
759 2010-01-20 Nick Clifton <nickc@redhat.com>
762 * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1. Add
763 code to handle round-to-zero for VCVT conversions.
764 (do_neon_cvt): New. Call do_neon_cvt_1.
765 (do_neon_cvtr): New. Call do_neon_cvt_1.
766 (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
769 2010-01-18 Tristan Gingold <gingold@adacore.com>
771 * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
773 2010-01-15 Sebastian Pop <sebastian.pop@amd.com>
775 * config/tc-i386.c (md_assemble): Before accessing the IMM field
776 check that it's not an XOP insn.
778 2010-01-14 Jie Zhang <jie.zhang@analog.com>
780 * config/bfin-aux.h: Remove argument names in function
782 * config/bfin-lex.l (parse_int): Fix shadowed variable name
784 * config/bfin-parse.y (value_match): Remove argument names
786 (notethat): Likewise.
789 2010-01-13 Daniel Jacobowitz <dan@codesourcery.com>
791 * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
793 2010-01-13 Nick Clifton <nickc@redhat.com>
795 * config/tc-h8300.c (h8300_elf_section): New function - issue a
796 warning message if a new section is created without setting any
798 (md_pseudo_table): Intercept section creation pseudos.
799 (md_pcrel_from): Replace abort with an error message.
800 * config/obj-elf.c (obj_elf_section_name): Export this function.
801 * config/obj-elf.h (obj_elf_section_name): Prototype.
803 2010-01-12 Alan Modra <amodra@gmail.com>
806 * listing.c (print_source): Add one to line number.
808 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
810 * Makefile.in: Regenerate.
811 * configure: Regenerate.
812 * doc/Makefile.in: Regenerate.
814 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
816 * version.c (parse_args): Change to "Copyright 2010".
818 2010-01-06 Quentin Neill <quentin.neill@amd.com>
820 * config/tc-i386.c (cpu_arch): Add amdfam15.
821 (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
822 * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
823 * doc/c-i386.texi: Add amdfam15.
825 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
827 * config/tc-arm.c (do_neon_logic): Accept imm value
828 in the third operand too.
829 (operand_parse_code): OP_RNDQ_IMVNb renamed to
831 (parse_operands): OP_NILO case removed, applied renaming.
832 (insns): Neon shape changed for some logic instructions.
834 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
836 * config/tc-arm.c (do_neon_ldx_stx): Added
837 validation for vector load/store insns.
839 2010-01-04 Edmar Wienskoski <edmar@freescale.com>
841 * config/tc-ppc.c (md_show_usage): Document -me500mc64.
843 2010-01-03 Daniel Gutson <dgutson@codesourcery.com>
845 * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
846 (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
847 (NEON_ENCODE): New macro.
848 (check_neon_suffixes): New macro.
849 (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
850 (do_vfp_nsyn_opcode): Likewise.
851 (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
852 (do_vfp_nsyn_cmp): Likewise.
853 (do_neon_shl_imm): Likewise.
854 (do_neon_qshl_imm): Likewise.
855 (neon_dyadic_misc): Likewise.
856 (do_neon_mac_maybe_scalar): Likewise.
857 (do_neon_qdmulh): Likewise.
858 (do_neon_qmovn): Likewise.
859 (do_neon_qmovun): Likewise.
860 (do_neon_movn): Likewise.
861 (neon_mac_reg_scalar_long): Likewise.
862 (do_neon_vmull): Likewise.
863 (do_neon_trn): Likewise.
864 (do_neon_ldx_stx): Likewise.
865 (neon_dp_fixup): Changed signature and set the flag.
866 (neon_three_same): Call the above with new signature.
867 (neon_two_same): Likewise.
868 (neon_imm_shift): Likewise.
869 (neon_mul_mac): Likewise.
870 (do_neon_abs_neg): Likewise.
871 (neon_mixed_length): Likewise.
872 (do_neon_ext): Likewise.
873 (do_neon_mov): Likewise.
874 (do_neon_tbl_tbx): Likewise.
875 (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
876 (neon_compare): Likewise.
877 (do_neon_shll): Likewise.
878 (do_neon_cvt): Likewise.
879 (do_neon_mvn): Likewise.
880 (do_neon_dup): Likewise.
881 (md_assemble): Call check_neon_suffixes ().
883 For older changes see ChangeLog-2009
889 version-control: never