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