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