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