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