daily update
[binutils.git] / gas / ChangeLog
blob96abc6fadca9079759677179611b4e31b647e8d7
1 2007-04-04  Kazu Hirata  <kazu@codesourcery.com>
3         * config/tc-m68k.c (HAVE_LONG_BRANCH): Add fido_a.
5 2007-04-04  Paul Brook  <paul@codesourcery.com>
7         * config/tc-arm.c (do_neon_ext): Enforce immediate range.
8         (insns): Use I15 for vext.
10 2007-04-04  Paul Brook  <paul@codesourcery.com>
12         * configure.tgt: Loosen checks for arm uclinux eabi targets.
14 2007-04-02  Sterling Augustine  <sterling@tensilica.com>
16         * config/tc-xtensa.c (xtensa_flush_pending_output): Check
17         outputting_stabs_line_debug.
19 2007-03-26  Anatoly Sokolov <aesok@post.ru>
21         * config/tc-avr.c (mcu_types): Add support for at90pwm1, at90usb82,
22         at90usb162, atmega325p, atmega329p, atmega3250p and atmega3290p
23         devices.
24         * doc/c-avr.texi: Document new devices.
26 2007-04-02  Richard Sandiford  <richard@codesourcery.com>
28         * doc/as.texinfo: Add -mvxworks-pic to the list of MIPS options.
29         * doc/c-mips.texi (-KPIC, -mvxworks-pic): Document.
30         * config/tc-mips.c (md_show_usage): Mention -mvxworks-pic.
32 2007-03-30  Sterling Augustine  <sterling@tensilica.com>
33             Bob Wilson  <bob.wilson@acm.org>
35         * config/tc-xtensa.c (xtensa_move_labels): Remove loops_ok argument.
36         Do not check is_loop_target flag.
37         (xtensa_frob_label): Adjust calls to xtensa_move_labels.
38         (xg_assemble_vliw_tokens): Likewise.  Also avoid calling
39         xtensa_move_labels for alignment of loop opcodes.
40         
41 2007-03-30  H.J. Lu  <hongjiu.lu@intel.com>
43         * config/tc-i386.c (process_suffix): Reindent a bit.
45 2007-03-30  Paul Brook  <paul@codesourcery.com>
47         * config/tc-arm.c (encode_thumb2_ldmstm): New function.
48         (do_t_ldmstm): Generate 16-bit push/pop.  Use encode_thumb2_ldmstm.
49         (do_t_push_pop):  Use encode_thumb2_ldmstm.
51 2007-03-29  DJ Delorie  <dj@redhat.com>
53         * config/tc-m32c.c (rl_for, relaxable): Protect argument.
54         (md_relax_table): Add entries for ADJNZ macros.
55         (M32C_Macros): Add ADJNZ macros.
56         (subtype_mappings): Add entries for ADJNZ macros.
57         (insn_to_subtype): Check for adjnz and sbjnz insns.
58         (md_estimate_size_before_relax): Pass insn to insn_to_subtype.
59         (md_convert_frag): Convert adjnz and sbjnz.
61 2007-03-29  Nick Clifton  <nickc@redhat.com>
63         * itbl-ops.c (itbl_entry): Remove unnecessary and excessively long
64         initialization.
65         * itbl-ops.h (enum e_processor): Initialise the e_nprocs field
66         using ITBL_NUMBER_OF_PROCESSORS.
67         * itbl-parse.y (yyerror): Remove use of redundant macro PARAMS.
69 2007-03-28  H.J. Lu  <hongjiu.lu@intel.com>
71         * config/tc-i386.c (build_modrm_byte): For instructions with 2
72         register operands, encode destination in i.rm.regmem if its
73         RegMem bit is set.
75 2007-03-28  Richard Sandiford  <richard@codesourcery.com>
76             Phil Edwards  <phil@codesourcery.com>
78         * doc/as.texinfo: Put the contents after the title page rather
79         than at the end of the document.
81 2007-03-27  Alan Modra  <amodra@bigpond.net.au>
83         * NEWS: Mention ".reloc".
85 2007-03-26  Sterling Augustine  <sterling@tensilica.com>
86         
87         * config/tc-xtensa.c (xg_translate_idioms): Allow assembly idioms
88         in FLIX instructions.
89         
90 2007-03-26  Julian Brown  <julian@codesourcery.com>
92         * config/tc-arm.c (arm_it): Add immisfloat field.
93         (parse_qfloat_immediate): Disallow integer syntax for floating-point
94         immediates. Fix hex immediates, handle 0.0 and -0.0 specially.
95         (parse_neon_mov): Set immisfloat bit for operand if it parsed as a
96         float.
97         (neon_cmode_for_move_imm): Reject non-float immediates for float
98         operands.
99         (neon_move_immediate): Pass immisfloat bit to neon_cmode_for_move_imm.
101 2007-03-26  Julian Brown  <julian@codesourcery.com>
103         * doc/c-arm.texi: Add documentation for .dn/.qn directives.
105 2007-03-26  Alan Modra  <amodra@bigpond.net.au>
107         * doc/as.texinfo (Reloc): Document.
108         * read.c (potable): Add "reloc".
109         (s_reloc): New function.
110         * write.c (reloc_list): New global var.
111         (resolve_reloc_expr_symbols): New function.
112         (write_object_file): Call it.
113         (write_relocs): Process reloc_list.
114         * write.h (struct reloc_list): New.
115         (reloc_list): Declare.
117 2007-03-24  Paul Brook  <paul@codesourcery.com>
119         * config/tc-arm.c (do_t_ldmstm): Error on Thumb-2 addressing modes.
121 2007-03-24  Paul Brook  <paul@codesourcery.com>
122         Mark Shinwell  <shinwell@codesourcery.com>
124         * config/tc-arm.c (operand_parse_code): Add OP_oRRw.
125         (parse_operands): Don't expect comma if first operand missing.
126         Handle OP_oRRw.
127         (do_srs): Encode register number, checking it is r13.  Update comment.
128         (insns): Update SRS entries to take a register.
130 2007-03-23  H.J. Lu  <hongjiu.lu@intel.com>
132         * config/tc-i386.c (md_begin): Allow '.' in mnemonic.
134 2007-03-23  Mark Shinwell  <shinwell@codesourcery.com>
136         * config/tc-arm.c (md_apply_fix): Turn CBZ instructions that
137         attempt to jump to the next instruction into NOPs.
139 2007-03-23  Alan Modra  <amodra@bigpond.net.au>
141         * config/tc-spu.c: Don't include opcode/spu.h.
142         (md_assemble): Set tc_fix_data.insn_tag and arg_format.
143         (md_apply_fix): Adjust.
144         * config/tc-spu.h: Include opcode/spu.h.
145         (struct tc_fix_info): New.
146         (TC_FIX_TYPE, TC_INIT_FIX_DATA): Adjust.
147         (TC_FORCE_RELOCATION): Define.
149 2007-03-22  Joseph Myers  <joseph@codesourcery.com>
151         * doc/as.texinfo: Include VERSION_PACKAGE when reporting version.
153 2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
155         * config/tc-i386.c (process_suffix): Check 0x90 instead of
156         xchg for xchg %rax,%rax.
158 2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
160         * config/tc-i386.c: Replace REX_MODE64, REX_EXTX, REX_EXTY
161         and REX_EXTZ with REX_W, REX_R, REX_X and REX_B respectively.
163 2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
165         PR binutils/4218
166         * config/tc-i386.c (match_template): Properly handle 64bit mode
167         "xchg %eax, %eax".
169 2007-03-21  Anton Ertl  <anton@mips.complang.tuw>
171         PR gas/4124
172         * config/tc-alpha.c (emit_ustX): Fix ustq code generation.
174 2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
176         * Makefile.am: Run dep-am.
177         * Makefile.in: Regenerated.
179         * config/tc-i386.c: Don't include "opcodes/i386-opc.h".
181         * config/tc-i386.h: Include "opcodes/i386-opc.h".
182         (NOP_OPCODE): Removed.
183         (template): Likewise.
185 2007-03-21  Andreas Schwab  <schwab@suse.de>
187         * config/tc-i386.h (NOP_OPCODE): Restore.
189 2007-03-18  Mark Shinwell  <shinwell@codesourcery.com>
191         * config/tc-arm.c (do_mul): Don't warn about overlapping
192         Rd and Rm operands when assembling for v6 or above.
193         Correctly capitalize register names in the messages.
194         (do_mlas): Likewise.  Delete spurious blank line.
196 2007-03-16  Kazu Hirata  <kazu@codesourcery.com>
198         * config/tc-m68k.c (m68k_cpus): Add an entry for fidoa.
200 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
202         * config/tc-i386.c (md_begin): Use i386_regtab_size to scan 
203         i386_regtab.
204         (parse_register): Use i386_regtab_size instead of ARRAY_SIZE
205         on i386_regtab.
207 2007-03-15  Alexandre Oliva  <aoliva@redhat.com>
209         PR gas/4184
210         * app.c (do_scrub_chars): PUT after setting states.
212 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
214         * Makefile.am: Run "make dep-am".
215         * Makefile.in: Regenerated.
217         * config/tc-i386.c: Include "opcodes/i386-opc.h" instead of
218         "opcode/i386.h".
219         (md_begin): Check reg_name != NULL for the last entry in
220         i386_regtab.
222         * config/tc-i386.h: Move many entries to opcode/i386.h and
223         opcodes/i386-opc.h.
225         * configure.in (need_opcodes): Set true for i386.
226         * configure: Regenerated.
228 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
230         * Makefile.am (REPORT_BUGS_TO): Removed.
231         (INCLUDES): Remove -DREPORT_BUGS_TO.
232         * Makefile.in: Regenerated.
234         * configure.in (--with-bugurl): Removed.
235         * configure: Regenerated.
237         * doc/Makefile.am (as_TEXINFOS): Remove gasver.texi.
238         (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
239         (TEXI2DVI): Likewise.
240         (gasver.texi): Removed.
241         (MOSTLYCLEANFILES): Remove gasver.texi.
242         (as.1): Don't depend on gasver.texi.
243         * doc/Makefile.in: Regenerated.
245         * doc/as.texi: Include bfdver.texi instead of gasver.texi.
247 2007-03-14  Daniel Jacobowitz  <dan@codesourcery.com>
249         * config/tc-arm.c (arm_copy_symbol_attributes): New.
250         * config/tc-arm.h (arm_copy_symbol_attributes): Declare.
251         (TC_COPY_SYMBOL_ATTRIBUTES): Define.
252         * gas/symbols.c (copy_symbol_attributes): Use
253         TC_COPY_SYMBOL_ATTRIBUTES.
255 2007-03-14  Paul Brook  <paul@codesourcery.com>
257         * config/tc-arm.c (T16_32_TAB): Fix dec_sp encoding.
259 2007-03-14  Alan Modra  <amodra@bigpond.net.au>
261         PR 4029
262         * write.c (relax_segment): Insert extra alignment padding
263         to break infinite relax loop when given impossible
264         gcc_except_table assembly.
266 2007-03-12  H.J. Lu  <hongjiu.lu@intel.com>
268         * config/tc-i386.c (md_assemble): Use Opcode_XXX instead of XXX
269         on i.tm.base_opcode.
270         (match_template): Likewise.
271         (process_operands): Use ~0x3 mask to match MOV_AX_DISP32.
273         * config/tc-i386.h (Opcode_D): New.
274         (Opcode_FloatR): Likewise.
275         (Opcode_FloatD): Likewise.
276         (D): Redefined.
277         (W): Likewise.
278         (FloatMF): Likewise.
279         (FloatR): Likewise.
280         (FloatD): Likewise.
282 2007-03-09  Alexandre Oliva  <aoliva@redhat.com>
284         * app.c (do_scrub_chars): Recognize comments after # line "file".
285         * read.c (get_linefile_number): New.
286         (s_app_line): Accept ill-formed .linefile lines as comments.
288 2007-03-09  Alan Modra  <amodra@bigpond.net.au>
290         * config/tc-i386.h (WORKING_DOT_WORD): Define.
292 2007-03-09  Alexandre Oliva  <aoliva@redhat.com>
294         * app.c (do_scrub_chars): Turn #<line>"file"flags into .linefile.
295         * as.h (new_logical_line_flags): New.
296         * input-scrub.c (new_logical_line): Turned into wrapper for...
297         (new_logical_line_flags): this.  Handle flags.
298         * read.c (potable): Add linefile.  Adjust appline argument.
299         (s_app_file): Fake .appfiles no more.
300         (s_app_line): For .linefile, accept file name and flags.
302 2007-03-08  Alan Modra  <amodra@bigpond.net.au>
304         * symbols.c (symbol_relc_make_sym): Comment typo fixes.
306 2007-03-08  Alan Modra  <amodra@bigpond.net.au>
308         * Makefile.am: Run "make dep-am".
309         * Makefile.in: Regenerate.
310         * po/POTFILES.in: Regenerate.
312 2007-03-07  Joseph Myers  <joseph@codesourcery.com>
314         * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
315         bug-reporting URL.
316         * doc/Makefile.am (gasver.texi): Define BUGURL.
317         * doc/as.texinfo: Use BUGURL.
318         * Makefile.in, configure, doc/Makefile.in: Regenerate.
320 2007-03-06  Andreas Krebbel  <krebbel1@de.ibm.com>
322         * config/tc-s390.c (md_parse_option): z9-ec option added.
324 2007-03-02  Paul Brook  <paul@codesourcery.com>
326         * config/tc-arm.c (relax_immediate): Always return positive values.
327         (relaxed_symbol_addr): New function.
328         (relax_adr, relax_branch): Use it.
329         (arm_relax_frag): Pass strect argument.  Adjust infinite loop check.
331 2007-03-01  Joseph Myers  <joseph@codesourcery.com>
333         * as.c (parse_args): Update copyright date.
335 2007-02-28  Nathan Sidwell  <nathan@codesourcery.com>
337         * configure.tgt (sh-*-uclinux, sh[12]-*-uclinux): Specify as elf.
339 2007-02-28  Nick Clifton  <nickc@redhat.com>
341         PR gas/3797
342         * config/tc-d10v.c (do_assemble): Do not generate error messages,
343         just return -1 whenever a problem is encountered.
344         (md_assemble): If do_assemble returns -1 generate a non-fatal
345         error message and return.
347         PR gas/2623
348         * config/tc-msp430.c (line_separator_char): Change to '{'.
350 2007-02-27  Alan Modra  <amodra@bigpond.net.au>
352         * config/tc-m68hc11.c (fixup24): Correct fixup size.
353         (build_jump_insn): Likewise.
354         (build_insn): Likewise.
355         (s_m68hc11_relax): Likewise.
357 2007-02-27  Alan Modra  <amodra@bigpond.net.au>
359         * config/obj-elf.c (elf_frob_file): frag_wane any new frags.
361 2007-02-25  Mark Shinwell  <shinwell@codesourcery.com>
363         * config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad.
365 2007-02-23  Alan Modra  <amodra@bigpond.net.au>
367         * config/tc-mn10300.c (md_convert_frag): Correct fixup size.
368         (md_assemble): Likewise.
370 2007-02-22  Alan Modra  <amodra@bigpond.net.au>
372         * write.c (size_seg): Always clear SEC_RELOC here.
373         (install_reloc): New function, extracted from..
374         (write_relocs): ..here.  Combine RELOC_EXPANSION_POSSIBLE code
375         with !RELOC_EXPANSION_POSSIBLE code.  Don't add fr_offset when
376         testing frag size.  Set SEC_RELOC here.
378 2007-02-21  Alan Modra  <amodra@bigpond.net.au>
380         PR 4082
381         * config/tc-avr.h (TC_FX_SIZE_SLACK): Define.
383 2007-02-20  Thiemo Seufer  <ths@mips.com>
385         * doc/c-mips.texi: Document 74kc, 74kf, 74kx.
387 2007-02-20  Thiemo Seufer  <ths@mips.com>
389         * config/tc-mips.c (mips_cpu_info_table): Add 74K configurations.
391 2007-02-20  Thiemo Seufer  <ths@mips.com>
392             Chao-Ying Fu  <fu@mips.com>
394         * config/tc-mips.c (mips_set_options, mips_opts, file_ase_dspr2,
395         ISA_SUPPORTS_DSPR2_ASE, MIPS_CPU_ASE_DSPR2): Add DSP R2 ASE support.
396         (macro_build): Add case '2'.
397         (macro): Expand M_BALIGN to nop, packrl.ph or balign.
398         (validate_mips_insn): Add support for balign instruction.
399         (mips_ip): Handle DSP R2 instructions. Support balign instruction.
400         (OPTION_DSPR2, OPTION_NO_DSPR2, OPTION_COMPAT_ARCH_BASE,
401         md_parse_option, mips_after_parse_args): Add -mdspr2 and -mno-dspr2
402         command line options.
403         (s_mipsset): Add support for .set dspr2 and .set nodspr2 directives.
404         (md_show_usage): Add -mdspr2 and -mno-dspr2 help output.
405         * doc/c-mips.texi, doc/as.texinfo: Document -mdspr2, -mno-dspr2,
406         .set dspr2, .set nodspr2.
408 2007-02-20  Nathan Sidwell  <nathan@codesourcery.com>
410         * config/tc-m68k.c (mcf5210a_ctrl, mcf52235_ctrl, mcf5225_ctrl): New.
411         (m68k_cpus): Add 5210a..5211a, 52230..52235 5224..5225.
413 2007-02-18  Alan Modra  <amodra@bigpond.net.au>
415         * write.c (TC_FX_SIZE_SLACK): Define.
416         (write_relocs): Reinstate check for fixup within frag.
417         * config/tc-bfin.h (TC_FX_SIZE_SLACK): Define.
418         * config/tc-h8300.h (TC_FX_SIZE_SLACK): Define.
419         * config/tc-mmix.h (TC_FX_SIZE_SLACK): Define.
420         * config/tc-sh.h (TC_FX_SIZE_SLACK): Define.
421         * config/tc-xstormy16.h (TC_FX_SIZE_SLACK): Define.
423 2007-02-17  Mark Mitchell  <mark@codesourcery.com>
424             Nathan Sidwell  <nathan@codesourcery.com>
425             Vladimir Prus  <vladimir@codesourcery.com
426             Joseph Myers  <joseph@codesourcery.com>
428         * configure.in (--with-bugurl): New option.
429         * configure: Regenerate.
430         * dep-in.sed: Remove bin-bugs.h.
431         * Makefile.am (REPORT_BUGS_TO): Define.
432         (INCLUDES): Define REPORT_BUGS_TO.
433         (DEP_INCLUDES): Likewise.
434         ($(OBJS)): No longer depend on bin-bugs.h.
435         * Makefile.in: Regenerate.
436         * doc/Makefile.in: Regenerate.
437         * as.c (show_usage): Don't print empty REPORT_BUGS_TO.
438         * as.h: Remove include of bin-bugs.h.
440 2007-02-17  Alan Modra  <amodra@bigpond.net.au>
442         * write.c: White space fixes.
443         (fixup_segment): Move symbol_mri_common_p adjustments..
444         (write_relocs): ..and symbol_equated_reloc_p adjustments..
445         (adjust_reloc_syms): ..to here.
447 2007-02-16  Alan Modra  <amodra@bigpond.net.au>
449         * subsegs.c (subseg_change, subseg_get): Use xcalloc rather than
450         xmalloc, memset.  Don't bother assigning NULL to known zero mem.
451         (subseg_set_rest): Remove unnecessary cast.
452         * write.c: Include libbfd.h.  Replace PTR with void * throughout.
453         Remove unnecessary forward declarations and casts.
454         (set_symtab): Delete extern bfd_alloc.
455         (fixup_segment): Move.
457 2007-02-15  Nathan Sidwell  <nathan@codesourcery.com>
459         * config/m68k-parse.h (m68k_register): Add ROMBAR0, ASID.
460         * config/tc-m68k.c (mcfv4e_ctrl): Add ColdFire specific names.
461         (mcf5475_ctrl, mcf5485_ctrl): New.
462         (m68k_cpus): Use mcf5485_ctrl and mcf5485_ctrl for those families.
463         (m68k_ip): Add ASID, MMUBAR, ROMBAR0 handling.
464         (init_table): Add asid, mmubar, adjust rombar0.
466 2007-02-14  Alan Modra  <amodra@bigpond.net.au>
468         * config/tc-i386.h (Seg2ShortForm, Seg3ShortForm): Delete.
469         * config/tc-i386.c: Wrap overly long lines, whitespace fixes.
470         (process_operands): Move old Seg2ShortForm and Seg3ShortForm
471         code, and test for these insns using a combination of
472         opcode_modifier and operand_types.
474 2007-02-07  Paul Brook  <paul@codesourcery.com>
476         * configure.tgt: Add arm*-*-uclinux-*eabi.
478 2007-02-05  Dave Brolley  <brolley@redhat.com>
479             Richard Sandiford  <rsandifo@redhat.com>
480             DJ Delorie  <dj@redhat.com>
481             Stan Cox  <scox@redhat.com>
482             Jim Blandy  <jimb@redhat.com>
483             Nick Clifton  <nickc@redhat.com>
484             Jim Wilson  <wilson@redhat.com>
485             Frank Ch. Eigler  <fche@redhat.com>
486             Graydon Hoare  <graydon@redhat.com>
487             Ben Elliston  <bje@redhat.com>
488             John Healy  <jhealy@redhat.com>
489             Richard Henderson  <rth@redhat.com>
491         * Makefile.am (CPU_TYPES): Add mep.
492         (TARGET_CPU_CFILES): Add tc-mep.c.
493         (TARGET_CPU_HFILES): Add tc-mep.h.
494         (DEPTC_mep_elf): New variable.
495         (DEPTC_mep_coff): Likewise.
496         (DEPOBJ_mep_coff, DEPOBJ_mep_elf, DEP_mep_coff, DEP_mep_elf): Likewise.
497         * configure.in: Support mep.
498         * configure.tgt: Likewise.
499         * config/tc-mep.c: New file.
500         * config/obj-elf.c: New file.
501         * config/tc-mep.c: New file.
502         * config/tc-mep.h: New file.
503         * testsuite/gas/mep: New testsuite with content.
504         * Makefile.in: Regenerate.
505         * configure: Regenerate.
507 2007-02-05  Dave Brolley  <brolley@redhat.com>
509         * cgen.c (gas_cgen_install_complex_reloc): Removed.
510         (complex_reloc_installation_howto): Removed.
512 2007-02-05  Dave Brolley  <brolley@redhat.com>
513             Graydon Hoare  <graydon@redhat.com>
514             DJ Delorie  <dj@redhat.com>
515             Catherine Moore  <clm@redhat.com>
516             Michael Chastain  <chastain@redhat.com>
517             Frank Ch. Eigler  <fche@redhat.com>
519         * symbols.c (use_complex_relocs_for): New, to decide
520         when to use complex relocs. Add signed RELC support.
521         (resolve_symbol_value): Call use_complex_relocs_for. Unconditionally
522         encode expression symbols as mangled complex relocation symbols (when
523         compiled with -DOBJ_COMPLEX_RELOC).
524         (symbol_relc_make_sym,value,expr): New traversal/conversion routines.
525         * cgen.c (gas_cgen_md_apply_fix3):  Only set signed_p if RELC. Call
526         encode_addend with new args. Modify to get start, length from
527         ifield whenever it is set. Also change condition on which
528         self-describing relocs are encoded. Add hook into
529         gas_cgen_encode_addend.
530         (queue_fixup_recursively): Add signed RELC support. Change from masked
531         expr to trunc flag. Restore assignment of sub-field value to
532         temporary in fixups array. Reflect changed meaning of last arg to
533         queue_fixup_recursively.
534         (fixup): Add cgen_maybe_multi_ifield member.
535         (make_right_shifted_expr): New function.
536         (queue_fixup): Change to recursive function that fragments
537         fixups if operand has a multi-ifield.
538         (gas_cgen_parse_operand): Add RELC code to wrap expressions in
539         symbols, call weak_operand_overflow_check, and fragment call
540         queue_fixup with operand fields.
541         (gas_cgen_finish_insn) Modify to manage ifield pointer.
542         (weak_operand_overflow_check): New function to try to select
543         insns correctly.
544         (gas_cgen_encode_addend): New function for relc.
545         (gas_cgen_install_complex_reloc): Likewise.
546         (gas_cgen_tc_gen_reloc): Add hook into gas_cgen_install_complex_reloc.
547         * write.h (struct fix): Add msb_field_p to fx_cgen sub-struct. Add
548         cgen_maybe_multi_ifield field to fx_cgen substructure.
549         * cgen.h (GAS_CGEN_MAX_FIXUPS): Bump from 3 up to 32.
550         * symbols.h (symbol_relc_make_sym,value,expr): New prototypes.
551         
552 2007-02-03  DJ Delorie  <dj@delorie.com>
554         * config/tc-m32c.c (m32c_cons_fix_new): New.  Added to support 3
555         byte relocs.
556         * config/tc-m32c.h (TC_CONS_FIX_NEW): Define.
557         (m32c_cons_fix_new): Prototype.
559 2007-02-02  Bob Wilson  <bob.wilson@acm.org>
560         
561         * config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init.
562         (xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise.
563         
564 2007-02-02  Bob Wilson  <bob.wilson@acm.org>
566         * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.
567         (xtensa_elf_suffix): Use suffix_relocs instead of local mapping table.
568         (map_suffix_reloc_to_operator): New.
569         (map_operator_to_reloc): New.
570         (expression_maybe_register): Fix incorrect test of return value from
571         xtensa_elf_suffix.  Rearrange to use map_suffix_reloc_to_operator.
572         (xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc.
574 2007-02-02  Bob Wilson  <bob.wilson@acm.org>
576         * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field.
577         (tinsn_get_tok): Delete prototype.
578         * config/tc-xtensa.c (tinsn_get_tok): Delete.
579         
580 2007-02-02  Bob Wilson  <bob.wilson@acm.org>
582         * config/xtensa-relax.h (struct build_instr): Delete id field.
583         * config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL
584         and LABEL tokens.
585         (append_literal_op, append_label_op): Remove litnum/labnum arguments;
586         set op_data fields to zero.
587         (parse_id_constant): Delete.
588         (build_transition): Remove code to handle numbered literals and labels.
590 2007-02-02  Bob Wilson  <bob.wilson@acm.org>
592         * config/xtensa-relax.c (build_transition): Remove code after as_fatal.
593         (build_transition_table): Likewise.
595 2007-02-01  Bob Wilson  <bob.wilson@acm.org>
597         * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of
598         fx_tcbit.
599         * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove.
601 2007-02-02  Alan Modra  <amodra@bigpond.net.au>
603         * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move.
604         (struct fix <fx_plt>): Rename to tcbit2.
605         * write.c (fix_new_internal): Adjust.
606         (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
607         * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
608         * config/tc-cris.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
609         * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
610         * config/tc-i960.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
611         * config/tc-sh.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
612         * config/tc-sh64.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
613         * config/tc-sparc.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
614         * config/tc-msp430.c (msp430_force_relocation_local): Likewise.
615         * config/tc-ia64.c (emit_one_bundle): Don't set fx_plt.
616         * config/tc-ia64.h (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
617         Instead, compare fx_r_type.
618         * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Use
619         fx_tcbit in place of fx_plt.
620         * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Define.
621         * doc/internals.texi (TC_FORCE_RELOCATION_LOCAL): Remove reference
622         to fx_plt.
624 2007-01-30  Nick Clifton  <nickc@redhat.com>
626         * as.c (main): Mark symbols created via the --defsym command line
627         option as volatile so that they can be overridden later on by a
628         .set directive.  This maintains compatibility with the behaviour
629         of earlier versions of the assembler.
630         * doc/as.texinfo (--defsym): Document that the defined symbol's
631         value can be overridden via a .set directive.
633 2007-01-28  H.J. Lu  <hongjiu.lu@intel.com>
635         * config/tc-i386.c (swap_imm_operands): Renamed to ...
636         (swap_2_operands): This.  Take 2 ints.
637         (md_assemble): Updated.
638         (swap_operands): Call swap_2_operands to swap 2 operands.
640 2007-01-24  DJ Delorie  <dj@redhat.com>
642         * config/tc-m32c.c (md_pseudo_table): Add .3byte.
644 2007-01-22  Nick Clifton  <nickc@redhat.com>
646         PR gas/3871
647         * tc-score.c: Remove unnecessary uses of _().
648         Make the err_msg[] a file level local array in order to save
649         storage space.
650         Remove unnecessary sprintf()s.
652 2007-01-18  Mei Ligang  <ligang@sunnorth.com.cn>
654         PR gas/3871
655         * config/tc-score.c : Using _() for const string.
656         Do not assign inst.error with a local string pointer.
657         (md_section_align): Pad section.
658         
659 2007-01-13  H.J. Lu  <hongjiu.lu@intel.com>
661         * config/tc-i386.c (build_modrm_byte): Check number of operands
662         when procssing memory/register operand.
664 2007-01-12  Nick Clifton  <nickc@redhat.com>
666         PR gas/3856
667         * macro.c (expand_irp): Do not ignore spaces inside quoted
668         strings.
670 2007-01-12  Alan Modra  <amodra@bigpond.net.au>
672         * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
673         * config/tc-m32r.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
674         * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
675         (TC_FORCE_RELOCATION): Define.
676         (TC_FORCE_RELOCATION_LOCAL): Define.
677         * config/tc-mn10300.c (mn10300_fix_adjustable): Adjust.
679 2007-01-12  Alan Modra  <amodra@bigpond.net.au>
681         * input-file.c (input_file_open): Check fgets return.
683 2007-01-11  Paul Brook  <paul@codesourcery.com>
685         * config/tc-arm.c (do_t_add_sub): Use Rd and Rs.
687 2007-01-11  Nick Clifton  <nickc@redhat.com>
689         PR gas/3707
690         * config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt
691         variable.
693         * config/tc-mcore.c (md_number_to_chars): Use
694         number_to_chars_{big|little}endian.
696 2007-01-08  Kazu Hirata  <kazu@codesourcery.com>
698         * config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an
699         architecture by itself.
700         (m68k_ip): Don't issue a warning for tbl instructions on fido.
701         (m68k_elf_final_processing): Treat Fido as an architecture by
702         itself.
704 2007-01-08  Kai Tietz   <kai.tietz@onevision.com>
706         * configure.tgt: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*
708 2007-01-05  H.J. Lu  <hongjiu.lu@intel.com>
710         * config/tc-i386.c (set_intel_syntax): Update set_intel_syntax
711         depending on allow_naked_reg.
713 2007-01-04  Paul Brook  <paul@codesourcery.com>
715         * config/tc-arm.c (do_cpsi): Set mmod bit for 2 argument form.
717 2007-01-04  H.J. Lu  <hongjiu.lu@intel.com>
719         PR gas/3830
720         * config/tc-i386.c (register_prefix): New.
721         (set_intel_syntax): Set set_intel_syntax to "" if register
722         prefix isn't needed.
723         (check_byte_reg): Use register_prefix for error message.
724         (check_long_reg): Likewise.
725         (check_qword_reg): Likewise.
726         (check_word_reg): Likewise.
728 2006-01-04  Julian Brown  <julian@codesourcery.com>
730         * config/tc-arm.c (do_neon_shl_imm): Swap rN, rM.
731         (do_neon_qshl_imm): Likewise.
732         (do_neon_rshl): New function. Handle rounding variants of
733         v{q}shl-by-register.
734         (insns): Use do_neon_rshl for vrshl, vqrshl.
736 2007-01-04  Paul Brook  <paul@codesourcery.com>
738         * config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt
739         and vacle.
741 2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>
743         * config/tc-i386.c (swap_operands): Remove branches.
745 2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>
747         * config/tc-i386.c: Update copyright year.
748         * config/tc-i386.h: Likewise.
750 2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>
752         * config/tc-i386.c (smallest_imm_type): Return unsigned int
753         instead of int.
755 2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>
757         * config/tc-i386.c: Convert to ISO C90 formatting
758         * config/tc-i386.h: Likewise.
760 2007-01-03  David Daney  <ddaney@avtrex.com>
762         * config/tc-mips.c (md_show_usage):  Clean up -mno-shared
763         documentation.
765 For older changes see ChangeLog-2006
767 Local Variables:
768 mode: change-log
769 left-margin: 8
770 fill-column: 74
771 version-control: never
772 End: