PR gas/11733
[binutils-gdb.git] / gas / ChangeLog
1 2010-06-21 Alan Modra <amodra@gmail.com>
2
3 PR gas/11733
4 * config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
5
6 2010-06-18 Joseph Myers <joseph@codesourcery.com>
7
8 * config/tc-tic6x.h (tic6x_segment_info_type): Add field
9 func_units_used.
10 * config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
11 (md_assemble): Clear func_units_used for new execute packet.
12 Check for duplicate functional units and update func_units_used
13 for instructions using a functional unit.
14
15 2010-06-15 Joseph Myers <joseph@codesourcery.com>
16
17 * config/tc-tic6x.c: Include elf/tic6x.h.
18 (tic6x_arch_attribute, tic6x_seen_insns): New.
19 (tic6x_arch_table, tic6x_arches): Add attribute values.
20 (tic6x_use_arch): Handle attribute settings.
21 (tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
22 tic6x_attribute_table, tic6x_attributes,
23 tic6x_convert_symbolic_attribute): New.
24 (md_pseudo_table): Add c6xabi_attribute.
25 (md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
26 (tic6x_set_attribute_int, tic6x_set_attributes): New.
27 (tic6x_end): Call tic6x_set_attributes.
28 * config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
29 (tic6x_convert_symbolic_attribute): Declare.
30
31 2010-06-14 Alan Modra <amodra@gmail.com>
32
33 * config/tc-ppc.c (md_assemble): Emit APUinfo section for
34 PPC_OPCODE_E500.
35
36 2010-06-11 Jan Beulich <jbeulich@novell.com>
37
38 * config/tc-i386.c (md_parse_option): Ignore impossible processor
39 types.
40 (show_arch): New parameter 'check'.
41 (md_show_usage): Adjust calls to show_arch().
42
43 2010-06-10 H.J. Lu <hongjiu.lu@intel.com>
44
45 * config/tc-i386.c (update_code_flag): New.
46 (set_code_flag): Use it.
47 (i386_target_format): Replace set_code_flag with update_code_flag.
48
49 2010-06-10 Tristan Gingold <gingold@adacore.com>
50
51 * config/obj-som.h: Includes som/reloc.h
52
53 2010-06-10 Jan Beulich <jbeulich@novell.com>
54
55 * config/tc-i386.c (cpu_arch): Add comment.
56 (i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
57 from the generic entries of cpu_arch[].
58
59 2010-06-08 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
60
61 * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
62 value.
63 (parse_operands): Add support for OP_RRnpctw.
64 (insns): Update floating-point load/store multiples so the
65 first register is of type OP_RRnpctw.
66
67 2010-06-08 Quentin Neill <quentin.neill@amd.com>
68
69 * config/tc-i386.c (pi): Rename local loop counter
70 variable i that shadows global static i386_insn i
71 when DEBUG386 is defined.
72 (pte) Ditto.
73
74 2010-06-08 Nick Clifton <nickc@redhat.com>
75
76 * doc/as.texinfo: Replace abbreviated 20th century year numbers
77 with full versions.
78
79 2010-06-02 Quentin Neill <quentin.neill@amd.com>
80
81 * config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
82
83 2010-06-02 Tristan Gingold <gingold@adacore.com>
84
85 * as.h: Remove conditionnal definition of HAVE_STDARG_H,
86 USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
87 Remove conditionnal inclusion of stdarg.h and varargs.h.
88 Assume ISO C.
89 * config.in: Regenerate.
90 * configure: Regenerate.
91 * configure.in: Remove stdarg.h and varargs.h from
92 AC_CHECK_HEADERS list.
93 * messages.c (as_tsktsk): Remove non ISO C version.
94 (as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
95
96 2010-05-31 Tristan Gingold <gingold@adacore.com>
97
98 * config/tc-alpha.c: Add comments for evax.
99 * config/obj-evax.c: Ditto.
100
101 2010-05-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
102
103 * config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
104 lsls and not adds.
105
106 2010-05-27 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
107
108 * config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
109 writeback when base register is in register list an error, and
110 correct check.
111 (do_t_ldmstm): Change warnings.
112
113 2010-05-26 Catherine Moore <clm@codesourcery.com>
114
115 * config/tc-mips.c (is_opcode_valid): Remove expansionp.
116 (macro_build): Change invocation of is_opcode_valid.
117 (mips_ip): Likewise.
118
119 2010-05-25 Nick Clifton <nickc@redhat.com>
120
121 * Makefile.am (MOSTLYCLEANFILES): Fix typo.
122 * Makefile.in: Regenerate.
123
124 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
125 Joseph Myers <joseph@codesourcery.com>
126 Andrew Stubbs <ams@codesourcery.com>
127
128 * config/tc-sh.c (sh_fdpic): New.
129 (sh_check_fixup): Handle relocations on movi20.
130 (parse_exp): Do not reject PIC operators here.
131 (build_Mytes): Check for unhandled PIC operators here. Use
132 sh_check_fixup for movi20.
133 (enum options): Add OPTION_FDPIC.
134 (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
135 (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
136 (sh_elf_final_processing): Handle --fdpic.
137 (sh_uclinux_target_format): New.
138 (sh_parse_name): Handle FDPIC relocation operators.
139 * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
140 (sh_uclinux_target_format): Declare for TE_UCLINUX.
141 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
142 em=uclinux.
143 * doc/c-sh.texi (SH Options): Document --fdpic.
144
145 2010-05-25 Jay Krell <jay.krell@cornell.edu>
146
147 PR ld/11621
148 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
149 * Makefile.in: Regenerate.
150
151 2010-05-25 Alan Modra <amodra@gmail.com>
152
153 * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
154
155 2010-05-19 Nick Clifton <nickc@redhat.com>
156
157 * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
158 of known section prefixes.
159
160 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
161
162 PR gas/11600
163 * obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
164 (obj_elf_parse_section_letters): Likewise.
165 (obj_elf_section_word): Likewise.
166
167 * config/tc-ppc.c (ppc_section_letter): Removed.
168 (ppc_section_word): Likewise.
169 * config/tc-ppc.h (ppc_section_letter): Likewise.
170 (ppc_section_word): Likewise.
171 (md_elf_section_letter): Likewise.
172 (md_elf_section_word): Likewise.
173
174 * doc/as.texinfo: Document `e' and `#exclude'.
175
176 2010-05-13 Nathan Sidwell <nathan@codesourcery.com>
177
178 * config/tc-arm.c (md_assemble): Clarify current mode in error
179 messages about unsupported instructions.
180 (UT): Delete #define.
181 (insns): Adjust cbnz, cbz appropriately.
182
183 2010-05-11 Andrew Stubbs <ams@codesourcery.com>
184
185 * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
186
187 2010-05-11 Jie Zhang <jie@codesourcery.com>
188
189 * config/tc-arm.c (aeabi_set_public_attributes): Set
190 Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
191
192 2010-05-07 Tristan Gingold <gingold@adacore.com>
193
194 * Makefile.in: Regenerate with automake 1.11.1.
195 * aclocal.m4: Ditto.
196 * doc/Makefile.in: Ditto.
197
198 2010-05-05 Nick Clifton <nickc@redhat.com>
199
200 * po/es.po: Updated Spanish translation.
201
202 2010-05-05 Julian Brown <julian@codesourcery.com>
203
204 * read.c (cons_worker): Detect and reject unexpected string argument.
205
206 2010-05-04 Nick Clifton <nickc@redhat.com>
207
208 * write.c (fixup_segment): Revert previous delta.
209 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
210 generation of relocations for fixups against weak symbols.
211
212 2010-04-29 Nathan Sidwell <nathan@codesourcery.com>
213
214 * write.c (fixup_segment): Do not assume we know the section a
215 defined weak symbol is in.
216 * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
217 weak symbols as not known to be in the same section, even if they
218 are defined.
219
220 2010-04-27 Joseph Myers <joseph@codesourcery.com>
221
222 * config/tc-tic6x.h (tic6x_label_list): New.
223 (tic6x_segment_info_type): Keep a list of labels and a current
224 frag instead of a boolean for whether labels seen and a count of
225 instructions.
226 (tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
227 md_do_align, tic6x_do_align, md_end, tic6x_end): New.
228 * config/tc-tic6x.c (tic6x_frob_label): Put label on list.
229 (tic6x_cleanup): Correct comment.
230 (tic6x_free_label_list): New.
231 (tic6x_cons_align): Free label list and update for
232 tic6x_segment_info_type changes.
233 (tic6x_do_align): New.
234 (md_assemble): Handle list of labels and saved frag for execute
235 packet. Create machine-dependent frag for new execute packet and
236 adjust labels accordingly.
237 (tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
238 (md_convert_frag, md_estimate_size_before_relax): Update comments.
239
240 2010-04-24 H.J. Lu <hongjiu.lu@intel.com>
241
242 PR gas/11535
243 * config/tc-i386-intel.c (intel_state): Add is_indirect.
244 (i386_intel_operand): Initialize intel_state.is_indirect. Check
245 intel_state.is_indirect for "call|jmp [symbol]".
246
247 2010-04-22 Nick Clifton <nickc@redhat.com>
248
249 * po/gas.pot: Updated by the Translation project.
250
251 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
252
253 * config/tc-i386.c (i386_is_register): Removed.
254 (x86_cons): Don't use i386_is_register.
255 (parse_register): Likewise.
256 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
257 (i386_intel_operand): Likewise.
258
259 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
260
261 * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
262 i386_is_register.
263
264 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
265
266 * config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
267 (x86_cons): Updated.
268 (parse_register): Likewise.
269 (tc_x86_parse_to_dw2regnum): Likewise.
270 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
271 (i386_intel_operand): Likewise.
272
273 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
274
275 PR gas/11509
276 * config/tc-i386-intel.c (i386_intel_simplify_register): New.
277 (i386_intel_simplify): Use i386_is_register and
278 i386_intel_simplify_register. Set X_md for O_register and
279 check X_md for O_constant.
280 (i386_intel_operand): Use i386_is_register.
281
282 * config/tc-i386.c (i386_is_register): New.
283 (x86_cons): Initialize the X_md field. Use i386_is_register.
284 (parse_register): Use i386_is_register.
285 (tc_x86_parse_to_dw2regnum): Likewise.
286
287 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
288
289 * expr.c (expr): Initialize the X_md field.
290
291 2010-04-20 Joseph Myers <joseph@codesourcery.com>
292
293 * config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
294 (md_longopts): Add -mgenerate-rel.
295 (tic6x_generate_rela): New.
296 (md_parse_option): Handle -mgenerate-rel.
297 (md_show_usage): Add comment that -mgenerate-rel is undocumented.
298 (tic6x_init_after_args): New.
299 (md_apply_fix): Correct shift calculations for SB-relative
300 relocations.
301 (md_pcrel_from): Change to tic6x_pcrel_from_section. Do not
302 adjust addresses for relocations referencing symbols in other
303 sections.
304 (tc_gen_reloc): Adjust addend calculations for REL relocations.
305 * config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
306 tic6x_pcrel_from_section, tc_init_after_args,
307 tic6x_init_after_args): New.
308
309 2010-04-20 Nick Clifton <nickc@redhat.com>
310
311 PR gas/11507
312 * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
313 altmacro mode if found inside a quoted string.
314
315 2010-04-20 Mike Frysinger <vapier@gentoo.org>
316
317 * config/bfin-lex.l (parse_int): Change index() to strchr().
318
319 2010-04-16 Nick Clifton <nickc@redhat.com>
320
321 PR gas/11395
322 * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
323 matcher to accept and unconditional 32-bit add instruction.
324 (pa_build_unwind_subspace): Cope with error conditions not
325 allowing the start symbol to be set.
326
327 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
328
329 * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
330 new tag names in v2.08 of ARM ABI.
331 * doc/c-arm.texi: Document new tag names in ABI.
332
333 2010-04-14 Tristan Gingold <gingold@adacore.com>
334
335 * config/tc-alpha.c: Includes vms/egps.h on EVAX.
336 (s_alpha_comm): Used new EGPS macros from egps.h
337 (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
338 (s_alpha_section_word): Add comments. Use new EGPS macros.
339 Adjust for modified bfd_vms_set_section_flags function.
340
341 2010-04-10 Alan Modra <amodra@gmail.com>
342
343 PR gas/11486
344 * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
345
346 2010-04-09 Nick Clifton <nickc@redhat.com>
347
348 * as.c (create_obj_attrs_section): Remove unused variable addr.
349 * listing.c (listing_listing): Remove unused variable message.
350 * read.c: Remove unnecessary register type qualifiers.
351 (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
352 defined.
353
354 2010-04-07 Eric B. Weddington <eric.weddington@atmel.com>
355
356 * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
357 atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
358 atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
359 atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
360 atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
361 atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
362 atmega88pa, attiny461a, attiny84a, m3000.
363 Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
364 atmega8hvd, attiny327, m3000f, m3000s, m3001b.
365 * doc/c-avr.texi: Same.
366
367 2010-04-07 Jie Zhang <jie@codesourcery.com>
368
369 * config/tc-arm.c (make_mapping_symbol): Handle the case
370 that multiple mapping symbols have the same value 0.
371
372 2010-04-07 Alan Modra <amodra@gmail.com>
373
374 * configure: Regenerate.
375
376 2010-04-06 Nick Clifton <nickc@redhat.com>
377
378 * po/ru.po: New Russian translation.
379 * configure.in (ALL_LINGUAS): Add ru.
380 * configure: Regenerate.
381
382 2010-03-30 H.J. Lu <hongjiu.lu@intel.com>
383
384 PR gas/11456
385 * input-scrub.c (input_scrub_next_buffer): Use memmove instead
386 of memcpy to copy overlap memory.
387
388 2010-03-25 Joseph Myers <joseph@codesourcery.com>
389
390 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
391 (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
392 * Makefile.in: Regenerate.
393 * NEWS: Add news entry for TI C6X support.
394 * app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle
395 TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in
396 operands if TC_KEEP_OPERAND_SPACES.
397 * configure.tgt (tic6x-*-*): New.
398 * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
399 TC_PREDICATE_END_CHAR): Define.
400 * config/tc-tic6x.c, config/tc-tic6x.h: New.
401 * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
402 * doc/Makefile.in: Regenerate.
403 * doc/all.texi (TIC6X): Define.
404 * doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi.
405 * doc/c-tic6x.texi: New.
406
407 2010-03-22 H.J. Lu <hongjiu.lu@intel.com>
408
409 * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
410
411 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
412
413 * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
414 with operand_size_mismatch.
415 (operand_size_match): Updated.
416 (match_template): Likewise.
417
418 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
419
420 * config/tc-i386.c (i386_error): New.
421 (_i386_insn): Replace err_msg with error.
422 (operand_size_match): Set error instead of err_msg on failure.
423 (operand_type_match): Likewise.
424 (operand_type_register_match): Likewise.
425 (VEX_check_operands): Likewise.
426 (match_template): Likewise. Use error instead of err_msg with
427 as_bad.
428
429 2010-03-19 Jie Zhang <jie@codesourcery.com>
430
431 * config/tc-arm.c (make_mapping_symbol): Hanle the case
432 that two mapping symbols have the same value.
433
434 2010-03-18 Daniel Jacobowitz <dan@codesourcery.com>
435
436 * doc/c-arm.texi (.setfp): Correct example.
437
438 2010-03-18 Wei Guozhi <carrot@google.com>
439
440 PR gas/11323
441 * config/tc-arm.c (reloc_names): New relocation names.
442 (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
443 (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
444 * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
445
446 2010-03-15 Thomas Schwinge <thomas@codesourcery.com>
447
448 * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
449 cases, and not only for .eh_frame.
450
451 * dw2gencfi.c (output_cie): Make it more explicit which code paths
452 belong to .eh_frame only.
453
454 2010-03-13 Segher Boessenkool <segher@kernel.crashing.org>
455
456 * config/tc-v850.c (v850_insert_operand): Handle out-of-range
457 assembler constants on 64-bit hosts.
458
459 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
460
461 * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
462 Strip trailing whitespace.
463
464 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
465
466 * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
467 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
468 BFIN_CPU_BF506.
469 (bfin_cpus[]): Add 0.0 for bf504 and bf506.
470
471 2010-03-10 Jie Zhang <jie@codesourcery.com>
472
473 * doc/as.texinfo: Add Blackfin options.
474 * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
475 * config/tc-bfin.c (md_show_usage): Show usage for all
476 Blackfin specific options.
477
478 2010-03-09 Alan Modra <amodra@gmail.com>
479
480 PR gas/11356
481 * listing.c (listing_newline): Correct backslash quote logic.
482
483 2010-03-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
484
485 * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
486 (ELF_TARGET_FORMAT64): Define.
487
488 2010-03-05 Paul Brook <paul@codesourcery.com>
489
490 * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
491
492 2010-03-02 Andrew Stubbs <ams@codesourcery.com>
493
494 * config/tc-sh.c (get_specific): Move overflow checking code to avoid
495 reading uninitialized data.
496
497 2010-03-01 Tristan Gingold <gingold@adacore.com>
498
499 * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
500
501 2010-02-26 Doug Evans <dje@sebabeach.org>
502
503 * configure.tgt: Fix mep cpu case.
504
505 2010-02-26 Jie Zhang <jie@codesourcery.com>
506
507 * config/tc-arm.c (do_t_strexd): Remove
508 operand[1] != operand[2] contraint.
509
510 2010-02-26 Jie Zhang <jie@codesourcery.com>
511
512 * config/tc-arm.c (neon_select_shape): No need to match
513 the remaining operands in the shape when one operand does
514 not match.
515
516 2010-02-26 Jie Zhang <jie@codesourcery.com>
517
518 * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
519 alignment.
520
521 2010-02-25 Doug Evans <dje@sebabeach.org>
522
523 * cgen.c: Whitespace fixes.
524 (weak_operand_overflow_check): Formatting fix.
525
526 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
527
528 * config/tc-i386.c (match_template): Update error messages.
529
530 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
531
532 * config/tc-i386.c (_i386_insn): Add err_msg.
533 (operand_size_match): Set err_msg on failure.
534 (operand_type_match): Likewise.
535 (operand_type_register_match): Likewise.
536 (VEX_check_operands): Likewise.
537 (match_template): Likewise. Use i.err_msg with as_bad.
538
539 2010-02-25 Wu Zhangjin <wuzhangjin@gmail.com>
540
541 * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
542 mips_fix_loongson2f_jump): New variables.
543 (md_longopts): Add New options -mfix-loongson2f-nop/jump,
544 -mno-fix-loongson2f-nop/jump.
545 (md_parse_option): Initialize variables via above options.
546 (options): New enums for the above options.
547 (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
548 (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
549 New functions.
550 (append_insn): call fix_loongson2f().
551 (mips_handle_align): Replace the implicit nops.
552 * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
553 for the new mips_handle_align().
554 * doc/c-mips.texi: Document the new options.
555
556 2010-02-23 Daniel Gutson <dgutson@codesourcery.com>
557
558 * config/tc-arm.c (do_rd_rm_rn): Added warning
559 for obsolete insns.
560
561 2010-02-23 Andrew Zabolotny <anpaza@mail.ru>
562
563 PR binutils/11297
564 * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
565 (avr_cons_fix_new): Handle fixups of a single byte.
566
567 2010-02-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
568
569 PR 9861
570 * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
571 compiler's predefines.
572
573 2010-02-19 Alan Modra <amodra@gmail.com>
574
575 * configure.tgt: Whiltespace. Sort moxie entry.
576
577 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
578
579 * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
580 * doc/c-arm.texi: Likewise.
581
582 2010-02-12 Daniel Gutson <dgutson@codesourcery.com>
583
584 * config/tc-arm.c (asm_opcode): operands type
585 change.
586 (BAD_PC_ADDRESSING): New macro message.
587 (BAD_PC_WRITEBACK): Likewise.
588 (MIX_ARM_THUMB_OPERANDS): New macro.
589 (operand_parse_code): Added enum values.
590 (parse_operands): Added thumb/arm distinction,
591 plus new enum values handling.
592 (encode_arm_addr_mode_2): Validations enhanced.
593 (encode_arm_addr_mode_3): Likewise.
594 (do_rm_rd_rn): Likewise.
595 (encode_thumb32_addr_mode): Likewise.
596 (do_t_ldrex): Likewise.
597 (do_t_ldst): Likewise.
598 (do_t_strex): Likewise.
599 (md_assemble): Call parse_operands with
600 a new parameter.
601 (OPS_1): New macro.
602 (OPS_2): Likewise.
603 (OPS_3): Likewise.
604 (OPS_4): Likewise.
605 (OPS_5): Likewise.
606 (OPS_6): Likewise.
607 (insns): Updated insns operands.
608
609 2010-02-12 Tristan Gingold <gingold@adacore.com>
610 Douglas B Rupp <rupp@gnat.com>
611
612 * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
613 (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
614 (pseudo_func): Add an entry for slotcount.
615 (md_begin): Initialize slotcount pseudo symbol.
616 (ia64_parse_name): Handle @slotcount parameter.
617 (ia64_gen_real_reloc_type): Handle slotcount.
618 (md_apply_fix): Ditto.
619 * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
620
621 2010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com>
622
623 * config/tc-xtensa.c (istack_init): Don't call memset.
624
625 2010-02-11 Sterling Augustine <sterling@tensilica.com>
626
627 * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
628 well as suffixes.
629
630 2010-02-11 Sterling Augustine <sterling@tensilica.com>
631
632 * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
633
634 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
635
636 * config/tc-i386.c (build_modrm_byte): Reformat.
637
638 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
639
640 * config/tc-i386.c: Update copyright.
641
642 2010-02-10 Quentin Neill <quentin.neill@amd.com>
643 Sebastian Pop <sebastian.pop@amd.com>
644
645 * config/tc-i386.c (vec_imm4) New operand type.
646 (fits_in_imm4): New.
647 (VEX_check_operands): New.
648 (check_reverse): Call VEX_check_operands.
649 (build_modrm_byte): Reintroduce code for 5
650 operand insns. Fix whitespace.
651
652 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
653
654 * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
655 -mpwr6 and -mpwr7.
656
657 2010-02-09 Sterling Augustine <sterling@tensilica.com>
658
659 * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
660 (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
661 (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
662
663 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
664
665 * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
666 non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
667 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
668 BFD_RELOC_ARM_PCREL_CALL)
669
670 2010-02-08 Sterling Augustine <sterling@tensilica.com>
671
672 * config/tc-xtensa.c (frag_format_size): Generalize logic to
673 handle more instruction sizes and fetch widths.
674 (branch_align_power): Likewise.
675 (text_align_power): Likewise.
676 (bytes_to_stretch): Likewise.
677
678 2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
679
680 * config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs.
681 (ppc_mach): Handle titan.
682 * doc/c-ppc.texi: Mention -mtitan.
683
684 2010-02-05 Sterling Augustine <sterling@tensilica.com>
685
686 * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
687 replace with...
688 (xtensa_fetch_width) ...this.
689
690 2010-02-05 Joseph Myers <joseph@codesourcery.com>
691
692 * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
693 MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
694 * Makefile.in: Regenerate.
695
696 2010-02-03 Quentin Neill <quentin.neill@amd.com>
697
698 * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
699 (i386_align_code): Rename PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
700 * config/tc-i386.h (processor_type): Same.
701 * doc/c-i386.texi: Change amdfam15 to bdver1.
702
703 2010-01-29 Nick Clifton <nickc@redhat.com>
704
705 PR 11136
706 * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
707 NS_NULL.
708
709 2010-01-27 Dave Korn <dave.korn.cygwin@gmail.com>
710
711 * NEWS: Mention new feature.
712 * config/obj-coff.c (obj_coff_section): Accept digits and use
713 to override default section alignment power if specified.
714 * doc/as.texinfo (.section directive): Update documentation.
715
716 2010-01-27 H.J. Lu <hongjiu.lu@intel.com>
717
718 * config/tc-i386.c (avxscalar): New.
719 (OPTION_MAVXSCALAR): Likewise.
720 (build_vex_prefix): Select vector_length for scalar instructions
721 based on avxscalar.
722 (md_longopts): Add OPTION_MAVXSCALAR.
723 (md_parse_option): Handle OPTION_MAVXSCALAR.
724 (md_show_usage): Add -mavxscalar=.
725
726 * doc/c-i386.texi: Document -mavxscalar=.
727
728 2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
729
730 * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
731 0xc4 individually.
732
733 2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
734
735 * write.h (fix_at_start): Declare.
736 * write.c (fix_new_internal): Add at_beginning parameter.
737 Use it instead of REVERSE_SORT_RELOCS. Fix the handling of
738 seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
739 (fix_new, fix_new_exp): Update accordingly.
740 (fix_at_start): New function.
741 * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
742 (ppc_ref): New function, for OBJ_XCOFF.
743 (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
744 * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
745
746 2010-01-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
747
748 * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
749 on 64-bit Solaris/x86.
750 Include obj-format.h earlier.
751
752 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
753
754 * config/tc-s390.c (s390_elf_final_processing): New function.
755 * config/tc-s390.h (elf_tc_final_processing): New macro definition.
756 (s390_elf_final_processing): Added prototype.
757
758
759 2010-01-20 Nick Clifton <nickc@redhat.com>
760
761 PR 11109
762 * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1. Add
763 code to handle round-to-zero for VCVT conversions.
764 (do_neon_cvt): New. Call do_neon_cvt_1.
765 (do_neon_cvtr): New. Call do_neon_cvt_1.
766 (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
767 insn.
768
769 2010-01-18 Tristan Gingold <gingold@adacore.com>
770
771 * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
772
773 2010-01-15 Sebastian Pop <sebastian.pop@amd.com>
774
775 * config/tc-i386.c (md_assemble): Before accessing the IMM field
776 check that it's not an XOP insn.
777
778 2010-01-14 Jie Zhang <jie.zhang@analog.com>
779
780 * config/bfin-aux.h: Remove argument names in function
781 declarations.
782 * config/bfin-lex.l (parse_int): Fix shadowed variable name
783 warning.
784 * config/bfin-parse.y (value_match): Remove argument names
785 in declaration.
786 (notethat): Likewise.
787 (yyerror): Likewise.
788
789 2010-01-13 Daniel Jacobowitz <dan@codesourcery.com>
790
791 * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
792
793 2010-01-13 Nick Clifton <nickc@redhat.com>
794
795 * config/tc-h8300.c (h8300_elf_section): New function - issue a
796 warning message if a new section is created without setting any
797 attributes for it.
798 (md_pseudo_table): Intercept section creation pseudos.
799 (md_pcrel_from): Replace abort with an error message.
800 * config/obj-elf.c (obj_elf_section_name): Export this function.
801 * config/obj-elf.h (obj_elf_section_name): Prototype.
802
803 2010-01-12 Alan Modra <amodra@gmail.com>
804
805 PR 11122
806 * listing.c (print_source): Add one to line number.
807
808 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
809
810 * Makefile.in: Regenerate.
811 * configure: Regenerate.
812 * doc/Makefile.in: Regenerate.
813
814 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
815
816 * version.c (parse_args): Change to "Copyright 2010".
817
818 2010-01-06 Quentin Neill <quentin.neill@amd.com>
819
820 * config/tc-i386.c (cpu_arch): Add amdfam15.
821 (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
822 * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
823 * doc/c-i386.texi: Add amdfam15.
824
825 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
826
827 * config/tc-arm.c (do_neon_logic): Accept imm value
828 in the third operand too.
829 (operand_parse_code): OP_RNDQ_IMVNb renamed to
830 OP_RNDQ_Ibig.
831 (parse_operands): OP_NILO case removed, applied renaming.
832 (insns): Neon shape changed for some logic instructions.
833
834 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
835
836 * config/tc-arm.c (do_neon_ldx_stx): Added
837 validation for vector load/store insns.
838
839 2010-01-04 Edmar Wienskoski <edmar@freescale.com>
840
841 * config/tc-ppc.c (md_show_usage): Document -me500mc64.
842
843 2010-01-03 Daniel Gutson <dgutson@codesourcery.com>
844
845 * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
846 (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
847 (NEON_ENCODE): New macro.
848 (check_neon_suffixes): New macro.
849 (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
850 (do_vfp_nsyn_opcode): Likewise.
851 (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
852 (do_vfp_nsyn_cmp): Likewise.
853 (do_neon_shl_imm): Likewise.
854 (do_neon_qshl_imm): Likewise.
855 (neon_dyadic_misc): Likewise.
856 (do_neon_mac_maybe_scalar): Likewise.
857 (do_neon_qdmulh): Likewise.
858 (do_neon_qmovn): Likewise.
859 (do_neon_qmovun): Likewise.
860 (do_neon_movn): Likewise.
861 (neon_mac_reg_scalar_long): Likewise.
862 (do_neon_vmull): Likewise.
863 (do_neon_trn): Likewise.
864 (do_neon_ldx_stx): Likewise.
865 (neon_dp_fixup): Changed signature and set the flag.
866 (neon_three_same): Call the above with new signature.
867 (neon_two_same): Likewise.
868 (neon_imm_shift): Likewise.
869 (neon_mul_mac): Likewise.
870 (do_neon_abs_neg): Likewise.
871 (neon_mixed_length): Likewise.
872 (do_neon_ext): Likewise.
873 (do_neon_mov): Likewise.
874 (do_neon_tbl_tbx): Likewise.
875 (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
876 (neon_compare): Likewise.
877 (do_neon_shll): Likewise.
878 (do_neon_cvt): Likewise.
879 (do_neon_mvn): Likewise.
880 (do_neon_dup): Likewise.
881 (md_assemble): Call check_neon_suffixes ().
882
883 For older changes see ChangeLog-2009
884 \f
885 Local Variables:
886 mode: change-log
887 left-margin: 8
888 fill-column: 74
889 version-control: never
890 End: