* config/tc-ppc.c (ppc_pe_section): Comment out code assigning
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2007-07-02 Alan Modra <amodra@bigpond.net.au>
2
3 * config/tc-ppc.c (ppc_pe_section): Comment out code assigning
4 coff section flag values to bfd section flag.
5
6 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
7
8 * aclocal.m4: Regenerated.
9 * doc/Makefile.in: Likewise.
10 * Makefile.in: Likewise.
11
12 2007-06-29 Joseph Myers <joseph@codesourcery.com>
13
14 * as.c (main): Only call create_obj_attrs_section if IS_ELF.
15
16 2007-06-29 Joseph Myers <joseph@codesourcery.com>
17
18 * as.c (create_obj_attrs_section): New.
19 (main): Call create_obj_attrs_section for ELF.
20 * read.c (s_gnu_attribute, skip_whitespace, skip_past_char,
21 skip_past_comma, s_vendor_attribute): New.
22 (potable): Add gnu_attribute for ELF.
23 * read.h (s_vendor_attribute): Declare.
24 * config/tc-arm.c (s_arm_eabi_attribute): Replace by wrapper
25 round s_vendor_attribute.
26 (aeabi_set_public_attributes): Update for new attributes
27 interfaces.
28 (arm_md_end): Remove attributes contents setting now done
29 generically.
30
31 2007-06-29 M R Swami Reddy <MR.Swami.Redd@nsc.com>
32
33 * Makefile.am: Add CR16 related entry.
34 * Makefile.in: Regenerate.
35 * config/tc-cr16.h: New file
36 * config/tc-cr16.c: New file
37 * doc/c-cr16.texi: New file for cr16
38 * doc/all.texi: Entry for cr16
39 * doc/Makefile.am: Added c-cr16.texi
40 * doc/Makefile.in: Regenerate
41 * doc/as.texinfo: Entry for CR16 target
42 * NEWS: Announce the support for the new target.
43
44 2007-06-26 Paul Brook <paul@codesourcery.com>
45
46 * config/tc-arm.c (parse_operands): Accept generic coprocessor regs
47 for OP_RVC.
48 (reg_names): Add fpinst, pfinst2, mvfr0 and mvfr1.
49
50 2007-06-25 H.J. Lu <hongjiu.lu@intel.com>
51
52 * config/tc-i386.c (process_operands): Replace regKludge
53 with RegKludge.
54
55 2007-06-25 Richard Sandiford <richard@codesourcery.com>
56
57 * config/tc-mips.h (TC_SYMFIELD_TYPE): New.
58 * config/tc-mips.c (append_insn): Record which symbols have
59 R_MIPS16_26 relocations against them.
60 (mips_fix_adjustable): Don't reduce relocations against such symbols.
61
62 2007-06-22 Sterling Augustine <sterling@tensilica.com>
63
64 * config/tc-xtensa.c (xg_assembly_relax): Comment termination rules.
65 (frag_format_size): Handle RELAX_IMMED_STEP3.
66 (xtensa_relax_frag, md_convert_frag): Likewise.
67 * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_IMMED_STEP3.
68 (RELAX_IMMED_MAXSTEPS): Adjust.
69 * config/xtensa-relax.c (widen_spec_list): Add transitions from
70 wide branches to branch-over-jumps.
71 (build_transition): Handle wide branches in transition patterns.
72
73 2007-06-22 H.J. Lu <hongjiu.lu@intel.com>
74
75 * config/tc-i386.c (disp_size): New.
76 (imm_size): Likewise.
77 (output_disp): Use disp_size and imm_size.
78 (output_imm): Use imm_size.
79
80 2007-06-19 Sterling Augustine <sterling@tensilica.com>
81
82 * config/tc-xtensa.h (struct xtensa_frag_type): Update comment about
83 use of literal_frag field.
84 * config/tc-xtensa.c (xtensa_mark_literal_pool_location): Record frag
85 in the literal_frag field.
86 (xtensa_move_literals): Use it here instead of searching. Update
87 literal_frag field with new value.
88
89 2007-06-14 Paul Brook <paul@codesourcery.com>
90
91 * config/tc-arm.c (do_t_mov_cmp): Handle shift by register and
92 narrow shift by immediate.
93
94 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
95
96 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
97
98 * acinclude.m4: Don't include m4 files.
99 (BFD_BINARY_FOPEN): Removed.
100 Remove libtool kludge.
101
102 * Makefile.in: Regenerated.
103 * doc/Makefile.in: Likewise.
104 * aclocal.m4: Likewise.
105 * configure: Likewise.
106
107 2007-06-11 Sterling Augustine <sterling@tensilica.com>
108 Bob Wilson <bob.wilson@acm.org>
109
110 * config/tc-xtensa.c (XTENSA_PROP_INSN_NO_TRANSFORM): Renamed to...
111 (XTENSA_PROP_NO_TRANSFORM): ...this.
112 (frag_flags_struct): Move is_no_transform out of the insn sub-struct.
113 (xtensa_mark_frags_for_org): New.
114 (xtensa_handle_align): Set RELAX_ORG frag subtype for rs_org.
115 (xtensa_post_relax_hook): Call xtensa_mark_frags_for_org.
116 (get_frag_property_flags): Adjust reference to is_no_transform flag.
117 (xtensa_frag_flags_combinable): Likewise.
118 (frag_flags_to_number): Likewise. Use XTENSA_PROP_NO_TRANSFORM.
119 * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_ORG.
120
121 2007-06-06 Paul Brook <paul@codesourcery.com>
122
123 * config/tc-arm.c (s_align): Pad code sections appropriately.
124
125 2007-06-05 Paul Brook <paul@codesourcery.com>
126
127 * config/tc-arm.c (insns): Correct Thumb-2 ldrd/strd opcodes.
128
129 2007-06-05 Nick Clifton <nickc@redhat.com>
130
131 PR gas/4587
132 * config/tc-sparc.c (sparc_ip): Terminate tls_ops array.
133
134 2007-06-05 Alan Modra <amodra@bigpond.net.au>
135
136 * config/tc-spu.c (spu_cons): Use deferred_expression. Handle
137 number@ppu.
138 (tc_gen_reloc): Abort if neither addsy or subsy is set.
139 (md_apply_fix): Don't attempt to resolve SPU_PPU relocs.
140 * config/tc-spu.h (md_operand): Handle @ppu without sym.
141
142 2007-05-31 Paul Brook <paul@codesourcery.com>
143
144 * config/tc-arm.c (insns): Allow strex on M profile cores.
145
146 2007-05-29 David S. Miller <davem@davemloft.net>
147 Jakub Jelinek <jakub@redhat.com>
148
149 PR gas/4558
150 * config/tc-sparc.c (md_apply_fix): Fix relocation overflow checks
151 for BFD_RELOC_SPARC_WDISP16 and BFD_RELOC_SPARC_WDISP19.
152
153 2007-05-29 Alan Modra <amodra@bigpond.net.au>
154
155 * config/tc-spu.h: Wrap in #ifndef/#endif. Delete coff macros.
156
157 2007-05-29 Alan Modra <amodra@bigpond.net.au>
158
159 * config/tc-ppc.c: Convert to ISO C.
160 * config/tc-ppc.c: Likewise.
161
162 2007-05-29 Alan Modra <amodra@bigpond.net.au>
163
164 * write.h (EXEC_MACHINE_TYPE): Delete.
165 (string_byte_count, section_alignment): Delete.
166
167 2007-05-28 Nathan Sidwell <nathan@codesourcery.com>
168
169 * app.c (do_scrub_chars): Cope with \ at end of buffer.
170
171 2007-05-26 Alan Modra <amodra@bigpond.net.au>
172
173 * config/tc-ppc.c (ppc_insert_operand): Truncate sign bits in
174 top 32 bits of 64 bit value if so doing results in passing
175 range check. Rewrite sign extension fudges similarly. Enable
176 fudges for powerpc64 too. Report user value if range check
177 fails rather than fudged value. Negate PPC_OPERAND_NEGATIVE
178 range rather than value, also to report user value on failure.
179
180 2007-03-25 Paul Brook <paul@codesourcery.com>
181
182 * config/tc-arm.c (T2_SUBS_PC_LR): Define.
183 (do_t_add_sub): Correctly encode subs pc, lr, #const.
184 (do_t_mov_cmp): Correctly encode movs pc, lr.
185
186 2007-05-24 Steve Ellcey <sje@cup.hp.com>
187
188 * Makefile.in: Regnerate.
189 * configure: Regenerate.
190 * aclocal.m4: Regenerate.
191 * doc/Makefile.in: Regenerate.
192
193 2007-05-22 Bob Wilson <bob.wilson@acm.org>
194
195 * doc/c-xtensa.texi (Xtensa Automatic Alignment): Remove statements
196 and index entries about automatic alignment of ENTRY instructions.
197
198 2007-05-22 Nick Clifton <nickc@redhat.com>
199
200 * doc/as.texinfo: Use @copying around the copyright notice.
201
202 2007-05-18 Joseph Myers <joseph@codesourcery.com>
203
204 * config/tc-mips.c (s_mipsset): Use generic s_set for directives
205 containing a comma.
206
207 2007-05-17 H.J. Lu <hongjiu.lu@intel.com>
208
209 PR gas/4517
210 2003-06-05 Michal Ludvig <mludvig@suse.cz>
211 * doc/as.texinfo: Document new directives: .cfi_restore,
212 .cfi_undefined, .cfi_same_value, .cfi_return_column,
213 .cfi_remember_state and .cfi_restore_state.
214
215 2007-05-17 Nathan Sidwell <nathan@codesourcery.com>
216
217 * config/tc-m68k.c (md_apply_fix): Show value of out of range
218 fixups in error message.
219 (md_conver_frag_1): Propagate the fix source location and use
220 as_bad_where rather than fatal, for better error messages.
221
222 2007-05-16 Paul Brook <paul@codesourcery.com>
223
224 * config/tc-arm.c (v7m_psrs): Add uppercase PSR names and xpsr.
225
226 2007-05-15 Mark Shinwell <shinwell@codesourcery.com>
227
228 * app.c (do_scrub_chars): Don't damage \@ pseudo-variables.
229
230 2007-05-15 Vincent Riviere <vincent.riviere@freesbee.fr>
231
232 PR gas/3041
233 * config/tc-m68k.c (relaxable_symbol): Make sure that the correct
234 addend is stored for relocs against weak symbols.
235 (md_apply_fix): So not loose track of addend for relocs against
236 weak symbols.
237
238 2007-05-14 Thiemo Seufer <ths@mips.com>
239
240 * config/tc-mips.c (md_parse_option): Fix parsing of -O option.
241
242 2007-05-14 Mei Ligang <ligang@sunnorth.com.cn>
243
244 * config/tc-score.c (data_op2, validate_immediate): Fix bug for
245 addri, addri.c, subi, and subi.c when immediate number is hex.
246 (score_insns): Remove subis and subis.c.
247 (do_sub_rdi16): Delete.
248
249 2007-05-11 Alan Modra <amodra@bigpond.net.au>
250
251 * config/tc-spu.c (md_pseudo_table): Add int, long, quad. Call
252 spu_cons for word.
253 (md_assemble): Tidy use of insn.flag.
254 (get_imm): Likewise. Handle uppercase input too.
255 (spu_cons): New function.
256 * config/tc-spu.h (tc_fix_adjustable): Don't adjust SPU_PPU relocs.
257 (TC_FORCE_RELOCATION): Don't resolve them either.
258
259 2007-05-05 Mark Shinwell <shinwell@codesourcery.com>
260
261 * config/tc-arm.c (md_apply_fix): Generate more accurate
262 diagnostic when 8-bit immediate range is exceeded for
263 BFD_RELOC_ARM_OFFSET_IMM8.
264
265 2007-05-04 Alan Modra <amodra@bigpond.net.au>
266
267 PR gas/4460
268 * config/tc-i386.c (lex_got): Don't replace the reloc token with
269 a space if we already have a space.
270
271 2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
272
273 * config/tc-i386.c (match_template): Don't explicitly check
274 suffix for crc32 in Intel mode.
275 (process_suffix): Issue an error for crc32 if the operand size
276 is ambiguous.
277
278 2007-05-03 Vincent Riviere <vincent.riviere@freesbee.fr>
279 Nick Clifton <nickc@redhat.com>
280
281 PR gas/3041
282 * config/tc-m68k.c (relaxable_symbol): Do not relax weak symbols.
283 (tc_gen_reloc): Adjust the addend of relocs against weak symbols.
284 (md_apply_fix): Put zero values into the frags referencing weak
285 symbols.
286
287 2007-05-02 Alan Modra <amodra@bigpond.net.au>
288
289 PR 4448
290 * config/tc-ppc.c (ppc_insert_operand): Don't increase min for
291 PPC_OPERAND_PLUS1.
292
293 2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
294
295 * config/tc-i386.c (match_template): Check suffix for crc32 in
296 Intel mdoe.
297 (process_suffix): Default the suffix of 8bit crc32 to
298 BYTE_MNEM_SUFFIX.
299 (check_byte_reg): Skip check for 8bit crc32.
300
301 2007-04-30 H.J. Lu <hongjiu.lu@intel.com>
302
303 * config/tc-i386.c (md_assemble): Use register_prefix in
304 error/warning message.
305 (check_byte_reg): Likewise.
306 (check_long_reg): Likewise.
307 (check_qword_reg): Likewise.
308 (check_word_reg): Likewise.
309 (process_operands): Likewise.
310
311 2007-04-30 Alan Modra <amodra@bigpond.net.au>
312
313 PR 4436
314 * config/tc-ppc.c (ppc_insert_operand): Disable range check if
315 min > max.
316
317 2007-04-28 Thiemo Seufer <ths@networkno.de>
318
319 * config/tc-mips.c: Fix comment.
320
321 2007-04-26 Anatoly Sokolov <aesok@post.ru>
322
323 * config/tc-avr.c (mcu_types): Add support for atmega8hva and
324 atmega16hva devices. Move at90usb82 device to 'avr5' architecture.
325 * doc/c-avr.texi: Document new devices.
326
327 2007-04-24 Alan Modra <amodra@bigpond.net.au>
328
329 * Makefile.am: Run "make dep-am".
330 * Makefile.in: Regenerate.
331
332 2007-04-23 Nathan Sidwell <nathan@codesourcery.com>
333
334 * config/tc-m68k.c (mcf54455_ctrl): New.
335 (HAVE_LONG_DISP, HAVE_LONG_CALL, HAVE_LONG_COND): New.
336 (m68k_archs): Add isac.
337 (m68k_cpus): Add 54455 family.
338 (m68k_ip): Split Bg into Bb, Bs, Bg.
339 (m68k_elf_final_processing): Add ISA_C.
340 * doc/c-m68k.texi (M680x0 Options): Add isac.
341
342 2007-04-22 Alan Modra <amodra@bigpond.net.au>
343
344 * read.c (read_a_source_file): Skip multiple spaces to
345 cover hack in mmix md_start_line_hook which overwrites a
346 colon with a space. Delete sermon and needless assertion.
347
348 2007-04-21 Alan Modra <amodra@bigpond.net.au>
349
350 * config/atof-vax.c (atof_vax_sizeof): Change return type to unsigned.
351 (md_atof): Make number_of_chars unsigned. Revert last change.
352 * config/tc-or32.c (md_apply_fix): Delete bogus assertions.
353 * config/tc-sh.c (sh_optimize_expr): Only define for OBJ_ELF.
354 * config/tc-sh.h (md_optimize_expr): Likewise.
355 * config/tc-sh64.c (shmedia_md_pcrel_from_section): Delete bogus
356 assertion.
357 * config/tc-xtensa.c (convert_frag_immed_finish_loop): Likewise.
358
359 2007-04-21 Nick Clifton <nickc@redhat.com>
360
361 * config/atof-vax.c (md_atof): Fix comparison inside know().
362
363 * config/tc-ia64.c (emit_one_bundle): Fix typo.
364
365 2007-04-21 Alan Modra <amodra@bigpond.net.au>
366
367 * expr.c (expr): Assert on rankarg, not rank which can be unsigned.
368 * read.c (read_a_source_file): Remove buffer_limit[-1] assertion.
369 Don't skip over NUL char.
370 (pseudo_set): Set X_op for registers to O_register.
371 * symbols.c (symbol_clone): Remove assertion that sym is defined.
372 (resolve_symbol_value): Resolve O_register symbols.
373 * config/tc-i386.c (parse_real_register): Don't use i386_float_regtab.
374 Instead find st(0) by hash lookup.
375 * config/tc-ppc.c (ppc_macro): Warning fix.
376
377 * as.h (ENABLE_CHECKING): Default define to 0.
378 (know): Assert if ENABLE_CHECKING.
379 (struct relax_type): Remove superfluous declaration.
380 * configure.in (--enable-checking): New.
381 * configure: Regenerate.
382 * config.in: Regenerate.
383 * config/tc-ppc.c (ppc_setup_opcodes): Do checks when ENABLE_CHECKING.
384 Check for duplicate powerpc_operands entries.
385
386 2007-04-20 Nathan Sidwell <nathan@codesourcery.com>
387
388 * config/tc-m68k.c (mcf5253_ctrl): New.
389 (mcf52223_ctrl): New.
390 (m68k_cpus): Add 5253, 52221, 52223.
391
392 * config/m68k-parse.h (RAMBAR_ALT): New.
393 * config/tc-m68k.c (mcf5206_ctrl, mcf5307_ctrl): New.
394 (mcf_ctrl, mcf5208_ctrl, mcf5210a_ctrl, mcf5213_ctrl, mcf52235_ctrl,
395 mcf5225_ctrl, mcf5235_ctrl, mcf5271_ctrl, mcf5275_ctrl,
396 mcf5282_ctrl, mcf5329_ctrl, mcf5373_ctrl, mcfv4e_ctrl,
397 mcf5475_ctrl, mcf5485_ctrl): Add RAMBAR synonym for
398 RAMBAR1.
399 (mcf5272_ctrl): Add RAMBAR0, replace add RAMBAR with RAMBAR_ALT.
400 (m68k_cpus): Adjust 5206, 5206e & 5307 entries.
401 (m68k_ip) <Case J>: Detect when RAMBAR_ALT should be used. Add it
402 to control register mapping.
403
404 2007-04-20 Alan Modra <amodra@bigpond.net.au>
405
406 * messages.c (as_internal_value_out_of_range): Fix typo in
407 error message. Return after printing domain error.
408 * config/tc-ppc.c (ppc_insert_operand): Preserve low zero bits
409 in max when shifting right.
410
411 2007-04-20 Alan Modra <amodra@bigpond.net.au>
412
413 * messages.c (as_internal_value_out_of_range): Extend to report
414 errors for values with invalid low bits set.
415 * config/tc-ppc.c (ppc_setup_opcodes): Check powerpc_operands bitm
416 fields. Check that operands and opcode fields are disjoint.
417 (ppc_insert_operand): Check operands using mask rather than bit
418 count. Check low bits too. Handle PPC_OPERAND_PLUS1. Adjust
419 insertion code.
420 (md_apply_fix): Adjust for struct powerpc_operand change.
421
422 2007-04-19 Paul Brook <paul@codesourcery.com>
423
424 * config/tc-arm.c (md_assemble): Only allow 16-bit instructions on
425 Thumb-1. Add sanity check for bogus relaxations.
426
427 2007-04-19 Paul Brook <paul@codesourcery.com>
428
429 * config/tc-arm.c (insns): Allow rsb and rsbs on Thumb-1.
430
431 2007-04-19 Alan Modra <amodra@bigpond.net.au>
432
433 * Makefile.am: Run "make dep-am".
434 * Makefile.in: Regenerate.
435
436 2007-04-19 Nathan Froyd <froydnj@codesourcery.com>
437
438 * doc/c-ppc.texi (PowerPC-Opts): Document -me500, -me500x2, -mspe.
439
440 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
441
442 * doc/c-i386.texi; Document .ssse3, .sse4.1, .sse4.2 and .sse4.
443
444 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
445
446 * config/tc-i386.c (cpu_arch): Add .sse4.2 and .sse4.
447 (match_template): Handle operand size for crc32 in SSE4.2.
448 (process_suffix): Handle operand type for crc32 in SSE4.2.
449 (output_insn): Support SSE4.2.
450
451 2007-04-18 H.J. Lu <hongjiu.lu@intel.com>
452
453 * config/tc-i386.c (cpu_arch): Add .sse4.1.
454 (process_operands): Adjust implicit operand for blendvpd,
455 blendvps and pblendvb in SSE4.1.
456 (output_insn): Support SSE4.1.
457
458 2007-04-18 Paul Brook <paul@codesourcery.com>
459
460 * config/tc-arm.c (do_t_rsb): Use 16-bit encoding when possible.
461
462 2007-04-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
463
464 * config/tc-sh.c (sh_handle_align): Call as_bad_where instead
465 of as_warn_where for misaligned data.
466
467 2007-04-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
468
469 * config/tc-sh.c (align_test_frag_offset_fixed_p): Handle
470 rs_fill frags.
471
472 2007-04-14 Steve Ellcey <sje@cup.hp.com>
473
474 * Makefile.am: Add ACLOCAL_AMFLAGS.
475 * Makefile.in: Regenerate.
476
477 2007-04-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
478
479 * config/tc-sh.c (align_test_frag_offset_fixed_p): New.
480 (sh_optimize_expr): Likewise.
481 * config/tc-sh.h (md_optimize_expr): Define.
482 (sh_optimize_expr): Prototype.
483
484 2007-04-06 Matt Thomas <matt@netbsd.org>
485
486 * config/tc-vax.c (vax_cons): Added to support %pcrel{8,16,32}(exp)
487 to emit pcrel relocations by DWARF2 in non-code sections. Borrowed
488 heavily from tc-sparc.c. (vax_cons_fix_new): Likewise.
489
490 2007-04-04 Kazu Hirata <kazu@codesourcery.com>
491
492 * config/tc-m68k.c (HAVE_LONG_BRANCH): Add fido_a.
493
494 2007-04-04 Paul Brook <paul@codesourcery.com>
495
496 * config/tc-arm.c (do_neon_ext): Enforce immediate range.
497 (insns): Use I15 for vext.
498
499 2007-04-04 Paul Brook <paul@codesourcery.com>
500
501 * configure.tgt: Loosen checks for arm uclinux eabi targets.
502
503 2007-04-02 Sterling Augustine <sterling@tensilica.com>
504
505 * config/tc-xtensa.c (xtensa_flush_pending_output): Check
506 outputting_stabs_line_debug.
507
508 2007-03-26 Anatoly Sokolov <aesok@post.ru>
509
510 * config/tc-avr.c (mcu_types): Add support for at90pwm1, at90usb82,
511 at90usb162, atmega325p, atmega329p, atmega3250p and atmega3290p
512 devices.
513 * doc/c-avr.texi: Document new devices.
514
515 2007-04-02 Richard Sandiford <richard@codesourcery.com>
516
517 * doc/as.texinfo: Add -mvxworks-pic to the list of MIPS options.
518 * doc/c-mips.texi (-KPIC, -mvxworks-pic): Document.
519 * config/tc-mips.c (md_show_usage): Mention -mvxworks-pic.
520
521 2007-03-30 Sterling Augustine <sterling@tensilica.com>
522 Bob Wilson <bob.wilson@acm.org>
523
524 * config/tc-xtensa.c (xtensa_move_labels): Remove loops_ok argument.
525 Do not check is_loop_target flag.
526 (xtensa_frob_label): Adjust calls to xtensa_move_labels.
527 (xg_assemble_vliw_tokens): Likewise. Also avoid calling
528 xtensa_move_labels for alignment of loop opcodes.
529
530 2007-03-30 H.J. Lu <hongjiu.lu@intel.com>
531
532 * config/tc-i386.c (process_suffix): Reindent a bit.
533
534 2007-03-30 Paul Brook <paul@codesourcery.com>
535
536 * config/tc-arm.c (encode_thumb2_ldmstm): New function.
537 (do_t_ldmstm): Generate 16-bit push/pop. Use encode_thumb2_ldmstm.
538 (do_t_push_pop): Use encode_thumb2_ldmstm.
539
540 2007-03-29 DJ Delorie <dj@redhat.com>
541
542 * config/tc-m32c.c (rl_for, relaxable): Protect argument.
543 (md_relax_table): Add entries for ADJNZ macros.
544 (M32C_Macros): Add ADJNZ macros.
545 (subtype_mappings): Add entries for ADJNZ macros.
546 (insn_to_subtype): Check for adjnz and sbjnz insns.
547 (md_estimate_size_before_relax): Pass insn to insn_to_subtype.
548 (md_convert_frag): Convert adjnz and sbjnz.
549
550 2007-03-29 Nick Clifton <nickc@redhat.com>
551
552 * itbl-ops.c (itbl_entry): Remove unnecessary and excessively long
553 initialization.
554 * itbl-ops.h (enum e_processor): Initialise the e_nprocs field
555 using ITBL_NUMBER_OF_PROCESSORS.
556 * itbl-parse.y (yyerror): Remove use of redundant macro PARAMS.
557
558 2007-03-28 H.J. Lu <hongjiu.lu@intel.com>
559
560 * config/tc-i386.c (build_modrm_byte): For instructions with 2
561 register operands, encode destination in i.rm.regmem if its
562 RegMem bit is set.
563
564 2007-03-28 Richard Sandiford <richard@codesourcery.com>
565 Phil Edwards <phil@codesourcery.com>
566
567 * doc/as.texinfo: Put the contents after the title page rather
568 than at the end of the document.
569
570 2007-03-27 Alan Modra <amodra@bigpond.net.au>
571
572 * NEWS: Mention ".reloc".
573
574 2007-03-26 Sterling Augustine <sterling@tensilica.com>
575
576 * config/tc-xtensa.c (xg_translate_idioms): Allow assembly idioms
577 in FLIX instructions.
578
579 2007-03-26 Julian Brown <julian@codesourcery.com>
580
581 * config/tc-arm.c (arm_it): Add immisfloat field.
582 (parse_qfloat_immediate): Disallow integer syntax for floating-point
583 immediates. Fix hex immediates, handle 0.0 and -0.0 specially.
584 (parse_neon_mov): Set immisfloat bit for operand if it parsed as a
585 float.
586 (neon_cmode_for_move_imm): Reject non-float immediates for float
587 operands.
588 (neon_move_immediate): Pass immisfloat bit to neon_cmode_for_move_imm.
589
590 2007-03-26 Julian Brown <julian@codesourcery.com>
591
592 * doc/c-arm.texi: Add documentation for .dn/.qn directives.
593
594 2007-03-26 Alan Modra <amodra@bigpond.net.au>
595
596 * doc/as.texinfo (Reloc): Document.
597 * read.c (potable): Add "reloc".
598 (s_reloc): New function.
599 * write.c (reloc_list): New global var.
600 (resolve_reloc_expr_symbols): New function.
601 (write_object_file): Call it.
602 (write_relocs): Process reloc_list.
603 * write.h (struct reloc_list): New.
604 (reloc_list): Declare.
605
606 2007-03-24 Paul Brook <paul@codesourcery.com>
607
608 * config/tc-arm.c (do_t_ldmstm): Error on Thumb-2 addressing modes.
609
610 2007-03-24 Paul Brook <paul@codesourcery.com>
611 Mark Shinwell <shinwell@codesourcery.com>
612
613 * config/tc-arm.c (operand_parse_code): Add OP_oRRw.
614 (parse_operands): Don't expect comma if first operand missing.
615 Handle OP_oRRw.
616 (do_srs): Encode register number, checking it is r13. Update comment.
617 (insns): Update SRS entries to take a register.
618
619 2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
620
621 * config/tc-i386.c (md_begin): Allow '.' in mnemonic.
622
623 2007-03-23 Mark Shinwell <shinwell@codesourcery.com>
624
625 * config/tc-arm.c (md_apply_fix): Turn CBZ instructions that
626 attempt to jump to the next instruction into NOPs.
627
628 2007-03-23 Alan Modra <amodra@bigpond.net.au>
629
630 * config/tc-spu.c: Don't include opcode/spu.h.
631 (md_assemble): Set tc_fix_data.insn_tag and arg_format.
632 (md_apply_fix): Adjust.
633 * config/tc-spu.h: Include opcode/spu.h.
634 (struct tc_fix_info): New.
635 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Adjust.
636 (TC_FORCE_RELOCATION): Define.
637
638 2007-03-22 Joseph Myers <joseph@codesourcery.com>
639
640 * doc/as.texinfo: Include VERSION_PACKAGE when reporting version.
641
642 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
643
644 * config/tc-i386.c (process_suffix): Check 0x90 instead of
645 xchg for xchg %rax,%rax.
646
647 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
648
649 * config/tc-i386.c: Replace REX_MODE64, REX_EXTX, REX_EXTY
650 and REX_EXTZ with REX_W, REX_R, REX_X and REX_B respectively.
651
652 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
653
654 PR binutils/4218
655 * config/tc-i386.c (match_template): Properly handle 64bit mode
656 "xchg %eax, %eax".
657
658 2007-03-21 Anton Ertl <anton@mips.complang.tuw>
659
660 PR gas/4124
661 * config/tc-alpha.c (emit_ustX): Fix ustq code generation.
662
663 2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
664
665 * Makefile.am: Run dep-am.
666 * Makefile.in: Regenerated.
667
668 * config/tc-i386.c: Don't include "opcodes/i386-opc.h".
669
670 * config/tc-i386.h: Include "opcodes/i386-opc.h".
671 (NOP_OPCODE): Removed.
672 (template): Likewise.
673
674 2007-03-21 Andreas Schwab <schwab@suse.de>
675
676 * config/tc-i386.h (NOP_OPCODE): Restore.
677
678 2007-03-18 Mark Shinwell <shinwell@codesourcery.com>
679
680 * config/tc-arm.c (do_mul): Don't warn about overlapping
681 Rd and Rm operands when assembling for v6 or above.
682 Correctly capitalize register names in the messages.
683 (do_mlas): Likewise. Delete spurious blank line.
684
685 2007-03-16 Kazu Hirata <kazu@codesourcery.com>
686
687 * config/tc-m68k.c (m68k_cpus): Add an entry for fidoa.
688
689 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
690
691 * config/tc-i386.c (md_begin): Use i386_regtab_size to scan
692 i386_regtab.
693 (parse_register): Use i386_regtab_size instead of ARRAY_SIZE
694 on i386_regtab.
695
696 2007-03-15 Alexandre Oliva <aoliva@redhat.com>
697
698 PR gas/4184
699 * app.c (do_scrub_chars): PUT after setting states.
700
701 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
702
703 * Makefile.am: Run "make dep-am".
704 * Makefile.in: Regenerated.
705
706 * config/tc-i386.c: Include "opcodes/i386-opc.h" instead of
707 "opcode/i386.h".
708 (md_begin): Check reg_name != NULL for the last entry in
709 i386_regtab.
710
711 * config/tc-i386.h: Move many entries to opcode/i386.h and
712 opcodes/i386-opc.h.
713
714 * configure.in (need_opcodes): Set true for i386.
715 * configure: Regenerated.
716
717 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
718
719 * Makefile.am (REPORT_BUGS_TO): Removed.
720 (INCLUDES): Remove -DREPORT_BUGS_TO.
721 * Makefile.in: Regenerated.
722
723 * configure.in (--with-bugurl): Removed.
724 * configure: Regenerated.
725
726 * doc/Makefile.am (as_TEXINFOS): Remove gasver.texi.
727 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
728 (TEXI2DVI): Likewise.
729 (gasver.texi): Removed.
730 (MOSTLYCLEANFILES): Remove gasver.texi.
731 (as.1): Don't depend on gasver.texi.
732 * doc/Makefile.in: Regenerated.
733
734 * doc/as.texi: Include bfdver.texi instead of gasver.texi.
735
736 2007-03-14 Daniel Jacobowitz <dan@codesourcery.com>
737
738 * config/tc-arm.c (arm_copy_symbol_attributes): New.
739 * config/tc-arm.h (arm_copy_symbol_attributes): Declare.
740 (TC_COPY_SYMBOL_ATTRIBUTES): Define.
741 * gas/symbols.c (copy_symbol_attributes): Use
742 TC_COPY_SYMBOL_ATTRIBUTES.
743
744 2007-03-14 Paul Brook <paul@codesourcery.com>
745
746 * config/tc-arm.c (T16_32_TAB): Fix dec_sp encoding.
747
748 2007-03-14 Alan Modra <amodra@bigpond.net.au>
749
750 PR 4029
751 * write.c (relax_segment): Insert extra alignment padding
752 to break infinite relax loop when given impossible
753 gcc_except_table assembly.
754
755 2007-03-12 H.J. Lu <hongjiu.lu@intel.com>
756
757 * config/tc-i386.c (md_assemble): Use Opcode_XXX instead of XXX
758 on i.tm.base_opcode.
759 (match_template): Likewise.
760 (process_operands): Use ~0x3 mask to match MOV_AX_DISP32.
761
762 * config/tc-i386.h (Opcode_D): New.
763 (Opcode_FloatR): Likewise.
764 (Opcode_FloatD): Likewise.
765 (D): Redefined.
766 (W): Likewise.
767 (FloatMF): Likewise.
768 (FloatR): Likewise.
769 (FloatD): Likewise.
770
771 2007-03-09 Alexandre Oliva <aoliva@redhat.com>
772
773 * app.c (do_scrub_chars): Recognize comments after # line "file".
774 * read.c (get_linefile_number): New.
775 (s_app_line): Accept ill-formed .linefile lines as comments.
776
777 2007-03-09 Alan Modra <amodra@bigpond.net.au>
778
779 * config/tc-i386.h (WORKING_DOT_WORD): Define.
780
781 2007-03-09 Alexandre Oliva <aoliva@redhat.com>
782
783 * app.c (do_scrub_chars): Turn #<line>"file"flags into .linefile.
784 * as.h (new_logical_line_flags): New.
785 * input-scrub.c (new_logical_line): Turned into wrapper for...
786 (new_logical_line_flags): this. Handle flags.
787 * read.c (potable): Add linefile. Adjust appline argument.
788 (s_app_file): Fake .appfiles no more.
789 (s_app_line): For .linefile, accept file name and flags.
790
791 2007-03-08 Alan Modra <amodra@bigpond.net.au>
792
793 * symbols.c (symbol_relc_make_sym): Comment typo fixes.
794
795 2007-03-08 Alan Modra <amodra@bigpond.net.au>
796
797 * Makefile.am: Run "make dep-am".
798 * Makefile.in: Regenerate.
799 * po/POTFILES.in: Regenerate.
800
801 2007-03-07 Joseph Myers <joseph@codesourcery.com>
802
803 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
804 bug-reporting URL.
805 * doc/Makefile.am (gasver.texi): Define BUGURL.
806 * doc/as.texinfo: Use BUGURL.
807 * Makefile.in, configure, doc/Makefile.in: Regenerate.
808
809 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
810
811 * config/tc-s390.c (md_parse_option): z9-ec option added.
812
813 2007-03-02 Paul Brook <paul@codesourcery.com>
814
815 * config/tc-arm.c (relax_immediate): Always return positive values.
816 (relaxed_symbol_addr): New function.
817 (relax_adr, relax_branch): Use it.
818 (arm_relax_frag): Pass strect argument. Adjust infinite loop check.
819
820 2007-03-01 Joseph Myers <joseph@codesourcery.com>
821
822 * as.c (parse_args): Update copyright date.
823
824 2007-02-28 Nathan Sidwell <nathan@codesourcery.com>
825
826 * configure.tgt (sh-*-uclinux, sh[12]-*-uclinux): Specify as elf.
827
828 2007-02-28 Nick Clifton <nickc@redhat.com>
829
830 PR gas/3797
831 * config/tc-d10v.c (do_assemble): Do not generate error messages,
832 just return -1 whenever a problem is encountered.
833 (md_assemble): If do_assemble returns -1 generate a non-fatal
834 error message and return.
835
836 PR gas/2623
837 * config/tc-msp430.c (line_separator_char): Change to '{'.
838
839 2007-02-27 Alan Modra <amodra@bigpond.net.au>
840
841 * config/tc-m68hc11.c (fixup24): Correct fixup size.
842 (build_jump_insn): Likewise.
843 (build_insn): Likewise.
844 (s_m68hc11_relax): Likewise.
845
846 2007-02-27 Alan Modra <amodra@bigpond.net.au>
847
848 * config/obj-elf.c (elf_frob_file): frag_wane any new frags.
849
850 2007-02-25 Mark Shinwell <shinwell@codesourcery.com>
851
852 * config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad.
853
854 2007-02-23 Alan Modra <amodra@bigpond.net.au>
855
856 * config/tc-mn10300.c (md_convert_frag): Correct fixup size.
857 (md_assemble): Likewise.
858
859 2007-02-22 Alan Modra <amodra@bigpond.net.au>
860
861 * write.c (size_seg): Always clear SEC_RELOC here.
862 (install_reloc): New function, extracted from..
863 (write_relocs): ..here. Combine RELOC_EXPANSION_POSSIBLE code
864 with !RELOC_EXPANSION_POSSIBLE code. Don't add fr_offset when
865 testing frag size. Set SEC_RELOC here.
866
867 2007-02-21 Alan Modra <amodra@bigpond.net.au>
868
869 PR 4082
870 * config/tc-avr.h (TC_FX_SIZE_SLACK): Define.
871
872 2007-02-20 Thiemo Seufer <ths@mips.com>
873
874 * doc/c-mips.texi: Document 74kc, 74kf, 74kx.
875
876 2007-02-20 Thiemo Seufer <ths@mips.com>
877
878 * config/tc-mips.c (mips_cpu_info_table): Add 74K configurations.
879
880 2007-02-20 Thiemo Seufer <ths@mips.com>
881 Chao-Ying Fu <fu@mips.com>
882
883 * config/tc-mips.c (mips_set_options, mips_opts, file_ase_dspr2,
884 ISA_SUPPORTS_DSPR2_ASE, MIPS_CPU_ASE_DSPR2): Add DSP R2 ASE support.
885 (macro_build): Add case '2'.
886 (macro): Expand M_BALIGN to nop, packrl.ph or balign.
887 (validate_mips_insn): Add support for balign instruction.
888 (mips_ip): Handle DSP R2 instructions. Support balign instruction.
889 (OPTION_DSPR2, OPTION_NO_DSPR2, OPTION_COMPAT_ARCH_BASE,
890 md_parse_option, mips_after_parse_args): Add -mdspr2 and -mno-dspr2
891 command line options.
892 (s_mipsset): Add support for .set dspr2 and .set nodspr2 directives.
893 (md_show_usage): Add -mdspr2 and -mno-dspr2 help output.
894 * doc/c-mips.texi, doc/as.texinfo: Document -mdspr2, -mno-dspr2,
895 .set dspr2, .set nodspr2.
896
897 2007-02-20 Nathan Sidwell <nathan@codesourcery.com>
898
899 * config/tc-m68k.c (mcf5210a_ctrl, mcf52235_ctrl, mcf5225_ctrl): New.
900 (m68k_cpus): Add 5210a..5211a, 52230..52235 5224..5225.
901
902 2007-02-18 Alan Modra <amodra@bigpond.net.au>
903
904 * write.c (TC_FX_SIZE_SLACK): Define.
905 (write_relocs): Reinstate check for fixup within frag.
906 * config/tc-bfin.h (TC_FX_SIZE_SLACK): Define.
907 * config/tc-h8300.h (TC_FX_SIZE_SLACK): Define.
908 * config/tc-mmix.h (TC_FX_SIZE_SLACK): Define.
909 * config/tc-sh.h (TC_FX_SIZE_SLACK): Define.
910 * config/tc-xstormy16.h (TC_FX_SIZE_SLACK): Define.
911
912 2007-02-17 Mark Mitchell <mark@codesourcery.com>
913 Nathan Sidwell <nathan@codesourcery.com>
914 Vladimir Prus <vladimir@codesourcery.com
915 Joseph Myers <joseph@codesourcery.com>
916
917 * configure.in (--with-bugurl): New option.
918 * configure: Regenerate.
919 * dep-in.sed: Remove bin-bugs.h.
920 * Makefile.am (REPORT_BUGS_TO): Define.
921 (INCLUDES): Define REPORT_BUGS_TO.
922 (DEP_INCLUDES): Likewise.
923 ($(OBJS)): No longer depend on bin-bugs.h.
924 * Makefile.in: Regenerate.
925 * doc/Makefile.in: Regenerate.
926 * as.c (show_usage): Don't print empty REPORT_BUGS_TO.
927 * as.h: Remove include of bin-bugs.h.
928
929 2007-02-17 Alan Modra <amodra@bigpond.net.au>
930
931 * write.c: White space fixes.
932 (fixup_segment): Move symbol_mri_common_p adjustments..
933 (write_relocs): ..and symbol_equated_reloc_p adjustments..
934 (adjust_reloc_syms): ..to here.
935
936 2007-02-16 Alan Modra <amodra@bigpond.net.au>
937
938 * subsegs.c (subseg_change, subseg_get): Use xcalloc rather than
939 xmalloc, memset. Don't bother assigning NULL to known zero mem.
940 (subseg_set_rest): Remove unnecessary cast.
941 * write.c: Include libbfd.h. Replace PTR with void * throughout.
942 Remove unnecessary forward declarations and casts.
943 (set_symtab): Delete extern bfd_alloc.
944 (fixup_segment): Move.
945
946 2007-02-15 Nathan Sidwell <nathan@codesourcery.com>
947
948 * config/m68k-parse.h (m68k_register): Add ROMBAR0, ASID.
949 * config/tc-m68k.c (mcfv4e_ctrl): Add ColdFire specific names.
950 (mcf5475_ctrl, mcf5485_ctrl): New.
951 (m68k_cpus): Use mcf5485_ctrl and mcf5485_ctrl for those families.
952 (m68k_ip): Add ASID, MMUBAR, ROMBAR0 handling.
953 (init_table): Add asid, mmubar, adjust rombar0.
954
955 2007-02-14 Alan Modra <amodra@bigpond.net.au>
956
957 * config/tc-i386.h (Seg2ShortForm, Seg3ShortForm): Delete.
958 * config/tc-i386.c: Wrap overly long lines, whitespace fixes.
959 (process_operands): Move old Seg2ShortForm and Seg3ShortForm
960 code, and test for these insns using a combination of
961 opcode_modifier and operand_types.
962
963 2007-02-07 Paul Brook <paul@codesourcery.com>
964
965 * configure.tgt: Add arm*-*-uclinux-*eabi.
966
967 2007-02-05 Dave Brolley <brolley@redhat.com>
968 Richard Sandiford <rsandifo@redhat.com>
969 DJ Delorie <dj@redhat.com>
970 Stan Cox <scox@redhat.com>
971 Jim Blandy <jimb@redhat.com>
972 Nick Clifton <nickc@redhat.com>
973 Jim Wilson <wilson@redhat.com>
974 Frank Ch. Eigler <fche@redhat.com>
975 Graydon Hoare <graydon@redhat.com>
976 Ben Elliston <bje@redhat.com>
977 John Healy <jhealy@redhat.com>
978 Richard Henderson <rth@redhat.com>
979
980 * Makefile.am (CPU_TYPES): Add mep.
981 (TARGET_CPU_CFILES): Add tc-mep.c.
982 (TARGET_CPU_HFILES): Add tc-mep.h.
983 (DEPTC_mep_elf): New variable.
984 (DEPTC_mep_coff): Likewise.
985 (DEPOBJ_mep_coff, DEPOBJ_mep_elf, DEP_mep_coff, DEP_mep_elf): Likewise.
986 * configure.in: Support mep.
987 * configure.tgt: Likewise.
988 * config/tc-mep.c: New file.
989 * config/obj-elf.c: New file.
990 * config/tc-mep.c: New file.
991 * config/tc-mep.h: New file.
992 * testsuite/gas/mep: New testsuite with content.
993 * Makefile.in: Regenerate.
994 * configure: Regenerate.
995
996 2007-02-05 Dave Brolley <brolley@redhat.com>
997
998 * cgen.c (gas_cgen_install_complex_reloc): Removed.
999 (complex_reloc_installation_howto): Removed.
1000
1001 2007-02-05 Dave Brolley <brolley@redhat.com>
1002 Graydon Hoare <graydon@redhat.com>
1003 DJ Delorie <dj@redhat.com>
1004 Catherine Moore <clm@redhat.com>
1005 Michael Chastain <chastain@redhat.com>
1006 Frank Ch. Eigler <fche@redhat.com>
1007
1008 * symbols.c (use_complex_relocs_for): New, to decide
1009 when to use complex relocs. Add signed RELC support.
1010 (resolve_symbol_value): Call use_complex_relocs_for. Unconditionally
1011 encode expression symbols as mangled complex relocation symbols (when
1012 compiled with -DOBJ_COMPLEX_RELOC).
1013 (symbol_relc_make_sym,value,expr): New traversal/conversion routines.
1014 * cgen.c (gas_cgen_md_apply_fix3): Only set signed_p if RELC. Call
1015 encode_addend with new args. Modify to get start, length from
1016 ifield whenever it is set. Also change condition on which
1017 self-describing relocs are encoded. Add hook into
1018 gas_cgen_encode_addend.
1019 (queue_fixup_recursively): Add signed RELC support. Change from masked
1020 expr to trunc flag. Restore assignment of sub-field value to
1021 temporary in fixups array. Reflect changed meaning of last arg to
1022 queue_fixup_recursively.
1023 (fixup): Add cgen_maybe_multi_ifield member.
1024 (make_right_shifted_expr): New function.
1025 (queue_fixup): Change to recursive function that fragments
1026 fixups if operand has a multi-ifield.
1027 (gas_cgen_parse_operand): Add RELC code to wrap expressions in
1028 symbols, call weak_operand_overflow_check, and fragment call
1029 queue_fixup with operand fields.
1030 (gas_cgen_finish_insn) Modify to manage ifield pointer.
1031 (weak_operand_overflow_check): New function to try to select
1032 insns correctly.
1033 (gas_cgen_encode_addend): New function for relc.
1034 (gas_cgen_install_complex_reloc): Likewise.
1035 (gas_cgen_tc_gen_reloc): Add hook into gas_cgen_install_complex_reloc.
1036 * write.h (struct fix): Add msb_field_p to fx_cgen sub-struct. Add
1037 cgen_maybe_multi_ifield field to fx_cgen substructure.
1038 * cgen.h (GAS_CGEN_MAX_FIXUPS): Bump from 3 up to 32.
1039 * symbols.h (symbol_relc_make_sym,value,expr): New prototypes.
1040
1041 2007-02-03 DJ Delorie <dj@delorie.com>
1042
1043 * config/tc-m32c.c (m32c_cons_fix_new): New. Added to support 3
1044 byte relocs.
1045 * config/tc-m32c.h (TC_CONS_FIX_NEW): Define.
1046 (m32c_cons_fix_new): Prototype.
1047
1048 2007-02-02 Bob Wilson <bob.wilson@acm.org>
1049
1050 * config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init.
1051 (xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise.
1052
1053 2007-02-02 Bob Wilson <bob.wilson@acm.org>
1054
1055 * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.
1056 (xtensa_elf_suffix): Use suffix_relocs instead of local mapping table.
1057 (map_suffix_reloc_to_operator): New.
1058 (map_operator_to_reloc): New.
1059 (expression_maybe_register): Fix incorrect test of return value from
1060 xtensa_elf_suffix. Rearrange to use map_suffix_reloc_to_operator.
1061 (xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc.
1062
1063 2007-02-02 Bob Wilson <bob.wilson@acm.org>
1064
1065 * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field.
1066 (tinsn_get_tok): Delete prototype.
1067 * config/tc-xtensa.c (tinsn_get_tok): Delete.
1068
1069 2007-02-02 Bob Wilson <bob.wilson@acm.org>
1070
1071 * config/xtensa-relax.h (struct build_instr): Delete id field.
1072 * config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL
1073 and LABEL tokens.
1074 (append_literal_op, append_label_op): Remove litnum/labnum arguments;
1075 set op_data fields to zero.
1076 (parse_id_constant): Delete.
1077 (build_transition): Remove code to handle numbered literals and labels.
1078
1079 2007-02-02 Bob Wilson <bob.wilson@acm.org>
1080
1081 * config/xtensa-relax.c (build_transition): Remove code after as_fatal.
1082 (build_transition_table): Likewise.
1083
1084 2007-02-01 Bob Wilson <bob.wilson@acm.org>
1085
1086 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of
1087 fx_tcbit.
1088 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove.
1089
1090 2007-02-02 Alan Modra <amodra@bigpond.net.au>
1091
1092 * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move.
1093 (struct fix <fx_plt>): Rename to tcbit2.
1094 * write.c (fix_new_internal): Adjust.
1095 (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
1096 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1097 * config/tc-cris.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1098 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1099 * config/tc-i960.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1100 * config/tc-sh.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1101 * config/tc-sh64.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1102 * config/tc-sparc.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1103 * config/tc-msp430.c (msp430_force_relocation_local): Likewise.
1104 * config/tc-ia64.c (emit_one_bundle): Don't set fx_plt.
1105 * config/tc-ia64.h (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
1106 Instead, compare fx_r_type.
1107 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Use
1108 fx_tcbit in place of fx_plt.
1109 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Define.
1110 * doc/internals.texi (TC_FORCE_RELOCATION_LOCAL): Remove reference
1111 to fx_plt.
1112
1113 2007-01-30 Nick Clifton <nickc@redhat.com>
1114
1115 * as.c (main): Mark symbols created via the --defsym command line
1116 option as volatile so that they can be overridden later on by a
1117 .set directive. This maintains compatibility with the behaviour
1118 of earlier versions of the assembler.
1119 * doc/as.texinfo (--defsym): Document that the defined symbol's
1120 value can be overridden via a .set directive.
1121
1122 2007-01-28 H.J. Lu <hongjiu.lu@intel.com>
1123
1124 * config/tc-i386.c (swap_imm_operands): Renamed to ...
1125 (swap_2_operands): This. Take 2 ints.
1126 (md_assemble): Updated.
1127 (swap_operands): Call swap_2_operands to swap 2 operands.
1128
1129 2007-01-24 DJ Delorie <dj@redhat.com>
1130
1131 * config/tc-m32c.c (md_pseudo_table): Add .3byte.
1132
1133 2007-01-22 Nick Clifton <nickc@redhat.com>
1134
1135 PR gas/3871
1136 * tc-score.c: Remove unnecessary uses of _().
1137 Make the err_msg[] a file level local array in order to save
1138 storage space.
1139 Remove unnecessary sprintf()s.
1140
1141 2007-01-18 Mei Ligang <ligang@sunnorth.com.cn>
1142
1143 PR gas/3871
1144 * config/tc-score.c : Using _() for const string.
1145 Do not assign inst.error with a local string pointer.
1146 (md_section_align): Pad section.
1147
1148 2007-01-13 H.J. Lu <hongjiu.lu@intel.com>
1149
1150 * config/tc-i386.c (build_modrm_byte): Check number of operands
1151 when procssing memory/register operand.
1152
1153 2007-01-12 Nick Clifton <nickc@redhat.com>
1154
1155 PR gas/3856
1156 * macro.c (expand_irp): Do not ignore spaces inside quoted
1157 strings.
1158
1159 2007-01-12 Alan Modra <amodra@bigpond.net.au>
1160
1161 * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
1162 * config/tc-m32r.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
1163 * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
1164 (TC_FORCE_RELOCATION): Define.
1165 (TC_FORCE_RELOCATION_LOCAL): Define.
1166 * config/tc-mn10300.c (mn10300_fix_adjustable): Adjust.
1167
1168 2007-01-12 Alan Modra <amodra@bigpond.net.au>
1169
1170 * input-file.c (input_file_open): Check fgets return.
1171
1172 2007-01-11 Paul Brook <paul@codesourcery.com>
1173
1174 * config/tc-arm.c (do_t_add_sub): Use Rd and Rs.
1175
1176 2007-01-11 Nick Clifton <nickc@redhat.com>
1177
1178 PR gas/3707
1179 * config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt
1180 variable.
1181
1182 * config/tc-mcore.c (md_number_to_chars): Use
1183 number_to_chars_{big|little}endian.
1184
1185 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
1186
1187 * config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an
1188 architecture by itself.
1189 (m68k_ip): Don't issue a warning for tbl instructions on fido.
1190 (m68k_elf_final_processing): Treat Fido as an architecture by
1191 itself.
1192
1193 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
1194
1195 * configure.tgt: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*
1196
1197 2007-01-05 H.J. Lu <hongjiu.lu@intel.com>
1198
1199 * config/tc-i386.c (set_intel_syntax): Update set_intel_syntax
1200 depending on allow_naked_reg.
1201
1202 2007-01-04 Paul Brook <paul@codesourcery.com>
1203
1204 * config/tc-arm.c (do_cpsi): Set mmod bit for 2 argument form.
1205
1206 2007-01-04 H.J. Lu <hongjiu.lu@intel.com>
1207
1208 PR gas/3830
1209 * config/tc-i386.c (register_prefix): New.
1210 (set_intel_syntax): Set set_intel_syntax to "" if register
1211 prefix isn't needed.
1212 (check_byte_reg): Use register_prefix for error message.
1213 (check_long_reg): Likewise.
1214 (check_qword_reg): Likewise.
1215 (check_word_reg): Likewise.
1216
1217 2006-01-04 Julian Brown <julian@codesourcery.com>
1218
1219 * config/tc-arm.c (do_neon_shl_imm): Swap rN, rM.
1220 (do_neon_qshl_imm): Likewise.
1221 (do_neon_rshl): New function. Handle rounding variants of
1222 v{q}shl-by-register.
1223 (insns): Use do_neon_rshl for vrshl, vqrshl.
1224
1225 2007-01-04 Paul Brook <paul@codesourcery.com>
1226
1227 * config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt
1228 and vacle.
1229
1230 2007-01-03 H.J. Lu <hongjiu.lu@intel.com>
1231
1232 * config/tc-i386.c (swap_operands): Remove branches.
1233
1234 2007-01-03 H.J. Lu <hongjiu.lu@intel.com>
1235
1236 * config/tc-i386.c: Update copyright year.
1237 * config/tc-i386.h: Likewise.
1238
1239 2007-01-03 H.J. Lu <hongjiu.lu@intel.com>
1240
1241 * config/tc-i386.c (smallest_imm_type): Return unsigned int
1242 instead of int.
1243
1244 2007-01-03 H.J. Lu <hongjiu.lu@intel.com>
1245
1246 * config/tc-i386.c: Convert to ISO C90 formatting
1247 * config/tc-i386.h: Likewise.
1248
1249 2007-01-03 David Daney <ddaney@avtrex.com>
1250
1251 * config/tc-mips.c (md_show_usage): Clean up -mno-shared
1252 documentation.
1253
1254 For older changes see ChangeLog-2006
1255 \f
1256 Local Variables:
1257 mode: change-log
1258 left-margin: 8
1259 fill-column: 74
1260 version-control: never
1261 End:
This page took 0.058829 seconds and 4 git commands to generate.