1 2010-09-23 Alan Modra <amodra@gmail.com>
3 * config/tc-mn10300.c (tc_gen_reloc): Replace absolute symbols
4 with the absolute section symbol.
6 2010-09-22 Mike Frysinger <vapier@gentoo.org>
8 * config/bfin-parse.y: Fix typo in BYTEOP16P comment.
10 2010-09-22 Robin Getz <robin.getz@analog.com>
12 * config/bfin-parse.y (is_store): New function.
13 (gen_multi_instr_1): Check parallel slots for store insns.
15 2010-09-22 Robin Getz <robin.getz@analog.com>
17 * config/bfin-defs.h (IS_EMUDAT): New define.
18 * config/bfin-parse.y: Accept EMUDAT for any register move.
20 2010-09-22 Robin Getz <robin.getz@analog.com>
22 * config/bfin-parse.y: Improve error messages.
24 2010-09-22 Robin Getz <robin.getz@analog.com>
26 * config/bfin-parse.y (DBG): Fix regno encoding.
29 2010-09-22 Robin Getz <robin.getz@analog.com>
31 * config/bfin-lex.l: Accept multibyte chars in symbol names.
33 2010-09-22 Robin Getz <robin.getz@analog.com>
35 * config/bfin-defs.h (statusflags): Add AC0_COPY, V_COPY, and RND_MOD.
36 * config/bfin-lex.l: Tokenize AC0_COPY, V_COPY, and RND_MOD.
38 2010-09-22 Mike Frysinger <vapier@gentoo.org>
40 * config/bfin-aux.h (bfin_gen_pseudochr): New prototype.
41 * config/tc-bfin.c (bfin_gen_pseudochr): New function.
42 * config/bfin-parse.y: Call bfin_gen_pseudochr for OUTC tokens.
44 2010-09-22 Mike Frysinger <vapier@gentoo.org>
46 * config/bfin-lex.l (abort): Accept case-insensitive abort insn.
47 * config/bfin-parse.y (ABORT): Handle the ABORT token.
49 2010-09-22 Mike Frysinger <vapier@gentoo.org>
51 * config/tc-bfin.c (bfin_cpus[]): Add 0.2 for bf512/bf514/bf516/bf518.
53 2010-09-22 Mike Frysinger <vapier@gentoo.org>
55 * doc/c-bfin.texi (-mcpu): Add bf592.
56 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF592.
57 (bfin_cpus[]): Add 0.0/0.1 for bf592.
59 2010-09-22 Mike Frysinger <vapier@gentoo.org>
61 * config/tc-bfin.c (comment_chars): Add #.
63 2010-09-20 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
65 * config/tc-arm.c (arm_cpus): Correct canonical names for Cortex CPUs.
67 2010-09-20 Richard Henderson <rth@redhat.com>
69 * config/tc-alpha.c (tc_gen_reloc): Remove hack around
70 bfd_perform_reloc for OBJ_ELF.
72 2010-09-17 Tejas Belagod <tejas.belagod@arm.com>
74 * config/tc-arm.c (do_t_ldmstm): Add logic to handle single-register
77 2010-09-17 Tejas Belagod <tejas.belagod@arm.com>
79 * config/tc-arm.c (parse_psr): Add condition for matching "APSR" on
81 (psrs): Add entry for PSR flags, g, nzcvq, nzcvqg.
83 2010-09-17 Tejas Belagod <tejas.belagod@arm.com>
85 * config/tc-arm.c (insns): Change MRC entry to accept APSR_RR instead
88 2010-09-17 Andrew Burgess <aburgess@broadcom.com>
91 * config/obj-elf.c (obj_elf_parse_section_letters): Correct test
92 for error return from md_elf_section_letter.
93 * config/tc-alpha.c (alpha_elf_section_letter): Correct error message.
94 * config/tc-i386.c (x86_64_section_letter): Likewise.
95 * config/tc-ia64.c (ia64_elf_section_letter): Likewise.
96 * config/tc-mep.c (mep_elf_section_letter): Likewise.
98 2010-09-15 Kai Tietz <kai.tietz@onevision.com>
100 * config/obj-coff-seh.c (seh_validate_seg): New funtion.
101 (obj_coff_seh_endproc): Add check for segment.
102 (obj_coff_seh_endprologue): Likewise.
103 (obj_coff_seh_pushreg): Likewise.
104 (obj_coff_seh_pushframe): Likewise.
105 (obj_coff_seh_save): Likewise.
106 (obj_coff_seh_setframe): Likewise.
108 * config/obj-coff-seh.h (seh_context): New member code_seg.
109 * config/obj-coff-seh.c: Implementing xdata/pdata section cloning
110 for link-once code-segment.
112 2010-09-14 Jie Zhang <jie@codesourcery.com>
114 * doc/c-arm.texi: Document -mcpu=cortex-m4.
116 2010-09-09 H.J. Lu <hongjiu.lu@intel.com>
118 * config/tc-i386.c (build_vex_prefix): Check VEXW1 for 2-byte
121 2010-09-09 Joseph Myers <joseph@codesourcery.com>
123 * doc/c-tic6x.texi (.c6xabi_attribute): Document directive.
125 2010-09-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
127 * config/tc-arm.c (arm_cpus): Add cortex-a15 entry.
128 * doc/c-arm.texi: Document -mcpu=cortex-a15.
130 2010-09-09 Gunther Nikl <gnikl@users.sourceforge.net>
132 * gas/config/tc-m68k.c (tc_gen_reloc): Handle references to defined
133 weak symbols first if generating an a.out object.
135 2010-09-09 Tejas Belagod <tejas.belagod@arm.com>
137 * config/tc-arm.c (md_apply_fix): Check if widened add, sub are
138 flag-setting and handle accordingly.
140 2010-09-09 Nick Clifton <nickc@redhat.com>
143 * config/tc-arm.c (parse_big_immediate): Allow for bignums being
144 extended to the size of a .octa.
146 2010-09-08 Julian Brown <julian@codesourcery.com>
148 * config/tc-arm.c (create_neon_reg_alias): Deal with case
151 2010-09-08 Nick Clifton <nickc@redhat.com>
154 * config/tc-mn10300.c (md_convert_frag): Zero out top two bytes of
155 long call instruction's displacement.
157 2010-09-03 H.J. Lu <hongjiu.lu@intel.com>
160 * config/tc-i386.c (i386_finalize_immediate): Check flag_code
161 instead of use_rela_relocations for 64bit.
163 2010-09-02 Richard Henderson <rth@redhat.com>
165 * dw2gencfi.c (TC_DWARF2_EMIT_OFFSET): Provide default.
166 (output_fde): Use it. Make sure to fully init exp before using it.
168 2010-08-31 Kai Tietz <kai.tietz@onevision.com>
170 * config/obj-coff-seh.c (obj_coff_seh_save): Correct comparison.
171 (obj_coff_seh_stackalloc): Likewise.
173 2010-08-31 Alan Modra <amodra@gmail.com>
175 * config/obj-elf.c (obj_elf_init_stab_section): Fix assertion.
177 2010-08-30 Richard Henderson <rth@redhat.com>
179 * config/obj-coff-seh.c: Rewrite the entire file.
180 (symtab, symptr, reltab, relcount, relsize): Remove.
181 (seh_ctx_root, seh_ctx): Remove.
182 (xdata_seg, xdata_subseg, pdata_seg): New.
183 (switch_xdata, switch_pdata): New.
184 (verify_context, verify_context_and_target, skip_whitespace_and_comma):
185 New parsing functions. Rewrite all parsing functions to use them.
186 (obj_coff_seh_32): Fix != arm thinko.
187 (obj_coff_seh_handler): For x64, don't accept handler pointer here,
189 (obj_coff_seh_handlerdata): New.
190 (do_seh_endproc): Split out of ...
191 (obj_coff_seh_endproc): ... here.
192 (obj_coff_seh_proc): Use it, if needed.
193 (seh_x64_make_prologue_element): Use XRESIZEVEC, symbol_temp_new_now.
194 (seh_x64_read_reg): Remove mm_regs alternative. Tidy integer reg
195 alternatives. Don't slurp commas.
196 (seh_read_offset): Remove.
197 (obj_coff_seh_pushframe): Split out from obj_coff_seh_push.
198 (obj_coff_seh_scope): Remove.
199 (obj_coff_seh_save): Decide UWOP_SAVE_* vs _FAR immediately.
200 (obj_coff_seh_stackalloc): Decide _SMALL vs _LARGE immediately.
201 (out_one, out_two, out_four): New.
202 (seh_x64_write_prologue_data, seh_x64_size_prologue_data,
203 seh_x64_write_function_xdata, write_function_xdata): Rewrite
204 from seh_x64_write_xdata, seh_needed_unwind_info, seh_store_elm_data,
205 seh_getelm_data_size, seh_getsize_of_unwind_entry,
206 seh_make_unwind_entry, seh_getsize_unwind_data, and
207 seh_create_unwind_data.
208 (seh_arm_write_function_pdata): Rewrite from seh_arm_create_pdata.
209 (write_function_pdata): Rewrite from make_function_entry_pdata.
210 (seh_write_text_eh_data, make_function_entry_pdata,
211 seh_arm_create_pdata, seh_arm_write_pdata, seh_reloc, save_relocs,
212 seh_symbol_init, seh_symbol, quick_section, seh_emit_rva,
213 seh_emit_long, seh_make_globl, seh_make_section2, seh_make_section,
214 seh_make_xlbl_name, make_seh_text_label, seh_fill_pcsyms,
215 seh_needed_unwind_info, seh_store_elm_data, seh_getelm_data_size,
216 seh_getsize_of_unwind_entry, seh_make_unwind_entry,
217 seh_getsize_unwind_data, seh_create_unwind_data,
218 seh_make_function_entry_xdata, seh_x64_makescope_elem): Remove.
219 * config/obj-coff-seh.h (SEH_CMDS): Remove seh_savemm, seh_scope.
220 Add seh_handlerdata. Adjust function/what arguments for
221 seh_savereg, seh_pushframe, seh_stackalloc.
222 (struct seh_prologue_element): Adjust members to closer match
223 the elements of the UNWIND_CODE structure.
224 (struct seh_scope_elem): Remove.
225 (struct seh_context): Replace char* members with symbolS or
226 expressionS as appropriate. Sort members by ARM/x64 applicability.
227 Remove obsolete stuff wrt direct symbol and reloc manipulation.
229 2010-08-25 Alan Modra <amodra@gmail.com>
231 * NEWS: Mention ampersand in macro change.
233 2010-08-25 Gunther Nikl <gnikl@users.sourceforge.net>
235 * configure.tgt (m68k-*-aout): Change to bfd_gas=yes.
237 2010-08-25 Alan Modra <amodra@gmail.com>
239 * config/tc-d10v.c (do_assemble): Correctly detect overflow of
241 * config/tc-m68hc11.c (md_assemble): Likewise.
242 * config/tc-microblaze.c (md_assemble): Likewise. Correct cast
243 of is_end_of_line index.
245 2010-08-25 Jie Zhang <jie@codesourcery.com>
247 * config/tc-arm.c (encode_arm_addr_mode_2): Fix comment.
249 2010-08-25 Jie Zhang <jie@codesourcery.com>
251 * config/tc-arm.c (encode_arm_addr_mode_2): Fix
252 BAD_PC_ADDRESSING condition.
254 2010-08-20 Maciej W. Rozycki <macro@codesourcery.com>
256 * doc/c-arm.texi (ARM Options): Document -mfpu=fp4-sp-d16.
258 2010-08-19 H.J. Lu <hongjiu.lu@intel.com>
260 * config/tc-i386.c (VEX_check_operands): Fix a typo in comments.
262 2010-08-18 H.J. Lu <hongjiu.lu@intel.com>
264 * config/tc-i386.c (build_modrm_byte): Check i.imm_operands
267 2010-08-18 Alan Modra <amodra@gmail.com>
269 * macro.c (sub_actual): Add back ampersand suffix when no
271 (macro_expand_body): Correct comment.
273 2010-08-17 Roland McGrath <roland@redhat.com>
275 * config/obj-elf.c (obj_elf_parse_section_letters): Take new
276 boolean result parameter CLONE; set it if '?' flag letter seen.
277 (obj_elf_section): Update caller. Handle that flag by copying
278 the LINKONCE and GROUP_NAME state from NOW_SEG.
279 * doc/as.texinfo (Section): Document the ? flag.
281 2010-08-09 Cary Coutant <ccoutant@google.com>
283 * as.c (show_usage): Don't list --compress-debug-sections if zlib not
285 (main): Warn if --compress-debug-sections requested and zlib not
287 * doc/as.texinfo: Add --compress-debug-sections,
288 --nocompress-debug-sections.
290 2010-08-06 H.J. Lu <hongjiu.lu@intel.com>
292 * config/tc-i386.c (set_cpu_arch): Re-indent.
293 (md_parse_option): Likewise.
295 2010-08-06 Quentin Neill <quentin.neill@amd.com>
297 * config/tc-i386.c (arch_entry): Add negated bit to
298 disambiguate flag names starting with "no".
299 (cpu_arch): Add negated bit definitions. Add
300 ".nop" CPU extension.
301 (i386_align_code): Use new .cpunop bit to decide
302 when to generate alignment using nops.
303 (set_cpu_arch): Use negated bit instead to decide
304 when to use cpu_flags or vs. cpu_flags_and_not.
305 (md_parse_option): Likewise.
307 2010-08-04 H.J. Lu <hongjiu.lu@intel.com>
309 * config/tc-i386.c (match_template): Move the first i.error
312 2010-08-04 Alan Modra <amodra@gmail.com>
314 * configure.tgt (m32c): Set endian=little.
315 * config/tc-m32c.h (TARGET_BYTES_BIG_ENDIAN): Define as 0.
316 * config/tc-m32c.c (md_number_to_chars): Revert last change.
318 2010-08-03 Tristan Gingold <gingold@adacore.com>
320 * makefile.vms (OBJS): Add Add compress-debug.c.
322 2010-08-03 Alan Modra <amodra@gmail.com>
324 * config/tc-d10v.h (TARGET_BYTES_BIG_ENDIAN): Define as 1.
325 * config/tc-m32c.c (md_number_to_chars): Call bigendian
326 form of number_to_chars, not littleendian.
328 2010-08-02 Alan Modra <amodra@gmail.com>
330 * config/tc-d30v.c (d30v_cons_align): Don't align constants
333 2010-08-02 Alan Modra <amodra@gmail.com>
336 * expr.c (operand <'-' and '~'>): Widen bignums.
337 (operand <'!'>): Correct bignum result and convert to O_constant.
338 * read.c (emit_expr): Don't assert on .byte bignum. Don't display
339 bignum truncated warning for sign extended bignums.
341 2010-08-02 Alan Modra <amodra@gmail.com>
343 * config/tc-v850.c (md_assemble): Always pass format string to
345 (md_apply_fix): Similarly for as_warn_where.
347 2010-07-29 H.J. Lu <hongjiu.lu@intel.com>
349 * config/tc-i386-intel.c: Reformat.
351 2010-07-29 Alan Modra <amodra@gmail.com>
353 * config/tc-ppc.c (ppc_fix_adjustable): Add got reloc types used
356 2010-07-28 Alan Modra <amodra@gmail.com>
359 * symbols.c (symbol_clone): Correct typo in previous patch.
361 2010-07-28 Alan Modra <amodra@gmail.com>
364 * symbols.c (symbol_clone): Clear BSF_SECTION_SYM flag.
366 2010-07-28 Alan Modra <amodra@gmail.com>
368 * config/tc-ppc.c (md_assemble): Don't attempt to print NUL in
369 syntax error message.
371 2010-07-27 Maciej W. Rozycki <macro@codesourcery.com>
373 * config/tc-mips.c (mips16_macro_build): Pass "args" by
374 reference rather than value.
375 (macro_build): Update accordingly.
377 2010-07-27 Maciej W. Rozycki <macro@codesourcery.com>
379 * config/tc-mips.c (mips_ip): Use symbol_temp_new_now to create
382 2010-07-24 Maciej W. Rozycki <macro@codesourcery.com>
384 * config/tc-mips.c (macro)[M_JAL_1, M_JAL_2]: Handle the JALR
385 delay slot in the noreorder mode with the o32 ABI.
387 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
388 Ina Pandit <ina.pandit@kpitcummins.com>
390 * config/tc-v850.c: Update processor_mask.
391 (reg_name): Update the structure to use processors field.
392 (md_relax_table): Define SUBYPTE_COND_9_22, SUBYPTE_SA_9_22,
393 SUBYPTE_UNCOND_9_22, SUBYPTE_COND_9_22_32, SUBYPTE_SA_9_22_32,
394 SUBYPTE_UNCOND_9_22_32, SUBYPTE_COND_9_17_22,
395 SUBYPTE_SA_9_17_22, SUBYPTE_COND_9_17_22_32 and
396 SUBYPTE_SA_9_17_22_32.
397 (set_machine): Add support for V850E2 and V850E2V3.
398 (md_pseudo_table): Likewise.
399 (pre_defined_registers): Update pre defined registers suitable
400 for each family of registers.
401 (system_registers): Likewise.
402 (cc_names): Update the condition code.
403 (float_cc_names): Update the condition code for float.
404 (reg_name_search): Update based on current modifications.
405 (register_name): Likewise.
406 (system_register_name): Update to support new system registers
407 and supported families.
408 (cc_name): Update to support new condition codes.
409 (float_cc_name): New function to support float condition codes.
410 (parse_register_list): Update to support newly added registers.
411 (md_show_usage): Define support for V850E2 and V850E2V3 targets.
412 Also support added for disp-size-default-22, disp-size-default-32,
413 mextension, mno-bcond17 and mno-stld23.
414 (md_parse_option): Implement the support for above options defined
416 (md_convert_frag): Implement support for subtypes defined in
417 md_relax_table to support branch operations.
418 (md_begin): Add support for V850E2 and V850E2V3.
419 (handle_hi016, handle_hi16): new relocation handling functions
420 (handle_lo16, handle_ctoff, handle_sdaoff, handle_zdaoff,
421 handle_tdaoff): Updated relocation handling functions for newly
423 (v850_reloc_prefix): Update the relocation handling functions.
424 (v850_insert_operand): Updated the functions with error message
425 parameter and modified the function to use it.
426 (md_assemble): Update according to the latest modifications.
427 (md_apply_fix): Updated the functions with error message parameter
428 and modified the function to use it.
429 (v850_force_relocation): Update with newly added relocations.
430 * configure.tgt: Match all v850 targets.
431 * doc/c-v850.texi: Document the newly added targets.
434 2010-07-23 Alan Modra <amodra@gmail.com>
437 * macro.c (macro_expand): Recover gracefully from named args that
440 2010-07-22 Thomas Schwinge <thomas@codesourcery.com>
442 Switch MIPS to 32-bit DWARF format.
443 * config/tc-mips.h (DWARF2_FORMAT): Only define for [TE_IRIX].
444 * config/tc-mips.c (mips_dwarf2_format): Likewise.
446 2010-07-20 Alan Modra <amodra@gmail.com>
448 * config/tc-ppc.c (ppc_setup_opcodes): Add all macros for -many.
450 2010-07-16 Alan Modra <amodra@gmail.com>
452 * config/tc-rx.c (md_estimate_size_before_relax): Fix format
453 specifier warnings for 32-bit host when --enable-64-bit-bfd.
454 (rx_relax_frag, md_convert_frag): Likewise.
456 2010-07-15 Cary Coutant <ccoutant@google.com>
458 * gas/NEWS: Add note about --compress-debug-sections.
459 * gas/as.c (show_usage): Add --compress-debug-sections and
460 --nocompress-debug-sections.
462 2010-07-15 Rhonda Wittels <rhonda@codesourcery.com>
464 * config/obj-elf.c (get_sym_from_input_line_and_check): New
465 function to catch missing pseudo-op arguments.
466 (obj_elf_local): Call new function.
467 (obj_elf_weak): Likewise.
468 (obj_elf_visibility): Likewise.
469 (obj_elf_vtable_entry): Likewise.
470 (obj_elf_type): Likewise.
472 2010-07-15 Kai Tietz <kai.tietz@onevision.com>
474 * config/obj-coff-seh.c
475 (seh_getelm_data_size): New.
476 (seh_read_offset): Handle negative values.
477 (obj_coff_seh_push): Handle offset for save-register store.
478 (obj_coff_seh_setframe): Add unwind-information for frame.
479 (seh_store_elm_data): New.
480 (seh_getelm_data_size): Return additionally unaligned element count.
481 (seh_make_unwind_entry): Correct tweak about element count.
483 2010-07-12 H.J. Lu <hongjiu.lu@intel.com>
486 * config/tc-i386-intel.c (i386_intel_simplify): Restore fall
487 through patch for O_multiply.
489 2010-07-11 Kai Tietz <kai.tietz@onevision.com>
492 * config/obj-coff.c (obj_common_parse): Quote symbol-name.
494 2010-07-08 Tejas Belagod <tejas.belagod@arm.com>
496 * tc-arm.c (OP_oBARRIER): Remove.
497 (OP_oBARRIER_I15): Add.
498 (po_barrier_or_imm): Add macro.
499 (parse_operands): Improve OP_oBARRIER_I15 operand parsing.
500 (do_barrier): Check correct immediate range.
501 (do_t_barrier): Likewise.
502 (barrier_opt_names): Add entries for more symbolic operands.
503 (insns): Replace OP_oBARRIER with OP_oBARRIER_I15 for barriers.
505 2010-07-08 Daniel Gutson <dgutson@codesourcery.com>
507 * config/tc-arm.c (tc_gen_reloc): Add BFD_RELOC_ARM_T32_OFFSET_IMM
510 2010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
512 * config/tc-mips.c (mips_frob_file): Use symbol_same_p to match
515 2010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
517 * config/tc-mips.c (nops_for_insn_or_target): Replace
518 MIPS16_INSN_BRANCH with MIPS16_INSN_UNCOND_BRANCH and
519 MIPS16_INSN_COND_BRANCH.
521 2010-07-05 Jim Wilson <wilson@codesourcery.com>
525 * dwarf2dbg.c (dwarf2_finish): Don't generate .debug_line section
528 2010-07-05 Alan Modra <amodra@gmail.com>
530 * config/tc-moxie.c (md_apply_fix): Delete set but otherwise
533 2010-07-04 H.J. Lu <hongjiu.lu@intel.com>
535 * Makefile.am (CONFIG_OBJS): Removed.
536 (GENERIC_OBJS): Likewise.
538 * Makefile.in: Regenerated.
540 2010-07-03 Jan Beulich <jbeulich@novell.com>
543 * config/tc-i386.c (i386_finalize_displacement): Don't call
544 section_symbol() with expr_section.
546 2010-07-03 Cary Coutant <ccoutant@google.com>
548 * Makefile.am: Add compress-debug.c and compress-debug.h.
549 * Makefile.in: Regenerate.
550 * config.in: Add HAVE_ZLIB_H.
551 * configure.in: Check for zlib.h.
552 * configure: Regenerate.
554 * as.c (parse_args): Add --compress-debug-sections and
555 --nocompress-debug-sections.
556 * as.h (flag_compress_debug): New variable.
557 * compress-debug.c: New file.
558 * compress-debug.h: New file.
559 * write.c: Include compress-debug.h.
560 (compress_frag): New function.
561 (compress_debug): New function.
562 (write_object_file): Compress debug sections if requested.
564 2010-07-03 Andreas Schwab <schwab@linux-m68k.org>
566 * config/tc-ppc.c (ppc_set_cpu): Cast PPC_OPCODE_xxx to ppc_cpu_t
569 2010-07-03 Alan Modra <amodra@gmail.com>
571 * config/tc-ppc.c (ppc_set_cpu): Remove old opcode flags.
572 (ppc_setup_opcodes): Likewise. Simplify opcode selection.
574 2010-07-02 DJ Delorie <dj@redhat.com>
576 * config/tc-rx.h (md_do_align): New.
577 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
578 * config/tc-rx.c (nops): New.
579 (rx_handle_align): Use various sized nops to align code.
581 * config/tc-rx.c (rx_bytesT): Add grown/shrank counters for
583 (rx_relax_frag): Prevent infinite loops of grow/shrink/grow/etc.
585 2010-07-01 H.J. Lu <hongjiu.lu@intel.com>
587 AVX Programming Reference (June, 2010)
588 * config/tc-i386.c (cpu_arch): Add .xsaveopt, .fsgsbase, .rdrnd
591 * doc/c-i386.texi: Document xsaveopt, fsgsbase, rdrnd and f16c.
593 2010-07-01 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
595 * config/tc-arm.c (do_t_mov_cmp): Fix reporting of unpredictable and
596 deprecated mov register instructions.
598 2010-07-01 Alan Modra <amodra@gmail.com>
600 * config/tc-ppc.c (toc_reloc_types): New variable.
601 (md_assemble): Set it.
602 (ppc_frob_file_before_adjust): Don't warn about toc section size
603 if we have large toc relocs and no small toc relocs.
605 2010-06-29 Alan Modra <amodra@gmail.com>
607 * config/tc-maxq.h: Delete file.
608 * config/tc-maxq.c: Delete file.
609 * Makefile.am: Remove references to maxq.
610 * configure.tgt: Likewise.
611 * config/obj-coff.h: Likewise.
612 * Makefile.in: Regenerate.
613 * configure: Regenerate.
614 * po/POTFILES.in: Regenerate.
616 2010-06-28 Alan Modra <amodra@gmail.com>
618 * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define.
619 * config/tc-crx.c (gettrap): Constify arg.
620 (handle_LoadStor, get_cinv_parameters): Likewise.
621 (getreg_image): Fix enum warning
622 (md_assemble): Restore input line char.
623 * config/tc-hppa.c (tc_gen_reloc): Fix enum warning.
624 * config/tc-i960.c (mem_fmt): Rename var to fix shadow warning.
625 * config/tc-sh.c (sh_fdpic): Only define when OBJ_ELF.
626 (build_Mytes): Fix build failure for non-elf targets.
627 * config/tc-tic4x.c (tic4x_eval): Restore terminator char.
628 * config/tc-xtensa.c (xtensa_end_directive): Fix switch enum warning.
630 * cgen.c (gas_cgen_md_apply_fix): Avoid set but unused warning.
631 * ecoff.c (add_ecoff_symbol): Likewise.
632 * itbl-ops.c (append_insns_as_macros): Likewise.
633 * listing.c (debugging_pseudo): Likewise.
634 * read.c (s_mri_common, stringer): Likewise.
635 * config/obj-coff.c (coff_frob_section): Likewise.
636 * config/tc-alpha.c (emit_ldgp, s_alpha_proc): Likewise.
637 * config/tc-arm.c (my_get_expression): Likewise.
638 * config/tc-hppa.c (process_exit, pa_type_args): Likewise.
639 * config/tc-m32c.c (md_assemble): Likewise.
640 * config/tc-microblaze.c (md_convert_frag): Likewise.
641 * config/tc-mips.c (s_change_section): Likewise.
642 * config/tc-mt.c (mt_fix_adjustable): Likewise.
643 * config/tc-xtensa.c (xtensa_literal_pseudo): Likewise.
645 * config/obj-aout.c (obj_aout_frob_symbol): Delete set but otherwise
647 * config/tc-alpha.c (load_expression): Likewise.
648 (s_alpha_rdata, s_alpha_section, s_alpha_prologue): Likewise.
649 * config/tc-arm.c (parse_neon_el_struct_list): Likewise.
650 * config/tc-avr.c (extract_word): Likewise.
651 * config/tc-cris.c (cris_get_expression): Likewise.
652 * config/tc-d30v.c (build_insn, find_format): Likewise.
653 * config/tc-dlx.c (machine_ip): Likewise.
654 * config/tc-hppa.c (pa_get_absolute_expression): Likewise.
655 * config/tc-i370.c (md_assemble): Likewise.
656 * config/tc-i960.c (brtab_emit): Likewise.
657 * config/tc-iq2000.c (s_iq2000_ent): Likewise.
658 * config/tc-m32c.c (md_convert_frag): Likewise.
659 * config/tc-m68hc11.c (fixup24, build_jump_insn): Likewise.
660 (md_estimate_size_before_relax, md_apply_fix): Likewise.
661 * config/tc-m68k.c (md_show_usage): Likewise.
662 * config/tc-microblaze.c (microblaze_s_lcomm): Likewise.
663 * config/tc-mips.c (s_mips_end): Likewise.
664 * config/tc-mmix.c (mmix_byte, mmix_cons): Likewise.
665 * config/tc-mn10300.c (md_assemble): Likewise.
666 * config/tc-msp430.c (extract_word): Likewise.
667 * config/tc-mt.c (md_assemble): Likewise.
668 * config/tc-or32.c (machine_ip): Likewise.
669 * config/tc-pj.c (md_apply_fix): Likewise.
670 * config/tc-s390.c (md_gather_operands): Likewise.
671 * config/tc-sh.c (sh_cons_align): Likewise.
672 * config/tc-sparc.c (sparc_cons_align): Likewise.
673 * config/tc-tic4x.c (tic4x_sect): Likewise.
674 * config/tc-tic54x.c (tic54x_stringer): Likewise.
675 * config/tc-vax.c (vip_op): Likewise.
676 * config/tc-xstormy16.c (xstormy16_cons_fix_new): Likewise.
677 * config/tc-xtensa.c (md_assemble): Likewise.
678 (xtensa_fix_short_loop_frags, convert_frag_immed): Likewise.
679 (xtensa_move_literals): Likewise.
681 2010-06-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
683 * config/tc-arm.c (parse_neon_alignment): New function.
684 (parse_address_main): Fix Neon load/store alignment parsing.
686 2010-06-22 Jan Beulich <jbeulich@novell.com>
688 * config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo
690 (i386_intel_operand): Remove bogus handling of pseudo symbols
692 * expr.c (current_location): Remove 'static' and local
694 * expr.h (current_location): Declare.
696 2010-06-21 Sterling Augustine <sterling@tensilica.com>
699 * as.c: Globalize keep_it.
700 (main): Remove keep_it. Move conditional from here...
701 (close_output_file): ...to here.
703 2010-06-21 Andreas Schwab <schwab@redhat.com>
705 * doc/as.texinfo (Overview): Use @itemx for grouped @table
707 * doc/c-alpha.texi (Alpha Options): Likewise.
708 * doc/c-arm.texi (ARM Directives): Likewise.
709 * doc/c-bfin.texi (Blackfin Options): Likewise.
710 * doc/c-d10v.texi (D10V-Opts): Likewise.
711 * doc/c-i386.texi (i386-Options): Likewise.
712 * doc/c-ia64.texi (IA-64 Options): Likewise.
713 * doc/c-m68k.texi (M68K-Opts): Likewise.
714 * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
715 * doc/internals.texi (Symbols): Likewise.
717 2010-06-21 Alan Modra <amodra@gmail.com>
720 * config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
722 2010-06-18 Joseph Myers <joseph@codesourcery.com>
724 * config/tc-tic6x.h (tic6x_segment_info_type): Add field
726 * config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
727 (md_assemble): Clear func_units_used for new execute packet.
728 Check for duplicate functional units and update func_units_used
729 for instructions using a functional unit.
731 2010-06-15 Joseph Myers <joseph@codesourcery.com>
733 * config/tc-tic6x.c: Include elf/tic6x.h.
734 (tic6x_arch_attribute, tic6x_seen_insns): New.
735 (tic6x_arch_table, tic6x_arches): Add attribute values.
736 (tic6x_use_arch): Handle attribute settings.
737 (tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
738 tic6x_attribute_table, tic6x_attributes,
739 tic6x_convert_symbolic_attribute): New.
740 (md_pseudo_table): Add c6xabi_attribute.
741 (md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
742 (tic6x_set_attribute_int, tic6x_set_attributes): New.
743 (tic6x_end): Call tic6x_set_attributes.
744 * config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
745 (tic6x_convert_symbolic_attribute): Declare.
747 2010-06-14 Alan Modra <amodra@gmail.com>
749 * config/tc-ppc.c (md_assemble): Emit APUinfo section for
752 2010-06-11 Jan Beulich <jbeulich@novell.com>
754 * config/tc-i386.c (md_parse_option): Ignore impossible processor
756 (show_arch): New parameter 'check'.
757 (md_show_usage): Adjust calls to show_arch().
759 2010-06-10 H.J. Lu <hongjiu.lu@intel.com>
761 * config/tc-i386.c (update_code_flag): New.
762 (set_code_flag): Use it.
763 (i386_target_format): Replace set_code_flag with update_code_flag.
765 2010-06-10 Tristan Gingold <gingold@adacore.com>
767 * config/obj-som.h: Includes som/reloc.h
769 2010-06-10 Jan Beulich <jbeulich@novell.com>
771 * config/tc-i386.c (cpu_arch): Add comment.
772 (i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
773 from the generic entries of cpu_arch[].
775 2010-06-08 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
777 * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
779 (parse_operands): Add support for OP_RRnpctw.
780 (insns): Update floating-point load/store multiples so the
781 first register is of type OP_RRnpctw.
783 2010-06-08 Quentin Neill <quentin.neill@amd.com>
785 * config/tc-i386.c (pi): Rename local loop counter
786 variable i that shadows global static i386_insn i
787 when DEBUG386 is defined.
790 2010-06-08 Nick Clifton <nickc@redhat.com>
792 * doc/as.texinfo: Replace abbreviated 20th century year numbers
795 2010-06-02 Quentin Neill <quentin.neill@amd.com>
797 * config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
799 2010-06-02 Tristan Gingold <gingold@adacore.com>
801 * as.h: Remove conditionnal definition of HAVE_STDARG_H,
802 USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
803 Remove conditionnal inclusion of stdarg.h and varargs.h.
805 * config.in: Regenerate.
806 * configure: Regenerate.
807 * configure.in: Remove stdarg.h and varargs.h from
808 AC_CHECK_HEADERS list.
809 * messages.c (as_tsktsk): Remove non ISO C version.
810 (as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
812 2010-05-31 Tristan Gingold <gingold@adacore.com>
814 * config/tc-alpha.c: Add comments for evax.
815 * config/obj-evax.c: Ditto.
817 2010-05-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
819 * config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
822 2010-05-27 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
824 * config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
825 writeback when base register is in register list an error, and
827 (do_t_ldmstm): Change warnings.
829 2010-05-26 Catherine Moore <clm@codesourcery.com>
831 * config/tc-mips.c (is_opcode_valid): Remove expansionp.
832 (macro_build): Change invocation of is_opcode_valid.
835 2010-05-25 Nick Clifton <nickc@redhat.com>
837 * Makefile.am (MOSTLYCLEANFILES): Fix typo.
838 * Makefile.in: Regenerate.
840 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
841 Joseph Myers <joseph@codesourcery.com>
842 Andrew Stubbs <ams@codesourcery.com>
844 * config/tc-sh.c (sh_fdpic): New.
845 (sh_check_fixup): Handle relocations on movi20.
846 (parse_exp): Do not reject PIC operators here.
847 (build_Mytes): Check for unhandled PIC operators here. Use
848 sh_check_fixup for movi20.
849 (enum options): Add OPTION_FDPIC.
850 (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
851 (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
852 (sh_elf_final_processing): Handle --fdpic.
853 (sh_uclinux_target_format): New.
854 (sh_parse_name): Handle FDPIC relocation operators.
855 * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
856 (sh_uclinux_target_format): Declare for TE_UCLINUX.
857 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
859 * doc/c-sh.texi (SH Options): Document --fdpic.
861 2010-05-25 Jay Krell <jay.krell@cornell.edu>
864 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
865 * Makefile.in: Regenerate.
867 2010-05-25 Alan Modra <amodra@gmail.com>
869 * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
871 2010-05-19 Nick Clifton <nickc@redhat.com>
873 * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
874 of known section prefixes.
876 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
879 * obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
880 (obj_elf_parse_section_letters): Likewise.
881 (obj_elf_section_word): Likewise.
883 * config/tc-ppc.c (ppc_section_letter): Removed.
884 (ppc_section_word): Likewise.
885 * config/tc-ppc.h (ppc_section_letter): Likewise.
886 (ppc_section_word): Likewise.
887 (md_elf_section_letter): Likewise.
888 (md_elf_section_word): Likewise.
890 * doc/as.texinfo: Document `e' and `#exclude'.
892 2010-05-13 Nathan Sidwell <nathan@codesourcery.com>
894 * config/tc-arm.c (md_assemble): Clarify current mode in error
895 messages about unsupported instructions.
896 (UT): Delete #define.
897 (insns): Adjust cbnz, cbz appropriately.
899 2010-05-11 Andrew Stubbs <ams@codesourcery.com>
901 * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
903 2010-05-11 Jie Zhang <jie@codesourcery.com>
905 * config/tc-arm.c (aeabi_set_public_attributes): Set
906 Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
908 2010-05-07 Tristan Gingold <gingold@adacore.com>
910 * Makefile.in: Regenerate with automake 1.11.1.
912 * doc/Makefile.in: Ditto.
914 2010-05-05 Nick Clifton <nickc@redhat.com>
916 * po/es.po: Updated Spanish translation.
918 2010-05-05 Julian Brown <julian@codesourcery.com>
920 * read.c (cons_worker): Detect and reject unexpected string argument.
922 2010-05-04 Nick Clifton <nickc@redhat.com>
924 * write.c (fixup_segment): Revert previous delta.
925 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
926 generation of relocations for fixups against weak symbols.
928 2010-04-29 Nathan Sidwell <nathan@codesourcery.com>
930 * write.c (fixup_segment): Do not assume we know the section a
931 defined weak symbol is in.
932 * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
933 weak symbols as not known to be in the same section, even if they
936 2010-04-27 Joseph Myers <joseph@codesourcery.com>
938 * config/tc-tic6x.h (tic6x_label_list): New.
939 (tic6x_segment_info_type): Keep a list of labels and a current
940 frag instead of a boolean for whether labels seen and a count of
942 (tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
943 md_do_align, tic6x_do_align, md_end, tic6x_end): New.
944 * config/tc-tic6x.c (tic6x_frob_label): Put label on list.
945 (tic6x_cleanup): Correct comment.
946 (tic6x_free_label_list): New.
947 (tic6x_cons_align): Free label list and update for
948 tic6x_segment_info_type changes.
949 (tic6x_do_align): New.
950 (md_assemble): Handle list of labels and saved frag for execute
951 packet. Create machine-dependent frag for new execute packet and
952 adjust labels accordingly.
953 (tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
954 (md_convert_frag, md_estimate_size_before_relax): Update comments.
956 2010-04-24 H.J. Lu <hongjiu.lu@intel.com>
959 * config/tc-i386-intel.c (intel_state): Add is_indirect.
960 (i386_intel_operand): Initialize intel_state.is_indirect. Check
961 intel_state.is_indirect for "call|jmp [symbol]".
963 2010-04-22 Nick Clifton <nickc@redhat.com>
965 * po/gas.pot: Updated by the Translation project.
967 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
969 * config/tc-i386.c (i386_is_register): Removed.
970 (x86_cons): Don't use i386_is_register.
971 (parse_register): Likewise.
972 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
973 (i386_intel_operand): Likewise.
975 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
977 * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
980 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
982 * config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
984 (parse_register): Likewise.
985 (tc_x86_parse_to_dw2regnum): Likewise.
986 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
987 (i386_intel_operand): Likewise.
989 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
992 * config/tc-i386-intel.c (i386_intel_simplify_register): New.
993 (i386_intel_simplify): Use i386_is_register and
994 i386_intel_simplify_register. Set X_md for O_register and
995 check X_md for O_constant.
996 (i386_intel_operand): Use i386_is_register.
998 * config/tc-i386.c (i386_is_register): New.
999 (x86_cons): Initialize the X_md field. Use i386_is_register.
1000 (parse_register): Use i386_is_register.
1001 (tc_x86_parse_to_dw2regnum): Likewise.
1003 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1005 * expr.c (expr): Initialize the X_md field.
1007 2010-04-20 Joseph Myers <joseph@codesourcery.com>
1009 * config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
1010 (md_longopts): Add -mgenerate-rel.
1011 (tic6x_generate_rela): New.
1012 (md_parse_option): Handle -mgenerate-rel.
1013 (md_show_usage): Add comment that -mgenerate-rel is undocumented.
1014 (tic6x_init_after_args): New.
1015 (md_apply_fix): Correct shift calculations for SB-relative
1017 (md_pcrel_from): Change to tic6x_pcrel_from_section. Do not
1018 adjust addresses for relocations referencing symbols in other
1020 (tc_gen_reloc): Adjust addend calculations for REL relocations.
1021 * config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
1022 tic6x_pcrel_from_section, tc_init_after_args,
1023 tic6x_init_after_args): New.
1025 2010-04-20 Nick Clifton <nickc@redhat.com>
1028 * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
1029 altmacro mode if found inside a quoted string.
1031 2010-04-20 Mike Frysinger <vapier@gentoo.org>
1033 * config/bfin-lex.l (parse_int): Change index() to strchr().
1035 2010-04-16 Nick Clifton <nickc@redhat.com>
1038 * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
1039 matcher to accept and unconditional 32-bit add instruction.
1040 (pa_build_unwind_subspace): Cope with error conditions not
1041 allowing the start symbol to be set.
1043 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1045 * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
1046 new tag names in v2.08 of ARM ABI.
1047 * doc/c-arm.texi: Document new tag names in ABI.
1049 2010-04-14 Tristan Gingold <gingold@adacore.com>
1051 * config/tc-alpha.c: Includes vms/egps.h on EVAX.
1052 (s_alpha_comm): Used new EGPS macros from egps.h
1053 (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
1054 (s_alpha_section_word): Add comments. Use new EGPS macros.
1055 Adjust for modified bfd_vms_set_section_flags function.
1057 2010-04-10 Alan Modra <amodra@gmail.com>
1060 * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
1062 2010-04-09 Nick Clifton <nickc@redhat.com>
1064 * as.c (create_obj_attrs_section): Remove unused variable addr.
1065 * listing.c (listing_listing): Remove unused variable message.
1066 * read.c: Remove unnecessary register type qualifiers.
1067 (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
1070 2010-04-07 Eric B. Weddington <eric.weddington@atmel.com>
1072 * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
1073 atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
1074 atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
1075 atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
1076 atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
1077 atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
1078 atmega88pa, attiny461a, attiny84a, m3000.
1079 Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
1080 atmega8hvd, attiny327, m3000f, m3000s, m3001b.
1081 * doc/c-avr.texi: Same.
1083 2010-04-07 Jie Zhang <jie@codesourcery.com>
1085 * config/tc-arm.c (make_mapping_symbol): Handle the case
1086 that multiple mapping symbols have the same value 0.
1088 2010-04-07 Alan Modra <amodra@gmail.com>
1090 * configure: Regenerate.
1092 2010-04-06 Nick Clifton <nickc@redhat.com>
1094 * po/ru.po: New Russian translation.
1095 * configure.in (ALL_LINGUAS): Add ru.
1096 * configure: Regenerate.
1098 2010-03-30 H.J. Lu <hongjiu.lu@intel.com>
1101 * input-scrub.c (input_scrub_next_buffer): Use memmove instead
1102 of memcpy to copy overlap memory.
1104 2010-03-25 Joseph Myers <joseph@codesourcery.com>
1106 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
1107 (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
1108 * Makefile.in: Regenerate.
1109 * NEWS: Add news entry for TI C6X support.
1110 * app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle
1111 TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in
1112 operands if TC_KEEP_OPERAND_SPACES.
1113 * configure.tgt (tic6x-*-*): New.
1114 * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
1115 TC_PREDICATE_END_CHAR): Define.
1116 * config/tc-tic6x.c, config/tc-tic6x.h: New.
1117 * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
1118 * doc/Makefile.in: Regenerate.
1119 * doc/all.texi (TIC6X): Define.
1120 * doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi.
1121 * doc/c-tic6x.texi: New.
1123 2010-03-22 H.J. Lu <hongjiu.lu@intel.com>
1125 * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
1127 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
1129 * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
1130 with operand_size_mismatch.
1131 (operand_size_match): Updated.
1132 (match_template): Likewise.
1134 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
1136 * config/tc-i386.c (i386_error): New.
1137 (_i386_insn): Replace err_msg with error.
1138 (operand_size_match): Set error instead of err_msg on failure.
1139 (operand_type_match): Likewise.
1140 (operand_type_register_match): Likewise.
1141 (VEX_check_operands): Likewise.
1142 (match_template): Likewise. Use error instead of err_msg with
1145 2010-03-19 Jie Zhang <jie@codesourcery.com>
1147 * config/tc-arm.c (make_mapping_symbol): Hanle the case
1148 that two mapping symbols have the same value.
1150 2010-03-18 Daniel Jacobowitz <dan@codesourcery.com>
1152 * doc/c-arm.texi (.setfp): Correct example.
1154 2010-03-18 Wei Guozhi <carrot@google.com>
1157 * config/tc-arm.c (reloc_names): New relocation names.
1158 (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
1159 (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
1160 * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
1162 2010-03-15 Thomas Schwinge <thomas@codesourcery.com>
1164 * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
1165 cases, and not only for .eh_frame.
1167 * dw2gencfi.c (output_cie): Make it more explicit which code paths
1168 belong to .eh_frame only.
1170 2010-03-13 Segher Boessenkool <segher@kernel.crashing.org>
1172 * config/tc-v850.c (v850_insert_operand): Handle out-of-range
1173 assembler constants on 64-bit hosts.
1175 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
1177 * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
1178 Strip trailing whitespace.
1180 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
1182 * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
1183 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
1185 (bfin_cpus[]): Add 0.0 for bf504 and bf506.
1187 2010-03-10 Jie Zhang <jie@codesourcery.com>
1189 * doc/as.texinfo: Add Blackfin options.
1190 * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
1191 * config/tc-bfin.c (md_show_usage): Show usage for all
1192 Blackfin specific options.
1194 2010-03-09 Alan Modra <amodra@gmail.com>
1197 * listing.c (listing_newline): Correct backslash quote logic.
1199 2010-03-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1201 * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
1202 (ELF_TARGET_FORMAT64): Define.
1204 2010-03-05 Paul Brook <paul@codesourcery.com>
1206 * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
1208 2010-03-02 Andrew Stubbs <ams@codesourcery.com>
1210 * config/tc-sh.c (get_specific): Move overflow checking code to avoid
1211 reading uninitialized data.
1213 2010-03-01 Tristan Gingold <gingold@adacore.com>
1215 * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
1217 2010-02-26 Doug Evans <dje@sebabeach.org>
1219 * configure.tgt: Fix mep cpu case.
1221 2010-02-26 Jie Zhang <jie@codesourcery.com>
1223 * config/tc-arm.c (do_t_strexd): Remove
1224 operand[1] != operand[2] contraint.
1226 2010-02-26 Jie Zhang <jie@codesourcery.com>
1228 * config/tc-arm.c (neon_select_shape): No need to match
1229 the remaining operands in the shape when one operand does
1232 2010-02-26 Jie Zhang <jie@codesourcery.com>
1234 * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
1237 2010-02-25 Doug Evans <dje@sebabeach.org>
1239 * cgen.c: Whitespace fixes.
1240 (weak_operand_overflow_check): Formatting fix.
1242 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
1244 * config/tc-i386.c (match_template): Update error messages.
1246 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
1248 * config/tc-i386.c (_i386_insn): Add err_msg.
1249 (operand_size_match): Set err_msg on failure.
1250 (operand_type_match): Likewise.
1251 (operand_type_register_match): Likewise.
1252 (VEX_check_operands): Likewise.
1253 (match_template): Likewise. Use i.err_msg with as_bad.
1255 2010-02-25 Wu Zhangjin <wuzhangjin@gmail.com>
1257 * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
1258 mips_fix_loongson2f_jump): New variables.
1259 (md_longopts): Add New options -mfix-loongson2f-nop/jump,
1260 -mno-fix-loongson2f-nop/jump.
1261 (md_parse_option): Initialize variables via above options.
1262 (options): New enums for the above options.
1263 (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
1264 (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
1266 (append_insn): call fix_loongson2f().
1267 (mips_handle_align): Replace the implicit nops.
1268 * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
1269 for the new mips_handle_align().
1270 * doc/c-mips.texi: Document the new options.
1272 2010-02-23 Daniel Gutson <dgutson@codesourcery.com>
1274 * config/tc-arm.c (do_rd_rm_rn): Added warning
1277 2010-02-23 Andrew Zabolotny <anpaza@mail.ru>
1280 * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
1281 (avr_cons_fix_new): Handle fixups of a single byte.
1283 2010-02-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1286 * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
1287 compiler's predefines.
1289 2010-02-19 Alan Modra <amodra@gmail.com>
1291 * configure.tgt: Whiltespace. Sort moxie entry.
1293 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1295 * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
1296 * doc/c-arm.texi: Likewise.
1298 2010-02-12 Daniel Gutson <dgutson@codesourcery.com>
1300 * config/tc-arm.c (asm_opcode): operands type
1302 (BAD_PC_ADDRESSING): New macro message.
1303 (BAD_PC_WRITEBACK): Likewise.
1304 (MIX_ARM_THUMB_OPERANDS): New macro.
1305 (operand_parse_code): Added enum values.
1306 (parse_operands): Added thumb/arm distinction,
1307 plus new enum values handling.
1308 (encode_arm_addr_mode_2): Validations enhanced.
1309 (encode_arm_addr_mode_3): Likewise.
1310 (do_rm_rd_rn): Likewise.
1311 (encode_thumb32_addr_mode): Likewise.
1312 (do_t_ldrex): Likewise.
1313 (do_t_ldst): Likewise.
1314 (do_t_strex): Likewise.
1315 (md_assemble): Call parse_operands with
1323 (insns): Updated insns operands.
1325 2010-02-12 Tristan Gingold <gingold@adacore.com>
1326 Douglas B Rupp <rupp@gnat.com>
1328 * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
1329 (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
1330 (pseudo_func): Add an entry for slotcount.
1331 (md_begin): Initialize slotcount pseudo symbol.
1332 (ia64_parse_name): Handle @slotcount parameter.
1333 (ia64_gen_real_reloc_type): Handle slotcount.
1334 (md_apply_fix): Ditto.
1335 * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
1337 2010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com>
1339 * config/tc-xtensa.c (istack_init): Don't call memset.
1341 2010-02-11 Sterling Augustine <sterling@tensilica.com>
1343 * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
1346 2010-02-11 Sterling Augustine <sterling@tensilica.com>
1348 * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
1350 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
1352 * config/tc-i386.c (build_modrm_byte): Reformat.
1354 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
1356 * config/tc-i386.c: Update copyright.
1358 2010-02-10 Quentin Neill <quentin.neill@amd.com>
1359 Sebastian Pop <sebastian.pop@amd.com>
1361 * config/tc-i386.c (vec_imm4) New operand type.
1362 (fits_in_imm4): New.
1363 (VEX_check_operands): New.
1364 (check_reverse): Call VEX_check_operands.
1365 (build_modrm_byte): Reintroduce code for 5
1366 operand insns. Fix whitespace.
1368 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
1370 * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
1373 2010-02-09 Sterling Augustine <sterling@tensilica.com>
1375 * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
1376 (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
1377 (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
1379 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
1381 * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
1382 non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
1383 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
1384 BFD_RELOC_ARM_PCREL_CALL)
1386 2010-02-08 Sterling Augustine <sterling@tensilica.com>
1388 * config/tc-xtensa.c (frag_format_size): Generalize logic to
1389 handle more instruction sizes and fetch widths.
1390 (branch_align_power): Likewise.
1391 (text_align_power): Likewise.
1392 (bytes_to_stretch): Likewise.
1394 2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
1396 * config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs.
1397 (ppc_mach): Handle titan.
1398 * doc/c-ppc.texi: Mention -mtitan.
1400 2010-02-05 Sterling Augustine <sterling@tensilica.com>
1402 * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
1404 (xtensa_fetch_width) ...this.
1406 2010-02-05 Joseph Myers <joseph@codesourcery.com>
1408 * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
1409 MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
1410 * Makefile.in: Regenerate.
1412 2010-02-03 Quentin Neill <quentin.neill@amd.com>
1414 * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
1415 (i386_align_code): Rename PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
1416 * config/tc-i386.h (processor_type): Same.
1417 * doc/c-i386.texi: Change amdfam15 to bdver1.
1419 2010-01-29 Nick Clifton <nickc@redhat.com>
1422 * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
1425 2010-01-27 Dave Korn <dave.korn.cygwin@gmail.com>
1427 * NEWS: Mention new feature.
1428 * config/obj-coff.c (obj_coff_section): Accept digits and use
1429 to override default section alignment power if specified.
1430 * doc/as.texinfo (.section directive): Update documentation.
1432 2010-01-27 H.J. Lu <hongjiu.lu@intel.com>
1434 * config/tc-i386.c (avxscalar): New.
1435 (OPTION_MAVXSCALAR): Likewise.
1436 (build_vex_prefix): Select vector_length for scalar instructions
1438 (md_longopts): Add OPTION_MAVXSCALAR.
1439 (md_parse_option): Handle OPTION_MAVXSCALAR.
1440 (md_show_usage): Add -mavxscalar=.
1442 * doc/c-i386.texi: Document -mavxscalar=.
1444 2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
1446 * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
1449 2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
1451 * write.h (fix_at_start): Declare.
1452 * write.c (fix_new_internal): Add at_beginning parameter.
1453 Use it instead of REVERSE_SORT_RELOCS. Fix the handling of
1454 seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
1455 (fix_new, fix_new_exp): Update accordingly.
1456 (fix_at_start): New function.
1457 * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
1458 (ppc_ref): New function, for OBJ_XCOFF.
1459 (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
1460 * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
1462 2010-01-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1464 * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
1465 on 64-bit Solaris/x86.
1466 Include obj-format.h earlier.
1468 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1470 * config/tc-s390.c (s390_elf_final_processing): New function.
1471 * config/tc-s390.h (elf_tc_final_processing): New macro definition.
1472 (s390_elf_final_processing): Added prototype.
1475 2010-01-20 Nick Clifton <nickc@redhat.com>
1478 * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1. Add
1479 code to handle round-to-zero for VCVT conversions.
1480 (do_neon_cvt): New. Call do_neon_cvt_1.
1481 (do_neon_cvtr): New. Call do_neon_cvt_1.
1482 (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
1485 2010-01-18 Tristan Gingold <gingold@adacore.com>
1487 * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
1489 2010-01-15 Sebastian Pop <sebastian.pop@amd.com>
1491 * config/tc-i386.c (md_assemble): Before accessing the IMM field
1492 check that it's not an XOP insn.
1494 2010-01-14 Jie Zhang <jie.zhang@analog.com>
1496 * config/bfin-aux.h: Remove argument names in function
1498 * config/bfin-lex.l (parse_int): Fix shadowed variable name
1500 * config/bfin-parse.y (value_match): Remove argument names
1502 (notethat): Likewise.
1503 (yyerror): Likewise.
1505 2010-01-13 Daniel Jacobowitz <dan@codesourcery.com>
1507 * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
1509 2010-01-13 Nick Clifton <nickc@redhat.com>
1511 * config/tc-h8300.c (h8300_elf_section): New function - issue a
1512 warning message if a new section is created without setting any
1514 (md_pseudo_table): Intercept section creation pseudos.
1515 (md_pcrel_from): Replace abort with an error message.
1516 * config/obj-elf.c (obj_elf_section_name): Export this function.
1517 * config/obj-elf.h (obj_elf_section_name): Prototype.
1519 2010-01-12 Alan Modra <amodra@gmail.com>
1522 * listing.c (print_source): Add one to line number.
1524 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1526 * Makefile.in: Regenerate.
1527 * configure: Regenerate.
1528 * doc/Makefile.in: Regenerate.
1530 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
1532 * version.c (parse_args): Change to "Copyright 2010".
1534 2010-01-06 Quentin Neill <quentin.neill@amd.com>
1536 * config/tc-i386.c (cpu_arch): Add amdfam15.
1537 (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
1538 * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
1539 * doc/c-i386.texi: Add amdfam15.
1541 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1543 * config/tc-arm.c (do_neon_logic): Accept imm value
1544 in the third operand too.
1545 (operand_parse_code): OP_RNDQ_IMVNb renamed to
1547 (parse_operands): OP_NILO case removed, applied renaming.
1548 (insns): Neon shape changed for some logic instructions.
1550 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1552 * config/tc-arm.c (do_neon_ldx_stx): Added
1553 validation for vector load/store insns.
1555 2010-01-04 Edmar Wienskoski <edmar@freescale.com>
1557 * config/tc-ppc.c (md_show_usage): Document -me500mc64.
1559 2010-01-03 Daniel Gutson <dgutson@codesourcery.com>
1561 * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
1562 (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
1563 (NEON_ENCODE): New macro.
1564 (check_neon_suffixes): New macro.
1565 (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
1566 (do_vfp_nsyn_opcode): Likewise.
1567 (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
1568 (do_vfp_nsyn_cmp): Likewise.
1569 (do_neon_shl_imm): Likewise.
1570 (do_neon_qshl_imm): Likewise.
1571 (neon_dyadic_misc): Likewise.
1572 (do_neon_mac_maybe_scalar): Likewise.
1573 (do_neon_qdmulh): Likewise.
1574 (do_neon_qmovn): Likewise.
1575 (do_neon_qmovun): Likewise.
1576 (do_neon_movn): Likewise.
1577 (neon_mac_reg_scalar_long): Likewise.
1578 (do_neon_vmull): Likewise.
1579 (do_neon_trn): Likewise.
1580 (do_neon_ldx_stx): Likewise.
1581 (neon_dp_fixup): Changed signature and set the flag.
1582 (neon_three_same): Call the above with new signature.
1583 (neon_two_same): Likewise.
1584 (neon_imm_shift): Likewise.
1585 (neon_mul_mac): Likewise.
1586 (do_neon_abs_neg): Likewise.
1587 (neon_mixed_length): Likewise.
1588 (do_neon_ext): Likewise.
1589 (do_neon_mov): Likewise.
1590 (do_neon_tbl_tbx): Likewise.
1591 (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
1592 (neon_compare): Likewise.
1593 (do_neon_shll): Likewise.
1594 (do_neon_cvt): Likewise.
1595 (do_neon_mvn): Likewise.
1596 (do_neon_dup): Likewise.
1597 (md_assemble): Call check_neon_suffixes ().
1599 For older changes see ChangeLog-2009
1605 version-control: never