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