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