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