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