* as.h (ENABLE_CHECKING): Default define to 0.
[platform/upstream/binutils.git] / gas / ChangeLog
1 2007-04-21  Alan Modra  <amodra@bigpond.net.au>
2
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.
11
12 2007-04-20  Nathan Sidwell  <nathan@codesourcery.com>
13
14         * config/tc-m68k.c (mcf5253_ctrl): New.
15         (mcf52223_ctrl): New.
16         (m68k_cpus): Add 5253, 52221, 52223.
17
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
24         RAMBAR1.
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.
29
30 2007-04-20  Alan Modra  <amodra@bigpond.net.au>
31
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.
36
37 2007-04-20  Alan Modra  <amodra@bigpond.net.au>
38
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
45         insertion code.
46         (md_apply_fix): Adjust for struct powerpc_operand change.
47
48 2007-04-19  Paul Brook  <paul@codesourcery.com>
49
50         * config/tc-arm.c (md_assemble): Only allow 16-bit instructions on
51         Thumb-1.  Add sanity check for bogus relaxations.
52
53 2007-04-19  Paul Brook  <paul@codesourcery.com>
54
55         * config/tc-arm.c (insns): Allow rsb and rsbs on Thumb-1.
56
57 2007-04-19  Alan Modra  <amodra@bigpond.net.au>
58
59         * Makefile.am: Run "make dep-am".
60         * Makefile.in: Regenerate.
61
62 2007-04-19  Nathan Froyd <froydnj@codesourcery.com>
63
64         * doc/c-ppc.texi (PowerPC-Opts): Document -me500, -me500x2, -mspe.
65
66 2007-04-18  H.J. Lu <hongjiu.lu@intel.com>
67
68         * doc/c-i386.texi; Document .ssse3, .sse4.1, .sse4.2 and .sse4.
69
70 2007-04-18  H.J. Lu <hongjiu.lu@intel.com>
71
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.
76
77 2007-04-18  H.J. Lu <hongjiu.lu@intel.com>
78
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.
83
84 2007-04-18  Paul Brook  <paul@codesourcery.com>
85
86         * config/tc-arm.c (do_t_rsb): Use 16-bit encoding when possible.
87
88 2007-04-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
89
90         * config/tc-sh.c (sh_handle_align):  Call as_bad_where instead
91         of as_warn_where for misaligned data.
92
93 2007-04-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
94
95         * config/tc-sh.c (align_test_frag_offset_fixed_p): Handle
96         rs_fill frags.
97
98 2007-04-14  Steve Ellcey  <sje@cup.hp.com>
99
100         * Makefile.am: Add ACLOCAL_AMFLAGS.
101         * Makefile.in: Regenerate.
102
103 2007-04-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
104
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.
109
110 2007-04-06  Matt Thomas  <matt@netbsd.org>
111
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.
115
116 2007-04-04  Kazu Hirata  <kazu@codesourcery.com>
117
118         * config/tc-m68k.c (HAVE_LONG_BRANCH): Add fido_a.
119
120 2007-04-04  Paul Brook  <paul@codesourcery.com>
121
122         * config/tc-arm.c (do_neon_ext): Enforce immediate range.
123         (insns): Use I15 for vext.
124
125 2007-04-04  Paul Brook  <paul@codesourcery.com>
126
127         * configure.tgt: Loosen checks for arm uclinux eabi targets.
128
129 2007-04-02  Sterling Augustine  <sterling@tensilica.com>
130
131         * config/tc-xtensa.c (xtensa_flush_pending_output): Check
132         outputting_stabs_line_debug.
133
134 2007-03-26  Anatoly Sokolov <aesok@post.ru>
135
136         * config/tc-avr.c (mcu_types): Add support for at90pwm1, at90usb82,
137         at90usb162, atmega325p, atmega329p, atmega3250p and atmega3290p
138         devices.
139         * doc/c-avr.texi: Document new devices.
140
141 2007-04-02  Richard Sandiford  <richard@codesourcery.com>
142
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.
146
147 2007-03-30  Sterling Augustine  <sterling@tensilica.com>
148             Bob Wilson  <bob.wilson@acm.org>
149
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.
155         
156 2007-03-30  H.J. Lu  <hongjiu.lu@intel.com>
157
158         * config/tc-i386.c (process_suffix): Reindent a bit.
159
160 2007-03-30  Paul Brook  <paul@codesourcery.com>
161
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.
165
166 2007-03-29  DJ Delorie  <dj@redhat.com>
167
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.
175
176 2007-03-29  Nick Clifton  <nickc@redhat.com>
177
178         * itbl-ops.c (itbl_entry): Remove unnecessary and excessively long
179         initialization.
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.
183
184 2007-03-28  H.J. Lu  <hongjiu.lu@intel.com>
185
186         * config/tc-i386.c (build_modrm_byte): For instructions with 2
187         register operands, encode destination in i.rm.regmem if its
188         RegMem bit is set.
189
190 2007-03-28  Richard Sandiford  <richard@codesourcery.com>
191             Phil Edwards  <phil@codesourcery.com>
192
193         * doc/as.texinfo: Put the contents after the title page rather
194         than at the end of the document.
195
196 2007-03-27  Alan Modra  <amodra@bigpond.net.au>
197
198         * NEWS: Mention ".reloc".
199
200 2007-03-26  Sterling Augustine  <sterling@tensilica.com>
201         
202         * config/tc-xtensa.c (xg_translate_idioms): Allow assembly idioms
203         in FLIX instructions.
204         
205 2007-03-26  Julian Brown  <julian@codesourcery.com>
206
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
211         float.
212         (neon_cmode_for_move_imm): Reject non-float immediates for float
213         operands.
214         (neon_move_immediate): Pass immisfloat bit to neon_cmode_for_move_imm.
215
216 2007-03-26  Julian Brown  <julian@codesourcery.com>
217
218         * doc/c-arm.texi: Add documentation for .dn/.qn directives.
219
220 2007-03-26  Alan Modra  <amodra@bigpond.net.au>
221
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.
231
232 2007-03-24  Paul Brook  <paul@codesourcery.com>
233
234         * config/tc-arm.c (do_t_ldmstm): Error on Thumb-2 addressing modes.
235
236 2007-03-24  Paul Brook  <paul@codesourcery.com>
237         Mark Shinwell  <shinwell@codesourcery.com>
238
239         * config/tc-arm.c (operand_parse_code): Add OP_oRRw.
240         (parse_operands): Don't expect comma if first operand missing.
241         Handle OP_oRRw.
242         (do_srs): Encode register number, checking it is r13.  Update comment.
243         (insns): Update SRS entries to take a register.
244
245 2007-03-23  H.J. Lu  <hongjiu.lu@intel.com>
246
247         * config/tc-i386.c (md_begin): Allow '.' in mnemonic.
248
249 2007-03-23  Mark Shinwell  <shinwell@codesourcery.com>
250
251         * config/tc-arm.c (md_apply_fix): Turn CBZ instructions that
252         attempt to jump to the next instruction into NOPs.
253
254 2007-03-23  Alan Modra  <amodra@bigpond.net.au>
255
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.
263
264 2007-03-22  Joseph Myers  <joseph@codesourcery.com>
265
266         * doc/as.texinfo: Include VERSION_PACKAGE when reporting version.
267
268 2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
269
270         * config/tc-i386.c (process_suffix): Check 0x90 instead of
271         xchg for xchg %rax,%rax.
272
273 2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
274
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.
277
278 2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
279
280         PR binutils/4218
281         * config/tc-i386.c (match_template): Properly handle 64bit mode
282         "xchg %eax, %eax".
283
284 2007-03-21  Anton Ertl  <anton@mips.complang.tuw>
285
286         PR gas/4124
287         * config/tc-alpha.c (emit_ustX): Fix ustq code generation.
288
289 2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
290
291         * Makefile.am: Run dep-am.
292         * Makefile.in: Regenerated.
293
294         * config/tc-i386.c: Don't include "opcodes/i386-opc.h".
295
296         * config/tc-i386.h: Include "opcodes/i386-opc.h".
297         (NOP_OPCODE): Removed.
298         (template): Likewise.
299
300 2007-03-21  Andreas Schwab  <schwab@suse.de>
301
302         * config/tc-i386.h (NOP_OPCODE): Restore.
303
304 2007-03-18  Mark Shinwell  <shinwell@codesourcery.com>
305
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.
310
311 2007-03-16  Kazu Hirata  <kazu@codesourcery.com>
312
313         * config/tc-m68k.c (m68k_cpus): Add an entry for fidoa.
314
315 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
316
317         * config/tc-i386.c (md_begin): Use i386_regtab_size to scan 
318         i386_regtab.
319         (parse_register): Use i386_regtab_size instead of ARRAY_SIZE
320         on i386_regtab.
321
322 2007-03-15  Alexandre Oliva  <aoliva@redhat.com>
323
324         PR gas/4184
325         * app.c (do_scrub_chars): PUT after setting states.
326
327 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
328
329         * Makefile.am: Run "make dep-am".
330         * Makefile.in: Regenerated.
331
332         * config/tc-i386.c: Include "opcodes/i386-opc.h" instead of
333         "opcode/i386.h".
334         (md_begin): Check reg_name != NULL for the last entry in
335         i386_regtab.
336
337         * config/tc-i386.h: Move many entries to opcode/i386.h and
338         opcodes/i386-opc.h.
339
340         * configure.in (need_opcodes): Set true for i386.
341         * configure: Regenerated.
342
343 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
344
345         * Makefile.am (REPORT_BUGS_TO): Removed.
346         (INCLUDES): Remove -DREPORT_BUGS_TO.
347         * Makefile.in: Regenerated.
348
349         * configure.in (--with-bugurl): Removed.
350         * configure: Regenerated.
351
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.
359
360         * doc/as.texi: Include bfdver.texi instead of gasver.texi.
361
362 2007-03-14  Daniel Jacobowitz  <dan@codesourcery.com>
363
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.
369
370 2007-03-14  Paul Brook  <paul@codesourcery.com>
371
372         * config/tc-arm.c (T16_32_TAB): Fix dec_sp encoding.
373
374 2007-03-14  Alan Modra  <amodra@bigpond.net.au>
375
376         PR 4029
377         * write.c (relax_segment): Insert extra alignment padding
378         to break infinite relax loop when given impossible
379         gcc_except_table assembly.
380
381 2007-03-12  H.J. Lu  <hongjiu.lu@intel.com>
382
383         * config/tc-i386.c (md_assemble): Use Opcode_XXX instead of XXX
384         on i.tm.base_opcode.
385         (match_template): Likewise.
386         (process_operands): Use ~0x3 mask to match MOV_AX_DISP32.
387
388         * config/tc-i386.h (Opcode_D): New.
389         (Opcode_FloatR): Likewise.
390         (Opcode_FloatD): Likewise.
391         (D): Redefined.
392         (W): Likewise.
393         (FloatMF): Likewise.
394         (FloatR): Likewise.
395         (FloatD): Likewise.
396
397 2007-03-09  Alexandre Oliva  <aoliva@redhat.com>
398
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.
402
403 2007-03-09  Alan Modra  <amodra@bigpond.net.au>
404
405         * config/tc-i386.h (WORKING_DOT_WORD): Define.
406
407 2007-03-09  Alexandre Oliva  <aoliva@redhat.com>
408
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.
416
417 2007-03-08  Alan Modra  <amodra@bigpond.net.au>
418
419         * symbols.c (symbol_relc_make_sym): Comment typo fixes.
420
421 2007-03-08  Alan Modra  <amodra@bigpond.net.au>
422
423         * Makefile.am: Run "make dep-am".
424         * Makefile.in: Regenerate.
425         * po/POTFILES.in: Regenerate.
426
427 2007-03-07  Joseph Myers  <joseph@codesourcery.com>
428
429         * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
430         bug-reporting URL.
431         * doc/Makefile.am (gasver.texi): Define BUGURL.
432         * doc/as.texinfo: Use BUGURL.
433         * Makefile.in, configure, doc/Makefile.in: Regenerate.
434
435 2007-03-06  Andreas Krebbel  <krebbel1@de.ibm.com>
436
437         * config/tc-s390.c (md_parse_option): z9-ec option added.
438
439 2007-03-02  Paul Brook  <paul@codesourcery.com>
440
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.
445
446 2007-03-01  Joseph Myers  <joseph@codesourcery.com>
447
448         * as.c (parse_args): Update copyright date.
449
450 2007-02-28  Nathan Sidwell  <nathan@codesourcery.com>
451
452         * configure.tgt (sh-*-uclinux, sh[12]-*-uclinux): Specify as elf.
453
454 2007-02-28  Nick Clifton  <nickc@redhat.com>
455
456         PR gas/3797
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.
461
462         PR gas/2623
463         * config/tc-msp430.c (line_separator_char): Change to '{'.
464
465 2007-02-27  Alan Modra  <amodra@bigpond.net.au>
466
467         * config/tc-m68hc11.c (fixup24): Correct fixup size.
468         (build_jump_insn): Likewise.
469         (build_insn): Likewise.
470         (s_m68hc11_relax): Likewise.
471
472 2007-02-27  Alan Modra  <amodra@bigpond.net.au>
473
474         * config/obj-elf.c (elf_frob_file): frag_wane any new frags.
475
476 2007-02-25  Mark Shinwell  <shinwell@codesourcery.com>
477
478         * config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad.
479
480 2007-02-23  Alan Modra  <amodra@bigpond.net.au>
481
482         * config/tc-mn10300.c (md_convert_frag): Correct fixup size.
483         (md_assemble): Likewise.
484
485 2007-02-22  Alan Modra  <amodra@bigpond.net.au>
486
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.
492
493 2007-02-21  Alan Modra  <amodra@bigpond.net.au>
494
495         PR 4082
496         * config/tc-avr.h (TC_FX_SIZE_SLACK): Define.
497
498 2007-02-20  Thiemo Seufer  <ths@mips.com>
499
500         * doc/c-mips.texi: Document 74kc, 74kf, 74kx.
501
502 2007-02-20  Thiemo Seufer  <ths@mips.com>
503
504         * config/tc-mips.c (mips_cpu_info_table): Add 74K configurations.
505
506 2007-02-20  Thiemo Seufer  <ths@mips.com>
507             Chao-Ying Fu  <fu@mips.com>
508
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.
522
523 2007-02-20  Nathan Sidwell  <nathan@codesourcery.com>
524
525         * config/tc-m68k.c (mcf5210a_ctrl, mcf52235_ctrl, mcf5225_ctrl): New.
526         (m68k_cpus): Add 5210a..5211a, 52230..52235 5224..5225.
527
528 2007-02-18  Alan Modra  <amodra@bigpond.net.au>
529
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.
537
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>
542
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.
554
555 2007-02-17  Alan Modra  <amodra@bigpond.net.au>
556
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.
561
562 2007-02-16  Alan Modra  <amodra@bigpond.net.au>
563
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.
571
572 2007-02-15  Nathan Sidwell  <nathan@codesourcery.com>
573
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.
580
581 2007-02-14  Alan Modra  <amodra@bigpond.net.au>
582
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.
588
589 2007-02-07  Paul Brook  <paul@codesourcery.com>
590
591         * configure.tgt: Add arm*-*-uclinux-*eabi.
592
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>
605
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.
621
622 2007-02-05  Dave Brolley  <brolley@redhat.com>
623
624         * cgen.c (gas_cgen_install_complex_reloc): Removed.
625         (complex_reloc_installation_howto): Removed.
626
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>
633
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
658         insns correctly.
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.
666         
667 2007-02-03  DJ Delorie  <dj@delorie.com>
668
669         * config/tc-m32c.c (m32c_cons_fix_new): New.  Added to support 3
670         byte relocs.
671         * config/tc-m32c.h (TC_CONS_FIX_NEW): Define.
672         (m32c_cons_fix_new): Prototype.
673
674 2007-02-02  Bob Wilson  <bob.wilson@acm.org>
675         
676         * config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init.
677         (xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise.
678         
679 2007-02-02  Bob Wilson  <bob.wilson@acm.org>
680
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.
688
689 2007-02-02  Bob Wilson  <bob.wilson@acm.org>
690
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.
694         
695 2007-02-02  Bob Wilson  <bob.wilson@acm.org>
696
697         * config/xtensa-relax.h (struct build_instr): Delete id field.
698         * config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL
699         and LABEL tokens.
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.
704
705 2007-02-02  Bob Wilson  <bob.wilson@acm.org>
706
707         * config/xtensa-relax.c (build_transition): Remove code after as_fatal.
708         (build_transition_table): Likewise.
709
710 2007-02-01  Bob Wilson  <bob.wilson@acm.org>
711
712         * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of
713         fx_tcbit.
714         * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove.
715
716 2007-02-02  Alan Modra  <amodra@bigpond.net.au>
717
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
737         to fx_plt.
738
739 2007-01-30  Nick Clifton  <nickc@redhat.com>
740
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.
747
748 2007-01-28  H.J. Lu  <hongjiu.lu@intel.com>
749
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.
754
755 2007-01-24  DJ Delorie  <dj@redhat.com>
756
757         * config/tc-m32c.c (md_pseudo_table): Add .3byte.
758
759 2007-01-22  Nick Clifton  <nickc@redhat.com>
760
761         PR gas/3871
762         * tc-score.c: Remove unnecessary uses of _().
763         Make the err_msg[] a file level local array in order to save
764         storage space.
765         Remove unnecessary sprintf()s.
766
767 2007-01-18  Mei Ligang  <ligang@sunnorth.com.cn>
768
769         PR gas/3871
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.
773         
774 2007-01-13  H.J. Lu  <hongjiu.lu@intel.com>
775
776         * config/tc-i386.c (build_modrm_byte): Check number of operands
777         when procssing memory/register operand.
778
779 2007-01-12  Nick Clifton  <nickc@redhat.com>
780
781         PR gas/3856
782         * macro.c (expand_irp): Do not ignore spaces inside quoted
783         strings.
784
785 2007-01-12  Alan Modra  <amodra@bigpond.net.au>
786
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.
793
794 2007-01-12  Alan Modra  <amodra@bigpond.net.au>
795
796         * input-file.c (input_file_open): Check fgets return.
797
798 2007-01-11  Paul Brook  <paul@codesourcery.com>
799
800         * config/tc-arm.c (do_t_add_sub): Use Rd and Rs.
801
802 2007-01-11  Nick Clifton  <nickc@redhat.com>
803
804         PR gas/3707
805         * config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt
806         variable.
807
808         * config/tc-mcore.c (md_number_to_chars): Use
809         number_to_chars_{big|little}endian.
810
811 2007-01-08  Kazu Hirata  <kazu@codesourcery.com>
812
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
817         itself.
818
819 2007-01-08  Kai Tietz   <kai.tietz@onevision.com>
820
821         * configure.tgt: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*
822
823 2007-01-05  H.J. Lu  <hongjiu.lu@intel.com>
824
825         * config/tc-i386.c (set_intel_syntax): Update set_intel_syntax
826         depending on allow_naked_reg.
827
828 2007-01-04  Paul Brook  <paul@codesourcery.com>
829
830         * config/tc-arm.c (do_cpsi): Set mmod bit for 2 argument form.
831
832 2007-01-04  H.J. Lu  <hongjiu.lu@intel.com>
833
834         PR gas/3830
835         * config/tc-i386.c (register_prefix): New.
836         (set_intel_syntax): Set set_intel_syntax to "" if register
837         prefix isn't needed.
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.
842
843 2006-01-04  Julian Brown  <julian@codesourcery.com>
844
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
848         v{q}shl-by-register.
849         (insns): Use do_neon_rshl for vrshl, vqrshl.
850
851 2007-01-04  Paul Brook  <paul@codesourcery.com>
852
853         * config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt
854         and vacle.
855
856 2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>
857
858         * config/tc-i386.c (swap_operands): Remove branches.
859
860 2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>
861
862         * config/tc-i386.c: Update copyright year.
863         * config/tc-i386.h: Likewise.
864
865 2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>
866
867         * config/tc-i386.c (smallest_imm_type): Return unsigned int
868         instead of int.
869
870 2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>
871
872         * config/tc-i386.c: Convert to ISO C90 formatting
873         * config/tc-i386.h: Likewise.
874
875 2007-01-03  David Daney  <ddaney@avtrex.com>
876
877         * config/tc-mips.c (md_show_usage):  Clean up -mno-shared
878         documentation.
879
880 For older changes see ChangeLog-2006
881 \f
882 Local Variables:
883 mode: change-log
884 left-margin: 8
885 fill-column: 74
886 version-control: never
887 End: