* gas/mips/jalr.s: New test.
[platform/upstream/binutils.git] / gas / ChangeLog
1 2008-01-02  Catherine Moore  <clm@codesourcery.com>
2
3         * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
4
5 2007-12-29  H.J. Lu  <hongjiu.lu@intel.com>
6
7         * config/tc-i386.c (md_show_usage): Add -mmnemonic, -msyntax,
8         -mindex-reg, -mnaked-reg and -mold-gcc.
9
10 2007-12-27  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
11
12         * config/tc-hppa.h (DWARF2_CIE_DATA_ALIGNMENT): Wrap negative
13         number in parens.
14
15 2007-12-23  H.J. Lu  <hongjiu.lu@intel.com>
16
17         * config/tc-i386.c (set_intel_mnemonic): New.
18         (intel_mnemonic): Likewise.
19         (old_gcc): Likewise.
20         (OPTION_MMNEMONIC): Likewise.
21         (OPTION_MSYNTAX): Likewise.
22         (OPTION_MINDEX_REG): Likewise.
23         (OPTION_MNAKED_REG): Likewise.
24         (OPTION_MOLD_GCC): Likewise.
25         (md_pseudo_table): Add .intel_mnemonic and .att_mnemonic.
26         (match_template): Don't allow AT&T/Intel mnemonic if Intel/AT&T
27         mnemonic is specified.  Don't allow old gcc support if old_gcc
28         is 0.
29         (md_longopts): Add -mmnemonic, -msyntax, -mindex-reg,
30         -mmnaked-reg and -mold-gcc.
31         (md_parse_option): Handle OPTION_MMNEMONIC, OPTION_MSYNTAX,
32         OPTION_MINDEX_REG, OPTION_MNAKED_REG and OPTION_MOLD_GCC.
33
34         * doc/c-i386.texi: Docoument -mmnemonic, -msyntax, --mnaked-reg
35         and AT&T mnemonic vs. Intel mnemonic.
36
37 2007-12-20  Bob Wilson  <bob.wilson@acm.org>
38         
39         * config/tc-xtensa.c (xtensa_elf_cons): Set frag flags for
40         expressions without suffixes.
41         (get_frag_property_flags): Preserve is_no_transform flag for frags
42         not marked as either instructions or literals.
43         
44 2007-12-17  H.J. Lu  <hongjiu.lu@intel.com>
45
46         * config/tc-i386.c (output_insn): Use ARRAY_SIZE.
47         (lex_got): Likewise.
48
49 2007-12-17  H.J. Lu  <hongjiu.lu@intel.com>
50
51         * config/tc-i386.c (output_insn): Use FRAG_APPEND_1_CHAR
52         instead of frag_more/md_number_to_chars.
53         (md_short_jump_size): Removed.
54         (md_long_jump_size): Likewise.
55         (md_create_short_jump): Likewise.
56         (md_create_long_jump): Likewise.
57
58 2007-12-13  Bob Wilson  <bob.wilson@acm.org>
59
60         * config/tc-xtensa.c (xg_symbolic_immeds_fit): Relax for weak
61         references but not weak definitions.
62
63 2007-12-12  Bob Wilson  <bob.wilson@acm.org>
64
65         * config/tc-xtensa.c (xg_symbolic_immeds_fit): Do not relax calls to
66         weak symbols if longcalls are disabled.
67
68 2007-12-11  Sterling Augustine  <sterling@tensilica.com>
69             Bob Wilson  <bob.wilson@acm.org>
70         
71         * config/tc-xtensa.c (frag_format_size): Handle frags that expand to
72         wide branches.
73         (get_aligned_diff): For RELAX_ALIGN_NEXT_OPCODE, skip to the next
74         non-empty frag to find the LOOP instruction.  Change comma typo to
75         a semicolon.
76         (relax_frag_immed, convert_frag_immed): Rename wide_insn variable to
77         from_widen_insn.
78
79 2007-12-11  Alan Modra  <amodra@bigpond.net.au>
80
81         * config/tc-m32r.c (md_begin): Mark .sbss as being bss style section.
82
83 2007-12-10  Richard Sandiford  <rsandifo@nildram.co.uk>
84
85         * config/tc-mips.h (mips_nop_opcode): Declare.
86         (NOP_OPCODE): Define.
87         (mips_segment_info): New structure.
88         (TC_SEGMENT_INFO_TYPE): Use it instead of insn_label_list.
89         * config/tc-mips.c (label_list): Adjust for new TC_SEGMENT_INFO_TYPE.
90         (mips_record_mips16_mode): New function.
91         (install_insn): Call it.
92         (mips_align): Likewise.  Turn the fill argument into an "int *".
93         Use frag_align_code for code segments if no fill data is given.
94         (s_align): Adjust call accordingly.
95         (mips_nop_opcode): New function.
96         (mips_handle_align): Use the first variable byte to decide which
97         nop sequence is needed.  Use md_number_to_chars and mips16_nop_insn.
98
99 2007-12-07  Bob Wilson  <bob.wilson@acm.org>
100         
101         * config/tc-xtensa.c (O_pcrel): Define.
102         (suffix_relocs): Add pcrel suffix.
103         (md_pseudo_table): Add 4byte and 2byte directives.
104         (xtensa_elf_cons): Pass correct pcrel argument to fix_new_exp.
105         (xg_assemble_literal): Likewise.  Check for O_pcrel.
106         (expression_maybe_register): Reorganize.  Handle BFD_RELOC_32_PCREL.
107         (xg_valid_literal_expression): Allow O_pcrel.
108         (md_pcrel_from, md_apply_fix): Handle BFD_RELOC_32_PCREL.
109         (tc_gen_reloc): Fix punctuation in error message.
110         
111 2007-12-06  Bob Wilson  <bob.wilson@acm.org>
112
113         * config/tc-xtensa.c (xg_force_frag_space): Delete.
114         (xg_finish_frag, xg_assemble_literal_space): Replace calls to it.
115         (xtensa_create_property_segments, xtensa_create_xproperty_segments):
116         Set output_section for new property sections.  Use subseg_set and
117         seg_info instead of retrieve_segment_info.  Adjust arguments to
118         add_xt_block_frags and add_xt_prop_frags.  Use standard functions
119         to create frags and fix records.
120         (retrieve_segment_info): Delete.
121         (add_xt_block_frags, add_xt_prop_frags): Replace calls to
122         retrieve_segment_info.  Remove unused xt_block_sec arguments.
123
124 2007-12-04  Alan Modra  <amodra@bigpond.net.au>
125
126         * config/tc-ppc.c (ppc_tc): Allow a space between toc symbol
127         name and bracket.
128
129 2007-11-30  Bob Wilson  <bob.wilson@acm.org>
130         
131         * config/tc-xtensa.h (md_allow_eh_opt): Define.
132
133 2007-11-29  Mark Shinwell  <shinwell@codesourcery.com>
134
135         * config/tc-mips.c (mips_cpu_info_table): Add loongson2e
136         and loongson2f entries.
137         * doc/c-mips.texi: Document -march=loongson{2e,2f} options.
138
139 2007-11-29  Martin Schwidefsky  <schwidefsky@de.ibm.com>
140
141         * config/tc-s390.c (md_begin): If the -mesa option is specified
142         add zarch opcodes to the hash table only if there is no variant
143         that is available for the esa mode as well.
144
145 2007-11-26  Thomas Ogrisegg  <tom-bugs@gas.fnord.at>
146
147         * config/tc-alpha.c (assemble_insn): Don't segv on NULL reloc_operand.
148
149 2007-11-19  Bob Wilson  <bob.wilson@acm.org>
150
151         * config/xtensa-istack.h (tinsn_struct): Replace linenum field
152         with loc_directive_seen and debug_line.
153         * config/tc-xtensa.c: Include xtensa-istack.h after dwarf2dbg.h.
154         (xg_build_to_insn): Copy the new fields instead of linenum.
155         (xg_build_token_insn): Likewise.  Abort on INSTR_LABEL_DEF and move
156         common code out of the switch.
157         (md_assemble): Set new tinsn fields from DWARF information.  Call
158         dwarf2_consume_line_info.
159         (xg_assemble_vliw_tokens): Update the code to select the "best" line
160         number to use new information.  Call dwarf2_gen_line_info instead
161         of dwarf2_emit_insn.
162         
163 2007-11-19  Bob Wilson  <bob.wilson@acm.org>
164         
165         * dwarf2dbg.h (dwarf2_loc_directive_seen): New.
166         * dwarf2dbg.c (loc_directive_seen): Make external and rename to...
167         (dwarf2_loc_directive_seen): ...this.
168         (dwarf2_emit_insn, dwarf2_consume_line_info)
169         (dwarf2_emit_label, dwarf2_directive_loc): Use new name.
170         
171 2007-11-19  Bob Wilson  <bob.wilson@acm.org>
172         
173         * dwarf2dbg.c (dwarf2_emit_label): Use dwarf2_consume_line_info.
174         
175 2007-11-19  Bob Wilson  <bob.wilson@acm.org>
176         
177         * dwarf2dbg.c (dwarf2_consume_line_info): New.
178         (dwarf2_emit_insn): Use it here.
179         (dwarf2_directive_loc): Fix check for consecutive .loc directives
180         when debug_type is DEBUG_DWARF2.
181         * dwarf2dbg.h (dwarf2_consume_line_info): New prototype.
182         * config/tc-ia64.c (ia64_flush_insns): Call dwarf2_consume_line_info.
183         (md_assemble): Likewise.
184         
185 2007-11-17  Thiemo Seufer  <ths@mips.com>
186
187         * config/tc-mips.c (md_parse_option): Match mips_optimize to the -O
188         option supplied, but still keep mips_optimize == 2 as default value.
189
190 2007-11-17  Thiemo Seufer  <ths@mips.com>
191
192         * doc/as.texinfo: Document the new attribute value.
193
194 2007-11-16  Eric B. Weddington  <eric.weddington@atmel.com>
195
196         * config/tc-avr.c (mcu_types): Add ATmega32HVB device.
197         * doc/c-avr.texi: Likewise.
198
199 2007-11-16  Eric B. Weddington  <eric.weddington@atmel.com>
200
201         * config/tc-avr.c (mcu_types): Add ATmega1284P device.
202         * doc/c-avr.texi: Likewise.
203
204 2007-11-14  Tristan Gingold  <gingold@adacore.com>
205
206         * config/tc-ia64.c (AR_RUC): Defined.
207         (ar): Add "ar.ruc".
208         (specify_resource): Handle AR_RUC like AR_ITC.
209
210 2007-11-13  Nick Clifton  <nickc@redhat.com>
211
212         * config/tc-mn10300.c (mn10300_force_relocation): Force a reloc to
213         be generated for alignment fixups.
214         * config/tc-mn10300.h (TC_FORCE_RELOCATION): Call
215         mn10300_force_relocation.
216
217 2007-11-12  Nick Clifton  <nickc@redhat.com>
218
219         PR gas/5269
220         * config/tc-frv.c (md_show_usage): Rewrite usage description to
221         make it easier to translate.
222         * gas/po/gas.pot: Regenerate.
223
224 2007-11-12  Tristan Gingold  <gingold@adacore.com>
225
226         * config/tc-ppc.c (md_assemble): If -mregnames, when parsing
227         PPC_OPERAND_CR always parse as expression to allow register name
228         followed by an expression.
229
230 2007-11-09  H.J. Lu  <hongjiu.lu@intel.com>
231
232         * config/tc-i386.c (match_template): Re-order suffix check.
233
234 2007-11-07  Bob Wilson  <bob.wilson@acm.org>
235
236         * config/tc-xtensa.c (relaxable_section): Check for .eh_frame.
237
238 2007-11-07  Eric B. Weddington  <eweddington@cso.atmel.com>
239
240         * config/tc-avr.c (mcu_types): Add ATtiny88 device.
241         * doc/c-avr.texi: Likewise.
242
243 2007-11-07  Anatoly Sokolov <aesok@post.ru>
244
245         * config/tc-avr.c (mcu_types): Add new devices: ATmega48P,
246         ATmega88P, ATmega168P, Atmega328P
247         * doc/c-avr.texi: Document new devices.
248
249 2007-11-07  Tristan Gingold  <gingold@adacore.com>
250
251         * config/tc-ppc.c (md_apply_fix): For PPC_TOC16 on XCOFF, uses
252         offset within the TOC instead of the VMA.
253
254 2007-11-06  Paul Brook  <paul@codesourcery.com>
255
256         * config/tc-arm.c (do_mull): Allow overlapping Rm for armv6.
257
258 2007-11-06  Nick Clifton  <nickc@redhat.com>
259
260         * ehopt.c (check_eh_frame): If md_allow_eh_opt is defined, invoke
261         it to see if the optimizations should be applied.
262         * config/tc-mn10300.h (md_allow_eh_opt): Define.  Only allow call
263         frame optimization if linker relaxation is not enabled.
264
265 2007-11-05  Danny Smith  <dannysmith@users.sourceforge.net>
266
267         * read.c (ALIGN_LIMIT): Rename to ...
268         (TC_ALIGN_LIMIT): Guard against prior definition.
269         * config/tc-i386.h (TC_ALIGN_LIMIT)[TE_PE]: Define.
270
271 2007-11-01  Sterling Augustine  <sterling@tensilica.com>
272
273         * config/tc-xtensa.c (xtensa_symbol_new_hook): New.
274         (xtensa_mark_difference_of_two_symbols): New.
275         (xtensa_post_relax_hook): Call xtensa_mark_difference_of_two_symbols.
276         * config/tc-xtensa.h (xtensa_symfield_type): Add next_expr_symbol.
277         (tc_symbol_new_hook): Define.
278
279 2007-11-01  H.J. Lu  <hongjiu.lu@intel.com>
280
281         * config/tc-i386.c (md_assemble): Replace no_xsuf with
282         no_ldsuf.
283         (match_template): Likewise.
284
285 2007-11-01  H.J. Lu  <hongjiu.lu@intel.com>
286
287         * config/tc-i386.h (LONG_DOUBLE_MNEM_SUFFIX): Use a non-ascii
288         letter.
289
290 2007-11-01  H.J. Lu  <hongjiu.lu@intel.com>
291
292         * config/tc-i386.c (process_suffix): Check addrprefixop0 to
293         see if the address size override prefix changes the size of the
294         first operand. 
295         (check_byte_reg): Don't warn if byteokintel is set.
296         (check_long_reg): Set i.suffix to QWORD_MNEM_SUFFIX if toqword
297         is set.
298         (check_qword_reg): Set i.suffix to LONG_MNEM_SUFFIX if todword
299         is set.
300
301 2007-10-31  Eric B. Weddington  <eweddington@cso.atmel.com>
302
303         * config/tc-avr.c (mcu_types): Remove devices that were never produced:
304         attiny10, atmega83, atmega85, atmega603.
305         * doc/c-avr.texi: Likewise.
306
307 2007-10-30  Nick Clifton  <nickc@redhat.com>
308
309         * config/tc-mn10300.c (tc_gen_reloc): Fix test that decides when
310         sym_diff relocs should be generated.
311         (md_apply_fix): Skip R_MN10300_ALIGN relocs.
312         (mn10300_fix_adjustable): Do not adjust R_MN10300_ALIGN relocs.
313         (mn10300_handle_align): New function.  Generate R_MN10300_ALIGN
314         relocs to record alignment requests.
315         * config/tc-mn10300.h (TC_FORCE_RELOCATION_SUB_SAME): Also force
316         R_MN10300_ALIGN relocs.
317         (HANDLE_ALIGN): Define.  Call mn10300_handle_align.
318
319 2007-10-30  Nick Clifton  <nickc@redhat.com>
320
321         * doc/as.texinfo (Section): Replace "subsegment" with
322         "subsection".
323
324 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
325
326         PR gas/5221
327         * config/obj-elf.c (obj_elf_section): Handle optional
328         parameters for .pushsection.
329
330         * doc/as.texinfo: Document optional parameters for
331         .pushsection.
332
333 2007-10-24  H.J. Lu  <hongjiu.lu@intel.com>
334
335         * configure.in: Move AM_PROG_LIBTOOL after AC_GNU_SOURCE.
336         * configure: Regenerated.
337
338 2007-10-24  Alan Modra  <amodra@bigpond.net.au>
339
340         * Makefile.am (INCLUDES, DEP_INCLUDES): Remove -D_GNU_SOURCE.
341         Run "make dep-am".
342         * configure.in: Invoke AC_GNU_SOURCE.
343         * Makefile.in: Regenerate.
344         * config.in: Regenerate.
345         * configure: Regenerate.
346
347 2007-10-19  Nick Clifton  <nickc@redhat.com>
348
349         * expr.c (expr): Test md_allow_local_subtract (if defined) before
350         allowing the evaluation of an expression involving two symbols
351         defined in the same section.
352         * doc/internals.texi (md_allow_local_subtract): Document the new
353         macro.
354         * config/tc-mn10300.h (md_allow_local_subtract): Define.
355         (RELAX_EXPANSION_POSSIBLE): Define.
356         (MAX_RELOC_EXPANSION): Define.
357         (TC_FRAG_TYPE): Define.
358         * config/tc-mn10300.c (md_assemble): Mark fragments as containing code.
359         (tc_gen_reloc): Return an array of relocs.  If necessary generate
360         two relocs to handle an expressions involving the difference of
361         two symbols.
362         (mn10300_fix_adjustable): Do not test TC_FORCE_RELOCATION_LOCAL
363         when then fixup is not pc-relative.
364         (mn10300_allow_local_subtract): New function.  Determine when it
365         is safe to compute the difference between two symbols at assemble
366         time.
367
368 2007-10-19  Alan Modra  <amodra@bigpond.net.au>
369
370         * config/tc-ppc.c (ppc_parse_name): Skip leading '%'.
371         (md_assemble): When parsing PPC_OPERAND_CR, add '%' to set of
372         chars that can start a name.
373
374 2007-10-18  Carlos O'Donell  <carlos@systemhalted.org>
375
376         * config/tc-hppa.c (pa_ip): Fix comment typo.
377         (pa_comm): Likewise.
378
379 2007-10-18  Nick Clifton  <nickc@redhat.com>
380
381         PR gas/5172
382         * config/tc-arc.c (md_estimate_size_before_relax): Change error
383         message.
384         (md_convert_frag): Just call abort.
385         * config/tc-i860.c (md_estimate_size_before_relax): Change error
386         message.
387         * config/tc-i860.h (md_convert_frag): Just call abort.
388         * config/tc-ip2k.c (md_estimate_size_before_relax): Change error
389         message.
390         (md_convert_frag): Just call abort.
391         * config/tc-m68k.c (m68k_ip): Do not attempt translation of
392         architecture names.
393         PR gas/5174
394         * config/tc-arm.c: Fix formatting and spelling errors.
395         PR gas/5175
396         * config/tc-xc16x.c: Fix formatting and internationalization.
397         * po/gas.pot: Regenerate.
398
399 2007-10-17  Nick Clifton  <nickc@redhat.com>
400
401         PR gas/5173
402         * as.h (ieee_md_atof, vax_md_atof): New prototypes.
403         * read.c (s_float_space): Allow a zero length return from md_atof
404         if the error message has been set.
405         (float_cons): Likewise.
406         * config/atof-ieee.c (ieee_md_atof): New function.  Performs the
407         md_atof() function in a generic way for IEEE using targets.
408         * config/atof-vax.c (md_atof): Rename to vax_md_atof.  Use the
409         same error message as ieee_md_atof.
410         * tc-alpha.c (md_atof): Use ieee_md_atof.  Remove #define of vax_md_atof.
411         * tc-arc.c (md_atof): Use ieee_md_atof.
412         * tc-arm.c (md_atof): Use sizeof (LITTLENUM_TYPE) instead of the
413         constant 2.  Use a precision of 5 for the 'x' and 'p' types.
414         * tc-avr.c (md_atof): Use ieee_md_atof.
415         * tc-bfin.c (md_atof): Use ieee_md_atof.
416         * tc-cr16.c (md_atof): Use ieee_md_atof.
417         * tc-crx.c (md_atof): Use ieee_md_atof.
418         * tc-d10v.c (md_atof): Use ieee_md_atof.
419         * tc-d30v.c (md_atof): Use ieee_md_atof.
420         * tc-dlx.c (md_atof): Use ieee_md_atof.
421         * tc-fr30.c (md_atof): Use ieee_md_atof.
422         * tc-frv.c (md_atof): Use ieee_md_atof.
423         * tc-h8300.c (md_atof): Use ieee_md_atof.
424         * tc-hppa.c (md_atof): Use ieee_md_atof.
425         * tc-i370.c (md_atof): Use ieee_md_atof.
426         (i370_dc): Convert the 'E' type to 'f' before calling md_atof.
427         * tc-i386.c (md_atof): Use ieee_md_atof.
428         * tc-i860.c (md_atof): Use ieee_md_atof.
429         * tc-i960.c (md_atof): Use ieee_md_atof.
430         * tc-ia64.c (md_atof): Use the same error message as ieee_md_atof.
431         * tc-ip2k.c (md_atof): Use ieee_md_atof.
432         * tc-iq2000.c (md_atof): Use ieee_md_atof.
433         * tc-m32c.c (md_atof): Use ieee_md_atof.
434         * tc-m32r.c (md_atof): Use ieee_md_atof.
435         * tc-m68hc11.c (md_atof): Use ieee_md_atof.
436         * tc-m68k.c (md_atof): Use ieee_md_atof.
437         * tc-maxq.c (md_atof): Use ieee_md_atof.
438         * tc-mcore.c (md_atof): Use ieee_md_atof.
439         * tc-mep.c (md_atof): Use ieee_md_atof.
440         * tc-mips.c (md_atof): Use ieee_md_atof.
441         * tc-mmix.c (md_atof): Use ieee_md_atof.
442         * tc-mn10200.c (md_atof): Use ieee_md_atof.
443         * tc-mn10300.c (md_atof): Use ieee_md_atof.
444         * tc-msp430.c (md_atof): Use ieee_md_atof.
445         * tc-mt.c (md_atof): Use ieee_md_atof.
446         * tc-ns32k.c (md_atof): Use ieee_md_atof.
447         * tc-openrisc.c (md_atof): Use ieee_md_atof.
448         * tc-or32.c (md_atof): Use ieee_md_atof.
449         * tc-pdp11.c (md_atof): New function.  Call vax_md_atof.
450         * tc-pj.c (md_atof): Use ieee_md_atof.
451         * tc-ppc.c (md_atof): Use ieee_md_atof.
452         * tc-s390.c (md_atof): Use ieee_md_atof.
453         * tc-score.c (md_atof): Use ieee_md_atof.
454         * tc-sh.c (md_atof): Use ieee_md_atof.
455         * tc-sparc.c (md_atof): Use ieee_md_atof.
456         * tc-spu.c (md_atof): Use ieee_md_atof.
457         * tc-tic30.c (md_atof): Use the same error message as ieee_md_atof.
458         * tc-tic4x.c (md_atof): Use the same error message as ieee_md_atof.
459         * tc-tic54.c (md_atof): Use ieee_md_atof.
460         * tc-v850.c (md_atof): Use ieee_md_atof.
461         * tc-vax.c (md_atof): New function.  Call vax_md_atof.
462         * tc-xc16x.c (md_atof): Use ieee_md_atof.
463         * tc-xstormy16.c (md_atof): Use ieee_md_atof.
464         * tc-xtensa.c (md_atof): Use ieee_md_atof.
465         * tc-z8k.c (md_atof): Use ieee_md_atof.
466         * doc/internals.texi: Update description of md_atof function.
467         * po/gas.pot: Regenerate.
468
469 2007-10-16  Bob Wilson  <bob.wilson@acm.org>
470         
471         * doc/as.texinfo (Overview): Add Xtensa --rename-section option.
472         
473 2007-10-16  Nick Clifton  <nickc@redhat.com>
474
475         * config/obj-elf.c (obj_elf_type): Accept "common" as a valid
476         symbol type.
477         * doc/as.texinfo (.type): Document the types accepted by the
478         type pseudo op, including "common".
479
480 2007-10-15  Peter Bergner  <bergner@vnet.ibm.com>
481
482         * config/tc-ppc.c (ppc_setup_opcodes): Verify instructions are sorted
483         according to major opcode number.
484
485 2007-10-15  Alan Modra  <amodra@bigpond.net.au>
486
487         * read.c (do_s_func): Check asprintf return status.
488         * stabs.c (stabs_generate_asm_func): Likewise.
489         (stabs_generate_asm_endfunc): Likewise.
490
491 2007-10-12  H.J. Lu  <hongjiu.lu@intel.com>
492
493         * config/tc-i386.c (process_operands): Simplify implicit xmm0
494         handling.
495
496 2007-10-12  H.J. Lu  <hongjiu.lu@intel.com>
497
498         * config/tc-i386.c (process_operands): Check the firstxmm0
499         field in opcode_modifier for instruction with a implicit
500         xmm0 as the first operand.
501
502 2007-10-12  Eric B. Weddington  <eweddington@cso.atmel.com>
503
504         * config/tc-avr.c (mcu_types): Add new devices: AT90PWM2B,
505         AT90PWM3B.
506         * doc/c-avr.texi: Document new devices.
507
508 2007-10-12  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
509
510         * config/tc-cr16.c: Update the md_relax_table for 1 word b<cc>
511         instruction range information.
512
513 2007-10-12  Daniel Jacobowitz  <dan@codesourcery.com>
514
515         * doc/as.texinfo (Object Attributes): New chapter.
516         (Pseudo Ops): Document .gnu_attribute.
517         (LNS directives): Correct .loc_mark_labels documentation.
518
519 2007-10-11  Nick Clifton  <nickc@redhat.com>
520
521         * config/obj-elf.c (obj_elf_section): When pushing a section, if
522         there is a comma then the following argument must be a subsection
523         number.
524
525 2007-10-11  H.J. Lu  <hongjiu.lu@intel.com>
526
527         * doc/c-i386.texi: Update which instruction's operands are
528         swapped.
529
530 2007-10-11  Nick Clifton  <nickc@redhat.com>
531
532         PR gas/5161
533         * config/tc-ia64.c: Allow for translations of error and warning
534         messages.
535         * po/gas.pot: Regenerate.
536
537         PR gas/5158
538         * config/tc-h8300.c (tc_gen_reloc): Allow for translation of error
539         message.
540         * po/gas.pot: Regenerate.
541
542         PR gas/5155
543         * config/tc-msp430.c: Fix spelling typos.
544
545 2007-10-11  Nick Clifton  <nickc@redhat.com>
546
547         * doc/as.texinfo (Type): Fix typo: STT_FUNC not STT_FUNCTION.
548
549 2007-10-08  Maciej W. Rozycki  <macro@linux-mips.org>
550
551         * config/tc-mips.c (AT): Rename to...
552         (ATREG): ... this.
553         (AT): New definition.
554         (mips_set_options): Rename "noat" to "at"; change the type.
555         (mips_opts): Update accordingly.
556         (append_insn): Likewise.
557         (macro_build_ldst_constoffset): Likewise.
558         (load_address): Likewise.
559         (macro, macro2): Likewise.
560         (s_mipsset): Handle ".set at=REG".  Update handling of ".set at"
561         and ".set noat".
562
563 2007-10-08  Nick Clifton  <nickc@redhat.com>
564
565         * doc/as.texinfo (Previous): Clarify explanation of the behaviour
566         of this pseudo-op and add a couple of examples.
567
568 2007-10-08  Nick Clifton  <nickc@redhat.com>
569
570         PR gas/5121 gas/5122 gas/5123
571         * Makefile.am (CFILES): Add cgen.c
572         (TARGET_CPU_CFILES): Add tc-iq2000.c, tc-maxq.c, tc-mt.c,
573         tc-tic4x.c and xtensa-relax.c.
574         (TARGET_CPU_HFILES): Add tc-iq2000.h, tc-maxq.h, tc-mt.h,
575         tc-tic4x.h and xtensa-relax.h.
576         (TARG_ENV_HFILES): Remove te-aux.h, te-delta.h, te-delt88.h,
577         te-ic960.h, te-linux.h.  Add te-aix5.h, te-armeabi.h,
578         te-freebsd.h, te-gnu.h, te-interix.h, te-vxworks.h.
579         (CONFIG_ATOF_CFILES): New variable.
580         (POTFILES): Add CONFIG_ATOF_CFILES to dependencies.  Fix typo with
581         dependency upon TARG_ENV_HFILES.
582         (DEPTC): Do not put "#include opcodes/<foo>-desc.h" into
583         cgen-desc.h when foo-desc.h does not exit.
584         Run make dep-am.
585         * Makefile.in: Regenerate.
586         * doc/Makefile.in: Regenerate.
587         * po/POTFILES.in: Regenerate.
588         PR gas/5124 gas/5125
589         * po/es.po: Regenerate.
590         * po/fr.po: Regenerate.
591         * po/gas.pot: Regenerate.
592         * po/rw.po: Regenerate.
593         * po/tr.po: Regenerate.
594         * config/obj-elf.c (obj_elf_vtable_inherit): Allow for translation
595         of error messages.
596         PR gas/5126
597         * config/obj-som.c: Likewise.
598         PR gas/5129
599         * config/tc-arc.c: Likewise.
600         PR gas/5131 gas/5132
601         * config/tc-arm.c: Likewise.
602         PR gas/5137
603         * config/tc-bfin.c: Likewise.
604         PR gas/5143
605         * config/tc-frv.c: Likewise.
606         PR gas/5142
607         * config/tc-dlx.c: Likewise.
608
609 2007-10-08  Eric B. Weddington  <eweddington@cso.atmel.com>
610
611         * config/tc-avr.c (mcu_types): Add new devices: ATtiny43U,
612         ATtiny48, AT90PWM216, AT90PWM316.
613         * doc/c-avr.texi: Document new devices.
614
615 2007-10-08  Nick Clifton  <nickc@redhat.com>
616
617         PR gas/5133
618         * config/tc-arm.c (md_apply_fix): Correct error message.
619         PR gas/5134     
620         * config/tc-arm.c (md_apply_fix): Likewise.
621         PR gas/5136
622         * config/tc-bfin.c (md_apply_fix): Fix error message.
623         PR gas/5135
624         (Expr_Node_Gen_Reloc_R): Fix spelling typos in error messages.
625
626 2007-10-05  H.J. Lu  <hongjiu.lu@intel.com>
627
628         * config/tc-i386.c (build_modrm_byte): Check the first 2 8bit
629         immediate operands directly for instructions with 4 operands.
630
631 2007-10-04  H.J. Lu  <hongjiu.lu@intel.com>
632
633         PR gas/5109
634         * config/tc-i386.c (process_suffix): Clear QWORD suffix if it
635         is ignored in Intel mode.
636
637 2007-10-04  Helge Deller  <deller@gmx.de>
638
639         * read.c (potable): Add string8, string16, string32 and string64.
640         Add bit size for stringer function.
641         (stringer_append_char): New.
642         (stringer): Use stringer_append_char().
643         * config/obj-coff.c (obj_coff_ident): Add bit size for stringer function.
644         * config/obj-elf.c (obj_elf_ident): Likewise.
645         * config/tc-alpha.c (s_alpha_stringer): Likewise.
646         * config/tc-dlx.c (dlx_pseudo_table): Likewise.
647         * config/tc-hppa.c (pa_stringer): Likewise.
648         * config/tc-ia64.c (md_pseudo_table, pseudo_opcode): Likewise.
649         * config/tc-m68hc11.c (md_pseudo_table): Likewise.
650         * config/tc-mcore.c (md_pseudo_table): Likewise.
651         * config/tc-mips.c (mips_pseudo_table): Likewise.
652         * config/tc-spu.c (md_pseudo_table): Likewise.
653         * config/tc-s390.c (md_pseudo_table): Likewise. Replace '2' by '1'.
654         * doc/as.texinfo (ABORT): Fix identing.
655         (String): Document new string8, string16, string32, string64
656         functions.
657         * NEWS: Mention the new feature.
658
659 2007-10-03  Nick Clifton  <nickc@redhat.com>
660
661         PR gas/5078
662         * config/tc-avr.c (avr_get_constant): Extend error message to
663         mention that the constant must be positive.
664
665 2007-10-03  Nick Clifton  <nickc@redhat.com>
666
667         * config/tc-avr.c (avr_get_constant): 
668         PR gas/5089
669         * config/tc-arm.c (s_arm_unwind_handlerdata): Fix spelling typo.
670         PR gas/5090
671         (md_assemble): Fix spelling typo.
672
673 2007-10-03  Alan Modra  <amodra@bigpond.net.au>
674
675         PR 4303
676         * stabs.c (aout_process_stab): Set BSF_DEBUGGING.
677
678 2007-10-01  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
679
680         * config/tc-cr16.c: Replaced 'tabs' with white spaces and
681         added R_CR16_DISP8 as default reloc type for b<cc> instructions.
682
683 2007-09-30  H.J. Lu  <hongjiu.lu@intel.com>
684
685         PR gas/5080
686         * config/tc-i386.c (check_long_reg): Also handle cvttss2si.
687         (check_qword_reg): Also handle cvttsd2si.
688
689 2007-09-27  Kazu Hirata  <kazu@codesourcery.com>
690
691         * config/m68k-parse.h (m68k_register): Use MBO instead of MBB.
692         (last_movec_reg): Change to MBO.
693         * config/tc-m68k.c (fido_ctrl): Use MBO instead of MBB.
694         (m68k_ip): Use MBO instead of MBO.
695         (init_table): Use MBO instead of MBO.  Add an entry for mbo.
696
697 2007-09-26  Jan Beulich  <jbeulich@novell.com>
698
699         * config/tc-i386.c (build_modrm_byte): Also check for RegEip
700         when considering IP-relative addressing.
701
702 2007-09-26  Jan Beulich  <jbeulich@novell.com>
703
704         * config/tc-i386.h (md_register_arithmetic): Define.
705         * config/tc-ia64.h (md_register_arithmetic): Likewise.
706         * doc/internals.texi: Document md_register_arithmetic.
707         * expr.c (make_expr_symbol): Force O_register expressions into
708         reg_section.
709         (expr): Provide default for md_register_arithmetic. Don't resolve
710         adding/subtracting constants to/from registers if
711         md_register_arithmetic is zero.
712
713 2007-09-26  Jan Beulich  <jbeulich@novell.com>
714
715         * dw2gencfi.c: Conditionalize whole body upon TARGET_USE_CFIPOP.
716         (cfi_finish): Add second empty instance.
717
718 2007-09-26  Jan Beulich  <jbeulich@novell.com>
719
720         * config/tc-ia64.c (dot_pred_rel): Replace specialized handling
721         with simple call to parse_operand.
722
723 2007-09-26  Jan Beulich  <jbeulich@novell.com>
724
725         * config/tc-i386.c (NUM_FLAG_CODE): Remove.
726
727 2007-09-26  Jan Beulich  <jbeulich@novell.com>
728
729         * as.c (itbl_parse): Remove #define.
730         (struct itbl_file_list): Move down and ...
731         (itbl_files): .. conditionalize upon HAVE_ITBL_CPU.
732         (show_usage): Conditionalize printing of --itbl option upon
733         HAVE_ITBL_CPU.
734         (parse_args): Conditionalize handling of -t/--itbl options upon
735         HAVE_ITBL_CPU. Remove OPTION_INSTTBL and replace its use with
736         't'.
737
738 2007-09-25  H.J. Lu  <hongjiu.lu@intel.com>
739
740         * config/tc-i386.c (output_insn): Use i.tm.opcode_length to
741         check opcode length.
742
743 2007-09-25  Nathan Sidwell  <nathan@codesourcery.com>
744
745         * config/tc-m68k.c (LONG_BRANCH_VIA_COND): New.
746         (BRANCHBWPL, FRAG_VAR_SIZE): New.
747         (md_relax_table): Add BRANCHBWPL entries.
748         (m68k_ip): Choose BRANCHBWPL relaxation if necessary.
749         (md_assemble): Use FRAG_VAR_SIZE.
750         (md_convert_frag_1): Add BRANCHBWPL cases.
751         (md_estimate_size_before_relaz): Likewise.
752
753 2007-09-24  Carlos O'Donell  <carlos@codesourcery.com>
754
755         * config/tc-mips.c (s_align): Set max_alignment to 28.
756         
757 2007-09-20  H.J. Lu  <hongjiu.lu@intel.com>
758
759         PR 658
760         * config/tc-i386.c (SCALE1_WHEN_NO_INDEX): Removed.
761         (set_allow_index_reg): New.
762         (allow_index_reg): Likewise.
763         (md_pseudo_table): Add "allow_index_reg" and
764         "disallow_index_reg".
765         (build_modrm_byte): Set i.sib.index to NO_INDEX_REGISTER for
766         fake index registers.
767         (i386_scale): Updated.
768         (i386_index_check): Support fake index registers.
769         (parse_real_register): Return NULL on eiz/riz if fake index
770         registers aren't allowed.
771
772 2007-09-19  Nick Clifton  <nickc@redhat.com>
773
774         * config/tc-h8300.c (md_apply_fix): Do not abort or handle 8 byte
775         fixups.
776
777 2007-09-19  Bob Wilson  <bob.wilson@acm.org>
778
779         * doc/c-xtensa.texi (Xtensa Immediate Relaxation): Fix "addi" typo.
780
781 2007-09-18  Bernd Schmidt  <bernd.schmidt@analog.com>
782
783         * config/bfin-parse.y (asm_1): Slightly improve error messages
784         for "reg += const;".
785
786 2007-09-18  Alan Modra  <amodra@bigpond.net.au>
787
788         PR gas/5026
789         * read.c (emit_expr): Only use long long if required and available.
790
791 2007-09-17  H.J. Lu  <hongjiu.lu@intel.com>
792
793         * config/tc-i386.c (baseindex): Removed.
794         (build_modrm_byte): Check reg_num for RIP register instead of
795         reg_type.
796         (i386_index_check): Likewise.
797
798 2007-09-17  H.J. Lu  <hongjiu.lu@intel.com>
799
800         PR gas/5035
801         * config/obj-coff.c (obj_coff_endef): Remove checking size of
802         def_symbol_in_progress.
803
804 2007-09-17  Evandro Menezes  <evandro@yahoo.com>
805
806         PR gas/5026
807         * read.c (emit_expr): Use unsigned long long values in warning
808         message about truncated expressions.
809
810 2007-09-17  H.J. Lu  <hongjiu.lu@intel.com>
811
812         * config/tc-i386.c (intel_e04): Revert the last change.
813
814 2007-09-17  Nick Clifton  <nickc@redhat.com>
815
816         * po/es.po: Updated Spanish translation.
817
818 2007-09-15  H.J. Lu  <hongjiu.lu@intel.com>
819
820         PR gas/5034
821         * config/tc-i386.c (intel_e04): Return 1 if cur_token.code is
822         T_NIL.
823
824 2007-09-14  H.J. Lu  <hongjiu.lu@intel.com>
825
826         * config/tc-i386.c (build_modrm_byte): Adjust comment line
827         wrap.
828
829 2007-09-14  H.J. Lu  <hongjiu.lu@intel.com>
830
831         * config/tc-i386.c (build_modrm_byte): Use (A || B) instead
832         of (A || B) != 0.
833
834 2007-09-14  H.J. Lu  <hongjiu.lu@intel.com>
835
836         * config/tc-i386.c (build_modrm_byte): Adjust indentation.
837
838 2007-09-14  Michael Meissner  <michael.meissner@amd.com>
839             Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
840             Tony Linthicum  <tony.linthicum@amd.com>
841
842         * NEWS: Add SSE5 support to NEWS file.
843         
844         * config/tc-i386.h (drex_byte): Add fields to allow process_drex
845         and build_modrm_byte to communicate.
846         (DREX_OC0): New SSE5 macro.
847         (DREX_OC0_MASK): Ditto.
848         (DREX_OC1): Ditto.
849         (DREX_OC1_MASK): Ditto.
850         (DREX_XMEM_X1_X2_X2): Ditto.
851         (DREX_X1_XMEM_X2_X2): Ditto.
852         (DREX_X1_XMEM_X2_X1: Ditto.
853         (DREX_X1_X2_XMEM_X1: Ditto.
854         (DREX_XMEM_X1_X2): Ditto.
855         (DREX_X1_XMEM_X2): Ditto.
856         (drex_byte): New structure to describe the DREX byte.
857
858         * config/tc-i386.c (process_drex): New function to handle SSE5
859         DREX bits.
860         (build_modrm_byte): Use the information cached away in
861         process_drex in the case of DREX instructions.
862         (i386_insn): Add drex field.
863         (pi): Add debugging of drex field.
864         (md_assemble): Treat SSE5 like SSE3 in instructions with an
865         immediate byte.  Move REX field to DREX if this is a DREX
866         instruction.
867         (process_operands): Add SSE5 support.
868         (build_modrm_byte): Ditto.
869         (output_insn): Ditto.
870         (cpu_arch): Ditto.
871         (i386_align_code): Ditto.
872
873 2007-09-12  Jan Beulich  <jbeulich@novell.com>
874
875         * config/tc-i386.c (md_assemble): Move handling of extrq/insertq
876         after generic operand swapping, and swap only the immediate operands.
877
878 2007-09-11  Nathan Sidwell  <nathan@codesourcery.com>
879
880         * config/tc-m68k.c (m68k_ip): Add mcfisa_c case.
881         (m68k_elf_final_processing): Add EF_M68K_CF_ISA_C_NODIV.
882
883 2007-09-09  H.J. Lu  <hongjiu.lu@intel.com>
884
885         * tc-i386.c (output_insn): Only check SSE4.2 and ABM for 3
886         byte opcode.
887
888 2007-09-08  H.J. Lu  <hongjiu.lu@intel.com>
889
890         * config/tc-i386.c (cpu_flags_check_x64): Renamed to ...
891         (cpu_flags_check_cpu64): This. Inline.
892         (uints_all_zero): New.
893         (uints_set): Likewise
894         (uints_equal): Likewise
895         (UINTS_ALL_ZERO): Likewise
896         (UINTS_SET): Likewise
897         (UINTS_CLEAR): Likewise
898         (UINTS_EQUAL): Likewise
899         (cpu_flags_and): Likewise.
900         (cpu_flags_or): Likewise.
901         (operand_type_and): Likewise.
902         (operand_type_or): Likewise.
903         (operand_type_xor): Likewise.
904         (cpu_flags_not): Inline and use switch instead of loop.
905         (cpu_flags_match): Updated.
906         (operand_type_match): Likewise.
907         (smallest_imm_type): Likewise.
908         (set_cpu_arch): Likewise.
909         (pt): Likewise.
910         (md_assemble): Likewise.
911         (parse_insn): Likewise.
912         (optimize_imm): Likewise.
913         (match_template): Likewise.
914         (process_suffix): Likewise.
915         (update_imm): Likewise.
916         (finalize_imm): Likewise.
917         (process_operands): Likewise.
918         (build_modrm_byte): Likewise.
919         (i386_immediate): Likewise.
920         (i386_displacement): Likewise.
921         (i386_index_check): Likewise.
922         (i386_operand): Likewise.
923         (i386_target_format): Likewise.
924         (intel_e11): Likewise.
925         (operand_type): Remove implicitregister.
926         (operand_type_check): Updated. Inline.
927         (cpu_flags_all_zero): Removed.
928         (operand_type_all_zero): Likewise.
929         (i386_array_biop): Likewise.
930         (cpu_flags_biop): Likewise.
931         (operand_type_biop): Likewise.
932
933 2007-09-08  H.J. Lu  <hongjiu.lu@intel.com>
934
935         * Makefile.am: Run "make dep-am".
936         * Makefile.in: Regenerate.
937
938 2007-09-08  H.J. Lu  <hongjiu.lu@intel.com>
939
940         * configure.in (AC_CHECK_HEADERS): Add limits.h.
941         * configure: Regenerated.
942         * config.in: Likewise.
943
944         * config/tc-i386.c: Include "opcodes/i386-init.h".
945         (_i386_insn): Use i386_operand_type for types.
946         (cpu_arch_flags): Updated to new types with bitfield.
947         (cpu_arch_tune_flags): Likewise.
948         (cpu_arch_isa_flags): Likewise.
949         (cpu_arch): Likewise.
950         (i386_align_code): Likewise.
951         (set_code_flag): Likewise.
952         (set_16bit_gcc_code_flag): Likewise.
953         (set_cpu_arch): Likewise.
954         (md_assemble): Likewise.
955         (parse_insn): Likewise.
956         (process_operands): Likewise.
957         (output_branch): Likewise.
958         (output_jump): Likewise.
959         (parse_real_register): Likewise.
960         (mode_from_disp_size): Likewise.
961         (smallest_imm_type): Likewise.
962         (pi): Likewise.
963         (type_names): Likewise.
964         (pt): Likewise.
965         (pte): Likewise.
966         (swap_2_operands): Likewise.
967         (optimize_imm): Likewise.
968         (optimize_disp): Likewise.
969         (match_template): Likewise.
970         (check_string): Likewise.
971         (process_suffix): Likewise.
972         (check_byte_reg): Likewise.
973         (check_long_reg): Likewise.
974         (check_qword_reg): Likewise.
975         (check_word_reg): Likewise.
976         (finalize_imm): Likewise.
977         (build_modrm_byte): Likewise.
978         (output_insn): Likewise.
979         (disp_size): Likewise.
980         (imm_size): Likewise.
981         (output_disp): Likewise.
982         (output_imm): Likewise.
983         (gotrel): Likewise.
984         (i386_immediate): Likewise.
985         (i386_displacement): Likewise.
986         (i386_index_check): Likewise.
987         (i386_operand): Likewise.
988         (parse_real_register): Likewise.
989         (i386_intel_operand): Likewise.
990         (intel_e09): Likewise.
991         (intel_bracket_expr): Likewise.
992         (intel_e11): Likewise.
993         (cpu_arch_flags_not): New.
994         (cpu_flags_check_x64): Likewise.
995         (cpu_flags_all_zero): Likewise.
996         (cpu_flags_not): Likewise.
997         (i386_cpu_flags_biop): Likewise.
998         (cpu_flags_biop): Likewise.
999         (cpu_flags_match); Likewise.
1000         (acc32): New.
1001         (acc64): Likewise.
1002         (control): Likewise.
1003         (reg16_inoutportreg): Likewise.
1004         (disp16): Likewise.
1005         (disp32): Likewise.
1006         (disp32s): Likewise.
1007         (disp16_32): Likewise.
1008         (anydisp): Likewise.
1009         (baseindex): Likewise.
1010         (regxmm): Likewise.
1011         (imm8): Likewise.
1012         (imm8s): Likewise.
1013         (imm16): Likewise.
1014         (imm32): Likewise.
1015         (imm32s): Likewise.
1016         (imm64): Likewise.
1017         (imm16_32): Likewise.
1018         (imm16_32s): Likewise.
1019         (imm16_32_32s): Likewise.
1020         (operand_type): Likewise.
1021         (operand_type_check): Likewise.
1022         (operand_type_match): Likewise.
1023         (operand_type_register_match): Likewise.
1024         (update_imm): Likewise.
1025         (set_code_flag): Also update cpu_arch_flags_not.
1026         (set_16bit_gcc_code_flag): Likewise.
1027         (md_begin): Likewise.
1028         (parse_insn): Use cpu_flags_check_x64 to check 64bit support.
1029         Use cpu_flags_match to match instructions.
1030         (i386_target_format): Update cpu_arch_isa_flags and
1031         cpu_arch_tune_flags to i386_cpu_flags type with bitfield.
1032         (smallest_imm_type): Check cpu_arch_tune to tune for i486.
1033         (match_template): Don't initialize overlap0, overlap1,
1034         overlap2, overlap3 and operand_types.
1035         (process_suffix): Handle crc32 with 64bit register.
1036         (MATCH): Removed.
1037         (CONSISTENT_REGISTER_MATCH): Likewise.
1038
1039         * config/tc-i386.h (arch_entry): Updated to i386_cpu_flags
1040         type.
1041
1042 2007-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1043
1044         * config/tc-i386.c (match_template): Handle invlpga, vmload,
1045         vmrun and vmsave in SVME.
1046         (process_suffix): Likewise.
1047
1048 2007-09-05  H.J. Lu  <hongjiu.lu@intel.com>
1049
1050         * config/tc-i386.c (i386_index_check): Don't use RegRex
1051         on the reg_type field.
1052         (parse_real_register): Use `||' instead of `|'.
1053
1054 2007-09-04  H.J. Lu  <hongjiu.lu@intel.com>
1055
1056         * config/tc-i386.c (process_operands): Remove segment override
1057         check on SVME instructions.
1058         (i386_index_check): Remove memory operand check on SVME
1059         instructions.
1060
1061 2007-09-04  Alan Modra  <amodra@bigpond.net.au>
1062
1063         * config/tc-spu.c (struct spu_insn): Delete "flag".  Add "reloc".
1064         (md_assemble): Update init of insn.  Use insn.reloc instead of
1065         calculating from flag.
1066         (get_imm): Set reloc rather than flag.
1067         (calcop): Formatting.
1068
1069 2007-08-29  Daniel Jacobowitz  <dan@codesourcery.com>
1070
1071         * dwarf2dbg.c (dwarf2_directive_loc): Emit duplicate .loc directives.
1072
1073 2007-08-28  Daniel Jacobowitz  <dan@codesourcery.com>
1074
1075         * doc/c-arc.texi: Fix typo.
1076
1077 2007-08-28  H.J. Lu  <hongjiu.lu@intel.com>
1078
1079         * config/tc-i386.c (process_suffix): Handle cmpxchg8b in
1080         Intel mode.
1081
1082 2007-08-28  Nathan Sidwell  <nathan@codesourcery.com>
1083
1084         * config/tc-m68k.c (mcf52235_ctrl): Add cache registers.
1085         (mcf5253_ctrl): Add RAMBAR, MBAR, MBAR2.
1086         (mcf5407_ctrl): New.
1087         (m68k_cpus): Adjust 5407 entry.
1088
1089 2007-08-28  Maxim Kuvyrkov  <maxim@codesourcery.com>
1090
1091         * config/tc-m68k.c (mcf51qe_ctrl): Define 51QE control registers.
1092         (m68k_cpus): Define 51QE cpu.
1093
1094 2007-08-28  Mark Shinwell  <shinwell@codesourcery.com>
1095             Joseph Myers  <joseph@codesourcery.com>
1096
1097         * as.c (main): Flush stderr before printing listings to ensure
1098         consistent output order across platforms.
1099
1100 2007-08-28  Robert Sebastian Gerus  <arachnist@gmail.com>
1101
1102         * configure.tgt: Add support for i[3-7]86-*-dragonfly*.
1103
1104 2007-08-24  Joseph Myers  <joseph@codesourcery.com>
1105             Paul Brook  <paul@codesourcery.com>
1106
1107         * remap.c: New.
1108         * as.h (remap_debug_filename, add_debug_prefix_map): Declare.
1109         * as.c (show_usage): Document --debug-prefix-map option.
1110         (parse_args): Handle --debug-prefix-map.
1111         * dwarf2dbg.c (out_file_list, out_debug_info): Remap debug paths.
1112         * stabs.c (stabs_generate_asm_file): Remap debug paths.
1113         * Makefile.am (GAS_CFILES): Add remap.c
1114         (GENERIC_OBJS): Add remap.o.
1115         Regenerate dependencies.
1116         * Makefile.in: Regenerate.
1117         * doc/as.texinfo (--debug-prefix-map): Document.
1118
1119 2007-08-24  Aurelien Jarno  <aurel32@debian.org>
1120
1121         * config/tc-arm.c (md_apply_fix): Cast bfd_vma values to long
1122         before printing them.
1123
1124 2007-08-24  Anders Waldenborg  <anders@0x63.nu>
1125             Alan Modra  <amodra@bigpond.net.au>
1126
1127         * config/tc-i386.c (lex_got): Don't scan past a comma.
1128
1129 2007-08-23  Ben Elliston  <bje@au.ibm.com>
1130
1131         * config/tc-ppc.c (parse_cpu): Handle "750cl".
1132         (pre_defined_registers): Add "gqr0" to "gqr7", "gqr.0" to "gqr.7".
1133         (md_show_usage): Document -m750cl.
1134         (md_assemble): Handle two delimiters in succession (eg. `),').
1135         * doc/c-ppc.texi (PowerPC-Opts): Document -m750cl.
1136         * testsuite/gas/ppc/ppc.exp: Run ppc70ps dump tests.
1137         * testsuite/gas/ppc/ppc750ps.s: New file.
1138         * testsuite/gas/ppc/ppc750ps.d: Likewise.
1139
1140 2007-08-23  Ben Elliston  <bje@au.ibm.com>
1141
1142         * doc/c-arm.texi (ARM Directives): Move brackets out of @vars.
1143
1144 2007-08-17  Alan Modra  <amodra@bigpond.net.au>
1145
1146         PR gas/4079
1147         * config/tc-i386.c (x86_cons): Complain about invalid @got etc.
1148         expressions.
1149         (i386_immediate): Detect and complain about more cases of
1150         invalid immediate expressions.  Return failure rather than
1151         converting them to zero.
1152         (i386_displacement): Likewise.
1153
1154 2007-08-17  Alan Modra  <amodra@bigpond.net.au>
1155
1156         * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
1157
1158 2007-08-14  Andreas Schwab  <schwab@suse.de>
1159
1160         * config/tc-ia64.c (tc_gen_reloc): Return NULL if relocation is
1161         unrepresentable.
1162
1163 2007-08-12  Matthias Klose  <doko@ubuntu.com>
1164
1165         * doc/Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Include
1166         $(top_srcdir)/../../bfd/doc.
1167         * doc/Makefile.in: Regenerate.
1168
1169 2007-08-10  Nick Clifton  <nickc@redhat.com>
1170
1171         * NEWS: Add a marker for the 2.18 features.
1172
1173 2007-08-09  Paul Brook  <paul@codesourcery.com>
1174
1175         * config/tc-arm.c (relaxed_symbol_addr): Compensate for alignment.
1176
1177 2007-08-09  H.J. Lu  <hongjiu.lu@intel.com>
1178
1179         * config/tc-i386.c (check_byte_reg): Support pextrb and pinsrb.
1180
1181 2007-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1182
1183         * config/tc-i386.c (check_long_reg): Allow cvtss2si to convert
1184         DWORD memory to Reg64 in Intel synax.
1185         (check_qword_reg): Allow cvtsd2si to convert QWORD memory to
1186         Reg32 in Intel syntax.
1187
1188 2007-07-25  Sterling Augustine  <sterling@tensilica.com>
1189
1190         * config/tc-xtensa.c (xtensa_extui_opcode): New.
1191         (xg_expand_assembly_insn): Check for invalid extui operands.
1192         (md_begin): Initialize xtensa_extui_opcode.
1193
1194 2007-07-24  Nick Clifton  <nickc@redhat.com>
1195
1196         * config/tc-mep.h (skip_whitespace): Remove definition.
1197
1198 2007-07-23  H.J. Lu  <hongjiu.lu@intel.com>
1199
1200         * config/tc-i386.c (cpu_arch): Change i386 to PROCESSOR_I386.
1201         (f32_15): Removed.
1202         (jump_31): New.
1203         (f32_patt): Remove f32_15.
1204         (f16_patt): Likewise.
1205         (i386_align_code): Updated to alt_long_patt for 64bit by
1206         default.
1207
1208         * config/tc-i386.h (processor_type): Add PROCESSOR_I386.
1209
1210 2007-07-23  Evandro Menezes  <evandro.menezes@amd.com>
1211
1212         * config/tc-i386.c (i386_align_code): Enable alignment up to
1213         MAX_MEM_FOR_RS_ALIGN_CODE bytes.  Remove special treatment
1214         for K8.
1215
1216         * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Changed to 31.
1217
1218 2007-07-20  Nick Clifton  <nickc@redhat.com>
1219
1220         * app.c (do_scrub_chars): Provide a one character buffer to hold a
1221         pushed back newline at the end of an unterminated quoted string.
1222
1223 2007-07-14  Nick Clifton  <nickc@redhat.com>
1224
1225         * config/tc-arm.c (create_register_alias): Return a boolean rather
1226         than an integer.
1227         Check the return value of insert_reg_alias and do not continue to
1228         create aliases once an insertion has failed.
1229         (s_unreq): Delete the all-upper-case and all-lower-case
1230         alternatives as well.
1231
1232 2007-07-12  Kai Tietz   <kai.tietz@onevision.com>
1233
1234         * symbols.c: Print bfd_hostptr_t to file via fprintf_vma.
1235         * write.c: Likewise.
1236
1237 2007-07-11  Daniel Jacobowitz  <dan@codesourcery.com>
1238
1239         * config/tc-mips.c (mips_dwarf2_format, mips_dwarf2_addr_size): Use
1240         HAVE_64BIT_SYMBOLS.
1241
1242 2007-07-04  Richard Sandiford  <richard@codesourcery.com>
1243
1244         * config/tc-mips.c (mips_cpu_info_table): Add new entries for
1245         {24k,24ke,34k,74k}f{2_1,1_1,x}.  Also add an entry for 74kf3_2.
1246         Deprecate *x and *fx.
1247         * doc/c-mips.texi: Document the new CPU arguments.  Deprecate
1248         *x and *fx.
1249
1250 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
1251
1252         * config/obj-coff.h (x86_64_target_format): Renamed to ...
1253         (i386_target_format): This
1254         (TARGET_FORMAT): Use i386_target_format.
1255
1256         * config/tc-i386.c (x86_64_target_format): Removed.
1257         (i386_target_format): Handle PE formats.
1258
1259 2007-07-04  Nick Clifton  <nickc@redhat.com>
1260
1261         * symbols.c (symbol_relc_make_value): Use bfd_sprintf_vma in order
1262         to get the right length of printed value.
1263
1264 2007-07-03  Nick Clifton  <nickc@redhat.com>
1265
1266         * COPYING: Replace with GPLv3 text.
1267         * app.c: Update copyright notice to refer to GPLv3.
1268         * as.c, as.h, asintl.h, atof_generic.c, bignum.h, bit_fix.h,
1269         cgen.c, cond.c, debug.c, depend.c, dw2gencfi.c, dw2gencfi.h,
1270         dwarf2dbg.c, dwarf2dbg.h, ecoff.c, ecoff.h, ehopt.c, emul.h,
1271         emul_target.h, expr.c, expr.h, flonum-copy.c, flonum.h,
1272         flonum-konst.c, frags.c, frags.h, hash.c, hash.h, input-file.c,
1273         input-file.h, input-scrub.c, ibtl-lex.h, itbl-lex.l, itbl-ops.c,
1274         itbl-ops.h, itbl-parse.y, listing.c, listing.h, literal.c,
1275         macro.c, messages.c, obj.h, output-file.c, output-file.h, read.c,
1276         read.h, sb.c, sb,h, stabs.c, struc-symbol.h, subsegs.c, subsegs.h,
1277         symbols.c, symbols.h, tc.h, write.c, write.h, config/aout_gnu.h,
1278         config/config/atof-ieee.c, config/atof-vax.c, config/bfin-aux.h, 
1279         config/bfin-defs.h, config/bfin-lex.l, config/bfin-parse.y,
1280         config/itbl-mips.h, config/m68k-parse.h, config/m68k-parse.y,
1281         config/obj-aout.c, config/obj-aout.h, config/obj-coff.c,
1282         config/obj-coff.h, config/obj-ecoff.c, config/obj-ecoff.h,
1283         config/obj-elf.c, config/obj-elf.h, config/obj-evax.c,
1284         config/obj-evax.h, config/obj-multi.h, config/obj-som.c,
1285         config/obj-som.h, config/tc-alpha.c, config/tc-alpha.h,
1286         config/tc-arc.c, config/tc-arc.h, config/tc-arm.c,
1287         config/tc-arm.h, config/tc-avr.c, config/tc-avr.h,
1288         config/tc-bfin.c, config/tc-bfin.h, config/tc-cr16.c,
1289         config/tc-cr16.h, config/tc-cris.c, config/tc-cris.h,
1290         config/tc-crx.c, config/tc-crx.h, config/tc-d10v.c,
1291         config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h,
1292         config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.c,
1293         config/tc-fr30.h, config/tc-frv.c, config/tc-frv.h,
1294         config/tc-generic.c, config/tc-generic.h, config/tc-h8300.c,
1295         config/tc-h8300.h, config/tc-hppa.c, config/tc-hppa.h,
1296         config/tc-i370.c, config/tc-i370.h, config/tc-i386.c,
1297         config/tc-i386.h, config/tc-i860.c, config/tc-i860.h,
1298         config/tc-i960.c, config/tc-i960.h, config/tc-ia64.c,
1299         config/tc-ia64.h, config/tc-ip2k.c, config/tc-ip2k.h,
1300         config/tc-iq2000.c, config/tc-iq2000.h, config/tc-m32c.c,
1301         config/tc-m32c.h, config/tc-m32r.c, config/tc-m32r.h,
1302         config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c,
1303         config/tc-m68k.h, config/tc-maxq.c, config/tc-maxq.h,
1304         config/tc-mcore.c, config/tc-mcore.h, config/tc-mep.c,
1305         config/tc-mep.h, config/tc-mips.c, config/tc-mips.h,
1306         config/tc-mmix.c, config/tc-mmix.h, config/tc-mn10200.c,
1307         config/tc-mn10200.h, config/tc-mn10300.c, config/tc-mn10300.h,
1308         config/tc-msp430.c, config/tc-msp430.h, config/tc-mt.c,
1309         config/tc-mt.h, config/tc-ns32k.c, config/tc-ms32k.h,
1310         config/tc-openrisc.c, config/tc-openrisc.h, config/tc-or32.c,
1311         config/tc-or32.h, config/tc-pdp11.c, config/tc-pdp11.h,
1312         config/tc-pj.c, config/tc-pj.h, config/tc-ppc.c, config/tc-ppc.h,
1313         config/tc-s390.c, config/tc-s390.h, config/tc-score.c,
1314         config/tc-score.h, config/tc-sh64.c, config/tc-sh64.h,
1315         config/tc-sh.c, config/tc-sh.h, config/tc-sparc.c,
1316         config/tc-sparc.h, config/tc-spu.c, config/tc-spu.h,
1317         config/tc-tic30.c, config/tc-tic30.h, config/tc-tic4x.c,
1318         config/tc-tic4x.h, config/tc-tic54x.c, config/tc-tic54x.h,
1319         config/tc-v850.c, config/tc-v850.h, config/tc-vax.c,
1320         config/tc-vax.h, config/tc-xc16x.c, config/tc-x16x.h,
1321         config/tc-xstormy16.c, config/tc-xstormy16.h, config/tc-xtensa.c,
1322         config/tc-xtensa.h, config/tc-z80.c, config/tc-z80.h,
1323         config/tc-z8k.c, config/tc-z8k.h, config/te-386bsd.h,
1324         config/te-freebsd.h, config/te-hppa.h, config/te-irix.h,
1325         config/te-netware.h, config/te-sparcaout.h,  config/te-tmips.h,
1326         config/te-vxworks.h, config/vax-inst.h, config/xtensa-istack.h,
1327         config/xtensa-relax.c, config/xtensa-relax.h: Likewise.
1328         
1329         * flonum-mult.c: Likewise, and also correct typo referring to
1330         non-existant GNU Assembler General Public License.
1331         * config/tc-m68851.h: Likewise.
1332         * NEWS: Mention the new license.  Also note where the 2.17 release
1333         happened.
1334         * config/e-crisaout.c: Add copyright header.
1335         * config/e-criself.c, config/e-i386aout.c, config/e-i386coff.c,
1336         config/e-i386elf.c, config/e-mipscoff.c, config/e-mipself.c,
1337         config/obj-multi.c, config/te-aix5.h, config/te-armeabi.h,
1338         config/te-armlinuxeabi.h, config/te-dynix.h, config/te-epoc-pe.h,
1339         config/te-generic.h, config/te-gnu.h, config/te-go32.h,
1340         config/te-hppa64.h, config/te-hppalinux64.h, config/te-hpux.h,
1341         config/te-i386aix.h, config/te-ia64aix.h, config/te-interix.h,
1342         config/te-linux.h, config/te-lnews.h, config/te-lynx.h,
1343         config/te-mach.h, config/te-macos.h, config/te-nbsd532.h,
1344         config/te-nbsd.h, config/te-pc532mach.h, config/te-pe.h,
1345         config/te-pep.h, config/te-psos.h, config/te-riscix.h,
1346         config/te-sun3.h, config/te-svr4.h, config/te-symbian.h,
1347         config/te-wince-pe.h: Likewise.
1348
1349 2007-07-03  Nathan Sidwell  <nathan@codesourcery.com>
1350
1351         * config/tc-m68k.c (m68k_ip): Add j & K operand types.
1352         (install_operand): Add E encoding.
1353         (md_begin): Check and skip initial '.' arg character.
1354         (get_num): Add 0..511 case.
1355
1356 2007-07-03  Alan Modra  <amodra@bigpond.net.au>
1357
1358         PR 4713
1359         * config/obj-elf.c (elf_ecoff_set_ext): Make static when OBJ_MAYBE_ELF.
1360         * config/obj-elf.h (obj_ecoff_set_ext): Comment.
1361
1362 2007-07-03  Mikkel Lauritsen  <renard@nospam.dk>
1363
1364         PR 4722
1365         * app.c (do_scrub_chars <state 5>): Check for output buffer full
1366         after memcpy.
1367
1368 2007-07-02  Joseph Myers  <joseph@codesourcery.com>
1369
1370         * config/tc-mips.c (s_dtprelword, s_dtpreldword,
1371         s_dtprel_internal): New.
1372         (mips_pseudo_table): Add .dtprelword and .dtpreldword.
1373         (md_apply_fix): Handle BFD_RELOC_MIPS_TLS_DTPREL32 and
1374         BFD_RELOC_MIPS_TLS_DTPREL64.
1375
1376 2007-07-02  Alan Modra  <amodra@bigpond.net.au>
1377
1378         * Makefile.am: Run "make dep-am".
1379         * Makefile.in: Regenerate.
1380         * aclocal.m4: Regenerate.
1381         * config.in: Regenerate.
1382         * doc/Makefile.in: Regenerate.
1383         * po/POTFILES.in: Regenerate.
1384         * po/gas.pot: Regenerate.
1385
1386 2007-07-02  Alan Modra  <amodra@bigpond.net.au>
1387
1388         * config/tc-ppc.c (ppc_pe_section): Comment out code assigning
1389         coff section flag values to bfd section flag.
1390
1391 2007-06-30  H.J. Lu  <hongjiu.lu@intel.com>
1392
1393         * aclocal.m4: Regenerated.
1394         * doc/Makefile.in: Likewise.
1395         * Makefile.in: Likewise.
1396
1397 2007-06-29  Joseph Myers  <joseph@codesourcery.com>
1398
1399         * as.c (main): Only call create_obj_attrs_section if IS_ELF.
1400
1401 2007-06-29  Joseph Myers  <joseph@codesourcery.com>
1402
1403         * as.c (create_obj_attrs_section): New.
1404         (main): Call create_obj_attrs_section for ELF.
1405         * read.c (s_gnu_attribute, skip_whitespace, skip_past_char,
1406         skip_past_comma, s_vendor_attribute): New.
1407         (potable): Add gnu_attribute for ELF.
1408         * read.h (s_vendor_attribute): Declare.
1409         * config/tc-arm.c (s_arm_eabi_attribute): Replace by wrapper
1410         round s_vendor_attribute.
1411         (aeabi_set_public_attributes): Update for new attributes
1412         interfaces.
1413         (arm_md_end): Remove attributes contents setting now done
1414         generically.
1415
1416 2007-06-29  M R Swami Reddy  <MR.Swami.Redd@nsc.com>
1417
1418         * Makefile.am: Add CR16 related entry.
1419         * Makefile.in: Regenerate.
1420         * config/tc-cr16.h: New file
1421         * config/tc-cr16.c: New file
1422         * doc/c-cr16.texi: New file for cr16 
1423         * doc/all.texi: Entry for cr16 
1424         * doc/Makefile.am: Added c-cr16.texi
1425         * doc/Makefile.in: Regenerate 
1426         * doc/as.texinfo: Entry for CR16 target
1427         * NEWS: Announce the support for the new target.
1428
1429 2007-06-26  Paul Brook  <paul@codesourcery.com>
1430
1431         * config/tc-arm.c (parse_operands): Accept generic coprocessor regs
1432         for OP_RVC.
1433         (reg_names): Add fpinst, pfinst2, mvfr0 and mvfr1.
1434
1435 2007-06-25  H.J. Lu  <hongjiu.lu@intel.com>
1436
1437         * config/tc-i386.c (process_operands): Replace regKludge
1438         with RegKludge.
1439
1440 2007-06-25  Richard Sandiford  <richard@codesourcery.com>
1441
1442         * config/tc-mips.h (TC_SYMFIELD_TYPE): New.
1443         * config/tc-mips.c (append_insn): Record which symbols have
1444         R_MIPS16_26 relocations against them.
1445         (mips_fix_adjustable): Don't reduce relocations against such symbols.
1446
1447 2007-06-22  Sterling Augustine  <sterling@tensilica.com>
1448
1449         * config/tc-xtensa.c (xg_assembly_relax): Comment termination rules.
1450         (frag_format_size): Handle RELAX_IMMED_STEP3.
1451         (xtensa_relax_frag, md_convert_frag): Likewise.
1452         * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_IMMED_STEP3.
1453         (RELAX_IMMED_MAXSTEPS): Adjust.
1454         * config/xtensa-relax.c (widen_spec_list): Add transitions from
1455         wide branches to branch-over-jumps.
1456         (build_transition): Handle wide branches in transition patterns.
1457         
1458 2007-06-22  H.J. Lu  <hongjiu.lu@intel.com>
1459
1460         * config/tc-i386.c (disp_size): New.
1461         (imm_size): Likewise.
1462         (output_disp): Use disp_size and imm_size.
1463         (output_imm): Use imm_size.
1464
1465 2007-06-19  Sterling Augustine  <sterling@tensilica.com>
1466
1467         * config/tc-xtensa.h (struct xtensa_frag_type): Update comment about
1468         use of literal_frag field.
1469         * config/tc-xtensa.c (xtensa_mark_literal_pool_location): Record frag
1470         in the literal_frag field.
1471         (xtensa_move_literals): Use it here instead of searching.  Update
1472         literal_frag field with new value.
1473
1474 2007-06-14  Paul Brook  <paul@codesourcery.com>
1475
1476         * config/tc-arm.c (do_t_mov_cmp): Handle shift by register and
1477         narrow shift by immediate.
1478
1479 2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>
1480
1481         * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
1482
1483         * acinclude.m4: Don't include m4 files.
1484         (BFD_BINARY_FOPEN): Removed.
1485         Remove libtool kludge.
1486
1487         * Makefile.in: Regenerated.
1488         * doc/Makefile.in: Likewise.
1489         * aclocal.m4: Likewise.
1490         * configure: Likewise.
1491
1492 2007-06-11  Sterling Augustine  <sterling@tensilica.com>
1493             Bob Wilson  <bob.wilson@acm.org>
1494         
1495         * config/tc-xtensa.c (XTENSA_PROP_INSN_NO_TRANSFORM): Renamed to...
1496         (XTENSA_PROP_NO_TRANSFORM): ...this.
1497         (frag_flags_struct): Move is_no_transform out of the insn sub-struct.
1498         (xtensa_mark_frags_for_org): New.
1499         (xtensa_handle_align): Set RELAX_ORG frag subtype for rs_org.
1500         (xtensa_post_relax_hook): Call xtensa_mark_frags_for_org.
1501         (get_frag_property_flags): Adjust reference to is_no_transform flag.
1502         (xtensa_frag_flags_combinable): Likewise.
1503         (frag_flags_to_number): Likewise.  Use XTENSA_PROP_NO_TRANSFORM.
1504         * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_ORG.
1505         
1506 2007-06-06  Paul Brook  <paul@codesourcery.com>
1507
1508         * config/tc-arm.c (s_align): Pad code sections appropriately.
1509
1510 2007-06-05  Paul Brook  <paul@codesourcery.com>
1511
1512         * config/tc-arm.c (insns): Correct Thumb-2 ldrd/strd opcodes.
1513
1514 2007-06-05  Nick Clifton  <nickc@redhat.com>
1515
1516         PR gas/4587
1517         * config/tc-sparc.c (sparc_ip): Terminate tls_ops array.
1518
1519 2007-06-05  Alan Modra  <amodra@bigpond.net.au>
1520
1521         * config/tc-spu.c (spu_cons): Use deferred_expression.  Handle
1522         number@ppu.
1523         (tc_gen_reloc): Abort if neither addsy or subsy is set.
1524         (md_apply_fix): Don't attempt to resolve SPU_PPU relocs.
1525         * config/tc-spu.h (md_operand): Handle @ppu without sym.
1526
1527 2007-05-31  Paul Brook  <paul@codesourcery.com>
1528
1529         * config/tc-arm.c (insns): Allow strex on M profile cores.
1530
1531 2007-05-29  David S. Miller  <davem@davemloft.net>
1532             Jakub Jelinek  <jakub@redhat.com>
1533
1534         PR gas/4558
1535         * config/tc-sparc.c (md_apply_fix): Fix relocation overflow checks
1536         for BFD_RELOC_SPARC_WDISP16 and BFD_RELOC_SPARC_WDISP19.
1537
1538 2007-05-29  Alan Modra  <amodra@bigpond.net.au>
1539
1540         * config/tc-spu.h: Wrap in #ifndef/#endif.  Delete coff macros.
1541
1542 2007-05-29  Alan Modra  <amodra@bigpond.net.au>
1543
1544         * config/tc-ppc.c: Convert to ISO C.
1545         * config/tc-ppc.c: Likewise.
1546
1547 2007-05-29  Alan Modra  <amodra@bigpond.net.au>
1548
1549         * write.h (EXEC_MACHINE_TYPE): Delete.
1550         (string_byte_count, section_alignment): Delete.
1551
1552 2007-05-28  Nathan Sidwell  <nathan@codesourcery.com>
1553
1554         * app.c (do_scrub_chars): Cope with \ at end of buffer.
1555
1556 2007-05-26  Alan Modra  <amodra@bigpond.net.au>
1557
1558         * config/tc-ppc.c (ppc_insert_operand): Truncate sign bits in
1559         top 32 bits of 64 bit value if so doing results in passing
1560         range check.  Rewrite sign extension fudges similarly.  Enable
1561         fudges for powerpc64 too.  Report user value if range check
1562         fails rather than fudged value.  Negate PPC_OPERAND_NEGATIVE
1563         range rather than value, also to report user value on failure.
1564
1565 2007-03-25  Paul Brook  <paul@codesourcery.com>
1566
1567         * config/tc-arm.c (T2_SUBS_PC_LR): Define.
1568         (do_t_add_sub): Correctly encode subs pc, lr, #const.
1569         (do_t_mov_cmp): Correctly encode movs pc, lr.
1570
1571 2007-05-24  Steve Ellcey  <sje@cup.hp.com>
1572
1573         * Makefile.in: Regnerate.
1574         * configure: Regenerate.
1575         * aclocal.m4: Regenerate.
1576         * doc/Makefile.in: Regenerate.
1577
1578 2007-05-22  Bob Wilson  <bob.wilson@acm.org>
1579         
1580         * doc/c-xtensa.texi (Xtensa Automatic Alignment): Remove statements
1581         and index entries about automatic alignment of ENTRY instructions.
1582         
1583 2007-05-22  Nick Clifton  <nickc@redhat.com>
1584
1585         * doc/as.texinfo: Use @copying around the copyright notice.
1586
1587 2007-05-18  Joseph Myers  <joseph@codesourcery.com>
1588
1589         * config/tc-mips.c (s_mipsset): Use generic s_set for directives
1590         containing a comma.
1591
1592 2007-05-17  H.J. Lu  <hongjiu.lu@intel.com>
1593
1594         PR gas/4517
1595         2003-06-05  Michal Ludvig  <mludvig@suse.cz>
1596         * doc/as.texinfo: Document new directives: .cfi_restore, 
1597         .cfi_undefined, .cfi_same_value, .cfi_return_column, 
1598         .cfi_remember_state and .cfi_restore_state.
1599
1600 2007-05-17  Nathan Sidwell  <nathan@codesourcery.com>
1601
1602         * config/tc-m68k.c (md_apply_fix): Show value of out of range
1603         fixups in error message.
1604         (md_conver_frag_1): Propagate the fix source location and use
1605         as_bad_where rather than fatal, for better error messages.
1606
1607 2007-05-16  Paul Brook  <paul@codesourcery.com>
1608
1609         * config/tc-arm.c (v7m_psrs): Add uppercase PSR names and xpsr.
1610
1611 2007-05-15  Mark Shinwell  <shinwell@codesourcery.com>
1612
1613         * app.c (do_scrub_chars): Don't damage \@ pseudo-variables.
1614
1615 2007-05-15  Vincent Riviere  <vincent.riviere@freesbee.fr>      
1616
1617         PR gas/3041
1618         * config/tc-m68k.c (relaxable_symbol): Make sure that the correct
1619         addend is stored for relocs against weak symbols.
1620         (md_apply_fix): So not loose track of addend for relocs against
1621         weak symbols.
1622
1623 2007-05-14  Thiemo Seufer  <ths@mips.com>
1624
1625         * config/tc-mips.c (md_parse_option): Fix parsing of -O option.
1626
1627 2007-05-14  Mei Ligang  <ligang@sunnorth.com.cn>
1628
1629         * config/tc-score.c (data_op2, validate_immediate): Fix bug for
1630         addri, addri.c, subi, and subi.c when immediate number is hex.
1631         (score_insns): Remove subis and subis.c.
1632         (do_sub_rdi16): Delete.
1633         
1634 2007-05-11  Alan Modra  <amodra@bigpond.net.au>
1635
1636         * config/tc-spu.c (md_pseudo_table): Add int, long, quad.  Call
1637         spu_cons for word.
1638         (md_assemble): Tidy use of insn.flag.
1639         (get_imm): Likewise.  Handle uppercase input too.
1640         (spu_cons): New function.
1641         * config/tc-spu.h (tc_fix_adjustable): Don't adjust SPU_PPU relocs.
1642         (TC_FORCE_RELOCATION): Don't resolve them either.
1643
1644 2007-05-05  Mark Shinwell  <shinwell@codesourcery.com>
1645  
1646         * config/tc-arm.c (md_apply_fix): Generate more accurate
1647         diagnostic when 8-bit immediate range is exceeded for
1648         BFD_RELOC_ARM_OFFSET_IMM8.
1649
1650 2007-05-04  Alan Modra  <amodra@bigpond.net.au>
1651
1652         PR gas/4460
1653         * config/tc-i386.c (lex_got): Don't replace the reloc token with
1654         a space if we already have a space.
1655
1656 2007-05-03  H.J. Lu  <hongjiu.lu@intel.com>
1657
1658         * config/tc-i386.c (match_template): Don't explicitly check
1659         suffix for crc32 in Intel mode.
1660         (process_suffix): Issue an error for crc32 if the operand size
1661         is ambiguous.
1662
1663 2007-05-03  Vincent Riviere  <vincent.riviere@freesbee.fr>
1664             Nick Clifton  <nickc@redhat.com>
1665
1666         PR gas/3041
1667         * config/tc-m68k.c (relaxable_symbol): Do not relax weak symbols.
1668         (tc_gen_reloc): Adjust the addend of relocs against weak symbols.
1669         (md_apply_fix): Put zero values into the frags referencing weak
1670         symbols.
1671
1672 2007-05-02  Alan Modra  <amodra@bigpond.net.au>
1673
1674         PR 4448
1675         * config/tc-ppc.c (ppc_insert_operand): Don't increase min for
1676         PPC_OPERAND_PLUS1.
1677
1678 2007-05-01  H.J. Lu  <hongjiu.lu@intel.com>
1679
1680         * config/tc-i386.c (match_template): Check suffix for crc32 in
1681         Intel mdoe.
1682         (process_suffix): Default the suffix of 8bit crc32 to
1683         BYTE_MNEM_SUFFIX.
1684         (check_byte_reg): Skip check for 8bit crc32.
1685
1686 2007-04-30  H.J. Lu  <hongjiu.lu@intel.com>
1687
1688         * config/tc-i386.c (md_assemble): Use register_prefix in
1689         error/warning message.
1690         (check_byte_reg): Likewise.
1691         (check_long_reg): Likewise.
1692         (check_qword_reg): Likewise.
1693         (check_word_reg): Likewise.
1694         (process_operands): Likewise.
1695
1696 2007-04-30  Alan Modra  <amodra@bigpond.net.au>
1697
1698         PR 4436
1699         * config/tc-ppc.c (ppc_insert_operand): Disable range check if
1700         min > max.
1701
1702 2007-04-28  Thiemo Seufer  <ths@networkno.de>
1703
1704         * config/tc-mips.c: Fix comment.
1705
1706 2007-04-26  Anatoly Sokolov <aesok@post.ru>
1707
1708         * config/tc-avr.c (mcu_types): Add support for atmega8hva and
1709         atmega16hva devices. Move at90usb82 device to 'avr5' architecture.
1710         * doc/c-avr.texi: Document new devices.
1711
1712 2007-04-24  Alan Modra  <amodra@bigpond.net.au>
1713
1714         * Makefile.am: Run "make dep-am".
1715         * Makefile.in: Regenerate.
1716
1717 2007-04-23  Nathan Sidwell  <nathan@codesourcery.com>
1718
1719         * config/tc-m68k.c (mcf54455_ctrl): New.
1720         (HAVE_LONG_DISP, HAVE_LONG_CALL, HAVE_LONG_COND): New.
1721         (m68k_archs): Add isac.
1722         (m68k_cpus): Add 54455 family.
1723         (m68k_ip): Split Bg into Bb, Bs, Bg.
1724         (m68k_elf_final_processing): Add ISA_C.
1725         * doc/c-m68k.texi (M680x0 Options): Add isac.
1726
1727 2007-04-22  Alan Modra  <amodra@bigpond.net.au>
1728
1729         * read.c (read_a_source_file): Skip multiple spaces to
1730         cover hack in mmix md_start_line_hook which overwrites a
1731         colon with a space.  Delete sermon and needless assertion.
1732
1733 2007-04-21  Alan Modra  <amodra@bigpond.net.au>
1734
1735         * config/atof-vax.c (atof_vax_sizeof): Change return type to unsigned.
1736         (md_atof): Make number_of_chars unsigned.  Revert last change.
1737         * config/tc-or32.c (md_apply_fix): Delete bogus assertions.
1738         * config/tc-sh.c (sh_optimize_expr): Only define for OBJ_ELF.
1739         * config/tc-sh.h (md_optimize_expr): Likewise.
1740         * config/tc-sh64.c (shmedia_md_pcrel_from_section): Delete bogus
1741         assertion.
1742         * config/tc-xtensa.c (convert_frag_immed_finish_loop): Likewise.
1743
1744 2007-04-21  Nick Clifton  <nickc@redhat.com>
1745
1746         * config/atof-vax.c (md_atof): Fix comparison inside know().
1747
1748         * config/tc-ia64.c (emit_one_bundle): Fix typo.
1749
1750 2007-04-21  Alan Modra  <amodra@bigpond.net.au>
1751
1752         * expr.c (expr): Assert on rankarg, not rank which can be unsigned.
1753         * read.c (read_a_source_file): Remove buffer_limit[-1] assertion.
1754         Don't skip over NUL char.
1755         (pseudo_set): Set X_op for registers to O_register.
1756         * symbols.c (symbol_clone): Remove assertion that sym is defined.
1757         (resolve_symbol_value): Resolve O_register symbols.
1758         * config/tc-i386.c (parse_real_register): Don't use i386_float_regtab.
1759         Instead find st(0) by hash lookup.
1760         * config/tc-ppc.c (ppc_macro): Warning fix.
1761
1762         * as.h (ENABLE_CHECKING): Default define to 0.
1763         (know): Assert if ENABLE_CHECKING.
1764         (struct relax_type): Remove superfluous declaration.
1765         * configure.in (--enable-checking): New.
1766         * configure: Regenerate.
1767         * config.in: Regenerate.
1768         * config/tc-ppc.c (ppc_setup_opcodes): Do checks when ENABLE_CHECKING.
1769         Check for duplicate powerpc_operands entries.
1770
1771 2007-04-20  Nathan Sidwell  <nathan@codesourcery.com>
1772
1773         * config/tc-m68k.c (mcf5253_ctrl): New.
1774         (mcf52223_ctrl): New.
1775         (m68k_cpus): Add 5253, 52221, 52223.
1776
1777         * config/m68k-parse.h (RAMBAR_ALT): New.
1778         * config/tc-m68k.c (mcf5206_ctrl, mcf5307_ctrl): New.
1779         (mcf_ctrl, mcf5208_ctrl, mcf5210a_ctrl, mcf5213_ctrl, mcf52235_ctrl,
1780         mcf5225_ctrl, mcf5235_ctrl, mcf5271_ctrl, mcf5275_ctrl,
1781         mcf5282_ctrl, mcf5329_ctrl, mcf5373_ctrl, mcfv4e_ctrl,
1782         mcf5475_ctrl, mcf5485_ctrl): Add RAMBAR synonym for
1783         RAMBAR1.
1784         (mcf5272_ctrl): Add RAMBAR0, replace add RAMBAR with RAMBAR_ALT.
1785         (m68k_cpus): Adjust 5206, 5206e & 5307 entries.
1786         (m68k_ip) <Case J>: Detect when RAMBAR_ALT should be used.  Add it
1787         to control register mapping.
1788
1789 2007-04-20  Alan Modra  <amodra@bigpond.net.au>
1790
1791         * messages.c (as_internal_value_out_of_range): Fix typo in
1792         error message.  Return after printing domain error.
1793         * config/tc-ppc.c (ppc_insert_operand): Preserve low zero bits
1794         in max when shifting right.
1795
1796 2007-04-20  Alan Modra  <amodra@bigpond.net.au>
1797
1798         * messages.c (as_internal_value_out_of_range): Extend to report
1799         errors for values with invalid low bits set.
1800         * config/tc-ppc.c (ppc_setup_opcodes): Check powerpc_operands bitm
1801         fields.  Check that operands and opcode fields are disjoint.
1802         (ppc_insert_operand): Check operands using mask rather than bit
1803         count.   Check low bits too.  Handle PPC_OPERAND_PLUS1.  Adjust
1804         insertion code.
1805         (md_apply_fix): Adjust for struct powerpc_operand change.
1806
1807 2007-04-19  Paul Brook  <paul@codesourcery.com>
1808
1809         * config/tc-arm.c (md_assemble): Only allow 16-bit instructions on
1810         Thumb-1.  Add sanity check for bogus relaxations.
1811
1812 2007-04-19  Paul Brook  <paul@codesourcery.com>
1813
1814         * config/tc-arm.c (insns): Allow rsb and rsbs on Thumb-1.
1815
1816 2007-04-19  Alan Modra  <amodra@bigpond.net.au>
1817
1818         * Makefile.am: Run "make dep-am".
1819         * Makefile.in: Regenerate.
1820
1821 2007-04-19  Nathan Froyd <froydnj@codesourcery.com>
1822
1823         * doc/c-ppc.texi (PowerPC-Opts): Document -me500, -me500x2, -mspe.
1824
1825 2007-04-18  H.J. Lu <hongjiu.lu@intel.com>
1826
1827         * doc/c-i386.texi; Document .ssse3, .sse4.1, .sse4.2 and .sse4.
1828
1829 2007-04-18  H.J. Lu <hongjiu.lu@intel.com>
1830
1831         * config/tc-i386.c (cpu_arch): Add .sse4.2 and .sse4.
1832         (match_template): Handle operand size for crc32 in SSE4.2.
1833         (process_suffix): Handle operand type for crc32 in SSE4.2.
1834         (output_insn): Support SSE4.2.
1835
1836 2007-04-18  H.J. Lu <hongjiu.lu@intel.com>
1837
1838         * config/tc-i386.c (cpu_arch): Add .sse4.1.
1839         (process_operands): Adjust implicit operand for blendvpd,
1840         blendvps and pblendvb in SSE4.1.
1841         (output_insn): Support SSE4.1.
1842
1843 2007-04-18  Paul Brook  <paul@codesourcery.com>
1844
1845         * config/tc-arm.c (do_t_rsb): Use 16-bit encoding when possible.
1846
1847 2007-04-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1848
1849         * config/tc-sh.c (sh_handle_align):  Call as_bad_where instead
1850         of as_warn_where for misaligned data.
1851
1852 2007-04-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1853
1854         * config/tc-sh.c (align_test_frag_offset_fixed_p): Handle
1855         rs_fill frags.
1856
1857 2007-04-14  Steve Ellcey  <sje@cup.hp.com>
1858
1859         * Makefile.am: Add ACLOCAL_AMFLAGS.
1860         * Makefile.in: Regenerate.
1861
1862 2007-04-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1863
1864         * config/tc-sh.c (align_test_frag_offset_fixed_p): New.
1865         (sh_optimize_expr): Likewise.
1866         * config/tc-sh.h (md_optimize_expr): Define.
1867         (sh_optimize_expr): Prototype.
1868
1869 2007-04-06  Matt Thomas  <matt@netbsd.org>
1870
1871         * config/tc-vax.c (vax_cons): Added to support %pcrel{8,16,32}(exp)
1872         to emit pcrel relocations by DWARF2 in non-code sections.  Borrowed
1873         heavily from tc-sparc.c.  (vax_cons_fix_new): Likewise.
1874
1875 2007-04-04  Kazu Hirata  <kazu@codesourcery.com>
1876
1877         * config/tc-m68k.c (HAVE_LONG_BRANCH): Add fido_a.
1878
1879 2007-04-04  Paul Brook  <paul@codesourcery.com>
1880
1881         * config/tc-arm.c (do_neon_ext): Enforce immediate range.
1882         (insns): Use I15 for vext.
1883
1884 2007-04-04  Paul Brook  <paul@codesourcery.com>
1885
1886         * configure.tgt: Loosen checks for arm uclinux eabi targets.
1887
1888 2007-04-02  Sterling Augustine  <sterling@tensilica.com>
1889
1890         * config/tc-xtensa.c (xtensa_flush_pending_output): Check
1891         outputting_stabs_line_debug.
1892
1893 2007-03-26  Anatoly Sokolov <aesok@post.ru>
1894
1895         * config/tc-avr.c (mcu_types): Add support for at90pwm1, at90usb82,
1896         at90usb162, atmega325p, atmega329p, atmega3250p and atmega3290p
1897         devices.
1898         * doc/c-avr.texi: Document new devices.
1899
1900 2007-04-02  Richard Sandiford  <richard@codesourcery.com>
1901
1902         * doc/as.texinfo: Add -mvxworks-pic to the list of MIPS options.
1903         * doc/c-mips.texi (-KPIC, -mvxworks-pic): Document.
1904         * config/tc-mips.c (md_show_usage): Mention -mvxworks-pic.
1905
1906 2007-03-30  Sterling Augustine  <sterling@tensilica.com>
1907             Bob Wilson  <bob.wilson@acm.org>
1908
1909         * config/tc-xtensa.c (xtensa_move_labels): Remove loops_ok argument.
1910         Do not check is_loop_target flag.
1911         (xtensa_frob_label): Adjust calls to xtensa_move_labels.
1912         (xg_assemble_vliw_tokens): Likewise.  Also avoid calling
1913         xtensa_move_labels for alignment of loop opcodes.
1914         
1915 2007-03-30  H.J. Lu  <hongjiu.lu@intel.com>
1916
1917         * config/tc-i386.c (process_suffix): Reindent a bit.
1918
1919 2007-03-30  Paul Brook  <paul@codesourcery.com>
1920
1921         * config/tc-arm.c (encode_thumb2_ldmstm): New function.
1922         (do_t_ldmstm): Generate 16-bit push/pop.  Use encode_thumb2_ldmstm.
1923         (do_t_push_pop):  Use encode_thumb2_ldmstm.
1924
1925 2007-03-29  DJ Delorie  <dj@redhat.com>
1926
1927         * config/tc-m32c.c (rl_for, relaxable): Protect argument.
1928         (md_relax_table): Add entries for ADJNZ macros.
1929         (M32C_Macros): Add ADJNZ macros.
1930         (subtype_mappings): Add entries for ADJNZ macros.
1931         (insn_to_subtype): Check for adjnz and sbjnz insns.
1932         (md_estimate_size_before_relax): Pass insn to insn_to_subtype.
1933         (md_convert_frag): Convert adjnz and sbjnz.
1934
1935 2007-03-29  Nick Clifton  <nickc@redhat.com>
1936
1937         * itbl-ops.c (itbl_entry): Remove unnecessary and excessively long
1938         initialization.
1939         * itbl-ops.h (enum e_processor): Initialise the e_nprocs field
1940         using ITBL_NUMBER_OF_PROCESSORS.
1941         * itbl-parse.y (yyerror): Remove use of redundant macro PARAMS.
1942
1943 2007-03-28  H.J. Lu  <hongjiu.lu@intel.com>
1944
1945         * config/tc-i386.c (build_modrm_byte): For instructions with 2
1946         register operands, encode destination in i.rm.regmem if its
1947         RegMem bit is set.
1948
1949 2007-03-28  Richard Sandiford  <richard@codesourcery.com>
1950             Phil Edwards  <phil@codesourcery.com>
1951
1952         * doc/as.texinfo: Put the contents after the title page rather
1953         than at the end of the document.
1954
1955 2007-03-27  Alan Modra  <amodra@bigpond.net.au>
1956
1957         * NEWS: Mention ".reloc".
1958
1959 2007-03-26  Sterling Augustine  <sterling@tensilica.com>
1960         
1961         * config/tc-xtensa.c (xg_translate_idioms): Allow assembly idioms
1962         in FLIX instructions.
1963         
1964 2007-03-26  Julian Brown  <julian@codesourcery.com>
1965
1966         * config/tc-arm.c (arm_it): Add immisfloat field.
1967         (parse_qfloat_immediate): Disallow integer syntax for floating-point
1968         immediates. Fix hex immediates, handle 0.0 and -0.0 specially.
1969         (parse_neon_mov): Set immisfloat bit for operand if it parsed as a
1970         float.
1971         (neon_cmode_for_move_imm): Reject non-float immediates for float
1972         operands.
1973         (neon_move_immediate): Pass immisfloat bit to neon_cmode_for_move_imm.
1974
1975 2007-03-26  Julian Brown  <julian@codesourcery.com>
1976
1977         * doc/c-arm.texi: Add documentation for .dn/.qn directives.
1978
1979 2007-03-26  Alan Modra  <amodra@bigpond.net.au>
1980
1981         * doc/as.texinfo (Reloc): Document.
1982         * read.c (potable): Add "reloc".
1983         (s_reloc): New function.
1984         * write.c (reloc_list): New global var.
1985         (resolve_reloc_expr_symbols): New function.
1986         (write_object_file): Call it.
1987         (write_relocs): Process reloc_list.
1988         * write.h (struct reloc_list): New.
1989         (reloc_list): Declare.
1990
1991 2007-03-24  Paul Brook  <paul@codesourcery.com>
1992
1993         * config/tc-arm.c (do_t_ldmstm): Error on Thumb-2 addressing modes.
1994
1995 2007-03-24  Paul Brook  <paul@codesourcery.com>
1996         Mark Shinwell  <shinwell@codesourcery.com>
1997
1998         * config/tc-arm.c (operand_parse_code): Add OP_oRRw.
1999         (parse_operands): Don't expect comma if first operand missing.
2000         Handle OP_oRRw.
2001         (do_srs): Encode register number, checking it is r13.  Update comment.
2002         (insns): Update SRS entries to take a register.
2003
2004 2007-03-23  H.J. Lu  <hongjiu.lu@intel.com>
2005
2006         * config/tc-i386.c (md_begin): Allow '.' in mnemonic.
2007
2008 2007-03-23  Mark Shinwell  <shinwell@codesourcery.com>
2009
2010         * config/tc-arm.c (md_apply_fix): Turn CBZ instructions that
2011         attempt to jump to the next instruction into NOPs.
2012
2013 2007-03-23  Alan Modra  <amodra@bigpond.net.au>
2014
2015         * config/tc-spu.c: Don't include opcode/spu.h.
2016         (md_assemble): Set tc_fix_data.insn_tag and arg_format.
2017         (md_apply_fix): Adjust.
2018         * config/tc-spu.h: Include opcode/spu.h.
2019         (struct tc_fix_info): New.
2020         (TC_FIX_TYPE, TC_INIT_FIX_DATA): Adjust.
2021         (TC_FORCE_RELOCATION): Define.
2022
2023 2007-03-22  Joseph Myers  <joseph@codesourcery.com>
2024
2025         * doc/as.texinfo: Include VERSION_PACKAGE when reporting version.
2026
2027 2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
2028
2029         * config/tc-i386.c (process_suffix): Check 0x90 instead of
2030         xchg for xchg %rax,%rax.
2031
2032 2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
2033
2034         * config/tc-i386.c: Replace REX_MODE64, REX_EXTX, REX_EXTY
2035         and REX_EXTZ with REX_W, REX_R, REX_X and REX_B respectively.
2036
2037 2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
2038
2039         PR binutils/4218
2040         * config/tc-i386.c (match_template): Properly handle 64bit mode
2041         "xchg %eax, %eax".
2042
2043 2007-03-21  Anton Ertl  <anton@mips.complang.tuw>
2044
2045         PR gas/4124
2046         * config/tc-alpha.c (emit_ustX): Fix ustq code generation.
2047
2048 2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
2049
2050         * Makefile.am: Run dep-am.
2051         * Makefile.in: Regenerated.
2052
2053         * config/tc-i386.c: Don't include "opcodes/i386-opc.h".
2054
2055         * config/tc-i386.h: Include "opcodes/i386-opc.h".
2056         (NOP_OPCODE): Removed.
2057         (template): Likewise.
2058
2059 2007-03-21  Andreas Schwab  <schwab@suse.de>
2060
2061         * config/tc-i386.h (NOP_OPCODE): Restore.
2062
2063 2007-03-18  Mark Shinwell  <shinwell@codesourcery.com>
2064
2065         * config/tc-arm.c (do_mul): Don't warn about overlapping
2066         Rd and Rm operands when assembling for v6 or above.
2067         Correctly capitalize register names in the messages.
2068         (do_mlas): Likewise.  Delete spurious blank line.
2069
2070 2007-03-16  Kazu Hirata  <kazu@codesourcery.com>
2071
2072         * config/tc-m68k.c (m68k_cpus): Add an entry for fidoa.
2073
2074 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
2075
2076         * config/tc-i386.c (md_begin): Use i386_regtab_size to scan 
2077         i386_regtab.
2078         (parse_register): Use i386_regtab_size instead of ARRAY_SIZE
2079         on i386_regtab.
2080
2081 2007-03-15  Alexandre Oliva  <aoliva@redhat.com>
2082
2083         PR gas/4184
2084         * app.c (do_scrub_chars): PUT after setting states.
2085
2086 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
2087
2088         * Makefile.am: Run "make dep-am".
2089         * Makefile.in: Regenerated.
2090
2091         * config/tc-i386.c: Include "opcodes/i386-opc.h" instead of
2092         "opcode/i386.h".
2093         (md_begin): Check reg_name != NULL for the last entry in
2094         i386_regtab.
2095
2096         * config/tc-i386.h: Move many entries to opcode/i386.h and
2097         opcodes/i386-opc.h.
2098
2099         * configure.in (need_opcodes): Set true for i386.
2100         * configure: Regenerated.
2101
2102 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
2103
2104         * Makefile.am (REPORT_BUGS_TO): Removed.
2105         (INCLUDES): Remove -DREPORT_BUGS_TO.
2106         * Makefile.in: Regenerated.
2107
2108         * configure.in (--with-bugurl): Removed.
2109         * configure: Regenerated.
2110
2111         * doc/Makefile.am (as_TEXINFOS): Remove gasver.texi.
2112         (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
2113         (TEXI2DVI): Likewise.
2114         (gasver.texi): Removed.
2115         (MOSTLYCLEANFILES): Remove gasver.texi.
2116         (as.1): Don't depend on gasver.texi.
2117         * doc/Makefile.in: Regenerated.
2118
2119         * doc/as.texi: Include bfdver.texi instead of gasver.texi.
2120
2121 2007-03-14  Daniel Jacobowitz  <dan@codesourcery.com>
2122
2123         * config/tc-arm.c (arm_copy_symbol_attributes): New.
2124         * config/tc-arm.h (arm_copy_symbol_attributes): Declare.
2125         (TC_COPY_SYMBOL_ATTRIBUTES): Define.
2126         * gas/symbols.c (copy_symbol_attributes): Use
2127         TC_COPY_SYMBOL_ATTRIBUTES.
2128
2129 2007-03-14  Paul Brook  <paul@codesourcery.com>
2130
2131         * config/tc-arm.c (T16_32_TAB): Fix dec_sp encoding.
2132
2133 2007-03-14  Alan Modra  <amodra@bigpond.net.au>
2134
2135         PR 4029
2136         * write.c (relax_segment): Insert extra alignment padding
2137         to break infinite relax loop when given impossible
2138         gcc_except_table assembly.
2139
2140 2007-03-12  H.J. Lu  <hongjiu.lu@intel.com>
2141
2142         * config/tc-i386.c (md_assemble): Use Opcode_XXX instead of XXX
2143         on i.tm.base_opcode.
2144         (match_template): Likewise.
2145         (process_operands): Use ~0x3 mask to match MOV_AX_DISP32.
2146
2147         * config/tc-i386.h (Opcode_D): New.
2148         (Opcode_FloatR): Likewise.
2149         (Opcode_FloatD): Likewise.
2150         (D): Redefined.
2151         (W): Likewise.
2152         (FloatMF): Likewise.
2153         (FloatR): Likewise.
2154         (FloatD): Likewise.
2155
2156 2007-03-09  Alexandre Oliva  <aoliva@redhat.com>
2157
2158         * app.c (do_scrub_chars): Recognize comments after # line "file".
2159         * read.c (get_linefile_number): New.
2160         (s_app_line): Accept ill-formed .linefile lines as comments.
2161
2162 2007-03-09  Alan Modra  <amodra@bigpond.net.au>
2163
2164         * config/tc-i386.h (WORKING_DOT_WORD): Define.
2165
2166 2007-03-09  Alexandre Oliva  <aoliva@redhat.com>
2167
2168         * app.c (do_scrub_chars): Turn #<line>"file"flags into .linefile.
2169         * as.h (new_logical_line_flags): New.
2170         * input-scrub.c (new_logical_line): Turned into wrapper for...
2171         (new_logical_line_flags): this.  Handle flags.
2172         * read.c (potable): Add linefile.  Adjust appline argument.
2173         (s_app_file): Fake .appfiles no more.
2174         (s_app_line): For .linefile, accept file name and flags.
2175
2176 2007-03-08  Alan Modra  <amodra@bigpond.net.au>
2177
2178         * symbols.c (symbol_relc_make_sym): Comment typo fixes.
2179
2180 2007-03-08  Alan Modra  <amodra@bigpond.net.au>
2181
2182         * Makefile.am: Run "make dep-am".
2183         * Makefile.in: Regenerate.
2184         * po/POTFILES.in: Regenerate.
2185
2186 2007-03-07  Joseph Myers  <joseph@codesourcery.com>
2187
2188         * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
2189         bug-reporting URL.
2190         * doc/Makefile.am (gasver.texi): Define BUGURL.
2191         * doc/as.texinfo: Use BUGURL.
2192         * Makefile.in, configure, doc/Makefile.in: Regenerate.
2193
2194 2007-03-06  Andreas Krebbel  <krebbel1@de.ibm.com>
2195
2196         * config/tc-s390.c (md_parse_option): z9-ec option added.
2197
2198 2007-03-02  Paul Brook  <paul@codesourcery.com>
2199
2200         * config/tc-arm.c (relax_immediate): Always return positive values.
2201         (relaxed_symbol_addr): New function.
2202         (relax_adr, relax_branch): Use it.
2203         (arm_relax_frag): Pass strect argument.  Adjust infinite loop check.
2204
2205 2007-03-01  Joseph Myers  <joseph@codesourcery.com>
2206
2207         * as.c (parse_args): Update copyright date.
2208
2209 2007-02-28  Nathan Sidwell  <nathan@codesourcery.com>
2210
2211         * configure.tgt (sh-*-uclinux, sh[12]-*-uclinux): Specify as elf.
2212
2213 2007-02-28  Nick Clifton  <nickc@redhat.com>
2214
2215         PR gas/3797
2216         * config/tc-d10v.c (do_assemble): Do not generate error messages,
2217         just return -1 whenever a problem is encountered.
2218         (md_assemble): If do_assemble returns -1 generate a non-fatal
2219         error message and return.
2220
2221         PR gas/2623
2222         * config/tc-msp430.c (line_separator_char): Change to '{'.
2223
2224 2007-02-27  Alan Modra  <amodra@bigpond.net.au>
2225
2226         * config/tc-m68hc11.c (fixup24): Correct fixup size.
2227         (build_jump_insn): Likewise.
2228         (build_insn): Likewise.
2229         (s_m68hc11_relax): Likewise.
2230
2231 2007-02-27  Alan Modra  <amodra@bigpond.net.au>
2232
2233         * config/obj-elf.c (elf_frob_file): frag_wane any new frags.
2234
2235 2007-02-25  Mark Shinwell  <shinwell@codesourcery.com>
2236
2237         * config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad.
2238
2239 2007-02-23  Alan Modra  <amodra@bigpond.net.au>
2240
2241         * config/tc-mn10300.c (md_convert_frag): Correct fixup size.
2242         (md_assemble): Likewise.
2243
2244 2007-02-22  Alan Modra  <amodra@bigpond.net.au>
2245
2246         * write.c (size_seg): Always clear SEC_RELOC here.
2247         (install_reloc): New function, extracted from..
2248         (write_relocs): ..here.  Combine RELOC_EXPANSION_POSSIBLE code
2249         with !RELOC_EXPANSION_POSSIBLE code.  Don't add fr_offset when
2250         testing frag size.  Set SEC_RELOC here.
2251
2252 2007-02-21  Alan Modra  <amodra@bigpond.net.au>
2253
2254         PR 4082
2255         * config/tc-avr.h (TC_FX_SIZE_SLACK): Define.
2256
2257 2007-02-20  Thiemo Seufer  <ths@mips.com>
2258
2259         * doc/c-mips.texi: Document 74kc, 74kf, 74kx.
2260
2261 2007-02-20  Thiemo Seufer  <ths@mips.com>
2262
2263         * config/tc-mips.c (mips_cpu_info_table): Add 74K configurations.
2264
2265 2007-02-20  Thiemo Seufer  <ths@mips.com>
2266             Chao-Ying Fu  <fu@mips.com>
2267
2268         * config/tc-mips.c (mips_set_options, mips_opts, file_ase_dspr2,
2269         ISA_SUPPORTS_DSPR2_ASE, MIPS_CPU_ASE_DSPR2): Add DSP R2 ASE support.
2270         (macro_build): Add case '2'.
2271         (macro): Expand M_BALIGN to nop, packrl.ph or balign.
2272         (validate_mips_insn): Add support for balign instruction.
2273         (mips_ip): Handle DSP R2 instructions. Support balign instruction.
2274         (OPTION_DSPR2, OPTION_NO_DSPR2, OPTION_COMPAT_ARCH_BASE,
2275         md_parse_option, mips_after_parse_args): Add -mdspr2 and -mno-dspr2
2276         command line options.
2277         (s_mipsset): Add support for .set dspr2 and .set nodspr2 directives.
2278         (md_show_usage): Add -mdspr2 and -mno-dspr2 help output.
2279         * doc/c-mips.texi, doc/as.texinfo: Document -mdspr2, -mno-dspr2,
2280         .set dspr2, .set nodspr2.
2281
2282 2007-02-20  Nathan Sidwell  <nathan@codesourcery.com>
2283
2284         * config/tc-m68k.c (mcf5210a_ctrl, mcf52235_ctrl, mcf5225_ctrl): New.
2285         (m68k_cpus): Add 5210a..5211a, 52230..52235 5224..5225.
2286
2287 2007-02-18  Alan Modra  <amodra@bigpond.net.au>
2288
2289         * write.c (TC_FX_SIZE_SLACK): Define.
2290         (write_relocs): Reinstate check for fixup within frag.
2291         * config/tc-bfin.h (TC_FX_SIZE_SLACK): Define.
2292         * config/tc-h8300.h (TC_FX_SIZE_SLACK): Define.
2293         * config/tc-mmix.h (TC_FX_SIZE_SLACK): Define.
2294         * config/tc-sh.h (TC_FX_SIZE_SLACK): Define.
2295         * config/tc-xstormy16.h (TC_FX_SIZE_SLACK): Define.
2296
2297 2007-02-17  Mark Mitchell  <mark@codesourcery.com>
2298             Nathan Sidwell  <nathan@codesourcery.com>
2299             Vladimir Prus  <vladimir@codesourcery.com
2300             Joseph Myers  <joseph@codesourcery.com>
2301
2302         * configure.in (--with-bugurl): New option.
2303         * configure: Regenerate.
2304         * dep-in.sed: Remove bin-bugs.h.
2305         * Makefile.am (REPORT_BUGS_TO): Define.
2306         (INCLUDES): Define REPORT_BUGS_TO.
2307         (DEP_INCLUDES): Likewise.
2308         ($(OBJS)): No longer depend on bin-bugs.h.
2309         * Makefile.in: Regenerate.
2310         * doc/Makefile.in: Regenerate.
2311         * as.c (show_usage): Don't print empty REPORT_BUGS_TO.
2312         * as.h: Remove include of bin-bugs.h.
2313
2314 2007-02-17  Alan Modra  <amodra@bigpond.net.au>
2315
2316         * write.c: White space fixes.
2317         (fixup_segment): Move symbol_mri_common_p adjustments..
2318         (write_relocs): ..and symbol_equated_reloc_p adjustments..
2319         (adjust_reloc_syms): ..to here.
2320
2321 2007-02-16  Alan Modra  <amodra@bigpond.net.au>
2322
2323         * subsegs.c (subseg_change, subseg_get): Use xcalloc rather than
2324         xmalloc, memset.  Don't bother assigning NULL to known zero mem.
2325         (subseg_set_rest): Remove unnecessary cast.
2326         * write.c: Include libbfd.h.  Replace PTR with void * throughout.
2327         Remove unnecessary forward declarations and casts.
2328         (set_symtab): Delete extern bfd_alloc.
2329         (fixup_segment): Move.
2330
2331 2007-02-15  Nathan Sidwell  <nathan@codesourcery.com>
2332
2333         * config/m68k-parse.h (m68k_register): Add ROMBAR0, ASID.
2334         * config/tc-m68k.c (mcfv4e_ctrl): Add ColdFire specific names.
2335         (mcf5475_ctrl, mcf5485_ctrl): New.
2336         (m68k_cpus): Use mcf5485_ctrl and mcf5485_ctrl for those families.
2337         (m68k_ip): Add ASID, MMUBAR, ROMBAR0 handling.
2338         (init_table): Add asid, mmubar, adjust rombar0.
2339
2340 2007-02-14  Alan Modra  <amodra@bigpond.net.au>
2341
2342         * config/tc-i386.h (Seg2ShortForm, Seg3ShortForm): Delete.
2343         * config/tc-i386.c: Wrap overly long lines, whitespace fixes.
2344         (process_operands): Move old Seg2ShortForm and Seg3ShortForm
2345         code, and test for these insns using a combination of
2346         opcode_modifier and operand_types.
2347
2348 2007-02-07  Paul Brook  <paul@codesourcery.com>
2349
2350         * configure.tgt: Add arm*-*-uclinux-*eabi.
2351
2352 2007-02-05  Dave Brolley  <brolley@redhat.com>
2353             Richard Sandiford  <rsandifo@redhat.com>
2354             DJ Delorie  <dj@redhat.com>
2355             Stan Cox  <scox@redhat.com>
2356             Jim Blandy  <jimb@redhat.com>
2357             Nick Clifton  <nickc@redhat.com>
2358             Jim Wilson  <wilson@redhat.com>
2359             Frank Ch. Eigler  <fche@redhat.com>
2360             Graydon Hoare  <graydon@redhat.com>
2361             Ben Elliston  <bje@redhat.com>
2362             John Healy  <jhealy@redhat.com>
2363             Richard Henderson  <rth@redhat.com>
2364
2365         * Makefile.am (CPU_TYPES): Add mep.
2366         (TARGET_CPU_CFILES): Add tc-mep.c.
2367         (TARGET_CPU_HFILES): Add tc-mep.h.
2368         (DEPTC_mep_elf): New variable.
2369         (DEPTC_mep_coff): Likewise.
2370         (DEPOBJ_mep_coff, DEPOBJ_mep_elf, DEP_mep_coff, DEP_mep_elf): Likewise.
2371         * configure.in: Support mep.
2372         * configure.tgt: Likewise.
2373         * config/tc-mep.c: New file.
2374         * config/obj-elf.c: New file.
2375         * config/tc-mep.c: New file.
2376         * config/tc-mep.h: New file.
2377         * testsuite/gas/mep: New testsuite with content.
2378         * Makefile.in: Regenerate.
2379         * configure: Regenerate.
2380
2381 2007-02-05  Dave Brolley  <brolley@redhat.com>
2382
2383         * cgen.c (gas_cgen_install_complex_reloc): Removed.
2384         (complex_reloc_installation_howto): Removed.
2385
2386 2007-02-05  Dave Brolley  <brolley@redhat.com>
2387             Graydon Hoare  <graydon@redhat.com>
2388             DJ Delorie  <dj@redhat.com>
2389             Catherine Moore  <clm@redhat.com>
2390             Michael Chastain  <chastain@redhat.com>
2391             Frank Ch. Eigler  <fche@redhat.com>
2392
2393         * symbols.c (use_complex_relocs_for): New, to decide
2394         when to use complex relocs. Add signed RELC support.
2395         (resolve_symbol_value): Call use_complex_relocs_for. Unconditionally
2396         encode expression symbols as mangled complex relocation symbols (when
2397         compiled with -DOBJ_COMPLEX_RELOC).
2398         (symbol_relc_make_sym,value,expr): New traversal/conversion routines.
2399         * cgen.c (gas_cgen_md_apply_fix3):  Only set signed_p if RELC. Call
2400         encode_addend with new args. Modify to get start, length from
2401         ifield whenever it is set. Also change condition on which
2402         self-describing relocs are encoded. Add hook into
2403         gas_cgen_encode_addend.
2404         (queue_fixup_recursively): Add signed RELC support. Change from masked
2405         expr to trunc flag. Restore assignment of sub-field value to
2406         temporary in fixups array. Reflect changed meaning of last arg to
2407         queue_fixup_recursively.
2408         (fixup): Add cgen_maybe_multi_ifield member.
2409         (make_right_shifted_expr): New function.
2410         (queue_fixup): Change to recursive function that fragments
2411         fixups if operand has a multi-ifield.
2412         (gas_cgen_parse_operand): Add RELC code to wrap expressions in
2413         symbols, call weak_operand_overflow_check, and fragment call
2414         queue_fixup with operand fields.
2415         (gas_cgen_finish_insn) Modify to manage ifield pointer.
2416         (weak_operand_overflow_check): New function to try to select
2417         insns correctly.
2418         (gas_cgen_encode_addend): New function for relc.
2419         (gas_cgen_install_complex_reloc): Likewise.
2420         (gas_cgen_tc_gen_reloc): Add hook into gas_cgen_install_complex_reloc.
2421         * write.h (struct fix): Add msb_field_p to fx_cgen sub-struct. Add
2422         cgen_maybe_multi_ifield field to fx_cgen substructure.
2423         * cgen.h (GAS_CGEN_MAX_FIXUPS): Bump from 3 up to 32.
2424         * symbols.h (symbol_relc_make_sym,value,expr): New prototypes.
2425         
2426 2007-02-03  DJ Delorie  <dj@delorie.com>
2427
2428         * config/tc-m32c.c (m32c_cons_fix_new): New.  Added to support 3
2429         byte relocs.
2430         * config/tc-m32c.h (TC_CONS_FIX_NEW): Define.
2431         (m32c_cons_fix_new): Prototype.
2432
2433 2007-02-02  Bob Wilson  <bob.wilson@acm.org>
2434         
2435         * config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init.
2436         (xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise.
2437         
2438 2007-02-02  Bob Wilson  <bob.wilson@acm.org>
2439
2440         * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.
2441         (xtensa_elf_suffix): Use suffix_relocs instead of local mapping table.
2442         (map_suffix_reloc_to_operator): New.
2443         (map_operator_to_reloc): New.
2444         (expression_maybe_register): Fix incorrect test of return value from
2445         xtensa_elf_suffix.  Rearrange to use map_suffix_reloc_to_operator.
2446         (xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc.
2447
2448 2007-02-02  Bob Wilson  <bob.wilson@acm.org>
2449
2450         * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field.
2451         (tinsn_get_tok): Delete prototype.
2452         * config/tc-xtensa.c (tinsn_get_tok): Delete.
2453         
2454 2007-02-02  Bob Wilson  <bob.wilson@acm.org>
2455
2456         * config/xtensa-relax.h (struct build_instr): Delete id field.
2457         * config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL
2458         and LABEL tokens.
2459         (append_literal_op, append_label_op): Remove litnum/labnum arguments;
2460         set op_data fields to zero.
2461         (parse_id_constant): Delete.
2462         (build_transition): Remove code to handle numbered literals and labels.
2463
2464 2007-02-02  Bob Wilson  <bob.wilson@acm.org>
2465
2466         * config/xtensa-relax.c (build_transition): Remove code after as_fatal.
2467         (build_transition_table): Likewise.
2468
2469 2007-02-01  Bob Wilson  <bob.wilson@acm.org>
2470
2471         * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of
2472         fx_tcbit.
2473         * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove.
2474
2475 2007-02-02  Alan Modra  <amodra@bigpond.net.au>
2476
2477         * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move.
2478         (struct fix <fx_plt>): Rename to tcbit2.
2479         * write.c (fix_new_internal): Adjust.
2480         (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
2481         * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
2482         * config/tc-cris.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
2483         * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
2484         * config/tc-i960.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
2485         * config/tc-sh.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
2486         * config/tc-sh64.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
2487         * config/tc-sparc.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
2488         * config/tc-msp430.c (msp430_force_relocation_local): Likewise.
2489         * config/tc-ia64.c (emit_one_bundle): Don't set fx_plt.
2490         * config/tc-ia64.h (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
2491         Instead, compare fx_r_type.
2492         * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Use
2493         fx_tcbit in place of fx_plt.
2494         * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Define.
2495         * doc/internals.texi (TC_FORCE_RELOCATION_LOCAL): Remove reference
2496         to fx_plt.
2497
2498 2007-01-30  Nick Clifton  <nickc@redhat.com>
2499
2500         * as.c (main): Mark symbols created via the --defsym command line
2501         option as volatile so that they can be overridden later on by a
2502         .set directive.  This maintains compatibility with the behaviour
2503         of earlier versions of the assembler.
2504         * doc/as.texinfo (--defsym): Document that the defined symbol's
2505         value can be overridden via a .set directive.
2506
2507 2007-01-28  H.J. Lu  <hongjiu.lu@intel.com>
2508
2509         * config/tc-i386.c (swap_imm_operands): Renamed to ...
2510         (swap_2_operands): This.  Take 2 ints.
2511         (md_assemble): Updated.
2512         (swap_operands): Call swap_2_operands to swap 2 operands.
2513
2514 2007-01-24  DJ Delorie  <dj@redhat.com>
2515
2516         * config/tc-m32c.c (md_pseudo_table): Add .3byte.
2517
2518 2007-01-22  Nick Clifton  <nickc@redhat.com>
2519
2520         PR gas/3871
2521         * tc-score.c: Remove unnecessary uses of _().
2522         Make the err_msg[] a file level local array in order to save
2523         storage space.
2524         Remove unnecessary sprintf()s.
2525
2526 2007-01-18  Mei Ligang  <ligang@sunnorth.com.cn>
2527
2528         PR gas/3871
2529         * config/tc-score.c : Using _() for const string.
2530         Do not assign inst.error with a local string pointer.
2531         (md_section_align): Pad section.
2532         
2533 2007-01-13  H.J. Lu  <hongjiu.lu@intel.com>
2534
2535         * config/tc-i386.c (build_modrm_byte): Check number of operands
2536         when procssing memory/register operand.
2537
2538 2007-01-12  Nick Clifton  <nickc@redhat.com>
2539
2540         PR gas/3856
2541         * macro.c (expand_irp): Do not ignore spaces inside quoted
2542         strings.
2543
2544 2007-01-12  Alan Modra  <amodra@bigpond.net.au>
2545
2546         * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
2547         * config/tc-m32r.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
2548         * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
2549         (TC_FORCE_RELOCATION): Define.
2550         (TC_FORCE_RELOCATION_LOCAL): Define.
2551         * config/tc-mn10300.c (mn10300_fix_adjustable): Adjust.
2552
2553 2007-01-12  Alan Modra  <amodra@bigpond.net.au>
2554
2555         * input-file.c (input_file_open): Check fgets return.
2556
2557 2007-01-11  Paul Brook  <paul@codesourcery.com>
2558
2559         * config/tc-arm.c (do_t_add_sub): Use Rd and Rs.
2560
2561 2007-01-11  Nick Clifton  <nickc@redhat.com>
2562
2563         PR gas/3707
2564         * config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt
2565         variable.
2566
2567         * config/tc-mcore.c (md_number_to_chars): Use
2568         number_to_chars_{big|little}endian.
2569
2570 2007-01-08  Kazu Hirata  <kazu@codesourcery.com>
2571
2572         * config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an
2573         architecture by itself.
2574         (m68k_ip): Don't issue a warning for tbl instructions on fido.
2575         (m68k_elf_final_processing): Treat Fido as an architecture by
2576         itself.
2577
2578 2007-01-08  Kai Tietz   <kai.tietz@onevision.com>
2579
2580         * configure.tgt: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*
2581
2582 2007-01-05  H.J. Lu  <hongjiu.lu@intel.com>
2583
2584         * config/tc-i386.c (set_intel_syntax): Update set_intel_syntax
2585         depending on allow_naked_reg.
2586
2587 2007-01-04  Paul Brook  <paul@codesourcery.com>
2588
2589         * config/tc-arm.c (do_cpsi): Set mmod bit for 2 argument form.
2590
2591 2007-01-04  H.J. Lu  <hongjiu.lu@intel.com>
2592
2593         PR gas/3830
2594         * config/tc-i386.c (register_prefix): New.
2595         (set_intel_syntax): Set set_intel_syntax to "" if register
2596         prefix isn't needed.
2597         (check_byte_reg): Use register_prefix for error message.
2598         (check_long_reg): Likewise.
2599         (check_qword_reg): Likewise.
2600         (check_word_reg): Likewise.
2601
2602 2007-01-04  Julian Brown  <julian@codesourcery.com>
2603
2604         * config/tc-arm.c (do_neon_shl_imm): Swap rN, rM.
2605         (do_neon_qshl_imm): Likewise.
2606         (do_neon_rshl): New function. Handle rounding variants of
2607         v{q}shl-by-register.
2608         (insns): Use do_neon_rshl for vrshl, vqrshl.
2609
2610 2007-01-04  Paul Brook  <paul@codesourcery.com>
2611
2612         * config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt
2613         and vacle.
2614
2615 2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>
2616
2617         * config/tc-i386.c (swap_operands): Remove branches.
2618
2619 2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>
2620
2621         * config/tc-i386.c: Update copyright year.
2622         * config/tc-i386.h: Likewise.
2623
2624 2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>
2625
2626         * config/tc-i386.c (smallest_imm_type): Return unsigned int
2627         instead of int.
2628
2629 2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>
2630
2631         * config/tc-i386.c: Convert to ISO C90 formatting
2632         * config/tc-i386.h: Likewise.
2633
2634 2007-01-03  David Daney  <ddaney@avtrex.com>
2635
2636         * config/tc-mips.c (md_show_usage):  Clean up -mno-shared
2637         documentation.
2638
2639 For older changes see ChangeLog-2006
2640 \f
2641 Local Variables:
2642 mode: change-log
2643 left-margin: 8
2644 fill-column: 74
2645 version-control: never
2646 End: