1 2010-06-15 Joseph Myers <joseph@codesourcery.com>
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.
17 2010-06-14 Alan Modra <amodra@gmail.com>
19 * config/tc-ppc.c (md_assemble): Emit APUinfo section for
22 2010-06-11 Jan Beulich <jbeulich@novell.com>
24 * config/tc-i386.c (md_parse_option): Ignore impossible processor
26 (show_arch): New parameter 'check'.
27 (md_show_usage): Adjust calls to show_arch().
29 2010-06-10 H.J. Lu <hongjiu.lu@intel.com>
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.
35 2010-06-10 Tristan Gingold <gingold@adacore.com>
37 * config/obj-som.h: Includes som/reloc.h
39 2010-06-10 Jan Beulich <jbeulich@novell.com>
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[].
45 2010-06-08 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
47 * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
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.
53 2010-06-08 Quentin Neill <quentin.neill@amd.com>
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.
60 2010-06-08 Nick Clifton <nickc@redhat.com>
62 * doc/as.texinfo: Replace abbreviated 20th century year numbers
65 2010-06-02 Quentin Neill <quentin.neill@amd.com>
67 * config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
69 2010-06-02 Tristan Gingold <gingold@adacore.com>
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.
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.
82 2010-05-31 Tristan Gingold <gingold@adacore.com>
84 * config/tc-alpha.c: Add comments for evax.
85 * config/obj-evax.c: Ditto.
87 2010-05-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
89 * config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
92 2010-05-27 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
94 * config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
95 writeback when base register is in register list an error, and
97 (do_t_ldmstm): Change warnings.
99 2010-05-26 Catherine Moore <clm@codesourcery.com>
101 * config/tc-mips.c (is_opcode_valid): Remove expansionp.
102 (macro_build): Change invocation of is_opcode_valid.
105 2010-05-25 Nick Clifton <nickc@redhat.com>
107 * Makefile.am (MOSTLYCLEANFILES): Fix typo.
108 * Makefile.in: Regenerate.
110 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
111 Joseph Myers <joseph@codesourcery.com>
112 Andrew Stubbs <ams@codesourcery.com>
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
129 * doc/c-sh.texi (SH Options): Document --fdpic.
131 2010-05-25 Jay Krell <jay.krell@cornell.edu>
134 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
135 * Makefile.in: Regenerate.
137 2010-05-25 Alan Modra <amodra@gmail.com>
139 * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
141 2010-05-19 Nick Clifton <nickc@redhat.com>
143 * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
144 of known section prefixes.
146 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
149 * obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
150 (obj_elf_parse_section_letters): Likewise.
151 (obj_elf_section_word): Likewise.
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.
160 * doc/as.texinfo: Document `e' and `#exclude'.
162 2010-05-13 Nathan Sidwell <nathan@codesourcery.com>
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.
169 2010-05-11 Andrew Stubbs <ams@codesourcery.com>
171 * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
173 2010-05-11 Jie Zhang <jie@codesourcery.com>
175 * config/tc-arm.c (aeabi_set_public_attributes): Set
176 Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
178 2010-05-07 Tristan Gingold <gingold@adacore.com>
180 * Makefile.in: Regenerate with automake 1.11.1.
182 * doc/Makefile.in: Ditto.
184 2010-05-05 Nick Clifton <nickc@redhat.com>
186 * po/es.po: Updated Spanish translation.
188 2010-05-05 Julian Brown <julian@codesourcery.com>
190 * read.c (cons_worker): Detect and reject unexpected string argument.
192 2010-05-04 Nick Clifton <nickc@redhat.com>
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.
198 2010-04-29 Nathan Sidwell <nathan@codesourcery.com>
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
206 2010-04-27 Joseph Myers <joseph@codesourcery.com>
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
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.
226 2010-04-24 H.J. Lu <hongjiu.lu@intel.com>
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]".
233 2010-04-22 Nick Clifton <nickc@redhat.com>
235 * po/gas.pot: Updated by the Translation project.
237 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
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.
245 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
247 * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
250 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
252 * config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
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.
259 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
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.
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.
273 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
275 * expr.c (expr): Initialize the X_md field.
277 2010-04-20 Joseph Myers <joseph@codesourcery.com>
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
287 (md_pcrel_from): Change to tic6x_pcrel_from_section. Do not
288 adjust addresses for relocations referencing symbols in other
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.
295 2010-04-20 Nick Clifton <nickc@redhat.com>
298 * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
299 altmacro mode if found inside a quoted string.
301 2010-04-20 Mike Frysinger <vapier@gentoo.org>
303 * config/bfin-lex.l (parse_int): Change index() to strchr().
305 2010-04-16 Nick Clifton <nickc@redhat.com>
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.
313 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
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.
319 2010-04-14 Tristan Gingold <gingold@adacore.com>
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.
327 2010-04-10 Alan Modra <amodra@gmail.com>
330 * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
332 2010-04-09 Nick Clifton <nickc@redhat.com>
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
340 2010-04-07 Eric B. Weddington <eric.weddington@atmel.com>
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.
353 2010-04-07 Jie Zhang <jie@codesourcery.com>
355 * config/tc-arm.c (make_mapping_symbol): Handle the case
356 that multiple mapping symbols have the same value 0.
358 2010-04-07 Alan Modra <amodra@gmail.com>
360 * configure: Regenerate.
362 2010-04-06 Nick Clifton <nickc@redhat.com>
364 * po/ru.po: New Russian translation.
365 * configure.in (ALL_LINGUAS): Add ru.
366 * configure: Regenerate.
368 2010-03-30 H.J. Lu <hongjiu.lu@intel.com>
371 * input-scrub.c (input_scrub_next_buffer): Use memmove instead
372 of memcpy to copy overlap memory.
374 2010-03-25 Joseph Myers <joseph@codesourcery.com>
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.
393 2010-03-22 H.J. Lu <hongjiu.lu@intel.com>
395 * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
397 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
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.
404 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
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
415 2010-03-19 Jie Zhang <jie@codesourcery.com>
417 * config/tc-arm.c (make_mapping_symbol): Hanle the case
418 that two mapping symbols have the same value.
420 2010-03-18 Daniel Jacobowitz <dan@codesourcery.com>
422 * doc/c-arm.texi (.setfp): Correct example.
424 2010-03-18 Wei Guozhi <carrot@google.com>
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.
432 2010-03-15 Thomas Schwinge <thomas@codesourcery.com>
434 * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
435 cases, and not only for .eh_frame.
437 * dw2gencfi.c (output_cie): Make it more explicit which code paths
438 belong to .eh_frame only.
440 2010-03-13 Segher Boessenkool <segher@kernel.crashing.org>
442 * config/tc-v850.c (v850_insert_operand): Handle out-of-range
443 assembler constants on 64-bit hosts.
445 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
447 * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
448 Strip trailing whitespace.
450 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
452 * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
453 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
455 (bfin_cpus[]): Add 0.0 for bf504 and bf506.
457 2010-03-10 Jie Zhang <jie@codesourcery.com>
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.
464 2010-03-09 Alan Modra <amodra@gmail.com>
467 * listing.c (listing_newline): Correct backslash quote logic.
469 2010-03-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
471 * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
472 (ELF_TARGET_FORMAT64): Define.
474 2010-03-05 Paul Brook <paul@codesourcery.com>
476 * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
478 2010-03-02 Andrew Stubbs <ams@codesourcery.com>
480 * config/tc-sh.c (get_specific): Move overflow checking code to avoid
481 reading uninitialized data.
483 2010-03-01 Tristan Gingold <gingold@adacore.com>
485 * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
487 2010-02-26 Doug Evans <dje@sebabeach.org>
489 * configure.tgt: Fix mep cpu case.
491 2010-02-26 Jie Zhang <jie@codesourcery.com>
493 * config/tc-arm.c (do_t_strexd): Remove
494 operand[1] != operand[2] contraint.
496 2010-02-26 Jie Zhang <jie@codesourcery.com>
498 * config/tc-arm.c (neon_select_shape): No need to match
499 the remaining operands in the shape when one operand does
502 2010-02-26 Jie Zhang <jie@codesourcery.com>
504 * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
507 2010-02-25 Doug Evans <dje@sebabeach.org>
509 * cgen.c: Whitespace fixes.
510 (weak_operand_overflow_check): Formatting fix.
512 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
514 * config/tc-i386.c (match_template): Update error messages.
516 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
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.
525 2010-02-25 Wu Zhangjin <wuzhangjin@gmail.com>
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):
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.
542 2010-02-23 Daniel Gutson <dgutson@codesourcery.com>
544 * config/tc-arm.c (do_rd_rm_rn): Added warning
547 2010-02-23 Andrew Zabolotny <anpaza@mail.ru>
550 * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
551 (avr_cons_fix_new): Handle fixups of a single byte.
553 2010-02-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
556 * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
557 compiler's predefines.
559 2010-02-19 Alan Modra <amodra@gmail.com>
561 * configure.tgt: Whiltespace. Sort moxie entry.
563 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
565 * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
566 * doc/c-arm.texi: Likewise.
568 2010-02-12 Daniel Gutson <dgutson@codesourcery.com>
570 * config/tc-arm.c (asm_opcode): operands type
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
593 (insns): Updated insns operands.
595 2010-02-12 Tristan Gingold <gingold@adacore.com>
596 Douglas B Rupp <rupp@gnat.com>
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.
607 2010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com>
609 * config/tc-xtensa.c (istack_init): Don't call memset.
611 2010-02-11 Sterling Augustine <sterling@tensilica.com>
613 * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
616 2010-02-11 Sterling Augustine <sterling@tensilica.com>
618 * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
620 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
622 * config/tc-i386.c (build_modrm_byte): Reformat.
624 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
626 * config/tc-i386.c: Update copyright.
628 2010-02-10 Quentin Neill <quentin.neill@amd.com>
629 Sebastian Pop <sebastian.pop@amd.com>
631 * config/tc-i386.c (vec_imm4) New operand type.
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.
638 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
640 * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
643 2010-02-09 Sterling Augustine <sterling@tensilica.com>
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.
649 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
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)
656 2010-02-08 Sterling Augustine <sterling@tensilica.com>
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.
664 2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
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.
670 2010-02-05 Sterling Augustine <sterling@tensilica.com>
672 * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
674 (xtensa_fetch_width) ...this.
676 2010-02-05 Joseph Myers <joseph@codesourcery.com>
678 * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
679 MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
680 * Makefile.in: Regenerate.
682 2010-02-03 Quentin Neill <quentin.neill@amd.com>
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.
689 2010-01-29 Nick Clifton <nickc@redhat.com>
692 * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
695 2010-01-27 Dave Korn <dave.korn.cygwin@gmail.com>
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.
702 2010-01-27 H.J. Lu <hongjiu.lu@intel.com>
704 * config/tc-i386.c (avxscalar): New.
705 (OPTION_MAVXSCALAR): Likewise.
706 (build_vex_prefix): Select vector_length for scalar instructions
708 (md_longopts): Add OPTION_MAVXSCALAR.
709 (md_parse_option): Handle OPTION_MAVXSCALAR.
710 (md_show_usage): Add -mavxscalar=.
712 * doc/c-i386.texi: Document -mavxscalar=.
714 2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
716 * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
719 2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
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.
732 2010-01-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
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.
738 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
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.
745 2010-01-20 Nick Clifton <nickc@redhat.com>
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
755 2010-01-18 Tristan Gingold <gingold@adacore.com>
757 * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
759 2010-01-15 Sebastian Pop <sebastian.pop@amd.com>
761 * config/tc-i386.c (md_assemble): Before accessing the IMM field
762 check that it's not an XOP insn.
764 2010-01-14 Jie Zhang <jie.zhang@analog.com>
766 * config/bfin-aux.h: Remove argument names in function
768 * config/bfin-lex.l (parse_int): Fix shadowed variable name
770 * config/bfin-parse.y (value_match): Remove argument names
772 (notethat): Likewise.
775 2010-01-13 Daniel Jacobowitz <dan@codesourcery.com>
777 * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
779 2010-01-13 Nick Clifton <nickc@redhat.com>
781 * config/tc-h8300.c (h8300_elf_section): New function - issue a
782 warning message if a new section is created without setting any
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.
789 2010-01-12 Alan Modra <amodra@gmail.com>
792 * listing.c (print_source): Add one to line number.
794 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
796 * Makefile.in: Regenerate.
797 * configure: Regenerate.
798 * doc/Makefile.in: Regenerate.
800 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
802 * version.c (parse_args): Change to "Copyright 2010".
804 2010-01-06 Quentin Neill <quentin.neill@amd.com>
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.
811 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
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
817 (parse_operands): OP_NILO case removed, applied renaming.
818 (insns): Neon shape changed for some logic instructions.
820 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
822 * config/tc-arm.c (do_neon_ldx_stx): Added
823 validation for vector load/store insns.
825 2010-01-04 Edmar Wienskoski <edmar@freescale.com>
827 * config/tc-ppc.c (md_show_usage): Document -me500mc64.
829 2010-01-03 Daniel Gutson <dgutson@codesourcery.com>
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 ().
869 For older changes see ChangeLog-2009
875 version-control: never