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