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