1 2007-04-22 Alan Modra <amodra@bigpond.net.au>
3 * read.c (read_a_source_file): Skip multiple spaces to
4 cover hack in mmix md_start_line_hook which overwrites a
5 colon with a space. Delete sermon and needless assertion.
7 2007-04-21 Alan Modra <amodra@bigpond.net.au>
9 * config/atof-vax.c (atof_vax_sizeof): Change return type to unsigned.
10 (md_atof): Make number_of_chars unsigned. Revert last change.
11 * config/tc-or32.c (md_apply_fix): Delete bogus assertions.
12 * config/tc-sh.c (sh_optimize_expr): Only define for OBJ_ELF.
13 * config/tc-sh.h (md_optimize_expr): Likewise.
14 * config/tc-sh64.c (shmedia_md_pcrel_from_section): Delete bogus
16 * config/tc-xtensa.c (convert_frag_immed_finish_loop): Likewise.
18 2007-04-21 Nick Clifton <nickc@redhat.com>
20 * config/atof-vax.c (md_atof): Fix comparison inside know().
22 * config/tc-ia64.c (emit_one_bundle): Fix typo.
24 2007-04-21 Alan Modra <amodra@bigpond.net.au>
26 * expr.c (expr): Assert on rankarg, not rank which can be unsigned.
27 * read.c (read_a_source_file): Remove buffer_limit[-1] assertion.
28 Don't skip over NUL char.
29 (pseudo_set): Set X_op for registers to O_register.
30 * symbols.c (symbol_clone): Remove assertion that sym is defined.
31 (resolve_symbol_value): Resolve O_register symbols.
32 * config/tc-i386.c (parse_real_register): Don't use i386_float_regtab.
33 Instead find st(0) by hash lookup.
34 * config/tc-ppc.c (ppc_macro): Warning fix.
36 * as.h (ENABLE_CHECKING): Default define to 0.
37 (know): Assert if ENABLE_CHECKING.
38 (struct relax_type): Remove superfluous declaration.
39 * configure.in (--enable-checking): New.
40 * configure: Regenerate.
41 * config.in: Regenerate.
42 * config/tc-ppc.c (ppc_setup_opcodes): Do checks when ENABLE_CHECKING.
43 Check for duplicate powerpc_operands entries.
45 2007-04-20 Nathan Sidwell <nathan@codesourcery.com>
47 * config/tc-m68k.c (mcf5253_ctrl): New.
49 (m68k_cpus): Add 5253, 52221, 52223.
51 * config/m68k-parse.h (RAMBAR_ALT): New.
52 * config/tc-m68k.c (mcf5206_ctrl, mcf5307_ctrl): New.
53 (mcf_ctrl, mcf5208_ctrl, mcf5210a_ctrl, mcf5213_ctrl, mcf52235_ctrl,
54 mcf5225_ctrl, mcf5235_ctrl, mcf5271_ctrl, mcf5275_ctrl,
55 mcf5282_ctrl, mcf5329_ctrl, mcf5373_ctrl, mcfv4e_ctrl,
56 mcf5475_ctrl, mcf5485_ctrl): Add RAMBAR synonym for
58 (mcf5272_ctrl): Add RAMBAR0, replace add RAMBAR with RAMBAR_ALT.
59 (m68k_cpus): Adjust 5206, 5206e & 5307 entries.
60 (m68k_ip) <Case J>: Detect when RAMBAR_ALT should be used. Add it
61 to control register mapping.
63 2007-04-20 Alan Modra <amodra@bigpond.net.au>
65 * messages.c (as_internal_value_out_of_range): Fix typo in
66 error message. Return after printing domain error.
67 * config/tc-ppc.c (ppc_insert_operand): Preserve low zero bits
68 in max when shifting right.
70 2007-04-20 Alan Modra <amodra@bigpond.net.au>
72 * messages.c (as_internal_value_out_of_range): Extend to report
73 errors for values with invalid low bits set.
74 * config/tc-ppc.c (ppc_setup_opcodes): Check powerpc_operands bitm
75 fields. Check that operands and opcode fields are disjoint.
76 (ppc_insert_operand): Check operands using mask rather than bit
77 count. Check low bits too. Handle PPC_OPERAND_PLUS1. Adjust
79 (md_apply_fix): Adjust for struct powerpc_operand change.
81 2007-04-19 Paul Brook <paul@codesourcery.com>
83 * config/tc-arm.c (md_assemble): Only allow 16-bit instructions on
84 Thumb-1. Add sanity check for bogus relaxations.
86 2007-04-19 Paul Brook <paul@codesourcery.com>
88 * config/tc-arm.c (insns): Allow rsb and rsbs on Thumb-1.
90 2007-04-19 Alan Modra <amodra@bigpond.net.au>
92 * Makefile.am: Run "make dep-am".
93 * Makefile.in: Regenerate.
95 2007-04-19 Nathan Froyd <froydnj@codesourcery.com>
97 * doc/c-ppc.texi (PowerPC-Opts): Document -me500, -me500x2, -mspe.
99 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
101 * doc/c-i386.texi; Document .ssse3, .sse4.1, .sse4.2 and .sse4.
103 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
105 * config/tc-i386.c (cpu_arch): Add .sse4.2 and .sse4.
106 (match_template): Handle operand size for crc32 in SSE4.2.
107 (process_suffix): Handle operand type for crc32 in SSE4.2.
108 (output_insn): Support SSE4.2.
110 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
112 * config/tc-i386.c (cpu_arch): Add .sse4.1.
113 (process_operands): Adjust implicit operand for blendvpd,
114 blendvps and pblendvb in SSE4.1.
115 (output_insn): Support SSE4.1.
117 2007-04-18 Paul Brook <paul@codesourcery.com>
119 * config/tc-arm.c (do_t_rsb): Use 16-bit encoding when possible.
121 2007-04-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
123 * config/tc-sh.c (sh_handle_align): Call as_bad_where instead
124 of as_warn_where for misaligned data.
126 2007-04-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
128 * config/tc-sh.c (align_test_frag_offset_fixed_p): Handle
131 2007-04-14 Steve Ellcey <sje@cup.hp.com>
133 * Makefile.am: Add ACLOCAL_AMFLAGS.
134 * Makefile.in: Regenerate.
136 2007-04-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
138 * config/tc-sh.c (align_test_frag_offset_fixed_p): New.
139 (sh_optimize_expr): Likewise.
140 * config/tc-sh.h (md_optimize_expr): Define.
141 (sh_optimize_expr): Prototype.
143 2007-04-06 Matt Thomas <matt@netbsd.org>
145 * config/tc-vax.c (vax_cons): Added to support %pcrel{8,16,32}(exp)
146 to emit pcrel relocations by DWARF2 in non-code sections. Borrowed
147 heavily from tc-sparc.c. (vax_cons_fix_new): Likewise.
149 2007-04-04 Kazu Hirata <kazu@codesourcery.com>
151 * config/tc-m68k.c (HAVE_LONG_BRANCH): Add fido_a.
153 2007-04-04 Paul Brook <paul@codesourcery.com>
155 * config/tc-arm.c (do_neon_ext): Enforce immediate range.
156 (insns): Use I15 for vext.
158 2007-04-04 Paul Brook <paul@codesourcery.com>
160 * configure.tgt: Loosen checks for arm uclinux eabi targets.
162 2007-04-02 Sterling Augustine <sterling@tensilica.com>
164 * config/tc-xtensa.c (xtensa_flush_pending_output): Check
165 outputting_stabs_line_debug.
167 2007-03-26 Anatoly Sokolov <aesok@post.ru>
169 * config/tc-avr.c (mcu_types): Add support for at90pwm1, at90usb82,
170 at90usb162, atmega325p, atmega329p, atmega3250p and atmega3290p
172 * doc/c-avr.texi: Document new devices.
174 2007-04-02 Richard Sandiford <richard@codesourcery.com>
176 * doc/as.texinfo: Add -mvxworks-pic to the list of MIPS options.
177 * doc/c-mips.texi (-KPIC, -mvxworks-pic): Document.
178 * config/tc-mips.c (md_show_usage): Mention -mvxworks-pic.
180 2007-03-30 Sterling Augustine <sterling@tensilica.com>
181 Bob Wilson <bob.wilson@acm.org>
183 * config/tc-xtensa.c (xtensa_move_labels): Remove loops_ok argument.
184 Do not check is_loop_target flag.
185 (xtensa_frob_label): Adjust calls to xtensa_move_labels.
186 (xg_assemble_vliw_tokens): Likewise. Also avoid calling
187 xtensa_move_labels for alignment of loop opcodes.
189 2007-03-30 H.J. Lu <hongjiu.lu@intel.com>
191 * config/tc-i386.c (process_suffix): Reindent a bit.
193 2007-03-30 Paul Brook <paul@codesourcery.com>
195 * config/tc-arm.c (encode_thumb2_ldmstm): New function.
196 (do_t_ldmstm): Generate 16-bit push/pop. Use encode_thumb2_ldmstm.
197 (do_t_push_pop): Use encode_thumb2_ldmstm.
199 2007-03-29 DJ Delorie <dj@redhat.com>
201 * config/tc-m32c.c (rl_for, relaxable): Protect argument.
202 (md_relax_table): Add entries for ADJNZ macros.
203 (M32C_Macros): Add ADJNZ macros.
204 (subtype_mappings): Add entries for ADJNZ macros.
205 (insn_to_subtype): Check for adjnz and sbjnz insns.
206 (md_estimate_size_before_relax): Pass insn to insn_to_subtype.
207 (md_convert_frag): Convert adjnz and sbjnz.
209 2007-03-29 Nick Clifton <nickc@redhat.com>
211 * itbl-ops.c (itbl_entry): Remove unnecessary and excessively long
213 * itbl-ops.h (enum e_processor): Initialise the e_nprocs field
214 using ITBL_NUMBER_OF_PROCESSORS.
215 * itbl-parse.y (yyerror): Remove use of redundant macro PARAMS.
217 2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
219 * config/tc-i386.c (build_modrm_byte): For instructions with 2
220 register operands, encode destination in i.rm.regmem if its
223 2007-03-28 Richard Sandiford <richard@codesourcery.com>
224 Phil Edwards <phil@codesourcery.com>
226 * doc/as.texinfo: Put the contents after the title page rather
227 than at the end of the document.
229 2007-03-27 Alan Modra <amodra@bigpond.net.au>
231 * NEWS: Mention ".reloc".
233 2007-03-26 Sterling Augustine <sterling@tensilica.com>
235 * config/tc-xtensa.c (xg_translate_idioms): Allow assembly idioms
236 in FLIX instructions.
238 2007-03-26 Julian Brown <julian@codesourcery.com>
240 * config/tc-arm.c (arm_it): Add immisfloat field.
241 (parse_qfloat_immediate): Disallow integer syntax for floating-point
242 immediates. Fix hex immediates, handle 0.0 and -0.0 specially.
243 (parse_neon_mov): Set immisfloat bit for operand if it parsed as a
245 (neon_cmode_for_move_imm): Reject non-float immediates for float
247 (neon_move_immediate): Pass immisfloat bit to neon_cmode_for_move_imm.
249 2007-03-26 Julian Brown <julian@codesourcery.com>
251 * doc/c-arm.texi: Add documentation for .dn/.qn directives.
253 2007-03-26 Alan Modra <amodra@bigpond.net.au>
255 * doc/as.texinfo (Reloc): Document.
256 * read.c (potable): Add "reloc".
257 (s_reloc): New function.
258 * write.c (reloc_list): New global var.
259 (resolve_reloc_expr_symbols): New function.
260 (write_object_file): Call it.
261 (write_relocs): Process reloc_list.
262 * write.h (struct reloc_list): New.
263 (reloc_list): Declare.
265 2007-03-24 Paul Brook <paul@codesourcery.com>
267 * config/tc-arm.c (do_t_ldmstm): Error on Thumb-2 addressing modes.
269 2007-03-24 Paul Brook <paul@codesourcery.com>
270 Mark Shinwell <shinwell@codesourcery.com>
272 * config/tc-arm.c (operand_parse_code): Add OP_oRRw.
273 (parse_operands): Don't expect comma if first operand missing.
275 (do_srs): Encode register number, checking it is r13. Update comment.
276 (insns): Update SRS entries to take a register.
278 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
280 * config/tc-i386.c (md_begin): Allow '.' in mnemonic.
282 2007-03-23 Mark Shinwell <shinwell@codesourcery.com>
284 * config/tc-arm.c (md_apply_fix): Turn CBZ instructions that
285 attempt to jump to the next instruction into NOPs.
287 2007-03-23 Alan Modra <amodra@bigpond.net.au>
289 * config/tc-spu.c: Don't include opcode/spu.h.
290 (md_assemble): Set tc_fix_data.insn_tag and arg_format.
291 (md_apply_fix): Adjust.
292 * config/tc-spu.h: Include opcode/spu.h.
293 (struct tc_fix_info): New.
294 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Adjust.
295 (TC_FORCE_RELOCATION): Define.
297 2007-03-22 Joseph Myers <joseph@codesourcery.com>
299 * doc/as.texinfo: Include VERSION_PACKAGE when reporting version.
301 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
303 * config/tc-i386.c (process_suffix): Check 0x90 instead of
304 xchg for xchg %rax,%rax.
306 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
308 * config/tc-i386.c: Replace REX_MODE64, REX_EXTX, REX_EXTY
309 and REX_EXTZ with REX_W, REX_R, REX_X and REX_B respectively.
311 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
314 * config/tc-i386.c (match_template): Properly handle 64bit mode
317 2007-03-21 Anton Ertl <anton@mips.complang.tuw>
320 * config/tc-alpha.c (emit_ustX): Fix ustq code generation.
322 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
324 * Makefile.am: Run dep-am.
325 * Makefile.in: Regenerated.
327 * config/tc-i386.c: Don't include "opcodes/i386-opc.h".
329 * config/tc-i386.h: Include "opcodes/i386-opc.h".
330 (NOP_OPCODE): Removed.
331 (template): Likewise.
333 2007-03-21 Andreas Schwab <schwab@suse.de>
335 * config/tc-i386.h (NOP_OPCODE): Restore.
337 2007-03-18 Mark Shinwell <shinwell@codesourcery.com>
339 * config/tc-arm.c (do_mul): Don't warn about overlapping
340 Rd and Rm operands when assembling for v6 or above.
341 Correctly capitalize register names in the messages.
342 (do_mlas): Likewise. Delete spurious blank line.
344 2007-03-16 Kazu Hirata <kazu@codesourcery.com>
346 * config/tc-m68k.c (m68k_cpus): Add an entry for fidoa.
348 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
350 * config/tc-i386.c (md_begin): Use i386_regtab_size to scan
352 (parse_register): Use i386_regtab_size instead of ARRAY_SIZE
355 2007-03-15 Alexandre Oliva <aoliva@redhat.com>
358 * app.c (do_scrub_chars): PUT after setting states.
360 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
362 * Makefile.am: Run "make dep-am".
363 * Makefile.in: Regenerated.
365 * config/tc-i386.c: Include "opcodes/i386-opc.h" instead of
367 (md_begin): Check reg_name != NULL for the last entry in
370 * config/tc-i386.h: Move many entries to opcode/i386.h and
373 * configure.in (need_opcodes): Set true for i386.
374 * configure: Regenerated.
376 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
378 * Makefile.am (REPORT_BUGS_TO): Removed.
379 (INCLUDES): Remove -DREPORT_BUGS_TO.
380 * Makefile.in: Regenerated.
382 * configure.in (--with-bugurl): Removed.
383 * configure: Regenerated.
385 * doc/Makefile.am (as_TEXINFOS): Remove gasver.texi.
386 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
387 (TEXI2DVI): Likewise.
388 (gasver.texi): Removed.
389 (MOSTLYCLEANFILES): Remove gasver.texi.
390 (as.1): Don't depend on gasver.texi.
391 * doc/Makefile.in: Regenerated.
393 * doc/as.texi: Include bfdver.texi instead of gasver.texi.
395 2007-03-14 Daniel Jacobowitz <dan@codesourcery.com>
397 * config/tc-arm.c (arm_copy_symbol_attributes): New.
398 * config/tc-arm.h (arm_copy_symbol_attributes): Declare.
399 (TC_COPY_SYMBOL_ATTRIBUTES): Define.
400 * gas/symbols.c (copy_symbol_attributes): Use
401 TC_COPY_SYMBOL_ATTRIBUTES.
403 2007-03-14 Paul Brook <paul@codesourcery.com>
405 * config/tc-arm.c (T16_32_TAB): Fix dec_sp encoding.
407 2007-03-14 Alan Modra <amodra@bigpond.net.au>
410 * write.c (relax_segment): Insert extra alignment padding
411 to break infinite relax loop when given impossible
412 gcc_except_table assembly.
414 2007-03-12 H.J. Lu <hongjiu.lu@intel.com>
416 * config/tc-i386.c (md_assemble): Use Opcode_XXX instead of XXX
418 (match_template): Likewise.
419 (process_operands): Use ~0x3 mask to match MOV_AX_DISP32.
421 * config/tc-i386.h (Opcode_D): New.
422 (Opcode_FloatR): Likewise.
423 (Opcode_FloatD): Likewise.
430 2007-03-09 Alexandre Oliva <aoliva@redhat.com>
432 * app.c (do_scrub_chars): Recognize comments after # line "file".
433 * read.c (get_linefile_number): New.
434 (s_app_line): Accept ill-formed .linefile lines as comments.
436 2007-03-09 Alan Modra <amodra@bigpond.net.au>
438 * config/tc-i386.h (WORKING_DOT_WORD): Define.
440 2007-03-09 Alexandre Oliva <aoliva@redhat.com>
442 * app.c (do_scrub_chars): Turn #<line>"file"flags into .linefile.
443 * as.h (new_logical_line_flags): New.
444 * input-scrub.c (new_logical_line): Turned into wrapper for...
445 (new_logical_line_flags): this. Handle flags.
446 * read.c (potable): Add linefile. Adjust appline argument.
447 (s_app_file): Fake .appfiles no more.
448 (s_app_line): For .linefile, accept file name and flags.
450 2007-03-08 Alan Modra <amodra@bigpond.net.au>
452 * symbols.c (symbol_relc_make_sym): Comment typo fixes.
454 2007-03-08 Alan Modra <amodra@bigpond.net.au>
456 * Makefile.am: Run "make dep-am".
457 * Makefile.in: Regenerate.
458 * po/POTFILES.in: Regenerate.
460 2007-03-07 Joseph Myers <joseph@codesourcery.com>
462 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
464 * doc/Makefile.am (gasver.texi): Define BUGURL.
465 * doc/as.texinfo: Use BUGURL.
466 * Makefile.in, configure, doc/Makefile.in: Regenerate.
468 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
470 * config/tc-s390.c (md_parse_option): z9-ec option added.
472 2007-03-02 Paul Brook <paul@codesourcery.com>
474 * config/tc-arm.c (relax_immediate): Always return positive values.
475 (relaxed_symbol_addr): New function.
476 (relax_adr, relax_branch): Use it.
477 (arm_relax_frag): Pass strect argument. Adjust infinite loop check.
479 2007-03-01 Joseph Myers <joseph@codesourcery.com>
481 * as.c (parse_args): Update copyright date.
483 2007-02-28 Nathan Sidwell <nathan@codesourcery.com>
485 * configure.tgt (sh-*-uclinux, sh[12]-*-uclinux): Specify as elf.
487 2007-02-28 Nick Clifton <nickc@redhat.com>
490 * config/tc-d10v.c (do_assemble): Do not generate error messages,
491 just return -1 whenever a problem is encountered.
492 (md_assemble): If do_assemble returns -1 generate a non-fatal
493 error message and return.
496 * config/tc-msp430.c (line_separator_char): Change to '{'.
498 2007-02-27 Alan Modra <amodra@bigpond.net.au>
500 * config/tc-m68hc11.c (fixup24): Correct fixup size.
501 (build_jump_insn): Likewise.
502 (build_insn): Likewise.
503 (s_m68hc11_relax): Likewise.
505 2007-02-27 Alan Modra <amodra@bigpond.net.au>
507 * config/obj-elf.c (elf_frob_file): frag_wane any new frags.
509 2007-02-25 Mark Shinwell <shinwell@codesourcery.com>
511 * config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad.
513 2007-02-23 Alan Modra <amodra@bigpond.net.au>
515 * config/tc-mn10300.c (md_convert_frag): Correct fixup size.
516 (md_assemble): Likewise.
518 2007-02-22 Alan Modra <amodra@bigpond.net.au>
520 * write.c (size_seg): Always clear SEC_RELOC here.
521 (install_reloc): New function, extracted from..
522 (write_relocs): ..here. Combine RELOC_EXPANSION_POSSIBLE code
523 with !RELOC_EXPANSION_POSSIBLE code. Don't add fr_offset when
524 testing frag size. Set SEC_RELOC here.
526 2007-02-21 Alan Modra <amodra@bigpond.net.au>
529 * config/tc-avr.h (TC_FX_SIZE_SLACK): Define.
531 2007-02-20 Thiemo Seufer <ths@mips.com>
533 * doc/c-mips.texi: Document 74kc, 74kf, 74kx.
535 2007-02-20 Thiemo Seufer <ths@mips.com>
537 * config/tc-mips.c (mips_cpu_info_table): Add 74K configurations.
539 2007-02-20 Thiemo Seufer <ths@mips.com>
540 Chao-Ying Fu <fu@mips.com>
542 * config/tc-mips.c (mips_set_options, mips_opts, file_ase_dspr2,
543 ISA_SUPPORTS_DSPR2_ASE, MIPS_CPU_ASE_DSPR2): Add DSP R2 ASE support.
544 (macro_build): Add case '2'.
545 (macro): Expand M_BALIGN to nop, packrl.ph or balign.
546 (validate_mips_insn): Add support for balign instruction.
547 (mips_ip): Handle DSP R2 instructions. Support balign instruction.
548 (OPTION_DSPR2, OPTION_NO_DSPR2, OPTION_COMPAT_ARCH_BASE,
549 md_parse_option, mips_after_parse_args): Add -mdspr2 and -mno-dspr2
550 command line options.
551 (s_mipsset): Add support for .set dspr2 and .set nodspr2 directives.
552 (md_show_usage): Add -mdspr2 and -mno-dspr2 help output.
553 * doc/c-mips.texi, doc/as.texinfo: Document -mdspr2, -mno-dspr2,
554 .set dspr2, .set nodspr2.
556 2007-02-20 Nathan Sidwell <nathan@codesourcery.com>
558 * config/tc-m68k.c (mcf5210a_ctrl, mcf52235_ctrl, mcf5225_ctrl): New.
559 (m68k_cpus): Add 5210a..5211a, 52230..52235 5224..5225.
561 2007-02-18 Alan Modra <amodra@bigpond.net.au>
563 * write.c (TC_FX_SIZE_SLACK): Define.
564 (write_relocs): Reinstate check for fixup within frag.
565 * config/tc-bfin.h (TC_FX_SIZE_SLACK): Define.
566 * config/tc-h8300.h (TC_FX_SIZE_SLACK): Define.
567 * config/tc-mmix.h (TC_FX_SIZE_SLACK): Define.
568 * config/tc-sh.h (TC_FX_SIZE_SLACK): Define.
569 * config/tc-xstormy16.h (TC_FX_SIZE_SLACK): Define.
571 2007-02-17 Mark Mitchell <mark@codesourcery.com>
572 Nathan Sidwell <nathan@codesourcery.com>
573 Vladimir Prus <vladimir@codesourcery.com
574 Joseph Myers <joseph@codesourcery.com>
576 * configure.in (--with-bugurl): New option.
577 * configure: Regenerate.
578 * dep-in.sed: Remove bin-bugs.h.
579 * Makefile.am (REPORT_BUGS_TO): Define.
580 (INCLUDES): Define REPORT_BUGS_TO.
581 (DEP_INCLUDES): Likewise.
582 ($(OBJS)): No longer depend on bin-bugs.h.
583 * Makefile.in: Regenerate.
584 * doc/Makefile.in: Regenerate.
585 * as.c (show_usage): Don't print empty REPORT_BUGS_TO.
586 * as.h: Remove include of bin-bugs.h.
588 2007-02-17 Alan Modra <amodra@bigpond.net.au>
590 * write.c: White space fixes.
591 (fixup_segment): Move symbol_mri_common_p adjustments..
592 (write_relocs): ..and symbol_equated_reloc_p adjustments..
593 (adjust_reloc_syms): ..to here.
595 2007-02-16 Alan Modra <amodra@bigpond.net.au>
597 * subsegs.c (subseg_change, subseg_get): Use xcalloc rather than
598 xmalloc, memset. Don't bother assigning NULL to known zero mem.
599 (subseg_set_rest): Remove unnecessary cast.
600 * write.c: Include libbfd.h. Replace PTR with void * throughout.
601 Remove unnecessary forward declarations and casts.
602 (set_symtab): Delete extern bfd_alloc.
603 (fixup_segment): Move.
605 2007-02-15 Nathan Sidwell <nathan@codesourcery.com>
607 * config/m68k-parse.h (m68k_register): Add ROMBAR0, ASID.
608 * config/tc-m68k.c (mcfv4e_ctrl): Add ColdFire specific names.
609 (mcf5475_ctrl, mcf5485_ctrl): New.
610 (m68k_cpus): Use mcf5485_ctrl and mcf5485_ctrl for those families.
611 (m68k_ip): Add ASID, MMUBAR, ROMBAR0 handling.
612 (init_table): Add asid, mmubar, adjust rombar0.
614 2007-02-14 Alan Modra <amodra@bigpond.net.au>
616 * config/tc-i386.h (Seg2ShortForm, Seg3ShortForm): Delete.
617 * config/tc-i386.c: Wrap overly long lines, whitespace fixes.
618 (process_operands): Move old Seg2ShortForm and Seg3ShortForm
619 code, and test for these insns using a combination of
620 opcode_modifier and operand_types.
622 2007-02-07 Paul Brook <paul@codesourcery.com>
624 * configure.tgt: Add arm*-*-uclinux-*eabi.
626 2007-02-05 Dave Brolley <brolley@redhat.com>
627 Richard Sandiford <rsandifo@redhat.com>
628 DJ Delorie <dj@redhat.com>
629 Stan Cox <scox@redhat.com>
630 Jim Blandy <jimb@redhat.com>
631 Nick Clifton <nickc@redhat.com>
632 Jim Wilson <wilson@redhat.com>
633 Frank Ch. Eigler <fche@redhat.com>
634 Graydon Hoare <graydon@redhat.com>
635 Ben Elliston <bje@redhat.com>
636 John Healy <jhealy@redhat.com>
637 Richard Henderson <rth@redhat.com>
639 * Makefile.am (CPU_TYPES): Add mep.
640 (TARGET_CPU_CFILES): Add tc-mep.c.
641 (TARGET_CPU_HFILES): Add tc-mep.h.
642 (DEPTC_mep_elf): New variable.
643 (DEPTC_mep_coff): Likewise.
644 (DEPOBJ_mep_coff, DEPOBJ_mep_elf, DEP_mep_coff, DEP_mep_elf): Likewise.
645 * configure.in: Support mep.
646 * configure.tgt: Likewise.
647 * config/tc-mep.c: New file.
648 * config/obj-elf.c: New file.
649 * config/tc-mep.c: New file.
650 * config/tc-mep.h: New file.
651 * testsuite/gas/mep: New testsuite with content.
652 * Makefile.in: Regenerate.
653 * configure: Regenerate.
655 2007-02-05 Dave Brolley <brolley@redhat.com>
657 * cgen.c (gas_cgen_install_complex_reloc): Removed.
658 (complex_reloc_installation_howto): Removed.
660 2007-02-05 Dave Brolley <brolley@redhat.com>
661 Graydon Hoare <graydon@redhat.com>
662 DJ Delorie <dj@redhat.com>
663 Catherine Moore <clm@redhat.com>
664 Michael Chastain <chastain@redhat.com>
665 Frank Ch. Eigler <fche@redhat.com>
667 * symbols.c (use_complex_relocs_for): New, to decide
668 when to use complex relocs. Add signed RELC support.
669 (resolve_symbol_value): Call use_complex_relocs_for. Unconditionally
670 encode expression symbols as mangled complex relocation symbols (when
671 compiled with -DOBJ_COMPLEX_RELOC).
672 (symbol_relc_make_sym,value,expr): New traversal/conversion routines.
673 * cgen.c (gas_cgen_md_apply_fix3): Only set signed_p if RELC. Call
674 encode_addend with new args. Modify to get start, length from
675 ifield whenever it is set. Also change condition on which
676 self-describing relocs are encoded. Add hook into
677 gas_cgen_encode_addend.
678 (queue_fixup_recursively): Add signed RELC support. Change from masked
679 expr to trunc flag. Restore assignment of sub-field value to
680 temporary in fixups array. Reflect changed meaning of last arg to
681 queue_fixup_recursively.
682 (fixup): Add cgen_maybe_multi_ifield member.
683 (make_right_shifted_expr): New function.
684 (queue_fixup): Change to recursive function that fragments
685 fixups if operand has a multi-ifield.
686 (gas_cgen_parse_operand): Add RELC code to wrap expressions in
687 symbols, call weak_operand_overflow_check, and fragment call
688 queue_fixup with operand fields.
689 (gas_cgen_finish_insn) Modify to manage ifield pointer.
690 (weak_operand_overflow_check): New function to try to select
692 (gas_cgen_encode_addend): New function for relc.
693 (gas_cgen_install_complex_reloc): Likewise.
694 (gas_cgen_tc_gen_reloc): Add hook into gas_cgen_install_complex_reloc.
695 * write.h (struct fix): Add msb_field_p to fx_cgen sub-struct. Add
696 cgen_maybe_multi_ifield field to fx_cgen substructure.
697 * cgen.h (GAS_CGEN_MAX_FIXUPS): Bump from 3 up to 32.
698 * symbols.h (symbol_relc_make_sym,value,expr): New prototypes.
700 2007-02-03 DJ Delorie <dj@delorie.com>
702 * config/tc-m32c.c (m32c_cons_fix_new): New. Added to support 3
704 * config/tc-m32c.h (TC_CONS_FIX_NEW): Define.
705 (m32c_cons_fix_new): Prototype.
707 2007-02-02 Bob Wilson <bob.wilson@acm.org>
709 * config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init.
710 (xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise.
712 2007-02-02 Bob Wilson <bob.wilson@acm.org>
714 * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.
715 (xtensa_elf_suffix): Use suffix_relocs instead of local mapping table.
716 (map_suffix_reloc_to_operator): New.
717 (map_operator_to_reloc): New.
718 (expression_maybe_register): Fix incorrect test of return value from
719 xtensa_elf_suffix. Rearrange to use map_suffix_reloc_to_operator.
720 (xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc.
722 2007-02-02 Bob Wilson <bob.wilson@acm.org>
724 * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field.
725 (tinsn_get_tok): Delete prototype.
726 * config/tc-xtensa.c (tinsn_get_tok): Delete.
728 2007-02-02 Bob Wilson <bob.wilson@acm.org>
730 * config/xtensa-relax.h (struct build_instr): Delete id field.
731 * config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL
733 (append_literal_op, append_label_op): Remove litnum/labnum arguments;
734 set op_data fields to zero.
735 (parse_id_constant): Delete.
736 (build_transition): Remove code to handle numbered literals and labels.
738 2007-02-02 Bob Wilson <bob.wilson@acm.org>
740 * config/xtensa-relax.c (build_transition): Remove code after as_fatal.
741 (build_transition_table): Likewise.
743 2007-02-01 Bob Wilson <bob.wilson@acm.org>
745 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of
747 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove.
749 2007-02-02 Alan Modra <amodra@bigpond.net.au>
751 * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move.
752 (struct fix <fx_plt>): Rename to tcbit2.
753 * write.c (fix_new_internal): Adjust.
754 (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
755 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
756 * config/tc-cris.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
757 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
758 * config/tc-i960.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
759 * config/tc-sh.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
760 * config/tc-sh64.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
761 * config/tc-sparc.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
762 * config/tc-msp430.c (msp430_force_relocation_local): Likewise.
763 * config/tc-ia64.c (emit_one_bundle): Don't set fx_plt.
764 * config/tc-ia64.h (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
765 Instead, compare fx_r_type.
766 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Use
767 fx_tcbit in place of fx_plt.
768 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Define.
769 * doc/internals.texi (TC_FORCE_RELOCATION_LOCAL): Remove reference
772 2007-01-30 Nick Clifton <nickc@redhat.com>
774 * as.c (main): Mark symbols created via the --defsym command line
775 option as volatile so that they can be overridden later on by a
776 .set directive. This maintains compatibility with the behaviour
777 of earlier versions of the assembler.
778 * doc/as.texinfo (--defsym): Document that the defined symbol's
779 value can be overridden via a .set directive.
781 2007-01-28 H.J. Lu <hongjiu.lu@intel.com>
783 * config/tc-i386.c (swap_imm_operands): Renamed to ...
784 (swap_2_operands): This. Take 2 ints.
785 (md_assemble): Updated.
786 (swap_operands): Call swap_2_operands to swap 2 operands.
788 2007-01-24 DJ Delorie <dj@redhat.com>
790 * config/tc-m32c.c (md_pseudo_table): Add .3byte.
792 2007-01-22 Nick Clifton <nickc@redhat.com>
795 * tc-score.c: Remove unnecessary uses of _().
796 Make the err_msg[] a file level local array in order to save
798 Remove unnecessary sprintf()s.
800 2007-01-18 Mei Ligang <ligang@sunnorth.com.cn>
803 * config/tc-score.c : Using _() for const string.
804 Do not assign inst.error with a local string pointer.
805 (md_section_align): Pad section.
807 2007-01-13 H.J. Lu <hongjiu.lu@intel.com>
809 * config/tc-i386.c (build_modrm_byte): Check number of operands
810 when procssing memory/register operand.
812 2007-01-12 Nick Clifton <nickc@redhat.com>
815 * macro.c (expand_irp): Do not ignore spaces inside quoted
818 2007-01-12 Alan Modra <amodra@bigpond.net.au>
820 * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
821 * config/tc-m32r.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
822 * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
823 (TC_FORCE_RELOCATION): Define.
824 (TC_FORCE_RELOCATION_LOCAL): Define.
825 * config/tc-mn10300.c (mn10300_fix_adjustable): Adjust.
827 2007-01-12 Alan Modra <amodra@bigpond.net.au>
829 * input-file.c (input_file_open): Check fgets return.
831 2007-01-11 Paul Brook <paul@codesourcery.com>
833 * config/tc-arm.c (do_t_add_sub): Use Rd and Rs.
835 2007-01-11 Nick Clifton <nickc@redhat.com>
838 * config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt
841 * config/tc-mcore.c (md_number_to_chars): Use
842 number_to_chars_{big|little}endian.
844 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
846 * config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an
847 architecture by itself.
848 (m68k_ip): Don't issue a warning for tbl instructions on fido.
849 (m68k_elf_final_processing): Treat Fido as an architecture by
852 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
854 * configure.tgt: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*
856 2007-01-05 H.J. Lu <hongjiu.lu@intel.com>
858 * config/tc-i386.c (set_intel_syntax): Update set_intel_syntax
859 depending on allow_naked_reg.
861 2007-01-04 Paul Brook <paul@codesourcery.com>
863 * config/tc-arm.c (do_cpsi): Set mmod bit for 2 argument form.
865 2007-01-04 H.J. Lu <hongjiu.lu@intel.com>
868 * config/tc-i386.c (register_prefix): New.
869 (set_intel_syntax): Set set_intel_syntax to "" if register
871 (check_byte_reg): Use register_prefix for error message.
872 (check_long_reg): Likewise.
873 (check_qword_reg): Likewise.
874 (check_word_reg): Likewise.
876 2006-01-04 Julian Brown <julian@codesourcery.com>
878 * config/tc-arm.c (do_neon_shl_imm): Swap rN, rM.
879 (do_neon_qshl_imm): Likewise.
880 (do_neon_rshl): New function. Handle rounding variants of
882 (insns): Use do_neon_rshl for vrshl, vqrshl.
884 2007-01-04 Paul Brook <paul@codesourcery.com>
886 * config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt
889 2007-01-03 H.J. Lu <hongjiu.lu@intel.com>
891 * config/tc-i386.c (swap_operands): Remove branches.
893 2007-01-03 H.J. Lu <hongjiu.lu@intel.com>
895 * config/tc-i386.c: Update copyright year.
896 * config/tc-i386.h: Likewise.
898 2007-01-03 H.J. Lu <hongjiu.lu@intel.com>
900 * config/tc-i386.c (smallest_imm_type): Return unsigned int
903 2007-01-03 H.J. Lu <hongjiu.lu@intel.com>
905 * config/tc-i386.c: Convert to ISO C90 formatting
906 * config/tc-i386.h: Likewise.
908 2007-01-03 David Daney <ddaney@avtrex.com>
910 * config/tc-mips.c (md_show_usage): Clean up -mno-shared
913 For older changes see ChangeLog-2006
919 version-control: never