Update copyright year in --version messages.
[binutils-gdb.git] / gas / ChangeLog
1 2008-11-17 Nick Clifton <nickc@redhat.com>
2
3 * as.c (parse_args): Update copyright year.
4
5 2008-11-14 Mat Hostetter <mat@lcs.mit.edu>
6
7 * read.c (emit_expr): Grow frag before filling it so that
8 dot_value remains valid.
9
10 2008-11-14 Peter Jansen <pwjansen@yahoo.com>
11
12 PR 7026
13 * config/tc-arm.c: Ensure that all uses of as_bad have a
14 formatting string.
15
16 2008-11-12 Hans-Peter Nilsson <hp@axis.com>
17
18 * config/tc-cris.c (cris_number_to_imm): Except for
19 BFD_RELOC_NONE, always set contents. Where previously this was
20 skipped, set contents to 0.
21
22 PR gas/7025
23 * input-scrub.c (input_scrub_include_sb): Make the position
24 after the input have defined contents, a 0 character.
25
26 * config/tc-cris.c (cris_relax_frag): Add missing case for
27 ENCODE_RELAX (STATE_COND_BRANCH_PIC, STATE_DWORD).
28
29 PR gas/7020
30 * read.c (read_a_source_file): Rearrange evaluation order when
31 looking for '=' to avoid conditional on undefined contents of
32 input_line_pointer[1].
33
34 2008-11-06 Adam Nemet <anemet@caviumnetworks.com>
35
36 * config/tc-mips.c (COP_INSN): Change logic to always return false
37 for FP instructions.
38
39 2008-11-06 Chao-ying Fu <fu@mips.com>
40
41 * config/tc-mips.c (validate_mips_insn): Add case '1'.
42 (mips_ip): Add case '1' to process sync type.
43
44 2008-11-06 Joel Sherrill <joel.sherrill@oarcorp.com>
45
46 * configure.tgt: Add m32c-*-rtems* and m32r-*-rtems*.
47
48 2008-11-04 Sterling Augustine <sterling@tensilica.com>
49
50 * config/tc-xtensa.c (tinsn_check_arguments): Check for multiple
51 writes to the same register.
52
53 2008-11-04 Sterling Augustine <sterling@tensilica.com>
54
55 * config/tc-xtensa.c (xtensa_j_opcode): New.
56 (xg_instruction_matches_option_term): Handle "FREEREG" option.
57 (xg_build_to_insn): Likewise. Update renamed tls_reloc reference.
58 (md_begin): Initialize xtensa_j_opcode.
59 (md_assemble): Update renamed tls_reloc reference. Handle "j.l".
60 (xg_assemble_vliw_tokens): Save free_reg info in the frag.
61 (tinsn_immed_from_frag): Get free_reg info back out of the frag.
62 (vinsn_to_insnbuf): Update renamed tls_reloc references.
63 Distinguish extra argument for "FREEREG" from extra TLS argument.
64 * config/tc-xtensa.h (struct xtensa_frag_type): Add free_reg field.
65 * config/xtensa-istack.h (struct tinsn_struct): Rename tls_reloc
66 field to extra_arg.
67 * config/xtensa-relax.c (widen_spec_list): Add rules to relax "j.l".
68 (build_transition): Handle "FREEREG" operand.
69 * config/xtensa-relax.h (enum op_type): Add OP_FREEREG.
70
71 2008-10-31 Alan Modra <amodra@bigpond.net.au>
72
73 * po/id.po: Update.
74
75 2008-10-24 Maciej W. Rozycki <macro@linux-mips.org>
76
77 * config/tc-mips.c (mips_cpu_info_table): Move the MIPS64r2
78 comment so that Broadcom SB-1 cores are in the MIPS64 section.
79
80 2008-10-21 Alan Modra <amodra@bigpond.net.au>
81
82 * config/tc-bfin.c (gencode, allocate): Remove unnecessary cast.
83 * config/tc-ns32k.c (bit_fix_new): Likewise.
84 * config/tc-m68k.c (md_begin): Likewise.
85 * hash.c (hash_insert, hash_jam): Likewise.
86 * symbols.c (symbol_create, local_symbol_make): Likewise.
87 * frags.c (frag_alloc): Likewise.
88
89 2008-10-20 Jay Krell <jay.krell@cornell.edu>
90
91 * config/bfin-parse.y: Use C style comments.
92 * config/tc-bfin.c: Likewise.
93 * config/tc-m68k.c: Likewise.
94 * config/tc-mips.c: Likewise.
95
96 2008-10-12 H.J. Lu <hongjiu.lu@intel.com>
97
98 * config/tc-i386.c (processor_type): Moved to tc-i386.h.
99 (cpu_arch_tune): Make it global.
100 (cpu_arch_isa): Likewise.
101 (cpu_arch_isa_flags): Likewise.
102 (i386_align_code): Check fragP->tc_frag_data.isa,
103 fragP->tc_frag_data.isa_flags and cpu_arch_tune instead of
104 cpu_arch_isa, cpu_arch_isa_flags and cpu_arch_tune,
105 respectively.
106
107 * config/tc-i386.h (processor_type): Moved from tc-i386.c.
108 (cpu_arch_tune): New.
109 (cpu_arch_isa): Likewise.
110 (cpu_arch_isa_flags): Likewise.
111 (i386_tc_frag_data): Likewise.
112 (TC_FRAG_TYPE): Likewise.
113 (TC_FRAG_INIT): Likewise.
114
115 2008-10-09 Bob Wilson <bob.wilson@acm.org>
116
117 * doc/as.texinfo (Pseudo Ops): Swap order of Comm and CFI menu entries.
118 (Altmacro, Comm, Loc, Loc_mark_labels, List, MRI, PopSection, Sleb128):
119 Moved into alphabetical order.
120
121 2008-10-09 Bob Wilson <bob.wilson@acm.org>
122
123 * doc/as.texinfo (Dot): Expand no-space-dir conditional to include
124 a complete sentence.
125 (Pseudo Ops): Put conditionals around Skip and Space menu entries.
126 (Line): Remove conditional declaration of Ln node and section here.
127 Put aout-bout description inside the no-line-dir conditional.
128 (Skip, Space): Use a separate conditional for each node.
129
130 2008-10-09 Bob Wilson <bob.wilson@acm.org>
131
132 * doc/as.texinfo (Pseudo Ops): Remove no-file-dir conditional around
133 menu entry for File; remove version-specific .file operands from menu
134 description. Replace "LNS directives" menu entry with new entries
135 for "Loc" and "Loc_mark_labels".
136 (LNS directives): Split into separate nodes for each directive.
137 (Loc): New node for .loc directive. Mention that this directive
138 is for DWARF2 and add a missing article.
139 (Loc_mark_labels): Likewise for .loc_mark_labels.
140 (File): Change this node to describe both the default version and
141 the DWARF2 version of .file. Move the no-file-dir conditional to
142 include only the default version.
143
144 2008-10-09 Eric Botcazou <ebotcazou@adacore.com>
145
146 * dw2gencfi.c (cfi_finish): Deal with md_fix_up_eh_frame.
147 * config/tc-i386.h (md_fix_up_eh_frame): Define on Solaris.
148 (i386_solaris_fix_up_eh_frame): Declare.
149 * config/tc-i386.c (i386_solaris_fix_up_eh_frame): New function.
150
151 2008-10-09 Nick Clifton <nickc@redhat.com>
152
153 PR 6944
154 * doc/as.texinfo (Dollar Local Labels): Correct description of
155 dollar local labels to show that the colon suffix is still
156 needed.
157
158 2008-10-08 Nick Clifton <nickc@redhat.com>
159
160 * configure.in (ALL_LINGUAS): Add "id".
161 * configure: Regenerate.
162 * po/id.po: New Indonesian translation.
163
164 2008-10-07 H.J. Lu <hongjiu.lu@intel.com>
165
166 * read.c (pseudo_set): Don't allow global register symbol only
167 if TC_GLOBAL_REGISTER_SYMBOL_OK is undefined.
168 * symbols.c (S_SET_EXTERNAL): Likewise.
169
170 * config/tc-mmix.h (TC_GLOBAL_REGISTER_SYMBOL_OK): Defined.
171
172 * doc/internals.texi: Document TC_GLOBAL_REGISTER_SYMBOL_OK.
173
174 2008-10-06 Bob Wilson <bob.wilson@acm.org>
175
176 * doc/as.texinfo (Local): New description of ELF .local directive.
177
178 2008-10-06 Nick Clifton <nickc@redhat.com>
179
180 PR 6926
181 * read.c (get_line_sb): Renamed to get_non_macro_line_sb.
182 (_find_end_of_line): Add extra parameter indicating if the line is
183 inside a macro. If it is then do not allow the @ character to be
184 treated as a line separator character.
185 (read_a_source): Update use of _find_end_of_line.
186 (find_end_of_line): Likewise.
187 (s_irp): Update use of get_line_sb.
188 (s_macro): Likewise.
189 (do_repeat): Likewise.
190 (get_line_sb): New function. Like the old version of get_line_sb
191 except that it takes an extra parameter indicating whether the
192 line is inside a macro.
193 (get_macro_line_sb): New function.
194
195 2008-10-04 Hans-Peter Nilsson <hp@axis.com>
196
197 * config/tc-cris.c: Update all comments regarding explicit relocations
198 to, besides PIC, also imply TLS or to say "relocation specifier" or
199 similar.
200 (RELOC_SUFFIX_CHAR): Rename from PIC_SUFFIX_CHAR. Change all callers.
201 (cris_get_reloc_suffix): Rename from cris_get_pic_suffix. Change all
202 callers. Also handle TLS relocs.
203 (cris_get_specified_reloc_size): Rename from cris_get_pic_reloc_size.
204 Change all callers. Also handle TLS relocs.
205 (tls): New constant.
206 (cris_process_instruction): Check for non-PIC TLS relocations and
207 adjust message when emitting error message about relocation not
208 fitting.
209 (get_autoinc_prefix_or_indir_op): Also check for relocation suffix
210 when tls is true.
211 (get_3op_or_dip_prefix_op): Ditto.
212 (cris_number_to_imm, tc_gen_reloc): Handle TLS relocs like PIC relocs.
213
214 2008-10-03 Kazu Hirata <kazu@codesourcery.com>
215
216 * listing.c (buffer_line): Open the source file with FOPEN_RB.
217 Manually process line ends.
218
219 2008-09-30 Wesley W. Terpstra <wesley@terpstra.ca>
220 Nick Clifton <nickc@redhat.com>
221
222 * config/tc-tic4x.c (tic4x_globl): Call S_SET_EXTERNAL as well as
223 S_SET_STORAGE_CLASS.
224
225 2008-09-30 Wesley W. Terpstra <wesley@terpstra.ca>
226 Nick Clifton <nickc@redhat.com>
227
228 * coffgen.c (coff_write_symbols): Check to see if a symbol's flags
229 do not match it class and if necessary update the class.
230 (null_error_handler): New function. Suppresses the generation of
231 bfd error messages.
232 * coff64-rs6000.c (bfd_xcoff_backend_data): Update comment.
233
234 2008-09-30 Alan Modra <amodra@bigpond.net.au>
235
236 * Makefile.am: Run "make dep-am".
237 * Makefile.in: Regenerate.
238
239 2008-09-29 Nick Clifton <nickc@redhat.com>
240
241 * dw2gencfi.c (output_cfi_insn): Fix typo in invocation of
242 tc_cfi_emit_pcrel_expr macro.
243
244 2008-09-29 Peter O'Gorman <pogma@thewrittenword.com>
245 Steve Ellcey <sje@cup.hp.com>
246
247 * configure: Regenerate for new libtool.
248 * aclocal.m4: Ditto.
249 * Makefile.in: Ditto.
250 * doc/Makefile.in: Ditto.
251
252 2008-09-29 Nick Clifton <nickc@redhat.com>
253
254 PR 6878
255 * app.c (do_scrub_chars): Only issue warnings about tick
256 characters detected in symbol strings if hex ticks are supported.
257
258 2008-09-29 Nick Clifton <nickc@redhat.com>
259
260 * dw2gencfi.c (output_cfi_insn): Fix typo in invocation of
261 tc_cfi_emit_pcrel_expr macro.
262
263 2008-09-28 Daniel Jacobowitz <dan@codesourcery.com>
264
265 * NEWS: Mention .cfi_val_encoded_addr.
266
267 2008-09-26 Eric Botcazou <ebotcazou@adacore.com>
268
269 * Makefile.am (TARG_ENV_HFILES): Add config/te-solaris.h.
270 * Makefile.in (TARG_ENV_HFILES): Likewise.
271 * configure.tgt (Solaris targets): Set em=solaris.
272 * config/te-solaris.h: New file.
273
274 2008-09-26 Jie Zhang <jie.zhang@analog.com>
275
276 * config/bfin-parse.y (asm_1): Fix reduce/reduce conflicts.
277
278 2008-09-24 Richard Henderson <rth@redhat.com>
279
280 * dw2gencfi.c (DWARF2_ADDR_SIZE): Provide default.
281 (struct cfi_insn_data): Add ea member.
282 (CFI_val_encoded_addr, dot_cfi_val_encoded_addr): New.
283 (output_cfi_insn): Handle CFI_val_encoded_addr.
284 (select_cie_for_fde): Don't match CFI_val_encoded_addr.
285 * doc/as.texinfo (.cfi_val_encoded_addr): Document.
286
287 2008-09-25 Alan Modra <amodra@bigpond.net.au>
288
289 PR 6913
290 * listing.c (print_options): Don't call fprintf without format string.
291
292 2008-09-19 Alan Modra <amodra@bigpond.net.au>
293
294 * write.c (TC_FORCE_RELOCATION_SUB_LOCAL): Heed md_register_arithmetic.
295 (TC_VALIDATE_FIX_SUB): Likewise.
296 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
297 * config/tc-hppa.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
298 * config/tc-mn10300.h (TC_VALIDATE_FIX_SUB): Likewise.
299 * config/tc-sh.h (TC_VALIDATE_FIX_SUB): Likewise.
300 (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
301 * config/tc-sh64.h (TC_VALIDATE_FIX_SUB): Likewise.
302 * config/tc-xtensa.h (TC_VALIDATE_FIX_SUB): Likewise.
303 * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS,
304 TC_FORCE_RELOCATION_SUB_LOCAL, TC_VALIDATE_FIX_SUB): Show new param.
305
306 * write.c (md_register_arithmetic): Define.
307 (fixup_segment): Adjust TC_FORCE_RELOCATION_SUB_ABS invocation.
308 Modify error message when registers involved.
309 (TC_FORCE_RELOCATION_SUB_ABS): Heed md_register_arithmetic.
310 * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_ABS): Likewise.
311
312 2008-09-15 Alan Modra <amodra@bigpond.net.au>
313
314 * write.c (install_reloc): Correct EMIT_SECTION_SYMBOLS test.
315
316 2008-09-15 Alan Modra <amodra@bigpond.net.au>
317
318 * config/tc-frv.c (md_apply_fix): Use abs_section_sym for
319 relocs with no symbol.
320 * config/tc-mmix.c (md_assemble): Mark fake symbol on
321 BFD_RELOC_MMIX_BASE_PLUS_OFFSET as OK for use by relocs.
322 (mmix_md_end): Likewise mark mmix reg contents section symbol.
323
324 2008-09-14 Chris Smith <chris@zxdesign.info>
325
326 * config/tc-z80.c: Opcode generation of ld a,(bc) and ld a,(de) was
327 broken, as the opcode of ld a,(de) was being emitted for both.
328
329 2008-09-12 Sterling Augustine <sterling@tensilica.com>
330
331 * config/tc-xtensa.c (init_op_placement_info_table): Allow number of
332 operands equal to MAX_INSN_ARGS.
333
334 2008-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
335
336 * configure.in: Call AC_SYS_LARGEFILE.
337 * config.in: Regenerate.
338 * configure: Regenerate.
339
340 2008-09-09 Peter Bergner <bergner@vnet.ibm.com>
341
342 * config/tc-ppc.c (ppc_setup_opcodes): Simplify POWER4/NOPOWER4 test.
343 Remove POWER5 and POWER6 tests.
344
345 2008-09-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
346
347 * config/tc-hppa.c (hppa_regname_to_dw2regnum): Add register name to
348 number support for 32-bit targets.
349
350 2008-09-08 Tristan Gingold <gingold@adacore.com>
351
352 * NEWS: Add a marker for the 2.19 features.
353
354 2008-09-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
355
356 * config/tc-hppa.h (DIFF_EXPR_OK): Define for SOM target. Revise
357 comment regarding use of difference expressions.
358 (TC_FORCE_RELOCATION_SUB_LOCAL): Define to 1.
359
360 * dw2gencfi.c (CFI_DIFF_EXPR_OK): Define if not defined.
361 (dot_cfi_personality): Use CFI_DIFF_EXPR_OK instead of DIFF_EXPR_OK.
362 (dot_cfi_lsda, output_cie, output_fde): Likewise.
363 * config/tc-hppa.h (CFI_DIFF_EXPR_OK): Define.
364
365 2008-09-06 Richard Sandiford <rdsandiford@googlemail.com>
366
367 * config/tc-mips.h (DWARF2_FDE_RELOC_SIZE): Define.
368
369 2008-09-03 Nick Clifton <nickc@redhat.com>
370
371 * config/tc-i386.c (pe_lcomm_internal): New function. Allows the
372 alignment field of the .lcomm directive to be optional.
373 (pe_lcomm): New function. Pass pe_lcomm_internal to
374 s_comm_internal.
375 (md_pseudo_table): Implement .lcomm directive for COFF based
376 targets.
377 * doc/c-i386.texi (i386-Directives): New node. Used to document
378 the .lcomm directive.
379
380 2008-08-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
381
382 * config/tc-hppa.h: Don't define DWARF2_EH_FRAME_READ_ONLY on Linux
383 and NetBSD.
384
385 2008-08-29 Eric B. Weddington <eric.weddington@atmel.com>
386
387 * config/tc-avr.c (mcu_types): Add atmega16u4.
388 * doc/c-avr.texi: Likewise.
389
390 2008-08-28 H.J. Lu <hongjiu.lu@intel.com>
391
392 * config/tc-ia64.c (CR_IIB0): New.
393 (CR_IIB1): Likewise.
394 (cr): Add cr.iib0 and cr.iib1.
395 (specify_resource): Handle IA64_RS_CR_IIB and CR_IIB0/CR_IIB1.
396
397 2008-08-28 Jan Beulich <jbeulich@novell.com>
398
399 * config/tc-i386.c (md_assemble): Force number of displacement
400 operands to zero when processing string instruction.
401 (i386_index_check): Special-case string instruction operands. Don't
402 fudge address prefix if there already was a memory operand. Fix
403 error message to correctly reflect the addressing mode used.
404 (i386_att_operand): Fix comment.
405 (i386_intel_operand): Snapshot, clear, and restore base and index
406 reg for each operand processed. Increment count of memory operands
407 later.
408
409 2008-08-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
410
411 * config/tc-hppa.c (is_SB_relative): New macro.
412 (fix_new_hppa): Remove $segrel$ marker.
413 (cons_fix_new_hppa): Set reloc type R_PARISC_SEGREL32 if expression is
414 segment relative.
415 * config/tc-hppa.h (tc_frob_symbol): Check for $segrel$.
416
417 2008-08-27 Jan Beulich <jbeulich@novell.com>
418
419 * config/tc-i386.c (check_string): Use register_prefix for error
420 message.
421 (process_operands): Likewise.
422
423 2008-08-26 Mark Mitchell <mark@codesourcery.com>
424
425 * c-arm.texi: Add tutorial on ARM unwinding pseudo ops.
426
427 2008-08-26 Jie Zhang <jie.zhang@analog.com>
428
429 * config/bfin-parse.y (check_macfunc_option): Fix instruction
430 mode checking.
431 (asm_1): Check mode for 16-bit multiply instructions.
432
433 2008-08-24 Alan Modra <amodra@bigpond.net.au>
434
435 * configure.in: Update a number of obsolete autoconf macros.
436 * configure: Regenerate.
437 * aclocal.m4: Regenerate.
438
439 2008-08-22 Nick Clifton <nickc@redhat.com>
440
441 * config/tc-mcore.c (md_assemble): Increase length of name array
442 to include terminating NUL.
443
444 2008-08-22 Jie Zhang <jie.zhang@analog.com>
445
446 * config/bfin-lex.l (NUMBER): Protect special `.'.
447
448 2008-08-22 Alan Modra <amodra@bigpond.net.au>
449
450 * symbols.c (symbol_clone): Ensure clones are not external.
451
452 2008-08-22 Alan Modra <amodra@bigpond.net.au>
453
454 * config/tc-hppa.c (md_begin): Set BSF_KEEP for "dummy_symbol".
455
456 2008-08-21 Richard Henderson <rth@redhat.com>
457
458 * dw2gencfi.c (DWARF2_FDE_RELOC_SIZE): New.
459 (output_cie, output_fde): Use it.
460 (DWARF2_EH_FRAME_READ_ONLY): New.
461 (cfi_finish): Use it.
462
463 * config/tc-hppa.h (DWARF2_FDE_RELOC_SIZE): Set to 8 for 64-bit.
464 (DWARF2_CIE_DATA_ALIGNMENT): Change sign.
465 (DWARF2_EH_FRAME_READ_ONLY): New.
466 * config/tc-hppa.c (tc_gen_reloc): Generate pc-relative relocations
467 from the results of DIFF_EXPR_OK manipulation.
468
469 2008-08-21 Sterling Augustine <sterling@tensilica.com>
470
471 * config/xtensa-istack.h (MAX_INSN_ARGS): Increase to 64.
472
473 2008-08-20 Bob Wilson <bob.wilson@acm.org>
474
475 * config/tc-xtensa.c (O_tlsfunc, O_tlsarg, O_tlscall): Define.
476 (O_tpoff, O_dtpoff): Define.
477 (suffix_relocs): Add entries for TLS suffixes.
478 (xtensa_elf_cons): Check for invalid use of TLS relocations.
479 (map_operator_to_reloc): Add is_literal parameter and use it to
480 control translating TLS instruction relocations to the corresponding
481 literal relocations.
482 (xg_valid_literal_expression): Allow TLS operators.
483 (xg_build_to_insn): Copy TLS operators from pseudo-instruction
484 operands to generated literals.
485 (xg_assemble_literal): Handle TLS operators. Update call to
486 map_operator_to_reloc.
487 (md_assemble): Handle CALLXn.TLS pseudo-instruction.
488 (md_apply_fix): Handle TLS relocations.
489 (emit_single_op): Handle TLS operators.
490 (convert_frag_immed): Update call to map_operator_to_reloc.
491 (vinsn_to_insnbuf): Emit relocations for TLS-related instructions.
492 * config/xtensa-istack.h (tinsn_struct): Add tls_reloc field.
493 * config/xtensa-relax.c (append_literal_op): Add src_op parameter
494 to initialize the op_data field of the BuildOp.
495 (build_transition): Use it here to record the source operand
496 corresponding to a generated literal.
497 * config/xtensa-relax.h (build_op): Comment op_data use for literals.
498
499 2008-08-20 H.J. Lu <hongjiu.lu@intel.com>
500
501 AVX Programming Reference (August, 2008)
502 * config/tc-i386.c (CPU_FLAGS_AES_MATCH): New.
503 (CPU_FLAGS_AVX_MATCH): Likewise.
504 (CPU_FLAGS_32BIT_MATCH): Updated.
505 (cpu_flags_match): Likewise.
506
507 2008-08-20 Alan Modra <amodra@bigpond.net.au>
508
509 PR 6848
510 * write.c (install_reloc): Check that reloc symbols have been
511 written.
512 (set_symtab): Mark symbols with BSF_KEEP.
513
514 2008-08-18 H.J. Lu <hongjiu.lu@intel.com>
515
516 * config/tc-i386.c (i386_align_code): Fix a comment typo.
517
518 2008-08-15 Alan Modra <amodra@bigpond.net.au>
519
520 PR 6526
521 * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
522 * Makefile.in: Regenerate.
523 * aclocal.m4: Regenerate.
524 * config.in: Regenerate.
525 * configure: Regenerate.
526 * doc/Makefile.in: Regenerate.
527
528 2008-08-14 Alan Modra <amodra@bigpond.net.au>
529
530 * config/tc-tic4x.c (tic4x_operands_parse): Make static.
531
532 2008-08-13 Ben Elliston <bje@au.ibm.com>
533
534 * doc/as.texinfo (Align): Document the PowerPC behaviour.
535
536 2008-08-13 Alan Modra <amodra@bigpond.net.au>
537
538 * as.c, as.h, ecoff.c, hash.c, macro.c, symbols.c, config/obj-evax.c,
539 config/obj-som.c, config/tc-alpha.c, config/tc-arm.c, config/tc-bfin.c,
540 config/tc-bfin.h, config/tc-crx.c, config/tc-frv.c, config/tc-frv.h,
541 config/tc-hppa.h, config/tc-i386.c, config/tc-i860.c, config/tc-i960.h,
542 config/tc-ia64.c, config/tc-ia64.h, config/tc-m32c.c, config/tc-m32c.h,
543 config/tc-m68k.c, config/tc-maxq.c, config/tc-s390.c, config/tc-s390.h,
544 config/tc-sparc.c, config/tc-sparc.h, config/tc-spu.c, config/tc-spu.h,
545 config/tc-tic4x.c, config/tc-tic4x.h, config/tc-tic54x.c,
546 config/tc-tic54x.h, config/tc-vax.c, doc/internals.texi: Banish PARAMS
547 and PTR. Convert to ISO C. Delete unnecessary forward declarations.
548
549 2008-08-12 Alan Modra <amodra@bigpond.net.au>
550
551 * config/tc-arm.c (s_unreq): Adjust hash_delete call.
552 * config/tc-ia64.c (dot_rot): Likewise.
553
554 2008-08-11 Alan Modra <amodra@bigpond.net.au>
555
556 PR 6575
557 * hash.c: Expand PTR to void *.
558 (hash_delete): Add "freeme" parameter. Call obstack_free.
559 * hash.h: Expand PTR to void *.
560 (hash_delete): Update prototype.
561 * macro.c (macro_expand_body): hash_delete LOCALs from formal_hash.
562 * config/tc-tic54x.c (tic54x_remove_local_label): Update hash_delete
563 call.
564 (subsym_substitute): Likewise.
565 * doc/internals.texi (hash_delete): Update.
566
567 2008-08-08 Anatoly Sokolov <aesok@post.ru>
568
569 * config/tc-avr.c (mcu_types): Add avr25, avr31, avr35, and avr51
570 architectures. Reorganize list to put mcu types in correct
571 architectures and to order list same as in GCC. Use new ISA
572 definitions in include/opcode/avr.h.
573 * doc/c-avr.texi: Add avr25, avr31, avr35, and avr51 architecture
574 descriptions. Reorganize descriptions to put mcu types in correct
575 architectures and to order lists same as in GCC.
576
577 2008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
578 Daniel Jacobowitz <dan@codesourcery.com>
579
580 * config/tc-mips.c (OPTION_CALL_NONPIC): New macro.
581 (OPTION_NON_SHARED, OPTION_XGOT, OPTION_MABI, OPTION_32)
582 (OPTION_N32, OPTION_64, OPTION_MDEBUG, OPTION_NO_MDEBUG)
583 (OPTION_PDR, OPTION_NO_PDR, OPTION_MVXWORKS_PIC): Bump by 1.
584 (md_longopts): Add -call_nonpic.
585 (md_parse_option): Handle OPTION_CALL_NONPIC.
586 (md_show_usage): Add -call_nonpic.
587
588 2008-08-08 Sterling Augustine <sterling@tensilica.com>
589
590 * config/tc-xtensa.c (exclude_section_from_property_tables): New.
591 (xtensa_create_property_segments): Use it.
592 (xtensa_create_xproperty_segments): Likewise.
593
594 2008-08-08 Alan Modra <amodra@bigpond.net.au>
595
596 * doc/internals.texi (DWARF2_FORMAT): Update for 2008-08-04 change.
597
598 2008-08-06 Richard Sandiford <rdsandiford@googlemail.com>
599
600 * config/tc-mips.c (mips16_reloc_p, got16_reloc_p, hi16_reloc_p)
601 (lo16_reloc_p): New functions.
602 (reloc_needs_lo_p): Use hi16_reloc_p and got16_reloc_p to
603 generalize relocation checks.
604 (matching_lo_reloc): New function.
605 (fixup_has_matching_lo_p): Use it.
606 (mips16_mark_labels): Don't clobber a symbol's visibility.
607 (append_insn): Use hi16_reloc_p and lo16_reloc_p.
608 (mips16_ip): Handle BFD_RELOC_MIPS16_GOT16 and BFD_RELOC_MIPS16_CALL16.
609 (md_apply_fix): Likewise.
610 (mips16_percent_op): Add %got and %call16.
611 (mips_frob_file): Use got16_reloc_p to generalize relocation checks.
612 Use matching_lo_reloc.
613 (mips_force_relocation): Use hi16_reloc_p and lo16_reloc_p to
614 generalize relocation checks.
615 (mips_fix_adjustable): Use lo16_reloc_p to generalize relocation
616 checks.
617
618 2008-08-06 DJ Delorie <dj@redhat.com>
619
620 * NEWS: Mention these changes.
621
622 * config/tc-h8300.h (H_TICK_HEX): Define.
623 * config/tc-h8300.c (OPTION_H_TICK_HEX): New.
624 (md_longopts): Add "-h-tick-hex".
625 (md_parse_option): Support it.
626 * doc/c-h8300.texi (H8/300 Options): Document it.
627 * doc/as.texinfo (Overview): Likewise.
628
629 * config/tc-sh.h (H_TICK_HEX): Define.
630 * config/tc-sh.c (OPTION_H_TICK_HEX): New.
631 (md_longopts): Add "-h-tick-hex".
632 (md_parse_option): Support it.
633 * doc/c-sh.texi (SH Options): Document it.
634 * doc/c-sh64.texi (SH64 Options): Document it.
635 * doc/as.texinfo (Overview): Likewise.
636
637 2008-08-05 Alan Modra <amodra@bigpond.net.au>
638
639 PR gas/6656
640 * dwarf2dbg.c (dwarf2_directive_file): Disable gas generated
641 debug info if we see compiler generated debug info.
642 (dwarf2_directive_loc): Likewise. Remove redundant debug_type test.
643
644 2008-08-04 Alan Modra <amodra@bigpond.net.au>
645
646 * dwarf2dbg.c: Remove superfluous forward function declarations.
647 (DWARF2_FORMAT): Add section arg.
648 (out_header): New function, split out from..
649 (out_debug_line): ..here.
650 (out_debug_aranges): Use out_header.
651 (out_debug_abbrev): Add info_seg and line_seg args. Use
652 DW_FORM_data8 (for DW_AT_stmt_list) if line_seg is 64-bit.
653 (out_debug_info): Use out_header. Output 8 byte DW_AT_stmt_list
654 if line_seg is 64-bit.
655 (dwarf2_finish): Adjust out_debug_abbrev call.
656 * config/tc-mips.h (DWARF2_FORMAT, mips_dwarf2_format): Add sec arg.
657 * config/tc-mips.c (mips_dwarf2_format): Likewise.
658
659 2008-08-04 Alan Modra <amodra@bigpond.net.au>
660
661 * Makefile.am (POTFILES.in): Set LC_ALL=C.
662 * Makefile.in: Regenerate.
663 * po/POTFILES.in: Regenerate.
664
665 2008-08-01 Peter Bergner <bergner@vnet.ibm.com>
666
667 * config/tc-ppc.c (parse_cpu): Rename altivec_or_spe to retain_flags.
668 Handle -mvsx and -mpower7.
669 (md_show_usage): Document -mpower7 and -mvsx.
670 * doc/as.texinfo (Target PowerPC): Document -mvsx.
671 * doc/c-ppc.texi (PowerPC-Opts): Document -mvsx and -mpower7.
672
673 2008-07-31 Peter Bergner <bergner@vnet.ibm.com>
674
675 * config/tc-ppc.c (parse_cpu) <power6>: Accept Altivec instructions.
676 <cell>: Likewise.
677
678 2008-07-30 Michael J. Eager <eager@eagercon.com>
679
680 * config/tc-ppc.c (parse_cpu): Separate handling of -m403/405.
681 (md_show_usage): Likewise.
682
683 2008-07-30 Alan Modra <amodra@bigpond.net.au>
684
685 * messages.c, symbols.c, write.c: Silence gcc warnings.
686
687 2008-07-28 Ineiev <ineiev@yahoo.co.uk>
688
689 * config/tc-i386.c (operand_type_check): Warning fix.
690
691 2008-07-26 Michael Eager <eager@eagercon.com>
692
693 * doc/as.texinfo: Add description of single-precision attribute.
694
695 2008-07-24 Jie Zhang <jie.zhang@analog.com>
696
697 * config/bfin-parse.y (asm_1): Error if plain symbol is used
698 as load/store offset.
699
700 2008-07-22 Chao-ying Fu <fu@mips.com>
701
702 * config/tc-mips.c (mips_ip): Reset s to argsStart.
703
704 2008-07-22 Jie Zhang <jie.zhang@analog.com>
705
706 * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol.
707
708 2008-07-21 DJ Delorie <dj@redhat.com>
709
710 * config/tc-h8300.c (fix_operand_size): Use the default size
711 specified by the .lbranch/.sbranch pseudos.
712
713 2008-07-18 DJ Delorie <dj@redhat.com>
714
715 * config/tc-m32c.h (H_TICK_HEX): Define.
716 * config/tc-m32c.c (OPTION_H_TICK_HEX): Define.
717 (md_longopts): Add support for it.
718 (md_parse_option): Likewise.
719 * doc/as.texinfo (Overview): Add new m32c options.
720 * doc/c-m32c.texi (M32C-Modifiers): Likewise
721
722 * as.h: (enable_h_tick_hex): New.
723 * app.c (enable_h_tick_hex): New.
724 (LEX_IS_H): New.
725 (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex.
726 (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00
727 style hex constants and convert the input stream to 0x00 style.
728 (do_scrub_chars): If a 'X style character constant is found after
729 a symbol character (like you're or X'00), warn the user.
730
731 2008-07-10 Richard Sandiford <rdsandiford@googlemail.com>
732
733 * config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16.
734 (mips_fix_adjustable): Likewise.
735 (mips_frob_file_after_relocs): Likewise.
736
737 2008-07-08 Nathan Sidwell <nathan@codesourcery.com>
738
739 * config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain
740 about overriding an earlier setting.
741
742 2008-07-07 Adam Nemet <anemet@caviumnetworks.com>
743
744 * config/tc-mips.c (NO_ISA_COP): New macro.
745 (COP_INSN): New macro.
746 (is_opcode_valid): Use them.
747 (macro) <ld_st>: Use them. Don't accept coprocessor load store
748 insns based on the ISA if CPU is NO_ISA_COP.
749 <copz>: Likewise for coprocessor operations.
750
751 2008-07-07 Paul Brook <paul@codesourcery.com>
752
753 * config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT
754 relocations.
755
756 2008-07-07 Ralf Corsépius <ralf.corsepius@rtems.org>
757
758 * configure.tgt: Add bfin-*-rtems*.
759
760 2008-07-04 Alan Modra <amodra@bigpond.net.au>
761
762 * config/tc-spu.c (md_apply_fix): Handle fully resolved
763 BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
764
765 2008-06-25 Peter Bergner <bergner@vnet.ibm.com>
766
767 * config/tc-ppc.c (parse_cpu): Handle -m464.
768 (md_show_usage): Likewise.
769
770 2008-06-24 Eric B. Weddington <eric.weddington@atmel.com>
771
772 Add support for ATtiny13A.
773 * config/tc-avr.c (mcu_types): Add attiny13a.
774 * doc/c-avr.texi: Likewise.
775
776 2008-06-24 Bob Wilson <bob.wilson@acm.org>
777 Alan Modra <amodra@bigpond.net.au>
778
779 * write.c (relax_segment <rs_org>): Include current stretch
780 value when calculating whether .org is backwards.
781
782 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
783
784 * configure: Regenerate.
785
786 2008-06-17 Nick Clifton <nickc@redhat.com>
787
788 * app.c (do_scrub_chars): Do not UNGET an EOF value.
789
790 2008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
791
792 PR gas/6607
793 * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
794 text_section. Do the "stepping backwards" test for text_section
795 using unsigned operands.
796
797 2008-06-13 Peter Bergner <bergner@vnet.ibm.com>
798
799 * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
800 (ppc_insert_operand): Likewise.
801 (ppc_machine): Likewise.
802 * config/tc-ppc.h: #include "opcode/ppc.h"
803 (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
804 (ppc_cpu): Update extern decl.
805
806 2008-06-12 Adam Nemet <anemet@caviumnetworks.com>
807
808 * config/tc-mips.c (validate_mips_insn): Handle field descriptors
809 +x, +X, +p, +P, +s, +S.
810 (mips_ip): Likewise.
811
812 * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
813 (mips_ip): Likewise.
814 (macro_build): Likewise.
815 (CPU_HAS_SEQ): New macro.
816 (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei.
817
818 2008-06-09 Eric B. Weddington <eric.weddington@atmel.com>
819
820 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
821 * doc/c-avr.texi: Likewise.
822
823 2008-06-04 Nick Clifton <nickc@redhat.com>
824
825 * app.c (do_scrub_chars): Do not UNGET an EOF value.
826
827 2008-06-03 H.J. Lu <hongjiu.lu@intel.com>
828
829 * config/tc-i386.c (set_sse_check): New.
830 (md_pseudo_table): Add "sse_check".
831
832 2008-06-03 Paul Brook <paul@codesourcery.com>
833
834 * config/tc-arm.c (do_t_rbit): Populate both rm fields.
835
836 2008-05-30 Nick Clifton <nickc@redhat.com>
837
838 PR 5523
839 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
840 relocs here.
841
842 2008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com>
843
844 * config/tc-mips.c (mips_cpu_info_table): Move records for
845 ST Loongson-2E/2F processors to a better place.
846
847 2008-05-23 H.J. Lu <hongjiu.lu@intel.com>
848
849 PR gas/6518
850 * config/tc-i386.c (match_template): Report ambiguous operand
851 size, not invalid suffix when there is no match in Intel
852 syntax.
853
854 2008-05-22 Paul Brook <paul@codesourcery.com>
855
856 * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
857
858 2008-05-21 I-Jui Sung <ijsung@gmail.com>
859
860 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
861 compatible cores: fa526, fa626, fa626te, fa726te.
862 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
863 fa726te} options.
864
865 2008-05-14 Alan Modra <amodra@bigpond.net.au>
866
867 * Makefile.am: Run "make dep-am".
868 * Makefile.in: Regenerate.
869 * doc/Makefile.in: Regenerate.
870 * po/POTFILES.in: Regenerate.
871
872 2008-05-09 Catherine Moore <clm@codesourcery.com>
873
874 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
875 with non-MIPS16 relocs.
876
877 2008-05-09 Chao-ying Fu <fu@mips.com>
878
879 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
880 case that some characters append at the end of the name.
881 (mips_ip): Likewise.
882 (s_change_sec): Likewise.
883 (md_section_align): Likewise.
884
885 2008-05-07 Bob Wilson <bob.wilson@acm.org>
886
887 * config/tc-xtensa.c (xtensa_create_property_segments): Use
888 xtensa_make_property_section instead of xtensa_get_property_section.
889 (xtensa_create_xproperty_segments): Likewise.
890
891 2008-05-02 H.J. Lu <hongjiu.lu@intel.com>
892
893 * NEWS: Mention XSAVE, EPT and MOVBE.
894
895 * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
896 (md_show_usage): Add .movbe and .ept.
897
898 * doc/c-i386.texi: Add movbe and ept to -march=. Document
899 .movbe and .ept.
900
901 2008-04-29 David S. Miller <davem@davemloft.net>
902
903 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
904
905 2008-04-28 Adam Nemet <anemet@caviumnetworks.com>
906
907 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
908 New statics.
909 (OPTION_ELF_BASE): Make room for new option macros.
910 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
911 OPTION_DOUBLE_FLOAT): New option macros.
912 (md_longopts): Add msoft-float, mhard-float, msingle-float and
913 mdouble-float.
914 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
915 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
916 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
917 and -mdouble-float.
918 (struct mips_set_options): New fields soft_float and single_float.
919 (mips_opts): Initialized them. Add comment for each field
920 initializer.
921 (mips_after_parse_args): Set them based on file_mips_soft_float
922 and file_mips_single_float.
923 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
924 `.set singlefloat' and `.set doublefloat'.
925 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
926 Handle single-float and soft-float instructions here.
927 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
928 (is_opcode_valid_16): New function.
929 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
930 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
931 M_S_DOB>: Remove special-casing of r4650.
932 * doc/c-mips.texi (-march=): Add Octeon.
933 (MIPS Opts): Document -msoft-float and -mhard-float. Document
934 -msingle-float and -mdouble-float.
935 (MIPS floating-point): New section. Document `.set softfloat' and
936 `.set hardfloat'. Document `.set singlefloat' and `.set
937 doublefloat'.
938
939 2008-04-25 David S. Miller <davem@davemloft.net>
940
941 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
942 %asr aliases.
943
944 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
945 rather than occaisionally 'levels'. Consistently refer to Sun's
946 UNIX variant as SunOS, every version of Solaris is also SunOS.
947 Document new 'softint_clear' and 'softint_set' aliases. Clarify
948 which architecture versions support '%dcr', '%cq', and '%gl'. Add
949 section on 32-bit/64-bit opcode translations.
950
951 2008-04-23 Mike Frysinger <vapier@gentoo.org>
952
953 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
954 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
955 (obj-fdpicelf.o): Define.
956 * Makefile.in: Regenerate.
957 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
958 (bfin-*-*): Delete.
959 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
960 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
961 * config/obj-fdpicelf.c: New.
962 * config/obj-fdpicelf.h: Likewise.
963 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
964 the OBJ_FDPIC_ELF define.
965 (OPTION_NOPIC): Define.
966 (md_longopts): Add mnopic and mno-fdpic.
967 (md_parse_option): Handle OPTION_NOPIC.
968
969 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
970
971 * aclocal.m4: Regenerate.
972 * configure: Regenerate.
973
974 2008-04-23 David S. Miller <davem@davemloft.net>
975
976 * config/tc-sparc.c (v9a_asr_table): Add missing
977 'stick' and 'stick_cmpr', and document ordering rules
978 of table.
979 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
980 BFD_RELOC_SPARC_PC10.
981 * doc/c-sparc.texi: New section on Sparc constants.
982 Add documentation for %stick and %stick_cmpr.
983
984 2008-04-22 David S. Miller <davem@davemloft.net>
985
986 * config/obj-elf.c (obj_elf_section_type): Add prototype
987 before obj_elf_section_word and add 'warn' arg.
988 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
989 is matched, try checking for #SECTION_TYPE.
990 (obj_elf_section): Adjust for new args.
991 (obj_elf_type_name): New function.
992 (obj_elf_type): Call it, and accept STT_foo number strings
993 in .type statements as output by SunPRO compiler.
994
995 2008-04-22 H.J. Lu <hongjiu.lu@intel.com>
996
997 * config/tc-i386.c (md_assemble): Don't check SSE instructions
998 if noavx is 0.
999
1000 2008-04-18 David S. Miller <davem@davemloft.net>
1001
1002 * doc/c-sparc.texi: Add syntax section.
1003
1004 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
1005
1006 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
1007 REG and NDS for instructions with immediate operand.
1008
1009 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
1010
1011 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
1012 FMA.
1013
1014 2008-04-16 David S. Miller <davem@davemloft.net>
1015
1016 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
1017 and relocation generation.
1018 (tc_gen_reloc): Likewise.
1019
1020 2008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
1021
1022 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
1023 relocations are properly aligned, and not negative.
1024
1025 2008-04-15 Khem Raj <kraj@mvista.com>
1026
1027 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
1028
1029 2008-04-14 Edmar Wienskoski <edmar@freescale.com>
1030
1031 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
1032 accept e500mc instructions.
1033 (md_show_usage): Document -me500mc.
1034
1035 2008-04-11 Nick Clifton <nickc@redhat.com>
1036
1037 * listing.c (print_timestamp): Use localtime rather than
1038 localtime_r since not all build environments provide the latter.
1039
1040 2008-04-10 H.J. Lu <hongjiu.lu@intel.com>
1041
1042 * NEWS: Mention -msse-check=[none|error|warning].
1043
1044 * config/tc-i386.c (sse_check): New.
1045 (OPTION_MSSE_CHECK): Likewise.
1046 (md_assemble): Check SSE instructions if needed.
1047 (md_longopts): Add -msse-check.
1048 (md_parse_option): Handle OPTION_MSSE_CHECK.
1049 (md_show_usage): Show -msse-check=[none|error|warning].
1050
1051 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
1052
1053 2008-04-10 Santiago Urueña <suruena@gmail.com>
1054
1055 * listing.c: Add -ag listing flag to show general information in
1056 listings such as gas version, passed options, and time stamp.
1057 (listing_general_info): New function.
1058 (print_options): New function.
1059 (print_single_option): New function.
1060 (print_timestamp): New function.
1061 (MAX_DATELEN): Define.
1062 (listing_print): Add call to listing_general_info.
1063 * listing.h (LISTING_GENERAL): Define.
1064 (listing_print): Add new parameter.
1065 * as.c (show_usage): Print new switch.
1066 (parse_args): Parse new switch.
1067 (main): Pass command line on to listing_print.
1068 * NEWS: Mention this new feature.
1069 * doc/as.texinfo: Document the new sub-option.
1070
1071 2008-04-08 Alan Modra <amodra@bigpond.net.au>
1072
1073 * dwarf2dbg.c (dwarf2_emit_insn): Simplify test before dwarf2_where
1074 call. Delete out of date comment.
1075 (dwarf2_consume_line_info): Always clear dwarf2_loc_directive_seen.
1076 (dwarf2_emit_label): Don't emit unless there has been a previous
1077 .file or we are outputting assembler generated debug.
1078 dwarf2_consume_line_info after emitting line info, not before.
1079 (out_debug_info): Simplify files_in_use test.
1080
1081 2008-04-07 H.J. Lu <hongjiu.lu@intel.com>
1082
1083 * config/tc-i386.c (parse_real_register): Return AVX register
1084 only if AVX is enabled.
1085
1086 2008-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1087
1088 PR gas/6043
1089 * config/tc-sh64.c (shmedia_md_pcrel_from_section): Use
1090 md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL.
1091
1092 2008-04-04 Adrian Bunk <bunk@stusta.de>
1093 Bob Wilson <bob.wilson@acm.org>
1094
1095 * config/tc-xtensa.c (xg_apply_fix_value): Check return code from
1096 call to decode_reloc.
1097
1098 2008-04-04 H.J. Lu <hongjiu.lu@intel.com>
1099
1100 * NEWS: Mention XSAVE. Change CLMUL to PCLMUL.
1101
1102 * config/tc-i386.c (cpu_arch): Add .pclmul.
1103 (md_show_usage): Replace clmul with pclmul.
1104 * doc/c-i386.texi: Likewise.
1105
1106 2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
1107
1108 * NEWS: Mention AES, CLMUL, AVX/FMA and -msse2avx.
1109
1110 * doc/c-i386.texi: Add avx, aes, clmul and fma to -march=.
1111 Document -msse2avx, .avx, .aes, .clmul and .fma.
1112
1113 * config/tc-i386.c (YMMWORD_MNEM_SUFFIX): New.
1114 (vex_prefix): Likewise.
1115 (sse2avx): Likewise.
1116 (CPU_FLAGS_ARCH_MATCH): Likewise.
1117 (CPU_FLAGS_64BIT_MATCH): Likewise.
1118 (CPU_FLAGS_32BIT_MATCH): Likewise.
1119 (CPU_FLAGS_PERFECT_MATCH): Likewise.
1120 (regymm): Likewise.
1121 (vex_imm4): Likewise.
1122 (fits_in_imm4): Likewise.
1123 (build_vex_prefix): Likewise.
1124 (VEX_check_operands): Likewise.
1125 (bad_implicit_operand): Likewise.
1126 (OPTION_MSSE2AVX): Likewise.
1127 (T_YMMWORD): Likewise.
1128 (_i386_insn): Add vex.
1129 (cpu_arch): Add .avx, .aes, .clmul and .fma.
1130 (cpu_flags_match): Changed to take a pointer to const template.
1131 Enable encoding SSE instructions with VEX prefix for -msse2avx.
1132 (match_mem_size): Also check ymmword.
1133 (operand_type_match): Clear ymmword.
1134 (md_begin): Allow '_' in mnemonic.
1135 (type_names): Add OPERAND_TYPE_VEX_IMM4.
1136 (process_immext): Update assert.
1137 (md_assemble): Don't call process_immext if sse2avx and immext
1138 are true. Call build_vex_prefix if vex is true.
1139 (parse_insn): Updated for cpu_flags_match.
1140 (swap_operands): Handle 5 operands.
1141 (match_template): Handle 5 operands. Updated for cpu_flags_match.
1142 Check regymm. Call VEX_check_operands. Handle YMMWORD_MNEM_SUFFIX.
1143 (process_suffix): Handle YMMWORD_MNEM_SUFFIX.
1144 (check_byte_reg): Check regymm.
1145 (process_operands): Duplicate the destination register for
1146 -msse2avx if needed.
1147 (build_modrm_byte): Updated for instructions with VEX encoding.
1148 (output_insn): Output VEX prefix if needed.
1149 (md_longopts): Add msse2avx.
1150 (md_parse_option): Handle OPTION_MSSE2AVX.
1151 (md_show_usage): Add avx, aes, clmul, fma and -msse2avx.
1152 (intel_e09): Support YMMWORD.
1153 (intel_e11): Likewise.
1154 (intel_get_token): Likewise.
1155
1156 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
1157
1158 * config/tc-avr.c (mcu_types): Add attiny167.
1159 * doc/c-avr.texi: Likewise.
1160
1161 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
1162
1163 * config/tc-avr.c (mcu_types): Add atmega32u4.
1164 * doc/c-avr.texi: Likewise.
1165
1166 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
1167
1168 * config/tc-avr.c (mcu_types): Add atmega32c1.
1169 * doc/c-avr.texi: Likewise.
1170
1171 2008-03-28 Paul Brook <paul@codesourcery.com>
1172
1173 * config/tc-arm.c (parse_neon_mov): Parse register before immediate
1174 to avoid spurious symbols.
1175
1176 2008-03-28 Nathan Sidwell <nathan@codesourcery.com>
1177
1178 * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with
1179 as_bad_where.
1180
1181 2008-03-27 Eric B. Weddington <eric.weddington@atmel.com>
1182
1183 * config/tc-avr.c (mcu_types): Add atmega32m1.
1184 * doc/c-avr.texi: Likewise.
1185
1186 2008-03-27 Ineiev <ineiev@yahoo.co.uk>
1187
1188 * config/tc-arm.c (do_neon_cvt): Move variable declarations to
1189 start of block.
1190 (do_neon_ext): Fix sign of comparison.
1191
1192 2008-03-26 Bernd Schmidt <bernd.schmidt@analog.com>
1193
1194 From Jie Zhang <jie.zhang@analog.com>
1195 * config/bfin-parse.y (asm_1): Check AREGS in comparison
1196 instructions. And call yyerror when comparing PREG with
1197 DREG.
1198 (check_macfunc_option): New.
1199 (check_macfuncs): Check option by calling check_macfunc_option.
1200 Fix comparison always true warnings. Both scalar instructions
1201 of vector instruction must share the same mode option. Only allow
1202 option mode at the end of the second instruction of the vector.
1203 (asm_1): Check option by calling check_macfunc_option.
1204
1205 * config/bfin-parse.y (check_macfunc_option): Allow (IU)
1206 option for multiply and multiply-accumulate to data register
1207 instruction.
1208 (check_macfuncs): Don't check if accumulator matches the data register
1209 here.
1210 (assign_macfunc): Check if accumulator matches the
1211 data register in each rule that moves to the data
1212 register.
1213
1214 * config/tc-bfin.c (bfin_start_line_hook): Localize the labels
1215 generated for LOOP_BEGIN and LOOP_END instructions.
1216 (bfin_gen_loop): Likewise.
1217
1218 2008-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
1219
1220 * config/tc-s390.c (md_parse_option): z10 option added.
1221
1222 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1223
1224 * aclocal.m4: Regenerate.
1225 * configure: Likewise.
1226 * Makefile.in: Likewise.
1227 * doc/Makefile.in: Likewise.
1228
1229 2008-03-17 Adrian Bunk <bunk@stusta.de>
1230
1231 PR 5946
1232 * config/tc-hppa.c (is_same_frag): Delete.
1233
1234 2008-03-14 Sterling Augustine <sterling@tensilica.com>
1235
1236 * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
1237 RELAX_LOOP_END_ADD_NOP.
1238
1239 2008-03-13 Evandro Menezes <evandro@yahoo.com>
1240
1241 PR gas/5895
1242 * read.c (s_mexit): Warn if attempting to exit a macro when not
1243 inside a macro definition.
1244
1245 2008-03-13 Alan Modra <amodra@bigpond.net.au>
1246
1247 * Makefile.am: Run "make dep-am".
1248 * Makefile.in: Regenerate.
1249 * configure: Regenerate.
1250
1251 2008-03-09 Paul Brook <paul@codesourcery.com>
1252
1253 * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
1254 * doc/c-arm.texi: Add cortex-a9.
1255
1256 2008-03-09 Paul Brook <paul@codesourcery.com>
1257
1258 * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
1259 (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
1260 (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
1261 (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
1262 * doc/c-arm.texi: Document new ARM FPU variants.
1263
1264 2008-03-07 Paul Brook <paul@codesourcery.com>
1265
1266 * config/tc-arm.c (md_apply_fix): Use correct offset range.
1267
1268 2008-03-07 Alan Modra <amodra@bigpond.net.au>
1269
1270 * config/tc-ppc.c (ppc_setup_opcodes): Tidy. Add code to test
1271 for strict ordering of powerpc_opcodes, but disable for now.
1272
1273 2008-03-04 Paul Brook <paul@codesourcery.com>
1274
1275 * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
1276 (arm_ext_v7m): Rename...
1277 (arm_ext_m): ... to this. Include v6-M.
1278 (do_t_add_sub): Allow narrow low-reg non flag setting adds.
1279 (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
1280 (md_assemble): Allow wide msr instructions.
1281 (insns): Add classifications for v6-m instructions.
1282 (arm_cpu_option_table): Add cortex-m1.
1283 (arm_arch_option_table): Add armv6-m.
1284 (cpu_arch): Add ARM_ARCH_V6M. Fix numbering of other v6 variants.
1285
1286 2008-03-03 Sterling Augustine <sterling@tensilica.com>
1287 Bob Wilson <bob.wilson@acm.org>
1288
1289 * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
1290 (md_begin): Initialize it.
1291 (resources_conflict): Use it.
1292
1293 2008-03-03 Sterling Augustine <sterling@tensilica.com>
1294
1295 * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
1296
1297 2008-03-03 Denys Vlasenko <vda.linux@googlemail.com>
1298 H.J. Lu <hongjiu.lu@intel.com>
1299
1300 PR gas/5543
1301 * read.c (pseudo_set): Don't allow global register symbol.
1302
1303 * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
1304 global.
1305
1306 2008-03-03 H.J. Lu <hongjiu.lu@intel.com>
1307
1308 PR gas/5543
1309 * write.c (write_object_file): Don't allow symbols which were
1310 equated to register. Stop if there is an error.
1311
1312 2008-03-01 Alan Modra <amodra@bigpond.net.au>
1313
1314 * config/tc-ppc.h (struct _ppc_fix_extra): New.
1315 (ppc_cpu): Declare.
1316 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
1317 * config/tc-ppc.c (ppu_cpu): Make global.
1318 (ppc_insert_operand): Add ppu_cpu parameter.
1319 (md_assemble): Adjust for above change.
1320 (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
1321
1322 2008-02-22 Nick Clifton <nickc@redhat.com>
1323
1324 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
1325 targeted ARM ports, otherwise just skip generating the reloc.
1326
1327 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
1328
1329 * doc/c-i386.texi: Update -march= and .arch.
1330
1331 2008-02-18 Nick Clifton <nickc@redhat.com>
1332
1333 * config/tc-mn10300.c (has_known_symbol_location): New function.
1334 Do not regard weak symbols as having a known location.
1335 (md_estimate_size_before_relax): Use new function.
1336 (md_pcrel_from): Do not compute a pcrel against a weak symbol.
1337
1338 2008-02-18 Jan Beulich <jbeulich@novell.com>
1339
1340 * config/tc-i386.c (match_template): Disallow 'l' suffix when
1341 currently selected CPU has no 32-bit support.
1342 (parse_real_register): Do not return registers not available on
1343 currently selected CPU.
1344
1345 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
1346
1347 * config/tc-i386.c (process_immext): Fix format.
1348
1349 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
1350
1351 * config/tc-i386.c (inoutportreg): New.
1352 (process_immext): New.
1353 (md_assemble): Use it.
1354 (update_imm): Use imm16 and imm32s.
1355 (i386_att_operand): Use inoutportreg.
1356
1357 2008-02-14 H.J. Lu <hongjiu.lu@intel.com>
1358
1359 * config/tc-i386.c (operand_type_all_zero): New.
1360 (operand_type_set): Likewise.
1361 (operand_type_equal): Likewise.
1362 (cpu_flags_all_zero): Likewise.
1363 (cpu_flags_set): Likewise.
1364 (cpu_flags_equal): Likewise.
1365 (UINTS_ALL_ZERO): Removed.
1366 (UINTS_SET): Likewise.
1367 (UINTS_CLEAR): Likewise.
1368 (UINTS_EQUAL): Likewise.
1369 (cpu_flags_match): Updated.
1370 (smallest_imm_type): Likewise.
1371 (set_cpu_arch): Likewise.
1372 (md_assemble): Likewise.
1373 (optimize_imm): Likewise.
1374 (match_template): Likewise.
1375 (process_suffix): Likewise.
1376 (update_imm): Likewise.
1377 (process_drex): Likewise.
1378 (process_operands): Likewise.
1379 (build_modrm_byte): Likewise.
1380 (i386_immediate): Likewise.
1381 (i386_displacement): Likewise.
1382 (i386_att_operand): Likewise.
1383 (parse_real_register): Likewise.
1384 (md_parse_option): Likewise.
1385 (i386_target_format): Likewise.
1386
1387 2008-02-14 Dimitry Andric <dimitry@andric.com>
1388
1389 PR gas/5712
1390 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
1391 pointer past the comma after parsing a floating point register
1392 name.
1393
1394 2008-02-14 Hakan Ardo <hakan@debian.org>
1395
1396 PR gas/2626
1397 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
1398 to AVR_ISA_2xxe.
1399 (avr_operand): Disallow post-increment addressing in the lpm
1400 instruction for the attiny26.
1401
1402 2008-02-13 Jan Beulich <jbeulich@novell.com>
1403
1404 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
1405 if not in Intel mode.
1406 (i386_intel_operand): Ignore segment overrides in immediate and
1407 offset operands.
1408 (intel_e11): Range-check i.mem_operands before use as array
1409 index. Filter out FLAT for uses other than as segment override.
1410 (intel_get_token): Remove broken promotion of "FLAT:" to mean
1411 "offset FLAT:".
1412
1413 2008-02-13 Jan Beulich <jbeulich@novell.com>
1414
1415 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
1416
1417 2008-02-13 Jan Beulich <jbeulich@novell.com>
1418
1419 * config/tc-i386.c (allow_pseudo_reg): New.
1420 (parse_real_register): Check for NULL just once. Allow all
1421 register table entries when allow_pseudo_reg is non-zero.
1422 Don't allow any registers without type when allow_pseudo_reg
1423 is zero.
1424 (tc_x86_regname_to_dw2regnum): Replace with ...
1425 (tc_x86_parse_to_dw2regnum): ... this.
1426 (tc_x86_frame_initial_instructions): Adjust for above change.
1427 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
1428 (tc_parse_to_dw2regnum): New.
1429 (tc_x86_regname_to_dw2regnum): Replace with ...
1430 (tc_x86_parse_to_dw2regnum): ... this.
1431 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
1432 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
1433 error handling.
1434
1435 2008-02-12 Nick Clifton <nickc@redhat.com>
1436
1437 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
1438 argument.
1439 (tic4x_insn_add): Likewise.
1440 (md_begin): Drop cast that was discarding a const qualifier.
1441 * config/tc-d30v.c (get_reloc): Add const qualifier to op
1442 argument.
1443 (build_insn): Drop cast that was discarding a const qualifier.
1444
1445 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
1446
1447 * config/tc-i386.c (cpu_arch): Add .xsave.
1448 (md_show_usage): Add .xsave.
1449
1450 * doc/c-i386.texi: Add xsave to -march=.
1451
1452 2008-02-07 Alan Modra <amodra@bigpond.net.au>
1453
1454 * read.c (s_weakref): Don't pass unadorned NULL to concat.
1455 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
1456
1457 2008-02-05 Sterling Augustine <sterling@tensilica.com>
1458
1459 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
1460 checks into assertions. When relaxation produces an operation that
1461 does not fit in the current FLIX instruction, make sure that the
1462 operation is relaxed as needed to account for being placed following
1463 the current instruction.
1464
1465 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
1466
1467 PR 5715
1468 * configure: Regenerated.
1469
1470 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
1471
1472 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
1473
1474 2008-01-31 Marc Gauthier <marc@tensilica.com>
1475
1476 * configure.tgt (xtensa*-*-*): Recognize processor variants.
1477
1478 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
1479
1480 * read.c: (emit_expr): Correct for mingw use of printf size
1481 specifier.
1482
1483 2008-01-24 Bob Wilson <bob.wilson@acm.org>
1484
1485 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
1486 can only be encoded in FLIX instructions but are not specified as such.
1487 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
1488 labels.
1489
1490 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
1491
1492 * NEWS: Mention new command line options for x86 targets.
1493
1494 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
1495
1496 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
1497
1498 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
1499
1500 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
1501
1502 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
1503
1504 * config/tc-i386.c (md_show_usage): Show more processors for
1505 -march=/-mtune=.
1506
1507 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
1508
1509 * config/tc-i386.c (i386_target_format): Remove cpummx2.
1510
1511 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
1512
1513 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
1514 (XXX_MNEM_SUFFIX): Likewise.
1515 (END_OF_INSN): Likewise.
1516 (templates): Likewise.
1517 (modrm_byte): Likewise.
1518 (rex_byte): Likewise.
1519 (DREX_XXX): Likewise.
1520 (drex_byte): Likewise.
1521 (sib_byte): Likewise.
1522 (processor_type): Likewise.
1523 (arch_entry): Likewise.
1524 (cpu_sub_arch_name): Remove const.
1525 (cpu_arch): Add .vmx and .smx.
1526 (set_cpu_arch): Append cpu_sub_arch_name.
1527 (md_parse_option): Support -march=CPU[,+EXTENSION...].
1528 (md_show_usage): Updated.
1529
1530 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
1531 (XXX_MNEM_SUFFIX): Likewise.
1532 (END_OF_INSN): Likewise.
1533 (templates): Likewise.
1534 (modrm_byte): Likewise.
1535 (rex_byte): Likewise.
1536 (DREX_XXX): Likewise.
1537 (drex_byte): Likewise.
1538 (sib_byte): Likewise.
1539 (processor_type): Likewise.
1540 (arch_entry): Likewise.
1541
1542 * doc/as.texinfo: Update i386 -march option.
1543
1544 * doc/c-i386.texi: Update -march= for ISA.
1545
1546 2008-01-18 Bob Wilson <bob.wilson@acm.org>
1547
1548 * config/tc-xtensa.c (xtensa_leb128): New function.
1549 (md_pseudo_table): Use it for sleb128 and uleb128.
1550 (is_leb128_expr): New internal flag.
1551 (xtensa_symbol_new_hook): Check new flag.
1552
1553 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
1554
1555 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
1556 at90usb82, at90usb162.
1557 * doc/c-avr.texi: Change architecture grouping for at90usb82,
1558 at90usb162.
1559 These changes support the new avr35 architecture group in gcc.
1560
1561 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
1562
1563 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
1564 suffix for AT&T syntax.
1565
1566 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
1567
1568 * config/tc-i386.c (match_reg_size): New.
1569 (match_mem_size): Likewise.
1570 (operand_size_match): Likewise.
1571 (operand_type_match): Also clear all size fields.
1572 (match_template): Skip Intel syntax when in AT&T syntax.
1573 Call operand_size_match to check operand size.
1574 (i386_att_operand): Set the mem field to 1 for memory
1575 operand.
1576 (i386_intel_operand): Likewise.
1577
1578 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
1579
1580 PR gas/5534
1581 * config/tc-i386.c (_i386_insn): Update comment.
1582 (operand_type_match): Also clear unspecified.
1583 (operand_type_register_match): Likewise.
1584 (parse_operands): Initialize unspecified.
1585 (i386_intel_operand): Likewise.
1586 (match_template): Check memory and accumulator operand size.
1587 (i386_att_operand): Clear unspecified on register operand.
1588 (intel_e11): Likewise.
1589 (intel_e09): Set operand size and clean unspecified for
1590 "XXX PTR".
1591
1592 2008-01-11 Andreas Schwab <schwab@suse.de>
1593
1594 * read.c (s_space): Declare `repeat' as offsetT.
1595
1596 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
1597
1598 * config/tc-i386.c (match_template): Check processor support
1599 first.
1600
1601 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
1602
1603 * config/tc-i386.c (match_template): Continue if processor
1604 doesn't match.
1605
1606 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
1607
1608 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
1609 unwind personality function address.
1610
1611 2008-01-09 Bob Wilson <bob.wilson@acm.org>
1612
1613 * dwarf2dbg.c (out_sleb128): Delete.
1614 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
1615 (out_fixed_inc_line_addr): Delete.
1616 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
1617 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
1618 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
1619 (process_entries): Remove calls to out_fixed_inc_line_addr. When
1620 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
1621 * read.h (emit_expr_fix): New prototype.
1622 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
1623 (emit_expr_fix): New.
1624
1625 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
1626
1627 * config/tc-i386.c (match_template): Check register size
1628 only when size of operands can be encoded the canonical way.
1629
1630 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
1631
1632 * config/tc-i386.c (i386_operand): Renamed to ...
1633 (i386_att_operand): This.
1634 (parse_operands): Updated.
1635
1636 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
1637
1638 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
1639
1640 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
1641 only.
1642 (md_assemble): Remove Intel mode workaround.
1643 (match_template): Check support for old gcc, AT&T mnemonic
1644 and Intel Syntax.
1645 (md_parse_option): Don't set intel_mnemonic to 0 for
1646 OPTION_MOLD_GCC.
1647
1648 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
1649
1650 * config/tc-i386.h: Update copyright to 2008.
1651
1652 2008-01-04 Nick Clifton <nickc@redhat.com>
1653
1654 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
1655 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
1656
1657 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
1658
1659 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
1660 of SYSV386_COMPAT.
1661
1662 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
1663
1664 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
1665 (cpu_flags_not): Likewise.
1666 (cpu_flags_match): Updated to check 64bit and arch.
1667 (set_code_flag): Remove cpu_arch_flags_not.
1668 (set_16bit_gcc_code_flag): Likewise.
1669 (set_cpu_arch): Likewise.
1670 (md_begin): Likewise.
1671 (parse_insn): Call cpu_flags_match to check 64bit and arch.
1672 (match_template): Likewise.
1673
1674 2008-01-03 Jakub Jelinek <jakub@redhat.com>
1675
1676 * config/tc-i386.c (process_drex): Initialize modrm_reg and
1677 modrm_regmem to 0 instead of None.
1678
1679 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
1680
1681 * config/tc-i386.c (match_template): Use the xmmword field
1682 instead of no_xsuf.
1683
1684 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
1685
1686 * config/tc-i386.c (process_suffix): Fix a typo.
1687
1688 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
1689
1690 PR gas/5534
1691 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
1692 Check memory size in Intel mode.
1693 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
1694 (intel_e09): Likewise.
1695
1696 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
1697
1698 2008-01-02 Catherine Moore <clm@codesourcery.com>
1699
1700 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
1701
1702 For older changes see ChangeLog-2007
1703 \f
1704 Local Variables:
1705 mode: change-log
1706 left-margin: 8
1707 fill-column: 74
1708 version-control: never
1709 End: