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