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