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