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