3 * doc/as.texinfo (Set): Delete incorrect HPPA para.
7 * config/tc-arm.c (opcode_lookup): Allow VFP/NEON type suffixes
13 * expr.c (resolve_expression): Only add "left" value to O_symbol
14 expression when the symbol is undefined and different from the
15 original symbol. Simplify negative logic.
19 * config/tc-avr.c (md_pseudo_table): Add dwarf2 debug pseudo.
20 * config/tc-avr.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
21 (DWARF2_ADDR_SIZE): Define.
26 * listing.c (listing_flags): Delete.
27 * listing.h: Likewise.
28 * read.c (potable <lflags>): Call s_ignore.
32 * doc/as.texinfo: Add mention of RX port and inclusion of RX
37 * config/tc-z80.c (z80_start_line_hook): Fix parsing of 'equ' or
38 'defl' in cases where the space between the keyword and the
39 expression has been scrubbed away.
40 Do not check whether a symbol is redefined with 'equ' here;
41 the function equals takes an argument indicating whether
42 redefinitions are allowed.
43 Only call LISTING_NEWLINE if needed, and then after the call to
48 * doc/as.texinfo (Overview): Move -mfix7000/-mno-fix7000 to
49 match the order elsewhere. Add -mfix-vr4120/-mno-fix-vr4120 and
50 -mfix-vr4130/-mno-fix-vr4130.
51 * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-vr4120 to
52 -mno-fix-vr4120 and -no-mfix-vr4130 to -mno-fix-vr4130.
57 * doc/c-i386.texi: Mention movabs.
61 * doc/c-i386.texi: Don't mention the 8 extra control registers
66 * config/tc-lm32.c (md_begin): Add missing call to bfd_set_arch_mach.
68 * config/tc-xc16x.c (md_cgen_lookup_reloc): Ensure fix_size is set
69 correctly for all 16 bit relocs. Return BFD_RELOC_NONE if reloc
70 isn't recognized, not BFD_RELOC_XC16X_SOF.
74 * as.h (know): Don't define as empty.
75 * config/tc-arm.c (make_mapping_symbol): Revert last patch.
79 * config/tc-arm.c (make_mapping_symbol): Add braces to avoid empty body
85 * doc/c-i386.texi: Mention the 8 extra control registers for
87 Mention .code64 directive.
92 * macro.c: Delete unnecessary function declarations.
93 (buffer_and_nest): Support multiple labels per line for
94 LABELS_WITHOUT_COLONS targets if the labels do have colons.
95 (free_macro): Move so that we don't need forward declaration.
96 * read.c (read_a_source_file): Take a copy of macro expansion line
97 before we trim labels.
98 * listing.c (listing_newline): Adjust stdin line save for
99 input_line_pointer still at start of line.
104 * config/tc-i386.c (build_modrm_byte): Declare exp earlier.
109 * config/tc-i386-intel.c (i386_intel_operand): Handle call
110 and jump with 2 immediate operands.
112 * config/tc-i386.c (i386_finalize_immediate): Don't generate
113 error message if operand string is NULL.
118 * config/tc-m68k.c (tc_gen_reloc): Fix addend for relocations
119 located in data section an referencing a weak symbol.
123 * config/tc-arm.c (mapping_state, mapping_state_2): Make dummy
124 versions slightly more than nothing.
126 * doc/c-arm.texi (ARM Options): Correctly name the two mapcs options.
132 * config/tc-ia64.c (parse_operand): Use expression rather than
133 expression_and_evalute.
134 (parse_operand_and_eval): New function. Replace all uses of
135 parse_operand outside of parse_operands with this function.
136 (parse_operans_maybe_eval): New function. Replace uses of
137 parse_operand in parse_operands, except for the dummy, with
143 * symbols.c (snapshot_symbol): Revert 2006-01-09 patch for PR2117.
147 * read.c (s_reloc): Don't use expression_and_evaluate.
151 * config/tc-ppc.c (md_show_usage): Document -m476.
152 * doc/c-ppc.texi (PowerPC-Opts): Document -m476.
156 * dw2gencfi.c: Include dwarf2dbg.h.
157 (DWARF2_FORMAT): Define if not defined.
158 (dot_cfi_sections): New function.
159 (cfi_pseudo_table): Handle .cfi_sections.
160 (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame): Define.
161 (cfi_sections): New variable.
162 (output_cie, output_fde, select_cie_for_fde): Add eh_frame
163 argument, add supporting for outputting .debug_frame
165 (cfi_change_reg_numbers): New function or macro.
166 (cfi_finish): Only emit .eh_frame if
167 cfi_sections & CFI_EMIT_eh_frame. Emit .debug_frame if
168 cfi_sections & CFI_EMIT_debug_frame.
169 * config/tc-ppc.h (md_reg_eh_frame_to_debug_frame): Define.
170 * doc/as.texinfo (CFI directives): Document .cfi_sections.
174 * config/tc-ppc.c (md_show_usage): Rename "ppca2" to "a2".
175 * doc/c-ppc.texi (PowerPC-Opts): Likewise.
179 * config/tc-i386.c (x86_cons): Reformat.
183 * Makefile.am: Add RX target.
184 * configure.in: Likewise.
185 * configure.tgt: Likewise.
186 * read.c (do_repeat_with_expander): New function.
187 * read.h: Provide a prototype for do_repeat_with_expander.
188 * doc/Makefile.am: Add RX target documentation.
189 * doc/all.texi: Likewise.
190 * doc/as.texinfo: Likewise.
191 * Makefile.in: Regenerate.
192 * NEWS: Mention support for RX architecture.
193 * configure: Regenerate.
194 * doc/Makefile.in: Regenerate.
195 * config/rx-defs.h: New file.
196 * config/rx-parse.y: New file.
197 * config/tc-rx.h: New file.
198 * config/tc-rx.c: New file.
199 * doc/c-rx.texi: New file.
203 Update sources to make alpha, arc and arm targets compile cleanly
205 * config/tc-alpha.c: Add casts.
206 (extended_bfd_reloc_code_real_type): New type. Used to avoid
207 enumeration conversion warnings.
208 (struct alpha_fixup, void assemble_insn, assemble_insn)
209 (assemble_tokens): Use new type.
210 * ecoff.c: Add casts. (mark_stabs): Use enumeration names.
211 * config/obj-elf.c: Add cast
212 * config/tc-arc.c: Add casts.
213 * config/obj-aout.h (text_section,data_section,bss_section):
215 * config/obj-elf.c: Add cast.
216 * config/tc-arm.c: Add casts.
217 (X, TxCE, TxCE, TxC3, TxC3w, TxCM_, TxCM, TUE, TUF, CE, CL, cCE)
218 (cCL, C3E, xCM_, nUF, nCE_tag): Change input format to avoid the
219 need for keywords as arguments.
223 * doc/c-mips.texi: Fix the singlefloat and doublefloat kindex
228 * config/tc-i386.c (build_vex_prefix): Check vex == 2 instead
234 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Return true
235 for BFD_RELOC_X86_64_GOTPCREL.
239 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Don't check
244 * config/tc-xtensa.c (md_apply_fix): Remove check for constant with
245 difference of of two symbols.
246 (xtensa_fix_adjustable): Likewise.
250 * configure.com: Fix a typo.
254 * symbols.c (define_sym_at_dot): New function, extracted from..
255 (colon): ..here. Define error case cloned symbol.
259 * config/tc-i386.c: Remove white spaces.
264 * config/tc-ppc.c (md_show_usage): Document -mpcca2.
265 * doc/c-ppc.texi (PowerPC-Opts): Document -mppca2.
269 * po/es.po: Updated Spanish translation.
273 * config/tc-i386.c (offset_in_range): Sign extend offset only
278 * config/tc-i386-intel.c (i386_intel_operand): Initialize
279 intel_state.has_offset to 0.
283 * config/tc-i386.c (offset_in_range): Sign extend offset only
284 for 32bit address mode.
288 * makefile.vms (OBJS): Compile te-vms.c only on Itanium.
293 * config/tc-i386-intel.c (intel_state): Add has_offset.
294 (i386_intel_simplify): Set intel_state.has_offset to 1 for
296 (i386_intel_operand): Turn on intel_state.is_mem if
297 intel_state.has_offset is 0 and the last char is ']'.
302 * config/tc-i386.c (optimize_disp): Set disp32 for 64bit only
303 if there is an ADDR_PREFIX.
304 (i386_finalize_displacement): Repor error if signed 32bit
305 displacement is out of range.
309 * config/tc-mips.c (MIPS_JALR_HINT_P): Take an expr argument.
310 Require the target to be a bare symbol on targets with
312 (macro_build_jalr): Update accordingly.
313 (mips_fix_adjustable): Don't reduce R_MIPS_JALRs on targets
314 with in-place addends.
318 * po/gas.pot: Updated by the Translation project.
322 * as.c (main): Call dwarf2_init.
323 * config/obj-elf.c (struct group_list): New field.
324 (build_group_lists): Use hash lookup.
325 (free_section_idx): New function.
326 (elf_frob_file): Adjust.
327 * dwarf2dbg.c (all_segs_hash, last_seg_ptr): New variables.
328 (get_line_subseg): Adjust.
329 (dwarf2_init): New function.
330 * dwarf2dbg.h (dwarf2_init): New declaration.
334 Updated sources to compile cleanly with -Wc++-compat:
337 * config/obj-elf.c: Add casts.
338 (obj_elf_type): Rename variable typename to type_name.
339 * config/tc-i386-intel.c (i386_operators): Rename member operator to op.
340 * config/tc-i386.c: Add casts.
341 (check_cpu_arch_compatible): Rename argument new to new_flag.
342 (gotrel): Update variable to use enum name instead of integer value.
343 * dw2gencfi.c: Add casts.
344 (struct cfi_escape_data): Move to top level.
345 * dwarf2dbg.c: Add cast.
346 * dwarf2dbg.h (dwarf2_loc_directive_seen): Make variable extern.
348 (enum frame_state): Move to top level.
349 * expr.c (operatorf): Rename function operator to operatorf.
350 (operand): Rename variable operator to op.
351 (expr_set_rank): Rename argument operator to op.
354 * input-scrub.c: Add cast.
355 * listing.c: Add casts.
356 (enum edict_enum): Move to top level.
357 * macro.c: Add casts.
358 * macro.h (enum formal_type): Move to top level.
360 (s_include): Rename variable try to try_file.
362 * stabs.c: Add casts.
363 * subsegs.c: Add casts.
364 * symbols.c: Add casts.
365 * write.c: Add casts.
370 * config/tc-mmix.c (md_assemble) <case mmix_operands_xyz_opt>:
371 Allow register operands for SWYM as for TRIP and TRAP. Correct
372 operand handling and error checking. Never emit
373 BFD_RELOC_MMIX_REG_OR_BYTE for operands to these insns.
377 * config/tc-d10v.c: Include dwarf2dbg.h.
378 (write_long, write_1_short, write_2_short): Call dwarf2_emit_insn.
379 (d10v_frob_label): New function.
380 * config/tc-d10v.h (d10v_frob_label): Declare.
381 (tc_frob_label): Define as d10v_frob_label.
385 * config/tc-d30v.c (d30v_frob_label): Call dwarf2_emit_label.
386 * config/tc-frv.c (frv_frob_label): Likewise.
390 * config/obj-coff.h (USE_UNIQUE): Don't define.
391 * config/obj-coff.c (weak_uniquify): Use an_external_name when TE_PE.
392 * symbols.c (an_external_name): Define when TE_PE.
393 (S_SET_EXTERNAL): Assign an_external_name when TE_PE.
394 * tc.h (an_external_name): Declare when TE_PE.
396 * config/tc-i386.c (i386_target_format): Avoid duplicate case label.
400 * configure.tgt (sh*-*-netbsdelf*): Set endian according to cpu.
404 * read.c (emit_expr_fix): Handle size 3.
405 * config/tc-avr.c (md_assemble): Call dwarf2_emit_insn.
406 * config/tc-d30v.c (write_long, write_1_short,
407 write_2_short, md_assemble): Likewise.
408 * config/tc-dlx.c (md_assemble): Likewise.
409 * config/tc-i860.c (md_assemble): Likewise.
410 * config/tc-mn10200.c (md_assemble): Likewise.
411 * config/tc-pj.c (md_assemble): Likewise.
412 * config/tc-vax.c (md_assemble): Likewise.
416 * config/tc-arm.c (arm_cpus): cortex-r4f CPU added.
417 * doc/c-arm.texi: cortex-r4f CPU added.
421 * po/POTFILES.in: Regenerate.
422 * po/gas.pot: Regenerate.
424 * Makefile.am (TARG_ENV_CFILES): New variable. Set to te-vms.c
425 (POTFILES): Add $(TARG_ENV_CFILES) in definition.
426 (EXTRA_as_new_SOURCES): Ditto.
427 * Makefile: Regenerate.
428 * acinclude.m4 (BFD_HAVE_TIME_TYPE_MEMBER,
429 BFD_HAVE_SYS_STAT_TYPE_MEMBER): New macro created from bfd/bfd.m4.
430 * configure.in: Add Tests for tm_gmtoff, st_mtim.tv_sec and
431 st_mtim.tv_nsec (from bfd/configure.in). Check for time.h and
433 Add te-vms.o in extra_objects if te_file is vms.
434 * configure: Regenerate.
435 * config.in: Regenerate.
436 * config/te-vms.c: New file, from bfd/vmsutil.c
437 (vms_dwarf2_file_time_name, vms_dwarf2_file_size_name)
438 (vms_dwarf2_file_name): New functions.
439 (vms_file_stats_name): Make it static, add a dirname parameter to
440 locally create the full pathname.
441 * config/te-vms.h: Add a copyright header.
442 Declare the above functions.
443 (DWARF2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILE_NAME): Use
444 the above functions in the definition.
445 * makefile.vms (OBJS): Add te-vms.obj.
446 (te-vms.obj): Create a specific target.
447 * configure.com: Create targ-env.h using a per target value.
448 Compile te-vms.c for ia64.
452 * doc/as.texinfo: Document that Blackfin GAS does not
453 accept SYMBOL = VALUE.
457 * config/tc-arc.c (struct syntax_classes): Rename member class
458 to s_class. (arc_extinst): Rename variable class to
459 s_class. Update code to use renamed members.
460 * config/tc-mips.c (insn_uses_reg): Rename argument class to
462 * config/tc-ppc.c (ppc_csect, ppc_change_csect, ppc_function)
463 (ppc_tc, ppc_is_toc_sym, ppc_symbol_new_hook, ppc_frob_label)
464 (ppc_fix_adjustable, md_apply_fix): Update code to use renamed
466 * config/tc-ppc.h (struct ppc_tc_sy): Change name of member
467 from class to symbol_class. (OBJ_COPY_SYMBOL_ATTRIBUTES): Update
468 code to use renamed members.
469 * config/tc-score.c (s3_adjust_paritybit): Rename argument
471 * config/tc-score7.c (s7_adjust_paritybit): Rename argument
476 * NEWS: Add marker for 2.20.
480 * config/bfin-parse.y (asm_1): Implement HLT instruction.
481 Fix comments for DBGA, DBGAH and DBGAL.
482 * config/tc-bfin.c (bfin_gen_pseudodbg_assert): Change according
483 to the new encoding of DBGA, DBGAH, and DBGAL.
487 * doc/all.texi: Replace BFIN with Blackfin.
488 * doc/as.texinfo: Likewise.
489 * doc/c-bfin.texi: Likewise.
490 * doc/asconfig.texi: Likewise.
492 * doc/c-bfin.texi: Update -mcpu= option with bf512, bf514,
497 * Makefile.am (bfin-parse.o): Remove bfin-parse.h from
498 the prerequisite. Add $(srcdir)/config/bfin-aux.h to the
500 (bfin-defs.h, $(srcdir)/config/bfin-defs.h): Rename to ...
501 (bfin-parse.h, $(srcdir)/config/bfin-parse.h): ... these.
502 (bfin-lex.o): Add bfin-parse.h and $(srcdir)/config/bfin-defs.h
504 * Makefile.in: Regenerate.
508 * Makefile.am (itbl-lex.o): Depend on itbl-parse.h.
509 (itbl-ops.o, itbl-tops.o): Likewise.
510 (itbl-parse.h): Use separate rule.
511 * Makefile.in: Regenerate.
515 * config/tc-bfin.c (md_parse_option): Call as_fatal for bad
520 * config/bfin-lex.l: Remove V as STATUS_REG.
524 * config/bfin-parse.y: Remove trailing whitespace.
526 * config/tc-bfin.c (struct bfin_reg_entry): Remove.
527 (bfin_reg_info[]): Remove.
531 * config/bfin-defs.h (F_REG_ALL): Remove macro.
532 (F_REG_HIGH): Redefine.
533 (F_REG_NONE): New macro.
534 (F_REG_LOW): New macro.
535 (REG_CLASS): Enclose macro argument in parentheses when used.
536 (REG_EVEN): Likewise.
538 (IS_HCOMPL): Use flags.
539 * config/bfin-lex.l (SP.L, SP.H, FP.L, FP.H): Set flags.
540 (parse_reg): Set flags.
541 (parse_halfreg): Set flags.
545 * config/bfin-parse.y (gen_multi_instr_1): Check anomaly
546 05000074 only when both slot1 and slot2 are filled.
550 * config/tc-bfin.c (md_assemble): Bump line counters if there is
551 EOL in the instruction.
555 * config/bfin-defs.h (IS_GENREG): Define.
558 * config/bfin-parse.y (asm_1): Check illegal register move
563 * config/bfin-parse.y (asm_1): Fix a typo.
567 * config/bfin-parse.y (asm_1): Add LOOP_BEGIN and LOOP_END.
568 * config/tc-bfin.c (bfin_start_line_hook): Remove.
569 (bfin_loop_beginend): New.
570 * config/tc-bfin.h (bfin_start_line_hook): Don't declare.
571 (md_start_line_hook): Don't define.
572 * config/bfin-aux.h (bfin_loop_beginend): Declare.
576 * config/tc-ia64.c (ia64_vms_note): Use lbasename instead of basename.
577 Call xstrdup on the result and free the buffer after use.
581 * as.h (__PRETTY_FUNCTION__): Use the same definition as bfd/libbfd.h.
585 * config/bfin-parse.y (value_match): Use int instead of long.
588 * config/bfin-defs.h (Expr_Node_Value): Declare the i_value
594 * config/bfin-parse.y (asm_1): Clean up and unify error handling
595 for load and store insns.
596 (neg_value): Delete function.
600 * Makefile.am (m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o):
601 Supply correct source file name for generated files which may be
603 * Makefile.in: Regenerate.
607 * version.c (parse_args): Change to "Copyright 2009".
611 * makefile.vms: Adjust include pathes. Remove useless vaxctrl
613 * configure.com: Ported to Itanium VMS. Create build.com DCL script.
618 * config/bfin-parse.y (asm_1): Only PREG and DREG are allowed
624 * config/tc-bfin.c (bfin_fix_adjustable): Partially revert the
625 2007-08-23 change; BFD_RELOC_BFIN_GOT is not adjustable.
628 * config/tc-bfin.c (bfin_fix_adjustable): Adjust
629 BFD_RELOC_BFIN_GOT, BFD_RELOC_BFIN_GOT17M4 and
630 BFD_RELOC_BFIN_FUNCDESC_GOT17M4.
634 * read.c (TC_START_LABEL): Add a new argument.
635 (read_a_source_file): Pass the beginning of the symbol through
636 the new argument of TC_START_LABEL.
637 * config/tc-arm.h (TC_START_LABEL): Add a new argument.
638 * config/tc-bfin.c (bfin_start_label): Only search '(' and '['
639 from the beginning of the symbol.
640 * config/tc-bfin.h (TC_START_LABEL): Add the new argument.
641 * config/tc-d30v.h (TC_START_LABEL): Likewise.
642 * config/tc-fr30.h (TC_START_LABEL): Likewise.
643 * config/tc-m32c.h (TC_START_LABEL): Likewise.
644 * config/tc-m32r.h (TC_START_LABEL): Likewise.
645 * config/tc-mep.h (TC_START_LABEL): Likewise.
650 * write.c (write_object_file): Revert the accidental change
651 made in revision 1.124 on 2009-08-17.
655 * config/obj-elf.c (obj_elf_change_section): Set default type
656 by calling bfd_elf_get_default_section_type.
660 * config/bfin-aux.h: Change format from DOS to UNIX.
664 * config/tc-arm.c (struct asm_cond, struct asm_psr, struct
665 asm_barrier_opt): Change member template to
666 template_name. (md_begin): Update code to reflect new member
668 * config/tc-i386.c (struct templates, struct _i386_insn)
669 (match_template, cpu_flags_match, match_reg_size, match_mem_size)
670 (operand_size_match, md_begin, i386_print_statistics, pi)
671 (build_vex_prefix, md_assemble, parse_insn, optimize_imm)
672 (optimize_disp): Updated code to use new names. (parse_insn):
674 * config/tc-ia64.c (dot_template, emit_one_bundle): Updated
675 code to use new names.
676 * config/tc-score.c (struct s3_asm_opcode): Renamed member
677 template to template_name. (s3_parse_16_32_inst, s3_parse_48_inst,
678 s3_do_macro_ldst_label, s3_build_score_ops_hsh): Update code to
680 * config/tc-score7.c (struct s7_asm_opcode): Renamed member
681 template to template_name. (s7_parse_16_32_inst,
682 s7_do_macro_ldst_label, s7_build_score_ops_hsh): Update code to
684 * config/tc-tic30.c (md_begin, struct tic30_insn)
685 (md_assemble): Update code to use new names.
686 * config/tc-tic54x.c (struct _tic54x_insn, md_begin)
687 (optimize_insn, tic54x_parse_insn, next_line_shows_parallel):
688 Update code to use new names.
689 * config/tc-arm.c (insert_reg_alias): Rename variable new to
691 * config/tc-dlx.c (parse_operand): Rename variable new to
693 * config/tc-ia64.c (ia64_gen_real_reloc_type): Rename variable
695 * config/tc-mcore.c (parse_exp, parse_imm): Rename variable
697 * config/tc-microblaze.c (parse_exp, parse_imm, check_got):
698 Change name from new to new_pointer.
699 * config/tc-or32.c (parse_operand): Rename variable new to
701 * config/tc-pdp11.c (md_assemble): Rename variable new to
703 * config/tc-pj.c (alias): Change argument new to new_name.
704 * config/tc-score.c (s3_build_score_ops_hsh): Rename variable
705 new to new_opcode. (s3_build_dependency_insn_hsh) Rename variable
706 new to new_i2n. (s3_convert): Rename variables old and new to
708 * config/tc-score7.c (s7_build_score_ops_hsh): Rename variable
709 new to new_opcode. (s7_build_dependency_insn_hsh): Rename variable
710 new to new_i2d. (s7_b32_relax_to_b16, s7_convert_frag): Rename
711 variables old and new to r_old and r_new.
712 * config/tc-sh.c (parse_exp): Rename variable new to
714 * config/tc-sh64.c (shmedia_parse_exp): Rename variable new to
716 * config/tc-tic4x.c (tic4x_operand_parse): Rename variable new
718 * config/tc-z8k.c (parse_exp): Rename variable new to
720 * listing.c (listing_newline): Rename variable new to new_i.
724 * config/tc-sh.c (md_apply_fix): Extend sign of the offset value
729 * config/tc-i386.c (cpu_arch): Use PROCESSOR_L1OM on "l1om".
730 (i386_align_code): Handle PROCESSOR_L1OM.
731 (check_cpu_arch_compatible): Fix a typo in comments.
732 (set_cpu_arch): Check cpu_arch_isa instead of
733 cpu_arch_isa_flags.bitfield.cpul1om.
734 (i386_mach): Likewise.
735 (i386_target_format): Likewise.
737 * config/tc-i386.h (processor_type): Add PROCESSOR_L1OM.
741 * config/tc-mep.c (md_pcrel_from_section): Handle any other
742 forced-relocation cases.
746 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-moxie.c.
747 * config/tc-moxie.c (md_assemble): Fix typos in strings. Fix
749 * Makefile.in: Regenerate.
750 * po/POTFILES.in: Likewise.
751 * po/gas.pot: Likewise.
755 * config/obj-coff-seh.c (seh_arm_write_pdata): Test for
756 seh_ctx_root being NULL.
760 * Makefile.am (am__skiplex, am__skipyacc): New.
761 * Makefile.in: Regenerate.
765 * Makefile.am (YFLAGS): Remove, not needed any more.
766 (AM_CPPFLAGS): Renamed from ...
767 (INCLUDES): ... this.
768 * Makefile.in: Regenerate.
770 * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.8 cygnus, add 1.11,
772 (all): Remove now-unneeded dependency upon info.
773 (DIST_SUBDIRS, MKDEP, DEP_INCLUDES, DEP_FLAGS, CLEANFILES)
774 (DEP_FILE_DEPS): Remove variables.
775 (OBJ_FORMAT_CFILES): Add config/obj-multi.c.
776 (OBJ_FORMAT_HFILES): Add config/obj-multi.h.
777 ($(OBJS), ecoff.o): Remove now-unneeded manual dependencies.
778 ($(TARG_CPU_O), $(ATOF_TARG_O), obj-aout.o, obj-coff.o obj-ecoff.o)
779 (obj-elf.o obj-evax.o, obj-fdpicelf.o, obj-multi.o, obj-som.o)
780 (e-mipself.o, e-mipsecoff.o, e-i386aout.o, e-i386coff.o, e-i386elf.o)
781 (e-crisaout.o, e-criself.o, tc-i386.o, xtensa-relax.o): Remove
783 (EXTRA_as_new_SOURCES): Add $(CFILES), $(HFILES), $(TARGET_CPU_CFILES),
784 $(TARGET_CPU_HFILES), $(OBJ_FORMAT_CFILES), $(OBJ_FORMAT_HFILES),
785 $(CONFIG_ATOF_CFILES), $(MULTI_CFILES), so their dependency fragments
786 are picked up in the Makefile.
787 (itbl-lex.c, itbl-ops.o): Remove manual dependencies.
788 (m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o, itbl-tops.o)
789 (itbl-test.o): Rewrite using automake-style dependency
790 tracking rules; only list the dependency upon the primary source
791 file, but no included headers.
792 (DEP, DEP1, DEPTC, DEPOBJ, DEP2, dep.sed, dep, dep-in, dep-am):
794 (mkdep section): Remove.
795 * Makefile.in: Regenerate.
796 * po/POTFILES.in, po/gas.pot: Regenerate.
798 * Makefile.am (install-pdf, install-pdf-recursive, install-html)
799 (install-html-recursive): Remove.
800 * Makefile.in: Regenerate.
801 * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
802 (html__strip_dir, install-html, install-html-am): Remove.
803 * doc/Makefile.in: Regenerate.
805 * Makefile.in: Regenerate.
806 * aclocal.m4: Likewise.
807 * config.in: Likewise.
808 * configure: Likewise.
809 * doc/Makefile.in: Likewise.
813 * config/tc-xtensa.c (config_max_slots): New global variable.
814 (md_begin): Set config_max_slots.
815 (total_frag_text_expansion): Use config_max_slots instead of
817 (xg_init_vinsn): Likewise.
818 (xg_clear_vinsn): Likewise.
819 (xg_free_vinsn): Likewise.
823 * config/tc-xtensa.c (xg_copy_vinsn): New function.
824 (finish_vinsn): Call xg_copy_vinsn.
828 * config/tc-xtensa.h (xtensa_frag_data): Rename unused field fr_prev
830 * config/tc-xtensa.c (xtensa_mark_difference_of_two_symbols): Set
831 and use no_transform_end.
835 * config/obj-coff-seh.c: Add copyright notice.
836 * config/obj-coff-seh.h: Add copyright notice.
837 Add x64 specific macros from coff/pe.h header.
841 * config/tc-xtensa.c (xtensa_create_xproperty_segments): Use
842 sizeof instead of hard-coded value.
843 (add_xt_block_frags): Remove unused local variable.
844 (frag_flags_to_number): Change return type to flagword. Remove
845 unused local variable.
849 * config/tc-xtensa.c (xtensa_frob_label): move call to
850 do_align_targets to set frag_type only.
854 * config/obj-coff-seh.c: New file.
855 * config/obj-coff-seh.h: Likewise.
856 * config/obj-coff.c (obj-coff-seh.c): Add include.
857 (coff_pseudo_table): Add new .seh... commands.
858 * config/obj-coff.h (obj_coff_seh_do_final): Add new
860 (obj_coff_generate_pdata): New obj-coff hook.
861 * write.c (size_seg): Avoid sizing of already sized
863 (write_object_file): Call conditional hook
864 objc_coff_generate_pdata.
865 * Makefile.am: Add dependencies for new files.
866 * Makefile.in: Regenerated.
870 * config/tc-microblaze.c: Include safe-ctype.h instad of ctype.h.
871 (parse_reg): Use safe-ctype.h macros.
872 (parse_exp): Likewise.
873 (md_assemble): Likewise.
877 * config/tc-mep.c (md_estimate_size_before_relax): Handle weak
879 (md_convert_frag): Likewise.
880 (md_pcrel_from_section): Likewise.
881 (mep_force_relocation): Likewise.
885 * config/bfin-parse.y (gen_multi_instr_1): New function.
886 (asm): Use it instead of bfin_gen_multi_instr.
887 (error): Add a format string when calling as_bad.
888 * config/bfin-defs.h (insn_regmask): Declare.
889 * config/tc-bfin.c (DREG_MASK, DREGH_MASK, DREGL_MASK, IREG_MASK): New
891 (decode_ProgCtrl_0, decode_LDSTpmod_0, decode_dagMODim_0,
892 decode_dagMODik_0, decode_dspLDST_0, decode_LDST_0, decode_LDSTiiFP_0,
893 decode_LDSTii_0, decode_dsp32mac_0, decode_dsp32mult_0,
894 decode_dsp32alu_0, decode_dsp32shift_0, decode_dsp32shitimm_0,
895 insn_regmask): New functions.
898 * config/tc-bfin.h (bfin_anomaly_checks): Declare.
899 (AC_05000074): Define.
900 (ENABLE_AC_05000074): Define.
901 * config/tc-bfin.c (enum bfin_cpu_type): New.
902 (bfin_cpu_t): Typedef.
903 (bfin_cpu_type): Define.
904 (bfin_si_revision): Define.
905 (bfin_anomaly_checks): Define.
906 (struct bfin_cpu): New.
907 (bfin_cpus[]): New. (struct bfin_cpu_isa): Define.
908 (bfin_isa): New global variable.
909 (OPTION_MCPU): Define.
910 (md_longopts[]): Add -mcpu option.
911 (md_parse_option): Deal with -mcpu option and initialize
913 * doc/c-bfin.texi: Rename BFIN to Blackfin throughout. Document
915 * config/bfin-parse.y (gen_multi_instr_1): Check anomaly
920 * config/bfin-parse.y (binary): Change "compiler" to "assembler".
926 * config/tc-arm.c (do_t_mov_cmp): Do not silently ignore shifted
931 Fix compilation of i386-*-go32.
932 * config/tc-i386.c (i386_target_format <TE_GO32>): New.
933 (i386_target_format <OBJ_MAYBE_COFF>): Compile only if !TE_GO32.
934 * config/te-go32.h (TARGET_FORMAT): Move the definition ...
935 * config/tc-i386.h <!i386_target_format>: ... here.
940 * config/tc-arm.c (do_t_add_sub_w): Fixed constraints.
944 * config/tc-arm.c (marked_pr_dependency, mapstate): Delete global
946 (mapping_state): Use the section's mapstate.
947 (mapping_state_2): Likewise. Skip special sections.
948 (s_arm_unwind_fnend): Use the section's marked_pr_dependency.
949 (arm_elf_change_section): Do not set deleted globals.
950 * config/tc-arm.h (struct arm_segment_info_type): Document
951 marked_pr_dependency.
955 * NEWS: Mention MicroBlaze support.
959 * Makefile.am: add microblaze to CPU_TYPES, config/tc-microblaze.c to
960 TARGET_CPU_CFILES, config/tc-microblaze.h to TARGET_CPU_HFILES, add
961 DEP_microblaze_elf target.
962 * Makefile.in: Regenerate.
963 * config/tc-microblaze.c: Add MicroBlaze assembler.
964 * config/tc-microblaze.h: Add header for tc-microblaze.c.
965 * configure.in: Add microblaze target.
966 * configure: Regenerate.
967 * configure.tgt: Same.
968 * doc/Makefile.am: Add c-microblaze.texi to CPU_DOCS.
969 * doc/Makefile.in: Same.
970 * doc/all.texi: Set MICROBLAZE.
971 * doc/as.texinfo: Add MicroBlaze doc links.
972 * doc/c-microblaze.texi: New MicroBlaze docs.
976 * config/tc-arm.c (md_assemble): Call mapping_state from inside a
977 block in case it is a null macro.
981 * config/tc-mips.c (MIPS_JALR_HINT_P): New define. For IRIX, it is
982 true for new abi. For non-IRIX targets, it is always true.
983 (macro_build_jalr): If MIPS_JALR_HINT_P, emit BFD_RELOC_MIPS_JALR.
987 * config/tc-avr.c (mcu_types): Add attiny2313a, attiny4313, attiny261a,
988 attiny861a, atmega644pa, attiny24a, attiny44a.
989 * doc/c-avr.texi: Likewise.
993 * doc/c-mips.texi (MIPS Opts): List 1004K options for -march.
994 * config/tc-mips.c (mips_cpu_info_table): Add 1004K cores.
998 * config/tc-arm.c (my_get_expression): Detect missing expressions.
1002 * config/tc-avr.c (mcu_types): Add atmega8m1, atmega8c1, atmega16c1.
1003 * doc/c-avr.texi: Likewise.
1007 * config/tc-avr.c (mcu_types): Add atmega8u2, atmega16u2, atmega32u2.
1008 * doc/c-avr.texi: Likewise.
1013 * config/obj-elf.c (obj_elf_ident): Notify section change to the hook.
1014 * config/tc-arm.c (make_mapping_symbol): New function, from
1015 mapping_state. Save mapping symbols in the frag.
1016 (insert_data_mapping_symbol): New.
1017 (mapping_state): Use make_mapping_symbol, improve state transitions.
1018 (mapping_state_2): New. Provide dummy definition.
1019 (opcode_select): Do not call mapping_state.
1020 (s_bss): Call md_elf_section_change_hook instead of mapping_state.
1021 (output_inst): Update use of tc_frag_data.
1022 (new_automatic_it_block): Call mapping_state before emitting the
1024 (md_assemble): Move mapping_state to just before outputting the
1026 (arm_handle_align): Update use of tc_frag_data.
1027 Call insert_data_mapping_symbol.
1028 (arm_init_frag): Update use of tc_frag_data. Call
1030 (arm_elf_change_section): Always update the mapping symbol FSM state.
1031 (check_mapping_symbols): New function.
1032 (arm_adjust_symtab): Use check_mapping_symbols.
1033 * config/tc-arm.h (struct arm_frag_type): New.
1034 (TC_FRAG_TYPE): Change to struct arm_frag_type.
1035 (TC_FRAG_INIT): Pass max_chars.
1036 (arm_init_frag): Update prototype.
1040 * configure.tgt (generic_target): Add moxie-uclinux support.
1044 * doc/c-arm.texi (ARM-Instruction-Set): New node. Documents the
1045 different syntaxes support by the ARM port.
1046 (ARM Directives): Add entry for .syntax.
1048 * doc/c-mips.texi (MIPS insn): Fix typo.
1053 * symbols.c (S_FORCE_RELOC): True for BSF_GNU_INDIRECT_FUNCTION.
1054 * config/tc-i386.c: Revert 2009-06-13 change.
1055 * config/tc-i386.h: Likewise.
1059 * expr.c (op_rank): Specify size. Remove O_md* initializers.
1063 * config/tc-m68k.c (mcf5221x_ctrl): New.
1064 (m68k_cpu): Add line for MCF5221x.
1068 * config/tc-m68k.c (mcf52235_ctrl): Remove non-existent CACR, ACR[01].
1069 (mcf53017_ctrl): Fix RAMBAR.
1073 * obj-elf.c (elf_file_symbol): Replace symbol name set up by
1074 symbol_new() with the passed in, unmodified one.
1078 * config/tc-cr16.c (md_apply_fix): Put the addend value alone in to
1079 object file without symbol values.
1080 (tc_gen_reloc): For local symbols resolved or its absolute symbol,
1081 then set the relocation type as NULL.
1085 * config/tc-i386.c (cpu_arch): Add l1om.
1086 (check_cpu_arch_compatible): New.
1087 (set_cpu_arch): Use it.
1089 (i386_mach): Return bfd_mach_l1om for Intel L1OM.
1090 (md_show_usage): Display l1om.
1091 (i386_target_format): Return ELF_TARGET_L1OM_FORMAT if
1092 cpu_arch_isa_flags.bitfield.cpul1om is set.
1094 * config/tc-i386.h (TARGET_ARCH): Use (i386_arch ()).
1096 (ELF_TARGET_L1OM_FORMAT): Likewise.
1098 * doc/c-i386.texi: Document l1om.
1103 * config/obj-elf.c (obj_elf_ident): Set SEC_MERGE | SEC_STRINGS
1104 flags on .comment section.
1109 * config/tc-spu.c (md_apply_fix): Handle SPU_ADD_PIC.
1110 * config/tc-spu.h (tc_fix_adjustable): Don't adjust for SPU_ADD_PIC.
1111 (TC_FORCE_RELOCATION): Emit relocs for SPU_ADD_PIC.
1115 * tc-i386.c (cpu_arch): Add .8087, .287, .387, .no87, .nommx,
1117 (cpu_flags_and_not): New.
1118 (set_cpu_arch): Check whether sub-architecture specified is a
1120 (md_parse_option): Likewise.
1121 (parse_real_register): Don't return floating point register
1122 when x87 functionality is disabled.
1123 (md_show_usage): Add new sub-options.
1124 * doc/c-i386.texi: Update with new command line sub-options.
1129 * config/tc-alpha.c: Fix up uses of gas printf like functions so
1130 that the format string is a constant string. Add translation
1131 support to message strings.
1132 * config/tc-arc.c: Likewise.
1133 * config/tc-arm.c: Likewise.
1134 * config/tc-cris.c: Likewise.
1135 * config/tc-fr30.c: Likewise.
1136 * config/tc-frv.c: Likewise.
1137 * config/tc-h8300.c: Likewise.
1138 * config/tc-hppa.c: Likewise.
1139 * config/tc-i370.c: Likewise.
1140 * config/tc-i960.c: Likewise.
1141 * config/tc-ia64.c: Likewise.
1142 * config/tc-m32r.c: Likewise.
1143 * config/tc-mep.c: Likewise.
1144 * config/tc-mips.c: Likewise.
1145 * config/tc-moxie.c: Likewise.
1146 * config/tc-msp430.c: Likewise.
1147 * config/tc-openrisc.c: Likewise.
1148 * config/tc-pdp11.c: Likewise.
1149 * config/tc-pj.c: Likewise.
1150 * config/tc-s390.c: Likewise.
1151 * config/tc-sh.c: Likewise.
1152 * config/tc-sh64.c: Likewise.
1153 * config/tc-sparc.c: Likewise.
1154 * config/tc-spu.c: Likewise.
1155 * config/tc-tic30.c: Likewise.
1156 * config/tc-tic4x.c: Likewise.
1157 * config/tc-tic54x.c: Likewise.
1158 * config/tc-v850.c: Likewise.
1159 * config/tc-xc16x.c: Likewise.
1160 * config/tc-xstormy16.c: Likewise.
1161 * config/tc-z80.c: Likewise.
1162 * config/tc-z8k.c: Likewise.
1163 * config/atof-ieee.c: Add translation support to as_warn
1165 * config/obj-coff.c: Likewise.
1169 * config/obj-elf.c (obj_elf_type): Add code to support a type of
1171 * doc/as.texinfo: Document new feature of .type directive.
1172 * NEWS: Mention support for gnu_unique_object symbol type.
1177 * doc/c-mips.texi (MIPS insn): Document the special behaviour of
1178 the .global directive for MIPS ports.
1183 * config/tc-i386.c (i386_align_code): Tune for 32bit nops in
1185 (i386_target_format): Set cpu_arch_isa_flags.bitfield.cpulm
1190 * config/tc-i386.c (md_assemble): Update operand types.
1191 (update_imm): Updated.
1192 (finalize_imm): Update the first 2 immediate operands only
1193 for instructions with 2 operands or more.
1197 * config/tc-i386.c (md_assemble): Check implicit registers
1198 only for instructions with 3 operands or less.
1202 * config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid
1203 compile time warning.
1207 * config/tc-i386.c (md_assemble): Only check i.operands for AX.
1208 (md_estimate_size_before_relax): Don't relax IFUNC symbols.
1212 * config/tc-arm.c (md_apply_fix <BFD_RELOC_ARM_TARGET2>): Write
1213 the offset for REL targets here.
1217 * listing.c (print_source): Initialize cache by NULL.
1221 * doc/c-arm.texi (mauto-it): Removed old option.
1222 (mimplicit-it): Added right option.
1226 * config/tc-arm.h (MAX_MEM_ALIGNMENT_BYTES): Define.
1227 (MAX_MEM_FOR_RS_ALIGN_CODE): Define in terms of
1228 MAX_MEM_ALIGNMENT_BYTES.
1229 * config/tc-arm.c (arm_frag_align_code): Replace hard coded
1230 constant with MAX_MEM_FOR_RS_ALIGN_CODE.
1235 * config/tc-arm.h (THUMB_IS_FUNC): Handle a NULL pointer.
1236 (ARM_IS_FUNC): Likewise.
1240 * config/tc-arm.c (md_assemble): Added validation.
1244 * Makefile.am: Run "make dep-am".
1245 * Makefile.in: Regenerated.
1249 * Makefile.am (DEPTC_alpha_ecoff): Refer to dwarf2.h, not
1251 (DEPTC_alpha_elf): Likewise.
1252 (DEPTC_alpha_evax): Likewise.
1253 (DEPTC_arm_elf): Likewise.
1254 (DEPTC_hppa_elf): Likewise.
1255 (DEPTC_i386_aout): Likewise.
1256 (DEPTC_i386_coff): Likewise.
1257 (DEPTC_i386_elf): Likewise.
1258 (DEPTC_m68k_aout): Likewise.
1259 (DEPTC_m68k_coff): Likewise.
1260 (DEPTC_m68k_elf): Likewise.
1261 (DEPTC_mips_coff): Likewise.
1262 (DEPTC_mips_ecoff): Likewise.
1263 (DEPTC_mips_elf): Likewise.
1264 (DEPTC_ppc_coff): Likewise.
1265 (DEPTC_ppc_elf): Likewise.
1266 (DEPTC_s390_elf): Likewise.
1267 (DEPTC_sh_coff): Likewise.
1268 (DEPTC_sh_elf): Likewise.
1269 (DEPTC_sh64_elf): Likewise.
1270 (DEPTC_sparc_aout): Likewise.
1271 (DEPTC_sparc_coff): Likewise.
1272 (DEPTC_sparc_elf): Likewise.
1274 (dwarf2dbg.o): Likewise.
1275 (dw2gencfi.o): Likewise.
1276 (ehopt.o): Likewise.
1278 * Makefile.in: Rebuild.
1279 * dw2gencfi.h: Include dwarf2.h, not elf/dwarf2.h.
1280 * dwarf2dbg.c: Likewise.
1281 * ehopt.c: Likewise.
1285 * config/tc-arm.c (it_fsm_post_encode): New forward declaration.
1286 (set_it_insn_type_nonvoid): New macro.
1287 (emit_thumb32_expr): New function.
1288 (thumb_insn_size): New function.
1289 (emit_insn): New function.
1290 (s_arm_elf_inst): New function.
1291 (md_pseudo_table): New pseudo-opcode entries added.
1292 * doc/c-arm.texi: New directive added.
1296 * config/tc-mep.c (md_begin): Don't reset the coprocessor options
1297 when enabling other options without a specific configuration.
1301 * config/tc-arm.c (insns): Fix encoding for torvsc.
1305 * config/tc-i386.c (cpu_arch): Add .fma4 and CPU_FMA4_FLAGS.
1306 (build_modrm_byte): Add support to handle FMA4 instructions.
1307 (md_show_usage): Add fma4.
1311 * config/tc-cr16.h (TC_LINKRELAX_FIXUP): Set only for code sections.
1315 * Makefile.am (OBJ_FORMATS): Add macho.
1316 (CPU_OBJ_VALID): Ditto.
1317 (OBJ_FORMAT_CFILES): Add config/obj-macho.c
1318 (OBJ_FORMAT_HFILES): Add config/obj-macho.h
1319 (obj-macho.o): New rule.
1320 * Makefile.in: Regenerated.
1321 * configure.tgt (generic_target): Add i386-*-darwin*.
1322 * config/tc-i386.h: Use i386_target_format for Mach-O.
1323 * config/tc-i386.c (i386_target_format): Define it for Mach-O.
1324 (i386_target_format): Add a case for bfd_target_mach_o_flavour.
1325 * config/obj-macho.h: New file.
1326 * config/obj-macho.c: New file.
1331 * config/tc-arm.c (do_t_pkhtb): Swap Rm and Rn when encoding as
1336 * config/tc-arm.c (MISSING_FNSTART): Define.
1337 (s_arm_unwind_fnstart): Diagnose duplicate directive.
1338 (s_arm_unwind_handlerdata, s_arm_unwind_fnend, s_arm_unwind_fnend,
1339 s_arm_unwind_cantunwind, s_arm_unwind_personalityindex,
1340 s_arm_unwind_personality, s_arm_unwind_save, s_arm_unwind_movsp,
1341 s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): Error if
1342 not inside function unwinding region.
1346 * config/tc-i386.c: Reformat.
1350 * config/tc-mep.c (mep_check_ivc2_scheduling): For IVC2, allocate
1351 32 bits for relaxable branches so that we can relax them later.
1352 (md_estimate_size_before_relax): Assume IVC2 branches will be relaxed.
1353 (mep_relax_frag): New.
1354 (md_convert_frag): Relax IVC2 branches in-place.
1355 * config/tc-mep.h ((mep_relax_frag): New.
1359 * app, as.c, as.h, atof-generic.c, cgen.c,
1360 config/atof-ieee.c, config/obj-aout.c,
1361 config/obj-coff.c, config/obj-ecoff.c,
1362 config/obj-elf.c, config/obj-som.c, config/tc-alpha.c,
1363 config/tc-arc.c, config/tc-arm.c, config/tc-cr16.c,
1364 config/tc-cris.c, config/tc-crx.c, config/tc-d30v.c,
1365 config/tc-dlx.c, config/tc-hppa.c, config/tc-i370.c,
1366 config/tc-i386-intel.c, config/tc-i386.c,
1367 config/tc-i860.c, config/tc-i960.c, config/tc-ia64.c,
1368 config/tc-iq2000.c, config/tc-m32c.c,
1369 config/tc-m32r.c, config/tc-m68hc11.c,
1370 config/tc-m68k.c, config/tc-maxq.c, config/tc-mcore.c,
1371 config/tc-mep.c, config/tc-mips.c, config/tc-mmix.c,
1372 config/tc-mn10300.c, config/tc-moxie.c,
1373 config/tc-ns32k.c, config/tc-pj.c, config/tc-ppc.c,
1374 config/tc-s390.c, config/tc-score.c,
1375 config/tc-score7.c, config/tc-sh.c, config/tc-sparc.c,
1376 config/tc-spu.c, config/tc-tic30.c, config/tc-vax.c,
1377 config/tc-xtensa.c, config/xtensa-relax.c,
1378 dw2gencfi.c, dwarf2dbg.c, ehopt.c, expr.c,
1379 frags.c, input-file.c, read.c, sb.c,
1380 subsegs.c, symbols.c, write.c: Change the name of the
1381 gas macro `assert' to `gas_assert'.
1385 * config/tc-arm.c (implicit_it_mode): New enum.
1386 (implicit_it_mode): New global.
1387 (it_instruction_type): New enum.
1388 (arm_parse_it_mode): New function.
1389 (arm_long_opts): New option added.
1390 (arm_it): New field.
1391 (it_state): New enum.
1392 (now_it): New macro.
1393 (check_it_blocks_finished): New function.
1394 (insns[]): Use the IT Thumb opcodes for ARM too.
1395 (arm_cleanup): Call check_it_blocks_finished.
1396 (now_it_compatible): New function.
1397 (conditional_insn): New function.
1398 (set_it_insn_type): New macro.
1399 (set_it_insn_type_last): New macro.
1400 (do_it): Call automatic IT machinery functions.
1401 (do_t_add_sub): Likewise
1402 (do_t_arit3): Likewise.
1403 (do_t_arit3c): Likewise.
1404 (do_t_blx): Likewise.
1405 (do_t_branch): Likewise.
1406 (do_t_bkpt): Likewise.
1407 (do_t_branch23): Likewise.
1408 (do_t_bx): Likewise.
1409 (do_t_bxj): Likewise.
1410 (do_t_cps): Likewise.
1411 (do_t_cpsi): Likewise.
1412 (do_t_cbz): Likewise.
1413 (do_t_it): Likewise.
1414 (encode_thumb2_ldmstm): Likewise.
1415 (do_t_ldst): Likewise.
1416 (do_t_mov_cmp): Likewise.
1417 (do_t_mvn_tst): Likewise.
1418 (do_t_mul): Likewise.
1419 (do_t_neg): Likewise.
1420 (do_t_setend): Likewise.
1421 (do_t_shift): Likewise.
1422 (do_t_tb): Likewise.
1423 (output_it_inst): New function.
1424 (new_automatic_it_block): New function.
1425 (close_automatic_it_block): New function.
1426 (now_it_add_mask): New function.
1427 (it_fsm_pre_encode): New function.
1428 (handle_it_state): New function.
1429 (it_fsm_post_encode): New function.
1430 (force_automatic_it_block_close): New function.
1431 (in_it_block): New function.
1432 (md_assemble): Call automatic IT block machinery functions.
1433 (arm_frob_label): Likewise.
1434 (arm_opts): New element.
1435 * config/tc-arm.h (it_state): New enum.
1436 (current_it): New struct.
1437 (arm_segment_info_type): New member added.
1438 * doc/c-arm.texi: New option -mimplicit-it documented.
1443 * doc/as.texinfo (Section <ELF "M,S" flag>): Clarify tail merge.
1447 * config/tc-s390.c (md_gather_operands): Accept an instruction
1448 without operands if all operands are tagged as optional.
1453 * tc-arm.c (do_t_ssat): Move common code from here...
1454 (do_t_usat): ... and here to...
1455 (do_t_ssat_usat): New function: ... here. Add code to check that
1456 the shift value, if present, is in range.
1460 Merge cegcc and mingw32ce target name changes
1465 * configure.tgt: Add arm*-*-cegcc* target.
1469 * configure.tgt: Add arm-*-mingw32ce* target.
1473 * config/tc-vax.c (md_estimate_size_before_relax): Accept
1474 indirect symbol references in the PIC mode and emit a
1475 PC-relative relocation instead of a GOT/PLT one. Likewise
1476 for symbols known to be hidden at this point.
1481 * config/tc-arm.c (T16_32_TAB): Fix binary value of SEV.W
1487 * config/tc-i386.c (md_apply_fix): Use TC_FORCE_RELOCATION
1488 instead of generic_force_reloc.
1490 * config/tc-i386.h (TC_FORCE_RELOCATION): New.
1494 * config/tc-moxie.c (md_chars_to_number): Define.
1495 (md_begin): Populate opcode hashtable with more form 3 opcodes.
1496 (md_assemble): Assemble MOXIE_F3_PCREL encoded instructions.
1497 (md_apply_fix): Handle BFD_RELOC_MOXIE_10_PCREL relocations.
1498 (tc_gen_reloc): Ditto.
1499 (md_pcrel_from): Ditto.
1500 (md_chars_to_number): New function.
1504 * config/tc-moxie.c (md_assemble): Handle MOXIE_F1_M encoded
1510 * dw2gencfi.c (output_cfi_insn): Initialize fragment before rs_cfa
1511 to DW_CFA_advance_loc4.
1516 * config/tc-i386.c (md_estimate_size_before_relax): Don't relax
1517 branches to weak symbols.
1518 (md_apply_fix): Don't convert fixes against weak symbols to
1519 section-relative offsets, but save addend for later reloc emission.
1520 (tc_gen_reloc): When emitting reloc against weak symbol, adjust
1521 addend to pre-compensate for bfd_install_relocation.
1525 * dep-in.sed: Don't use \n in replacement part of s command.
1526 * Makefile.am (DEP1, DEPTC, DEPOBJ, DEP2): LC_ALL for uniq.
1527 * Makefile.in: Regenerate.
1532 * config/tc-i386-intel.c (i386_intel_operand): Check '$' as '.'.
1536 * config/tc-mips.c (check_for_24k_errata): Remove.
1537 (md_mips_end): Remove call to check_for_24k_errata.
1538 (start_noreorder): Likewise.
1539 (s_change_sec): Likewise.
1540 (s_change_section): Likewise.
1541 (insns_between): Add 24k errata checks.
1542 (append_insn): Remove declaration and references to nhdx_24k.
1543 Remove calls to check_for_24k_errata.
1547 * po/id.po: Updated Indonesian translation.
1548 * po/gas.pot: Updated template file.
1553 * config/bfin-parse.y (error): Use "%s" as format string for error
1558 * dep-in.sed: Output one filename per line with all lines having
1559 continuation backslash. Prefix first line with "A", following
1561 * Makefile.am (DEP): Don't use dep.sed here.
1562 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
1564 (DEPTC, DEPOBJ, DEP2): Use dep.sed on dependencies, sort and uniq.
1565 Emit multi dependencies on one line.
1566 * Makefile.in: Regenerate.
1570 * makefile.vms: New file to compile gas on VMS.
1572 * configure.com: New file to do configuration on VMS with DCL.
1576 * config/tc-mips.c (nops_for_vr4130): Don't check noreorder_p.
1577 (nops_for_insn): Likewise.
1581 * symbols.c (COPIED_SYMFLAGS): Add BSF_GNU_INDIRECT_FUNCTION.
1585 * config/tc-i386.c (process_drex): Delete. Remove SSE5 support.
1586 (build_modrm_byte): Remove DREX handling support.
1588 (drex_byte): Delete.
1589 (md_assemble): Remove DREX handling support.
1590 (process_operands): Remove DREX, SSE5 support.
1591 (i386_insn): Remove DREX.
1595 * Makefile.am: Run "make dep-am".
1596 * Makefile.in: Regenerate.
1601 * config/obj-coff.h: Include "coff/x86_64.h" for x86 pe-coff.
1602 (TARGET_FORMAT): Removed for x86 pe-coff.
1603 (COFF_TARGET_FORMAT): Likewise.
1605 * config/tc-i386.c (md_longopts): Allow --64 for x86 pe-coff.
1606 (md_parse_option): Likewise.
1607 (md_show_usage): Show option --32/--64 for x86 pe-coff.
1608 (i386_target_format): Use also for x86 pe-coff.
1610 * config/tc-i386.h (TARGET_FORMAT): Defined as i386_target_format
1615 * config/tc-mep.c (mep_machine): Only check CPU flags, not COP flags.
1616 (mep_process_saved_insns): Remove debugging printfs.
1620 * NEWS: Mention new feature.
1621 * config/obj-coff.c (obj_coff_common_parse): New function.
1622 (obj_coff_comm): Likewise.
1623 (coff_pseudo_table): Override default ".comm" definition on PE.
1624 * doc/as.texinfo: Document new feature.
1628 * config/obj-coff.c (obj_coff_section): Add 'y' as
1629 specifier for SEC_COFF_NOREAD section flag.
1630 * doc/as.texinfo: Add documentation about .section flag 'y'.
1634 * cgen.c (gas_cgen_parse_operand): Guard against NULL pointers.
1638 * config/tc-arm.c: Move as.h to start of file.
1642 * config/tc-arm.h: Fix typo in comment.
1643 (ARM_IS_FUNC): New macro.
1644 (MD_APPLY_SYM_VALUE): Define.
1646 * config/tc-arm.c (do_blx): Retain BFD_RELOC_ARM_PCREL_BLX for
1647 all versions of EABI.
1648 (relax_branch): Do not relax for branches to ARM functions.
1649 (md_pcrel_from_section): Set up base correctly for
1650 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_THUMB_PCREL_CALL,
1651 BFD_RELOC_THUMB_PCREL_BRANCH23, BFD_RELOC_ARM_PCREL_BLX
1652 BFD_RELOC_ARM_PCREL_CALL.
1653 (md_apply_fix): Flip bl to blx where possible.
1654 Flip blx to bl where possible.
1655 (arm_force_relocation): Force relocations for
1656 BFD_RELOC_ARM_PCREL_JUMP, BFD_RELOC_ARM_PCREL_JUMP,
1657 BFD_RELOC_ARM_PCREL_BLX, BFD_RELOC_THUMB_PCREL_BLX,
1658 BFD_RELOC_THUMB_PCREL_BRANCH20, BFD_RELOC_THUMB_PCREL_BRANCH23,
1659 BFD_RELOC_THUMB_PCREL_BRANCH25.
1660 (arm_apply_sym_value): New function.
1664 * config/tc-alpha.c: Also declare alpha_prologue_label for OBJ_EVAX.
1668 * config/tc-armlinux-eabi.h (FPU_DEFAULT): Default to plain VFP.
1669 * config/tc-armeabi.h (FPU_DEFAULT): Likewise.
1670 * config/tc-arm.c (md_begin): If FPU_DEFAULT is set, don't infer
1671 the default FPU from the processor.
1675 * config/tc-arm.c (do_t_blx): Always use BFD_RELOC_THUMB_PCREL_BLX.
1676 (md_pcrel_from_section): Align address for BLX.
1677 (tc_gen_reloc): Change BFD_RELOC_THUMB_PCREL_BLX relocations to
1678 BFD_RELOC_THUMB_PCREL_BRANCH23 for EABI v4+.
1682 * config/tc-mep.c (md_begin): Check coprocessor type.
1683 (md_check_parallel64_scheduling): Use memset to initialize the buffer.
1684 (md_check_parallel32_scheduling): Likewise.
1686 (mep_check_ivc2_scheduling): New.
1687 (mep_check_parallel_scheduling): Call it.
1688 (mep_process_saved_insns): Add IVC2 slot support.
1689 (md_assemble): Likewise.
1693 * config/obj-elf.c (obj_elf_type): Add support for a
1694 gnu_indirect_function type.
1695 * config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups
1696 against indirect function symbols.
1697 * doc/as.texinfo (.type): Document the support for the
1698 gnu_indirect_function symbol type.
1699 * NEWS: Mention the new feature.
1703 * NEWS: Add item about discriminator support.
1704 * dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field.
1705 * dwarf2dbg.c (current): Add discriminator field.
1706 (dwarf2_where): Copy discriminator value.
1707 (dwarf2_consume_line_info): Set discriminator to 0.
1708 (dwarf2_directive_loc): Process discriminator sub-op.
1709 (out_leb128): New function.
1710 (process_entries): Output DW_LNE_set_discriminator.
1711 * doc/as.texinfo: Add discriminator operand to .loc directive.
1715 * config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for
1716 as_bad calls to silence compiler warning.
1720 * config/tc-i386-intel.c (O_XXX): Reorder.
1724 * Makefile.am: Add explicit dependency of tc-i386.o on
1726 * Makefile.in: Likewise.
1727 * config/tc-i386.c (i386_finalize_immediate): Declare, broken
1728 out from i386_immediate.
1729 (i386_immediate): Slightly re-arrange, call
1730 i386_finalize_immediate.
1731 (i386_finalize_displacement): Declare, broken out from
1733 (i386_displacement): Slightly re-arrange, call
1734 i386_finalize_displacement.
1735 (i386_intel_simplify, i386_intel_parse_name): Declare.
1736 (this_operand): Initialize to -1.
1737 (set_intel_syntax): Set expression rank for O_full_ptr.
1738 (md_assemble): Set this_operand back to -1 after parsing
1740 (x86_cons): Negate intel_syntax to indicate state. Call
1741 i386_intel_simplify.
1742 (md_operand): Convert if to switch. Handle '[' for Intel
1744 (i386_intel_operand): Delete, including all helper functions
1746 * config/tc-i386-intel.c: New file, all new code.
1747 * config/tc-i386.h (i386_operator): Declare.
1748 (md_operator): Define to i386_operator.
1749 (i386_need_index_operator): Declare.
1750 (md_need_index_operator): Define to i386_need_index_operator.
1751 (O_full_ptr): Define.
1755 * expr.c (operand): Call md_need_index_operator() and
1756 md_operator() if defined. Add unary label.
1757 (operator): Call md_operator() if defined.
1758 (expr): Adjust assertions on range and rank of op_left and
1759 op_right. Don't abort on unhandled operators when reducing
1760 expressions with both operands being constant.
1761 (expr_set_rank): New.
1762 * expr.h (expr_set_rank): Declare.
1766 * config/tc-moxie.h: New file.
1767 * config/tc-moxie.c: New file.
1768 * configure: Add support for moxie.
1769 * configure.tgt: Add support for moxie.
1773 * expr.c: Include limits.h if available, and #define CHAR_BITS
1775 (expr): Check range of shift count when evaluating a constant
1780 * config/tc-i386.c (process_operands): Print operands in
1781 correct order depending on intel_syntax.
1785 * config/tc-mips.c (mips_fix_24k): Declare.
1786 (check_for_24k_errata): New.
1787 (mips_cleanup): Call check_for_24k_errata.
1788 (start_noreorder): Likewise.
1789 (md_mips_end): Likewise.
1790 (s_change_sec): Likewise.
1791 (s_change_section): Likewise.
1792 (append_insn): Call check_for_24k_errata. Prevent
1793 ERET/DERET instructions from being moved into delay
1795 (OPTION_FIX_24K): New.
1796 (OPTION_NO_FIX_24k) New.
1797 (md_longopts): Add "mfix-24k" and "mno-fix-24k".
1798 (md_parse_option): Handle fix-24k options.
1799 (md_show_usage): Display fix-24k options.
1800 * doc/c-mips.texi: Document.
1804 * config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS
1805 instead of HAVE_64BIT_SYMBOLS.
1809 * config/tc-mep.c: Add UCI/DSP instruction support. Add C5 support.
1810 (md_show_usage): Change default endian to little.
1811 * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little.
1815 * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA
1817 (build_bytes): Pass insn to do_a_fix_imm.
1821 * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
1822 * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and
1827 * config/tc-vax.c (synthetic_votstrs): add "jbbcci" and "jbbssi"
1828 (md_assemble): emit symbol name when used as immediate in PIC mode.
1829 (md_assemble): fix LP64 bug (use sizeof (valueT) instead 4).
1833 * config/tc-xtensa.c (parse_arguments): call demand_empty_rest_of_line
1837 * config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF.
1838 (find_real_start): Likewise.
1839 * config/tc-arm.h (TC_VALIDATE_FIX): Likewise
1843 * config/tc-arm.c (do_nop): Generate v6k nops whenever possible.
1844 (arm_handle_align): Generate v6k ARM, thumb2 wide & narrow nops
1849 * config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop.
1853 * doc/internals.texi: Fix trivial syntax errors.
1858 * config/tc-i386.c (reloc): Don't abort on lack of required
1863 * config/tc-i386.c (parse_insn): Use default_arch on unsupported
1869 * listing.c (listing_newline): Properly handle `\\"' and ';'.
1871 * read.c (is_end_of_line): Update comments for line separator.
1872 (read_begin): Set line separator in is_end_of_line to 2.
1876 * config/tc-sparc.c (md_parse_option): If the user gives
1877 us '--64' make sure max_architecture is at least V9.
1881 * config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and
1882 BFD_RELOC_ARM_ADRL_IMMEDIATE value is in the correct section.
1883 Check BFD_RELOC_ARM_ADRL_IMMEDIATE has a defined symbol.
1887 * as.h: Include alloca-conf.h instead of config.h and remove
1888 existing #if's handling alloca.
1889 * Makefile.am: Run "make dep-am".
1890 * Makefile.in: Regenerate.
1894 * config/tc-ppc.c (ppc_frob_symbol): Add csect information for
1899 * config/tc-ppc.c (md_apply_fix): On COFF targets, always reread
1900 "value" from fx_offset. Manually resubtract md_pcrel_from_section
1905 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
1906 * configure.in: Likewise.
1907 * configure: Regenerate.
1911 * config/tc-cris.c (cris_create_short_jump): Remove prototype.
1912 Rename, changing all callers, to...
1913 (md_create_short_jump): Adjust head comment. Assert
1914 word-sized-branch distance for v32. Bail out calling as_fatal for
1915 compatibility mode here.
1916 (md_create_long_jump): ...not here.
1917 * config/tc-cris.h (md_create_short_jump): Do not define.
1921 * write.c (write_object_file) [!WORKING_DOT_WORD]: When patching
1922 the jump table for multiple overflowing entries with the same
1923 target, handle base symbols being different.
1924 (relax_segment) <case rs_broken_word, second loop>: Whenever a
1925 single entry overflows, arrange to redirect all entries with the
1930 * config/tc-ppc.c (parse_cpu): Delete.
1931 (md_parse_option, ppc_machine): Use ppc_parse_cpu.
1936 * config/tc-i386.h (LOCAL_LABELS_DOLLAR): New. Defined as 0.
1937 (LOCAL_LABELS_FB): Undefine befoe define.
1941 * po/es.po: Updated Spanish translation.
1945 * read.c (s_fill, s_space, s_float_space, float_cons, stringer,
1946 s_incbin): Call md_cons_align (1).
1950 * config/tc-alpha.c (alpha_prologue_label): Only define for ELF
1952 (s_alpha_comm): Only define "temp" and "log_align" local variables
1957 * config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs
1958 have non-zero addend.
1959 (md_assemble): Parse args of __tls_get_addr calls.
1960 (md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD.
1965 * config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with
1966 local scope for ELF targets.
1970 * config/tc-ppc.c (md_assemble): APUinfo only for e500.
1976 * doc/as.texinfo (Overview): Mention -replace/-noreplace options
1978 * doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace.
1979 * config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax).
1980 (OBJ_SYMFIELD_TYPE): Remove.
1981 (tc_canonicalize_symbol_name): Define to evax_shorten_name.
1982 (TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax.
1983 (tc_frob_file_before_fix): Do not defined on evax.
1984 * config/tc-alpha.c: Always includes dwarf2dbg.h.
1985 Include vms.h if OBJ_EVAX.
1986 (struct alpha_fixup): Add xtrasym and procsym (evax only).
1987 (enum alpha_macro_arg): Remove trailing comma.
1988 (md_longopts): Add replace and noreplace arguments (evax only).
1989 (alpha_evax_proc_hash): New variable.
1990 (alpha_link_section): Make it global.
1991 (alpha_ctors_section, alpha_dtors_section): Removed.
1992 (alpha_ctors_symbol, alpha_dtors_symbol): Ditto.
1993 (alpha_lit8_section): Ifndef'ed on evax.
1994 (alpha_lit8_symbol): Ditto.
1995 (alpha_prologue_label): New variable.
1996 (alpha_linkage_symbol): New variable (evax only).
1997 (alpha_flag_replace): Ditto.
1998 (struct alpha_evax_procs): Add handler and handler_data field.
1999 (alpha_evax_proc): Now of type pointer.
2000 (alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables.
2001 (struct alpha_reloc_tag): Add sym and psym fields (evax only).
2002 (get_alpha_reloc_tag): Initialize sym and psym fields (evax only).
2003 (alpha_adjust_relocs): Ifndef'ed on evax.
2004 (load_expression): Add opname argument.
2005 Implement LDA/BSR optimization for evax.
2006 (emit_lda): Adjust for new prototype of load_expression.
2007 (emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols.
2008 (emit_loadstore): Likewise.
2009 (emit_ldXu): Likewise.
2010 (emit_stX): Likewise.
2011 (emit_jsrjmp): Likewise. Implement LDA/BSR optimization for evax.
2012 (emit_ldgp): Avoid warning in evax case.
2013 (add_to_link_pool): Make it static. Return symbolic expression rather
2014 than number expression for the offset.
2015 (s_alpha_text): Create .text symbol for evax if not already created.
2016 (s_alpha_comm): Do not create specific section for common symbol.
2017 Fill common area with zeros for evax.
2018 (s_alpha_prologue): Create alpha_prologue_label.
2019 (s_alpha_section_name): New function (evax).
2020 (s_alpha_section_word): Likewise.
2021 (section_name): New static variabke moved out from ...
2022 (s_alpha_section): ... here. Create new sections on demand.
2023 (s_alpha_literals): New function (evax).
2024 (s_alpha_ent): Create alpha_evax_proc instance and insert it in the
2025 alpha_evax_proc_hash table.
2026 (s_alpha_handler): New function (evax).
2027 (s_alpha_frame): Adjust for new type of alpha_evax_proc.
2028 (s_alpha_prologue): New function (evax).
2029 (s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new
2030 handling of procedures with hash table.
2031 Add support for condition handlers.
2032 (s_alpha_linkage): Create linkage_fixup instance and chain it.
2033 (s_alpha_fp_save): Adjust for new type of alpha_evax_proc.
2034 (s_alpha_mask): Likewise.
2035 (s_alpha_fmask): Likewise.
2036 (s_alpha_end): Clear alpha_evax_proc.
2037 (s_alpha_align): Increase max_alignment to 16.
2038 (alpha_print_token): Call print_expr_1 instead of print_expr.
2039 (md_pseudo_table): Add "section", "literals", "handler" and
2040 "handler_data" (evax). Do not ignore "prologue" on evax.
2042 (md_begin): Create hash table for alpha_evax_proc_hash.
2043 (md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE.
2044 (md_show_usage): Mention -replace/-noreplace for evax.
2045 (md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH).
2046 (alpha_force_relocation): Likewise.
2047 (alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case.
2048 (tc_gen_reloc): Likewise. Add BFD_RELOC_ALPHA_LINKAGE for evax.
2049 (emit_insn): New cases for evax specific relocs.
2050 (assemble_insn): Fix indentation.
2051 Take care of -MDISP in operand table.
2052 * config/obj-evax.h (struct alpha_linkage_fixups): New struct.
2053 (OBJ_SYMFIELD_TYPE): New macro.
2054 (obj_symbol_new_hook): Define.
2055 (obj_frob_symbol, obj_frob_file_before_adjust): Ditto.
2056 (obj_frob_file_before_fix): Ditto.
2057 (PDSC_S_M_HANDLER_VALID): New macro.
2058 (PDSC_S_M_HANDLER_DATA_VALID): Ditto.
2059 (TC_IMPLICIT_LCOMM_ALIGNMENT): Remove.
2060 Add prototypes for functions declared in obj-evax.c
2061 * config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h.
2062 (s_evax_weak): Convert to ansi-C.
2063 (evax_symbol_new_hook): New function.
2064 (evax_frob_symbol): Ditto.
2065 (evax_frob_file_before_adjust): Ditto.
2066 (evax_frob_file_before_fix): Ditto.
2067 (evax_shorten_name): Ditto.
2072 (shorten_identifier): Ditto.
2073 (is_truncated_identifier): Ditto.
2074 * dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS.
2075 * as.c (close_output_file): Remove #ifndef OBJ_VMS.
2080 * Makefile.am: Run "make dep-am".
2081 * Makefile.in: Regenerate.
2086 * config/tc-ia64.c (fix_insn): Fix warning reported by
2091 * config/tc-score7.c: New file.
2092 * doc/c-score.texi: New file.
2093 * Makefile.am: Update dependencies for tc-score.c.
2094 * Makefile.in: Regenerate.
2095 * NEWS: Mention support for Score7 architecture.
2096 * config/tc-score.c: Add support for Score7 architecture.
2097 * config/tc-score.h: Likewise.
2098 * doc/Makefile.am: Add c-score.texi.
2099 * doc/Makefile.in: Regenerate.
2100 * doc/all.texi: Add Score7.
2101 * doc/as.texinfo: Add Score7.
2105 * config/tc-arm.c (md_assemble): Allow barrier instructions on
2110 * configure: Regenerate.
2114 * config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
2115 "f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
2116 (parse_cpu): Extend -mpower7 to accept power7 and isel instructions.
2120 * config/tc-i386.c (fits_in_imm4): Removed.
2124 * config/tc-hppa.c (pa_ip): Add check of immediate values.
2125 (SAVE_IMMEDIATE): New define.
2129 * config/tc-arm.c (warn_deprecated_sp): New macro.
2130 (do_t_mov_cmp): Permit R13 as the second
2131 argument to "cmp.n".
2135 * config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM.
2136 (pt): Replace UINTS_ALL_ZERO with operand_type_all_zero.
2140 * config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4.
2144 * config/tc-i386.c (vex_imm4): Removed.
2145 (VEX_check_operands): Likewise.
2146 (match_template): Updated.
2150 * doc/all.texi: Set S390.
2151 * doc/as.texinfo: Add S390 support and pull in c-s390.texi.
2152 * doc/Makefile.am (CPU_DOCS): Add c-s390.texi.
2153 * doc/Makefile.in: Likewise.
2154 * doc/c-s390.texi: New.
2158 * config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR.
2159 (mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New.
2160 (mcf5307_ctrl): Add VBR.
2161 (no_mac): New variable.
2162 (m68k_extensions): Refer to no_mac mask.
2163 (m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277,
2164 52252..52259, 53011..53017.
2165 (m68k_ip): Process CPUCR.
2166 (init_table): Add cpucr entry.
2167 (m68k_set_extension): Allow negated mask to refer to a variable.
2168 (md_show_usage): Use '%s' to silence fprintf warning.
2169 * config/m68k-parse.h (CPUCR): New control register.
2173 * config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for
2174 as_bad calls to silence compiler warning.
2179 * config/tc-arm.c (MODE_RECORDED): New define.
2180 (output_inst): Record the thumb_mode in the current frag.
2181 (arm_handle_align): Ignore the MODE_RECORDED bit in tc_frag_data.
2182 (arm_init_frag): Only set the tc_frag_data field if it has not
2187 AVX Programming Reference (January, 2009)
2188 * config/tc-i386.c (CPU_FLAGS_PCLMUL_MATCH): New.
2189 (CPU_FLAGS_AVX_MATCH): Updated.
2190 (CPU_FLAGS_32BIT_MATCH): Likewise.
2191 (cpu_flags_match): Likewise.
2195 * config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T,
2196 M_MSGWAIT and M_MSGWAIT_T.
2197 (mips_cpu_info_table): Add XLR entry.
2198 * doc/c-mips.texi (-march): Document xlr.
2202 * config/tc-avr.c (mcu_types): Add ata6289.
2203 * doc/c-avr.texi: Likewise.
2207 * configure.in: AC_SUBST pdfdir.
2208 * Makefile.am: Add install-pdf, install-pdf-am,
2209 and install-pdf-recursive targets.
2210 * doc/Makefile.am: Define pdf__strip_dir. Add
2211 install-pdf and install-pdf-am targets.
2212 * po/Make-in: Add install-pdf target.
2213 * configure: Regenerate.
2214 * Makefile.in: Regenerate.
2215 * doc/Makefile.in: Regenerate.
2219 * config/m68k-parse.h (enum pic_relocation): Add values for TLS
2221 * config/m68k-parse.y (yylex): Parse TLS relocations.
2222 * config/tc-m68k.c (m68k_elf_cons): New static function.
2223 (md_pseudo_table): Use it.
2224 (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
2226 (md_apply_fix): Fix to set thread local flag.
2227 (m68k_elf_suffix): New static function; helper for m68k_elf_cons.
2232 * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of
2233 indexed addressing for symbolic expressions.
2237 * config/tc-arm.c (BAD_SP): Define.
2238 (s_arm_unwind_fnstart): Use REG_SP.
2239 (s_arm_unwind_setfp): Likewise.
2240 (reject_bad_reg): New macro.
2241 (do_co_reg): Check for bad registers.
2242 (do_co_reg2c): Likewise.
2243 (do_srs): Use REG_SP.
2244 (do_t_add_sub): Check for bad registers.
2245 (do_t_adr): Likewise.
2246 (do_t_arit3): Likewise.
2247 (do_t_arit3c): Likewise.
2248 (do_t_bfc): Likewise.
2249 (do_t_bfi): Likewise.
2250 (do_t_bfx): Likewise.
2251 (do_t_blx): Likewise.
2252 (do_t_bx): Likewise.
2253 (do_t_bxj): Likewise.
2254 (do_t_clz): Likewise.
2255 (do_t_div): Likewise.
2256 (do_t_mla): Likewise.
2257 (do_t_mlal): Likewise.
2258 (do_t_mov_cmp): Likewise.
2259 (do_t_mov16): Likewise.
2260 (do_t_mvn_tst): Likewise.
2261 (do_t_mrs): Likewise.
2262 (do_t_msr): Likewise.
2263 (do_t_mul): Likewise.
2264 (do_t_mull): Likewise.
2265 (do_t_orn): Likewise.
2266 (do_t_pkhbt): Likewise.
2267 (do_t_pld): Likewise.
2268 (do_t_rbit): Likewise.
2269 (do_t_rev): Likewise.
2270 (do_t_rrx): Likewise.
2271 (do_t_rsb): Likewise.
2272 (do_t_shift): Likewise.
2273 (do_t_simd): Likewise.
2274 (do_t_ssat): Likewise.
2275 (do_t_ssat16): Likewise.
2276 (do_t_sxtah): Likewise.
2277 (do_t_sxth): Likewise.
2278 (do_t_tb): Likewise.
2279 (do_t_usat): Likewise.
2280 (do_t_usat16): Likewise.
2281 (nysn_insert_sp): Use REG_SP.
2285 * config/tc-arm.c (do_t_orn): New function.
2286 (do_t_rrx): Likewise.
2287 (insns): Add orn and rrx.
2291 * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
2292 uasx, uhasx, uhsx, uqasx, uqsax, usax.
2296 * config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub,
2297 qdsub in Thumb-2 mode.
2302 * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding
2303 of MUL when possible.
2307 * config/tc-mep.h (DIFF_EXPR_OK): Do not define.
2312 * doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte,
2313 .4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32
2318 * config/tc-mips.c (append_insn): Cope with a complex reloc
2319 sequence containing an unsupported reloc type.
2320 (enum options): Replace computed #define's constants for option
2321 numbers with this enum.
2322 (struct md_longopts): Use the enum. Allow OPTION_32 in a non-ELF
2324 (md_parse_option): Allow -32 in a non-ELF environment.
2328 * config/tc-arm.c (attributes_set_explicitly): New array.
2329 (s_arm_eabi_attribute): Check return value from s_vendor_attribute.
2330 (cpu_arch): Add ARM_ARCH_V5T.
2331 (aeabi_set_attribute_int): New function.
2332 (aeabi_set_attribute_string): New function.
2333 (aeabi_set_public_attributes): Set attributes according to the user's
2334 intentions, rather than the actual state of the binary.
2335 Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of
2336 bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string.
2337 Support WMMXv2. Use attribute names instead of numbers.
2338 * read.c (s_vendor_attribute): Change return type to int.
2339 Return the tag number that was set.
2340 * read.h (s_vendor_attribute): Change return type to int.
2345 * config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name.
2346 * doc/c-avr.texi: Likewise.
2350 * doc/c-arm.texi (): Document -mwarn-deprecated.
2351 * config/tc-arm.c (WARN_DEPRECATED): Remove. Replace with ...
2352 (warn_on_deprecated): ... this.
2353 (opcode_lookup, md_assemble): Check it before warning.
2354 (arm_opts): Add m[no-]warn-deprecated.
2355 (md_parse_option): Replace WARN_DEPRECATED with
2360 * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
2361 arguments to macro_build to match format.
2363 * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.
2364 * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define.
2368 * config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for
2369 ELF format ARM targets.
2370 * config/tc-arm.c (arm_convert_symbolic_attribute): Likewise.
2374 * configure.tgt: Restore alpha sorting to object format switch
2379 * read.c (s_vendor_attribute): Allow for unknown flag bits in type.
2383 * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5.
2384 * config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.
2389 * config/tc-arm.c (arm_copy_symbol_attributes): New function.
2390 * config/tc-arm.h (arm_copy_symbol_attributes): New prototype.
2391 (CONVERT_SYMBOLIC_ATTRIBUTE): New define.
2392 * read.c (s_vendor_attribute): Add support for symbolic tag names.
2393 Improve string parser.
2394 * doc/c-arm.texi (ARM Machine Directives): Document
2395 .eabi_attribute symbolic tag names.
2399 * configure.in (commonbfdlib): Delete.
2400 * configure: Regenerate.
2401 * po/POTFILES.in: Regenerate.
2406 * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11.
2410 * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat ->
2411 bfd_elf_add_obj_attr_int_string.
2415 * configure.tgt(ia64-*-*vms*): New target.
2416 * dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
2417 * tc.h (md_number_to_chars): Declare iff undefined.
2418 * config/obj-elf.c (obj_elf_change_section): Change type of arg
2420 (obj_elf_parse_section_letters): Return a bfd_vma. Change type of
2421 variables attr, md_attr to bfd_vma.
2422 (obj_elf_section_word): Likewise.
2423 (obj_elf_section): Change type of variable attr to bfd_vma
2424 * config/obj-elf.h (obj_elf_change_section): Change type of arg
2426 * config/tc-ia64.c (bfdver.h,time.h): Include.
2427 (ia64_elf_section_letter): Now returns a bfd_vma.
2428 Handle VMS specific attributes.
2429 (ia64_elf_section_flags): Arg attr now a bfd_vma.
2430 (ia64_init): Don't turn on dependency checking for VMS.
2431 (ia64_target_format): Check for VMS flag bit.
2432 (do_alias): Hande decc$ functions.
2433 (get_vms_time): New function.
2434 (ia64_vms_note): New function.
2435 * config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
2436 (ia64_elf_section_flags): Arg attr now a bfd_vma.
2437 (tc_init_after_args): Define for VMS.
2438 * config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
2439 (alpha_elf_section_flags): Change type of arg attr to bfd_vma.
2440 * config/tc-alpha.h: Likewise.
2441 * config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
2442 (x86_64_section_word): Return a bfd_vma.
2443 * config/tc-i386.h: Likewise.
2444 * config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
2446 * config/tc-ip2k.h: Likewise.
2447 * config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
2448 (mep_elf_section_flags): Change type of arg attr to bfd_vma.
2449 * config/tc-mep.h: Likewise.
2450 * config/tc-ppc.c (ppc_section_letter): Return a bfd_vma.
2451 (ppc_section_word): Return a bfd_vma.
2452 (ppc_section_flags): Change type of arg attr to bfd_vma.
2453 * config/tc-ppc.h: Likewise.
2454 * config/tc-frv.h: Provide a prototype for frv_md_number_to_chars.
2455 * config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
2456 DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
2457 New file with new macros
2458 * dwarf2dbg.c (get_filenum, out_file_list): Default and call new
2464 * config/tc-arm.c (do_t_nop): Check for availability of Thumb2
2465 instructions before generating a Thumb2 nop.
2469 * config/tc-s390.h: Define LOCAL_LABEL_PREFIX.
2473 * config/tc-spu.c (md_pseudo_table): Add "brinfo".
2475 (md_assemble): Poke brinfo into branch instructions.
2476 (spu_brinfo): New function.
2477 (md_apply_fix): Don't assume insn fields start off at zero, mask
2478 them to remove possible brinfo.
2482 * doc/c-i386.texi: Reformat.
2486 * config/tc-i386.c (cpu_arch): Add corei7, .clflush and
2488 (i386_align_code): Handle PROCESSOR_COREI7.
2489 (md_show_usage): Add corei7, clflush and syscall.
2490 (i386_target_format): Replace cpup4 with cpuclflush.
2492 * config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
2494 * doc/c-i386.texi: Document corei7, clflush and syscall.
2498 * config/tc-i386.c (cpu_arch): Add .rdtscp.
2499 (md_show_usage): Display rdtscp.
2501 * doc/c-i386.texi: Document rdtscp.
2505 * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
2506 Test the new "deprecated" opcode field.
2510 * config/tc-xtensa.c (produce_flix): New.
2511 (option_flix, optoin_no_generate_flix, option_no_flix) Define.
2512 (md_longopts): Add support for them.
2513 (md_parse_option): Likewise.
2514 (md_show_usage): Add help message.
2515 (finish_vinsn): Don't allow multi-slot flix when produce_flix
2516 option is set to FLIX_NONE.
2517 * config/xtensa-relax.c (transition_applies): Only relax to
2518 flix branches when produce_flix equals FLIX_ALL.
2519 * config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE
2521 (produce_flix): Declare.
2525 * config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff.
2526 Use strncmp to match jalr and jalr.hb.
2531 AVX Programming Reference (December, 2008)
2532 * config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction
2533 support. Don't swap REG and NDS for FMA.
2537 * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
2540 For older changes see ChangeLog-2008
2546 version-control: never