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