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