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