1 2010-09-22 Robin Getz <robin.getz@analog.com>
3 * config/bfin-parse.y (is_store): New function.
4 (gen_multi_instr_1): Check parallel slots for store insns.
6 2010-09-22 Robin Getz <robin.getz@analog.com>
8 * config/bfin-defs.h (IS_EMUDAT): New define.
9 * config/bfin-parse.y: Accept EMUDAT for any register move.
11 2010-09-22 Robin Getz <robin.getz@analog.com>
13 * config/bfin-parse.y: Improve error messages.
15 2010-09-22 Robin Getz <robin.getz@analog.com>
17 * config/bfin-parse.y (DBG): Fix regno encoding.
20 2010-09-22 Robin Getz <robin.getz@analog.com>
22 * config/bfin-lex.l: Accept multibyte chars in symbol names.
24 2010-09-22 Robin Getz <robin.getz@analog.com>
26 * config/bfin-defs.h (statusflags): Add AC0_COPY, V_COPY, and RND_MOD.
27 * config/bfin-lex.l: Tokenize AC0_COPY, V_COPY, and RND_MOD.
29 2010-09-22 Mike Frysinger <vapier@gentoo.org>
31 * config/bfin-aux.h (bfin_gen_pseudochr): New prototype.
32 * config/tc-bfin.c (bfin_gen_pseudochr): New function.
33 * config/bfin-parse.y: Call bfin_gen_pseudochr for OUTC tokens.
35 2010-09-22 Mike Frysinger <vapier@gentoo.org>
37 * config/bfin-lex.l (abort): Accept case-insensitive abort insn.
38 * config/bfin-parse.y (ABORT): Handle the ABORT token.
40 2010-09-22 Mike Frysinger <vapier@gentoo.org>
42 * config/tc-bfin.c (bfin_cpus[]): Add 0.2 for bf512/bf514/bf516/bf518.
44 2010-09-22 Mike Frysinger <vapier@gentoo.org>
46 * doc/c-bfin.texi (-mcpu): Add bf592.
47 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF592.
48 (bfin_cpus[]): Add 0.0/0.1 for bf592.
50 2010-09-22 Mike Frysinger <vapier@gentoo.org>
52 * config/tc-bfin.c (comment_chars): Add #.
54 2010-09-20 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
56 * config/tc-arm.c (arm_cpus): Correct canonical names for Cortex CPUs.
58 2010-09-20 Richard Henderson <rth@redhat.com>
60 * config/tc-alpha.c (tc_gen_reloc): Remove hack around
61 bfd_perform_reloc for OBJ_ELF.
63 2010-09-17 Tejas Belagod <tejas.belagod@arm.com>
65 * config/tc-arm.c (do_t_ldmstm): Add logic to handle single-register
68 2010-09-17 Tejas Belagod <tejas.belagod@arm.com>
70 * config/tc-arm.c (parse_psr): Add condition for matching "APSR" on
72 (psrs): Add entry for PSR flags, g, nzcvq, nzcvqg.
74 2010-09-17 Tejas Belagod <tejas.belagod@arm.com>
76 * config/tc-arm.c (insns): Change MRC entry to accept APSR_RR instead
79 2010-09-17 Andrew Burgess <aburgess@broadcom.com>
82 * config/obj-elf.c (obj_elf_parse_section_letters): Correct test
83 for error return from md_elf_section_letter.
84 * config/tc-alpha.c (alpha_elf_section_letter): Correct error message.
85 * config/tc-i386.c (x86_64_section_letter): Likewise.
86 * config/tc-ia64.c (ia64_elf_section_letter): Likewise.
87 * config/tc-mep.c (mep_elf_section_letter): Likewise.
89 2010-09-15 Kai Tietz <kai.tietz@onevision.com>
91 * config/obj-coff-seh.c (seh_validate_seg): New funtion.
92 (obj_coff_seh_endproc): Add check for segment.
93 (obj_coff_seh_endprologue): Likewise.
94 (obj_coff_seh_pushreg): Likewise.
95 (obj_coff_seh_pushframe): Likewise.
96 (obj_coff_seh_save): Likewise.
97 (obj_coff_seh_setframe): Likewise.
99 * config/obj-coff-seh.h (seh_context): New member code_seg.
100 * config/obj-coff-seh.c: Implementing xdata/pdata section cloning
101 for link-once code-segment.
103 2010-09-14 Jie Zhang <jie@codesourcery.com>
105 * doc/c-arm.texi: Document -mcpu=cortex-m4.
107 2010-09-09 H.J. Lu <hongjiu.lu@intel.com>
109 * config/tc-i386.c (build_vex_prefix): Check VEXW1 for 2-byte
112 2010-09-09 Joseph Myers <joseph@codesourcery.com>
114 * doc/c-tic6x.texi (.c6xabi_attribute): Document directive.
116 2010-09-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
118 * config/tc-arm.c (arm_cpus): Add cortex-a15 entry.
119 * doc/c-arm.texi: Document -mcpu=cortex-a15.
121 2010-09-09 Gunther Nikl <gnikl@users.sourceforge.net>
123 * gas/config/tc-m68k.c (tc_gen_reloc): Handle references to defined
124 weak symbols first if generating an a.out object.
126 2010-09-09 Tejas Belagod <tejas.belagod@arm.com>
128 * config/tc-arm.c (md_apply_fix): Check if widened add, sub are
129 flag-setting and handle accordingly.
131 2010-09-09 Nick Clifton <nickc@redhat.com>
134 * config/tc-arm.c (parse_big_immediate): Allow for bignums being
135 extended to the size of a .octa.
137 2010-09-08 Julian Brown <julian@codesourcery.com>
139 * config/tc-arm.c (create_neon_reg_alias): Deal with case
142 2010-09-08 Nick Clifton <nickc@redhat.com>
145 * config/tc-mn10300.c (md_convert_frag): Zero out top two bytes of
146 long call instruction's displacement.
148 2010-09-03 H.J. Lu <hongjiu.lu@intel.com>
151 * config/tc-i386.c (i386_finalize_immediate): Check flag_code
152 instead of use_rela_relocations for 64bit.
154 2010-09-02 Richard Henderson <rth@redhat.com>
156 * dw2gencfi.c (TC_DWARF2_EMIT_OFFSET): Provide default.
157 (output_fde): Use it. Make sure to fully init exp before using it.
159 2010-08-31 Kai Tietz <kai.tietz@onevision.com>
161 * config/obj-coff-seh.c (obj_coff_seh_save): Correct comparison.
162 (obj_coff_seh_stackalloc): Likewise.
164 2010-08-31 Alan Modra <amodra@gmail.com>
166 * config/obj-elf.c (obj_elf_init_stab_section): Fix assertion.
168 2010-08-30 Richard Henderson <rth@redhat.com>
170 * config/obj-coff-seh.c: Rewrite the entire file.
171 (symtab, symptr, reltab, relcount, relsize): Remove.
172 (seh_ctx_root, seh_ctx): Remove.
173 (xdata_seg, xdata_subseg, pdata_seg): New.
174 (switch_xdata, switch_pdata): New.
175 (verify_context, verify_context_and_target, skip_whitespace_and_comma):
176 New parsing functions. Rewrite all parsing functions to use them.
177 (obj_coff_seh_32): Fix != arm thinko.
178 (obj_coff_seh_handler): For x64, don't accept handler pointer here,
180 (obj_coff_seh_handlerdata): New.
181 (do_seh_endproc): Split out of ...
182 (obj_coff_seh_endproc): ... here.
183 (obj_coff_seh_proc): Use it, if needed.
184 (seh_x64_make_prologue_element): Use XRESIZEVEC, symbol_temp_new_now.
185 (seh_x64_read_reg): Remove mm_regs alternative. Tidy integer reg
186 alternatives. Don't slurp commas.
187 (seh_read_offset): Remove.
188 (obj_coff_seh_pushframe): Split out from obj_coff_seh_push.
189 (obj_coff_seh_scope): Remove.
190 (obj_coff_seh_save): Decide UWOP_SAVE_* vs _FAR immediately.
191 (obj_coff_seh_stackalloc): Decide _SMALL vs _LARGE immediately.
192 (out_one, out_two, out_four): New.
193 (seh_x64_write_prologue_data, seh_x64_size_prologue_data,
194 seh_x64_write_function_xdata, write_function_xdata): Rewrite
195 from seh_x64_write_xdata, seh_needed_unwind_info, seh_store_elm_data,
196 seh_getelm_data_size, seh_getsize_of_unwind_entry,
197 seh_make_unwind_entry, seh_getsize_unwind_data, and
198 seh_create_unwind_data.
199 (seh_arm_write_function_pdata): Rewrite from seh_arm_create_pdata.
200 (write_function_pdata): Rewrite from make_function_entry_pdata.
201 (seh_write_text_eh_data, make_function_entry_pdata,
202 seh_arm_create_pdata, seh_arm_write_pdata, seh_reloc, save_relocs,
203 seh_symbol_init, seh_symbol, quick_section, seh_emit_rva,
204 seh_emit_long, seh_make_globl, seh_make_section2, seh_make_section,
205 seh_make_xlbl_name, make_seh_text_label, seh_fill_pcsyms,
206 seh_needed_unwind_info, seh_store_elm_data, seh_getelm_data_size,
207 seh_getsize_of_unwind_entry, seh_make_unwind_entry,
208 seh_getsize_unwind_data, seh_create_unwind_data,
209 seh_make_function_entry_xdata, seh_x64_makescope_elem): Remove.
210 * config/obj-coff-seh.h (SEH_CMDS): Remove seh_savemm, seh_scope.
211 Add seh_handlerdata. Adjust function/what arguments for
212 seh_savereg, seh_pushframe, seh_stackalloc.
213 (struct seh_prologue_element): Adjust members to closer match
214 the elements of the UNWIND_CODE structure.
215 (struct seh_scope_elem): Remove.
216 (struct seh_context): Replace char* members with symbolS or
217 expressionS as appropriate. Sort members by ARM/x64 applicability.
218 Remove obsolete stuff wrt direct symbol and reloc manipulation.
220 2010-08-25 Alan Modra <amodra@gmail.com>
222 * NEWS: Mention ampersand in macro change.
224 2010-08-25 Gunther Nikl <gnikl@users.sourceforge.net>
226 * configure.tgt (m68k-*-aout): Change to bfd_gas=yes.
228 2010-08-25 Alan Modra <amodra@gmail.com>
230 * config/tc-d10v.c (do_assemble): Correctly detect overflow of
232 * config/tc-m68hc11.c (md_assemble): Likewise.
233 * config/tc-microblaze.c (md_assemble): Likewise. Correct cast
234 of is_end_of_line index.
236 2010-08-25 Jie Zhang <jie@codesourcery.com>
238 * config/tc-arm.c (encode_arm_addr_mode_2): Fix comment.
240 2010-08-25 Jie Zhang <jie@codesourcery.com>
242 * config/tc-arm.c (encode_arm_addr_mode_2): Fix
243 BAD_PC_ADDRESSING condition.
245 2010-08-20 Maciej W. Rozycki <macro@codesourcery.com>
247 * doc/c-arm.texi (ARM Options): Document -mfpu=fp4-sp-d16.
249 2010-08-19 H.J. Lu <hongjiu.lu@intel.com>
251 * config/tc-i386.c (VEX_check_operands): Fix a typo in comments.
253 2010-08-18 H.J. Lu <hongjiu.lu@intel.com>
255 * config/tc-i386.c (build_modrm_byte): Check i.imm_operands
258 2010-08-18 Alan Modra <amodra@gmail.com>
260 * macro.c (sub_actual): Add back ampersand suffix when no
262 (macro_expand_body): Correct comment.
264 2010-08-17 Roland McGrath <roland@redhat.com>
266 * config/obj-elf.c (obj_elf_parse_section_letters): Take new
267 boolean result parameter CLONE; set it if '?' flag letter seen.
268 (obj_elf_section): Update caller. Handle that flag by copying
269 the LINKONCE and GROUP_NAME state from NOW_SEG.
270 * doc/as.texinfo (Section): Document the ? flag.
272 2010-08-09 Cary Coutant <ccoutant@google.com>
274 * as.c (show_usage): Don't list --compress-debug-sections if zlib not
276 (main): Warn if --compress-debug-sections requested and zlib not
278 * doc/as.texinfo: Add --compress-debug-sections,
279 --nocompress-debug-sections.
281 2010-08-06 H.J. Lu <hongjiu.lu@intel.com>
283 * config/tc-i386.c (set_cpu_arch): Re-indent.
284 (md_parse_option): Likewise.
286 2010-08-06 Quentin Neill <quentin.neill@amd.com>
288 * config/tc-i386.c (arch_entry): Add negated bit to
289 disambiguate flag names starting with "no".
290 (cpu_arch): Add negated bit definitions. Add
291 ".nop" CPU extension.
292 (i386_align_code): Use new .cpunop bit to decide
293 when to generate alignment using nops.
294 (set_cpu_arch): Use negated bit instead to decide
295 when to use cpu_flags or vs. cpu_flags_and_not.
296 (md_parse_option): Likewise.
298 2010-08-04 H.J. Lu <hongjiu.lu@intel.com>
300 * config/tc-i386.c (match_template): Move the first i.error
303 2010-08-04 Alan Modra <amodra@gmail.com>
305 * configure.tgt (m32c): Set endian=little.
306 * config/tc-m32c.h (TARGET_BYTES_BIG_ENDIAN): Define as 0.
307 * config/tc-m32c.c (md_number_to_chars): Revert last change.
309 2010-08-03 Tristan Gingold <gingold@adacore.com>
311 * makefile.vms (OBJS): Add Add compress-debug.c.
313 2010-08-03 Alan Modra <amodra@gmail.com>
315 * config/tc-d10v.h (TARGET_BYTES_BIG_ENDIAN): Define as 1.
316 * config/tc-m32c.c (md_number_to_chars): Call bigendian
317 form of number_to_chars, not littleendian.
319 2010-08-02 Alan Modra <amodra@gmail.com>
321 * config/tc-d30v.c (d30v_cons_align): Don't align constants
324 2010-08-02 Alan Modra <amodra@gmail.com>
327 * expr.c (operand <'-' and '~'>): Widen bignums.
328 (operand <'!'>): Correct bignum result and convert to O_constant.
329 * read.c (emit_expr): Don't assert on .byte bignum. Don't display
330 bignum truncated warning for sign extended bignums.
332 2010-08-02 Alan Modra <amodra@gmail.com>
334 * config/tc-v850.c (md_assemble): Always pass format string to
336 (md_apply_fix): Similarly for as_warn_where.
338 2010-07-29 H.J. Lu <hongjiu.lu@intel.com>
340 * config/tc-i386-intel.c: Reformat.
342 2010-07-29 Alan Modra <amodra@gmail.com>
344 * config/tc-ppc.c (ppc_fix_adjustable): Add got reloc types used
347 2010-07-28 Alan Modra <amodra@gmail.com>
350 * symbols.c (symbol_clone): Correct typo in previous patch.
352 2010-07-28 Alan Modra <amodra@gmail.com>
355 * symbols.c (symbol_clone): Clear BSF_SECTION_SYM flag.
357 2010-07-28 Alan Modra <amodra@gmail.com>
359 * config/tc-ppc.c (md_assemble): Don't attempt to print NUL in
360 syntax error message.
362 2010-07-27 Maciej W. Rozycki <macro@codesourcery.com>
364 * config/tc-mips.c (mips16_macro_build): Pass "args" by
365 reference rather than value.
366 (macro_build): Update accordingly.
368 2010-07-27 Maciej W. Rozycki <macro@codesourcery.com>
370 * config/tc-mips.c (mips_ip): Use symbol_temp_new_now to create
373 2010-07-24 Maciej W. Rozycki <macro@codesourcery.com>
375 * config/tc-mips.c (macro)[M_JAL_1, M_JAL_2]: Handle the JALR
376 delay slot in the noreorder mode with the o32 ABI.
378 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
379 Ina Pandit <ina.pandit@kpitcummins.com>
381 * config/tc-v850.c: Update processor_mask.
382 (reg_name): Update the structure to use processors field.
383 (md_relax_table): Define SUBYPTE_COND_9_22, SUBYPTE_SA_9_22,
384 SUBYPTE_UNCOND_9_22, SUBYPTE_COND_9_22_32, SUBYPTE_SA_9_22_32,
385 SUBYPTE_UNCOND_9_22_32, SUBYPTE_COND_9_17_22,
386 SUBYPTE_SA_9_17_22, SUBYPTE_COND_9_17_22_32 and
387 SUBYPTE_SA_9_17_22_32.
388 (set_machine): Add support for V850E2 and V850E2V3.
389 (md_pseudo_table): Likewise.
390 (pre_defined_registers): Update pre defined registers suitable
391 for each family of registers.
392 (system_registers): Likewise.
393 (cc_names): Update the condition code.
394 (float_cc_names): Update the condition code for float.
395 (reg_name_search): Update based on current modifications.
396 (register_name): Likewise.
397 (system_register_name): Update to support new system registers
398 and supported families.
399 (cc_name): Update to support new condition codes.
400 (float_cc_name): New function to support float condition codes.
401 (parse_register_list): Update to support newly added registers.
402 (md_show_usage): Define support for V850E2 and V850E2V3 targets.
403 Also support added for disp-size-default-22, disp-size-default-32,
404 mextension, mno-bcond17 and mno-stld23.
405 (md_parse_option): Implement the support for above options defined
407 (md_convert_frag): Implement support for subtypes defined in
408 md_relax_table to support branch operations.
409 (md_begin): Add support for V850E2 and V850E2V3.
410 (handle_hi016, handle_hi16): new relocation handling functions
411 (handle_lo16, handle_ctoff, handle_sdaoff, handle_zdaoff,
412 handle_tdaoff): Updated relocation handling functions for newly
414 (v850_reloc_prefix): Update the relocation handling functions.
415 (v850_insert_operand): Updated the functions with error message
416 parameter and modified the function to use it.
417 (md_assemble): Update according to the latest modifications.
418 (md_apply_fix): Updated the functions with error message parameter
419 and modified the function to use it.
420 (v850_force_relocation): Update with newly added relocations.
421 * configure.tgt: Match all v850 targets.
422 * doc/c-v850.texi: Document the newly added targets.
425 2010-07-23 Alan Modra <amodra@gmail.com>
428 * macro.c (macro_expand): Recover gracefully from named args that
431 2010-07-22 Thomas Schwinge <thomas@codesourcery.com>
433 Switch MIPS to 32-bit DWARF format.
434 * config/tc-mips.h (DWARF2_FORMAT): Only define for [TE_IRIX].
435 * config/tc-mips.c (mips_dwarf2_format): Likewise.
437 2010-07-20 Alan Modra <amodra@gmail.com>
439 * config/tc-ppc.c (ppc_setup_opcodes): Add all macros for -many.
441 2010-07-16 Alan Modra <amodra@gmail.com>
443 * config/tc-rx.c (md_estimate_size_before_relax): Fix format
444 specifier warnings for 32-bit host when --enable-64-bit-bfd.
445 (rx_relax_frag, md_convert_frag): Likewise.
447 2010-07-15 Cary Coutant <ccoutant@google.com>
449 * gas/NEWS: Add note about --compress-debug-sections.
450 * gas/as.c (show_usage): Add --compress-debug-sections and
451 --nocompress-debug-sections.
453 2010-07-15 Rhonda Wittels <rhonda@codesourcery.com>
455 * config/obj-elf.c (get_sym_from_input_line_and_check): New
456 function to catch missing pseudo-op arguments.
457 (obj_elf_local): Call new function.
458 (obj_elf_weak): Likewise.
459 (obj_elf_visibility): Likewise.
460 (obj_elf_vtable_entry): Likewise.
461 (obj_elf_type): Likewise.
463 2010-07-15 Kai Tietz <kai.tietz@onevision.com>
465 * config/obj-coff-seh.c
466 (seh_getelm_data_size): New.
467 (seh_read_offset): Handle negative values.
468 (obj_coff_seh_push): Handle offset for save-register store.
469 (obj_coff_seh_setframe): Add unwind-information for frame.
470 (seh_store_elm_data): New.
471 (seh_getelm_data_size): Return additionally unaligned element count.
472 (seh_make_unwind_entry): Correct tweak about element count.
474 2010-07-12 H.J. Lu <hongjiu.lu@intel.com>
477 * config/tc-i386-intel.c (i386_intel_simplify): Restore fall
478 through patch for O_multiply.
480 2010-07-11 Kai Tietz <kai.tietz@onevision.com>
483 * config/obj-coff.c (obj_common_parse): Quote symbol-name.
485 2010-07-08 Tejas Belagod <tejas.belagod@arm.com>
487 * tc-arm.c (OP_oBARRIER): Remove.
488 (OP_oBARRIER_I15): Add.
489 (po_barrier_or_imm): Add macro.
490 (parse_operands): Improve OP_oBARRIER_I15 operand parsing.
491 (do_barrier): Check correct immediate range.
492 (do_t_barrier): Likewise.
493 (barrier_opt_names): Add entries for more symbolic operands.
494 (insns): Replace OP_oBARRIER with OP_oBARRIER_I15 for barriers.
496 2010-07-08 Daniel Gutson <dgutson@codesourcery.com>
498 * config/tc-arm.c (tc_gen_reloc): Add BFD_RELOC_ARM_T32_OFFSET_IMM
501 2010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
503 * config/tc-mips.c (mips_frob_file): Use symbol_same_p to match
506 2010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
508 * config/tc-mips.c (nops_for_insn_or_target): Replace
509 MIPS16_INSN_BRANCH with MIPS16_INSN_UNCOND_BRANCH and
510 MIPS16_INSN_COND_BRANCH.
512 2010-07-05 Jim Wilson <wilson@codesourcery.com>
516 * dwarf2dbg.c (dwarf2_finish): Don't generate .debug_line section
519 2010-07-05 Alan Modra <amodra@gmail.com>
521 * config/tc-moxie.c (md_apply_fix): Delete set but otherwise
524 2010-07-04 H.J. Lu <hongjiu.lu@intel.com>
526 * Makefile.am (CONFIG_OBJS): Removed.
527 (GENERIC_OBJS): Likewise.
529 * Makefile.in: Regenerated.
531 2010-07-03 Jan Beulich <jbeulich@novell.com>
534 * config/tc-i386.c (i386_finalize_displacement): Don't call
535 section_symbol() with expr_section.
537 2010-07-03 Cary Coutant <ccoutant@google.com>
539 * Makefile.am: Add compress-debug.c and compress-debug.h.
540 * Makefile.in: Regenerate.
541 * config.in: Add HAVE_ZLIB_H.
542 * configure.in: Check for zlib.h.
543 * configure: Regenerate.
545 * as.c (parse_args): Add --compress-debug-sections and
546 --nocompress-debug-sections.
547 * as.h (flag_compress_debug): New variable.
548 * compress-debug.c: New file.
549 * compress-debug.h: New file.
550 * write.c: Include compress-debug.h.
551 (compress_frag): New function.
552 (compress_debug): New function.
553 (write_object_file): Compress debug sections if requested.
555 2010-07-03 Andreas Schwab <schwab@linux-m68k.org>
557 * config/tc-ppc.c (ppc_set_cpu): Cast PPC_OPCODE_xxx to ppc_cpu_t
560 2010-07-03 Alan Modra <amodra@gmail.com>
562 * config/tc-ppc.c (ppc_set_cpu): Remove old opcode flags.
563 (ppc_setup_opcodes): Likewise. Simplify opcode selection.
565 2010-07-02 DJ Delorie <dj@redhat.com>
567 * config/tc-rx.h (md_do_align): New.
568 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
569 * config/tc-rx.c (nops): New.
570 (rx_handle_align): Use various sized nops to align code.
572 * config/tc-rx.c (rx_bytesT): Add grown/shrank counters for
574 (rx_relax_frag): Prevent infinite loops of grow/shrink/grow/etc.
576 2010-07-01 H.J. Lu <hongjiu.lu@intel.com>
578 AVX Programming Reference (June, 2010)
579 * config/tc-i386.c (cpu_arch): Add .xsaveopt, .fsgsbase, .rdrnd
582 * doc/c-i386.texi: Document xsaveopt, fsgsbase, rdrnd and f16c.
584 2010-07-01 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
586 * config/tc-arm.c (do_t_mov_cmp): Fix reporting of unpredictable and
587 deprecated mov register instructions.
589 2010-07-01 Alan Modra <amodra@gmail.com>
591 * config/tc-ppc.c (toc_reloc_types): New variable.
592 (md_assemble): Set it.
593 (ppc_frob_file_before_adjust): Don't warn about toc section size
594 if we have large toc relocs and no small toc relocs.
596 2010-06-29 Alan Modra <amodra@gmail.com>
598 * config/tc-maxq.h: Delete file.
599 * config/tc-maxq.c: Delete file.
600 * Makefile.am: Remove references to maxq.
601 * configure.tgt: Likewise.
602 * config/obj-coff.h: Likewise.
603 * Makefile.in: Regenerate.
604 * configure: Regenerate.
605 * po/POTFILES.in: Regenerate.
607 2010-06-28 Alan Modra <amodra@gmail.com>
609 * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define.
610 * config/tc-crx.c (gettrap): Constify arg.
611 (handle_LoadStor, get_cinv_parameters): Likewise.
612 (getreg_image): Fix enum warning
613 (md_assemble): Restore input line char.
614 * config/tc-hppa.c (tc_gen_reloc): Fix enum warning.
615 * config/tc-i960.c (mem_fmt): Rename var to fix shadow warning.
616 * config/tc-sh.c (sh_fdpic): Only define when OBJ_ELF.
617 (build_Mytes): Fix build failure for non-elf targets.
618 * config/tc-tic4x.c (tic4x_eval): Restore terminator char.
619 * config/tc-xtensa.c (xtensa_end_directive): Fix switch enum warning.
621 * cgen.c (gas_cgen_md_apply_fix): Avoid set but unused warning.
622 * ecoff.c (add_ecoff_symbol): Likewise.
623 * itbl-ops.c (append_insns_as_macros): Likewise.
624 * listing.c (debugging_pseudo): Likewise.
625 * read.c (s_mri_common, stringer): Likewise.
626 * config/obj-coff.c (coff_frob_section): Likewise.
627 * config/tc-alpha.c (emit_ldgp, s_alpha_proc): Likewise.
628 * config/tc-arm.c (my_get_expression): Likewise.
629 * config/tc-hppa.c (process_exit, pa_type_args): Likewise.
630 * config/tc-m32c.c (md_assemble): Likewise.
631 * config/tc-microblaze.c (md_convert_frag): Likewise.
632 * config/tc-mips.c (s_change_section): Likewise.
633 * config/tc-mt.c (mt_fix_adjustable): Likewise.
634 * config/tc-xtensa.c (xtensa_literal_pseudo): Likewise.
636 * config/obj-aout.c (obj_aout_frob_symbol): Delete set but otherwise
638 * config/tc-alpha.c (load_expression): Likewise.
639 (s_alpha_rdata, s_alpha_section, s_alpha_prologue): Likewise.
640 * config/tc-arm.c (parse_neon_el_struct_list): Likewise.
641 * config/tc-avr.c (extract_word): Likewise.
642 * config/tc-cris.c (cris_get_expression): Likewise.
643 * config/tc-d30v.c (build_insn, find_format): Likewise.
644 * config/tc-dlx.c (machine_ip): Likewise.
645 * config/tc-hppa.c (pa_get_absolute_expression): Likewise.
646 * config/tc-i370.c (md_assemble): Likewise.
647 * config/tc-i960.c (brtab_emit): Likewise.
648 * config/tc-iq2000.c (s_iq2000_ent): Likewise.
649 * config/tc-m32c.c (md_convert_frag): Likewise.
650 * config/tc-m68hc11.c (fixup24, build_jump_insn): Likewise.
651 (md_estimate_size_before_relax, md_apply_fix): Likewise.
652 * config/tc-m68k.c (md_show_usage): Likewise.
653 * config/tc-microblaze.c (microblaze_s_lcomm): Likewise.
654 * config/tc-mips.c (s_mips_end): Likewise.
655 * config/tc-mmix.c (mmix_byte, mmix_cons): Likewise.
656 * config/tc-mn10300.c (md_assemble): Likewise.
657 * config/tc-msp430.c (extract_word): Likewise.
658 * config/tc-mt.c (md_assemble): Likewise.
659 * config/tc-or32.c (machine_ip): Likewise.
660 * config/tc-pj.c (md_apply_fix): Likewise.
661 * config/tc-s390.c (md_gather_operands): Likewise.
662 * config/tc-sh.c (sh_cons_align): Likewise.
663 * config/tc-sparc.c (sparc_cons_align): Likewise.
664 * config/tc-tic4x.c (tic4x_sect): Likewise.
665 * config/tc-tic54x.c (tic54x_stringer): Likewise.
666 * config/tc-vax.c (vip_op): Likewise.
667 * config/tc-xstormy16.c (xstormy16_cons_fix_new): Likewise.
668 * config/tc-xtensa.c (md_assemble): Likewise.
669 (xtensa_fix_short_loop_frags, convert_frag_immed): Likewise.
670 (xtensa_move_literals): Likewise.
672 2010-06-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
674 * config/tc-arm.c (parse_neon_alignment): New function.
675 (parse_address_main): Fix Neon load/store alignment parsing.
677 2010-06-22 Jan Beulich <jbeulich@novell.com>
679 * config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo
681 (i386_intel_operand): Remove bogus handling of pseudo symbols
683 * expr.c (current_location): Remove 'static' and local
685 * expr.h (current_location): Declare.
687 2010-06-21 Sterling Augustine <sterling@tensilica.com>
690 * as.c: Globalize keep_it.
691 (main): Remove keep_it. Move conditional from here...
692 (close_output_file): ...to here.
694 2010-06-21 Andreas Schwab <schwab@redhat.com>
696 * doc/as.texinfo (Overview): Use @itemx for grouped @table
698 * doc/c-alpha.texi (Alpha Options): Likewise.
699 * doc/c-arm.texi (ARM Directives): Likewise.
700 * doc/c-bfin.texi (Blackfin Options): Likewise.
701 * doc/c-d10v.texi (D10V-Opts): Likewise.
702 * doc/c-i386.texi (i386-Options): Likewise.
703 * doc/c-ia64.texi (IA-64 Options): Likewise.
704 * doc/c-m68k.texi (M68K-Opts): Likewise.
705 * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
706 * doc/internals.texi (Symbols): Likewise.
708 2010-06-21 Alan Modra <amodra@gmail.com>
711 * config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
713 2010-06-18 Joseph Myers <joseph@codesourcery.com>
715 * config/tc-tic6x.h (tic6x_segment_info_type): Add field
717 * config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
718 (md_assemble): Clear func_units_used for new execute packet.
719 Check for duplicate functional units and update func_units_used
720 for instructions using a functional unit.
722 2010-06-15 Joseph Myers <joseph@codesourcery.com>
724 * config/tc-tic6x.c: Include elf/tic6x.h.
725 (tic6x_arch_attribute, tic6x_seen_insns): New.
726 (tic6x_arch_table, tic6x_arches): Add attribute values.
727 (tic6x_use_arch): Handle attribute settings.
728 (tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
729 tic6x_attribute_table, tic6x_attributes,
730 tic6x_convert_symbolic_attribute): New.
731 (md_pseudo_table): Add c6xabi_attribute.
732 (md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
733 (tic6x_set_attribute_int, tic6x_set_attributes): New.
734 (tic6x_end): Call tic6x_set_attributes.
735 * config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
736 (tic6x_convert_symbolic_attribute): Declare.
738 2010-06-14 Alan Modra <amodra@gmail.com>
740 * config/tc-ppc.c (md_assemble): Emit APUinfo section for
743 2010-06-11 Jan Beulich <jbeulich@novell.com>
745 * config/tc-i386.c (md_parse_option): Ignore impossible processor
747 (show_arch): New parameter 'check'.
748 (md_show_usage): Adjust calls to show_arch().
750 2010-06-10 H.J. Lu <hongjiu.lu@intel.com>
752 * config/tc-i386.c (update_code_flag): New.
753 (set_code_flag): Use it.
754 (i386_target_format): Replace set_code_flag with update_code_flag.
756 2010-06-10 Tristan Gingold <gingold@adacore.com>
758 * config/obj-som.h: Includes som/reloc.h
760 2010-06-10 Jan Beulich <jbeulich@novell.com>
762 * config/tc-i386.c (cpu_arch): Add comment.
763 (i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
764 from the generic entries of cpu_arch[].
766 2010-06-08 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
768 * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
770 (parse_operands): Add support for OP_RRnpctw.
771 (insns): Update floating-point load/store multiples so the
772 first register is of type OP_RRnpctw.
774 2010-06-08 Quentin Neill <quentin.neill@amd.com>
776 * config/tc-i386.c (pi): Rename local loop counter
777 variable i that shadows global static i386_insn i
778 when DEBUG386 is defined.
781 2010-06-08 Nick Clifton <nickc@redhat.com>
783 * doc/as.texinfo: Replace abbreviated 20th century year numbers
786 2010-06-02 Quentin Neill <quentin.neill@amd.com>
788 * config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
790 2010-06-02 Tristan Gingold <gingold@adacore.com>
792 * as.h: Remove conditionnal definition of HAVE_STDARG_H,
793 USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
794 Remove conditionnal inclusion of stdarg.h and varargs.h.
796 * config.in: Regenerate.
797 * configure: Regenerate.
798 * configure.in: Remove stdarg.h and varargs.h from
799 AC_CHECK_HEADERS list.
800 * messages.c (as_tsktsk): Remove non ISO C version.
801 (as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
803 2010-05-31 Tristan Gingold <gingold@adacore.com>
805 * config/tc-alpha.c: Add comments for evax.
806 * config/obj-evax.c: Ditto.
808 2010-05-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
810 * config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
813 2010-05-27 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
815 * config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
816 writeback when base register is in register list an error, and
818 (do_t_ldmstm): Change warnings.
820 2010-05-26 Catherine Moore <clm@codesourcery.com>
822 * config/tc-mips.c (is_opcode_valid): Remove expansionp.
823 (macro_build): Change invocation of is_opcode_valid.
826 2010-05-25 Nick Clifton <nickc@redhat.com>
828 * Makefile.am (MOSTLYCLEANFILES): Fix typo.
829 * Makefile.in: Regenerate.
831 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
832 Joseph Myers <joseph@codesourcery.com>
833 Andrew Stubbs <ams@codesourcery.com>
835 * config/tc-sh.c (sh_fdpic): New.
836 (sh_check_fixup): Handle relocations on movi20.
837 (parse_exp): Do not reject PIC operators here.
838 (build_Mytes): Check for unhandled PIC operators here. Use
839 sh_check_fixup for movi20.
840 (enum options): Add OPTION_FDPIC.
841 (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
842 (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
843 (sh_elf_final_processing): Handle --fdpic.
844 (sh_uclinux_target_format): New.
845 (sh_parse_name): Handle FDPIC relocation operators.
846 * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
847 (sh_uclinux_target_format): Declare for TE_UCLINUX.
848 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
850 * doc/c-sh.texi (SH Options): Document --fdpic.
852 2010-05-25 Jay Krell <jay.krell@cornell.edu>
855 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
856 * Makefile.in: Regenerate.
858 2010-05-25 Alan Modra <amodra@gmail.com>
860 * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
862 2010-05-19 Nick Clifton <nickc@redhat.com>
864 * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
865 of known section prefixes.
867 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
870 * obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
871 (obj_elf_parse_section_letters): Likewise.
872 (obj_elf_section_word): Likewise.
874 * config/tc-ppc.c (ppc_section_letter): Removed.
875 (ppc_section_word): Likewise.
876 * config/tc-ppc.h (ppc_section_letter): Likewise.
877 (ppc_section_word): Likewise.
878 (md_elf_section_letter): Likewise.
879 (md_elf_section_word): Likewise.
881 * doc/as.texinfo: Document `e' and `#exclude'.
883 2010-05-13 Nathan Sidwell <nathan@codesourcery.com>
885 * config/tc-arm.c (md_assemble): Clarify current mode in error
886 messages about unsupported instructions.
887 (UT): Delete #define.
888 (insns): Adjust cbnz, cbz appropriately.
890 2010-05-11 Andrew Stubbs <ams@codesourcery.com>
892 * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
894 2010-05-11 Jie Zhang <jie@codesourcery.com>
896 * config/tc-arm.c (aeabi_set_public_attributes): Set
897 Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
899 2010-05-07 Tristan Gingold <gingold@adacore.com>
901 * Makefile.in: Regenerate with automake 1.11.1.
903 * doc/Makefile.in: Ditto.
905 2010-05-05 Nick Clifton <nickc@redhat.com>
907 * po/es.po: Updated Spanish translation.
909 2010-05-05 Julian Brown <julian@codesourcery.com>
911 * read.c (cons_worker): Detect and reject unexpected string argument.
913 2010-05-04 Nick Clifton <nickc@redhat.com>
915 * write.c (fixup_segment): Revert previous delta.
916 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
917 generation of relocations for fixups against weak symbols.
919 2010-04-29 Nathan Sidwell <nathan@codesourcery.com>
921 * write.c (fixup_segment): Do not assume we know the section a
922 defined weak symbol is in.
923 * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
924 weak symbols as not known to be in the same section, even if they
927 2010-04-27 Joseph Myers <joseph@codesourcery.com>
929 * config/tc-tic6x.h (tic6x_label_list): New.
930 (tic6x_segment_info_type): Keep a list of labels and a current
931 frag instead of a boolean for whether labels seen and a count of
933 (tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
934 md_do_align, tic6x_do_align, md_end, tic6x_end): New.
935 * config/tc-tic6x.c (tic6x_frob_label): Put label on list.
936 (tic6x_cleanup): Correct comment.
937 (tic6x_free_label_list): New.
938 (tic6x_cons_align): Free label list and update for
939 tic6x_segment_info_type changes.
940 (tic6x_do_align): New.
941 (md_assemble): Handle list of labels and saved frag for execute
942 packet. Create machine-dependent frag for new execute packet and
943 adjust labels accordingly.
944 (tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
945 (md_convert_frag, md_estimate_size_before_relax): Update comments.
947 2010-04-24 H.J. Lu <hongjiu.lu@intel.com>
950 * config/tc-i386-intel.c (intel_state): Add is_indirect.
951 (i386_intel_operand): Initialize intel_state.is_indirect. Check
952 intel_state.is_indirect for "call|jmp [symbol]".
954 2010-04-22 Nick Clifton <nickc@redhat.com>
956 * po/gas.pot: Updated by the Translation project.
958 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
960 * config/tc-i386.c (i386_is_register): Removed.
961 (x86_cons): Don't use i386_is_register.
962 (parse_register): Likewise.
963 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
964 (i386_intel_operand): Likewise.
966 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
968 * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
971 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
973 * config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
975 (parse_register): Likewise.
976 (tc_x86_parse_to_dw2regnum): Likewise.
977 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
978 (i386_intel_operand): Likewise.
980 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
983 * config/tc-i386-intel.c (i386_intel_simplify_register): New.
984 (i386_intel_simplify): Use i386_is_register and
985 i386_intel_simplify_register. Set X_md for O_register and
986 check X_md for O_constant.
987 (i386_intel_operand): Use i386_is_register.
989 * config/tc-i386.c (i386_is_register): New.
990 (x86_cons): Initialize the X_md field. Use i386_is_register.
991 (parse_register): Use i386_is_register.
992 (tc_x86_parse_to_dw2regnum): Likewise.
994 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
996 * expr.c (expr): Initialize the X_md field.
998 2010-04-20 Joseph Myers <joseph@codesourcery.com>
1000 * config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
1001 (md_longopts): Add -mgenerate-rel.
1002 (tic6x_generate_rela): New.
1003 (md_parse_option): Handle -mgenerate-rel.
1004 (md_show_usage): Add comment that -mgenerate-rel is undocumented.
1005 (tic6x_init_after_args): New.
1006 (md_apply_fix): Correct shift calculations for SB-relative
1008 (md_pcrel_from): Change to tic6x_pcrel_from_section. Do not
1009 adjust addresses for relocations referencing symbols in other
1011 (tc_gen_reloc): Adjust addend calculations for REL relocations.
1012 * config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
1013 tic6x_pcrel_from_section, tc_init_after_args,
1014 tic6x_init_after_args): New.
1016 2010-04-20 Nick Clifton <nickc@redhat.com>
1019 * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
1020 altmacro mode if found inside a quoted string.
1022 2010-04-20 Mike Frysinger <vapier@gentoo.org>
1024 * config/bfin-lex.l (parse_int): Change index() to strchr().
1026 2010-04-16 Nick Clifton <nickc@redhat.com>
1029 * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
1030 matcher to accept and unconditional 32-bit add instruction.
1031 (pa_build_unwind_subspace): Cope with error conditions not
1032 allowing the start symbol to be set.
1034 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1036 * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
1037 new tag names in v2.08 of ARM ABI.
1038 * doc/c-arm.texi: Document new tag names in ABI.
1040 2010-04-14 Tristan Gingold <gingold@adacore.com>
1042 * config/tc-alpha.c: Includes vms/egps.h on EVAX.
1043 (s_alpha_comm): Used new EGPS macros from egps.h
1044 (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
1045 (s_alpha_section_word): Add comments. Use new EGPS macros.
1046 Adjust for modified bfd_vms_set_section_flags function.
1048 2010-04-10 Alan Modra <amodra@gmail.com>
1051 * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
1053 2010-04-09 Nick Clifton <nickc@redhat.com>
1055 * as.c (create_obj_attrs_section): Remove unused variable addr.
1056 * listing.c (listing_listing): Remove unused variable message.
1057 * read.c: Remove unnecessary register type qualifiers.
1058 (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
1061 2010-04-07 Eric B. Weddington <eric.weddington@atmel.com>
1063 * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
1064 atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
1065 atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
1066 atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
1067 atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
1068 atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
1069 atmega88pa, attiny461a, attiny84a, m3000.
1070 Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
1071 atmega8hvd, attiny327, m3000f, m3000s, m3001b.
1072 * doc/c-avr.texi: Same.
1074 2010-04-07 Jie Zhang <jie@codesourcery.com>
1076 * config/tc-arm.c (make_mapping_symbol): Handle the case
1077 that multiple mapping symbols have the same value 0.
1079 2010-04-07 Alan Modra <amodra@gmail.com>
1081 * configure: Regenerate.
1083 2010-04-06 Nick Clifton <nickc@redhat.com>
1085 * po/ru.po: New Russian translation.
1086 * configure.in (ALL_LINGUAS): Add ru.
1087 * configure: Regenerate.
1089 2010-03-30 H.J. Lu <hongjiu.lu@intel.com>
1092 * input-scrub.c (input_scrub_next_buffer): Use memmove instead
1093 of memcpy to copy overlap memory.
1095 2010-03-25 Joseph Myers <joseph@codesourcery.com>
1097 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
1098 (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
1099 * Makefile.in: Regenerate.
1100 * NEWS: Add news entry for TI C6X support.
1101 * app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle
1102 TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in
1103 operands if TC_KEEP_OPERAND_SPACES.
1104 * configure.tgt (tic6x-*-*): New.
1105 * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
1106 TC_PREDICATE_END_CHAR): Define.
1107 * config/tc-tic6x.c, config/tc-tic6x.h: New.
1108 * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
1109 * doc/Makefile.in: Regenerate.
1110 * doc/all.texi (TIC6X): Define.
1111 * doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi.
1112 * doc/c-tic6x.texi: New.
1114 2010-03-22 H.J. Lu <hongjiu.lu@intel.com>
1116 * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
1118 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
1120 * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
1121 with operand_size_mismatch.
1122 (operand_size_match): Updated.
1123 (match_template): Likewise.
1125 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
1127 * config/tc-i386.c (i386_error): New.
1128 (_i386_insn): Replace err_msg with error.
1129 (operand_size_match): Set error instead of err_msg on failure.
1130 (operand_type_match): Likewise.
1131 (operand_type_register_match): Likewise.
1132 (VEX_check_operands): Likewise.
1133 (match_template): Likewise. Use error instead of err_msg with
1136 2010-03-19 Jie Zhang <jie@codesourcery.com>
1138 * config/tc-arm.c (make_mapping_symbol): Hanle the case
1139 that two mapping symbols have the same value.
1141 2010-03-18 Daniel Jacobowitz <dan@codesourcery.com>
1143 * doc/c-arm.texi (.setfp): Correct example.
1145 2010-03-18 Wei Guozhi <carrot@google.com>
1148 * config/tc-arm.c (reloc_names): New relocation names.
1149 (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
1150 (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
1151 * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
1153 2010-03-15 Thomas Schwinge <thomas@codesourcery.com>
1155 * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
1156 cases, and not only for .eh_frame.
1158 * dw2gencfi.c (output_cie): Make it more explicit which code paths
1159 belong to .eh_frame only.
1161 2010-03-13 Segher Boessenkool <segher@kernel.crashing.org>
1163 * config/tc-v850.c (v850_insert_operand): Handle out-of-range
1164 assembler constants on 64-bit hosts.
1166 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
1168 * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
1169 Strip trailing whitespace.
1171 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
1173 * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
1174 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
1176 (bfin_cpus[]): Add 0.0 for bf504 and bf506.
1178 2010-03-10 Jie Zhang <jie@codesourcery.com>
1180 * doc/as.texinfo: Add Blackfin options.
1181 * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
1182 * config/tc-bfin.c (md_show_usage): Show usage for all
1183 Blackfin specific options.
1185 2010-03-09 Alan Modra <amodra@gmail.com>
1188 * listing.c (listing_newline): Correct backslash quote logic.
1190 2010-03-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1192 * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
1193 (ELF_TARGET_FORMAT64): Define.
1195 2010-03-05 Paul Brook <paul@codesourcery.com>
1197 * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
1199 2010-03-02 Andrew Stubbs <ams@codesourcery.com>
1201 * config/tc-sh.c (get_specific): Move overflow checking code to avoid
1202 reading uninitialized data.
1204 2010-03-01 Tristan Gingold <gingold@adacore.com>
1206 * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
1208 2010-02-26 Doug Evans <dje@sebabeach.org>
1210 * configure.tgt: Fix mep cpu case.
1212 2010-02-26 Jie Zhang <jie@codesourcery.com>
1214 * config/tc-arm.c (do_t_strexd): Remove
1215 operand[1] != operand[2] contraint.
1217 2010-02-26 Jie Zhang <jie@codesourcery.com>
1219 * config/tc-arm.c (neon_select_shape): No need to match
1220 the remaining operands in the shape when one operand does
1223 2010-02-26 Jie Zhang <jie@codesourcery.com>
1225 * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
1228 2010-02-25 Doug Evans <dje@sebabeach.org>
1230 * cgen.c: Whitespace fixes.
1231 (weak_operand_overflow_check): Formatting fix.
1233 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
1235 * config/tc-i386.c (match_template): Update error messages.
1237 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
1239 * config/tc-i386.c (_i386_insn): Add err_msg.
1240 (operand_size_match): Set err_msg on failure.
1241 (operand_type_match): Likewise.
1242 (operand_type_register_match): Likewise.
1243 (VEX_check_operands): Likewise.
1244 (match_template): Likewise. Use i.err_msg with as_bad.
1246 2010-02-25 Wu Zhangjin <wuzhangjin@gmail.com>
1248 * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
1249 mips_fix_loongson2f_jump): New variables.
1250 (md_longopts): Add New options -mfix-loongson2f-nop/jump,
1251 -mno-fix-loongson2f-nop/jump.
1252 (md_parse_option): Initialize variables via above options.
1253 (options): New enums for the above options.
1254 (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
1255 (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
1257 (append_insn): call fix_loongson2f().
1258 (mips_handle_align): Replace the implicit nops.
1259 * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
1260 for the new mips_handle_align().
1261 * doc/c-mips.texi: Document the new options.
1263 2010-02-23 Daniel Gutson <dgutson@codesourcery.com>
1265 * config/tc-arm.c (do_rd_rm_rn): Added warning
1268 2010-02-23 Andrew Zabolotny <anpaza@mail.ru>
1271 * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
1272 (avr_cons_fix_new): Handle fixups of a single byte.
1274 2010-02-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1277 * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
1278 compiler's predefines.
1280 2010-02-19 Alan Modra <amodra@gmail.com>
1282 * configure.tgt: Whiltespace. Sort moxie entry.
1284 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1286 * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
1287 * doc/c-arm.texi: Likewise.
1289 2010-02-12 Daniel Gutson <dgutson@codesourcery.com>
1291 * config/tc-arm.c (asm_opcode): operands type
1293 (BAD_PC_ADDRESSING): New macro message.
1294 (BAD_PC_WRITEBACK): Likewise.
1295 (MIX_ARM_THUMB_OPERANDS): New macro.
1296 (operand_parse_code): Added enum values.
1297 (parse_operands): Added thumb/arm distinction,
1298 plus new enum values handling.
1299 (encode_arm_addr_mode_2): Validations enhanced.
1300 (encode_arm_addr_mode_3): Likewise.
1301 (do_rm_rd_rn): Likewise.
1302 (encode_thumb32_addr_mode): Likewise.
1303 (do_t_ldrex): Likewise.
1304 (do_t_ldst): Likewise.
1305 (do_t_strex): Likewise.
1306 (md_assemble): Call parse_operands with
1314 (insns): Updated insns operands.
1316 2010-02-12 Tristan Gingold <gingold@adacore.com>
1317 Douglas B Rupp <rupp@gnat.com>
1319 * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
1320 (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
1321 (pseudo_func): Add an entry for slotcount.
1322 (md_begin): Initialize slotcount pseudo symbol.
1323 (ia64_parse_name): Handle @slotcount parameter.
1324 (ia64_gen_real_reloc_type): Handle slotcount.
1325 (md_apply_fix): Ditto.
1326 * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
1328 2010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com>
1330 * config/tc-xtensa.c (istack_init): Don't call memset.
1332 2010-02-11 Sterling Augustine <sterling@tensilica.com>
1334 * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
1337 2010-02-11 Sterling Augustine <sterling@tensilica.com>
1339 * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
1341 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
1343 * config/tc-i386.c (build_modrm_byte): Reformat.
1345 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
1347 * config/tc-i386.c: Update copyright.
1349 2010-02-10 Quentin Neill <quentin.neill@amd.com>
1350 Sebastian Pop <sebastian.pop@amd.com>
1352 * config/tc-i386.c (vec_imm4) New operand type.
1353 (fits_in_imm4): New.
1354 (VEX_check_operands): New.
1355 (check_reverse): Call VEX_check_operands.
1356 (build_modrm_byte): Reintroduce code for 5
1357 operand insns. Fix whitespace.
1359 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
1361 * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
1364 2010-02-09 Sterling Augustine <sterling@tensilica.com>
1366 * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
1367 (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
1368 (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
1370 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
1372 * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
1373 non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
1374 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
1375 BFD_RELOC_ARM_PCREL_CALL)
1377 2010-02-08 Sterling Augustine <sterling@tensilica.com>
1379 * config/tc-xtensa.c (frag_format_size): Generalize logic to
1380 handle more instruction sizes and fetch widths.
1381 (branch_align_power): Likewise.
1382 (text_align_power): Likewise.
1383 (bytes_to_stretch): Likewise.
1385 2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
1387 * config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs.
1388 (ppc_mach): Handle titan.
1389 * doc/c-ppc.texi: Mention -mtitan.
1391 2010-02-05 Sterling Augustine <sterling@tensilica.com>
1393 * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
1395 (xtensa_fetch_width) ...this.
1397 2010-02-05 Joseph Myers <joseph@codesourcery.com>
1399 * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
1400 MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
1401 * Makefile.in: Regenerate.
1403 2010-02-03 Quentin Neill <quentin.neill@amd.com>
1405 * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
1406 (i386_align_code): Rename PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
1407 * config/tc-i386.h (processor_type): Same.
1408 * doc/c-i386.texi: Change amdfam15 to bdver1.
1410 2010-01-29 Nick Clifton <nickc@redhat.com>
1413 * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
1416 2010-01-27 Dave Korn <dave.korn.cygwin@gmail.com>
1418 * NEWS: Mention new feature.
1419 * config/obj-coff.c (obj_coff_section): Accept digits and use
1420 to override default section alignment power if specified.
1421 * doc/as.texinfo (.section directive): Update documentation.
1423 2010-01-27 H.J. Lu <hongjiu.lu@intel.com>
1425 * config/tc-i386.c (avxscalar): New.
1426 (OPTION_MAVXSCALAR): Likewise.
1427 (build_vex_prefix): Select vector_length for scalar instructions
1429 (md_longopts): Add OPTION_MAVXSCALAR.
1430 (md_parse_option): Handle OPTION_MAVXSCALAR.
1431 (md_show_usage): Add -mavxscalar=.
1433 * doc/c-i386.texi: Document -mavxscalar=.
1435 2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
1437 * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
1440 2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
1442 * write.h (fix_at_start): Declare.
1443 * write.c (fix_new_internal): Add at_beginning parameter.
1444 Use it instead of REVERSE_SORT_RELOCS. Fix the handling of
1445 seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
1446 (fix_new, fix_new_exp): Update accordingly.
1447 (fix_at_start): New function.
1448 * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
1449 (ppc_ref): New function, for OBJ_XCOFF.
1450 (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
1451 * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
1453 2010-01-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1455 * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
1456 on 64-bit Solaris/x86.
1457 Include obj-format.h earlier.
1459 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1461 * config/tc-s390.c (s390_elf_final_processing): New function.
1462 * config/tc-s390.h (elf_tc_final_processing): New macro definition.
1463 (s390_elf_final_processing): Added prototype.
1466 2010-01-20 Nick Clifton <nickc@redhat.com>
1469 * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1. Add
1470 code to handle round-to-zero for VCVT conversions.
1471 (do_neon_cvt): New. Call do_neon_cvt_1.
1472 (do_neon_cvtr): New. Call do_neon_cvt_1.
1473 (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
1476 2010-01-18 Tristan Gingold <gingold@adacore.com>
1478 * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
1480 2010-01-15 Sebastian Pop <sebastian.pop@amd.com>
1482 * config/tc-i386.c (md_assemble): Before accessing the IMM field
1483 check that it's not an XOP insn.
1485 2010-01-14 Jie Zhang <jie.zhang@analog.com>
1487 * config/bfin-aux.h: Remove argument names in function
1489 * config/bfin-lex.l (parse_int): Fix shadowed variable name
1491 * config/bfin-parse.y (value_match): Remove argument names
1493 (notethat): Likewise.
1494 (yyerror): Likewise.
1496 2010-01-13 Daniel Jacobowitz <dan@codesourcery.com>
1498 * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
1500 2010-01-13 Nick Clifton <nickc@redhat.com>
1502 * config/tc-h8300.c (h8300_elf_section): New function - issue a
1503 warning message if a new section is created without setting any
1505 (md_pseudo_table): Intercept section creation pseudos.
1506 (md_pcrel_from): Replace abort with an error message.
1507 * config/obj-elf.c (obj_elf_section_name): Export this function.
1508 * config/obj-elf.h (obj_elf_section_name): Prototype.
1510 2010-01-12 Alan Modra <amodra@gmail.com>
1513 * listing.c (print_source): Add one to line number.
1515 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1517 * Makefile.in: Regenerate.
1518 * configure: Regenerate.
1519 * doc/Makefile.in: Regenerate.
1521 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
1523 * version.c (parse_args): Change to "Copyright 2010".
1525 2010-01-06 Quentin Neill <quentin.neill@amd.com>
1527 * config/tc-i386.c (cpu_arch): Add amdfam15.
1528 (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
1529 * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
1530 * doc/c-i386.texi: Add amdfam15.
1532 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1534 * config/tc-arm.c (do_neon_logic): Accept imm value
1535 in the third operand too.
1536 (operand_parse_code): OP_RNDQ_IMVNb renamed to
1538 (parse_operands): OP_NILO case removed, applied renaming.
1539 (insns): Neon shape changed for some logic instructions.
1541 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1543 * config/tc-arm.c (do_neon_ldx_stx): Added
1544 validation for vector load/store insns.
1546 2010-01-04 Edmar Wienskoski <edmar@freescale.com>
1548 * config/tc-ppc.c (md_show_usage): Document -me500mc64.
1550 2010-01-03 Daniel Gutson <dgutson@codesourcery.com>
1552 * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
1553 (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
1554 (NEON_ENCODE): New macro.
1555 (check_neon_suffixes): New macro.
1556 (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
1557 (do_vfp_nsyn_opcode): Likewise.
1558 (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
1559 (do_vfp_nsyn_cmp): Likewise.
1560 (do_neon_shl_imm): Likewise.
1561 (do_neon_qshl_imm): Likewise.
1562 (neon_dyadic_misc): Likewise.
1563 (do_neon_mac_maybe_scalar): Likewise.
1564 (do_neon_qdmulh): Likewise.
1565 (do_neon_qmovn): Likewise.
1566 (do_neon_qmovun): Likewise.
1567 (do_neon_movn): Likewise.
1568 (neon_mac_reg_scalar_long): Likewise.
1569 (do_neon_vmull): Likewise.
1570 (do_neon_trn): Likewise.
1571 (do_neon_ldx_stx): Likewise.
1572 (neon_dp_fixup): Changed signature and set the flag.
1573 (neon_three_same): Call the above with new signature.
1574 (neon_two_same): Likewise.
1575 (neon_imm_shift): Likewise.
1576 (neon_mul_mac): Likewise.
1577 (do_neon_abs_neg): Likewise.
1578 (neon_mixed_length): Likewise.
1579 (do_neon_ext): Likewise.
1580 (do_neon_mov): Likewise.
1581 (do_neon_tbl_tbx): Likewise.
1582 (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
1583 (neon_compare): Likewise.
1584 (do_neon_shll): Likewise.
1585 (do_neon_cvt): Likewise.
1586 (do_neon_mvn): Likewise.
1587 (do_neon_dup): Likewise.
1588 (md_assemble): Call check_neon_suffixes ().
1590 For older changes see ChangeLog-2009
1596 version-control: never