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