1 2010-06-21 Sterling Augustine <sterling@tensilica.com>
4 * as.c: Globalize keep_it.
5 (main): Remove keep_it. Move conditional from here...
6 (close_output_file): ...to here.
8 2010-06-21 Andreas Schwab <schwab@redhat.com>
10 * doc/as.texinfo (Overview): Use @itemx for grouped @table
12 * doc/c-alpha.texi (Alpha Options): Likewise.
13 * doc/c-arm.texi (ARM Directives): Likewise.
14 * doc/c-bfin.texi (Blackfin Options): Likewise.
15 * doc/c-d10v.texi (D10V-Opts): Likewise.
16 * doc/c-i386.texi (i386-Options): Likewise.
17 * doc/c-ia64.texi (IA-64 Options): Likewise.
18 * doc/c-m68k.texi (M68K-Opts): Likewise.
19 * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
20 * doc/internals.texi (Symbols): Likewise.
22 2010-06-21 Alan Modra <amodra@gmail.com>
25 * config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
27 2010-06-18 Joseph Myers <joseph@codesourcery.com>
29 * config/tc-tic6x.h (tic6x_segment_info_type): Add field
31 * config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
32 (md_assemble): Clear func_units_used for new execute packet.
33 Check for duplicate functional units and update func_units_used
34 for instructions using a functional unit.
36 2010-06-15 Joseph Myers <joseph@codesourcery.com>
38 * config/tc-tic6x.c: Include elf/tic6x.h.
39 (tic6x_arch_attribute, tic6x_seen_insns): New.
40 (tic6x_arch_table, tic6x_arches): Add attribute values.
41 (tic6x_use_arch): Handle attribute settings.
42 (tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
43 tic6x_attribute_table, tic6x_attributes,
44 tic6x_convert_symbolic_attribute): New.
45 (md_pseudo_table): Add c6xabi_attribute.
46 (md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
47 (tic6x_set_attribute_int, tic6x_set_attributes): New.
48 (tic6x_end): Call tic6x_set_attributes.
49 * config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
50 (tic6x_convert_symbolic_attribute): Declare.
52 2010-06-14 Alan Modra <amodra@gmail.com>
54 * config/tc-ppc.c (md_assemble): Emit APUinfo section for
57 2010-06-11 Jan Beulich <jbeulich@novell.com>
59 * config/tc-i386.c (md_parse_option): Ignore impossible processor
61 (show_arch): New parameter 'check'.
62 (md_show_usage): Adjust calls to show_arch().
64 2010-06-10 H.J. Lu <hongjiu.lu@intel.com>
66 * config/tc-i386.c (update_code_flag): New.
67 (set_code_flag): Use it.
68 (i386_target_format): Replace set_code_flag with update_code_flag.
70 2010-06-10 Tristan Gingold <gingold@adacore.com>
72 * config/obj-som.h: Includes som/reloc.h
74 2010-06-10 Jan Beulich <jbeulich@novell.com>
76 * config/tc-i386.c (cpu_arch): Add comment.
77 (i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
78 from the generic entries of cpu_arch[].
80 2010-06-08 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
82 * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
84 (parse_operands): Add support for OP_RRnpctw.
85 (insns): Update floating-point load/store multiples so the
86 first register is of type OP_RRnpctw.
88 2010-06-08 Quentin Neill <quentin.neill@amd.com>
90 * config/tc-i386.c (pi): Rename local loop counter
91 variable i that shadows global static i386_insn i
92 when DEBUG386 is defined.
95 2010-06-08 Nick Clifton <nickc@redhat.com>
97 * doc/as.texinfo: Replace abbreviated 20th century year numbers
100 2010-06-02 Quentin Neill <quentin.neill@amd.com>
102 * config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
104 2010-06-02 Tristan Gingold <gingold@adacore.com>
106 * as.h: Remove conditionnal definition of HAVE_STDARG_H,
107 USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
108 Remove conditionnal inclusion of stdarg.h and varargs.h.
110 * config.in: Regenerate.
111 * configure: Regenerate.
112 * configure.in: Remove stdarg.h and varargs.h from
113 AC_CHECK_HEADERS list.
114 * messages.c (as_tsktsk): Remove non ISO C version.
115 (as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
117 2010-05-31 Tristan Gingold <gingold@adacore.com>
119 * config/tc-alpha.c: Add comments for evax.
120 * config/obj-evax.c: Ditto.
122 2010-05-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
124 * config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
127 2010-05-27 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
129 * config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
130 writeback when base register is in register list an error, and
132 (do_t_ldmstm): Change warnings.
134 2010-05-26 Catherine Moore <clm@codesourcery.com>
136 * config/tc-mips.c (is_opcode_valid): Remove expansionp.
137 (macro_build): Change invocation of is_opcode_valid.
140 2010-05-25 Nick Clifton <nickc@redhat.com>
142 * Makefile.am (MOSTLYCLEANFILES): Fix typo.
143 * Makefile.in: Regenerate.
145 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
146 Joseph Myers <joseph@codesourcery.com>
147 Andrew Stubbs <ams@codesourcery.com>
149 * config/tc-sh.c (sh_fdpic): New.
150 (sh_check_fixup): Handle relocations on movi20.
151 (parse_exp): Do not reject PIC operators here.
152 (build_Mytes): Check for unhandled PIC operators here. Use
153 sh_check_fixup for movi20.
154 (enum options): Add OPTION_FDPIC.
155 (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
156 (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
157 (sh_elf_final_processing): Handle --fdpic.
158 (sh_uclinux_target_format): New.
159 (sh_parse_name): Handle FDPIC relocation operators.
160 * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
161 (sh_uclinux_target_format): Declare for TE_UCLINUX.
162 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
164 * doc/c-sh.texi (SH Options): Document --fdpic.
166 2010-05-25 Jay Krell <jay.krell@cornell.edu>
169 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
170 * Makefile.in: Regenerate.
172 2010-05-25 Alan Modra <amodra@gmail.com>
174 * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
176 2010-05-19 Nick Clifton <nickc@redhat.com>
178 * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
179 of known section prefixes.
181 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
184 * obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
185 (obj_elf_parse_section_letters): Likewise.
186 (obj_elf_section_word): Likewise.
188 * config/tc-ppc.c (ppc_section_letter): Removed.
189 (ppc_section_word): Likewise.
190 * config/tc-ppc.h (ppc_section_letter): Likewise.
191 (ppc_section_word): Likewise.
192 (md_elf_section_letter): Likewise.
193 (md_elf_section_word): Likewise.
195 * doc/as.texinfo: Document `e' and `#exclude'.
197 2010-05-13 Nathan Sidwell <nathan@codesourcery.com>
199 * config/tc-arm.c (md_assemble): Clarify current mode in error
200 messages about unsupported instructions.
201 (UT): Delete #define.
202 (insns): Adjust cbnz, cbz appropriately.
204 2010-05-11 Andrew Stubbs <ams@codesourcery.com>
206 * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
208 2010-05-11 Jie Zhang <jie@codesourcery.com>
210 * config/tc-arm.c (aeabi_set_public_attributes): Set
211 Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
213 2010-05-07 Tristan Gingold <gingold@adacore.com>
215 * Makefile.in: Regenerate with automake 1.11.1.
217 * doc/Makefile.in: Ditto.
219 2010-05-05 Nick Clifton <nickc@redhat.com>
221 * po/es.po: Updated Spanish translation.
223 2010-05-05 Julian Brown <julian@codesourcery.com>
225 * read.c (cons_worker): Detect and reject unexpected string argument.
227 2010-05-04 Nick Clifton <nickc@redhat.com>
229 * write.c (fixup_segment): Revert previous delta.
230 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
231 generation of relocations for fixups against weak symbols.
233 2010-04-29 Nathan Sidwell <nathan@codesourcery.com>
235 * write.c (fixup_segment): Do not assume we know the section a
236 defined weak symbol is in.
237 * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
238 weak symbols as not known to be in the same section, even if they
241 2010-04-27 Joseph Myers <joseph@codesourcery.com>
243 * config/tc-tic6x.h (tic6x_label_list): New.
244 (tic6x_segment_info_type): Keep a list of labels and a current
245 frag instead of a boolean for whether labels seen and a count of
247 (tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
248 md_do_align, tic6x_do_align, md_end, tic6x_end): New.
249 * config/tc-tic6x.c (tic6x_frob_label): Put label on list.
250 (tic6x_cleanup): Correct comment.
251 (tic6x_free_label_list): New.
252 (tic6x_cons_align): Free label list and update for
253 tic6x_segment_info_type changes.
254 (tic6x_do_align): New.
255 (md_assemble): Handle list of labels and saved frag for execute
256 packet. Create machine-dependent frag for new execute packet and
257 adjust labels accordingly.
258 (tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
259 (md_convert_frag, md_estimate_size_before_relax): Update comments.
261 2010-04-24 H.J. Lu <hongjiu.lu@intel.com>
264 * config/tc-i386-intel.c (intel_state): Add is_indirect.
265 (i386_intel_operand): Initialize intel_state.is_indirect. Check
266 intel_state.is_indirect for "call|jmp [symbol]".
268 2010-04-22 Nick Clifton <nickc@redhat.com>
270 * po/gas.pot: Updated by the Translation project.
272 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
274 * config/tc-i386.c (i386_is_register): Removed.
275 (x86_cons): Don't use i386_is_register.
276 (parse_register): Likewise.
277 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
278 (i386_intel_operand): Likewise.
280 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
282 * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
285 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
287 * config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
289 (parse_register): Likewise.
290 (tc_x86_parse_to_dw2regnum): Likewise.
291 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
292 (i386_intel_operand): Likewise.
294 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
297 * config/tc-i386-intel.c (i386_intel_simplify_register): New.
298 (i386_intel_simplify): Use i386_is_register and
299 i386_intel_simplify_register. Set X_md for O_register and
300 check X_md for O_constant.
301 (i386_intel_operand): Use i386_is_register.
303 * config/tc-i386.c (i386_is_register): New.
304 (x86_cons): Initialize the X_md field. Use i386_is_register.
305 (parse_register): Use i386_is_register.
306 (tc_x86_parse_to_dw2regnum): Likewise.
308 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
310 * expr.c (expr): Initialize the X_md field.
312 2010-04-20 Joseph Myers <joseph@codesourcery.com>
314 * config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
315 (md_longopts): Add -mgenerate-rel.
316 (tic6x_generate_rela): New.
317 (md_parse_option): Handle -mgenerate-rel.
318 (md_show_usage): Add comment that -mgenerate-rel is undocumented.
319 (tic6x_init_after_args): New.
320 (md_apply_fix): Correct shift calculations for SB-relative
322 (md_pcrel_from): Change to tic6x_pcrel_from_section. Do not
323 adjust addresses for relocations referencing symbols in other
325 (tc_gen_reloc): Adjust addend calculations for REL relocations.
326 * config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
327 tic6x_pcrel_from_section, tc_init_after_args,
328 tic6x_init_after_args): New.
330 2010-04-20 Nick Clifton <nickc@redhat.com>
333 * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
334 altmacro mode if found inside a quoted string.
336 2010-04-20 Mike Frysinger <vapier@gentoo.org>
338 * config/bfin-lex.l (parse_int): Change index() to strchr().
340 2010-04-16 Nick Clifton <nickc@redhat.com>
343 * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
344 matcher to accept and unconditional 32-bit add instruction.
345 (pa_build_unwind_subspace): Cope with error conditions not
346 allowing the start symbol to be set.
348 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
350 * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
351 new tag names in v2.08 of ARM ABI.
352 * doc/c-arm.texi: Document new tag names in ABI.
354 2010-04-14 Tristan Gingold <gingold@adacore.com>
356 * config/tc-alpha.c: Includes vms/egps.h on EVAX.
357 (s_alpha_comm): Used new EGPS macros from egps.h
358 (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
359 (s_alpha_section_word): Add comments. Use new EGPS macros.
360 Adjust for modified bfd_vms_set_section_flags function.
362 2010-04-10 Alan Modra <amodra@gmail.com>
365 * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
367 2010-04-09 Nick Clifton <nickc@redhat.com>
369 * as.c (create_obj_attrs_section): Remove unused variable addr.
370 * listing.c (listing_listing): Remove unused variable message.
371 * read.c: Remove unnecessary register type qualifiers.
372 (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
375 2010-04-07 Eric B. Weddington <eric.weddington@atmel.com>
377 * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
378 atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
379 atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
380 atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
381 atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
382 atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
383 atmega88pa, attiny461a, attiny84a, m3000.
384 Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
385 atmega8hvd, attiny327, m3000f, m3000s, m3001b.
386 * doc/c-avr.texi: Same.
388 2010-04-07 Jie Zhang <jie@codesourcery.com>
390 * config/tc-arm.c (make_mapping_symbol): Handle the case
391 that multiple mapping symbols have the same value 0.
393 2010-04-07 Alan Modra <amodra@gmail.com>
395 * configure: Regenerate.
397 2010-04-06 Nick Clifton <nickc@redhat.com>
399 * po/ru.po: New Russian translation.
400 * configure.in (ALL_LINGUAS): Add ru.
401 * configure: Regenerate.
403 2010-03-30 H.J. Lu <hongjiu.lu@intel.com>
406 * input-scrub.c (input_scrub_next_buffer): Use memmove instead
407 of memcpy to copy overlap memory.
409 2010-03-25 Joseph Myers <joseph@codesourcery.com>
411 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
412 (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
413 * Makefile.in: Regenerate.
414 * NEWS: Add news entry for TI C6X support.
415 * app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle
416 TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in
417 operands if TC_KEEP_OPERAND_SPACES.
418 * configure.tgt (tic6x-*-*): New.
419 * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
420 TC_PREDICATE_END_CHAR): Define.
421 * config/tc-tic6x.c, config/tc-tic6x.h: New.
422 * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
423 * doc/Makefile.in: Regenerate.
424 * doc/all.texi (TIC6X): Define.
425 * doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi.
426 * doc/c-tic6x.texi: New.
428 2010-03-22 H.J. Lu <hongjiu.lu@intel.com>
430 * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
432 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
434 * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
435 with operand_size_mismatch.
436 (operand_size_match): Updated.
437 (match_template): Likewise.
439 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
441 * config/tc-i386.c (i386_error): New.
442 (_i386_insn): Replace err_msg with error.
443 (operand_size_match): Set error instead of err_msg on failure.
444 (operand_type_match): Likewise.
445 (operand_type_register_match): Likewise.
446 (VEX_check_operands): Likewise.
447 (match_template): Likewise. Use error instead of err_msg with
450 2010-03-19 Jie Zhang <jie@codesourcery.com>
452 * config/tc-arm.c (make_mapping_symbol): Hanle the case
453 that two mapping symbols have the same value.
455 2010-03-18 Daniel Jacobowitz <dan@codesourcery.com>
457 * doc/c-arm.texi (.setfp): Correct example.
459 2010-03-18 Wei Guozhi <carrot@google.com>
462 * config/tc-arm.c (reloc_names): New relocation names.
463 (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
464 (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
465 * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
467 2010-03-15 Thomas Schwinge <thomas@codesourcery.com>
469 * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
470 cases, and not only for .eh_frame.
472 * dw2gencfi.c (output_cie): Make it more explicit which code paths
473 belong to .eh_frame only.
475 2010-03-13 Segher Boessenkool <segher@kernel.crashing.org>
477 * config/tc-v850.c (v850_insert_operand): Handle out-of-range
478 assembler constants on 64-bit hosts.
480 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
482 * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
483 Strip trailing whitespace.
485 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
487 * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
488 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
490 (bfin_cpus[]): Add 0.0 for bf504 and bf506.
492 2010-03-10 Jie Zhang <jie@codesourcery.com>
494 * doc/as.texinfo: Add Blackfin options.
495 * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
496 * config/tc-bfin.c (md_show_usage): Show usage for all
497 Blackfin specific options.
499 2010-03-09 Alan Modra <amodra@gmail.com>
502 * listing.c (listing_newline): Correct backslash quote logic.
504 2010-03-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
506 * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
507 (ELF_TARGET_FORMAT64): Define.
509 2010-03-05 Paul Brook <paul@codesourcery.com>
511 * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
513 2010-03-02 Andrew Stubbs <ams@codesourcery.com>
515 * config/tc-sh.c (get_specific): Move overflow checking code to avoid
516 reading uninitialized data.
518 2010-03-01 Tristan Gingold <gingold@adacore.com>
520 * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
522 2010-02-26 Doug Evans <dje@sebabeach.org>
524 * configure.tgt: Fix mep cpu case.
526 2010-02-26 Jie Zhang <jie@codesourcery.com>
528 * config/tc-arm.c (do_t_strexd): Remove
529 operand[1] != operand[2] contraint.
531 2010-02-26 Jie Zhang <jie@codesourcery.com>
533 * config/tc-arm.c (neon_select_shape): No need to match
534 the remaining operands in the shape when one operand does
537 2010-02-26 Jie Zhang <jie@codesourcery.com>
539 * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
542 2010-02-25 Doug Evans <dje@sebabeach.org>
544 * cgen.c: Whitespace fixes.
545 (weak_operand_overflow_check): Formatting fix.
547 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
549 * config/tc-i386.c (match_template): Update error messages.
551 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
553 * config/tc-i386.c (_i386_insn): Add err_msg.
554 (operand_size_match): Set err_msg on failure.
555 (operand_type_match): Likewise.
556 (operand_type_register_match): Likewise.
557 (VEX_check_operands): Likewise.
558 (match_template): Likewise. Use i.err_msg with as_bad.
560 2010-02-25 Wu Zhangjin <wuzhangjin@gmail.com>
562 * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
563 mips_fix_loongson2f_jump): New variables.
564 (md_longopts): Add New options -mfix-loongson2f-nop/jump,
565 -mno-fix-loongson2f-nop/jump.
566 (md_parse_option): Initialize variables via above options.
567 (options): New enums for the above options.
568 (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
569 (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
571 (append_insn): call fix_loongson2f().
572 (mips_handle_align): Replace the implicit nops.
573 * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
574 for the new mips_handle_align().
575 * doc/c-mips.texi: Document the new options.
577 2010-02-23 Daniel Gutson <dgutson@codesourcery.com>
579 * config/tc-arm.c (do_rd_rm_rn): Added warning
582 2010-02-23 Andrew Zabolotny <anpaza@mail.ru>
585 * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
586 (avr_cons_fix_new): Handle fixups of a single byte.
588 2010-02-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
591 * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
592 compiler's predefines.
594 2010-02-19 Alan Modra <amodra@gmail.com>
596 * configure.tgt: Whiltespace. Sort moxie entry.
598 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
600 * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
601 * doc/c-arm.texi: Likewise.
603 2010-02-12 Daniel Gutson <dgutson@codesourcery.com>
605 * config/tc-arm.c (asm_opcode): operands type
607 (BAD_PC_ADDRESSING): New macro message.
608 (BAD_PC_WRITEBACK): Likewise.
609 (MIX_ARM_THUMB_OPERANDS): New macro.
610 (operand_parse_code): Added enum values.
611 (parse_operands): Added thumb/arm distinction,
612 plus new enum values handling.
613 (encode_arm_addr_mode_2): Validations enhanced.
614 (encode_arm_addr_mode_3): Likewise.
615 (do_rm_rd_rn): Likewise.
616 (encode_thumb32_addr_mode): Likewise.
617 (do_t_ldrex): Likewise.
618 (do_t_ldst): Likewise.
619 (do_t_strex): Likewise.
620 (md_assemble): Call parse_operands with
628 (insns): Updated insns operands.
630 2010-02-12 Tristan Gingold <gingold@adacore.com>
631 Douglas B Rupp <rupp@gnat.com>
633 * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
634 (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
635 (pseudo_func): Add an entry for slotcount.
636 (md_begin): Initialize slotcount pseudo symbol.
637 (ia64_parse_name): Handle @slotcount parameter.
638 (ia64_gen_real_reloc_type): Handle slotcount.
639 (md_apply_fix): Ditto.
640 * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
642 2010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com>
644 * config/tc-xtensa.c (istack_init): Don't call memset.
646 2010-02-11 Sterling Augustine <sterling@tensilica.com>
648 * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
651 2010-02-11 Sterling Augustine <sterling@tensilica.com>
653 * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
655 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
657 * config/tc-i386.c (build_modrm_byte): Reformat.
659 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
661 * config/tc-i386.c: Update copyright.
663 2010-02-10 Quentin Neill <quentin.neill@amd.com>
664 Sebastian Pop <sebastian.pop@amd.com>
666 * config/tc-i386.c (vec_imm4) New operand type.
668 (VEX_check_operands): New.
669 (check_reverse): Call VEX_check_operands.
670 (build_modrm_byte): Reintroduce code for 5
671 operand insns. Fix whitespace.
673 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
675 * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
678 2010-02-09 Sterling Augustine <sterling@tensilica.com>
680 * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
681 (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
682 (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
684 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
686 * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
687 non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
688 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
689 BFD_RELOC_ARM_PCREL_CALL)
691 2010-02-08 Sterling Augustine <sterling@tensilica.com>
693 * config/tc-xtensa.c (frag_format_size): Generalize logic to
694 handle more instruction sizes and fetch widths.
695 (branch_align_power): Likewise.
696 (text_align_power): Likewise.
697 (bytes_to_stretch): Likewise.
699 2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
701 * config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs.
702 (ppc_mach): Handle titan.
703 * doc/c-ppc.texi: Mention -mtitan.
705 2010-02-05 Sterling Augustine <sterling@tensilica.com>
707 * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
709 (xtensa_fetch_width) ...this.
711 2010-02-05 Joseph Myers <joseph@codesourcery.com>
713 * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
714 MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
715 * Makefile.in: Regenerate.
717 2010-02-03 Quentin Neill <quentin.neill@amd.com>
719 * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
720 (i386_align_code): Rename PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
721 * config/tc-i386.h (processor_type): Same.
722 * doc/c-i386.texi: Change amdfam15 to bdver1.
724 2010-01-29 Nick Clifton <nickc@redhat.com>
727 * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
730 2010-01-27 Dave Korn <dave.korn.cygwin@gmail.com>
732 * NEWS: Mention new feature.
733 * config/obj-coff.c (obj_coff_section): Accept digits and use
734 to override default section alignment power if specified.
735 * doc/as.texinfo (.section directive): Update documentation.
737 2010-01-27 H.J. Lu <hongjiu.lu@intel.com>
739 * config/tc-i386.c (avxscalar): New.
740 (OPTION_MAVXSCALAR): Likewise.
741 (build_vex_prefix): Select vector_length for scalar instructions
743 (md_longopts): Add OPTION_MAVXSCALAR.
744 (md_parse_option): Handle OPTION_MAVXSCALAR.
745 (md_show_usage): Add -mavxscalar=.
747 * doc/c-i386.texi: Document -mavxscalar=.
749 2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
751 * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
754 2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
756 * write.h (fix_at_start): Declare.
757 * write.c (fix_new_internal): Add at_beginning parameter.
758 Use it instead of REVERSE_SORT_RELOCS. Fix the handling of
759 seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
760 (fix_new, fix_new_exp): Update accordingly.
761 (fix_at_start): New function.
762 * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
763 (ppc_ref): New function, for OBJ_XCOFF.
764 (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
765 * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
767 2010-01-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
769 * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
770 on 64-bit Solaris/x86.
771 Include obj-format.h earlier.
773 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
775 * config/tc-s390.c (s390_elf_final_processing): New function.
776 * config/tc-s390.h (elf_tc_final_processing): New macro definition.
777 (s390_elf_final_processing): Added prototype.
780 2010-01-20 Nick Clifton <nickc@redhat.com>
783 * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1. Add
784 code to handle round-to-zero for VCVT conversions.
785 (do_neon_cvt): New. Call do_neon_cvt_1.
786 (do_neon_cvtr): New. Call do_neon_cvt_1.
787 (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
790 2010-01-18 Tristan Gingold <gingold@adacore.com>
792 * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
794 2010-01-15 Sebastian Pop <sebastian.pop@amd.com>
796 * config/tc-i386.c (md_assemble): Before accessing the IMM field
797 check that it's not an XOP insn.
799 2010-01-14 Jie Zhang <jie.zhang@analog.com>
801 * config/bfin-aux.h: Remove argument names in function
803 * config/bfin-lex.l (parse_int): Fix shadowed variable name
805 * config/bfin-parse.y (value_match): Remove argument names
807 (notethat): Likewise.
810 2010-01-13 Daniel Jacobowitz <dan@codesourcery.com>
812 * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
814 2010-01-13 Nick Clifton <nickc@redhat.com>
816 * config/tc-h8300.c (h8300_elf_section): New function - issue a
817 warning message if a new section is created without setting any
819 (md_pseudo_table): Intercept section creation pseudos.
820 (md_pcrel_from): Replace abort with an error message.
821 * config/obj-elf.c (obj_elf_section_name): Export this function.
822 * config/obj-elf.h (obj_elf_section_name): Prototype.
824 2010-01-12 Alan Modra <amodra@gmail.com>
827 * listing.c (print_source): Add one to line number.
829 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
831 * Makefile.in: Regenerate.
832 * configure: Regenerate.
833 * doc/Makefile.in: Regenerate.
835 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
837 * version.c (parse_args): Change to "Copyright 2010".
839 2010-01-06 Quentin Neill <quentin.neill@amd.com>
841 * config/tc-i386.c (cpu_arch): Add amdfam15.
842 (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
843 * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
844 * doc/c-i386.texi: Add amdfam15.
846 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
848 * config/tc-arm.c (do_neon_logic): Accept imm value
849 in the third operand too.
850 (operand_parse_code): OP_RNDQ_IMVNb renamed to
852 (parse_operands): OP_NILO case removed, applied renaming.
853 (insns): Neon shape changed for some logic instructions.
855 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
857 * config/tc-arm.c (do_neon_ldx_stx): Added
858 validation for vector load/store insns.
860 2010-01-04 Edmar Wienskoski <edmar@freescale.com>
862 * config/tc-ppc.c (md_show_usage): Document -me500mc64.
864 2010-01-03 Daniel Gutson <dgutson@codesourcery.com>
866 * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
867 (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
868 (NEON_ENCODE): New macro.
869 (check_neon_suffixes): New macro.
870 (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
871 (do_vfp_nsyn_opcode): Likewise.
872 (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
873 (do_vfp_nsyn_cmp): Likewise.
874 (do_neon_shl_imm): Likewise.
875 (do_neon_qshl_imm): Likewise.
876 (neon_dyadic_misc): Likewise.
877 (do_neon_mac_maybe_scalar): Likewise.
878 (do_neon_qdmulh): Likewise.
879 (do_neon_qmovn): Likewise.
880 (do_neon_qmovun): Likewise.
881 (do_neon_movn): Likewise.
882 (neon_mac_reg_scalar_long): Likewise.
883 (do_neon_vmull): Likewise.
884 (do_neon_trn): Likewise.
885 (do_neon_ldx_stx): Likewise.
886 (neon_dp_fixup): Changed signature and set the flag.
887 (neon_three_same): Call the above with new signature.
888 (neon_two_same): Likewise.
889 (neon_imm_shift): Likewise.
890 (neon_mul_mac): Likewise.
891 (do_neon_abs_neg): Likewise.
892 (neon_mixed_length): Likewise.
893 (do_neon_ext): Likewise.
894 (do_neon_mov): Likewise.
895 (do_neon_tbl_tbx): Likewise.
896 (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
897 (neon_compare): Likewise.
898 (do_neon_shll): Likewise.
899 (do_neon_cvt): Likewise.
900 (do_neon_mvn): Likewise.
901 (do_neon_dup): Likewise.
902 (md_assemble): Call check_neon_suffixes ().
904 For older changes see ChangeLog-2009
910 version-control: never