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