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