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