gas/
[binutils.git] / gas / ChangeLog
blob807d52db6b063b54ab2b029a5c3e8f0df74422f7
1 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
3         PR gas/5221
4         * config/obj-elf.c (obj_elf_section): Handle optional
5         parameters for .pushsection.
7         * doc/as.texinfo: Document optional parameters for
8         .pushsection.
10 2007-10-24  H.J. Lu  <hongjiu.lu@intel.com>
12         * configure.in: Move AM_PROG_LIBTOOL after AC_GNU_SOURCE.
13         * configure: Regenerated.
15 2007-10-24  Alan Modra  <amodra@bigpond.net.au>
17         * Makefile.am (INCLUDES, DEP_INCLUDES): Remove -D_GNU_SOURCE.
18         Run "make dep-am".
19         * configure.in: Invoke AC_GNU_SOURCE.
20         * Makefile.in: Regenerate.
21         * config.in: Regenerate.
22         * configure: Regenerate.
24 2007-10-19  Nick Clifton  <nickc@redhat.com>
26         * expr.c (expr): Test md_allow_local_subtract (if defined) before
27         allowing the evaluation of an expression involving two symbols
28         defined in the same section.
29         * doc/internals.texi (md_allow_local_subtract): Document the new
30         macro.
31         * config/tc-mn10300.h (md_allow_local_subtract): Define.
32         (RELAX_EXPANSION_POSSIBLE): Define.
33         (MAX_RELOC_EXPANSION): Define.
34         (TC_FRAG_TYPE): Define.
35         * config/tc-mn10300.c (md_assemble): Mark fragments as containing code.
36         (tc_gen_reloc): Return an array of relocs.  If necessary generate
37         two relocs to handle an expressions involving the difference of
38         two symbols.
39         (mn10300_fix_adjustable): Do not test TC_FORCE_RELOCATION_LOCAL
40         when then fixup is not pc-relative.
41         (mn10300_allow_local_subtract): New function.  Determine when it
42         is safe to compute the difference between two symbols at assemble
43         time.
45 2007-10-19  Alan Modra  <amodra@bigpond.net.au>
47         * config/tc-ppc.c (ppc_parse_name): Skip leading '%'.
48         (md_assemble): When parsing PPC_OPERAND_CR, add '%' to set of
49         chars that can start a name.
51 2007-10-18  Carlos O'Donell  <carlos@systemhalted.org>
53         * config/tc-hppa.c (pa_ip): Fix comment typo.
54         (pa_comm): Likewise.
56 2007-10-18  Nick Clifton  <nickc@redhat.com>
58         PR gas/5172
59         * config/tc-arc.c (md_estimate_size_before_relax): Change error
60         message.
61         (md_convert_frag): Just call abort.
62         * config/tc-i860.c (md_estimate_size_before_relax): Change error
63         message.
64         * config/tc-i860.h (md_convert_frag): Just call abort.
65         * config/tc-ip2k.c (md_estimate_size_before_relax): Change error
66         message.
67         (md_convert_frag): Just call abort.
68         * config/tc-m68k.c (m68k_ip): Do not attempt translation of
69         architecture names.
70         PR gas/5174
71         * config/tc-arm.c: Fix formatting and spelling errors.
72         PR gas/5175
73         * config/tc-xc16x.c: Fix formatting and internationalization.
74         * po/gas.pot: Regenerate.
76 2007-10-17  Nick Clifton  <nickc@redhat.com>
78         PR gas/5173
79         * as.h (ieee_md_atof, vax_md_atof): New prototypes.
80         * read.c (s_float_space): Allow a zero length return from md_atof
81         if the error message has been set.
82         (float_cons): Likewise.
83         * config/atof-ieee.c (ieee_md_atof): New function.  Performs the
84         md_atof() function in a generic way for IEEE using targets.
85         * config/atof-vax.c (md_atof): Rename to vax_md_atof.  Use the
86         same error message as ieee_md_atof.
87         * tc-alpha.c (md_atof): Use ieee_md_atof.  Remove #define of vax_md_atof.
88         * tc-arc.c (md_atof): Use ieee_md_atof.
89         * tc-arm.c (md_atof): Use sizeof (LITTLENUM_TYPE) instead of the
90         constant 2.  Use a precision of 5 for the 'x' and 'p' types.
91         * tc-avr.c (md_atof): Use ieee_md_atof.
92         * tc-bfin.c (md_atof): Use ieee_md_atof.
93         * tc-cr16.c (md_atof): Use ieee_md_atof.
94         * tc-crx.c (md_atof): Use ieee_md_atof.
95         * tc-d10v.c (md_atof): Use ieee_md_atof.
96         * tc-d30v.c (md_atof): Use ieee_md_atof.
97         * tc-dlx.c (md_atof): Use ieee_md_atof.
98         * tc-fr30.c (md_atof): Use ieee_md_atof.
99         * tc-frv.c (md_atof): Use ieee_md_atof.
100         * tc-h8300.c (md_atof): Use ieee_md_atof.
101         * tc-hppa.c (md_atof): Use ieee_md_atof.
102         * tc-i370.c (md_atof): Use ieee_md_atof.
103         (i370_dc): Convert the 'E' type to 'f' before calling md_atof.
104         * tc-i386.c (md_atof): Use ieee_md_atof.
105         * tc-i860.c (md_atof): Use ieee_md_atof.
106         * tc-i960.c (md_atof): Use ieee_md_atof.
107         * tc-ia64.c (md_atof): Use the same error message as ieee_md_atof.
108         * tc-ip2k.c (md_atof): Use ieee_md_atof.
109         * tc-iq2000.c (md_atof): Use ieee_md_atof.
110         * tc-m32c.c (md_atof): Use ieee_md_atof.
111         * tc-m32r.c (md_atof): Use ieee_md_atof.
112         * tc-m68hc11.c (md_atof): Use ieee_md_atof.
113         * tc-m68k.c (md_atof): Use ieee_md_atof.
114         * tc-maxq.c (md_atof): Use ieee_md_atof.
115         * tc-mcore.c (md_atof): Use ieee_md_atof.
116         * tc-mep.c (md_atof): Use ieee_md_atof.
117         * tc-mips.c (md_atof): Use ieee_md_atof.
118         * tc-mmix.c (md_atof): Use ieee_md_atof.
119         * tc-mn10200.c (md_atof): Use ieee_md_atof.
120         * tc-mn10300.c (md_atof): Use ieee_md_atof.
121         * tc-msp430.c (md_atof): Use ieee_md_atof.
122         * tc-mt.c (md_atof): Use ieee_md_atof.
123         * tc-ns32k.c (md_atof): Use ieee_md_atof.
124         * tc-openrisc.c (md_atof): Use ieee_md_atof.
125         * tc-or32.c (md_atof): Use ieee_md_atof.
126         * tc-pdp11.c (md_atof): New function.  Call vax_md_atof.
127         * tc-pj.c (md_atof): Use ieee_md_atof.
128         * tc-ppc.c (md_atof): Use ieee_md_atof.
129         * tc-s390.c (md_atof): Use ieee_md_atof.
130         * tc-score.c (md_atof): Use ieee_md_atof.
131         * tc-sh.c (md_atof): Use ieee_md_atof.
132         * tc-sparc.c (md_atof): Use ieee_md_atof.
133         * tc-spu.c (md_atof): Use ieee_md_atof.
134         * tc-tic30.c (md_atof): Use the same error message as ieee_md_atof.
135         * tc-tic4x.c (md_atof): Use the same error message as ieee_md_atof.
136         * tc-tic54.c (md_atof): Use ieee_md_atof.
137         * tc-v850.c (md_atof): Use ieee_md_atof.
138         * tc-vax.c (md_atof): New function.  Call vax_md_atof.
139         * tc-xc16x.c (md_atof): Use ieee_md_atof.
140         * tc-xstormy16.c (md_atof): Use ieee_md_atof.
141         * tc-xtensa.c (md_atof): Use ieee_md_atof.
142         * tc-z8k.c (md_atof): Use ieee_md_atof.
143         * doc/internals.texi: Update description of md_atof function.
144         * po/gas.pot: Regenerate.
146 2007-10-16  Bob Wilson  <bob.wilson@acm.org>
147         
148         * doc/as.texinfo (Overview): Add Xtensa --rename-section option.
149         
150 2007-10-16  Nick Clifton  <nickc@redhat.com>
152         * config/obj-elf.c (obj_elf_type): Accept "common" as a valid
153         symbol type.
154         * doc/as.texinfo (.type): Document the types accepted by the
155         type pseudo op, including "common".
157 2007-10-15  Peter Bergner  <bergner@vnet.ibm.com>
159         * config/tc-ppc.c (ppc_setup_opcodes): Verify instructions are sorted
160         according to major opcode number.
162 2007-10-15  Alan Modra  <amodra@bigpond.net.au>
164         * read.c (do_s_func): Check asprintf return status.
165         * stabs.c (stabs_generate_asm_func): Likewise.
166         (stabs_generate_asm_endfunc): Likewise.
168 2007-10-12  H.J. Lu  <hongjiu.lu@intel.com>
170         * config/tc-i386.c (process_operands): Simplify implicit xmm0
171         handling.
173 2007-10-12  H.J. Lu  <hongjiu.lu@intel.com>
175         * config/tc-i386.c (process_operands): Check the firstxmm0
176         field in opcode_modifier for instruction with a implicit
177         xmm0 as the first operand.
179 2007-10-12  Eric B. Weddington  <eweddington@cso.atmel.com>
181         * config/tc-avr.c (mcu_types): Add new devices: AT90PWM2B,
182         AT90PWM3B.
183         * doc/c-avr.texi: Document new devices.
185 2007-10-12  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
187         * config/tc-cr16.c: Update the md_relax_table for 1 word b<cc>
188         instruction range information.
190 2007-10-12  Daniel Jacobowitz  <dan@codesourcery.com>
192         * doc/as.texinfo (Object Attributes): New chapter.
193         (Pseudo Ops): Document .gnu_attribute.
194         (LNS directives): Correct .loc_mark_labels documentation.
196 2007-10-11  Nick Clifton  <nickc@redhat.com>
198         * config/obj-elf.c (obj_elf_section): When pushing a section, if
199         there is a comma then the following argument must be a subsection
200         number.
202 2007-10-11  H.J. Lu  <hongjiu.lu@intel.com>
204         * doc/c-i386.texi: Update which instruction's operands are
205         swapped.
207 2007-10-11  Nick Clifton  <nickc@redhat.com>
209         PR gas/5161
210         * config/tc-ia64.c: Allow for translations of error and warning
211         messages.
212         * po/gas.pot: Regenerate.
214         PR gas/5158
215         * config/tc-h8300.c (tc_gen_reloc): Allow for translation of error
216         message.
217         * po/gas.pot: Regenerate.
219         PR gas/5155
220         * config/tc-msp430.c: Fix spelling typos.
222 2007-10-11  Nick Clifton  <nickc@redhat.com>
224         * doc/as.texinfo (Type): Fix typo: STT_FUNC not STT_FUNCTION.
226 2007-10-08  Maciej W. Rozycki  <macro@linux-mips.org>
228         * config/tc-mips.c (AT): Rename to...
229         (ATREG): ... this.
230         (AT): New definition.
231         (mips_set_options): Rename "noat" to "at"; change the type.
232         (mips_opts): Update accordingly.
233         (append_insn): Likewise.
234         (macro_build_ldst_constoffset): Likewise.
235         (load_address): Likewise.
236         (macro, macro2): Likewise.
237         (s_mipsset): Handle ".set at=REG".  Update handling of ".set at"
238         and ".set noat".
240 2007-10-08  Nick Clifton  <nickc@redhat.com>
242         * doc/as.texinfo (Previous): Clarify explanation of the behaviour
243         of this pseudo-op and add a couple of examples.
245 2007-10-08  Nick Clifton  <nickc@redhat.com>
247         PR gas/5121 gas/5122 gas/5123
248         * Makefile.am (CFILES): Add cgen.c
249         (TARGET_CPU_CFILES): Add tc-iq2000.c, tc-maxq.c, tc-mt.c,
250         tc-tic4x.c and xtensa-relax.c.
251         (TARGET_CPU_HFILES): Add tc-iq2000.h, tc-maxq.h, tc-mt.h,
252         tc-tic4x.h and xtensa-relax.h.
253         (TARG_ENV_HFILES): Remove te-aux.h, te-delta.h, te-delt88.h,
254         te-ic960.h, te-linux.h.  Add te-aix5.h, te-armeabi.h,
255         te-freebsd.h, te-gnu.h, te-interix.h, te-vxworks.h.
256         (CONFIG_ATOF_CFILES): New variable.
257         (POTFILES): Add CONFIG_ATOF_CFILES to dependencies.  Fix typo with
258         dependency upon TARG_ENV_HFILES.
259         (DEPTC): Do not put "#include opcodes/<foo>-desc.h" into
260         cgen-desc.h when foo-desc.h does not exit.
261         Run make dep-am.
262         * Makefile.in: Regenerate.
263         * doc/Makefile.in: Regenerate.
264         * po/POTFILES.in: Regenerate.
265         PR gas/5124 gas/5125
266         * po/es.po: Regenerate.
267         * po/fr.po: Regenerate.
268         * po/gas.pot: Regenerate.
269         * po/rw.po: Regenerate.
270         * po/tr.po: Regenerate.
271         * config/obj-elf.c (obj_elf_vtable_inherit): Allow for translation
272         of error messages.
273         PR gas/5126
274         * config/obj-som.c: Likewise.
275         PR gas/5129
276         * config/tc-arc.c: Likewise.
277         PR gas/5131 gas/5132
278         * config/tc-arm.c: Likewise.
279         PR gas/5137
280         * config/tc-bfin.c: Likewise.
281         PR gas/5143
282         * config/tc-frv.c: Likewise.
283         PR gas/5142
284         * config/tc-dlx.c: Likewise.
286 2007-10-08  Eric B. Weddington  <eweddington@cso.atmel.com>
288         * config/tc-avr.c (mcu_types): Add new devices: ATtiny43U,
289         ATtiny48, AT90PWM216, AT90PWM316.
290         * doc/c-avr.texi: Document new devices.
292 2007-10-08  Nick Clifton  <nickc@redhat.com>
294         PR gas/5133
295         * config/tc-arm.c (md_apply_fix): Correct error message.
296         PR gas/5134     
297         * config/tc-arm.c (md_apply_fix): Likewise.
298         PR gas/5136
299         * config/tc-bfin.c (md_apply_fix): Fix error message.
300         PR gas/5135
301         (Expr_Node_Gen_Reloc_R): Fix spelling typos in error messages.
303 2007-10-05  H.J. Lu  <hongjiu.lu@intel.com>
305         * config/tc-i386.c (build_modrm_byte): Check the first 2 8bit
306         immediate operands directly for instructions with 4 operands.
308 2007-10-04  H.J. Lu  <hongjiu.lu@intel.com>
310         PR gas/5109
311         * config/tc-i386.c (process_suffix): Clear QWORD suffix if it
312         is ignored in Intel mode.
314 2007-10-04  Helge Deller  <deller@gmx.de>
316         * read.c (potable): Add string8, string16, string32 and string64.
317         Add bit size for stringer function.
318         (stringer_append_char): New.
319         (stringer): Use stringer_append_char().
320         * config/obj-coff.c (obj_coff_ident): Add bit size for stringer function.
321         * config/obj-elf.c (obj_elf_ident): Likewise.
322         * config/tc-alpha.c (s_alpha_stringer): Likewise.
323         * config/tc-dlx.c (dlx_pseudo_table): Likewise.
324         * config/tc-hppa.c (pa_stringer): Likewise.
325         * config/tc-ia64.c (md_pseudo_table, pseudo_opcode): Likewise.
326         * config/tc-m68hc11.c (md_pseudo_table): Likewise.
327         * config/tc-mcore.c (md_pseudo_table): Likewise.
328         * config/tc-mips.c (mips_pseudo_table): Likewise.
329         * config/tc-spu.c (md_pseudo_table): Likewise.
330         * config/tc-s390.c (md_pseudo_table): Likewise. Replace '2' by '1'.
331         * doc/as.texinfo (ABORT): Fix identing.
332         (String): Document new string8, string16, string32, string64
333         functions.
334         * NEWS: Mention the new feature.
336 2007-10-03  Nick Clifton  <nickc@redhat.com>
338         PR gas/5078
339         * config/tc-avr.c (avr_get_constant): Extend error message to
340         mention that the constant must be positive.
342 2007-10-03  Nick Clifton  <nickc@redhat.com>
344         * config/tc-avr.c (avr_get_constant): 
345         PR gas/5089
346         * config/tc-arm.c (s_arm_unwind_handlerdata): Fix spelling typo.
347         PR gas/5090
348         (md_assemble): Fix spelling typo.
350 2007-10-03  Alan Modra  <amodra@bigpond.net.au>
352         PR 4303
353         * stabs.c (aout_process_stab): Set BSF_DEBUGGING.
355 2007-10-01  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
357         * config/tc-cr16.c: Replaced 'tabs' with white spaces and
358         added R_CR16_DISP8 as default reloc type for b<cc> instructions.
360 2007-09-30  H.J. Lu  <hongjiu.lu@intel.com>
362         PR gas/5080
363         * config/tc-i386.c (check_long_reg): Also handle cvttss2si.
364         (check_qword_reg): Also handle cvttsd2si.
366 2007-09-27  Kazu Hirata  <kazu@codesourcery.com>
368         * config/m68k-parse.h (m68k_register): Use MBO instead of MBB.
369         (last_movec_reg): Change to MBO.
370         * config/tc-m68k.c (fido_ctrl): Use MBO instead of MBB.
371         (m68k_ip): Use MBO instead of MBO.
372         (init_table): Use MBO instead of MBO.  Add an entry for mbo.
374 2007-09-26  Jan Beulich  <jbeulich@novell.com>
376         * config/tc-i386.c (build_modrm_byte): Also check for RegEip
377         when considering IP-relative addressing.
379 2007-09-26  Jan Beulich  <jbeulich@novell.com>
381         * config/tc-i386.h (md_register_arithmetic): Define.
382         * config/tc-ia64.h (md_register_arithmetic): Likewise.
383         * doc/internals.texi: Document md_register_arithmetic.
384         * expr.c (make_expr_symbol): Force O_register expressions into
385         reg_section.
386         (expr): Provide default for md_register_arithmetic. Don't resolve
387         adding/subtracting constants to/from registers if
388         md_register_arithmetic is zero.
390 2007-09-26  Jan Beulich  <jbeulich@novell.com>
392         * dw2gencfi.c: Conditionalize whole body upon TARGET_USE_CFIPOP.
393         (cfi_finish): Add second empty instance.
395 2007-09-26  Jan Beulich  <jbeulich@novell.com>
397         * config/tc-ia64.c (dot_pred_rel): Replace specialized handling
398         with simple call to parse_operand.
400 2007-09-26  Jan Beulich  <jbeulich@novell.com>
402         * config/tc-i386.c (NUM_FLAG_CODE): Remove.
404 2007-09-26  Jan Beulich  <jbeulich@novell.com>
406         * as.c (itbl_parse): Remove #define.
407         (struct itbl_file_list): Move down and ...
408         (itbl_files): .. conditionalize upon HAVE_ITBL_CPU.
409         (show_usage): Conditionalize printing of --itbl option upon
410         HAVE_ITBL_CPU.
411         (parse_args): Conditionalize handling of -t/--itbl options upon
412         HAVE_ITBL_CPU. Remove OPTION_INSTTBL and replace its use with
413         't'.
415 2007-09-25  H.J. Lu  <hongjiu.lu@intel.com>
417         * config/tc-i386.c (output_insn): Use i.tm.opcode_length to
418         check opcode length.
420 2007-09-25  Nathan Sidwell  <nathan@codesourcery.com>
422         * config/tc-m68k.c (LONG_BRANCH_VIA_COND): New.
423         (BRANCHBWPL, FRAG_VAR_SIZE): New.
424         (md_relax_table): Add BRANCHBWPL entries.
425         (m68k_ip): Choose BRANCHBWPL relaxation if necessary.
426         (md_assemble): Use FRAG_VAR_SIZE.
427         (md_convert_frag_1): Add BRANCHBWPL cases.
428         (md_estimate_size_before_relaz): Likewise.
430 2007-09-24  Carlos O'Donell  <carlos@codesourcery.com>
432         * config/tc-mips.c (s_align): Set max_alignment to 28.
433         
434 2007-09-20  H.J. Lu  <hongjiu.lu@intel.com>
436         PR 658
437         * config/tc-i386.c (SCALE1_WHEN_NO_INDEX): Removed.
438         (set_allow_index_reg): New.
439         (allow_index_reg): Likewise.
440         (md_pseudo_table): Add "allow_index_reg" and
441         "disallow_index_reg".
442         (build_modrm_byte): Set i.sib.index to NO_INDEX_REGISTER for
443         fake index registers.
444         (i386_scale): Updated.
445         (i386_index_check): Support fake index registers.
446         (parse_real_register): Return NULL on eiz/riz if fake index
447         registers aren't allowed.
449 2007-09-19  Nick Clifton  <nickc@redhat.com>
451         * config/tc-h8300.c (md_apply_fix): Do not abort or handle 8 byte
452         fixups.
454 2007-09-19  Bob Wilson  <bob.wilson@acm.org>
456         * doc/c-xtensa.texi (Xtensa Immediate Relaxation): Fix "addi" typo.
458 2007-09-18  Bernd Schmidt  <bernd.schmidt@analog.com>
460         * config/bfin-parse.y (asm_1): Slightly improve error messages
461         for "reg += const;".
463 2007-09-18  Alan Modra  <amodra@bigpond.net.au>
465         PR gas/5026
466         * read.c (emit_expr): Only use long long if required and available.
468 2007-09-17  H.J. Lu  <hongjiu.lu@intel.com>
470         * config/tc-i386.c (baseindex): Removed.
471         (build_modrm_byte): Check reg_num for RIP register instead of
472         reg_type.
473         (i386_index_check): Likewise.
475 2007-09-17  H.J. Lu  <hongjiu.lu@intel.com>
477         PR gas/5035
478         * config/obj-coff.c (obj_coff_endef): Remove checking size of
479         def_symbol_in_progress.
481 2007-09-17  Evandro Menezes  <evandro@yahoo.com>
483         PR gas/5026
484         * read.c (emit_expr): Use unsigned long long values in warning
485         message about truncated expressions.
487 2007-09-17  H.J. Lu  <hongjiu.lu@intel.com>
489         * config/tc-i386.c (intel_e04): Revert the last change.
491 2007-09-17  Nick Clifton  <nickc@redhat.com>
493         * po/es.po: Updated Spanish translation.
495 2007-09-15  H.J. Lu  <hongjiu.lu@intel.com>
497         PR gas/5034
498         * config/tc-i386.c (intel_e04): Return 1 if cur_token.code is
499         T_NIL.
501 2007-09-14  H.J. Lu  <hongjiu.lu@intel.com>
503         * config/tc-i386.c (build_modrm_byte): Adjust comment line
504         wrap.
506 2007-09-14  H.J. Lu  <hongjiu.lu@intel.com>
508         * config/tc-i386.c (build_modrm_byte): Use (A || B) instead
509         of (A || B) != 0.
511 2007-09-14  H.J. Lu  <hongjiu.lu@intel.com>
513         * config/tc-i386.c (build_modrm_byte): Adjust indentation.
515 2007-09-14  Michael Meissner  <michael.meissner@amd.com>
516             Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
517             Tony Linthicum  <tony.linthicum@amd.com>
519         * NEWS: Add SSE5 support to NEWS file.
520         
521         * config/tc-i386.h (drex_byte): Add fields to allow process_drex
522         and build_modrm_byte to communicate.
523         (DREX_OC0): New SSE5 macro.
524         (DREX_OC0_MASK): Ditto.
525         (DREX_OC1): Ditto.
526         (DREX_OC1_MASK): Ditto.
527         (DREX_XMEM_X1_X2_X2): Ditto.
528         (DREX_X1_XMEM_X2_X2): Ditto.
529         (DREX_X1_XMEM_X2_X1: Ditto.
530         (DREX_X1_X2_XMEM_X1: Ditto.
531         (DREX_XMEM_X1_X2): Ditto.
532         (DREX_X1_XMEM_X2): Ditto.
533         (drex_byte): New structure to describe the DREX byte.
535         * config/tc-i386.c (process_drex): New function to handle SSE5
536         DREX bits.
537         (build_modrm_byte): Use the information cached away in
538         process_drex in the case of DREX instructions.
539         (i386_insn): Add drex field.
540         (pi): Add debugging of drex field.
541         (md_assemble): Treat SSE5 like SSE3 in instructions with an
542         immediate byte.  Move REX field to DREX if this is a DREX
543         instruction.
544         (process_operands): Add SSE5 support.
545         (build_modrm_byte): Ditto.
546         (output_insn): Ditto.
547         (cpu_arch): Ditto.
548         (i386_align_code): Ditto.
550 2007-09-12  Jan Beulich  <jbeulich@novell.com>
552         * config/tc-i386.c (md_assemble): Move handling of extrq/insertq
553         after generic operand swapping, and swap only the immediate operands.
555 2007-09-11  Nathan Sidwell  <nathan@codesourcery.com>
557         * config/tc-m68k.c (m68k_ip): Add mcfisa_c case.
558         (m68k_elf_final_processing): Add EF_M68K_CF_ISA_C_NODIV.
560 2007-09-09  H.J. Lu  <hongjiu.lu@intel.com>
562         * tc-i386.c (output_insn): Only check SSE4.2 and ABM for 3
563         byte opcode.
565 2007-09-08  H.J. Lu  <hongjiu.lu@intel.com>
567         * config/tc-i386.c (cpu_flags_check_x64): Renamed to ...
568         (cpu_flags_check_cpu64): This. Inline.
569         (uints_all_zero): New.
570         (uints_set): Likewise
571         (uints_equal): Likewise
572         (UINTS_ALL_ZERO): Likewise
573         (UINTS_SET): Likewise
574         (UINTS_CLEAR): Likewise
575         (UINTS_EQUAL): Likewise
576         (cpu_flags_and): Likewise.
577         (cpu_flags_or): Likewise.
578         (operand_type_and): Likewise.
579         (operand_type_or): Likewise.
580         (operand_type_xor): Likewise.
581         (cpu_flags_not): Inline and use switch instead of loop.
582         (cpu_flags_match): Updated.
583         (operand_type_match): Likewise.
584         (smallest_imm_type): Likewise.
585         (set_cpu_arch): Likewise.
586         (pt): Likewise.
587         (md_assemble): Likewise.
588         (parse_insn): Likewise.
589         (optimize_imm): Likewise.
590         (match_template): Likewise.
591         (process_suffix): Likewise.
592         (update_imm): Likewise.
593         (finalize_imm): Likewise.
594         (process_operands): Likewise.
595         (build_modrm_byte): Likewise.
596         (i386_immediate): Likewise.
597         (i386_displacement): Likewise.
598         (i386_index_check): Likewise.
599         (i386_operand): Likewise.
600         (i386_target_format): Likewise.
601         (intel_e11): Likewise.
602         (operand_type): Remove implicitregister.
603         (operand_type_check): Updated. Inline.
604         (cpu_flags_all_zero): Removed.
605         (operand_type_all_zero): Likewise.
606         (i386_array_biop): Likewise.
607         (cpu_flags_biop): Likewise.
608         (operand_type_biop): Likewise.
610 2007-09-08  H.J. Lu  <hongjiu.lu@intel.com>
612         * Makefile.am: Run "make dep-am".
613         * Makefile.in: Regenerate.
615 2007-09-08  H.J. Lu  <hongjiu.lu@intel.com>
617         * configure.in (AC_CHECK_HEADERS): Add limits.h.
618         * configure: Regenerated.
619         * config.in: Likewise.
621         * config/tc-i386.c: Include "opcodes/i386-init.h".
622         (_i386_insn): Use i386_operand_type for types.
623         (cpu_arch_flags): Updated to new types with bitfield.
624         (cpu_arch_tune_flags): Likewise.
625         (cpu_arch_isa_flags): Likewise.
626         (cpu_arch): Likewise.
627         (i386_align_code): Likewise.
628         (set_code_flag): Likewise.
629         (set_16bit_gcc_code_flag): Likewise.
630         (set_cpu_arch): Likewise.
631         (md_assemble): Likewise.
632         (parse_insn): Likewise.
633         (process_operands): Likewise.
634         (output_branch): Likewise.
635         (output_jump): Likewise.
636         (parse_real_register): Likewise.
637         (mode_from_disp_size): Likewise.
638         (smallest_imm_type): Likewise.
639         (pi): Likewise.
640         (type_names): Likewise.
641         (pt): Likewise.
642         (pte): Likewise.
643         (swap_2_operands): Likewise.
644         (optimize_imm): Likewise.
645         (optimize_disp): Likewise.
646         (match_template): Likewise.
647         (check_string): Likewise.
648         (process_suffix): Likewise.
649         (check_byte_reg): Likewise.
650         (check_long_reg): Likewise.
651         (check_qword_reg): Likewise.
652         (check_word_reg): Likewise.
653         (finalize_imm): Likewise.
654         (build_modrm_byte): Likewise.
655         (output_insn): Likewise.
656         (disp_size): Likewise.
657         (imm_size): Likewise.
658         (output_disp): Likewise.
659         (output_imm): Likewise.
660         (gotrel): Likewise.
661         (i386_immediate): Likewise.
662         (i386_displacement): Likewise.
663         (i386_index_check): Likewise.
664         (i386_operand): Likewise.
665         (parse_real_register): Likewise.
666         (i386_intel_operand): Likewise.
667         (intel_e09): Likewise.
668         (intel_bracket_expr): Likewise.
669         (intel_e11): Likewise.
670         (cpu_arch_flags_not): New.
671         (cpu_flags_check_x64): Likewise.
672         (cpu_flags_all_zero): Likewise.
673         (cpu_flags_not): Likewise.
674         (i386_cpu_flags_biop): Likewise.
675         (cpu_flags_biop): Likewise.
676         (cpu_flags_match); Likewise.
677         (acc32): New.
678         (acc64): Likewise.
679         (control): Likewise.
680         (reg16_inoutportreg): Likewise.
681         (disp16): Likewise.
682         (disp32): Likewise.
683         (disp32s): Likewise.
684         (disp16_32): Likewise.
685         (anydisp): Likewise.
686         (baseindex): Likewise.
687         (regxmm): Likewise.
688         (imm8): Likewise.
689         (imm8s): Likewise.
690         (imm16): Likewise.
691         (imm32): Likewise.
692         (imm32s): Likewise.
693         (imm64): Likewise.
694         (imm16_32): Likewise.
695         (imm16_32s): Likewise.
696         (imm16_32_32s): Likewise.
697         (operand_type): Likewise.
698         (operand_type_check): Likewise.
699         (operand_type_match): Likewise.
700         (operand_type_register_match): Likewise.
701         (update_imm): Likewise.
702         (set_code_flag): Also update cpu_arch_flags_not.
703         (set_16bit_gcc_code_flag): Likewise.
704         (md_begin): Likewise.
705         (parse_insn): Use cpu_flags_check_x64 to check 64bit support.
706         Use cpu_flags_match to match instructions.
707         (i386_target_format): Update cpu_arch_isa_flags and
708         cpu_arch_tune_flags to i386_cpu_flags type with bitfield.
709         (smallest_imm_type): Check cpu_arch_tune to tune for i486.
710         (match_template): Don't initialize overlap0, overlap1,
711         overlap2, overlap3 and operand_types.
712         (process_suffix): Handle crc32 with 64bit register.
713         (MATCH): Removed.
714         (CONSISTENT_REGISTER_MATCH): Likewise.
716         * config/tc-i386.h (arch_entry): Updated to i386_cpu_flags
717         type.
719 2007-09-06  H.J. Lu  <hongjiu.lu@intel.com>
721         * config/tc-i386.c (match_template): Handle invlpga, vmload,
722         vmrun and vmsave in SVME.
723         (process_suffix): Likewise.
725 2007-09-05  H.J. Lu  <hongjiu.lu@intel.com>
727         * config/tc-i386.c (i386_index_check): Don't use RegRex
728         on the reg_type field.
729         (parse_real_register): Use `||' instead of `|'.
731 2007-09-04  H.J. Lu  <hongjiu.lu@intel.com>
733         * config/tc-i386.c (process_operands): Remove segment override
734         check on SVME instructions.
735         (i386_index_check): Remove memory operand check on SVME
736         instructions.
738 2007-09-04  Alan Modra  <amodra@bigpond.net.au>
740         * config/tc-spu.c (struct spu_insn): Delete "flag".  Add "reloc".
741         (md_assemble): Update init of insn.  Use insn.reloc instead of
742         calculating from flag.
743         (get_imm): Set reloc rather than flag.
744         (calcop): Formatting.
746 2007-08-29  Daniel Jacobowitz  <dan@codesourcery.com>
748         * dwarf2dbg.c (dwarf2_directive_loc): Emit duplicate .loc directives.
750 2007-08-28  Daniel Jacobowitz  <dan@codesourcery.com>
752         * doc/c-arc.texi: Fix typo.
754 2007-08-28  H.J. Lu  <hongjiu.lu@intel.com>
756         * config/tc-i386.c (process_suffix): Handle cmpxchg8b in
757         Intel mode.
759 2007-08-28  Nathan Sidwell  <nathan@codesourcery.com>
761         * config/tc-m68k.c (mcf52235_ctrl): Add cache registers.
762         (mcf5253_ctrl): Add RAMBAR, MBAR, MBAR2.
763         (mcf5407_ctrl): New.
764         (m68k_cpus): Adjust 5407 entry.
766 2007-08-28  Maxim Kuvyrkov  <maxim@codesourcery.com>
768         * config/tc-m68k.c (mcf51qe_ctrl): Define 51QE control registers.
769         (m68k_cpus): Define 51QE cpu.
771 2007-08-28  Mark Shinwell  <shinwell@codesourcery.com>
772             Joseph Myers  <joseph@codesourcery.com>
774         * as.c (main): Flush stderr before printing listings to ensure
775         consistent output order across platforms.
777 2007-08-28  Robert Sebastian Gerus  <arachnist@gmail.com>
779         * configure.tgt: Add support for i[3-7]86-*-dragonfly*.
781 2007-08-24  Joseph Myers  <joseph@codesourcery.com>
782             Paul Brook  <paul@codesourcery.com>
784         * remap.c: New.
785         * as.h (remap_debug_filename, add_debug_prefix_map): Declare.
786         * as.c (show_usage): Document --debug-prefix-map option.
787         (parse_args): Handle --debug-prefix-map.
788         * dwarf2dbg.c (out_file_list, out_debug_info): Remap debug paths.
789         * stabs.c (stabs_generate_asm_file): Remap debug paths.
790         * Makefile.am (GAS_CFILES): Add remap.c
791         (GENERIC_OBJS): Add remap.o.
792         Regenerate dependencies.
793         * Makefile.in: Regenerate.
794         * doc/as.texinfo (--debug-prefix-map): Document.
796 2007-08-24  Aurelien Jarno  <aurel32@debian.org>
798         * config/tc-arm.c (md_apply_fix): Cast bfd_vma values to long
799         before printing them.
801 2007-08-24  Anders Waldenborg  <anders@0x63.nu>
802             Alan Modra  <amodra@bigpond.net.au>
804         * config/tc-i386.c (lex_got): Don't scan past a comma.
806 2007-08-23  Ben Elliston  <bje@au.ibm.com>
808         * config/tc-ppc.c (parse_cpu): Handle "750cl".
809         (pre_defined_registers): Add "gqr0" to "gqr7", "gqr.0" to "gqr.7".
810         (md_show_usage): Document -m750cl.
811         (md_assemble): Handle two delimiters in succession (eg. `),').
812         * doc/c-ppc.texi (PowerPC-Opts): Document -m750cl.
813         * testsuite/gas/ppc/ppc.exp: Run ppc70ps dump tests.
814         * testsuite/gas/ppc/ppc750ps.s: New file.
815         * testsuite/gas/ppc/ppc750ps.d: Likewise.
817 2007-08-23  Ben Elliston  <bje@au.ibm.com>
819         * doc/c-arm.texi (ARM Directives): Move brackets out of @vars.
821 2007-08-17  Alan Modra  <amodra@bigpond.net.au>
823         PR gas/4079
824         * config/tc-i386.c (x86_cons): Complain about invalid @got etc.
825         expressions.
826         (i386_immediate): Detect and complain about more cases of
827         invalid immediate expressions.  Return failure rather than
828         converting them to zero.
829         (i386_displacement): Likewise.
831 2007-08-17  Alan Modra  <amodra@bigpond.net.au>
833         * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
835 2007-08-14  Andreas Schwab  <schwab@suse.de>
837         * config/tc-ia64.c (tc_gen_reloc): Return NULL if relocation is
838         unrepresentable.
840 2007-08-12  Matthias Klose  <doko@ubuntu.com>
842         * doc/Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Include
843         $(top_srcdir)/../../bfd/doc.
844         * doc/Makefile.in: Regenerate.
846 2007-08-10  Nick Clifton  <nickc@redhat.com>
848         * NEWS: Add a marker for the 2.18 features.
850 2007-08-09  Paul Brook  <paul@codesourcery.com>
852         * config/tc-arm.c (relaxed_symbol_addr): Compensate for alignment.
854 2007-08-09  H.J. Lu  <hongjiu.lu@intel.com>
856         * config/tc-i386.c (check_byte_reg): Support pextrb and pinsrb.
858 2007-07-29  H.J. Lu  <hongjiu.lu@intel.com>
860         * config/tc-i386.c (check_long_reg): Allow cvtss2si to convert
861         DWORD memory to Reg64 in Intel synax.
862         (check_qword_reg): Allow cvtsd2si to convert QWORD memory to
863         Reg32 in Intel syntax.
865 2007-07-25  Sterling Augustine  <sterling@tensilica.com>
867         * config/tc-xtensa.c (xtensa_extui_opcode): New.
868         (xg_expand_assembly_insn): Check for invalid extui operands.
869         (md_begin): Initialize xtensa_extui_opcode.
871 2007-07-24  Nick Clifton  <nickc@redhat.com>
873         * config/tc-mep.h (skip_whitespace): Remove definition.
875 2007-07-23  H.J. Lu  <hongjiu.lu@intel.com>
877         * config/tc-i386.c (cpu_arch): Change i386 to PROCESSOR_I386.
878         (f32_15): Removed.
879         (jump_31): New.
880         (f32_patt): Remove f32_15.
881         (f16_patt): Likewise.
882         (i386_align_code): Updated to alt_long_patt for 64bit by
883         default.
885         * config/tc-i386.h (processor_type): Add PROCESSOR_I386.
887 2007-07-23  Evandro Menezes  <evandro.menezes@amd.com>
889         * config/tc-i386.c (i386_align_code): Enable alignment up to
890         MAX_MEM_FOR_RS_ALIGN_CODE bytes.  Remove special treatment
891         for K8.
893         * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Changed to 31.
895 2007-07-20  Nick Clifton  <nickc@redhat.com>
897         * app.c (do_scrub_chars): Provide a one character buffer to hold a
898         pushed back newline at the end of an unterminated quoted string.
900 2007-07-14  Nick Clifton  <nickc@redhat.com>
902         * config/tc-arm.c (create_register_alias): Return a boolean rather
903         than an integer.
904         Check the return value of insert_reg_alias and do not continue to
905         create aliases once an insertion has failed.
906         (s_unreq): Delete the all-upper-case and all-lower-case
907         alternatives as well.
909 2007-07-12  Kai Tietz   <kai.tietz@onevision.com>
911         * symbols.c: Print bfd_hostptr_t to file via fprintf_vma.
912         * write.c: Likewise.
914 2007-07-11  Daniel Jacobowitz  <dan@codesourcery.com>
916         * config/tc-mips.c (mips_dwarf2_format, mips_dwarf2_addr_size): Use
917         HAVE_64BIT_SYMBOLS.
919 2007-07-04  Richard Sandiford  <richard@codesourcery.com>
921         * config/tc-mips.c (mips_cpu_info_table): Add new entries for
922         {24k,24ke,34k,74k}f{2_1,1_1,x}.  Also add an entry for 74kf3_2.
923         Deprecate *x and *fx.
924         * doc/c-mips.texi: Document the new CPU arguments.  Deprecate
925         *x and *fx.
927 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
929         * config/obj-coff.h (x86_64_target_format): Renamed to ...
930         (i386_target_format): This
931         (TARGET_FORMAT): Use i386_target_format.
933         * config/tc-i386.c (x86_64_target_format): Removed.
934         (i386_target_format): Handle PE formats.
936 2007-07-04  Nick Clifton  <nickc@redhat.com>
938         * symbols.c (symbol_relc_make_value): Use bfd_sprintf_vma in order
939         to get the right length of printed value.
941 2007-07-03  Nick Clifton  <nickc@redhat.com>
943         * COPYING: Replace with GPLv3 text.
944         * app.c: Update copyright notice to refer to GPLv3.
945         * as.c, as.h, asintl.h, atof_generic.c, bignum.h, bit_fix.h,
946         cgen.c, cond.c, debug.c, depend.c, dw2gencfi.c, dw2gencfi.h,
947         dwarf2dbg.c, dwarf2dbg.h, ecoff.c, ecoff.h, ehopt.c, emul.h,
948         emul_target.h, expr.c, expr.h, flonum-copy.c, flonum.h,
949         flonum-konst.c, frags.c, frags.h, hash.c, hash.h, input-file.c,
950         input-file.h, input-scrub.c, ibtl-lex.h, itbl-lex.l, itbl-ops.c,
951         itbl-ops.h, itbl-parse.y, listing.c, listing.h, literal.c,
952         macro.c, messages.c, obj.h, output-file.c, output-file.h, read.c,
953         read.h, sb.c, sb,h, stabs.c, struc-symbol.h, subsegs.c, subsegs.h,
954         symbols.c, symbols.h, tc.h, write.c, write.h, config/aout_gnu.h,
955         config/config/atof-ieee.c, config/atof-vax.c, config/bfin-aux.h, 
956         config/bfin-defs.h, config/bfin-lex.l, config/bfin-parse.y,
957         config/itbl-mips.h, config/m68k-parse.h, config/m68k-parse.y,
958         config/obj-aout.c, config/obj-aout.h, config/obj-coff.c,
959         config/obj-coff.h, config/obj-ecoff.c, config/obj-ecoff.h,
960         config/obj-elf.c, config/obj-elf.h, config/obj-evax.c,
961         config/obj-evax.h, config/obj-multi.h, config/obj-som.c,
962         config/obj-som.h, config/tc-alpha.c, config/tc-alpha.h,
963         config/tc-arc.c, config/tc-arc.h, config/tc-arm.c,
964         config/tc-arm.h, config/tc-avr.c, config/tc-avr.h,
965         config/tc-bfin.c, config/tc-bfin.h, config/tc-cr16.c,
966         config/tc-cr16.h, config/tc-cris.c, config/tc-cris.h,
967         config/tc-crx.c, config/tc-crx.h, config/tc-d10v.c,
968         config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h,
969         config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.c,
970         config/tc-fr30.h, config/tc-frv.c, config/tc-frv.h,
971         config/tc-generic.c, config/tc-generic.h, config/tc-h8300.c,
972         config/tc-h8300.h, config/tc-hppa.c, config/tc-hppa.h,
973         config/tc-i370.c, config/tc-i370.h, config/tc-i386.c,
974         config/tc-i386.h, config/tc-i860.c, config/tc-i860.h,
975         config/tc-i960.c, config/tc-i960.h, config/tc-ia64.c,
976         config/tc-ia64.h, config/tc-ip2k.c, config/tc-ip2k.h,
977         config/tc-iq2000.c, config/tc-iq2000.h, config/tc-m32c.c,
978         config/tc-m32c.h, config/tc-m32r.c, config/tc-m32r.h,
979         config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c,
980         config/tc-m68k.h, config/tc-maxq.c, config/tc-maxq.h,
981         config/tc-mcore.c, config/tc-mcore.h, config/tc-mep.c,
982         config/tc-mep.h, config/tc-mips.c, config/tc-mips.h,
983         config/tc-mmix.c, config/tc-mmix.h, config/tc-mn10200.c,
984         config/tc-mn10200.h, config/tc-mn10300.c, config/tc-mn10300.h,
985         config/tc-msp430.c, config/tc-msp430.h, config/tc-mt.c,
986         config/tc-mt.h, config/tc-ns32k.c, config/tc-ms32k.h,
987         config/tc-openrisc.c, config/tc-openrisc.h, config/tc-or32.c,
988         config/tc-or32.h, config/tc-pdp11.c, config/tc-pdp11.h,
989         config/tc-pj.c, config/tc-pj.h, config/tc-ppc.c, config/tc-ppc.h,
990         config/tc-s390.c, config/tc-s390.h, config/tc-score.c,
991         config/tc-score.h, config/tc-sh64.c, config/tc-sh64.h,
992         config/tc-sh.c, config/tc-sh.h, config/tc-sparc.c,
993         config/tc-sparc.h, config/tc-spu.c, config/tc-spu.h,
994         config/tc-tic30.c, config/tc-tic30.h, config/tc-tic4x.c,
995         config/tc-tic4x.h, config/tc-tic54x.c, config/tc-tic54x.h,
996         config/tc-v850.c, config/tc-v850.h, config/tc-vax.c,
997         config/tc-vax.h, config/tc-xc16x.c, config/tc-x16x.h,
998         config/tc-xstormy16.c, config/tc-xstormy16.h, config/tc-xtensa.c,
999         config/tc-xtensa.h, config/tc-z80.c, config/tc-z80.h,
1000         config/tc-z8k.c, config/tc-z8k.h, config/te-386bsd.h,
1001         config/te-freebsd.h, config/te-hppa.h, config/te-irix.h,
1002         config/te-netware.h, config/te-sparcaout.h,  config/te-tmips.h,
1003         config/te-vxworks.h, config/vax-inst.h, config/xtensa-istack.h,
1004         config/xtensa-relax.c, config/xtensa-relax.h: Likewise.
1005         
1006         * flonum-mult.c: Likewise, and also correct typo referring to
1007         non-existant GNU Assembler General Public License.
1008         * config/tc-m68851.h: Likewise.
1009         * NEWS: Mention the new license.  Also note where the 2.17 release
1010         happened.
1011         * config/e-crisaout.c: Add copyright header.
1012         * config/e-criself.c, config/e-i386aout.c, config/e-i386coff.c,
1013         config/e-i386elf.c, config/e-mipscoff.c, config/e-mipself.c,
1014         config/obj-multi.c, config/te-aix5.h, config/te-armeabi.h,
1015         config/te-armlinuxeabi.h, config/te-dynix.h, config/te-epoc-pe.h,
1016         config/te-generic.h, config/te-gnu.h, config/te-go32.h,
1017         config/te-hppa64.h, config/te-hppalinux64.h, config/te-hpux.h,
1018         config/te-i386aix.h, config/te-ia64aix.h, config/te-interix.h,
1019         config/te-linux.h, config/te-lnews.h, config/te-lynx.h,
1020         config/te-mach.h, config/te-macos.h, config/te-nbsd532.h,
1021         config/te-nbsd.h, config/te-pc532mach.h, config/te-pe.h,
1022         config/te-pep.h, config/te-psos.h, config/te-riscix.h,
1023         config/te-sun3.h, config/te-svr4.h, config/te-symbian.h,
1024         config/te-wince-pe.h: Likewise.
1026 2007-07-03  Nathan Sidwell  <nathan@codesourcery.com>
1028         * config/tc-m68k.c (m68k_ip): Add j & K operand types.
1029         (install_operand): Add E encoding.
1030         (md_begin): Check and skip initial '.' arg character.
1031         (get_num): Add 0..511 case.
1033 2007-07-03  Alan Modra  <amodra@bigpond.net.au>
1035         PR 4713
1036         * config/obj-elf.c (elf_ecoff_set_ext): Make static when OBJ_MAYBE_ELF.
1037         * config/obj-elf.h (obj_ecoff_set_ext): Comment.
1039 2007-07-03  Mikkel Lauritsen  <renard@nospam.dk>
1041         PR 4722
1042         * app.c (do_scrub_chars <state 5>): Check for output buffer full
1043         after memcpy.
1045 2007-07-02  Joseph Myers  <joseph@codesourcery.com>
1047         * config/tc-mips.c (s_dtprelword, s_dtpreldword,
1048         s_dtprel_internal): New.
1049         (mips_pseudo_table): Add .dtprelword and .dtpreldword.
1050         (md_apply_fix): Handle BFD_RELOC_MIPS_TLS_DTPREL32 and
1051         BFD_RELOC_MIPS_TLS_DTPREL64.
1053 2007-07-02  Alan Modra  <amodra@bigpond.net.au>
1055         * Makefile.am: Run "make dep-am".
1056         * Makefile.in: Regenerate.
1057         * aclocal.m4: Regenerate.
1058         * config.in: Regenerate.
1059         * doc/Makefile.in: Regenerate.
1060         * po/POTFILES.in: Regenerate.
1061         * po/gas.pot: Regenerate.
1063 2007-07-02  Alan Modra  <amodra@bigpond.net.au>
1065         * config/tc-ppc.c (ppc_pe_section): Comment out code assigning
1066         coff section flag values to bfd section flag.
1068 2007-06-30  H.J. Lu  <hongjiu.lu@intel.com>
1070         * aclocal.m4: Regenerated.
1071         * doc/Makefile.in: Likewise.
1072         * Makefile.in: Likewise.
1074 2007-06-29  Joseph Myers  <joseph@codesourcery.com>
1076         * as.c (main): Only call create_obj_attrs_section if IS_ELF.
1078 2007-06-29  Joseph Myers  <joseph@codesourcery.com>
1080         * as.c (create_obj_attrs_section): New.
1081         (main): Call create_obj_attrs_section for ELF.
1082         * read.c (s_gnu_attribute, skip_whitespace, skip_past_char,
1083         skip_past_comma, s_vendor_attribute): New.
1084         (potable): Add gnu_attribute for ELF.
1085         * read.h (s_vendor_attribute): Declare.
1086         * config/tc-arm.c (s_arm_eabi_attribute): Replace by wrapper
1087         round s_vendor_attribute.
1088         (aeabi_set_public_attributes): Update for new attributes
1089         interfaces.
1090         (arm_md_end): Remove attributes contents setting now done
1091         generically.
1093 2007-06-29  M R Swami Reddy  <MR.Swami.Redd@nsc.com>
1095         * Makefile.am: Add CR16 related entry.
1096         * Makefile.in: Regenerate.
1097         * config/tc-cr16.h: New file
1098         * config/tc-cr16.c: New file
1099         * doc/c-cr16.texi: New file for cr16 
1100         * doc/all.texi: Entry for cr16 
1101         * doc/Makefile.am: Added c-cr16.texi
1102         * doc/Makefile.in: Regenerate 
1103         * doc/as.texinfo: Entry for CR16 target
1104         * NEWS: Announce the support for the new target.
1106 2007-06-26  Paul Brook  <paul@codesourcery.com>
1108         * config/tc-arm.c (parse_operands): Accept generic coprocessor regs
1109         for OP_RVC.
1110         (reg_names): Add fpinst, pfinst2, mvfr0 and mvfr1.
1112 2007-06-25  H.J. Lu  <hongjiu.lu@intel.com>
1114         * config/tc-i386.c (process_operands): Replace regKludge
1115         with RegKludge.
1117 2007-06-25  Richard Sandiford  <richard@codesourcery.com>
1119         * config/tc-mips.h (TC_SYMFIELD_TYPE): New.
1120         * config/tc-mips.c (append_insn): Record which symbols have
1121         R_MIPS16_26 relocations against them.
1122         (mips_fix_adjustable): Don't reduce relocations against such symbols.
1124 2007-06-22  Sterling Augustine  <sterling@tensilica.com>
1126         * config/tc-xtensa.c (xg_assembly_relax): Comment termination rules.
1127         (frag_format_size): Handle RELAX_IMMED_STEP3.
1128         (xtensa_relax_frag, md_convert_frag): Likewise.
1129         * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_IMMED_STEP3.
1130         (RELAX_IMMED_MAXSTEPS): Adjust.
1131         * config/xtensa-relax.c (widen_spec_list): Add transitions from
1132         wide branches to branch-over-jumps.
1133         (build_transition): Handle wide branches in transition patterns.
1134         
1135 2007-06-22  H.J. Lu  <hongjiu.lu@intel.com>
1137         * config/tc-i386.c (disp_size): New.
1138         (imm_size): Likewise.
1139         (output_disp): Use disp_size and imm_size.
1140         (output_imm): Use imm_size.
1142 2007-06-19  Sterling Augustine  <sterling@tensilica.com>
1144         * config/tc-xtensa.h (struct xtensa_frag_type): Update comment about
1145         use of literal_frag field.
1146         * config/tc-xtensa.c (xtensa_mark_literal_pool_location): Record frag
1147         in the literal_frag field.
1148         (xtensa_move_literals): Use it here instead of searching.  Update
1149         literal_frag field with new value.
1151 2007-06-14  Paul Brook  <paul@codesourcery.com>
1153         * config/tc-arm.c (do_t_mov_cmp): Handle shift by register and
1154         narrow shift by immediate.
1156 2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>
1158         * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
1160         * acinclude.m4: Don't include m4 files.
1161         (BFD_BINARY_FOPEN): Removed.
1162         Remove libtool kludge.
1164         * Makefile.in: Regenerated.
1165         * doc/Makefile.in: Likewise.
1166         * aclocal.m4: Likewise.
1167         * configure: Likewise.
1169 2007-06-11  Sterling Augustine  <sterling@tensilica.com>
1170             Bob Wilson  <bob.wilson@acm.org>
1171         
1172         * config/tc-xtensa.c (XTENSA_PROP_INSN_NO_TRANSFORM): Renamed to...
1173         (XTENSA_PROP_NO_TRANSFORM): ...this.
1174         (frag_flags_struct): Move is_no_transform out of the insn sub-struct.
1175         (xtensa_mark_frags_for_org): New.
1176         (xtensa_handle_align): Set RELAX_ORG frag subtype for rs_org.
1177         (xtensa_post_relax_hook): Call xtensa_mark_frags_for_org.
1178         (get_frag_property_flags): Adjust reference to is_no_transform flag.
1179         (xtensa_frag_flags_combinable): Likewise.
1180         (frag_flags_to_number): Likewise.  Use XTENSA_PROP_NO_TRANSFORM.
1181         * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_ORG.
1182         
1183 2007-06-06  Paul Brook  <paul@codesourcery.com>
1185         * config/tc-arm.c (s_align): Pad code sections appropriately.
1187 2007-06-05  Paul Brook  <paul@codesourcery.com>
1189         * config/tc-arm.c (insns): Correct Thumb-2 ldrd/strd opcodes.
1191 2007-06-05  Nick Clifton  <nickc@redhat.com>
1193         PR gas/4587
1194         * config/tc-sparc.c (sparc_ip): Terminate tls_ops array.
1196 2007-06-05  Alan Modra  <amodra@bigpond.net.au>
1198         * config/tc-spu.c (spu_cons): Use deferred_expression.  Handle
1199         number@ppu.
1200         (tc_gen_reloc): Abort if neither addsy or subsy is set.
1201         (md_apply_fix): Don't attempt to resolve SPU_PPU relocs.
1202         * config/tc-spu.h (md_operand): Handle @ppu without sym.
1204 2007-05-31  Paul Brook  <paul@codesourcery.com>
1206         * config/tc-arm.c (insns): Allow strex on M profile cores.
1208 2007-05-29  David S. Miller  <davem@davemloft.net>
1209             Jakub Jelinek  <jakub@redhat.com>
1211         PR gas/4558
1212         * config/tc-sparc.c (md_apply_fix): Fix relocation overflow checks
1213         for BFD_RELOC_SPARC_WDISP16 and BFD_RELOC_SPARC_WDISP19.
1215 2007-05-29  Alan Modra  <amodra@bigpond.net.au>
1217         * config/tc-spu.h: Wrap in #ifndef/#endif.  Delete coff macros.
1219 2007-05-29  Alan Modra  <amodra@bigpond.net.au>
1221         * config/tc-ppc.c: Convert to ISO C.
1222         * config/tc-ppc.c: Likewise.
1224 2007-05-29  Alan Modra  <amodra@bigpond.net.au>
1226         * write.h (EXEC_MACHINE_TYPE): Delete.
1227         (string_byte_count, section_alignment): Delete.
1229 2007-05-28  Nathan Sidwell  <nathan@codesourcery.com>
1231         * app.c (do_scrub_chars): Cope with \ at end of buffer.
1233 2007-05-26  Alan Modra  <amodra@bigpond.net.au>
1235         * config/tc-ppc.c (ppc_insert_operand): Truncate sign bits in
1236         top 32 bits of 64 bit value if so doing results in passing
1237         range check.  Rewrite sign extension fudges similarly.  Enable
1238         fudges for powerpc64 too.  Report user value if range check
1239         fails rather than fudged value.  Negate PPC_OPERAND_NEGATIVE
1240         range rather than value, also to report user value on failure.
1242 2007-03-25  Paul Brook  <paul@codesourcery.com>
1244         * config/tc-arm.c (T2_SUBS_PC_LR): Define.
1245         (do_t_add_sub): Correctly encode subs pc, lr, #const.
1246         (do_t_mov_cmp): Correctly encode movs pc, lr.
1248 2007-05-24  Steve Ellcey  <sje@cup.hp.com>
1250         * Makefile.in: Regnerate.
1251         * configure: Regenerate.
1252         * aclocal.m4: Regenerate.
1253         * doc/Makefile.in: Regenerate.
1255 2007-05-22  Bob Wilson  <bob.wilson@acm.org>
1256         
1257         * doc/c-xtensa.texi (Xtensa Automatic Alignment): Remove statements
1258         and index entries about automatic alignment of ENTRY instructions.
1259         
1260 2007-05-22  Nick Clifton  <nickc@redhat.com>
1262         * doc/as.texinfo: Use @copying around the copyright notice.
1264 2007-05-18  Joseph Myers  <joseph@codesourcery.com>
1266         * config/tc-mips.c (s_mipsset): Use generic s_set for directives
1267         containing a comma.
1269 2007-05-17  H.J. Lu  <hongjiu.lu@intel.com>
1271         PR gas/4517
1272         2003-06-05  Michal Ludvig  <mludvig@suse.cz>
1273         * doc/as.texinfo: Document new directives: .cfi_restore, 
1274         .cfi_undefined, .cfi_same_value, .cfi_return_column, 
1275         .cfi_remember_state and .cfi_restore_state.
1277 2007-05-17  Nathan Sidwell  <nathan@codesourcery.com>
1279         * config/tc-m68k.c (md_apply_fix): Show value of out of range
1280         fixups in error message.
1281         (md_conver_frag_1): Propagate the fix source location and use
1282         as_bad_where rather than fatal, for better error messages.
1284 2007-05-16  Paul Brook  <paul@codesourcery.com>
1286         * config/tc-arm.c (v7m_psrs): Add uppercase PSR names and xpsr.
1288 2007-05-15  Mark Shinwell  <shinwell@codesourcery.com>
1290         * app.c (do_scrub_chars): Don't damage \@ pseudo-variables.
1292 2007-05-15  Vincent Riviere  <vincent.riviere@freesbee.fr>      
1294         PR gas/3041
1295         * config/tc-m68k.c (relaxable_symbol): Make sure that the correct
1296         addend is stored for relocs against weak symbols.
1297         (md_apply_fix): So not loose track of addend for relocs against
1298         weak symbols.
1300 2007-05-14  Thiemo Seufer  <ths@mips.com>
1302         * config/tc-mips.c (md_parse_option): Fix parsing of -O option.
1304 2007-05-14  Mei Ligang  <ligang@sunnorth.com.cn>
1306         * config/tc-score.c (data_op2, validate_immediate): Fix bug for
1307         addri, addri.c, subi, and subi.c when immediate number is hex.
1308         (score_insns): Remove subis and subis.c.
1309         (do_sub_rdi16): Delete.
1310         
1311 2007-05-11  Alan Modra  <amodra@bigpond.net.au>
1313         * config/tc-spu.c (md_pseudo_table): Add int, long, quad.  Call
1314         spu_cons for word.
1315         (md_assemble): Tidy use of insn.flag.
1316         (get_imm): Likewise.  Handle uppercase input too.
1317         (spu_cons): New function.
1318         * config/tc-spu.h (tc_fix_adjustable): Don't adjust SPU_PPU relocs.
1319         (TC_FORCE_RELOCATION): Don't resolve them either.
1321 2007-05-05  Mark Shinwell  <shinwell@codesourcery.com>
1323         * config/tc-arm.c (md_apply_fix): Generate more accurate
1324         diagnostic when 8-bit immediate range is exceeded for
1325         BFD_RELOC_ARM_OFFSET_IMM8.
1327 2007-05-04  Alan Modra  <amodra@bigpond.net.au>
1329         PR gas/4460
1330         * config/tc-i386.c (lex_got): Don't replace the reloc token with
1331         a space if we already have a space.
1333 2007-05-03  H.J. Lu  <hongjiu.lu@intel.com>
1335         * config/tc-i386.c (match_template): Don't explicitly check
1336         suffix for crc32 in Intel mode.
1337         (process_suffix): Issue an error for crc32 if the operand size
1338         is ambiguous.
1340 2007-05-03  Vincent Riviere  <vincent.riviere@freesbee.fr>
1341             Nick Clifton  <nickc@redhat.com>
1343         PR gas/3041
1344         * config/tc-m68k.c (relaxable_symbol): Do not relax weak symbols.
1345         (tc_gen_reloc): Adjust the addend of relocs against weak symbols.
1346         (md_apply_fix): Put zero values into the frags referencing weak
1347         symbols.
1349 2007-05-02  Alan Modra  <amodra@bigpond.net.au>
1351         PR 4448
1352         * config/tc-ppc.c (ppc_insert_operand): Don't increase min for
1353         PPC_OPERAND_PLUS1.
1355 2007-05-01  H.J. Lu  <hongjiu.lu@intel.com>
1357         * config/tc-i386.c (match_template): Check suffix for crc32 in
1358         Intel mdoe.
1359         (process_suffix): Default the suffix of 8bit crc32 to
1360         BYTE_MNEM_SUFFIX.
1361         (check_byte_reg): Skip check for 8bit crc32.
1363 2007-04-30  H.J. Lu  <hongjiu.lu@intel.com>
1365         * config/tc-i386.c (md_assemble): Use register_prefix in
1366         error/warning message.
1367         (check_byte_reg): Likewise.
1368         (check_long_reg): Likewise.
1369         (check_qword_reg): Likewise.
1370         (check_word_reg): Likewise.
1371         (process_operands): Likewise.
1373 2007-04-30  Alan Modra  <amodra@bigpond.net.au>
1375         PR 4436
1376         * config/tc-ppc.c (ppc_insert_operand): Disable range check if
1377         min > max.
1379 2007-04-28  Thiemo Seufer  <ths@networkno.de>
1381         * config/tc-mips.c: Fix comment.
1383 2007-04-26  Anatoly Sokolov <aesok@post.ru>
1385         * config/tc-avr.c (mcu_types): Add support for atmega8hva and
1386         atmega16hva devices. Move at90usb82 device to 'avr5' architecture.
1387         * doc/c-avr.texi: Document new devices.
1389 2007-04-24  Alan Modra  <amodra@bigpond.net.au>
1391         * Makefile.am: Run "make dep-am".
1392         * Makefile.in: Regenerate.
1394 2007-04-23  Nathan Sidwell  <nathan@codesourcery.com>
1396         * config/tc-m68k.c (mcf54455_ctrl): New.
1397         (HAVE_LONG_DISP, HAVE_LONG_CALL, HAVE_LONG_COND): New.
1398         (m68k_archs): Add isac.
1399         (m68k_cpus): Add 54455 family.
1400         (m68k_ip): Split Bg into Bb, Bs, Bg.
1401         (m68k_elf_final_processing): Add ISA_C.
1402         * doc/c-m68k.texi (M680x0 Options): Add isac.
1404 2007-04-22  Alan Modra  <amodra@bigpond.net.au>
1406         * read.c (read_a_source_file): Skip multiple spaces to
1407         cover hack in mmix md_start_line_hook which overwrites a
1408         colon with a space.  Delete sermon and needless assertion.
1410 2007-04-21  Alan Modra  <amodra@bigpond.net.au>
1412         * config/atof-vax.c (atof_vax_sizeof): Change return type to unsigned.
1413         (md_atof): Make number_of_chars unsigned.  Revert last change.
1414         * config/tc-or32.c (md_apply_fix): Delete bogus assertions.
1415         * config/tc-sh.c (sh_optimize_expr): Only define for OBJ_ELF.
1416         * config/tc-sh.h (md_optimize_expr): Likewise.
1417         * config/tc-sh64.c (shmedia_md_pcrel_from_section): Delete bogus
1418         assertion.
1419         * config/tc-xtensa.c (convert_frag_immed_finish_loop): Likewise.
1421 2007-04-21  Nick Clifton  <nickc@redhat.com>
1423         * config/atof-vax.c (md_atof): Fix comparison inside know().
1425         * config/tc-ia64.c (emit_one_bundle): Fix typo.
1427 2007-04-21  Alan Modra  <amodra@bigpond.net.au>
1429         * expr.c (expr): Assert on rankarg, not rank which can be unsigned.
1430         * read.c (read_a_source_file): Remove buffer_limit[-1] assertion.
1431         Don't skip over NUL char.
1432         (pseudo_set): Set X_op for registers to O_register.
1433         * symbols.c (symbol_clone): Remove assertion that sym is defined.
1434         (resolve_symbol_value): Resolve O_register symbols.
1435         * config/tc-i386.c (parse_real_register): Don't use i386_float_regtab.
1436         Instead find st(0) by hash lookup.
1437         * config/tc-ppc.c (ppc_macro): Warning fix.
1439         * as.h (ENABLE_CHECKING): Default define to 0.
1440         (know): Assert if ENABLE_CHECKING.
1441         (struct relax_type): Remove superfluous declaration.
1442         * configure.in (--enable-checking): New.
1443         * configure: Regenerate.
1444         * config.in: Regenerate.
1445         * config/tc-ppc.c (ppc_setup_opcodes): Do checks when ENABLE_CHECKING.
1446         Check for duplicate powerpc_operands entries.
1448 2007-04-20  Nathan Sidwell  <nathan@codesourcery.com>
1450         * config/tc-m68k.c (mcf5253_ctrl): New.
1451         (mcf52223_ctrl): New.
1452         (m68k_cpus): Add 5253, 52221, 52223.
1454         * config/m68k-parse.h (RAMBAR_ALT): New.
1455         * config/tc-m68k.c (mcf5206_ctrl, mcf5307_ctrl): New.
1456         (mcf_ctrl, mcf5208_ctrl, mcf5210a_ctrl, mcf5213_ctrl, mcf52235_ctrl,
1457         mcf5225_ctrl, mcf5235_ctrl, mcf5271_ctrl, mcf5275_ctrl,
1458         mcf5282_ctrl, mcf5329_ctrl, mcf5373_ctrl, mcfv4e_ctrl,
1459         mcf5475_ctrl, mcf5485_ctrl): Add RAMBAR synonym for
1460         RAMBAR1.
1461         (mcf5272_ctrl): Add RAMBAR0, replace add RAMBAR with RAMBAR_ALT.
1462         (m68k_cpus): Adjust 5206, 5206e & 5307 entries.
1463         (m68k_ip) <Case J>: Detect when RAMBAR_ALT should be used.  Add it
1464         to control register mapping.
1466 2007-04-20  Alan Modra  <amodra@bigpond.net.au>
1468         * messages.c (as_internal_value_out_of_range): Fix typo in
1469         error message.  Return after printing domain error.
1470         * config/tc-ppc.c (ppc_insert_operand): Preserve low zero bits
1471         in max when shifting right.
1473 2007-04-20  Alan Modra  <amodra@bigpond.net.au>
1475         * messages.c (as_internal_value_out_of_range): Extend to report
1476         errors for values with invalid low bits set.
1477         * config/tc-ppc.c (ppc_setup_opcodes): Check powerpc_operands bitm
1478         fields.  Check that operands and opcode fields are disjoint.
1479         (ppc_insert_operand): Check operands using mask rather than bit
1480         count.   Check low bits too.  Handle PPC_OPERAND_PLUS1.  Adjust
1481         insertion code.
1482         (md_apply_fix): Adjust for struct powerpc_operand change.
1484 2007-04-19  Paul Brook  <paul@codesourcery.com>
1486         * config/tc-arm.c (md_assemble): Only allow 16-bit instructions on
1487         Thumb-1.  Add sanity check for bogus relaxations.
1489 2007-04-19  Paul Brook  <paul@codesourcery.com>
1491         * config/tc-arm.c (insns): Allow rsb and rsbs on Thumb-1.
1493 2007-04-19  Alan Modra  <amodra@bigpond.net.au>
1495         * Makefile.am: Run "make dep-am".
1496         * Makefile.in: Regenerate.
1498 2007-04-19  Nathan Froyd <froydnj@codesourcery.com>
1500         * doc/c-ppc.texi (PowerPC-Opts): Document -me500, -me500x2, -mspe.
1502 2007-04-18  H.J. Lu <hongjiu.lu@intel.com>
1504         * doc/c-i386.texi; Document .ssse3, .sse4.1, .sse4.2 and .sse4.
1506 2007-04-18  H.J. Lu <hongjiu.lu@intel.com>
1508         * config/tc-i386.c (cpu_arch): Add .sse4.2 and .sse4.
1509         (match_template): Handle operand size for crc32 in SSE4.2.
1510         (process_suffix): Handle operand type for crc32 in SSE4.2.
1511         (output_insn): Support SSE4.2.
1513 2007-04-18  H.J. Lu <hongjiu.lu@intel.com>
1515         * config/tc-i386.c (cpu_arch): Add .sse4.1.
1516         (process_operands): Adjust implicit operand for blendvpd,
1517         blendvps and pblendvb in SSE4.1.
1518         (output_insn): Support SSE4.1.
1520 2007-04-18  Paul Brook  <paul@codesourcery.com>
1522         * config/tc-arm.c (do_t_rsb): Use 16-bit encoding when possible.
1524 2007-04-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1526         * config/tc-sh.c (sh_handle_align):  Call as_bad_where instead
1527         of as_warn_where for misaligned data.
1529 2007-04-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1531         * config/tc-sh.c (align_test_frag_offset_fixed_p): Handle
1532         rs_fill frags.
1534 2007-04-14  Steve Ellcey  <sje@cup.hp.com>
1536         * Makefile.am: Add ACLOCAL_AMFLAGS.
1537         * Makefile.in: Regenerate.
1539 2007-04-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1541         * config/tc-sh.c (align_test_frag_offset_fixed_p): New.
1542         (sh_optimize_expr): Likewise.
1543         * config/tc-sh.h (md_optimize_expr): Define.
1544         (sh_optimize_expr): Prototype.
1546 2007-04-06  Matt Thomas  <matt@netbsd.org>
1548         * config/tc-vax.c (vax_cons): Added to support %pcrel{8,16,32}(exp)
1549         to emit pcrel relocations by DWARF2 in non-code sections.  Borrowed
1550         heavily from tc-sparc.c.  (vax_cons_fix_new): Likewise.
1552 2007-04-04  Kazu Hirata  <kazu@codesourcery.com>
1554         * config/tc-m68k.c (HAVE_LONG_BRANCH): Add fido_a.
1556 2007-04-04  Paul Brook  <paul@codesourcery.com>
1558         * config/tc-arm.c (do_neon_ext): Enforce immediate range.
1559         (insns): Use I15 for vext.
1561 2007-04-04  Paul Brook  <paul@codesourcery.com>
1563         * configure.tgt: Loosen checks for arm uclinux eabi targets.
1565 2007-04-02  Sterling Augustine  <sterling@tensilica.com>
1567         * config/tc-xtensa.c (xtensa_flush_pending_output): Check
1568         outputting_stabs_line_debug.
1570 2007-03-26  Anatoly Sokolov <aesok@post.ru>
1572         * config/tc-avr.c (mcu_types): Add support for at90pwm1, at90usb82,
1573         at90usb162, atmega325p, atmega329p, atmega3250p and atmega3290p
1574         devices.
1575         * doc/c-avr.texi: Document new devices.
1577 2007-04-02  Richard Sandiford  <richard@codesourcery.com>
1579         * doc/as.texinfo: Add -mvxworks-pic to the list of MIPS options.
1580         * doc/c-mips.texi (-KPIC, -mvxworks-pic): Document.
1581         * config/tc-mips.c (md_show_usage): Mention -mvxworks-pic.
1583 2007-03-30  Sterling Augustine  <sterling@tensilica.com>
1584             Bob Wilson  <bob.wilson@acm.org>
1586         * config/tc-xtensa.c (xtensa_move_labels): Remove loops_ok argument.
1587         Do not check is_loop_target flag.
1588         (xtensa_frob_label): Adjust calls to xtensa_move_labels.
1589         (xg_assemble_vliw_tokens): Likewise.  Also avoid calling
1590         xtensa_move_labels for alignment of loop opcodes.
1591         
1592 2007-03-30  H.J. Lu  <hongjiu.lu@intel.com>
1594         * config/tc-i386.c (process_suffix): Reindent a bit.
1596 2007-03-30  Paul Brook  <paul@codesourcery.com>
1598         * config/tc-arm.c (encode_thumb2_ldmstm): New function.
1599         (do_t_ldmstm): Generate 16-bit push/pop.  Use encode_thumb2_ldmstm.
1600         (do_t_push_pop):  Use encode_thumb2_ldmstm.
1602 2007-03-29  DJ Delorie  <dj@redhat.com>
1604         * config/tc-m32c.c (rl_for, relaxable): Protect argument.
1605         (md_relax_table): Add entries for ADJNZ macros.
1606         (M32C_Macros): Add ADJNZ macros.
1607         (subtype_mappings): Add entries for ADJNZ macros.
1608         (insn_to_subtype): Check for adjnz and sbjnz insns.
1609         (md_estimate_size_before_relax): Pass insn to insn_to_subtype.
1610         (md_convert_frag): Convert adjnz and sbjnz.
1612 2007-03-29  Nick Clifton  <nickc@redhat.com>
1614         * itbl-ops.c (itbl_entry): Remove unnecessary and excessively long
1615         initialization.
1616         * itbl-ops.h (enum e_processor): Initialise the e_nprocs field
1617         using ITBL_NUMBER_OF_PROCESSORS.
1618         * itbl-parse.y (yyerror): Remove use of redundant macro PARAMS.
1620 2007-03-28  H.J. Lu  <hongjiu.lu@intel.com>
1622         * config/tc-i386.c (build_modrm_byte): For instructions with 2
1623         register operands, encode destination in i.rm.regmem if its
1624         RegMem bit is set.
1626 2007-03-28  Richard Sandiford  <richard@codesourcery.com>
1627             Phil Edwards  <phil@codesourcery.com>
1629         * doc/as.texinfo: Put the contents after the title page rather
1630         than at the end of the document.
1632 2007-03-27  Alan Modra  <amodra@bigpond.net.au>
1634         * NEWS: Mention ".reloc".
1636 2007-03-26  Sterling Augustine  <sterling@tensilica.com>
1637         
1638         * config/tc-xtensa.c (xg_translate_idioms): Allow assembly idioms
1639         in FLIX instructions.
1640         
1641 2007-03-26  Julian Brown  <julian@codesourcery.com>
1643         * config/tc-arm.c (arm_it): Add immisfloat field.
1644         (parse_qfloat_immediate): Disallow integer syntax for floating-point
1645         immediates. Fix hex immediates, handle 0.0 and -0.0 specially.
1646         (parse_neon_mov): Set immisfloat bit for operand if it parsed as a
1647         float.
1648         (neon_cmode_for_move_imm): Reject non-float immediates for float
1649         operands.
1650         (neon_move_immediate): Pass immisfloat bit to neon_cmode_for_move_imm.
1652 2007-03-26  Julian Brown  <julian@codesourcery.com>
1654         * doc/c-arm.texi: Add documentation for .dn/.qn directives.
1656 2007-03-26  Alan Modra  <amodra@bigpond.net.au>
1658         * doc/as.texinfo (Reloc): Document.
1659         * read.c (potable): Add "reloc".
1660         (s_reloc): New function.
1661         * write.c (reloc_list): New global var.
1662         (resolve_reloc_expr_symbols): New function.
1663         (write_object_file): Call it.
1664         (write_relocs): Process reloc_list.
1665         * write.h (struct reloc_list): New.
1666         (reloc_list): Declare.
1668 2007-03-24  Paul Brook  <paul@codesourcery.com>
1670         * config/tc-arm.c (do_t_ldmstm): Error on Thumb-2 addressing modes.
1672 2007-03-24  Paul Brook  <paul@codesourcery.com>
1673         Mark Shinwell  <shinwell@codesourcery.com>
1675         * config/tc-arm.c (operand_parse_code): Add OP_oRRw.
1676         (parse_operands): Don't expect comma if first operand missing.
1677         Handle OP_oRRw.
1678         (do_srs): Encode register number, checking it is r13.  Update comment.
1679         (insns): Update SRS entries to take a register.
1681 2007-03-23  H.J. Lu  <hongjiu.lu@intel.com>
1683         * config/tc-i386.c (md_begin): Allow '.' in mnemonic.
1685 2007-03-23  Mark Shinwell  <shinwell@codesourcery.com>
1687         * config/tc-arm.c (md_apply_fix): Turn CBZ instructions that
1688         attempt to jump to the next instruction into NOPs.
1690 2007-03-23  Alan Modra  <amodra@bigpond.net.au>
1692         * config/tc-spu.c: Don't include opcode/spu.h.
1693         (md_assemble): Set tc_fix_data.insn_tag and arg_format.
1694         (md_apply_fix): Adjust.
1695         * config/tc-spu.h: Include opcode/spu.h.
1696         (struct tc_fix_info): New.
1697         (TC_FIX_TYPE, TC_INIT_FIX_DATA): Adjust.
1698         (TC_FORCE_RELOCATION): Define.
1700 2007-03-22  Joseph Myers  <joseph@codesourcery.com>
1702         * doc/as.texinfo: Include VERSION_PACKAGE when reporting version.
1704 2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1706         * config/tc-i386.c (process_suffix): Check 0x90 instead of
1707         xchg for xchg %rax,%rax.
1709 2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1711         * config/tc-i386.c: Replace REX_MODE64, REX_EXTX, REX_EXTY
1712         and REX_EXTZ with REX_W, REX_R, REX_X and REX_B respectively.
1714 2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1716         PR binutils/4218
1717         * config/tc-i386.c (match_template): Properly handle 64bit mode
1718         "xchg %eax, %eax".
1720 2007-03-21  Anton Ertl  <anton@mips.complang.tuw>
1722         PR gas/4124
1723         * config/tc-alpha.c (emit_ustX): Fix ustq code generation.
1725 2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1727         * Makefile.am: Run dep-am.
1728         * Makefile.in: Regenerated.
1730         * config/tc-i386.c: Don't include "opcodes/i386-opc.h".
1732         * config/tc-i386.h: Include "opcodes/i386-opc.h".
1733         (NOP_OPCODE): Removed.
1734         (template): Likewise.
1736 2007-03-21  Andreas Schwab  <schwab@suse.de>
1738         * config/tc-i386.h (NOP_OPCODE): Restore.
1740 2007-03-18  Mark Shinwell  <shinwell@codesourcery.com>
1742         * config/tc-arm.c (do_mul): Don't warn about overlapping
1743         Rd and Rm operands when assembling for v6 or above.
1744         Correctly capitalize register names in the messages.
1745         (do_mlas): Likewise.  Delete spurious blank line.
1747 2007-03-16  Kazu Hirata  <kazu@codesourcery.com>
1749         * config/tc-m68k.c (m68k_cpus): Add an entry for fidoa.
1751 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
1753         * config/tc-i386.c (md_begin): Use i386_regtab_size to scan 
1754         i386_regtab.
1755         (parse_register): Use i386_regtab_size instead of ARRAY_SIZE
1756         on i386_regtab.
1758 2007-03-15  Alexandre Oliva  <aoliva@redhat.com>
1760         PR gas/4184
1761         * app.c (do_scrub_chars): PUT after setting states.
1763 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
1765         * Makefile.am: Run "make dep-am".
1766         * Makefile.in: Regenerated.
1768         * config/tc-i386.c: Include "opcodes/i386-opc.h" instead of
1769         "opcode/i386.h".
1770         (md_begin): Check reg_name != NULL for the last entry in
1771         i386_regtab.
1773         * config/tc-i386.h: Move many entries to opcode/i386.h and
1774         opcodes/i386-opc.h.
1776         * configure.in (need_opcodes): Set true for i386.
1777         * configure: Regenerated.
1779 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
1781         * Makefile.am (REPORT_BUGS_TO): Removed.
1782         (INCLUDES): Remove -DREPORT_BUGS_TO.
1783         * Makefile.in: Regenerated.
1785         * configure.in (--with-bugurl): Removed.
1786         * configure: Regenerated.
1788         * doc/Makefile.am (as_TEXINFOS): Remove gasver.texi.
1789         (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
1790         (TEXI2DVI): Likewise.
1791         (gasver.texi): Removed.
1792         (MOSTLYCLEANFILES): Remove gasver.texi.
1793         (as.1): Don't depend on gasver.texi.
1794         * doc/Makefile.in: Regenerated.
1796         * doc/as.texi: Include bfdver.texi instead of gasver.texi.
1798 2007-03-14  Daniel Jacobowitz  <dan@codesourcery.com>
1800         * config/tc-arm.c (arm_copy_symbol_attributes): New.
1801         * config/tc-arm.h (arm_copy_symbol_attributes): Declare.
1802         (TC_COPY_SYMBOL_ATTRIBUTES): Define.
1803         * gas/symbols.c (copy_symbol_attributes): Use
1804         TC_COPY_SYMBOL_ATTRIBUTES.
1806 2007-03-14  Paul Brook  <paul@codesourcery.com>
1808         * config/tc-arm.c (T16_32_TAB): Fix dec_sp encoding.
1810 2007-03-14  Alan Modra  <amodra@bigpond.net.au>
1812         PR 4029
1813         * write.c (relax_segment): Insert extra alignment padding
1814         to break infinite relax loop when given impossible
1815         gcc_except_table assembly.
1817 2007-03-12  H.J. Lu  <hongjiu.lu@intel.com>
1819         * config/tc-i386.c (md_assemble): Use Opcode_XXX instead of XXX
1820         on i.tm.base_opcode.
1821         (match_template): Likewise.
1822         (process_operands): Use ~0x3 mask to match MOV_AX_DISP32.
1824         * config/tc-i386.h (Opcode_D): New.
1825         (Opcode_FloatR): Likewise.
1826         (Opcode_FloatD): Likewise.
1827         (D): Redefined.
1828         (W): Likewise.
1829         (FloatMF): Likewise.
1830         (FloatR): Likewise.
1831         (FloatD): Likewise.
1833 2007-03-09  Alexandre Oliva  <aoliva@redhat.com>
1835         * app.c (do_scrub_chars): Recognize comments after # line "file".
1836         * read.c (get_linefile_number): New.
1837         (s_app_line): Accept ill-formed .linefile lines as comments.
1839 2007-03-09  Alan Modra  <amodra@bigpond.net.au>
1841         * config/tc-i386.h (WORKING_DOT_WORD): Define.
1843 2007-03-09  Alexandre Oliva  <aoliva@redhat.com>
1845         * app.c (do_scrub_chars): Turn #<line>"file"flags into .linefile.
1846         * as.h (new_logical_line_flags): New.
1847         * input-scrub.c (new_logical_line): Turned into wrapper for...
1848         (new_logical_line_flags): this.  Handle flags.
1849         * read.c (potable): Add linefile.  Adjust appline argument.
1850         (s_app_file): Fake .appfiles no more.
1851         (s_app_line): For .linefile, accept file name and flags.
1853 2007-03-08  Alan Modra  <amodra@bigpond.net.au>
1855         * symbols.c (symbol_relc_make_sym): Comment typo fixes.
1857 2007-03-08  Alan Modra  <amodra@bigpond.net.au>
1859         * Makefile.am: Run "make dep-am".
1860         * Makefile.in: Regenerate.
1861         * po/POTFILES.in: Regenerate.
1863 2007-03-07  Joseph Myers  <joseph@codesourcery.com>
1865         * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
1866         bug-reporting URL.
1867         * doc/Makefile.am (gasver.texi): Define BUGURL.
1868         * doc/as.texinfo: Use BUGURL.
1869         * Makefile.in, configure, doc/Makefile.in: Regenerate.
1871 2007-03-06  Andreas Krebbel  <krebbel1@de.ibm.com>
1873         * config/tc-s390.c (md_parse_option): z9-ec option added.
1875 2007-03-02  Paul Brook  <paul@codesourcery.com>
1877         * config/tc-arm.c (relax_immediate): Always return positive values.
1878         (relaxed_symbol_addr): New function.
1879         (relax_adr, relax_branch): Use it.
1880         (arm_relax_frag): Pass strect argument.  Adjust infinite loop check.
1882 2007-03-01  Joseph Myers  <joseph@codesourcery.com>
1884         * as.c (parse_args): Update copyright date.
1886 2007-02-28  Nathan Sidwell  <nathan@codesourcery.com>
1888         * configure.tgt (sh-*-uclinux, sh[12]-*-uclinux): Specify as elf.
1890 2007-02-28  Nick Clifton  <nickc@redhat.com>
1892         PR gas/3797
1893         * config/tc-d10v.c (do_assemble): Do not generate error messages,
1894         just return -1 whenever a problem is encountered.
1895         (md_assemble): If do_assemble returns -1 generate a non-fatal
1896         error message and return.
1898         PR gas/2623
1899         * config/tc-msp430.c (line_separator_char): Change to '{'.
1901 2007-02-27  Alan Modra  <amodra@bigpond.net.au>
1903         * config/tc-m68hc11.c (fixup24): Correct fixup size.
1904         (build_jump_insn): Likewise.
1905         (build_insn): Likewise.
1906         (s_m68hc11_relax): Likewise.
1908 2007-02-27  Alan Modra  <amodra@bigpond.net.au>
1910         * config/obj-elf.c (elf_frob_file): frag_wane any new frags.
1912 2007-02-25  Mark Shinwell  <shinwell@codesourcery.com>
1914         * config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad.
1916 2007-02-23  Alan Modra  <amodra@bigpond.net.au>
1918         * config/tc-mn10300.c (md_convert_frag): Correct fixup size.
1919         (md_assemble): Likewise.
1921 2007-02-22  Alan Modra  <amodra@bigpond.net.au>
1923         * write.c (size_seg): Always clear SEC_RELOC here.
1924         (install_reloc): New function, extracted from..
1925         (write_relocs): ..here.  Combine RELOC_EXPANSION_POSSIBLE code
1926         with !RELOC_EXPANSION_POSSIBLE code.  Don't add fr_offset when
1927         testing frag size.  Set SEC_RELOC here.
1929 2007-02-21  Alan Modra  <amodra@bigpond.net.au>
1931         PR 4082
1932         * config/tc-avr.h (TC_FX_SIZE_SLACK): Define.
1934 2007-02-20  Thiemo Seufer  <ths@mips.com>
1936         * doc/c-mips.texi: Document 74kc, 74kf, 74kx.
1938 2007-02-20  Thiemo Seufer  <ths@mips.com>
1940         * config/tc-mips.c (mips_cpu_info_table): Add 74K configurations.
1942 2007-02-20  Thiemo Seufer  <ths@mips.com>
1943             Chao-Ying Fu  <fu@mips.com>
1945         * config/tc-mips.c (mips_set_options, mips_opts, file_ase_dspr2,
1946         ISA_SUPPORTS_DSPR2_ASE, MIPS_CPU_ASE_DSPR2): Add DSP R2 ASE support.
1947         (macro_build): Add case '2'.
1948         (macro): Expand M_BALIGN to nop, packrl.ph or balign.
1949         (validate_mips_insn): Add support for balign instruction.
1950         (mips_ip): Handle DSP R2 instructions. Support balign instruction.
1951         (OPTION_DSPR2, OPTION_NO_DSPR2, OPTION_COMPAT_ARCH_BASE,
1952         md_parse_option, mips_after_parse_args): Add -mdspr2 and -mno-dspr2
1953         command line options.
1954         (s_mipsset): Add support for .set dspr2 and .set nodspr2 directives.
1955         (md_show_usage): Add -mdspr2 and -mno-dspr2 help output.
1956         * doc/c-mips.texi, doc/as.texinfo: Document -mdspr2, -mno-dspr2,
1957         .set dspr2, .set nodspr2.
1959 2007-02-20  Nathan Sidwell  <nathan@codesourcery.com>
1961         * config/tc-m68k.c (mcf5210a_ctrl, mcf52235_ctrl, mcf5225_ctrl): New.
1962         (m68k_cpus): Add 5210a..5211a, 52230..52235 5224..5225.
1964 2007-02-18  Alan Modra  <amodra@bigpond.net.au>
1966         * write.c (TC_FX_SIZE_SLACK): Define.
1967         (write_relocs): Reinstate check for fixup within frag.
1968         * config/tc-bfin.h (TC_FX_SIZE_SLACK): Define.
1969         * config/tc-h8300.h (TC_FX_SIZE_SLACK): Define.
1970         * config/tc-mmix.h (TC_FX_SIZE_SLACK): Define.
1971         * config/tc-sh.h (TC_FX_SIZE_SLACK): Define.
1972         * config/tc-xstormy16.h (TC_FX_SIZE_SLACK): Define.
1974 2007-02-17  Mark Mitchell  <mark@codesourcery.com>
1975             Nathan Sidwell  <nathan@codesourcery.com>
1976             Vladimir Prus  <vladimir@codesourcery.com
1977             Joseph Myers  <joseph@codesourcery.com>
1979         * configure.in (--with-bugurl): New option.
1980         * configure: Regenerate.
1981         * dep-in.sed: Remove bin-bugs.h.
1982         * Makefile.am (REPORT_BUGS_TO): Define.
1983         (INCLUDES): Define REPORT_BUGS_TO.
1984         (DEP_INCLUDES): Likewise.
1985         ($(OBJS)): No longer depend on bin-bugs.h.
1986         * Makefile.in: Regenerate.
1987         * doc/Makefile.in: Regenerate.
1988         * as.c (show_usage): Don't print empty REPORT_BUGS_TO.
1989         * as.h: Remove include of bin-bugs.h.
1991 2007-02-17  Alan Modra  <amodra@bigpond.net.au>
1993         * write.c: White space fixes.
1994         (fixup_segment): Move symbol_mri_common_p adjustments..
1995         (write_relocs): ..and symbol_equated_reloc_p adjustments..
1996         (adjust_reloc_syms): ..to here.
1998 2007-02-16  Alan Modra  <amodra@bigpond.net.au>
2000         * subsegs.c (subseg_change, subseg_get): Use xcalloc rather than
2001         xmalloc, memset.  Don't bother assigning NULL to known zero mem.
2002         (subseg_set_rest): Remove unnecessary cast.
2003         * write.c: Include libbfd.h.  Replace PTR with void * throughout.
2004         Remove unnecessary forward declarations and casts.
2005         (set_symtab): Delete extern bfd_alloc.
2006         (fixup_segment): Move.
2008 2007-02-15  Nathan Sidwell  <nathan@codesourcery.com>
2010         * config/m68k-parse.h (m68k_register): Add ROMBAR0, ASID.
2011         * config/tc-m68k.c (mcfv4e_ctrl): Add ColdFire specific names.
2012         (mcf5475_ctrl, mcf5485_ctrl): New.
2013         (m68k_cpus): Use mcf5485_ctrl and mcf5485_ctrl for those families.
2014         (m68k_ip): Add ASID, MMUBAR, ROMBAR0 handling.
2015         (init_table): Add asid, mmubar, adjust rombar0.
2017 2007-02-14  Alan Modra  <amodra@bigpond.net.au>
2019         * config/tc-i386.h (Seg2ShortForm, Seg3ShortForm): Delete.
2020         * config/tc-i386.c: Wrap overly long lines, whitespace fixes.
2021         (process_operands): Move old Seg2ShortForm and Seg3ShortForm
2022         code, and test for these insns using a combination of
2023         opcode_modifier and operand_types.
2025 2007-02-07  Paul Brook  <paul@codesourcery.com>
2027         * configure.tgt: Add arm*-*-uclinux-*eabi.
2029 2007-02-05  Dave Brolley  <brolley@redhat.com>
2030             Richard Sandiford  <rsandifo@redhat.com>
2031             DJ Delorie  <dj@redhat.com>
2032             Stan Cox  <scox@redhat.com>
2033             Jim Blandy  <jimb@redhat.com>
2034             Nick Clifton  <nickc@redhat.com>
2035             Jim Wilson  <wilson@redhat.com>
2036             Frank Ch. Eigler  <fche@redhat.com>
2037             Graydon Hoare  <graydon@redhat.com>
2038             Ben Elliston  <bje@redhat.com>
2039             John Healy  <jhealy@redhat.com>
2040             Richard Henderson  <rth@redhat.com>
2042         * Makefile.am (CPU_TYPES): Add mep.
2043         (TARGET_CPU_CFILES): Add tc-mep.c.
2044         (TARGET_CPU_HFILES): Add tc-mep.h.
2045         (DEPTC_mep_elf): New variable.
2046         (DEPTC_mep_coff): Likewise.
2047         (DEPOBJ_mep_coff, DEPOBJ_mep_elf, DEP_mep_coff, DEP_mep_elf): Likewise.
2048         * configure.in: Support mep.
2049         * configure.tgt: Likewise.
2050         * config/tc-mep.c: New file.
2051         * config/obj-elf.c: New file.
2052         * config/tc-mep.c: New file.
2053         * config/tc-mep.h: New file.
2054         * testsuite/gas/mep: New testsuite with content.
2055         * Makefile.in: Regenerate.
2056         * configure: Regenerate.
2058 2007-02-05  Dave Brolley  <brolley@redhat.com>
2060         * cgen.c (gas_cgen_install_complex_reloc): Removed.
2061         (complex_reloc_installation_howto): Removed.
2063 2007-02-05  Dave Brolley  <brolley@redhat.com>
2064             Graydon Hoare  <graydon@redhat.com>
2065             DJ Delorie  <dj@redhat.com>
2066             Catherine Moore  <clm@redhat.com>
2067             Michael Chastain  <chastain@redhat.com>
2068             Frank Ch. Eigler  <fche@redhat.com>
2070         * symbols.c (use_complex_relocs_for): New, to decide
2071         when to use complex relocs. Add signed RELC support.
2072         (resolve_symbol_value): Call use_complex_relocs_for. Unconditionally
2073         encode expression symbols as mangled complex relocation symbols (when
2074         compiled with -DOBJ_COMPLEX_RELOC).
2075         (symbol_relc_make_sym,value,expr): New traversal/conversion routines.
2076         * cgen.c (gas_cgen_md_apply_fix3):  Only set signed_p if RELC. Call
2077         encode_addend with new args. Modify to get start, length from
2078         ifield whenever it is set. Also change condition on which
2079         self-describing relocs are encoded. Add hook into
2080         gas_cgen_encode_addend.
2081         (queue_fixup_recursively): Add signed RELC support. Change from masked
2082         expr to trunc flag. Restore assignment of sub-field value to
2083         temporary in fixups array. Reflect changed meaning of last arg to
2084         queue_fixup_recursively.
2085         (fixup): Add cgen_maybe_multi_ifield member.
2086         (make_right_shifted_expr): New function.
2087         (queue_fixup): Change to recursive function that fragments
2088         fixups if operand has a multi-ifield.
2089         (gas_cgen_parse_operand): Add RELC code to wrap expressions in
2090         symbols, call weak_operand_overflow_check, and fragment call
2091         queue_fixup with operand fields.
2092         (gas_cgen_finish_insn) Modify to manage ifield pointer.
2093         (weak_operand_overflow_check): New function to try to select
2094         insns correctly.
2095         (gas_cgen_encode_addend): New function for relc.
2096         (gas_cgen_install_complex_reloc): Likewise.
2097         (gas_cgen_tc_gen_reloc): Add hook into gas_cgen_install_complex_reloc.
2098         * write.h (struct fix): Add msb_field_p to fx_cgen sub-struct. Add
2099         cgen_maybe_multi_ifield field to fx_cgen substructure.
2100         * cgen.h (GAS_CGEN_MAX_FIXUPS): Bump from 3 up to 32.
2101         * symbols.h (symbol_relc_make_sym,value,expr): New prototypes.
2102         
2103 2007-02-03  DJ Delorie  <dj@delorie.com>
2105         * config/tc-m32c.c (m32c_cons_fix_new): New.  Added to support 3
2106         byte relocs.
2107         * config/tc-m32c.h (TC_CONS_FIX_NEW): Define.
2108         (m32c_cons_fix_new): Prototype.
2110 2007-02-02  Bob Wilson  <bob.wilson@acm.org>
2111         
2112         * config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init.
2113         (xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise.
2114         
2115 2007-02-02  Bob Wilson  <bob.wilson@acm.org>
2117         * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.
2118         (xtensa_elf_suffix): Use suffix_relocs instead of local mapping table.
2119         (map_suffix_reloc_to_operator): New.
2120         (map_operator_to_reloc): New.
2121         (expression_maybe_register): Fix incorrect test of return value from
2122         xtensa_elf_suffix.  Rearrange to use map_suffix_reloc_to_operator.
2123         (xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc.
2125 2007-02-02  Bob Wilson  <bob.wilson@acm.org>
2127         * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field.
2128         (tinsn_get_tok): Delete prototype.
2129         * config/tc-xtensa.c (tinsn_get_tok): Delete.
2130         
2131 2007-02-02  Bob Wilson  <bob.wilson@acm.org>
2133         * config/xtensa-relax.h (struct build_instr): Delete id field.
2134         * config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL
2135         and LABEL tokens.
2136         (append_literal_op, append_label_op): Remove litnum/labnum arguments;
2137         set op_data fields to zero.
2138         (parse_id_constant): Delete.
2139         (build_transition): Remove code to handle numbered literals and labels.
2141 2007-02-02  Bob Wilson  <bob.wilson@acm.org>
2143         * config/xtensa-relax.c (build_transition): Remove code after as_fatal.
2144         (build_transition_table): Likewise.
2146 2007-02-01  Bob Wilson  <bob.wilson@acm.org>
2148         * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of
2149         fx_tcbit.
2150         * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove.
2152 2007-02-02  Alan Modra  <amodra@bigpond.net.au>
2154         * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move.
2155         (struct fix <fx_plt>): Rename to tcbit2.
2156         * write.c (fix_new_internal): Adjust.
2157         (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
2158         * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
2159         * config/tc-cris.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
2160         * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
2161         * config/tc-i960.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
2162         * config/tc-sh.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
2163         * config/tc-sh64.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
2164         * config/tc-sparc.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
2165         * config/tc-msp430.c (msp430_force_relocation_local): Likewise.
2166         * config/tc-ia64.c (emit_one_bundle): Don't set fx_plt.
2167         * config/tc-ia64.h (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
2168         Instead, compare fx_r_type.
2169         * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Use
2170         fx_tcbit in place of fx_plt.
2171         * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Define.
2172         * doc/internals.texi (TC_FORCE_RELOCATION_LOCAL): Remove reference
2173         to fx_plt.
2175 2007-01-30  Nick Clifton  <nickc@redhat.com>
2177         * as.c (main): Mark symbols created via the --defsym command line
2178         option as volatile so that they can be overridden later on by a
2179         .set directive.  This maintains compatibility with the behaviour
2180         of earlier versions of the assembler.
2181         * doc/as.texinfo (--defsym): Document that the defined symbol's
2182         value can be overridden via a .set directive.
2184 2007-01-28  H.J. Lu  <hongjiu.lu@intel.com>
2186         * config/tc-i386.c (swap_imm_operands): Renamed to ...
2187         (swap_2_operands): This.  Take 2 ints.
2188         (md_assemble): Updated.
2189         (swap_operands): Call swap_2_operands to swap 2 operands.
2191 2007-01-24  DJ Delorie  <dj@redhat.com>
2193         * config/tc-m32c.c (md_pseudo_table): Add .3byte.
2195 2007-01-22  Nick Clifton  <nickc@redhat.com>
2197         PR gas/3871
2198         * tc-score.c: Remove unnecessary uses of _().
2199         Make the err_msg[] a file level local array in order to save
2200         storage space.
2201         Remove unnecessary sprintf()s.
2203 2007-01-18  Mei Ligang  <ligang@sunnorth.com.cn>
2205         PR gas/3871
2206         * config/tc-score.c : Using _() for const string.
2207         Do not assign inst.error with a local string pointer.
2208         (md_section_align): Pad section.
2209         
2210 2007-01-13  H.J. Lu  <hongjiu.lu@intel.com>
2212         * config/tc-i386.c (build_modrm_byte): Check number of operands
2213         when procssing memory/register operand.
2215 2007-01-12  Nick Clifton  <nickc@redhat.com>
2217         PR gas/3856
2218         * macro.c (expand_irp): Do not ignore spaces inside quoted
2219         strings.
2221 2007-01-12  Alan Modra  <amodra@bigpond.net.au>
2223         * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
2224         * config/tc-m32r.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
2225         * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
2226         (TC_FORCE_RELOCATION): Define.
2227         (TC_FORCE_RELOCATION_LOCAL): Define.
2228         * config/tc-mn10300.c (mn10300_fix_adjustable): Adjust.
2230 2007-01-12  Alan Modra  <amodra@bigpond.net.au>
2232         * input-file.c (input_file_open): Check fgets return.
2234 2007-01-11  Paul Brook  <paul@codesourcery.com>
2236         * config/tc-arm.c (do_t_add_sub): Use Rd and Rs.
2238 2007-01-11  Nick Clifton  <nickc@redhat.com>
2240         PR gas/3707
2241         * config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt
2242         variable.
2244         * config/tc-mcore.c (md_number_to_chars): Use
2245         number_to_chars_{big|little}endian.
2247 2007-01-08  Kazu Hirata  <kazu@codesourcery.com>
2249         * config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an
2250         architecture by itself.
2251         (m68k_ip): Don't issue a warning for tbl instructions on fido.
2252         (m68k_elf_final_processing): Treat Fido as an architecture by
2253         itself.
2255 2007-01-08  Kai Tietz   <kai.tietz@onevision.com>
2257         * configure.tgt: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*
2259 2007-01-05  H.J. Lu  <hongjiu.lu@intel.com>
2261         * config/tc-i386.c (set_intel_syntax): Update set_intel_syntax
2262         depending on allow_naked_reg.
2264 2007-01-04  Paul Brook  <paul@codesourcery.com>
2266         * config/tc-arm.c (do_cpsi): Set mmod bit for 2 argument form.
2268 2007-01-04  H.J. Lu  <hongjiu.lu@intel.com>
2270         PR gas/3830
2271         * config/tc-i386.c (register_prefix): New.
2272         (set_intel_syntax): Set set_intel_syntax to "" if register
2273         prefix isn't needed.
2274         (check_byte_reg): Use register_prefix for error message.
2275         (check_long_reg): Likewise.
2276         (check_qword_reg): Likewise.
2277         (check_word_reg): Likewise.
2279 2007-01-04  Julian Brown  <julian@codesourcery.com>
2281         * config/tc-arm.c (do_neon_shl_imm): Swap rN, rM.
2282         (do_neon_qshl_imm): Likewise.
2283         (do_neon_rshl): New function. Handle rounding variants of
2284         v{q}shl-by-register.
2285         (insns): Use do_neon_rshl for vrshl, vqrshl.
2287 2007-01-04  Paul Brook  <paul@codesourcery.com>
2289         * config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt
2290         and vacle.
2292 2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>
2294         * config/tc-i386.c (swap_operands): Remove branches.
2296 2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>
2298         * config/tc-i386.c: Update copyright year.
2299         * config/tc-i386.h: Likewise.
2301 2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>
2303         * config/tc-i386.c (smallest_imm_type): Return unsigned int
2304         instead of int.
2306 2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>
2308         * config/tc-i386.c: Convert to ISO C90 formatting
2309         * config/tc-i386.h: Likewise.
2311 2007-01-03  David Daney  <ddaney@avtrex.com>
2313         * config/tc-mips.c (md_show_usage):  Clean up -mno-shared
2314         documentation.
2316 For older changes see ChangeLog-2006
2318 Local Variables:
2319 mode: change-log
2320 left-margin: 8
2321 fill-column: 74
2322 version-control: never
2323 End: