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