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