gas/:
[binutils-gdb.git] / gas / ChangeLog
1 2010-07-03 Andreas Schwab <schwab@linux-m68k.org>
2
3 * config/tc-ppc.c (ppc_set_cpu): Cast PPC_OPCODE_xxx to ppc_cpu_t
4 before inverting.
5
6 2010-07-03 Alan Modra <amodra@gmail.com>
7
8 * config/tc-ppc.c (ppc_set_cpu): Remove old opcode flags.
9 (ppc_setup_opcodes): Likewise. Simplify opcode selection.
10
11 2010-07-02 DJ Delorie <dj@redhat.com>
12
13 * config/tc-rx.h (md_do_align): New.
14 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
15 * config/tc-rx.c (nops): New.
16 (rx_handle_align): Use various sized nops to align code.
17
18 * config/tc-rx.c (rx_bytesT): Add grown/shrank counters for
19 relaxation.
20 (rx_relax_frag): Prevent infinite loops of grow/shrink/grow/etc.
21
22 2010-07-01 H.J. Lu <hongjiu.lu@intel.com>
23
24 AVX Programming Reference (June, 2010)
25 * config/tc-i386.c (cpu_arch): Add .xsaveopt, .fsgsbase, .rdrnd
26 and .f16c.
27
28 * doc/c-i386.texi: Document xsaveopt, fsgsbase, rdrnd and f16c.
29
30 2010-07-01 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
31
32 * config/tc-arm.c (do_t_mov_cmp): Fix reporting of unpredictable and
33 deprecated mov register instructions.
34
35 2010-07-01 Alan Modra <amodra@gmail.com>
36
37 * config/tc-ppc.c (toc_reloc_types): New variable.
38 (md_assemble): Set it.
39 (ppc_frob_file_before_adjust): Don't warn about toc section size
40 if we have large toc relocs and no small toc relocs.
41
42 2010-06-29 Alan Modra <amodra@gmail.com>
43
44 * config/tc-moxie.c (md_apply_fix): Delete set but otherwise
45 unused variable.
46
47 2010-06-29 Alan Modra <amodra@gmail.com>
48
49 * config/tc-maxq.h: Delete file.
50 * config/tc-maxq.c: Delete file.
51 * Makefile.am: Remove references to maxq.
52 * configure.tgt: Likewise.
53 * config/obj-coff.h: Likewise.
54 * Makefile.in: Regenerate.
55 * configure: Regenerate.
56 * po/POTFILES.in: Regenerate.
57
58 2010-06-28 Alan Modra <amodra@gmail.com>
59
60 * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define.
61 * config/tc-crx.c (gettrap): Constify arg.
62 (handle_LoadStor, get_cinv_parameters): Likewise.
63 (getreg_image): Fix enum warning
64 (md_assemble): Restore input line char.
65 * config/tc-hppa.c (tc_gen_reloc): Fix enum warning.
66 * config/tc-i960.c (mem_fmt): Rename var to fix shadow warning.
67 * config/tc-sh.c (sh_fdpic): Only define when OBJ_ELF.
68 (build_Mytes): Fix build failure for non-elf targets.
69 * config/tc-tic4x.c (tic4x_eval): Restore terminator char.
70 * config/tc-xtensa.c (xtensa_end_directive): Fix switch enum warning.
71
72 * cgen.c (gas_cgen_md_apply_fix): Avoid set but unused warning.
73 * ecoff.c (add_ecoff_symbol): Likewise.
74 * itbl-ops.c (append_insns_as_macros): Likewise.
75 * listing.c (debugging_pseudo): Likewise.
76 * read.c (s_mri_common, stringer): Likewise.
77 * config/obj-coff.c (coff_frob_section): Likewise.
78 * config/tc-alpha.c (emit_ldgp, s_alpha_proc): Likewise.
79 * config/tc-arm.c (my_get_expression): Likewise.
80 * config/tc-hppa.c (process_exit, pa_type_args): Likewise.
81 * config/tc-m32c.c (md_assemble): Likewise.
82 * config/tc-microblaze.c (md_convert_frag): Likewise.
83 * config/tc-mips.c (s_change_section): Likewise.
84 * config/tc-mt.c (mt_fix_adjustable): Likewise.
85 * config/tc-xtensa.c (xtensa_literal_pseudo): Likewise.
86
87 * config/obj-aout.c (obj_aout_frob_symbol): Delete set but otherwise
88 unused vars.
89 * config/tc-alpha.c (load_expression): Likewise.
90 (s_alpha_rdata, s_alpha_section, s_alpha_prologue): Likewise.
91 * config/tc-arm.c (parse_neon_el_struct_list): Likewise.
92 * config/tc-avr.c (extract_word): Likewise.
93 * config/tc-cris.c (cris_get_expression): Likewise.
94 * config/tc-d30v.c (build_insn, find_format): Likewise.
95 * config/tc-dlx.c (machine_ip): Likewise.
96 * config/tc-hppa.c (pa_get_absolute_expression): Likewise.
97 * config/tc-i370.c (md_assemble): Likewise.
98 * config/tc-i960.c (brtab_emit): Likewise.
99 * config/tc-iq2000.c (s_iq2000_ent): Likewise.
100 * config/tc-m32c.c (md_convert_frag): Likewise.
101 * config/tc-m68hc11.c (fixup24, build_jump_insn): Likewise.
102 (md_estimate_size_before_relax, md_apply_fix): Likewise.
103 * config/tc-m68k.c (md_show_usage): Likewise.
104 * config/tc-microblaze.c (microblaze_s_lcomm): Likewise.
105 * config/tc-mips.c (s_mips_end): Likewise.
106 * config/tc-mmix.c (mmix_byte, mmix_cons): Likewise.
107 * config/tc-mn10300.c (md_assemble): Likewise.
108 * config/tc-msp430.c (extract_word): Likewise.
109 * config/tc-mt.c (md_assemble): Likewise.
110 * config/tc-or32.c (machine_ip): Likewise.
111 * config/tc-pj.c (md_apply_fix): Likewise.
112 * config/tc-s390.c (md_gather_operands): Likewise.
113 * config/tc-sh.c (sh_cons_align): Likewise.
114 * config/tc-sparc.c (sparc_cons_align): Likewise.
115 * config/tc-tic4x.c (tic4x_sect): Likewise.
116 * config/tc-tic54x.c (tic54x_stringer): Likewise.
117 * config/tc-vax.c (vip_op): Likewise.
118 * config/tc-xstormy16.c (xstormy16_cons_fix_new): Likewise.
119 * config/tc-xtensa.c (md_assemble): Likewise.
120 (xtensa_fix_short_loop_frags, convert_frag_immed): Likewise.
121 (xtensa_move_literals): Likewise.
122
123 2010-06-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
124
125 * config/tc-arm.c (parse_neon_alignment): New function.
126 (parse_address_main): Fix Neon load/store alignment parsing.
127
128 2010-06-22 Jan Beulich <jbeulich@novell.com>
129
130 PR gas/11732
131 * config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo
132 symbols named "$".
133 (i386_intel_operand): Remove bogus handling of pseudo symbols
134 named "$".
135 * expr.c (current_location): Remove 'static' and local
136 declaration.
137 * expr.h (current_location): Declare.
138
139 2010-06-21 Sterling Augustine <sterling@tensilica.com>
140
141 PR gas/11728
142 * as.c: Globalize keep_it.
143 (main): Remove keep_it. Move conditional from here...
144 (close_output_file): ...to here.
145
146 2010-06-21 Andreas Schwab <schwab@redhat.com>
147
148 * doc/as.texinfo (Overview): Use @itemx for grouped @table
149 items.
150 * doc/c-alpha.texi (Alpha Options): Likewise.
151 * doc/c-arm.texi (ARM Directives): Likewise.
152 * doc/c-bfin.texi (Blackfin Options): Likewise.
153 * doc/c-d10v.texi (D10V-Opts): Likewise.
154 * doc/c-i386.texi (i386-Options): Likewise.
155 * doc/c-ia64.texi (IA-64 Options): Likewise.
156 * doc/c-m68k.texi (M68K-Opts): Likewise.
157 * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
158 * doc/internals.texi (Symbols): Likewise.
159
160 2010-06-21 Alan Modra <amodra@gmail.com>
161
162 PR gas/11733
163 * config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
164
165 2010-06-18 Joseph Myers <joseph@codesourcery.com>
166
167 * config/tc-tic6x.h (tic6x_segment_info_type): Add field
168 func_units_used.
169 * config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
170 (md_assemble): Clear func_units_used for new execute packet.
171 Check for duplicate functional units and update func_units_used
172 for instructions using a functional unit.
173
174 2010-06-15 Joseph Myers <joseph@codesourcery.com>
175
176 * config/tc-tic6x.c: Include elf/tic6x.h.
177 (tic6x_arch_attribute, tic6x_seen_insns): New.
178 (tic6x_arch_table, tic6x_arches): Add attribute values.
179 (tic6x_use_arch): Handle attribute settings.
180 (tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
181 tic6x_attribute_table, tic6x_attributes,
182 tic6x_convert_symbolic_attribute): New.
183 (md_pseudo_table): Add c6xabi_attribute.
184 (md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
185 (tic6x_set_attribute_int, tic6x_set_attributes): New.
186 (tic6x_end): Call tic6x_set_attributes.
187 * config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
188 (tic6x_convert_symbolic_attribute): Declare.
189
190 2010-06-14 Alan Modra <amodra@gmail.com>
191
192 * config/tc-ppc.c (md_assemble): Emit APUinfo section for
193 PPC_OPCODE_E500.
194
195 2010-06-11 Jan Beulich <jbeulich@novell.com>
196
197 * config/tc-i386.c (md_parse_option): Ignore impossible processor
198 types.
199 (show_arch): New parameter 'check'.
200 (md_show_usage): Adjust calls to show_arch().
201
202 2010-06-10 H.J. Lu <hongjiu.lu@intel.com>
203
204 * config/tc-i386.c (update_code_flag): New.
205 (set_code_flag): Use it.
206 (i386_target_format): Replace set_code_flag with update_code_flag.
207
208 2010-06-10 Tristan Gingold <gingold@adacore.com>
209
210 * config/obj-som.h: Includes som/reloc.h
211
212 2010-06-10 Jan Beulich <jbeulich@novell.com>
213
214 * config/tc-i386.c (cpu_arch): Add comment.
215 (i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
216 from the generic entries of cpu_arch[].
217
218 2010-06-08 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
219
220 * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
221 value.
222 (parse_operands): Add support for OP_RRnpctw.
223 (insns): Update floating-point load/store multiples so the
224 first register is of type OP_RRnpctw.
225
226 2010-06-08 Quentin Neill <quentin.neill@amd.com>
227
228 * config/tc-i386.c (pi): Rename local loop counter
229 variable i that shadows global static i386_insn i
230 when DEBUG386 is defined.
231 (pte) Ditto.
232
233 2010-06-08 Nick Clifton <nickc@redhat.com>
234
235 * doc/as.texinfo: Replace abbreviated 20th century year numbers
236 with full versions.
237
238 2010-06-02 Quentin Neill <quentin.neill@amd.com>
239
240 * config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
241
242 2010-06-02 Tristan Gingold <gingold@adacore.com>
243
244 * as.h: Remove conditionnal definition of HAVE_STDARG_H,
245 USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
246 Remove conditionnal inclusion of stdarg.h and varargs.h.
247 Assume ISO C.
248 * config.in: Regenerate.
249 * configure: Regenerate.
250 * configure.in: Remove stdarg.h and varargs.h from
251 AC_CHECK_HEADERS list.
252 * messages.c (as_tsktsk): Remove non ISO C version.
253 (as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
254
255 2010-05-31 Tristan Gingold <gingold@adacore.com>
256
257 * config/tc-alpha.c: Add comments for evax.
258 * config/obj-evax.c: Ditto.
259
260 2010-05-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
261
262 * config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
263 lsls and not adds.
264
265 2010-05-27 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
266
267 * config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
268 writeback when base register is in register list an error, and
269 correct check.
270 (do_t_ldmstm): Change warnings.
271
272 2010-05-26 Catherine Moore <clm@codesourcery.com>
273
274 * config/tc-mips.c (is_opcode_valid): Remove expansionp.
275 (macro_build): Change invocation of is_opcode_valid.
276 (mips_ip): Likewise.
277
278 2010-05-25 Nick Clifton <nickc@redhat.com>
279
280 * Makefile.am (MOSTLYCLEANFILES): Fix typo.
281 * Makefile.in: Regenerate.
282
283 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
284 Joseph Myers <joseph@codesourcery.com>
285 Andrew Stubbs <ams@codesourcery.com>
286
287 * config/tc-sh.c (sh_fdpic): New.
288 (sh_check_fixup): Handle relocations on movi20.
289 (parse_exp): Do not reject PIC operators here.
290 (build_Mytes): Check for unhandled PIC operators here. Use
291 sh_check_fixup for movi20.
292 (enum options): Add OPTION_FDPIC.
293 (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
294 (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
295 (sh_elf_final_processing): Handle --fdpic.
296 (sh_uclinux_target_format): New.
297 (sh_parse_name): Handle FDPIC relocation operators.
298 * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
299 (sh_uclinux_target_format): Declare for TE_UCLINUX.
300 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
301 em=uclinux.
302 * doc/c-sh.texi (SH Options): Document --fdpic.
303
304 2010-05-25 Jay Krell <jay.krell@cornell.edu>
305
306 PR ld/11621
307 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
308 * Makefile.in: Regenerate.
309
310 2010-05-25 Alan Modra <amodra@gmail.com>
311
312 * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
313
314 2010-05-19 Nick Clifton <nickc@redhat.com>
315
316 * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
317 of known section prefixes.
318
319 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
320
321 PR gas/11600
322 * obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
323 (obj_elf_parse_section_letters): Likewise.
324 (obj_elf_section_word): Likewise.
325
326 * config/tc-ppc.c (ppc_section_letter): Removed.
327 (ppc_section_word): Likewise.
328 * config/tc-ppc.h (ppc_section_letter): Likewise.
329 (ppc_section_word): Likewise.
330 (md_elf_section_letter): Likewise.
331 (md_elf_section_word): Likewise.
332
333 * doc/as.texinfo: Document `e' and `#exclude'.
334
335 2010-05-13 Nathan Sidwell <nathan@codesourcery.com>
336
337 * config/tc-arm.c (md_assemble): Clarify current mode in error
338 messages about unsupported instructions.
339 (UT): Delete #define.
340 (insns): Adjust cbnz, cbz appropriately.
341
342 2010-05-11 Andrew Stubbs <ams@codesourcery.com>
343
344 * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
345
346 2010-05-11 Jie Zhang <jie@codesourcery.com>
347
348 * config/tc-arm.c (aeabi_set_public_attributes): Set
349 Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
350
351 2010-05-07 Tristan Gingold <gingold@adacore.com>
352
353 * Makefile.in: Regenerate with automake 1.11.1.
354 * aclocal.m4: Ditto.
355 * doc/Makefile.in: Ditto.
356
357 2010-05-05 Nick Clifton <nickc@redhat.com>
358
359 * po/es.po: Updated Spanish translation.
360
361 2010-05-05 Julian Brown <julian@codesourcery.com>
362
363 * read.c (cons_worker): Detect and reject unexpected string argument.
364
365 2010-05-04 Nick Clifton <nickc@redhat.com>
366
367 * write.c (fixup_segment): Revert previous delta.
368 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
369 generation of relocations for fixups against weak symbols.
370
371 2010-04-29 Nathan Sidwell <nathan@codesourcery.com>
372
373 * write.c (fixup_segment): Do not assume we know the section a
374 defined weak symbol is in.
375 * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
376 weak symbols as not known to be in the same section, even if they
377 are defined.
378
379 2010-04-27 Joseph Myers <joseph@codesourcery.com>
380
381 * config/tc-tic6x.h (tic6x_label_list): New.
382 (tic6x_segment_info_type): Keep a list of labels and a current
383 frag instead of a boolean for whether labels seen and a count of
384 instructions.
385 (tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
386 md_do_align, tic6x_do_align, md_end, tic6x_end): New.
387 * config/tc-tic6x.c (tic6x_frob_label): Put label on list.
388 (tic6x_cleanup): Correct comment.
389 (tic6x_free_label_list): New.
390 (tic6x_cons_align): Free label list and update for
391 tic6x_segment_info_type changes.
392 (tic6x_do_align): New.
393 (md_assemble): Handle list of labels and saved frag for execute
394 packet. Create machine-dependent frag for new execute packet and
395 adjust labels accordingly.
396 (tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
397 (md_convert_frag, md_estimate_size_before_relax): Update comments.
398
399 2010-04-24 H.J. Lu <hongjiu.lu@intel.com>
400
401 PR gas/11535
402 * config/tc-i386-intel.c (intel_state): Add is_indirect.
403 (i386_intel_operand): Initialize intel_state.is_indirect. Check
404 intel_state.is_indirect for "call|jmp [symbol]".
405
406 2010-04-22 Nick Clifton <nickc@redhat.com>
407
408 * po/gas.pot: Updated by the Translation project.
409
410 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
411
412 * config/tc-i386.c (i386_is_register): Removed.
413 (x86_cons): Don't use i386_is_register.
414 (parse_register): Likewise.
415 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
416 (i386_intel_operand): Likewise.
417
418 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
419
420 * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
421 i386_is_register.
422
423 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
424
425 * config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
426 (x86_cons): Updated.
427 (parse_register): Likewise.
428 (tc_x86_parse_to_dw2regnum): Likewise.
429 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
430 (i386_intel_operand): Likewise.
431
432 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
433
434 PR gas/11509
435 * config/tc-i386-intel.c (i386_intel_simplify_register): New.
436 (i386_intel_simplify): Use i386_is_register and
437 i386_intel_simplify_register. Set X_md for O_register and
438 check X_md for O_constant.
439 (i386_intel_operand): Use i386_is_register.
440
441 * config/tc-i386.c (i386_is_register): New.
442 (x86_cons): Initialize the X_md field. Use i386_is_register.
443 (parse_register): Use i386_is_register.
444 (tc_x86_parse_to_dw2regnum): Likewise.
445
446 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
447
448 * expr.c (expr): Initialize the X_md field.
449
450 2010-04-20 Joseph Myers <joseph@codesourcery.com>
451
452 * config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
453 (md_longopts): Add -mgenerate-rel.
454 (tic6x_generate_rela): New.
455 (md_parse_option): Handle -mgenerate-rel.
456 (md_show_usage): Add comment that -mgenerate-rel is undocumented.
457 (tic6x_init_after_args): New.
458 (md_apply_fix): Correct shift calculations for SB-relative
459 relocations.
460 (md_pcrel_from): Change to tic6x_pcrel_from_section. Do not
461 adjust addresses for relocations referencing symbols in other
462 sections.
463 (tc_gen_reloc): Adjust addend calculations for REL relocations.
464 * config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
465 tic6x_pcrel_from_section, tc_init_after_args,
466 tic6x_init_after_args): New.
467
468 2010-04-20 Nick Clifton <nickc@redhat.com>
469
470 PR gas/11507
471 * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
472 altmacro mode if found inside a quoted string.
473
474 2010-04-20 Mike Frysinger <vapier@gentoo.org>
475
476 * config/bfin-lex.l (parse_int): Change index() to strchr().
477
478 2010-04-16 Nick Clifton <nickc@redhat.com>
479
480 PR gas/11395
481 * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
482 matcher to accept and unconditional 32-bit add instruction.
483 (pa_build_unwind_subspace): Cope with error conditions not
484 allowing the start symbol to be set.
485
486 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
487
488 * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
489 new tag names in v2.08 of ARM ABI.
490 * doc/c-arm.texi: Document new tag names in ABI.
491
492 2010-04-14 Tristan Gingold <gingold@adacore.com>
493
494 * config/tc-alpha.c: Includes vms/egps.h on EVAX.
495 (s_alpha_comm): Used new EGPS macros from egps.h
496 (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
497 (s_alpha_section_word): Add comments. Use new EGPS macros.
498 Adjust for modified bfd_vms_set_section_flags function.
499
500 2010-04-10 Alan Modra <amodra@gmail.com>
501
502 PR gas/11486
503 * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
504
505 2010-04-09 Nick Clifton <nickc@redhat.com>
506
507 * as.c (create_obj_attrs_section): Remove unused variable addr.
508 * listing.c (listing_listing): Remove unused variable message.
509 * read.c: Remove unnecessary register type qualifiers.
510 (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
511 defined.
512
513 2010-04-07 Eric B. Weddington <eric.weddington@atmel.com>
514
515 * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
516 atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
517 atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
518 atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
519 atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
520 atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
521 atmega88pa, attiny461a, attiny84a, m3000.
522 Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
523 atmega8hvd, attiny327, m3000f, m3000s, m3001b.
524 * doc/c-avr.texi: Same.
525
526 2010-04-07 Jie Zhang <jie@codesourcery.com>
527
528 * config/tc-arm.c (make_mapping_symbol): Handle the case
529 that multiple mapping symbols have the same value 0.
530
531 2010-04-07 Alan Modra <amodra@gmail.com>
532
533 * configure: Regenerate.
534
535 2010-04-06 Nick Clifton <nickc@redhat.com>
536
537 * po/ru.po: New Russian translation.
538 * configure.in (ALL_LINGUAS): Add ru.
539 * configure: Regenerate.
540
541 2010-03-30 H.J. Lu <hongjiu.lu@intel.com>
542
543 PR gas/11456
544 * input-scrub.c (input_scrub_next_buffer): Use memmove instead
545 of memcpy to copy overlap memory.
546
547 2010-03-25 Joseph Myers <joseph@codesourcery.com>
548
549 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
550 (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
551 * Makefile.in: Regenerate.
552 * NEWS: Add news entry for TI C6X support.
553 * app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle
554 TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in
555 operands if TC_KEEP_OPERAND_SPACES.
556 * configure.tgt (tic6x-*-*): New.
557 * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
558 TC_PREDICATE_END_CHAR): Define.
559 * config/tc-tic6x.c, config/tc-tic6x.h: New.
560 * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
561 * doc/Makefile.in: Regenerate.
562 * doc/all.texi (TIC6X): Define.
563 * doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi.
564 * doc/c-tic6x.texi: New.
565
566 2010-03-22 H.J. Lu <hongjiu.lu@intel.com>
567
568 * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
569
570 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
571
572 * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
573 with operand_size_mismatch.
574 (operand_size_match): Updated.
575 (match_template): Likewise.
576
577 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
578
579 * config/tc-i386.c (i386_error): New.
580 (_i386_insn): Replace err_msg with error.
581 (operand_size_match): Set error instead of err_msg on failure.
582 (operand_type_match): Likewise.
583 (operand_type_register_match): Likewise.
584 (VEX_check_operands): Likewise.
585 (match_template): Likewise. Use error instead of err_msg with
586 as_bad.
587
588 2010-03-19 Jie Zhang <jie@codesourcery.com>
589
590 * config/tc-arm.c (make_mapping_symbol): Hanle the case
591 that two mapping symbols have the same value.
592
593 2010-03-18 Daniel Jacobowitz <dan@codesourcery.com>
594
595 * doc/c-arm.texi (.setfp): Correct example.
596
597 2010-03-18 Wei Guozhi <carrot@google.com>
598
599 PR gas/11323
600 * config/tc-arm.c (reloc_names): New relocation names.
601 (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
602 (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
603 * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
604
605 2010-03-15 Thomas Schwinge <thomas@codesourcery.com>
606
607 * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
608 cases, and not only for .eh_frame.
609
610 * dw2gencfi.c (output_cie): Make it more explicit which code paths
611 belong to .eh_frame only.
612
613 2010-03-13 Segher Boessenkool <segher@kernel.crashing.org>
614
615 * config/tc-v850.c (v850_insert_operand): Handle out-of-range
616 assembler constants on 64-bit hosts.
617
618 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
619
620 * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
621 Strip trailing whitespace.
622
623 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
624
625 * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
626 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
627 BFIN_CPU_BF506.
628 (bfin_cpus[]): Add 0.0 for bf504 and bf506.
629
630 2010-03-10 Jie Zhang <jie@codesourcery.com>
631
632 * doc/as.texinfo: Add Blackfin options.
633 * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
634 * config/tc-bfin.c (md_show_usage): Show usage for all
635 Blackfin specific options.
636
637 2010-03-09 Alan Modra <amodra@gmail.com>
638
639 PR gas/11356
640 * listing.c (listing_newline): Correct backslash quote logic.
641
642 2010-03-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
643
644 * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
645 (ELF_TARGET_FORMAT64): Define.
646
647 2010-03-05 Paul Brook <paul@codesourcery.com>
648
649 * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
650
651 2010-03-02 Andrew Stubbs <ams@codesourcery.com>
652
653 * config/tc-sh.c (get_specific): Move overflow checking code to avoid
654 reading uninitialized data.
655
656 2010-03-01 Tristan Gingold <gingold@adacore.com>
657
658 * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
659
660 2010-02-26 Doug Evans <dje@sebabeach.org>
661
662 * configure.tgt: Fix mep cpu case.
663
664 2010-02-26 Jie Zhang <jie@codesourcery.com>
665
666 * config/tc-arm.c (do_t_strexd): Remove
667 operand[1] != operand[2] contraint.
668
669 2010-02-26 Jie Zhang <jie@codesourcery.com>
670
671 * config/tc-arm.c (neon_select_shape): No need to match
672 the remaining operands in the shape when one operand does
673 not match.
674
675 2010-02-26 Jie Zhang <jie@codesourcery.com>
676
677 * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
678 alignment.
679
680 2010-02-25 Doug Evans <dje@sebabeach.org>
681
682 * cgen.c: Whitespace fixes.
683 (weak_operand_overflow_check): Formatting fix.
684
685 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
686
687 * config/tc-i386.c (match_template): Update error messages.
688
689 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
690
691 * config/tc-i386.c (_i386_insn): Add err_msg.
692 (operand_size_match): Set err_msg on failure.
693 (operand_type_match): Likewise.
694 (operand_type_register_match): Likewise.
695 (VEX_check_operands): Likewise.
696 (match_template): Likewise. Use i.err_msg with as_bad.
697
698 2010-02-25 Wu Zhangjin <wuzhangjin@gmail.com>
699
700 * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
701 mips_fix_loongson2f_jump): New variables.
702 (md_longopts): Add New options -mfix-loongson2f-nop/jump,
703 -mno-fix-loongson2f-nop/jump.
704 (md_parse_option): Initialize variables via above options.
705 (options): New enums for the above options.
706 (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
707 (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
708 New functions.
709 (append_insn): call fix_loongson2f().
710 (mips_handle_align): Replace the implicit nops.
711 * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
712 for the new mips_handle_align().
713 * doc/c-mips.texi: Document the new options.
714
715 2010-02-23 Daniel Gutson <dgutson@codesourcery.com>
716
717 * config/tc-arm.c (do_rd_rm_rn): Added warning
718 for obsolete insns.
719
720 2010-02-23 Andrew Zabolotny <anpaza@mail.ru>
721
722 PR binutils/11297
723 * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
724 (avr_cons_fix_new): Handle fixups of a single byte.
725
726 2010-02-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
727
728 PR 9861
729 * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
730 compiler's predefines.
731
732 2010-02-19 Alan Modra <amodra@gmail.com>
733
734 * configure.tgt: Whiltespace. Sort moxie entry.
735
736 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
737
738 * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
739 * doc/c-arm.texi: Likewise.
740
741 2010-02-12 Daniel Gutson <dgutson@codesourcery.com>
742
743 * config/tc-arm.c (asm_opcode): operands type
744 change.
745 (BAD_PC_ADDRESSING): New macro message.
746 (BAD_PC_WRITEBACK): Likewise.
747 (MIX_ARM_THUMB_OPERANDS): New macro.
748 (operand_parse_code): Added enum values.
749 (parse_operands): Added thumb/arm distinction,
750 plus new enum values handling.
751 (encode_arm_addr_mode_2): Validations enhanced.
752 (encode_arm_addr_mode_3): Likewise.
753 (do_rm_rd_rn): Likewise.
754 (encode_thumb32_addr_mode): Likewise.
755 (do_t_ldrex): Likewise.
756 (do_t_ldst): Likewise.
757 (do_t_strex): Likewise.
758 (md_assemble): Call parse_operands with
759 a new parameter.
760 (OPS_1): New macro.
761 (OPS_2): Likewise.
762 (OPS_3): Likewise.
763 (OPS_4): Likewise.
764 (OPS_5): Likewise.
765 (OPS_6): Likewise.
766 (insns): Updated insns operands.
767
768 2010-02-12 Tristan Gingold <gingold@adacore.com>
769 Douglas B Rupp <rupp@gnat.com>
770
771 * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
772 (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
773 (pseudo_func): Add an entry for slotcount.
774 (md_begin): Initialize slotcount pseudo symbol.
775 (ia64_parse_name): Handle @slotcount parameter.
776 (ia64_gen_real_reloc_type): Handle slotcount.
777 (md_apply_fix): Ditto.
778 * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
779
780 2010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com>
781
782 * config/tc-xtensa.c (istack_init): Don't call memset.
783
784 2010-02-11 Sterling Augustine <sterling@tensilica.com>
785
786 * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
787 well as suffixes.
788
789 2010-02-11 Sterling Augustine <sterling@tensilica.com>
790
791 * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
792
793 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
794
795 * config/tc-i386.c (build_modrm_byte): Reformat.
796
797 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
798
799 * config/tc-i386.c: Update copyright.
800
801 2010-02-10 Quentin Neill <quentin.neill@amd.com>
802 Sebastian Pop <sebastian.pop@amd.com>
803
804 * config/tc-i386.c (vec_imm4) New operand type.
805 (fits_in_imm4): New.
806 (VEX_check_operands): New.
807 (check_reverse): Call VEX_check_operands.
808 (build_modrm_byte): Reintroduce code for 5
809 operand insns. Fix whitespace.
810
811 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
812
813 * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
814 -mpwr6 and -mpwr7.
815
816 2010-02-09 Sterling Augustine <sterling@tensilica.com>
817
818 * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
819 (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
820 (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
821
822 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
823
824 * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
825 non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
826 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
827 BFD_RELOC_ARM_PCREL_CALL)
828
829 2010-02-08 Sterling Augustine <sterling@tensilica.com>
830
831 * config/tc-xtensa.c (frag_format_size): Generalize logic to
832 handle more instruction sizes and fetch widths.
833 (branch_align_power): Likewise.
834 (text_align_power): Likewise.
835 (bytes_to_stretch): Likewise.
836
837 2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
838
839 * config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs.
840 (ppc_mach): Handle titan.
841 * doc/c-ppc.texi: Mention -mtitan.
842
843 2010-02-05 Sterling Augustine <sterling@tensilica.com>
844
845 * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
846 replace with...
847 (xtensa_fetch_width) ...this.
848
849 2010-02-05 Joseph Myers <joseph@codesourcery.com>
850
851 * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
852 MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
853 * Makefile.in: Regenerate.
854
855 2010-02-03 Quentin Neill <quentin.neill@amd.com>
856
857 * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
858 (i386_align_code): Rename PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
859 * config/tc-i386.h (processor_type): Same.
860 * doc/c-i386.texi: Change amdfam15 to bdver1.
861
862 2010-01-29 Nick Clifton <nickc@redhat.com>
863
864 PR 11136
865 * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
866 NS_NULL.
867
868 2010-01-27 Dave Korn <dave.korn.cygwin@gmail.com>
869
870 * NEWS: Mention new feature.
871 * config/obj-coff.c (obj_coff_section): Accept digits and use
872 to override default section alignment power if specified.
873 * doc/as.texinfo (.section directive): Update documentation.
874
875 2010-01-27 H.J. Lu <hongjiu.lu@intel.com>
876
877 * config/tc-i386.c (avxscalar): New.
878 (OPTION_MAVXSCALAR): Likewise.
879 (build_vex_prefix): Select vector_length for scalar instructions
880 based on avxscalar.
881 (md_longopts): Add OPTION_MAVXSCALAR.
882 (md_parse_option): Handle OPTION_MAVXSCALAR.
883 (md_show_usage): Add -mavxscalar=.
884
885 * doc/c-i386.texi: Document -mavxscalar=.
886
887 2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
888
889 * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
890 0xc4 individually.
891
892 2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
893
894 * write.h (fix_at_start): Declare.
895 * write.c (fix_new_internal): Add at_beginning parameter.
896 Use it instead of REVERSE_SORT_RELOCS. Fix the handling of
897 seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
898 (fix_new, fix_new_exp): Update accordingly.
899 (fix_at_start): New function.
900 * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
901 (ppc_ref): New function, for OBJ_XCOFF.
902 (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
903 * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
904
905 2010-01-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
906
907 * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
908 on 64-bit Solaris/x86.
909 Include obj-format.h earlier.
910
911 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
912
913 * config/tc-s390.c (s390_elf_final_processing): New function.
914 * config/tc-s390.h (elf_tc_final_processing): New macro definition.
915 (s390_elf_final_processing): Added prototype.
916
917
918 2010-01-20 Nick Clifton <nickc@redhat.com>
919
920 PR 11109
921 * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1. Add
922 code to handle round-to-zero for VCVT conversions.
923 (do_neon_cvt): New. Call do_neon_cvt_1.
924 (do_neon_cvtr): New. Call do_neon_cvt_1.
925 (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
926 insn.
927
928 2010-01-18 Tristan Gingold <gingold@adacore.com>
929
930 * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
931
932 2010-01-15 Sebastian Pop <sebastian.pop@amd.com>
933
934 * config/tc-i386.c (md_assemble): Before accessing the IMM field
935 check that it's not an XOP insn.
936
937 2010-01-14 Jie Zhang <jie.zhang@analog.com>
938
939 * config/bfin-aux.h: Remove argument names in function
940 declarations.
941 * config/bfin-lex.l (parse_int): Fix shadowed variable name
942 warning.
943 * config/bfin-parse.y (value_match): Remove argument names
944 in declaration.
945 (notethat): Likewise.
946 (yyerror): Likewise.
947
948 2010-01-13 Daniel Jacobowitz <dan@codesourcery.com>
949
950 * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
951
952 2010-01-13 Nick Clifton <nickc@redhat.com>
953
954 * config/tc-h8300.c (h8300_elf_section): New function - issue a
955 warning message if a new section is created without setting any
956 attributes for it.
957 (md_pseudo_table): Intercept section creation pseudos.
958 (md_pcrel_from): Replace abort with an error message.
959 * config/obj-elf.c (obj_elf_section_name): Export this function.
960 * config/obj-elf.h (obj_elf_section_name): Prototype.
961
962 2010-01-12 Alan Modra <amodra@gmail.com>
963
964 PR 11122
965 * listing.c (print_source): Add one to line number.
966
967 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
968
969 * Makefile.in: Regenerate.
970 * configure: Regenerate.
971 * doc/Makefile.in: Regenerate.
972
973 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
974
975 * version.c (parse_args): Change to "Copyright 2010".
976
977 2010-01-06 Quentin Neill <quentin.neill@amd.com>
978
979 * config/tc-i386.c (cpu_arch): Add amdfam15.
980 (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
981 * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
982 * doc/c-i386.texi: Add amdfam15.
983
984 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
985
986 * config/tc-arm.c (do_neon_logic): Accept imm value
987 in the third operand too.
988 (operand_parse_code): OP_RNDQ_IMVNb renamed to
989 OP_RNDQ_Ibig.
990 (parse_operands): OP_NILO case removed, applied renaming.
991 (insns): Neon shape changed for some logic instructions.
992
993 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
994
995 * config/tc-arm.c (do_neon_ldx_stx): Added
996 validation for vector load/store insns.
997
998 2010-01-04 Edmar Wienskoski <edmar@freescale.com>
999
1000 * config/tc-ppc.c (md_show_usage): Document -me500mc64.
1001
1002 2010-01-03 Daniel Gutson <dgutson@codesourcery.com>
1003
1004 * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
1005 (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
1006 (NEON_ENCODE): New macro.
1007 (check_neon_suffixes): New macro.
1008 (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
1009 (do_vfp_nsyn_opcode): Likewise.
1010 (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
1011 (do_vfp_nsyn_cmp): Likewise.
1012 (do_neon_shl_imm): Likewise.
1013 (do_neon_qshl_imm): Likewise.
1014 (neon_dyadic_misc): Likewise.
1015 (do_neon_mac_maybe_scalar): Likewise.
1016 (do_neon_qdmulh): Likewise.
1017 (do_neon_qmovn): Likewise.
1018 (do_neon_qmovun): Likewise.
1019 (do_neon_movn): Likewise.
1020 (neon_mac_reg_scalar_long): Likewise.
1021 (do_neon_vmull): Likewise.
1022 (do_neon_trn): Likewise.
1023 (do_neon_ldx_stx): Likewise.
1024 (neon_dp_fixup): Changed signature and set the flag.
1025 (neon_three_same): Call the above with new signature.
1026 (neon_two_same): Likewise.
1027 (neon_imm_shift): Likewise.
1028 (neon_mul_mac): Likewise.
1029 (do_neon_abs_neg): Likewise.
1030 (neon_mixed_length): Likewise.
1031 (do_neon_ext): Likewise.
1032 (do_neon_mov): Likewise.
1033 (do_neon_tbl_tbx): Likewise.
1034 (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
1035 (neon_compare): Likewise.
1036 (do_neon_shll): Likewise.
1037 (do_neon_cvt): Likewise.
1038 (do_neon_mvn): Likewise.
1039 (do_neon_dup): Likewise.
1040 (md_assemble): Call check_neon_suffixes ().
1041
1042 For older changes see ChangeLog-2009
1043 \f
1044 Local Variables:
1045 mode: change-log
1046 left-margin: 8
1047 fill-column: 74
1048 version-control: never
1049 End: