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