1 2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
3 * config/tc-arm.c (arm_ext_mp): Add.
4 (do_pld): Update comment.
5 (insns): Add support for pldw.
6 (arm_cpus): Update cortex-a5, cortex-a9, and cortex-a15 to support
8 (arm_extensions): Add 'mp' extension.
9 (aeabi_set_public_attributes): Emit correct build attribute when
10 MP extension is enabled.
11 * doc/c-arm.texi: Update for MP extensions.
13 2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
15 * config/tc-arm.c (md_pseduo_table): Add .arch_extension directive.
16 (arm_option_extension_value_table): Add.
17 (arm_extensions): Change type.
18 (arm_option_cpu_table): Rename...
19 (arm_option_fpu_table): ...to this.
20 (arm_fpus): Change type.
21 (arm_parse_extension): Enforce alphabetical order. Allow
22 extensions to be removed.
23 (arm_parse_arch): Allow extensions to be specified with -march.
24 (s_arm_arch_extension): Add.
25 (s_arm_fpu): Update for type changes.
26 * doc/c-arm.texi: Document changes to infrastructure.
28 2010-09-23 Alan Modra <amodra@gmail.com>
30 * config/tc-mn10300.c (tc_gen_reloc): Replace absolute symbols
31 with the absolute section symbol.
33 2010-09-22 Mike Frysinger <vapier@gentoo.org>
35 * config/bfin-parse.y: Fix typo in BYTEOP16P comment.
37 2010-09-22 Robin Getz <robin.getz@analog.com>
39 * config/bfin-parse.y (is_store): New function.
40 (gen_multi_instr_1): Check parallel slots for store insns.
42 2010-09-22 Robin Getz <robin.getz@analog.com>
44 * config/bfin-defs.h (IS_EMUDAT): New define.
45 * config/bfin-parse.y: Accept EMUDAT for any register move.
47 2010-09-22 Robin Getz <robin.getz@analog.com>
49 * config/bfin-parse.y: Improve error messages.
51 2010-09-22 Robin Getz <robin.getz@analog.com>
53 * config/bfin-parse.y (DBG): Fix regno encoding.
56 2010-09-22 Robin Getz <robin.getz@analog.com>
58 * config/bfin-lex.l: Accept multibyte chars in symbol names.
60 2010-09-22 Robin Getz <robin.getz@analog.com>
62 * config/bfin-defs.h (statusflags): Add AC0_COPY, V_COPY, and RND_MOD.
63 * config/bfin-lex.l: Tokenize AC0_COPY, V_COPY, and RND_MOD.
65 2010-09-22 Mike Frysinger <vapier@gentoo.org>
67 * config/bfin-aux.h (bfin_gen_pseudochr): New prototype.
68 * config/tc-bfin.c (bfin_gen_pseudochr): New function.
69 * config/bfin-parse.y: Call bfin_gen_pseudochr for OUTC tokens.
71 2010-09-22 Mike Frysinger <vapier@gentoo.org>
73 * config/bfin-lex.l (abort): Accept case-insensitive abort insn.
74 * config/bfin-parse.y (ABORT): Handle the ABORT token.
76 2010-09-22 Mike Frysinger <vapier@gentoo.org>
78 * config/tc-bfin.c (bfin_cpus[]): Add 0.2 for bf512/bf514/bf516/bf518.
80 2010-09-22 Mike Frysinger <vapier@gentoo.org>
82 * doc/c-bfin.texi (-mcpu): Add bf592.
83 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF592.
84 (bfin_cpus[]): Add 0.0/0.1 for bf592.
86 2010-09-22 Mike Frysinger <vapier@gentoo.org>
88 * config/tc-bfin.c (comment_chars): Add #.
90 2010-09-20 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
92 * config/tc-arm.c (arm_cpus): Correct canonical names for Cortex CPUs.
94 2010-09-20 Richard Henderson <rth@redhat.com>
96 * config/tc-alpha.c (tc_gen_reloc): Remove hack around
97 bfd_perform_reloc for OBJ_ELF.
99 2010-09-17 Tejas Belagod <tejas.belagod@arm.com>
101 * config/tc-arm.c (do_t_ldmstm): Add logic to handle single-register
104 2010-09-17 Tejas Belagod <tejas.belagod@arm.com>
106 * config/tc-arm.c (parse_psr): Add condition for matching "APSR" on
108 (psrs): Add entry for PSR flags, g, nzcvq, nzcvqg.
110 2010-09-17 Tejas Belagod <tejas.belagod@arm.com>
112 * config/tc-arm.c (insns): Change MRC entry to accept APSR_RR instead
115 2010-09-17 Andrew Burgess <aburgess@broadcom.com>
118 * config/obj-elf.c (obj_elf_parse_section_letters): Correct test
119 for error return from md_elf_section_letter.
120 * config/tc-alpha.c (alpha_elf_section_letter): Correct error message.
121 * config/tc-i386.c (x86_64_section_letter): Likewise.
122 * config/tc-ia64.c (ia64_elf_section_letter): Likewise.
123 * config/tc-mep.c (mep_elf_section_letter): Likewise.
125 2010-09-15 Kai Tietz <kai.tietz@onevision.com>
127 * config/obj-coff-seh.c (seh_validate_seg): New funtion.
128 (obj_coff_seh_endproc): Add check for segment.
129 (obj_coff_seh_endprologue): Likewise.
130 (obj_coff_seh_pushreg): Likewise.
131 (obj_coff_seh_pushframe): Likewise.
132 (obj_coff_seh_save): Likewise.
133 (obj_coff_seh_setframe): Likewise.
135 * config/obj-coff-seh.h (seh_context): New member code_seg.
136 * config/obj-coff-seh.c: Implementing xdata/pdata section cloning
137 for link-once code-segment.
139 2010-09-14 Jie Zhang <jie@codesourcery.com>
141 * doc/c-arm.texi: Document -mcpu=cortex-m4.
143 2010-09-09 H.J. Lu <hongjiu.lu@intel.com>
145 * config/tc-i386.c (build_vex_prefix): Check VEXW1 for 2-byte
148 2010-09-09 Joseph Myers <joseph@codesourcery.com>
150 * doc/c-tic6x.texi (.c6xabi_attribute): Document directive.
152 2010-09-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
154 * config/tc-arm.c (arm_cpus): Add cortex-a15 entry.
155 * doc/c-arm.texi: Document -mcpu=cortex-a15.
157 2010-09-09 Gunther Nikl <gnikl@users.sourceforge.net>
159 * gas/config/tc-m68k.c (tc_gen_reloc): Handle references to defined
160 weak symbols first if generating an a.out object.
162 2010-09-09 Tejas Belagod <tejas.belagod@arm.com>
164 * config/tc-arm.c (md_apply_fix): Check if widened add, sub are
165 flag-setting and handle accordingly.
167 2010-09-09 Nick Clifton <nickc@redhat.com>
170 * config/tc-arm.c (parse_big_immediate): Allow for bignums being
171 extended to the size of a .octa.
173 2010-09-08 Julian Brown <julian@codesourcery.com>
175 * config/tc-arm.c (create_neon_reg_alias): Deal with case
178 2010-09-08 Nick Clifton <nickc@redhat.com>
181 * config/tc-mn10300.c (md_convert_frag): Zero out top two bytes of
182 long call instruction's displacement.
184 2010-09-03 H.J. Lu <hongjiu.lu@intel.com>
187 * config/tc-i386.c (i386_finalize_immediate): Check flag_code
188 instead of use_rela_relocations for 64bit.
190 2010-09-02 Richard Henderson <rth@redhat.com>
192 * dw2gencfi.c (TC_DWARF2_EMIT_OFFSET): Provide default.
193 (output_fde): Use it. Make sure to fully init exp before using it.
195 2010-08-31 Kai Tietz <kai.tietz@onevision.com>
197 * config/obj-coff-seh.c (obj_coff_seh_save): Correct comparison.
198 (obj_coff_seh_stackalloc): Likewise.
200 2010-08-31 Alan Modra <amodra@gmail.com>
202 * config/obj-elf.c (obj_elf_init_stab_section): Fix assertion.
204 2010-08-30 Richard Henderson <rth@redhat.com>
206 * config/obj-coff-seh.c: Rewrite the entire file.
207 (symtab, symptr, reltab, relcount, relsize): Remove.
208 (seh_ctx_root, seh_ctx): Remove.
209 (xdata_seg, xdata_subseg, pdata_seg): New.
210 (switch_xdata, switch_pdata): New.
211 (verify_context, verify_context_and_target, skip_whitespace_and_comma):
212 New parsing functions. Rewrite all parsing functions to use them.
213 (obj_coff_seh_32): Fix != arm thinko.
214 (obj_coff_seh_handler): For x64, don't accept handler pointer here,
216 (obj_coff_seh_handlerdata): New.
217 (do_seh_endproc): Split out of ...
218 (obj_coff_seh_endproc): ... here.
219 (obj_coff_seh_proc): Use it, if needed.
220 (seh_x64_make_prologue_element): Use XRESIZEVEC, symbol_temp_new_now.
221 (seh_x64_read_reg): Remove mm_regs alternative. Tidy integer reg
222 alternatives. Don't slurp commas.
223 (seh_read_offset): Remove.
224 (obj_coff_seh_pushframe): Split out from obj_coff_seh_push.
225 (obj_coff_seh_scope): Remove.
226 (obj_coff_seh_save): Decide UWOP_SAVE_* vs _FAR immediately.
227 (obj_coff_seh_stackalloc): Decide _SMALL vs _LARGE immediately.
228 (out_one, out_two, out_four): New.
229 (seh_x64_write_prologue_data, seh_x64_size_prologue_data,
230 seh_x64_write_function_xdata, write_function_xdata): Rewrite
231 from seh_x64_write_xdata, seh_needed_unwind_info, seh_store_elm_data,
232 seh_getelm_data_size, seh_getsize_of_unwind_entry,
233 seh_make_unwind_entry, seh_getsize_unwind_data, and
234 seh_create_unwind_data.
235 (seh_arm_write_function_pdata): Rewrite from seh_arm_create_pdata.
236 (write_function_pdata): Rewrite from make_function_entry_pdata.
237 (seh_write_text_eh_data, make_function_entry_pdata,
238 seh_arm_create_pdata, seh_arm_write_pdata, seh_reloc, save_relocs,
239 seh_symbol_init, seh_symbol, quick_section, seh_emit_rva,
240 seh_emit_long, seh_make_globl, seh_make_section2, seh_make_section,
241 seh_make_xlbl_name, make_seh_text_label, seh_fill_pcsyms,
242 seh_needed_unwind_info, seh_store_elm_data, seh_getelm_data_size,
243 seh_getsize_of_unwind_entry, seh_make_unwind_entry,
244 seh_getsize_unwind_data, seh_create_unwind_data,
245 seh_make_function_entry_xdata, seh_x64_makescope_elem): Remove.
246 * config/obj-coff-seh.h (SEH_CMDS): Remove seh_savemm, seh_scope.
247 Add seh_handlerdata. Adjust function/what arguments for
248 seh_savereg, seh_pushframe, seh_stackalloc.
249 (struct seh_prologue_element): Adjust members to closer match
250 the elements of the UNWIND_CODE structure.
251 (struct seh_scope_elem): Remove.
252 (struct seh_context): Replace char* members with symbolS or
253 expressionS as appropriate. Sort members by ARM/x64 applicability.
254 Remove obsolete stuff wrt direct symbol and reloc manipulation.
256 2010-08-25 Alan Modra <amodra@gmail.com>
258 * NEWS: Mention ampersand in macro change.
260 2010-08-25 Gunther Nikl <gnikl@users.sourceforge.net>
262 * configure.tgt (m68k-*-aout): Change to bfd_gas=yes.
264 2010-08-25 Alan Modra <amodra@gmail.com>
266 * config/tc-d10v.c (do_assemble): Correctly detect overflow of
268 * config/tc-m68hc11.c (md_assemble): Likewise.
269 * config/tc-microblaze.c (md_assemble): Likewise. Correct cast
270 of is_end_of_line index.
272 2010-08-25 Jie Zhang <jie@codesourcery.com>
274 * config/tc-arm.c (encode_arm_addr_mode_2): Fix comment.
276 2010-08-25 Jie Zhang <jie@codesourcery.com>
278 * config/tc-arm.c (encode_arm_addr_mode_2): Fix
279 BAD_PC_ADDRESSING condition.
281 2010-08-20 Maciej W. Rozycki <macro@codesourcery.com>
283 * doc/c-arm.texi (ARM Options): Document -mfpu=fp4-sp-d16.
285 2010-08-19 H.J. Lu <hongjiu.lu@intel.com>
287 * config/tc-i386.c (VEX_check_operands): Fix a typo in comments.
289 2010-08-18 H.J. Lu <hongjiu.lu@intel.com>
291 * config/tc-i386.c (build_modrm_byte): Check i.imm_operands
294 2010-08-18 Alan Modra <amodra@gmail.com>
296 * macro.c (sub_actual): Add back ampersand suffix when no
298 (macro_expand_body): Correct comment.
300 2010-08-17 Roland McGrath <roland@redhat.com>
302 * config/obj-elf.c (obj_elf_parse_section_letters): Take new
303 boolean result parameter CLONE; set it if '?' flag letter seen.
304 (obj_elf_section): Update caller. Handle that flag by copying
305 the LINKONCE and GROUP_NAME state from NOW_SEG.
306 * doc/as.texinfo (Section): Document the ? flag.
308 2010-08-09 Cary Coutant <ccoutant@google.com>
310 * as.c (show_usage): Don't list --compress-debug-sections if zlib not
312 (main): Warn if --compress-debug-sections requested and zlib not
314 * doc/as.texinfo: Add --compress-debug-sections,
315 --nocompress-debug-sections.
317 2010-08-06 H.J. Lu <hongjiu.lu@intel.com>
319 * config/tc-i386.c (set_cpu_arch): Re-indent.
320 (md_parse_option): Likewise.
322 2010-08-06 Quentin Neill <quentin.neill@amd.com>
324 * config/tc-i386.c (arch_entry): Add negated bit to
325 disambiguate flag names starting with "no".
326 (cpu_arch): Add negated bit definitions. Add
327 ".nop" CPU extension.
328 (i386_align_code): Use new .cpunop bit to decide
329 when to generate alignment using nops.
330 (set_cpu_arch): Use negated bit instead to decide
331 when to use cpu_flags or vs. cpu_flags_and_not.
332 (md_parse_option): Likewise.
334 2010-08-04 H.J. Lu <hongjiu.lu@intel.com>
336 * config/tc-i386.c (match_template): Move the first i.error
339 2010-08-04 Alan Modra <amodra@gmail.com>
341 * configure.tgt (m32c): Set endian=little.
342 * config/tc-m32c.h (TARGET_BYTES_BIG_ENDIAN): Define as 0.
343 * config/tc-m32c.c (md_number_to_chars): Revert last change.
345 2010-08-03 Tristan Gingold <gingold@adacore.com>
347 * makefile.vms (OBJS): Add Add compress-debug.c.
349 2010-08-03 Alan Modra <amodra@gmail.com>
351 * config/tc-d10v.h (TARGET_BYTES_BIG_ENDIAN): Define as 1.
352 * config/tc-m32c.c (md_number_to_chars): Call bigendian
353 form of number_to_chars, not littleendian.
355 2010-08-02 Alan Modra <amodra@gmail.com>
357 * config/tc-d30v.c (d30v_cons_align): Don't align constants
360 2010-08-02 Alan Modra <amodra@gmail.com>
363 * expr.c (operand <'-' and '~'>): Widen bignums.
364 (operand <'!'>): Correct bignum result and convert to O_constant.
365 * read.c (emit_expr): Don't assert on .byte bignum. Don't display
366 bignum truncated warning for sign extended bignums.
368 2010-08-02 Alan Modra <amodra@gmail.com>
370 * config/tc-v850.c (md_assemble): Always pass format string to
372 (md_apply_fix): Similarly for as_warn_where.
374 2010-07-29 H.J. Lu <hongjiu.lu@intel.com>
376 * config/tc-i386-intel.c: Reformat.
378 2010-07-29 Alan Modra <amodra@gmail.com>
380 * config/tc-ppc.c (ppc_fix_adjustable): Add got reloc types used
383 2010-07-28 Alan Modra <amodra@gmail.com>
386 * symbols.c (symbol_clone): Correct typo in previous patch.
388 2010-07-28 Alan Modra <amodra@gmail.com>
391 * symbols.c (symbol_clone): Clear BSF_SECTION_SYM flag.
393 2010-07-28 Alan Modra <amodra@gmail.com>
395 * config/tc-ppc.c (md_assemble): Don't attempt to print NUL in
396 syntax error message.
398 2010-07-27 Maciej W. Rozycki <macro@codesourcery.com>
400 * config/tc-mips.c (mips16_macro_build): Pass "args" by
401 reference rather than value.
402 (macro_build): Update accordingly.
404 2010-07-27 Maciej W. Rozycki <macro@codesourcery.com>
406 * config/tc-mips.c (mips_ip): Use symbol_temp_new_now to create
409 2010-07-24 Maciej W. Rozycki <macro@codesourcery.com>
411 * config/tc-mips.c (macro)[M_JAL_1, M_JAL_2]: Handle the JALR
412 delay slot in the noreorder mode with the o32 ABI.
414 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
415 Ina Pandit <ina.pandit@kpitcummins.com>
417 * config/tc-v850.c: Update processor_mask.
418 (reg_name): Update the structure to use processors field.
419 (md_relax_table): Define SUBYPTE_COND_9_22, SUBYPTE_SA_9_22,
420 SUBYPTE_UNCOND_9_22, SUBYPTE_COND_9_22_32, SUBYPTE_SA_9_22_32,
421 SUBYPTE_UNCOND_9_22_32, SUBYPTE_COND_9_17_22,
422 SUBYPTE_SA_9_17_22, SUBYPTE_COND_9_17_22_32 and
423 SUBYPTE_SA_9_17_22_32.
424 (set_machine): Add support for V850E2 and V850E2V3.
425 (md_pseudo_table): Likewise.
426 (pre_defined_registers): Update pre defined registers suitable
427 for each family of registers.
428 (system_registers): Likewise.
429 (cc_names): Update the condition code.
430 (float_cc_names): Update the condition code for float.
431 (reg_name_search): Update based on current modifications.
432 (register_name): Likewise.
433 (system_register_name): Update to support new system registers
434 and supported families.
435 (cc_name): Update to support new condition codes.
436 (float_cc_name): New function to support float condition codes.
437 (parse_register_list): Update to support newly added registers.
438 (md_show_usage): Define support for V850E2 and V850E2V3 targets.
439 Also support added for disp-size-default-22, disp-size-default-32,
440 mextension, mno-bcond17 and mno-stld23.
441 (md_parse_option): Implement the support for above options defined
443 (md_convert_frag): Implement support for subtypes defined in
444 md_relax_table to support branch operations.
445 (md_begin): Add support for V850E2 and V850E2V3.
446 (handle_hi016, handle_hi16): new relocation handling functions
447 (handle_lo16, handle_ctoff, handle_sdaoff, handle_zdaoff,
448 handle_tdaoff): Updated relocation handling functions for newly
450 (v850_reloc_prefix): Update the relocation handling functions.
451 (v850_insert_operand): Updated the functions with error message
452 parameter and modified the function to use it.
453 (md_assemble): Update according to the latest modifications.
454 (md_apply_fix): Updated the functions with error message parameter
455 and modified the function to use it.
456 (v850_force_relocation): Update with newly added relocations.
457 * configure.tgt: Match all v850 targets.
458 * doc/c-v850.texi: Document the newly added targets.
461 2010-07-23 Alan Modra <amodra@gmail.com>
464 * macro.c (macro_expand): Recover gracefully from named args that
467 2010-07-22 Thomas Schwinge <thomas@codesourcery.com>
469 Switch MIPS to 32-bit DWARF format.
470 * config/tc-mips.h (DWARF2_FORMAT): Only define for [TE_IRIX].
471 * config/tc-mips.c (mips_dwarf2_format): Likewise.
473 2010-07-20 Alan Modra <amodra@gmail.com>
475 * config/tc-ppc.c (ppc_setup_opcodes): Add all macros for -many.
477 2010-07-16 Alan Modra <amodra@gmail.com>
479 * config/tc-rx.c (md_estimate_size_before_relax): Fix format
480 specifier warnings for 32-bit host when --enable-64-bit-bfd.
481 (rx_relax_frag, md_convert_frag): Likewise.
483 2010-07-15 Cary Coutant <ccoutant@google.com>
485 * gas/NEWS: Add note about --compress-debug-sections.
486 * gas/as.c (show_usage): Add --compress-debug-sections and
487 --nocompress-debug-sections.
489 2010-07-15 Rhonda Wittels <rhonda@codesourcery.com>
491 * config/obj-elf.c (get_sym_from_input_line_and_check): New
492 function to catch missing pseudo-op arguments.
493 (obj_elf_local): Call new function.
494 (obj_elf_weak): Likewise.
495 (obj_elf_visibility): Likewise.
496 (obj_elf_vtable_entry): Likewise.
497 (obj_elf_type): Likewise.
499 2010-07-15 Kai Tietz <kai.tietz@onevision.com>
501 * config/obj-coff-seh.c
502 (seh_getelm_data_size): New.
503 (seh_read_offset): Handle negative values.
504 (obj_coff_seh_push): Handle offset for save-register store.
505 (obj_coff_seh_setframe): Add unwind-information for frame.
506 (seh_store_elm_data): New.
507 (seh_getelm_data_size): Return additionally unaligned element count.
508 (seh_make_unwind_entry): Correct tweak about element count.
510 2010-07-12 H.J. Lu <hongjiu.lu@intel.com>
513 * config/tc-i386-intel.c (i386_intel_simplify): Restore fall
514 through patch for O_multiply.
516 2010-07-11 Kai Tietz <kai.tietz@onevision.com>
519 * config/obj-coff.c (obj_common_parse): Quote symbol-name.
521 2010-07-08 Tejas Belagod <tejas.belagod@arm.com>
523 * tc-arm.c (OP_oBARRIER): Remove.
524 (OP_oBARRIER_I15): Add.
525 (po_barrier_or_imm): Add macro.
526 (parse_operands): Improve OP_oBARRIER_I15 operand parsing.
527 (do_barrier): Check correct immediate range.
528 (do_t_barrier): Likewise.
529 (barrier_opt_names): Add entries for more symbolic operands.
530 (insns): Replace OP_oBARRIER with OP_oBARRIER_I15 for barriers.
532 2010-07-08 Daniel Gutson <dgutson@codesourcery.com>
534 * config/tc-arm.c (tc_gen_reloc): Add BFD_RELOC_ARM_T32_OFFSET_IMM
537 2010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
539 * config/tc-mips.c (mips_frob_file): Use symbol_same_p to match
542 2010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
544 * config/tc-mips.c (nops_for_insn_or_target): Replace
545 MIPS16_INSN_BRANCH with MIPS16_INSN_UNCOND_BRANCH and
546 MIPS16_INSN_COND_BRANCH.
548 2010-07-05 Jim Wilson <wilson@codesourcery.com>
552 * dwarf2dbg.c (dwarf2_finish): Don't generate .debug_line section
555 2010-07-05 Alan Modra <amodra@gmail.com>
557 * config/tc-moxie.c (md_apply_fix): Delete set but otherwise
560 2010-07-04 H.J. Lu <hongjiu.lu@intel.com>
562 * Makefile.am (CONFIG_OBJS): Removed.
563 (GENERIC_OBJS): Likewise.
565 * Makefile.in: Regenerated.
567 2010-07-03 Jan Beulich <jbeulich@novell.com>
570 * config/tc-i386.c (i386_finalize_displacement): Don't call
571 section_symbol() with expr_section.
573 2010-07-03 Cary Coutant <ccoutant@google.com>
575 * Makefile.am: Add compress-debug.c and compress-debug.h.
576 * Makefile.in: Regenerate.
577 * config.in: Add HAVE_ZLIB_H.
578 * configure.in: Check for zlib.h.
579 * configure: Regenerate.
581 * as.c (parse_args): Add --compress-debug-sections and
582 --nocompress-debug-sections.
583 * as.h (flag_compress_debug): New variable.
584 * compress-debug.c: New file.
585 * compress-debug.h: New file.
586 * write.c: Include compress-debug.h.
587 (compress_frag): New function.
588 (compress_debug): New function.
589 (write_object_file): Compress debug sections if requested.
591 2010-07-03 Andreas Schwab <schwab@linux-m68k.org>
593 * config/tc-ppc.c (ppc_set_cpu): Cast PPC_OPCODE_xxx to ppc_cpu_t
596 2010-07-03 Alan Modra <amodra@gmail.com>
598 * config/tc-ppc.c (ppc_set_cpu): Remove old opcode flags.
599 (ppc_setup_opcodes): Likewise. Simplify opcode selection.
601 2010-07-02 DJ Delorie <dj@redhat.com>
603 * config/tc-rx.h (md_do_align): New.
604 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
605 * config/tc-rx.c (nops): New.
606 (rx_handle_align): Use various sized nops to align code.
608 * config/tc-rx.c (rx_bytesT): Add grown/shrank counters for
610 (rx_relax_frag): Prevent infinite loops of grow/shrink/grow/etc.
612 2010-07-01 H.J. Lu <hongjiu.lu@intel.com>
614 AVX Programming Reference (June, 2010)
615 * config/tc-i386.c (cpu_arch): Add .xsaveopt, .fsgsbase, .rdrnd
618 * doc/c-i386.texi: Document xsaveopt, fsgsbase, rdrnd and f16c.
620 2010-07-01 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
622 * config/tc-arm.c (do_t_mov_cmp): Fix reporting of unpredictable and
623 deprecated mov register instructions.
625 2010-07-01 Alan Modra <amodra@gmail.com>
627 * config/tc-ppc.c (toc_reloc_types): New variable.
628 (md_assemble): Set it.
629 (ppc_frob_file_before_adjust): Don't warn about toc section size
630 if we have large toc relocs and no small toc relocs.
632 2010-06-29 Alan Modra <amodra@gmail.com>
634 * config/tc-maxq.h: Delete file.
635 * config/tc-maxq.c: Delete file.
636 * Makefile.am: Remove references to maxq.
637 * configure.tgt: Likewise.
638 * config/obj-coff.h: Likewise.
639 * Makefile.in: Regenerate.
640 * configure: Regenerate.
641 * po/POTFILES.in: Regenerate.
643 2010-06-28 Alan Modra <amodra@gmail.com>
645 * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define.
646 * config/tc-crx.c (gettrap): Constify arg.
647 (handle_LoadStor, get_cinv_parameters): Likewise.
648 (getreg_image): Fix enum warning
649 (md_assemble): Restore input line char.
650 * config/tc-hppa.c (tc_gen_reloc): Fix enum warning.
651 * config/tc-i960.c (mem_fmt): Rename var to fix shadow warning.
652 * config/tc-sh.c (sh_fdpic): Only define when OBJ_ELF.
653 (build_Mytes): Fix build failure for non-elf targets.
654 * config/tc-tic4x.c (tic4x_eval): Restore terminator char.
655 * config/tc-xtensa.c (xtensa_end_directive): Fix switch enum warning.
657 * cgen.c (gas_cgen_md_apply_fix): Avoid set but unused warning.
658 * ecoff.c (add_ecoff_symbol): Likewise.
659 * itbl-ops.c (append_insns_as_macros): Likewise.
660 * listing.c (debugging_pseudo): Likewise.
661 * read.c (s_mri_common, stringer): Likewise.
662 * config/obj-coff.c (coff_frob_section): Likewise.
663 * config/tc-alpha.c (emit_ldgp, s_alpha_proc): Likewise.
664 * config/tc-arm.c (my_get_expression): Likewise.
665 * config/tc-hppa.c (process_exit, pa_type_args): Likewise.
666 * config/tc-m32c.c (md_assemble): Likewise.
667 * config/tc-microblaze.c (md_convert_frag): Likewise.
668 * config/tc-mips.c (s_change_section): Likewise.
669 * config/tc-mt.c (mt_fix_adjustable): Likewise.
670 * config/tc-xtensa.c (xtensa_literal_pseudo): Likewise.
672 * config/obj-aout.c (obj_aout_frob_symbol): Delete set but otherwise
674 * config/tc-alpha.c (load_expression): Likewise.
675 (s_alpha_rdata, s_alpha_section, s_alpha_prologue): Likewise.
676 * config/tc-arm.c (parse_neon_el_struct_list): Likewise.
677 * config/tc-avr.c (extract_word): Likewise.
678 * config/tc-cris.c (cris_get_expression): Likewise.
679 * config/tc-d30v.c (build_insn, find_format): Likewise.
680 * config/tc-dlx.c (machine_ip): Likewise.
681 * config/tc-hppa.c (pa_get_absolute_expression): Likewise.
682 * config/tc-i370.c (md_assemble): Likewise.
683 * config/tc-i960.c (brtab_emit): Likewise.
684 * config/tc-iq2000.c (s_iq2000_ent): Likewise.
685 * config/tc-m32c.c (md_convert_frag): Likewise.
686 * config/tc-m68hc11.c (fixup24, build_jump_insn): Likewise.
687 (md_estimate_size_before_relax, md_apply_fix): Likewise.
688 * config/tc-m68k.c (md_show_usage): Likewise.
689 * config/tc-microblaze.c (microblaze_s_lcomm): Likewise.
690 * config/tc-mips.c (s_mips_end): Likewise.
691 * config/tc-mmix.c (mmix_byte, mmix_cons): Likewise.
692 * config/tc-mn10300.c (md_assemble): Likewise.
693 * config/tc-msp430.c (extract_word): Likewise.
694 * config/tc-mt.c (md_assemble): Likewise.
695 * config/tc-or32.c (machine_ip): Likewise.
696 * config/tc-pj.c (md_apply_fix): Likewise.
697 * config/tc-s390.c (md_gather_operands): Likewise.
698 * config/tc-sh.c (sh_cons_align): Likewise.
699 * config/tc-sparc.c (sparc_cons_align): Likewise.
700 * config/tc-tic4x.c (tic4x_sect): Likewise.
701 * config/tc-tic54x.c (tic54x_stringer): Likewise.
702 * config/tc-vax.c (vip_op): Likewise.
703 * config/tc-xstormy16.c (xstormy16_cons_fix_new): Likewise.
704 * config/tc-xtensa.c (md_assemble): Likewise.
705 (xtensa_fix_short_loop_frags, convert_frag_immed): Likewise.
706 (xtensa_move_literals): Likewise.
708 2010-06-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
710 * config/tc-arm.c (parse_neon_alignment): New function.
711 (parse_address_main): Fix Neon load/store alignment parsing.
713 2010-06-22 Jan Beulich <jbeulich@novell.com>
715 * config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo
717 (i386_intel_operand): Remove bogus handling of pseudo symbols
719 * expr.c (current_location): Remove 'static' and local
721 * expr.h (current_location): Declare.
723 2010-06-21 Sterling Augustine <sterling@tensilica.com>
726 * as.c: Globalize keep_it.
727 (main): Remove keep_it. Move conditional from here...
728 (close_output_file): ...to here.
730 2010-06-21 Andreas Schwab <schwab@redhat.com>
732 * doc/as.texinfo (Overview): Use @itemx for grouped @table
734 * doc/c-alpha.texi (Alpha Options): Likewise.
735 * doc/c-arm.texi (ARM Directives): Likewise.
736 * doc/c-bfin.texi (Blackfin Options): Likewise.
737 * doc/c-d10v.texi (D10V-Opts): Likewise.
738 * doc/c-i386.texi (i386-Options): Likewise.
739 * doc/c-ia64.texi (IA-64 Options): Likewise.
740 * doc/c-m68k.texi (M68K-Opts): Likewise.
741 * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
742 * doc/internals.texi (Symbols): Likewise.
744 2010-06-21 Alan Modra <amodra@gmail.com>
747 * config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
749 2010-06-18 Joseph Myers <joseph@codesourcery.com>
751 * config/tc-tic6x.h (tic6x_segment_info_type): Add field
753 * config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
754 (md_assemble): Clear func_units_used for new execute packet.
755 Check for duplicate functional units and update func_units_used
756 for instructions using a functional unit.
758 2010-06-15 Joseph Myers <joseph@codesourcery.com>
760 * config/tc-tic6x.c: Include elf/tic6x.h.
761 (tic6x_arch_attribute, tic6x_seen_insns): New.
762 (tic6x_arch_table, tic6x_arches): Add attribute values.
763 (tic6x_use_arch): Handle attribute settings.
764 (tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
765 tic6x_attribute_table, tic6x_attributes,
766 tic6x_convert_symbolic_attribute): New.
767 (md_pseudo_table): Add c6xabi_attribute.
768 (md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
769 (tic6x_set_attribute_int, tic6x_set_attributes): New.
770 (tic6x_end): Call tic6x_set_attributes.
771 * config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
772 (tic6x_convert_symbolic_attribute): Declare.
774 2010-06-14 Alan Modra <amodra@gmail.com>
776 * config/tc-ppc.c (md_assemble): Emit APUinfo section for
779 2010-06-11 Jan Beulich <jbeulich@novell.com>
781 * config/tc-i386.c (md_parse_option): Ignore impossible processor
783 (show_arch): New parameter 'check'.
784 (md_show_usage): Adjust calls to show_arch().
786 2010-06-10 H.J. Lu <hongjiu.lu@intel.com>
788 * config/tc-i386.c (update_code_flag): New.
789 (set_code_flag): Use it.
790 (i386_target_format): Replace set_code_flag with update_code_flag.
792 2010-06-10 Tristan Gingold <gingold@adacore.com>
794 * config/obj-som.h: Includes som/reloc.h
796 2010-06-10 Jan Beulich <jbeulich@novell.com>
798 * config/tc-i386.c (cpu_arch): Add comment.
799 (i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
800 from the generic entries of cpu_arch[].
802 2010-06-08 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
804 * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
806 (parse_operands): Add support for OP_RRnpctw.
807 (insns): Update floating-point load/store multiples so the
808 first register is of type OP_RRnpctw.
810 2010-06-08 Quentin Neill <quentin.neill@amd.com>
812 * config/tc-i386.c (pi): Rename local loop counter
813 variable i that shadows global static i386_insn i
814 when DEBUG386 is defined.
817 2010-06-08 Nick Clifton <nickc@redhat.com>
819 * doc/as.texinfo: Replace abbreviated 20th century year numbers
822 2010-06-02 Quentin Neill <quentin.neill@amd.com>
824 * config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
826 2010-06-02 Tristan Gingold <gingold@adacore.com>
828 * as.h: Remove conditionnal definition of HAVE_STDARG_H,
829 USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
830 Remove conditionnal inclusion of stdarg.h and varargs.h.
832 * config.in: Regenerate.
833 * configure: Regenerate.
834 * configure.in: Remove stdarg.h and varargs.h from
835 AC_CHECK_HEADERS list.
836 * messages.c (as_tsktsk): Remove non ISO C version.
837 (as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
839 2010-05-31 Tristan Gingold <gingold@adacore.com>
841 * config/tc-alpha.c: Add comments for evax.
842 * config/obj-evax.c: Ditto.
844 2010-05-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
846 * config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
849 2010-05-27 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
851 * config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
852 writeback when base register is in register list an error, and
854 (do_t_ldmstm): Change warnings.
856 2010-05-26 Catherine Moore <clm@codesourcery.com>
858 * config/tc-mips.c (is_opcode_valid): Remove expansionp.
859 (macro_build): Change invocation of is_opcode_valid.
862 2010-05-25 Nick Clifton <nickc@redhat.com>
864 * Makefile.am (MOSTLYCLEANFILES): Fix typo.
865 * Makefile.in: Regenerate.
867 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
868 Joseph Myers <joseph@codesourcery.com>
869 Andrew Stubbs <ams@codesourcery.com>
871 * config/tc-sh.c (sh_fdpic): New.
872 (sh_check_fixup): Handle relocations on movi20.
873 (parse_exp): Do not reject PIC operators here.
874 (build_Mytes): Check for unhandled PIC operators here. Use
875 sh_check_fixup for movi20.
876 (enum options): Add OPTION_FDPIC.
877 (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
878 (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
879 (sh_elf_final_processing): Handle --fdpic.
880 (sh_uclinux_target_format): New.
881 (sh_parse_name): Handle FDPIC relocation operators.
882 * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
883 (sh_uclinux_target_format): Declare for TE_UCLINUX.
884 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
886 * doc/c-sh.texi (SH Options): Document --fdpic.
888 2010-05-25 Jay Krell <jay.krell@cornell.edu>
891 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
892 * Makefile.in: Regenerate.
894 2010-05-25 Alan Modra <amodra@gmail.com>
896 * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
898 2010-05-19 Nick Clifton <nickc@redhat.com>
900 * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
901 of known section prefixes.
903 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
906 * obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
907 (obj_elf_parse_section_letters): Likewise.
908 (obj_elf_section_word): Likewise.
910 * config/tc-ppc.c (ppc_section_letter): Removed.
911 (ppc_section_word): Likewise.
912 * config/tc-ppc.h (ppc_section_letter): Likewise.
913 (ppc_section_word): Likewise.
914 (md_elf_section_letter): Likewise.
915 (md_elf_section_word): Likewise.
917 * doc/as.texinfo: Document `e' and `#exclude'.
919 2010-05-13 Nathan Sidwell <nathan@codesourcery.com>
921 * config/tc-arm.c (md_assemble): Clarify current mode in error
922 messages about unsupported instructions.
923 (UT): Delete #define.
924 (insns): Adjust cbnz, cbz appropriately.
926 2010-05-11 Andrew Stubbs <ams@codesourcery.com>
928 * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
930 2010-05-11 Jie Zhang <jie@codesourcery.com>
932 * config/tc-arm.c (aeabi_set_public_attributes): Set
933 Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
935 2010-05-07 Tristan Gingold <gingold@adacore.com>
937 * Makefile.in: Regenerate with automake 1.11.1.
939 * doc/Makefile.in: Ditto.
941 2010-05-05 Nick Clifton <nickc@redhat.com>
943 * po/es.po: Updated Spanish translation.
945 2010-05-05 Julian Brown <julian@codesourcery.com>
947 * read.c (cons_worker): Detect and reject unexpected string argument.
949 2010-05-04 Nick Clifton <nickc@redhat.com>
951 * write.c (fixup_segment): Revert previous delta.
952 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
953 generation of relocations for fixups against weak symbols.
955 2010-04-29 Nathan Sidwell <nathan@codesourcery.com>
957 * write.c (fixup_segment): Do not assume we know the section a
958 defined weak symbol is in.
959 * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
960 weak symbols as not known to be in the same section, even if they
963 2010-04-27 Joseph Myers <joseph@codesourcery.com>
965 * config/tc-tic6x.h (tic6x_label_list): New.
966 (tic6x_segment_info_type): Keep a list of labels and a current
967 frag instead of a boolean for whether labels seen and a count of
969 (tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
970 md_do_align, tic6x_do_align, md_end, tic6x_end): New.
971 * config/tc-tic6x.c (tic6x_frob_label): Put label on list.
972 (tic6x_cleanup): Correct comment.
973 (tic6x_free_label_list): New.
974 (tic6x_cons_align): Free label list and update for
975 tic6x_segment_info_type changes.
976 (tic6x_do_align): New.
977 (md_assemble): Handle list of labels and saved frag for execute
978 packet. Create machine-dependent frag for new execute packet and
979 adjust labels accordingly.
980 (tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
981 (md_convert_frag, md_estimate_size_before_relax): Update comments.
983 2010-04-24 H.J. Lu <hongjiu.lu@intel.com>
986 * config/tc-i386-intel.c (intel_state): Add is_indirect.
987 (i386_intel_operand): Initialize intel_state.is_indirect. Check
988 intel_state.is_indirect for "call|jmp [symbol]".
990 2010-04-22 Nick Clifton <nickc@redhat.com>
992 * po/gas.pot: Updated by the Translation project.
994 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
996 * config/tc-i386.c (i386_is_register): Removed.
997 (x86_cons): Don't use i386_is_register.
998 (parse_register): Likewise.
999 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
1000 (i386_intel_operand): Likewise.
1002 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1004 * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
1007 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1009 * config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
1010 (x86_cons): Updated.
1011 (parse_register): Likewise.
1012 (tc_x86_parse_to_dw2regnum): Likewise.
1013 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
1014 (i386_intel_operand): Likewise.
1016 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1019 * config/tc-i386-intel.c (i386_intel_simplify_register): New.
1020 (i386_intel_simplify): Use i386_is_register and
1021 i386_intel_simplify_register. Set X_md for O_register and
1022 check X_md for O_constant.
1023 (i386_intel_operand): Use i386_is_register.
1025 * config/tc-i386.c (i386_is_register): New.
1026 (x86_cons): Initialize the X_md field. Use i386_is_register.
1027 (parse_register): Use i386_is_register.
1028 (tc_x86_parse_to_dw2regnum): Likewise.
1030 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1032 * expr.c (expr): Initialize the X_md field.
1034 2010-04-20 Joseph Myers <joseph@codesourcery.com>
1036 * config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
1037 (md_longopts): Add -mgenerate-rel.
1038 (tic6x_generate_rela): New.
1039 (md_parse_option): Handle -mgenerate-rel.
1040 (md_show_usage): Add comment that -mgenerate-rel is undocumented.
1041 (tic6x_init_after_args): New.
1042 (md_apply_fix): Correct shift calculations for SB-relative
1044 (md_pcrel_from): Change to tic6x_pcrel_from_section. Do not
1045 adjust addresses for relocations referencing symbols in other
1047 (tc_gen_reloc): Adjust addend calculations for REL relocations.
1048 * config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
1049 tic6x_pcrel_from_section, tc_init_after_args,
1050 tic6x_init_after_args): New.
1052 2010-04-20 Nick Clifton <nickc@redhat.com>
1055 * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
1056 altmacro mode if found inside a quoted string.
1058 2010-04-20 Mike Frysinger <vapier@gentoo.org>
1060 * config/bfin-lex.l (parse_int): Change index() to strchr().
1062 2010-04-16 Nick Clifton <nickc@redhat.com>
1065 * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
1066 matcher to accept and unconditional 32-bit add instruction.
1067 (pa_build_unwind_subspace): Cope with error conditions not
1068 allowing the start symbol to be set.
1070 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1072 * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
1073 new tag names in v2.08 of ARM ABI.
1074 * doc/c-arm.texi: Document new tag names in ABI.
1076 2010-04-14 Tristan Gingold <gingold@adacore.com>
1078 * config/tc-alpha.c: Includes vms/egps.h on EVAX.
1079 (s_alpha_comm): Used new EGPS macros from egps.h
1080 (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
1081 (s_alpha_section_word): Add comments. Use new EGPS macros.
1082 Adjust for modified bfd_vms_set_section_flags function.
1084 2010-04-10 Alan Modra <amodra@gmail.com>
1087 * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
1089 2010-04-09 Nick Clifton <nickc@redhat.com>
1091 * as.c (create_obj_attrs_section): Remove unused variable addr.
1092 * listing.c (listing_listing): Remove unused variable message.
1093 * read.c: Remove unnecessary register type qualifiers.
1094 (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
1097 2010-04-07 Eric B. Weddington <eric.weddington@atmel.com>
1099 * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
1100 atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
1101 atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
1102 atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
1103 atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
1104 atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
1105 atmega88pa, attiny461a, attiny84a, m3000.
1106 Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
1107 atmega8hvd, attiny327, m3000f, m3000s, m3001b.
1108 * doc/c-avr.texi: Same.
1110 2010-04-07 Jie Zhang <jie@codesourcery.com>
1112 * config/tc-arm.c (make_mapping_symbol): Handle the case
1113 that multiple mapping symbols have the same value 0.
1115 2010-04-07 Alan Modra <amodra@gmail.com>
1117 * configure: Regenerate.
1119 2010-04-06 Nick Clifton <nickc@redhat.com>
1121 * po/ru.po: New Russian translation.
1122 * configure.in (ALL_LINGUAS): Add ru.
1123 * configure: Regenerate.
1125 2010-03-30 H.J. Lu <hongjiu.lu@intel.com>
1128 * input-scrub.c (input_scrub_next_buffer): Use memmove instead
1129 of memcpy to copy overlap memory.
1131 2010-03-25 Joseph Myers <joseph@codesourcery.com>
1133 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
1134 (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
1135 * Makefile.in: Regenerate.
1136 * NEWS: Add news entry for TI C6X support.
1137 * app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle
1138 TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in
1139 operands if TC_KEEP_OPERAND_SPACES.
1140 * configure.tgt (tic6x-*-*): New.
1141 * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
1142 TC_PREDICATE_END_CHAR): Define.
1143 * config/tc-tic6x.c, config/tc-tic6x.h: New.
1144 * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
1145 * doc/Makefile.in: Regenerate.
1146 * doc/all.texi (TIC6X): Define.
1147 * doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi.
1148 * doc/c-tic6x.texi: New.
1150 2010-03-22 H.J. Lu <hongjiu.lu@intel.com>
1152 * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
1154 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
1156 * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
1157 with operand_size_mismatch.
1158 (operand_size_match): Updated.
1159 (match_template): Likewise.
1161 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
1163 * config/tc-i386.c (i386_error): New.
1164 (_i386_insn): Replace err_msg with error.
1165 (operand_size_match): Set error instead of err_msg on failure.
1166 (operand_type_match): Likewise.
1167 (operand_type_register_match): Likewise.
1168 (VEX_check_operands): Likewise.
1169 (match_template): Likewise. Use error instead of err_msg with
1172 2010-03-19 Jie Zhang <jie@codesourcery.com>
1174 * config/tc-arm.c (make_mapping_symbol): Hanle the case
1175 that two mapping symbols have the same value.
1177 2010-03-18 Daniel Jacobowitz <dan@codesourcery.com>
1179 * doc/c-arm.texi (.setfp): Correct example.
1181 2010-03-18 Wei Guozhi <carrot@google.com>
1184 * config/tc-arm.c (reloc_names): New relocation names.
1185 (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
1186 (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
1187 * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
1189 2010-03-15 Thomas Schwinge <thomas@codesourcery.com>
1191 * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
1192 cases, and not only for .eh_frame.
1194 * dw2gencfi.c (output_cie): Make it more explicit which code paths
1195 belong to .eh_frame only.
1197 2010-03-13 Segher Boessenkool <segher@kernel.crashing.org>
1199 * config/tc-v850.c (v850_insert_operand): Handle out-of-range
1200 assembler constants on 64-bit hosts.
1202 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
1204 * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
1205 Strip trailing whitespace.
1207 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
1209 * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
1210 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
1212 (bfin_cpus[]): Add 0.0 for bf504 and bf506.
1214 2010-03-10 Jie Zhang <jie@codesourcery.com>
1216 * doc/as.texinfo: Add Blackfin options.
1217 * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
1218 * config/tc-bfin.c (md_show_usage): Show usage for all
1219 Blackfin specific options.
1221 2010-03-09 Alan Modra <amodra@gmail.com>
1224 * listing.c (listing_newline): Correct backslash quote logic.
1226 2010-03-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1228 * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
1229 (ELF_TARGET_FORMAT64): Define.
1231 2010-03-05 Paul Brook <paul@codesourcery.com>
1233 * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
1235 2010-03-02 Andrew Stubbs <ams@codesourcery.com>
1237 * config/tc-sh.c (get_specific): Move overflow checking code to avoid
1238 reading uninitialized data.
1240 2010-03-01 Tristan Gingold <gingold@adacore.com>
1242 * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
1244 2010-02-26 Doug Evans <dje@sebabeach.org>
1246 * configure.tgt: Fix mep cpu case.
1248 2010-02-26 Jie Zhang <jie@codesourcery.com>
1250 * config/tc-arm.c (do_t_strexd): Remove
1251 operand[1] != operand[2] contraint.
1253 2010-02-26 Jie Zhang <jie@codesourcery.com>
1255 * config/tc-arm.c (neon_select_shape): No need to match
1256 the remaining operands in the shape when one operand does
1259 2010-02-26 Jie Zhang <jie@codesourcery.com>
1261 * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
1264 2010-02-25 Doug Evans <dje@sebabeach.org>
1266 * cgen.c: Whitespace fixes.
1267 (weak_operand_overflow_check): Formatting fix.
1269 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
1271 * config/tc-i386.c (match_template): Update error messages.
1273 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
1275 * config/tc-i386.c (_i386_insn): Add err_msg.
1276 (operand_size_match): Set err_msg on failure.
1277 (operand_type_match): Likewise.
1278 (operand_type_register_match): Likewise.
1279 (VEX_check_operands): Likewise.
1280 (match_template): Likewise. Use i.err_msg with as_bad.
1282 2010-02-25 Wu Zhangjin <wuzhangjin@gmail.com>
1284 * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
1285 mips_fix_loongson2f_jump): New variables.
1286 (md_longopts): Add New options -mfix-loongson2f-nop/jump,
1287 -mno-fix-loongson2f-nop/jump.
1288 (md_parse_option): Initialize variables via above options.
1289 (options): New enums for the above options.
1290 (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
1291 (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
1293 (append_insn): call fix_loongson2f().
1294 (mips_handle_align): Replace the implicit nops.
1295 * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
1296 for the new mips_handle_align().
1297 * doc/c-mips.texi: Document the new options.
1299 2010-02-23 Daniel Gutson <dgutson@codesourcery.com>
1301 * config/tc-arm.c (do_rd_rm_rn): Added warning
1304 2010-02-23 Andrew Zabolotny <anpaza@mail.ru>
1307 * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
1308 (avr_cons_fix_new): Handle fixups of a single byte.
1310 2010-02-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1313 * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
1314 compiler's predefines.
1316 2010-02-19 Alan Modra <amodra@gmail.com>
1318 * configure.tgt: Whiltespace. Sort moxie entry.
1320 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1322 * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
1323 * doc/c-arm.texi: Likewise.
1325 2010-02-12 Daniel Gutson <dgutson@codesourcery.com>
1327 * config/tc-arm.c (asm_opcode): operands type
1329 (BAD_PC_ADDRESSING): New macro message.
1330 (BAD_PC_WRITEBACK): Likewise.
1331 (MIX_ARM_THUMB_OPERANDS): New macro.
1332 (operand_parse_code): Added enum values.
1333 (parse_operands): Added thumb/arm distinction,
1334 plus new enum values handling.
1335 (encode_arm_addr_mode_2): Validations enhanced.
1336 (encode_arm_addr_mode_3): Likewise.
1337 (do_rm_rd_rn): Likewise.
1338 (encode_thumb32_addr_mode): Likewise.
1339 (do_t_ldrex): Likewise.
1340 (do_t_ldst): Likewise.
1341 (do_t_strex): Likewise.
1342 (md_assemble): Call parse_operands with
1350 (insns): Updated insns operands.
1352 2010-02-12 Tristan Gingold <gingold@adacore.com>
1353 Douglas B Rupp <rupp@gnat.com>
1355 * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
1356 (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
1357 (pseudo_func): Add an entry for slotcount.
1358 (md_begin): Initialize slotcount pseudo symbol.
1359 (ia64_parse_name): Handle @slotcount parameter.
1360 (ia64_gen_real_reloc_type): Handle slotcount.
1361 (md_apply_fix): Ditto.
1362 * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
1364 2010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com>
1366 * config/tc-xtensa.c (istack_init): Don't call memset.
1368 2010-02-11 Sterling Augustine <sterling@tensilica.com>
1370 * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
1373 2010-02-11 Sterling Augustine <sterling@tensilica.com>
1375 * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
1377 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
1379 * config/tc-i386.c (build_modrm_byte): Reformat.
1381 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
1383 * config/tc-i386.c: Update copyright.
1385 2010-02-10 Quentin Neill <quentin.neill@amd.com>
1386 Sebastian Pop <sebastian.pop@amd.com>
1388 * config/tc-i386.c (vec_imm4) New operand type.
1389 (fits_in_imm4): New.
1390 (VEX_check_operands): New.
1391 (check_reverse): Call VEX_check_operands.
1392 (build_modrm_byte): Reintroduce code for 5
1393 operand insns. Fix whitespace.
1395 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
1397 * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
1400 2010-02-09 Sterling Augustine <sterling@tensilica.com>
1402 * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
1403 (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
1404 (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
1406 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
1408 * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
1409 non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
1410 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
1411 BFD_RELOC_ARM_PCREL_CALL)
1413 2010-02-08 Sterling Augustine <sterling@tensilica.com>
1415 * config/tc-xtensa.c (frag_format_size): Generalize logic to
1416 handle more instruction sizes and fetch widths.
1417 (branch_align_power): Likewise.
1418 (text_align_power): Likewise.
1419 (bytes_to_stretch): Likewise.
1421 2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
1423 * config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs.
1424 (ppc_mach): Handle titan.
1425 * doc/c-ppc.texi: Mention -mtitan.
1427 2010-02-05 Sterling Augustine <sterling@tensilica.com>
1429 * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
1431 (xtensa_fetch_width) ...this.
1433 2010-02-05 Joseph Myers <joseph@codesourcery.com>
1435 * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
1436 MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
1437 * Makefile.in: Regenerate.
1439 2010-02-03 Quentin Neill <quentin.neill@amd.com>
1441 * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
1442 (i386_align_code): Rename PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
1443 * config/tc-i386.h (processor_type): Same.
1444 * doc/c-i386.texi: Change amdfam15 to bdver1.
1446 2010-01-29 Nick Clifton <nickc@redhat.com>
1449 * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
1452 2010-01-27 Dave Korn <dave.korn.cygwin@gmail.com>
1454 * NEWS: Mention new feature.
1455 * config/obj-coff.c (obj_coff_section): Accept digits and use
1456 to override default section alignment power if specified.
1457 * doc/as.texinfo (.section directive): Update documentation.
1459 2010-01-27 H.J. Lu <hongjiu.lu@intel.com>
1461 * config/tc-i386.c (avxscalar): New.
1462 (OPTION_MAVXSCALAR): Likewise.
1463 (build_vex_prefix): Select vector_length for scalar instructions
1465 (md_longopts): Add OPTION_MAVXSCALAR.
1466 (md_parse_option): Handle OPTION_MAVXSCALAR.
1467 (md_show_usage): Add -mavxscalar=.
1469 * doc/c-i386.texi: Document -mavxscalar=.
1471 2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
1473 * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
1476 2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
1478 * write.h (fix_at_start): Declare.
1479 * write.c (fix_new_internal): Add at_beginning parameter.
1480 Use it instead of REVERSE_SORT_RELOCS. Fix the handling of
1481 seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
1482 (fix_new, fix_new_exp): Update accordingly.
1483 (fix_at_start): New function.
1484 * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
1485 (ppc_ref): New function, for OBJ_XCOFF.
1486 (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
1487 * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
1489 2010-01-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1491 * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
1492 on 64-bit Solaris/x86.
1493 Include obj-format.h earlier.
1495 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1497 * config/tc-s390.c (s390_elf_final_processing): New function.
1498 * config/tc-s390.h (elf_tc_final_processing): New macro definition.
1499 (s390_elf_final_processing): Added prototype.
1502 2010-01-20 Nick Clifton <nickc@redhat.com>
1505 * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1. Add
1506 code to handle round-to-zero for VCVT conversions.
1507 (do_neon_cvt): New. Call do_neon_cvt_1.
1508 (do_neon_cvtr): New. Call do_neon_cvt_1.
1509 (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
1512 2010-01-18 Tristan Gingold <gingold@adacore.com>
1514 * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
1516 2010-01-15 Sebastian Pop <sebastian.pop@amd.com>
1518 * config/tc-i386.c (md_assemble): Before accessing the IMM field
1519 check that it's not an XOP insn.
1521 2010-01-14 Jie Zhang <jie.zhang@analog.com>
1523 * config/bfin-aux.h: Remove argument names in function
1525 * config/bfin-lex.l (parse_int): Fix shadowed variable name
1527 * config/bfin-parse.y (value_match): Remove argument names
1529 (notethat): Likewise.
1530 (yyerror): Likewise.
1532 2010-01-13 Daniel Jacobowitz <dan@codesourcery.com>
1534 * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
1536 2010-01-13 Nick Clifton <nickc@redhat.com>
1538 * config/tc-h8300.c (h8300_elf_section): New function - issue a
1539 warning message if a new section is created without setting any
1541 (md_pseudo_table): Intercept section creation pseudos.
1542 (md_pcrel_from): Replace abort with an error message.
1543 * config/obj-elf.c (obj_elf_section_name): Export this function.
1544 * config/obj-elf.h (obj_elf_section_name): Prototype.
1546 2010-01-12 Alan Modra <amodra@gmail.com>
1549 * listing.c (print_source): Add one to line number.
1551 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1553 * Makefile.in: Regenerate.
1554 * configure: Regenerate.
1555 * doc/Makefile.in: Regenerate.
1557 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
1559 * version.c (parse_args): Change to "Copyright 2010".
1561 2010-01-06 Quentin Neill <quentin.neill@amd.com>
1563 * config/tc-i386.c (cpu_arch): Add amdfam15.
1564 (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
1565 * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
1566 * doc/c-i386.texi: Add amdfam15.
1568 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1570 * config/tc-arm.c (do_neon_logic): Accept imm value
1571 in the third operand too.
1572 (operand_parse_code): OP_RNDQ_IMVNb renamed to
1574 (parse_operands): OP_NILO case removed, applied renaming.
1575 (insns): Neon shape changed for some logic instructions.
1577 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1579 * config/tc-arm.c (do_neon_ldx_stx): Added
1580 validation for vector load/store insns.
1582 2010-01-04 Edmar Wienskoski <edmar@freescale.com>
1584 * config/tc-ppc.c (md_show_usage): Document -me500mc64.
1586 2010-01-03 Daniel Gutson <dgutson@codesourcery.com>
1588 * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
1589 (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
1590 (NEON_ENCODE): New macro.
1591 (check_neon_suffixes): New macro.
1592 (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
1593 (do_vfp_nsyn_opcode): Likewise.
1594 (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
1595 (do_vfp_nsyn_cmp): Likewise.
1596 (do_neon_shl_imm): Likewise.
1597 (do_neon_qshl_imm): Likewise.
1598 (neon_dyadic_misc): Likewise.
1599 (do_neon_mac_maybe_scalar): Likewise.
1600 (do_neon_qdmulh): Likewise.
1601 (do_neon_qmovn): Likewise.
1602 (do_neon_qmovun): Likewise.
1603 (do_neon_movn): Likewise.
1604 (neon_mac_reg_scalar_long): Likewise.
1605 (do_neon_vmull): Likewise.
1606 (do_neon_trn): Likewise.
1607 (do_neon_ldx_stx): Likewise.
1608 (neon_dp_fixup): Changed signature and set the flag.
1609 (neon_three_same): Call the above with new signature.
1610 (neon_two_same): Likewise.
1611 (neon_imm_shift): Likewise.
1612 (neon_mul_mac): Likewise.
1613 (do_neon_abs_neg): Likewise.
1614 (neon_mixed_length): Likewise.
1615 (do_neon_ext): Likewise.
1616 (do_neon_mov): Likewise.
1617 (do_neon_tbl_tbx): Likewise.
1618 (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
1619 (neon_compare): Likewise.
1620 (do_neon_shll): Likewise.
1621 (do_neon_cvt): Likewise.
1622 (do_neon_mvn): Likewise.
1623 (do_neon_dup): Likewise.
1624 (md_assemble): Call check_neon_suffixes ().
1626 For older changes see ChangeLog-2009
1632 version-control: never