OSDN Git Service

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