1 2010-06-28 Alan Modra <amodra@gmail.com>
3 * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define.
4 * config/tc-crx.c (gettrap): Constify arg.
5 (handle_LoadStor, get_cinv_parameters): Likewise.
6 (getreg_image): Fix enum warning
7 (md_assemble): Restore input line char.
8 * config/tc-hppa.c (tc_gen_reloc): Fix enum warning.
9 * config/tc-i960.c (mem_fmt): Rename var to fix shadow warning.
10 * config/tc-sh.c (sh_fdpic): Only define when OBJ_ELF.
11 (build_Mytes): Fix build failure for non-elf targets.
12 * config/tc-tic4x.c (tic4x_eval): Restore terminator char.
13 * config/tc-xtensa.c (xtensa_end_directive): Fix switch enum warning.
15 * cgen.c (gas_cgen_md_apply_fix): Avoid set but unused warning.
16 * ecoff.c (add_ecoff_symbol): Likewise.
17 * itbl-ops.c (append_insns_as_macros): Likewise.
18 * listing.c (debugging_pseudo): Likewise.
19 * read.c (s_mri_common, stringer): Likewise.
20 * config/obj-coff.c (coff_frob_section): Likewise.
21 * config/tc-alpha.c (emit_ldgp, s_alpha_proc): Likewise.
22 * config/tc-arm.c (my_get_expression): Likewise.
23 * config/tc-hppa.c (process_exit, pa_type_args): Likewise.
24 * config/tc-m32c.c (md_assemble): Likewise.
25 * config/tc-microblaze.c (md_convert_frag): Likewise.
26 * config/tc-mips.c (s_change_section): Likewise.
27 * config/tc-mt.c (mt_fix_adjustable): Likewise.
28 * config/tc-xtensa.c (xtensa_literal_pseudo): Likewise.
30 * config/obj-aout.c (obj_aout_frob_symbol): Delete set but otherwise
32 * config/tc-alpha.c (load_expression): Likewise.
33 (s_alpha_rdata, s_alpha_section, s_alpha_prologue): Likewise.
34 * config/tc-arm.c (parse_neon_el_struct_list): Likewise.
35 * config/tc-avr.c (extract_word): Likewise.
36 * config/tc-cris.c (cris_get_expression): Likewise.
37 * config/tc-d30v.c (build_insn, find_format): Likewise.
38 * config/tc-dlx.c (machine_ip): Likewise.
39 * config/tc-hppa.c (pa_get_absolute_expression): Likewise.
40 * config/tc-i370.c (md_assemble): Likewise.
41 * config/tc-i960.c (brtab_emit): Likewise.
42 * config/tc-iq2000.c (s_iq2000_ent): Likewise.
43 * config/tc-m32c.c (md_convert_frag): Likewise.
44 * config/tc-m68hc11.c (fixup24, build_jump_insn): Likewise.
45 (md_estimate_size_before_relax, md_apply_fix): Likewise.
46 * config/tc-m68k.c (md_show_usage): Likewise.
47 * config/tc-microblaze.c (microblaze_s_lcomm): Likewise.
48 * config/tc-mips.c (s_mips_end): Likewise.
49 * config/tc-mmix.c (mmix_byte, mmix_cons): Likewise.
50 * config/tc-mn10300.c (md_assemble): Likewise.
51 * config/tc-msp430.c (extract_word): Likewise.
52 * config/tc-mt.c (md_assemble): Likewise.
53 * config/tc-or32.c (machine_ip): Likewise.
54 * config/tc-pj.c (md_apply_fix): Likewise.
55 * config/tc-s390.c (md_gather_operands): Likewise.
56 * config/tc-sh.c (sh_cons_align): Likewise.
57 * config/tc-sparc.c (sparc_cons_align): Likewise.
58 * config/tc-tic4x.c (tic4x_sect): Likewise.
59 * config/tc-tic54x.c (tic54x_stringer): Likewise.
60 * config/tc-vax.c (vip_op): Likewise.
61 * config/tc-xstormy16.c (xstormy16_cons_fix_new): Likewise.
62 * config/tc-xtensa.c (md_assemble): Likewise.
63 (xtensa_fix_short_loop_frags, convert_frag_immed): Likewise.
64 (xtensa_move_literals): Likewise.
66 2010-06-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
68 * config/tc-arm.c (parse_neon_alignment): New function.
69 (parse_address_main): Fix Neon load/store alignment parsing.
71 2010-06-22 Jan Beulich <jbeulich@novell.com>
74 * config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo
76 (i386_intel_operand): Remove bogus handling of pseudo symbols
78 * expr.c (current_location): Remove 'static' and local
80 * expr.h (current_location): Declare.
82 2010-06-21 Sterling Augustine <sterling@tensilica.com>
85 * as.c: Globalize keep_it.
86 (main): Remove keep_it. Move conditional from here...
87 (close_output_file): ...to here.
89 2010-06-21 Andreas Schwab <schwab@redhat.com>
91 * doc/as.texinfo (Overview): Use @itemx for grouped @table
93 * doc/c-alpha.texi (Alpha Options): Likewise.
94 * doc/c-arm.texi (ARM Directives): Likewise.
95 * doc/c-bfin.texi (Blackfin Options): Likewise.
96 * doc/c-d10v.texi (D10V-Opts): Likewise.
97 * doc/c-i386.texi (i386-Options): Likewise.
98 * doc/c-ia64.texi (IA-64 Options): Likewise.
99 * doc/c-m68k.texi (M68K-Opts): Likewise.
100 * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
101 * doc/internals.texi (Symbols): Likewise.
103 2010-06-21 Alan Modra <amodra@gmail.com>
106 * config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
108 2010-06-18 Joseph Myers <joseph@codesourcery.com>
110 * config/tc-tic6x.h (tic6x_segment_info_type): Add field
112 * config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
113 (md_assemble): Clear func_units_used for new execute packet.
114 Check for duplicate functional units and update func_units_used
115 for instructions using a functional unit.
117 2010-06-15 Joseph Myers <joseph@codesourcery.com>
119 * config/tc-tic6x.c: Include elf/tic6x.h.
120 (tic6x_arch_attribute, tic6x_seen_insns): New.
121 (tic6x_arch_table, tic6x_arches): Add attribute values.
122 (tic6x_use_arch): Handle attribute settings.
123 (tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
124 tic6x_attribute_table, tic6x_attributes,
125 tic6x_convert_symbolic_attribute): New.
126 (md_pseudo_table): Add c6xabi_attribute.
127 (md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
128 (tic6x_set_attribute_int, tic6x_set_attributes): New.
129 (tic6x_end): Call tic6x_set_attributes.
130 * config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
131 (tic6x_convert_symbolic_attribute): Declare.
133 2010-06-14 Alan Modra <amodra@gmail.com>
135 * config/tc-ppc.c (md_assemble): Emit APUinfo section for
138 2010-06-11 Jan Beulich <jbeulich@novell.com>
140 * config/tc-i386.c (md_parse_option): Ignore impossible processor
142 (show_arch): New parameter 'check'.
143 (md_show_usage): Adjust calls to show_arch().
145 2010-06-10 H.J. Lu <hongjiu.lu@intel.com>
147 * config/tc-i386.c (update_code_flag): New.
148 (set_code_flag): Use it.
149 (i386_target_format): Replace set_code_flag with update_code_flag.
151 2010-06-10 Tristan Gingold <gingold@adacore.com>
153 * config/obj-som.h: Includes som/reloc.h
155 2010-06-10 Jan Beulich <jbeulich@novell.com>
157 * config/tc-i386.c (cpu_arch): Add comment.
158 (i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
159 from the generic entries of cpu_arch[].
161 2010-06-08 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
163 * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
165 (parse_operands): Add support for OP_RRnpctw.
166 (insns): Update floating-point load/store multiples so the
167 first register is of type OP_RRnpctw.
169 2010-06-08 Quentin Neill <quentin.neill@amd.com>
171 * config/tc-i386.c (pi): Rename local loop counter
172 variable i that shadows global static i386_insn i
173 when DEBUG386 is defined.
176 2010-06-08 Nick Clifton <nickc@redhat.com>
178 * doc/as.texinfo: Replace abbreviated 20th century year numbers
181 2010-06-02 Quentin Neill <quentin.neill@amd.com>
183 * config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
185 2010-06-02 Tristan Gingold <gingold@adacore.com>
187 * as.h: Remove conditionnal definition of HAVE_STDARG_H,
188 USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
189 Remove conditionnal inclusion of stdarg.h and varargs.h.
191 * config.in: Regenerate.
192 * configure: Regenerate.
193 * configure.in: Remove stdarg.h and varargs.h from
194 AC_CHECK_HEADERS list.
195 * messages.c (as_tsktsk): Remove non ISO C version.
196 (as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
198 2010-05-31 Tristan Gingold <gingold@adacore.com>
200 * config/tc-alpha.c: Add comments for evax.
201 * config/obj-evax.c: Ditto.
203 2010-05-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
205 * config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
208 2010-05-27 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
210 * config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
211 writeback when base register is in register list an error, and
213 (do_t_ldmstm): Change warnings.
215 2010-05-26 Catherine Moore <clm@codesourcery.com>
217 * config/tc-mips.c (is_opcode_valid): Remove expansionp.
218 (macro_build): Change invocation of is_opcode_valid.
221 2010-05-25 Nick Clifton <nickc@redhat.com>
223 * Makefile.am (MOSTLYCLEANFILES): Fix typo.
224 * Makefile.in: Regenerate.
226 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
227 Joseph Myers <joseph@codesourcery.com>
228 Andrew Stubbs <ams@codesourcery.com>
230 * config/tc-sh.c (sh_fdpic): New.
231 (sh_check_fixup): Handle relocations on movi20.
232 (parse_exp): Do not reject PIC operators here.
233 (build_Mytes): Check for unhandled PIC operators here. Use
234 sh_check_fixup for movi20.
235 (enum options): Add OPTION_FDPIC.
236 (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
237 (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
238 (sh_elf_final_processing): Handle --fdpic.
239 (sh_uclinux_target_format): New.
240 (sh_parse_name): Handle FDPIC relocation operators.
241 * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
242 (sh_uclinux_target_format): Declare for TE_UCLINUX.
243 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
245 * doc/c-sh.texi (SH Options): Document --fdpic.
247 2010-05-25 Jay Krell <jay.krell@cornell.edu>
250 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
251 * Makefile.in: Regenerate.
253 2010-05-25 Alan Modra <amodra@gmail.com>
255 * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
257 2010-05-19 Nick Clifton <nickc@redhat.com>
259 * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
260 of known section prefixes.
262 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
265 * obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
266 (obj_elf_parse_section_letters): Likewise.
267 (obj_elf_section_word): Likewise.
269 * config/tc-ppc.c (ppc_section_letter): Removed.
270 (ppc_section_word): Likewise.
271 * config/tc-ppc.h (ppc_section_letter): Likewise.
272 (ppc_section_word): Likewise.
273 (md_elf_section_letter): Likewise.
274 (md_elf_section_word): Likewise.
276 * doc/as.texinfo: Document `e' and `#exclude'.
278 2010-05-13 Nathan Sidwell <nathan@codesourcery.com>
280 * config/tc-arm.c (md_assemble): Clarify current mode in error
281 messages about unsupported instructions.
282 (UT): Delete #define.
283 (insns): Adjust cbnz, cbz appropriately.
285 2010-05-11 Andrew Stubbs <ams@codesourcery.com>
287 * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
289 2010-05-11 Jie Zhang <jie@codesourcery.com>
291 * config/tc-arm.c (aeabi_set_public_attributes): Set
292 Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
294 2010-05-07 Tristan Gingold <gingold@adacore.com>
296 * Makefile.in: Regenerate with automake 1.11.1.
298 * doc/Makefile.in: Ditto.
300 2010-05-05 Nick Clifton <nickc@redhat.com>
302 * po/es.po: Updated Spanish translation.
304 2010-05-05 Julian Brown <julian@codesourcery.com>
306 * read.c (cons_worker): Detect and reject unexpected string argument.
308 2010-05-04 Nick Clifton <nickc@redhat.com>
310 * write.c (fixup_segment): Revert previous delta.
311 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
312 generation of relocations for fixups against weak symbols.
314 2010-04-29 Nathan Sidwell <nathan@codesourcery.com>
316 * write.c (fixup_segment): Do not assume we know the section a
317 defined weak symbol is in.
318 * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
319 weak symbols as not known to be in the same section, even if they
322 2010-04-27 Joseph Myers <joseph@codesourcery.com>
324 * config/tc-tic6x.h (tic6x_label_list): New.
325 (tic6x_segment_info_type): Keep a list of labels and a current
326 frag instead of a boolean for whether labels seen and a count of
328 (tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
329 md_do_align, tic6x_do_align, md_end, tic6x_end): New.
330 * config/tc-tic6x.c (tic6x_frob_label): Put label on list.
331 (tic6x_cleanup): Correct comment.
332 (tic6x_free_label_list): New.
333 (tic6x_cons_align): Free label list and update for
334 tic6x_segment_info_type changes.
335 (tic6x_do_align): New.
336 (md_assemble): Handle list of labels and saved frag for execute
337 packet. Create machine-dependent frag for new execute packet and
338 adjust labels accordingly.
339 (tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
340 (md_convert_frag, md_estimate_size_before_relax): Update comments.
342 2010-04-24 H.J. Lu <hongjiu.lu@intel.com>
345 * config/tc-i386-intel.c (intel_state): Add is_indirect.
346 (i386_intel_operand): Initialize intel_state.is_indirect. Check
347 intel_state.is_indirect for "call|jmp [symbol]".
349 2010-04-22 Nick Clifton <nickc@redhat.com>
351 * po/gas.pot: Updated by the Translation project.
353 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
355 * config/tc-i386.c (i386_is_register): Removed.
356 (x86_cons): Don't use i386_is_register.
357 (parse_register): Likewise.
358 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
359 (i386_intel_operand): Likewise.
361 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
363 * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
366 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
368 * config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
370 (parse_register): Likewise.
371 (tc_x86_parse_to_dw2regnum): Likewise.
372 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
373 (i386_intel_operand): Likewise.
375 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
378 * config/tc-i386-intel.c (i386_intel_simplify_register): New.
379 (i386_intel_simplify): Use i386_is_register and
380 i386_intel_simplify_register. Set X_md for O_register and
381 check X_md for O_constant.
382 (i386_intel_operand): Use i386_is_register.
384 * config/tc-i386.c (i386_is_register): New.
385 (x86_cons): Initialize the X_md field. Use i386_is_register.
386 (parse_register): Use i386_is_register.
387 (tc_x86_parse_to_dw2regnum): Likewise.
389 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
391 * expr.c (expr): Initialize the X_md field.
393 2010-04-20 Joseph Myers <joseph@codesourcery.com>
395 * config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
396 (md_longopts): Add -mgenerate-rel.
397 (tic6x_generate_rela): New.
398 (md_parse_option): Handle -mgenerate-rel.
399 (md_show_usage): Add comment that -mgenerate-rel is undocumented.
400 (tic6x_init_after_args): New.
401 (md_apply_fix): Correct shift calculations for SB-relative
403 (md_pcrel_from): Change to tic6x_pcrel_from_section. Do not
404 adjust addresses for relocations referencing symbols in other
406 (tc_gen_reloc): Adjust addend calculations for REL relocations.
407 * config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
408 tic6x_pcrel_from_section, tc_init_after_args,
409 tic6x_init_after_args): New.
411 2010-04-20 Nick Clifton <nickc@redhat.com>
414 * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
415 altmacro mode if found inside a quoted string.
417 2010-04-20 Mike Frysinger <vapier@gentoo.org>
419 * config/bfin-lex.l (parse_int): Change index() to strchr().
421 2010-04-16 Nick Clifton <nickc@redhat.com>
424 * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
425 matcher to accept and unconditional 32-bit add instruction.
426 (pa_build_unwind_subspace): Cope with error conditions not
427 allowing the start symbol to be set.
429 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
431 * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
432 new tag names in v2.08 of ARM ABI.
433 * doc/c-arm.texi: Document new tag names in ABI.
435 2010-04-14 Tristan Gingold <gingold@adacore.com>
437 * config/tc-alpha.c: Includes vms/egps.h on EVAX.
438 (s_alpha_comm): Used new EGPS macros from egps.h
439 (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
440 (s_alpha_section_word): Add comments. Use new EGPS macros.
441 Adjust for modified bfd_vms_set_section_flags function.
443 2010-04-10 Alan Modra <amodra@gmail.com>
446 * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
448 2010-04-09 Nick Clifton <nickc@redhat.com>
450 * as.c (create_obj_attrs_section): Remove unused variable addr.
451 * listing.c (listing_listing): Remove unused variable message.
452 * read.c: Remove unnecessary register type qualifiers.
453 (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
456 2010-04-07 Eric B. Weddington <eric.weddington@atmel.com>
458 * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
459 atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
460 atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
461 atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
462 atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
463 atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
464 atmega88pa, attiny461a, attiny84a, m3000.
465 Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
466 atmega8hvd, attiny327, m3000f, m3000s, m3001b.
467 * doc/c-avr.texi: Same.
469 2010-04-07 Jie Zhang <jie@codesourcery.com>
471 * config/tc-arm.c (make_mapping_symbol): Handle the case
472 that multiple mapping symbols have the same value 0.
474 2010-04-07 Alan Modra <amodra@gmail.com>
476 * configure: Regenerate.
478 2010-04-06 Nick Clifton <nickc@redhat.com>
480 * po/ru.po: New Russian translation.
481 * configure.in (ALL_LINGUAS): Add ru.
482 * configure: Regenerate.
484 2010-03-30 H.J. Lu <hongjiu.lu@intel.com>
487 * input-scrub.c (input_scrub_next_buffer): Use memmove instead
488 of memcpy to copy overlap memory.
490 2010-03-25 Joseph Myers <joseph@codesourcery.com>
492 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
493 (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
494 * Makefile.in: Regenerate.
495 * NEWS: Add news entry for TI C6X support.
496 * app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle
497 TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in
498 operands if TC_KEEP_OPERAND_SPACES.
499 * configure.tgt (tic6x-*-*): New.
500 * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
501 TC_PREDICATE_END_CHAR): Define.
502 * config/tc-tic6x.c, config/tc-tic6x.h: New.
503 * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
504 * doc/Makefile.in: Regenerate.
505 * doc/all.texi (TIC6X): Define.
506 * doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi.
507 * doc/c-tic6x.texi: New.
509 2010-03-22 H.J. Lu <hongjiu.lu@intel.com>
511 * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
513 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
515 * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
516 with operand_size_mismatch.
517 (operand_size_match): Updated.
518 (match_template): Likewise.
520 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
522 * config/tc-i386.c (i386_error): New.
523 (_i386_insn): Replace err_msg with error.
524 (operand_size_match): Set error instead of err_msg on failure.
525 (operand_type_match): Likewise.
526 (operand_type_register_match): Likewise.
527 (VEX_check_operands): Likewise.
528 (match_template): Likewise. Use error instead of err_msg with
531 2010-03-19 Jie Zhang <jie@codesourcery.com>
533 * config/tc-arm.c (make_mapping_symbol): Hanle the case
534 that two mapping symbols have the same value.
536 2010-03-18 Daniel Jacobowitz <dan@codesourcery.com>
538 * doc/c-arm.texi (.setfp): Correct example.
540 2010-03-18 Wei Guozhi <carrot@google.com>
543 * config/tc-arm.c (reloc_names): New relocation names.
544 (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
545 (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
546 * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
548 2010-03-15 Thomas Schwinge <thomas@codesourcery.com>
550 * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
551 cases, and not only for .eh_frame.
553 * dw2gencfi.c (output_cie): Make it more explicit which code paths
554 belong to .eh_frame only.
556 2010-03-13 Segher Boessenkool <segher@kernel.crashing.org>
558 * config/tc-v850.c (v850_insert_operand): Handle out-of-range
559 assembler constants on 64-bit hosts.
561 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
563 * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
564 Strip trailing whitespace.
566 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
568 * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
569 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
571 (bfin_cpus[]): Add 0.0 for bf504 and bf506.
573 2010-03-10 Jie Zhang <jie@codesourcery.com>
575 * doc/as.texinfo: Add Blackfin options.
576 * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
577 * config/tc-bfin.c (md_show_usage): Show usage for all
578 Blackfin specific options.
580 2010-03-09 Alan Modra <amodra@gmail.com>
583 * listing.c (listing_newline): Correct backslash quote logic.
585 2010-03-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
587 * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
588 (ELF_TARGET_FORMAT64): Define.
590 2010-03-05 Paul Brook <paul@codesourcery.com>
592 * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
594 2010-03-02 Andrew Stubbs <ams@codesourcery.com>
596 * config/tc-sh.c (get_specific): Move overflow checking code to avoid
597 reading uninitialized data.
599 2010-03-01 Tristan Gingold <gingold@adacore.com>
601 * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
603 2010-02-26 Doug Evans <dje@sebabeach.org>
605 * configure.tgt: Fix mep cpu case.
607 2010-02-26 Jie Zhang <jie@codesourcery.com>
609 * config/tc-arm.c (do_t_strexd): Remove
610 operand[1] != operand[2] contraint.
612 2010-02-26 Jie Zhang <jie@codesourcery.com>
614 * config/tc-arm.c (neon_select_shape): No need to match
615 the remaining operands in the shape when one operand does
618 2010-02-26 Jie Zhang <jie@codesourcery.com>
620 * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
623 2010-02-25 Doug Evans <dje@sebabeach.org>
625 * cgen.c: Whitespace fixes.
626 (weak_operand_overflow_check): Formatting fix.
628 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
630 * config/tc-i386.c (match_template): Update error messages.
632 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
634 * config/tc-i386.c (_i386_insn): Add err_msg.
635 (operand_size_match): Set err_msg on failure.
636 (operand_type_match): Likewise.
637 (operand_type_register_match): Likewise.
638 (VEX_check_operands): Likewise.
639 (match_template): Likewise. Use i.err_msg with as_bad.
641 2010-02-25 Wu Zhangjin <wuzhangjin@gmail.com>
643 * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
644 mips_fix_loongson2f_jump): New variables.
645 (md_longopts): Add New options -mfix-loongson2f-nop/jump,
646 -mno-fix-loongson2f-nop/jump.
647 (md_parse_option): Initialize variables via above options.
648 (options): New enums for the above options.
649 (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
650 (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
652 (append_insn): call fix_loongson2f().
653 (mips_handle_align): Replace the implicit nops.
654 * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
655 for the new mips_handle_align().
656 * doc/c-mips.texi: Document the new options.
658 2010-02-23 Daniel Gutson <dgutson@codesourcery.com>
660 * config/tc-arm.c (do_rd_rm_rn): Added warning
663 2010-02-23 Andrew Zabolotny <anpaza@mail.ru>
666 * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
667 (avr_cons_fix_new): Handle fixups of a single byte.
669 2010-02-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
672 * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
673 compiler's predefines.
675 2010-02-19 Alan Modra <amodra@gmail.com>
677 * configure.tgt: Whiltespace. Sort moxie entry.
679 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
681 * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
682 * doc/c-arm.texi: Likewise.
684 2010-02-12 Daniel Gutson <dgutson@codesourcery.com>
686 * config/tc-arm.c (asm_opcode): operands type
688 (BAD_PC_ADDRESSING): New macro message.
689 (BAD_PC_WRITEBACK): Likewise.
690 (MIX_ARM_THUMB_OPERANDS): New macro.
691 (operand_parse_code): Added enum values.
692 (parse_operands): Added thumb/arm distinction,
693 plus new enum values handling.
694 (encode_arm_addr_mode_2): Validations enhanced.
695 (encode_arm_addr_mode_3): Likewise.
696 (do_rm_rd_rn): Likewise.
697 (encode_thumb32_addr_mode): Likewise.
698 (do_t_ldrex): Likewise.
699 (do_t_ldst): Likewise.
700 (do_t_strex): Likewise.
701 (md_assemble): Call parse_operands with
709 (insns): Updated insns operands.
711 2010-02-12 Tristan Gingold <gingold@adacore.com>
712 Douglas B Rupp <rupp@gnat.com>
714 * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
715 (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
716 (pseudo_func): Add an entry for slotcount.
717 (md_begin): Initialize slotcount pseudo symbol.
718 (ia64_parse_name): Handle @slotcount parameter.
719 (ia64_gen_real_reloc_type): Handle slotcount.
720 (md_apply_fix): Ditto.
721 * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
723 2010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com>
725 * config/tc-xtensa.c (istack_init): Don't call memset.
727 2010-02-11 Sterling Augustine <sterling@tensilica.com>
729 * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
732 2010-02-11 Sterling Augustine <sterling@tensilica.com>
734 * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
736 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
738 * config/tc-i386.c (build_modrm_byte): Reformat.
740 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
742 * config/tc-i386.c: Update copyright.
744 2010-02-10 Quentin Neill <quentin.neill@amd.com>
745 Sebastian Pop <sebastian.pop@amd.com>
747 * config/tc-i386.c (vec_imm4) New operand type.
749 (VEX_check_operands): New.
750 (check_reverse): Call VEX_check_operands.
751 (build_modrm_byte): Reintroduce code for 5
752 operand insns. Fix whitespace.
754 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
756 * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
759 2010-02-09 Sterling Augustine <sterling@tensilica.com>
761 * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
762 (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
763 (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
765 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
767 * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
768 non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
769 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
770 BFD_RELOC_ARM_PCREL_CALL)
772 2010-02-08 Sterling Augustine <sterling@tensilica.com>
774 * config/tc-xtensa.c (frag_format_size): Generalize logic to
775 handle more instruction sizes and fetch widths.
776 (branch_align_power): Likewise.
777 (text_align_power): Likewise.
778 (bytes_to_stretch): Likewise.
780 2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
782 * config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs.
783 (ppc_mach): Handle titan.
784 * doc/c-ppc.texi: Mention -mtitan.
786 2010-02-05 Sterling Augustine <sterling@tensilica.com>
788 * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
790 (xtensa_fetch_width) ...this.
792 2010-02-05 Joseph Myers <joseph@codesourcery.com>
794 * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
795 MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
796 * Makefile.in: Regenerate.
798 2010-02-03 Quentin Neill <quentin.neill@amd.com>
800 * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
801 (i386_align_code): Rename PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
802 * config/tc-i386.h (processor_type): Same.
803 * doc/c-i386.texi: Change amdfam15 to bdver1.
805 2010-01-29 Nick Clifton <nickc@redhat.com>
808 * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
811 2010-01-27 Dave Korn <dave.korn.cygwin@gmail.com>
813 * NEWS: Mention new feature.
814 * config/obj-coff.c (obj_coff_section): Accept digits and use
815 to override default section alignment power if specified.
816 * doc/as.texinfo (.section directive): Update documentation.
818 2010-01-27 H.J. Lu <hongjiu.lu@intel.com>
820 * config/tc-i386.c (avxscalar): New.
821 (OPTION_MAVXSCALAR): Likewise.
822 (build_vex_prefix): Select vector_length for scalar instructions
824 (md_longopts): Add OPTION_MAVXSCALAR.
825 (md_parse_option): Handle OPTION_MAVXSCALAR.
826 (md_show_usage): Add -mavxscalar=.
828 * doc/c-i386.texi: Document -mavxscalar=.
830 2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
832 * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
835 2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
837 * write.h (fix_at_start): Declare.
838 * write.c (fix_new_internal): Add at_beginning parameter.
839 Use it instead of REVERSE_SORT_RELOCS. Fix the handling of
840 seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
841 (fix_new, fix_new_exp): Update accordingly.
842 (fix_at_start): New function.
843 * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
844 (ppc_ref): New function, for OBJ_XCOFF.
845 (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
846 * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
848 2010-01-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
850 * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
851 on 64-bit Solaris/x86.
852 Include obj-format.h earlier.
854 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
856 * config/tc-s390.c (s390_elf_final_processing): New function.
857 * config/tc-s390.h (elf_tc_final_processing): New macro definition.
858 (s390_elf_final_processing): Added prototype.
861 2010-01-20 Nick Clifton <nickc@redhat.com>
864 * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1. Add
865 code to handle round-to-zero for VCVT conversions.
866 (do_neon_cvt): New. Call do_neon_cvt_1.
867 (do_neon_cvtr): New. Call do_neon_cvt_1.
868 (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
871 2010-01-18 Tristan Gingold <gingold@adacore.com>
873 * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
875 2010-01-15 Sebastian Pop <sebastian.pop@amd.com>
877 * config/tc-i386.c (md_assemble): Before accessing the IMM field
878 check that it's not an XOP insn.
880 2010-01-14 Jie Zhang <jie.zhang@analog.com>
882 * config/bfin-aux.h: Remove argument names in function
884 * config/bfin-lex.l (parse_int): Fix shadowed variable name
886 * config/bfin-parse.y (value_match): Remove argument names
888 (notethat): Likewise.
891 2010-01-13 Daniel Jacobowitz <dan@codesourcery.com>
893 * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
895 2010-01-13 Nick Clifton <nickc@redhat.com>
897 * config/tc-h8300.c (h8300_elf_section): New function - issue a
898 warning message if a new section is created without setting any
900 (md_pseudo_table): Intercept section creation pseudos.
901 (md_pcrel_from): Replace abort with an error message.
902 * config/obj-elf.c (obj_elf_section_name): Export this function.
903 * config/obj-elf.h (obj_elf_section_name): Prototype.
905 2010-01-12 Alan Modra <amodra@gmail.com>
908 * listing.c (print_source): Add one to line number.
910 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
912 * Makefile.in: Regenerate.
913 * configure: Regenerate.
914 * doc/Makefile.in: Regenerate.
916 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
918 * version.c (parse_args): Change to "Copyright 2010".
920 2010-01-06 Quentin Neill <quentin.neill@amd.com>
922 * config/tc-i386.c (cpu_arch): Add amdfam15.
923 (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
924 * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
925 * doc/c-i386.texi: Add amdfam15.
927 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
929 * config/tc-arm.c (do_neon_logic): Accept imm value
930 in the third operand too.
931 (operand_parse_code): OP_RNDQ_IMVNb renamed to
933 (parse_operands): OP_NILO case removed, applied renaming.
934 (insns): Neon shape changed for some logic instructions.
936 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
938 * config/tc-arm.c (do_neon_ldx_stx): Added
939 validation for vector load/store insns.
941 2010-01-04 Edmar Wienskoski <edmar@freescale.com>
943 * config/tc-ppc.c (md_show_usage): Document -me500mc64.
945 2010-01-03 Daniel Gutson <dgutson@codesourcery.com>
947 * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
948 (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
949 (NEON_ENCODE): New macro.
950 (check_neon_suffixes): New macro.
951 (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
952 (do_vfp_nsyn_opcode): Likewise.
953 (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
954 (do_vfp_nsyn_cmp): Likewise.
955 (do_neon_shl_imm): Likewise.
956 (do_neon_qshl_imm): Likewise.
957 (neon_dyadic_misc): Likewise.
958 (do_neon_mac_maybe_scalar): Likewise.
959 (do_neon_qdmulh): Likewise.
960 (do_neon_qmovn): Likewise.
961 (do_neon_qmovun): Likewise.
962 (do_neon_movn): Likewise.
963 (neon_mac_reg_scalar_long): Likewise.
964 (do_neon_vmull): Likewise.
965 (do_neon_trn): Likewise.
966 (do_neon_ldx_stx): Likewise.
967 (neon_dp_fixup): Changed signature and set the flag.
968 (neon_three_same): Call the above with new signature.
969 (neon_two_same): Likewise.
970 (neon_imm_shift): Likewise.
971 (neon_mul_mac): Likewise.
972 (do_neon_abs_neg): Likewise.
973 (neon_mixed_length): Likewise.
974 (do_neon_ext): Likewise.
975 (do_neon_mov): Likewise.
976 (do_neon_tbl_tbx): Likewise.
977 (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
978 (neon_compare): Likewise.
979 (do_neon_shll): Likewise.
980 (do_neon_cvt): Likewise.
981 (do_neon_mvn): Likewise.
982 (do_neon_dup): Likewise.
983 (md_assemble): Call check_neon_suffixes ().
985 For older changes see ChangeLog-2009
991 version-control: never