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