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