3 * config/obj-coff-seh.c: Add copyright notice.
4 * config/obj-coff-seh.h: Add copyright notice.
5 Add x64 specific macros from coff/pe.h header.
9 * config/tc-xtensa.c (xtensa_create_xproperty_segments): Use
10 sizeof instead of hard-coded value.
11 (add_xt_block_frags): Remove unused local variable.
12 (frag_flags_to_number): Change return type to flagword. Remove
13 unused local variable.
17 * config/tc-xtensa.c (xtensa_frob_label): move call to
18 do_align_targets to set frag_type only.
22 * config/obj-coff-seh.c: New file.
23 * config/obj-coff-seh.h: Likewise.
24 * config/obj-coff.c (obj-coff-seh.c): Add include.
25 (coff_pseudo_table): Add new .seh... commands.
26 * config/obj-coff.h (obj_coff_seh_do_final): Add new
28 (obj_coff_generate_pdata): New obj-coff hook.
29 * gas/write.c (size_seg): Avoid sizing of already sized
31 (write_object_file): Call conditional hook
32 objc_coff_generate_pdata.
33 * Makefile.am: Add dependencies for new files.
34 * Makefile.in: Regenerated.
38 * config/tc-microblaze.c: Include safe-ctype.h instad of ctype.h.
39 (parse_reg): Use safe-ctype.h macros.
40 (parse_exp): Likewise.
41 (md_assemble): Likewise.
45 * config/tc-mep.c (md_estimate_size_before_relax): Handle weak
47 (md_convert_frag): Likewise.
48 (md_pcrel_from_section): Likewise.
49 (mep_force_relocation): Likewise.
53 * config/bfin-parse.y (gen_multi_instr_1): New function.
54 (asm): Use it instead of bfin_gen_multi_instr.
55 (error): Add a format string when calling as_bad.
56 * config/bfin-defs.h (insn_regmask): Declare.
57 * config/tc-bfin.c (DREG_MASK, DREGH_MASK, DREGL_MASK, IREG_MASK): New
59 (decode_ProgCtrl_0, decode_LDSTpmod_0, decode_dagMODim_0,
60 decode_dagMODik_0, decode_dspLDST_0, decode_LDST_0, decode_LDSTiiFP_0,
61 decode_LDSTii_0, decode_dsp32mac_0, decode_dsp32mult_0,
62 decode_dsp32alu_0, decode_dsp32shift_0, decode_dsp32shitimm_0,
63 insn_regmask): New functions.
66 * config/tc-bfin.h (bfin_anomaly_checks): Declare.
67 (AC_05000074): Define.
68 (ENABLE_AC_05000074): Define.
69 * config/tc-bfin.c (enum bfin_cpu_type): New.
70 (bfin_cpu_t): Typedef.
71 (bfin_cpu_type): Define.
72 (bfin_si_revision): Define.
73 (bfin_anomaly_checks): Define.
74 (struct bfin_cpu): New.
75 (bfin_cpus[]): New. (struct bfin_cpu_isa): Define.
76 (bfin_isa): New global variable.
77 (OPTION_MCPU): Define.
78 (md_longopts[]): Add -mcpu option.
79 (md_parse_option): Deal with -mcpu option and initialize
81 * doc/c-bfin.texi: Rename BFIN to Blackfin throughout. Document
83 * config/bfin-parse.y (gen_multi_instr_1): Check anomaly
88 * config/bfin-parse.y (binary): Change "compiler" to "assembler".
94 * config/tc-arm.c (do_t_mov_cmp): Do not silently ignore shifted
99 Fix compilation of i386-*-go32.
100 * config/tc-i386.c (i386_target_format <TE_GO32>): New.
101 (i386_target_format <OBJ_MAYBE_COFF>): Compile only if !TE_GO32.
102 * config/te-go32.h (TARGET_FORMAT): Move the definition ...
103 * config/tc-i386.h <!i386_target_format>: ... here.
108 * config/tc-arm.c (do_t_add_sub_w): Fixed constraints.
112 * config/tc-arm.c (marked_pr_dependency, mapstate): Delete global
114 (mapping_state): Use the section's mapstate.
115 (mapping_state_2): Likewise. Skip special sections.
116 (s_arm_unwind_fnend): Use the section's marked_pr_dependency.
117 (arm_elf_change_section): Do not set deleted globals.
118 * config/tc-arm.h (struct arm_segment_info_type): Document
119 marked_pr_dependency.
123 * NEWS: Mention MicroBlaze support.
127 * Makefile.am: add microblaze to CPU_TYPES, config/tc-microblaze.c to
128 TARGET_CPU_CFILES, config/tc-microblaze.h to TARGET_CPU_HFILES, add
129 DEP_microblaze_elf target.
130 * Makefile.in: Regenerate.
131 * config/tc-microblaze.c: Add MicroBlaze assembler.
132 * config/tc-microblaze.h: Add header for tc-microblaze.c.
133 * configure.in: Add microblaze target.
134 * configure: Regenerate.
135 * configure.tgt: Same.
136 * doc/Makefile.am: Add c-microblaze.texi to CPU_DOCS.
137 * doc/Makefile.in: Same.
138 * doc/all.texi: Set MICROBLAZE.
139 * doc/as.texinfo: Add MicroBlaze doc links.
140 * doc/c-microblaze.texi: New MicroBlaze docs.
144 * config/tc-arm.c (md_assemble): Call mapping_state from inside a
145 block in case it is a null macro.
149 * config/tc-mips.c (MIPS_JALR_HINT_P): New define. For IRIX, it is
150 true for new abi. For non-IRIX targets, it is always true.
151 (macro_build_jalr): If MIPS_JALR_HINT_P, emit BFD_RELOC_MIPS_JALR.
155 * config/tc-avr.c (mcu_types): Add attiny2313a, attiny4313, attiny261a,
156 attiny861a, atmega644pa, attiny24a, attiny44a.
157 * doc/c-avr.texi: Likewise.
161 * doc/c-mips.texi (MIPS Opts): List 1004K options for -march.
162 * config/tc-mips.c (mips_cpu_info_table): Add 1004K cores.
166 * config/tc-arm.c (my_get_expression): Detect missing expressions.
170 * config/tc-avr.c (mcu_types): Add atmega8m1, atmega8c1, atmega16c1.
171 * doc/c-avr.texi: Likewise.
175 * config/tc-avr.c (mcu_types): Add atmega8u2, atmega16u2, atmega32u2.
176 * doc/c-avr.texi: Likewise.
181 * config/obj-elf.c (obj_elf_ident): Notify section change to the hook.
182 * config/tc-arm.c (make_mapping_symbol): New function, from
183 mapping_state. Save mapping symbols in the frag.
184 (insert_data_mapping_symbol): New.
185 (mapping_state): Use make_mapping_symbol, improve state transitions.
186 (mapping_state_2): New. Provide dummy definition.
187 (opcode_select): Do not call mapping_state.
188 (s_bss): Call md_elf_section_change_hook instead of mapping_state.
189 (output_inst): Update use of tc_frag_data.
190 (new_automatic_it_block): Call mapping_state before emitting the
192 (md_assemble): Move mapping_state to just before outputting the
194 (arm_handle_align): Update use of tc_frag_data.
195 Call insert_data_mapping_symbol.
196 (arm_init_frag): Update use of tc_frag_data. Call
198 (arm_elf_change_section): Always update the mapping symbol FSM state.
199 (check_mapping_symbols): New function.
200 (arm_adjust_symtab): Use check_mapping_symbols.
201 * config/tc-arm.h (struct arm_frag_type): New.
202 (TC_FRAG_TYPE): Change to struct arm_frag_type.
203 (TC_FRAG_INIT): Pass max_chars.
204 (arm_init_frag): Update prototype.
208 * configure.tgt (generic_target): Add moxie-uclinux support.
212 * doc/c-arm.texi (ARM-Instruction-Set): New node. Documents the
213 different syntaxes support by the ARM port.
214 (ARM Directives): Add entry for .syntax.
216 * doc/c-mips.texi (MIPS insn): Fix typo.
221 * symbols.c (S_FORCE_RELOC): True for BSF_GNU_INDIRECT_FUNCTION.
222 * config/tc-i386.c: Revert 2009-06-13 change.
223 * config/tc-i386.h: Likewise.
227 * expr.c (op_rank): Specify size. Remove O_md* initializers.
231 * config/tc-m68k.c (mcf5221x_ctrl): New.
232 (m68k_cpu): Add line for MCF5221x.
236 * config/tc-m68k.c (mcf52235_ctrl): Remove non-existent CACR, ACR[01].
237 (mcf53017_ctrl): Fix RAMBAR.
241 * obj-elf.c (elf_file_symbol): Replace symbol name set up by
242 symbol_new() with the passed in, unmodified one.
246 * config/tc-cr16.c (md_apply_fix): Put the addend value alone in to
247 object file without symbol values.
248 (tc_gen_reloc): For local symbols resolved or its absolute symbol,
249 then set the relocation type as NULL.
253 * config/tc-i386.c (cpu_arch): Add l1om.
254 (check_cpu_arch_compatible): New.
255 (set_cpu_arch): Use it.
257 (i386_mach): Return bfd_mach_l1om for Intel L1OM.
258 (md_show_usage): Display l1om.
259 (i386_target_format): Return ELF_TARGET_L1OM_FORMAT if
260 cpu_arch_isa_flags.bitfield.cpul1om is set.
262 * config/tc-i386.h (TARGET_ARCH): Use (i386_arch ()).
264 (ELF_TARGET_L1OM_FORMAT): Likewise.
266 * doc/c-i386.texi: Document l1om.
271 * config/obj-elf.c (obj_elf_ident): Set SEC_MERGE | SEC_STRINGS
272 flags on .comment section.
277 * config/tc-spu.c (md_apply_fix): Handle SPU_ADD_PIC.
278 * config/tc-spu.h (tc_fix_adjustable): Don't adjust for SPU_ADD_PIC.
279 (TC_FORCE_RELOCATION): Emit relocs for SPU_ADD_PIC.
283 * tc-i386.c (cpu_arch): Add .8087, .287, .387, .no87, .nommx,
285 (cpu_flags_and_not): New.
286 (set_cpu_arch): Check whether sub-architecture specified is a
288 (md_parse_option): Likewise.
289 (parse_real_register): Don't return floating point register
290 when x87 functionality is disabled.
291 (md_show_usage): Add new sub-options.
292 * doc/c-i386.texi: Update with new command line sub-options.
297 * config/tc-alpha.c: Fix up uses of gas printf like functions so
298 that the format string is a constant string. Add translation
299 support to message strings.
300 * config/tc-arc.c: Likewise.
301 * config/tc-arm.c: Likewise.
302 * config/tc-cris.c: Likewise.
303 * config/tc-fr30.c: Likewise.
304 * config/tc-frv.c: Likewise.
305 * config/tc-h8300.c: Likewise.
306 * config/tc-hppa.c: Likewise.
307 * config/tc-i370.c: Likewise.
308 * config/tc-i960.c: Likewise.
309 * config/tc-ia64.c: Likewise.
310 * config/tc-m32r.c: Likewise.
311 * config/tc-mep.c: Likewise.
312 * config/tc-mips.c: Likewise.
313 * config/tc-moxie.c: Likewise.
314 * config/tc-msp430.c: Likewise.
315 * config/tc-openrisc.c: Likewise.
316 * config/tc-pdp11.c: Likewise.
317 * config/tc-pj.c: Likewise.
318 * config/tc-s390.c: Likewise.
319 * config/tc-sh.c: Likewise.
320 * config/tc-sh64.c: Likewise.
321 * config/tc-sparc.c: Likewise.
322 * config/tc-spu.c: Likewise.
323 * config/tc-tic30.c: Likewise.
324 * config/tc-tic4x.c: Likewise.
325 * config/tc-tic54x.c: Likewise.
326 * config/tc-v850.c: Likewise.
327 * config/tc-xc16x.c: Likewise.
328 * config/tc-xstormy16.c: Likewise.
329 * config/tc-z80.c: Likewise.
330 * config/tc-z8k.c: Likewise.
331 * config/atof-ieee.c: Add translation support to as_warn
333 * config/obj-coff.c: Likewise.
337 * config/obj-elf.c (obj_elf_type): Add code to support a type of
339 * doc/as.texinfo: Document new feature of .type directive.
340 * NEWS: Mention support for gnu_unique_object symbol type.
345 * doc/c-mips.texi (MIPS insn): Document the special behaviour of
346 the .global directive for MIPS ports.
351 * config/tc-i386.c (i386_align_code): Tune for 32bit nops in
353 (i386_target_format): Set cpu_arch_isa_flags.bitfield.cpulm
358 * config/tc-i386.c (md_assemble): Update operand types.
359 (update_imm): Updated.
360 (finalize_imm): Update the first 2 immediate operands only
361 for instructions with 2 operands or more.
365 * config/tc-i386.c (md_assemble): Check implicit registers
366 only for instructions with 3 operands or less.
370 * config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid
371 compile time warning.
375 * config/tc-i386.c (md_assemble): Only check i.operands for AX.
376 (md_estimate_size_before_relax): Don't relax IFUNC symbols.
380 * config/tc-arm.c (md_apply_fix <BFD_RELOC_ARM_TARGET2>): Write
381 the offset for REL targets here.
385 * listing.c (print_source): Initialize cache by NULL.
389 * doc/c-arm.texi (mauto-it): Removed old option.
390 (mimplicit-it): Added right option.
394 * config/tc-arm.h (MAX_MEM_ALIGNMENT_BYTES): Define.
395 (MAX_MEM_FOR_RS_ALIGN_CODE): Define in terms of
396 MAX_MEM_ALIGNMENT_BYTES.
397 * config/tc-arm.c (arm_frag_align_code): Replace hard coded
398 constant with MAX_MEM_FOR_RS_ALIGN_CODE.
403 * config/tc-arm.h (THUMB_IS_FUNC): Handle a NULL pointer.
404 (ARM_IS_FUNC): Likewise.
408 * config/tc-arm.c (md_assemble): Added validation.
412 * Makefile.am: Run "make dep-am".
413 * Makefile.in: Regenerated.
417 * Makefile.am (DEPTC_alpha_ecoff): Refer to dwarf2.h, not
419 (DEPTC_alpha_elf): Likewise.
420 (DEPTC_alpha_evax): Likewise.
421 (DEPTC_arm_elf): Likewise.
422 (DEPTC_hppa_elf): Likewise.
423 (DEPTC_i386_aout): Likewise.
424 (DEPTC_i386_coff): Likewise.
425 (DEPTC_i386_elf): Likewise.
426 (DEPTC_m68k_aout): Likewise.
427 (DEPTC_m68k_coff): Likewise.
428 (DEPTC_m68k_elf): Likewise.
429 (DEPTC_mips_coff): Likewise.
430 (DEPTC_mips_ecoff): Likewise.
431 (DEPTC_mips_elf): Likewise.
432 (DEPTC_ppc_coff): Likewise.
433 (DEPTC_ppc_elf): Likewise.
434 (DEPTC_s390_elf): Likewise.
435 (DEPTC_sh_coff): Likewise.
436 (DEPTC_sh_elf): Likewise.
437 (DEPTC_sh64_elf): Likewise.
438 (DEPTC_sparc_aout): Likewise.
439 (DEPTC_sparc_coff): Likewise.
440 (DEPTC_sparc_elf): Likewise.
442 (dwarf2dbg.o): Likewise.
443 (dw2gencfi.o): Likewise.
446 * Makefile.in: Rebuild.
447 * dw2gencfi.h: Include dwarf2.h, not elf/dwarf2.h.
448 * dwarf2dbg.c: Likewise.
453 * config/tc-arm.c (it_fsm_post_encode): New forward declaration.
454 (set_it_insn_type_nonvoid): New macro.
455 (emit_thumb32_expr): New function.
456 (thumb_insn_size): New function.
457 (emit_insn): New function.
458 (s_arm_elf_inst): New function.
459 (md_pseudo_table): New pseudo-opcode entries added.
460 * doc/c-arm.texi: New directive added.
464 * config/tc-mep.c (md_begin): Don't reset the coprocessor options
465 when enabling other options without a specific configuration.
469 * config/tc-arm.c (insns): Fix encoding for torvsc.
473 * config/tc-i386.c (cpu_arch): Add .fma4 and CPU_FMA4_FLAGS.
474 (build_modrm_byte): Add support to handle FMA4 instructions.
475 (md_show_usage): Add fma4.
479 * config/tc-cr16.h (TC_LINKRELAX_FIXUP): Set only for code sections.
483 * Makefile.am (OBJ_FORMATS): Add macho.
484 (CPU_OBJ_VALID): Ditto.
485 (OBJ_FORMAT_CFILES): Add config/obj-macho.c
486 (OBJ_FORMAT_HFILES): Add config/obj-macho.h
487 (obj-macho.o): New rule.
488 * Makefile.in: Regenerated.
489 * configure.tgt (generic_target): Add i386-*-darwin*.
490 * config/tc-i386.h: Use i386_target_format for Mach-O.
491 * config/tc-i386.c (i386_target_format): Define it for Mach-O.
492 (i386_target_format): Add a case for bfd_target_mach_o_flavour.
493 * config/obj-macho.h: New file.
494 * config/obj-macho.c: New file.
499 * config/tc-arm.c (do_t_pkhtb): Swap Rm and Rn when encoding as
504 * config/tc-arm.c (MISSING_FNSTART): Define.
505 (s_arm_unwind_fnstart): Diagnose duplicate directive.
506 (s_arm_unwind_handlerdata, s_arm_unwind_fnend, s_arm_unwind_fnend,
507 s_arm_unwind_cantunwind, s_arm_unwind_personalityindex,
508 s_arm_unwind_personality, s_arm_unwind_save, s_arm_unwind_movsp,
509 s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): Error if
510 not inside function unwinding region.
514 * config/tc-i386.c: Reformat.
518 * config/tc-mep.c (mep_check_ivc2_scheduling): For IVC2, allocate
519 32 bits for relaxable branches so that we can relax them later.
520 (md_estimate_size_before_relax): Assume IVC2 branches will be relaxed.
521 (mep_relax_frag): New.
522 (md_convert_frag): Relax IVC2 branches in-place.
523 * config/tc-mep.h ((mep_relax_frag): New.
527 * gas/app, gas/as.c, gas/as.h, gas/atof-generic.c, gas/cgen.c,
528 gas/config/atof-ieee.c, gas/config/obj-aout.c,
529 gas/config/obj-coff.c, gas/config/obj-ecoff.c,
530 gas/config/obj-elf.c, gas/config/obj-som.c, gas/config/tc-alpha.c,
531 gas/config/tc-arc.c, gas/config/tc-arm.c, gas/config/tc-cr16.c,
532 gas/config/tc-cris.c, gas/config/tc-crx.c, gas/config/tc-d30v.c,
533 gas/config/tc-dlx.c, gas/config/tc-hppa.c, gas/config/tc-i370.c,
534 gas/config/tc-i386-intel.c, gas/config/tc-i386.c,
535 gas/config/tc-i860.c, gas/config/tc-i960.c, gas/config/tc-ia64.c,
536 gas/config/tc-iq2000.c, gas/config/tc-m32c.c,
537 gas/config/tc-m32r.c, gas/config/tc-m68hc11.c,
538 gas/config/tc-m68k.c, gas/config/tc-maxq.c, gas/config/tc-mcore.c,
539 gas/config/tc-mep.c, gas/config/tc-mips.c, gas/config/tc-mmix.c,
540 gas/config/tc-mn10300.c, gas/config/tc-moxie.c,
541 gas/config/tc-ns32k.c, gas/config/tc-pj.c, gas/config/tc-ppc.c,
542 gas/config/tc-s390.c, gas/config/tc-score.c,
543 gas/config/tc-score7.c, gas/config/tc-sh.c, gas/config/tc-sparc.c,
544 gas/config/tc-spu.c, gas/config/tc-tic30.c, gas/config/tc-vax.c,
545 gas/config/tc-xtensa.c, gas/config/xtensa-relax.c,
546 gas/dw2gencfi.c, gas/dwarf2dbg.c, gas/ehopt.c, gas/expr.c,
547 gas/frags.c, gas/input-file.c, gas/read.c, gas/sb.c,
548 gas/subsegs.c, gas/symbols.c, gas/write.c: Change the name of the
549 gas macro `assert' to `gas_assert'.
553 * config/tc-arm.c (implicit_it_mode): New enum.
554 (implicit_it_mode): New global.
555 (it_instruction_type): New enum.
556 (arm_parse_it_mode): New function.
557 (arm_long_opts): New option added.
559 (it_state): New enum.
561 (check_it_blocks_finished): New function.
562 (insns[]): Use the IT Thumb opcodes for ARM too.
563 (arm_cleanup): Call check_it_blocks_finished.
564 (now_it_compatible): New function.
565 (conditional_insn): New function.
566 (set_it_insn_type): New macro.
567 (set_it_insn_type_last): New macro.
568 (do_it): Call automatic IT machinery functions.
569 (do_t_add_sub): Likewise
570 (do_t_arit3): Likewise.
571 (do_t_arit3c): Likewise.
572 (do_t_blx): Likewise.
573 (do_t_branch): Likewise.
574 (do_t_bkpt): Likewise.
575 (do_t_branch23): Likewise.
577 (do_t_bxj): Likewise.
578 (do_t_cps): Likewise.
579 (do_t_cpsi): Likewise.
580 (do_t_cbz): Likewise.
582 (encode_thumb2_ldmstm): Likewise.
583 (do_t_ldst): Likewise.
584 (do_t_mov_cmp): Likewise.
585 (do_t_mvn_tst): Likewise.
586 (do_t_mul): Likewise.
587 (do_t_neg): Likewise.
588 (do_t_setend): Likewise.
589 (do_t_shift): Likewise.
591 (output_it_inst): New function.
592 (new_automatic_it_block): New function.
593 (close_automatic_it_block): New function.
594 (now_it_add_mask): New function.
595 (it_fsm_pre_encode): New function.
596 (handle_it_state): New function.
597 (it_fsm_post_encode): New function.
598 (force_automatic_it_block_close): New function.
599 (in_it_block): New function.
600 (md_assemble): Call automatic IT block machinery functions.
601 (arm_frob_label): Likewise.
602 (arm_opts): New element.
603 * config/tc-arm.h (it_state): New enum.
604 (current_it): New struct.
605 (arm_segment_info_type): New member added.
606 * doc/c-arm.texi: New option -mimplicit-it documented.
611 * doc/as.texinfo (Section <ELF "M,S" flag>): Clarify tail merge.
615 * config/tc-s390.c (md_gather_operands): Accept an instruction
616 without operands if all operands are tagged as optional.
621 * gas/tc-arm.c (do_t_ssat): Move common code from here...
622 (do_t_usat): ... and here to...
623 (do_t_ssat_usat): New function: ... here. Add code to check that
624 the shift value, if present, is in range.
628 Merge cegcc and mingw32ce target name changes
633 * configure.tgt: Add arm*-*-cegcc* target.
637 * configure.tgt: Add arm-*-mingw32ce* target.
641 * config/tc-vax.c (md_estimate_size_before_relax): Accept
642 indirect symbol references in the PIC mode and emit a
643 PC-relative relocation instead of a GOT/PLT one. Likewise
644 for symbols known to be hidden at this point.
649 * config/tc-arm.c (T16_32_TAB): Fix binary value of SEV.W
655 * config/tc-i386.c (md_apply_fix): Use TC_FORCE_RELOCATION
656 instead of generic_force_reloc.
658 * config/tc-i386.h (TC_FORCE_RELOCATION): New.
662 * config/tc-moxie.c (md_chars_to_number): Define.
663 (md_begin): Populate opcode hashtable with more form 3 opcodes.
664 (md_assemble): Assemble MOXIE_F3_PCREL encoded instructions.
665 (md_apply_fix): Handle BFD_RELOC_MOXIE_10_PCREL relocations.
666 (tc_gen_reloc): Ditto.
667 (md_pcrel_from): Ditto.
668 (md_chars_to_number): New function.
672 * config/tc-moxie.c (md_assemble): Handle MOXIE_F1_M encoded
678 * dw2gencfi.c (output_cfi_insn): Initialize fragment before rs_cfa
679 to DW_CFA_advance_loc4.
684 * config/tc-i386.c (md_estimate_size_before_relax): Don't relax
685 branches to weak symbols.
686 (md_apply_fix): Don't convert fixes against weak symbols to
687 section-relative offsets, but save addend for later reloc emission.
688 (tc_gen_reloc): When emitting reloc against weak symbol, adjust
689 addend to pre-compensate for bfd_install_relocation.
693 * dep-in.sed: Don't use \n in replacement part of s command.
694 * Makefile.am (DEP1, DEPTC, DEPOBJ, DEP2): LC_ALL for uniq.
695 * Makefile.in: Regenerate.
700 * config/tc-i386-intel.c (i386_intel_operand): Check '$' as '.'.
704 * config/tc-mips.c (check_for_24k_errata): Remove.
705 (md_mips_end): Remove call to check_for_24k_errata.
706 (start_noreorder): Likewise.
707 (s_change_sec): Likewise.
708 (s_change_section): Likewise.
709 (insns_between): Add 24k errata checks.
710 (append_insn): Remove declaration and references to nhdx_24k.
711 Remove calls to check_for_24k_errata.
715 * po/id.po: Updated Indonesian translation.
716 * po/gas.pot: Updated template file.
721 * config/bfin-parse.y (error): Use "%s" as format string for error
726 * dep-in.sed: Output one filename per line with all lines having
727 continuation backslash. Prefix first line with "A", following
729 * Makefile.am (DEP): Don't use dep.sed here.
730 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
732 (DEPTC, DEPOBJ, DEP2): Use dep.sed on dependencies, sort and uniq.
733 Emit multi dependencies on one line.
734 * Makefile.in: Regenerate.
738 * makefile.vms: New file to compile gas on VMS.
740 * configure.com: New file to do configuration on VMS with DCL.
744 * config/tc-mips.c (nops_for_vr4130): Don't check noreorder_p.
745 (nops_for_insn): Likewise.
749 * symbols.c (COPIED_SYMFLAGS): Add BSF_GNU_INDIRECT_FUNCTION.
753 * config/tc-i386.c (process_drex): Delete. Remove SSE5 support.
754 (build_modrm_byte): Remove DREX handling support.
757 (md_assemble): Remove DREX handling support.
758 (process_operands): Remove DREX, SSE5 support.
759 (i386_insn): Remove DREX.
763 * Makefile.am: Run "make dep-am".
764 * Makefile.in: Regenerate.
769 * config/obj-coff.h: Include "coff/x86_64.h" for x86 pe-coff.
770 (TARGET_FORMAT): Removed for x86 pe-coff.
771 (COFF_TARGET_FORMAT): Likewise.
773 * config/tc-i386.c (md_longopts): Allow --64 for x86 pe-coff.
774 (md_parse_option): Likewise.
775 (md_show_usage): Show option --32/--64 for x86 pe-coff.
776 (i386_target_format): Use also for x86 pe-coff.
778 * config/tc-i386.h (TARGET_FORMAT): Defined as i386_target_format
783 * config/tc-mep.c (mep_machine): Only check CPU flags, not COP flags.
784 (mep_process_saved_insns): Remove debugging printfs.
788 * NEWS: Mention new feature.
789 * config/obj-coff.c (obj_coff_common_parse): New function.
790 (obj_coff_comm): Likewise.
791 (coff_pseudo_table): Override default ".comm" definition on PE.
792 * doc/as.texinfo: Document new feature.
796 * config/obj-coff.c (obj_coff_section): Add 'y' as
797 specifier for SEC_COFF_NOREAD section flag.
798 * doc/as.texinfo: Add documentation about .section flag 'y'.
802 * cgen.c (gas_cgen_parse_operand): Guard against NULL pointers.
806 * config/tc-arm.c: Move as.h to start of file.
810 * config/tc-arm.h: Fix typo in comment.
811 (ARM_IS_FUNC): New macro.
812 (MD_APPLY_SYM_VALUE): Define.
814 * config/tc-arm.c (do_blx): Retain BFD_RELOC_ARM_PCREL_BLX for
815 all versions of EABI.
816 (relax_branch): Do not relax for branches to ARM functions.
817 (md_pcrel_from_section): Set up base correctly for
818 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_THUMB_PCREL_CALL,
819 BFD_RELOC_THUMB_PCREL_BRANCH23, BFD_RELOC_ARM_PCREL_BLX
820 BFD_RELOC_ARM_PCREL_CALL.
821 (md_apply_fix): Flip bl to blx where possible.
822 Flip blx to bl where possible.
823 (arm_force_relocation): Force relocations for
824 BFD_RELOC_ARM_PCREL_JUMP, BFD_RELOC_ARM_PCREL_JUMP,
825 BFD_RELOC_ARM_PCREL_BLX, BFD_RELOC_THUMB_PCREL_BLX,
826 BFD_RELOC_THUMB_PCREL_BRANCH20, BFD_RELOC_THUMB_PCREL_BRANCH23,
827 BFD_RELOC_THUMB_PCREL_BRANCH25.
828 (arm_apply_sym_value): New function.
832 * config/tc-alpha.c: Also declare alpha_prologue_label for OBJ_EVAX.
836 * config/tc-armlinux-eabi.h (FPU_DEFAULT): Default to plain VFP.
837 * config/tc-armeabi.h (FPU_DEFAULT): Likewise.
838 * config/tc-arm.c (md_begin): If FPU_DEFAULT is set, don't infer
839 the default FPU from the processor.
843 * config/tc-arm.c (do_t_blx): Always use BFD_RELOC_THUMB_PCREL_BLX.
844 (md_pcrel_from_section): Align address for BLX.
845 (tc_gen_reloc): Change BFD_RELOC_THUMB_PCREL_BLX relocations to
846 BFD_RELOC_THUMB_PCREL_BRANCH23 for EABI v4+.
850 * config/tc-mep.c (md_begin): Check coprocessor type.
851 (md_check_parallel64_scheduling): Use memset to initialize the buffer.
852 (md_check_parallel32_scheduling): Likewise.
854 (mep_check_ivc2_scheduling): New.
855 (mep_check_parallel_scheduling): Call it.
856 (mep_process_saved_insns): Add IVC2 slot support.
857 (md_assemble): Likewise.
861 * config/obj-elf.c (obj_elf_type): Add support for a
862 gnu_indirect_function type.
863 * config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups
864 against indirect function symbols.
865 * doc/as.texinfo (.type): Document the support for the
866 gnu_indirect_function symbol type.
867 * NEWS: Mention the new feature.
871 * NEWS: Add item about discriminator support.
872 * dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field.
873 * dwarf2dbg.c (current): Add discriminator field.
874 (dwarf2_where): Copy discriminator value.
875 (dwarf2_consume_line_info): Set discriminator to 0.
876 (dwarf2_directive_loc): Process discriminator sub-op.
877 (out_leb128): New function.
878 (process_entries): Output DW_LNE_set_discriminator.
879 * doc/as.texinfo: Add discriminator operand to .loc directive.
883 * config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for
884 as_bad calls to silence compiler warning.
888 * config/tc-i386-intel.c (O_XXX): Reorder.
892 * Makefile.am: Add explicit dependency of tc-i386.o on
894 * Makefile.in: Likewise.
895 * config/tc-i386.c (i386_finalize_immediate): Declare, broken
896 out from i386_immediate.
897 (i386_immediate): Slightly re-arrange, call
898 i386_finalize_immediate.
899 (i386_finalize_displacement): Declare, broken out from
901 (i386_displacement): Slightly re-arrange, call
902 i386_finalize_displacement.
903 (i386_intel_simplify, i386_intel_parse_name): Declare.
904 (this_operand): Initialize to -1.
905 (set_intel_syntax): Set expression rank for O_full_ptr.
906 (md_assemble): Set this_operand back to -1 after parsing
908 (x86_cons): Negate intel_syntax to indicate state. Call
910 (md_operand): Convert if to switch. Handle '[' for Intel
912 (i386_intel_operand): Delete, including all helper functions
914 * config/tc-i386-intel.c: New file, all new code.
915 * config/tc-i386.h (i386_operator): Declare.
916 (md_operator): Define to i386_operator.
917 (i386_need_index_operator): Declare.
918 (md_need_index_operator): Define to i386_need_index_operator.
919 (O_full_ptr): Define.
923 * expr.c (operand): Call md_need_index_operator() and
924 md_operator() if defined. Add unary label.
925 (operator): Call md_operator() if defined.
926 (expr): Adjust assertions on range and rank of op_left and
927 op_right. Don't abort on unhandled operators when reducing
928 expressions with both operands being constant.
929 (expr_set_rank): New.
930 * expr.h (expr_set_rank): Declare.
934 * config/tc-moxie.h: New file.
935 * config/tc-moxie.c: New file.
936 * configure: Add support for moxie.
937 * configure.tgt: Add support for moxie.
941 * expr.c: Include limits.h if available, and #define CHAR_BITS
943 (expr): Check range of shift count when evaluating a constant
948 * config/tc-i386.c (process_operands): Print operands in
949 correct order depending on intel_syntax.
953 * config/tc-mips.c (mips_fix_24k): Declare.
954 (check_for_24k_errata): New.
955 (mips_cleanup): Call check_for_24k_errata.
956 (start_noreorder): Likewise.
957 (md_mips_end): Likewise.
958 (s_change_sec): Likewise.
959 (s_change_section): Likewise.
960 (append_insn): Call check_for_24k_errata. Prevent
961 ERET/DERET instructions from being moved into delay
963 (OPTION_FIX_24K): New.
964 (OPTION_NO_FIX_24k) New.
965 (md_longopts): Add "mfix-24k" and "mno-fix-24k".
966 (md_parse_option): Handle fix-24k options.
967 (md_show_usage): Display fix-24k options.
968 * doc/c-mips.texi: Document.
972 * config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS
973 instead of HAVE_64BIT_SYMBOLS.
977 * config/tc-mep.c: Add UCI/DSP instruction support. Add C5 support.
978 (md_show_usage): Change default endian to little.
979 * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little.
983 * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA
985 (build_bytes): Pass insn to do_a_fix_imm.
989 * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
990 * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and
995 * config/tc-vax.c (synthetic_votstrs): add "jbbcci" and "jbbssi"
996 (md_assemble): emit symbol name when used as immediate in PIC mode.
997 (md_assemble): fix LP64 bug (use sizeof (valueT) instead 4).
1001 * config/tc-xtensa.c (parse_arguments): call demand_empty_rest_of_line
1005 * config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF.
1006 (find_real_start): Likewise.
1007 * config/tc-arm.h (TC_VALIDATE_FIX): Likewise
1011 * config/tc-arm.c (do_nop): Generate v6k nops whenever possible.
1012 (arm_handle_align): Generate v6k ARM, thumb2 wide & narrow nops
1017 * config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop.
1021 * doc/internals.texi: Fix trivial syntax errors.
1026 * config/tc-i386.c (reloc): Don't abort on lack of required
1031 * config/tc-i386.c (parse_insn): Use default_arch on unsupported
1037 * listing.c (listing_newline): Properly handle `\\"' and ';'.
1039 * read.c (is_end_of_line): Update comments for line separator.
1040 (read_begin): Set line separator in is_end_of_line to 2.
1044 * config/tc-sparc.c (md_parse_option): If the user gives
1045 us '--64' make sure max_architecture is at least V9.
1049 * config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and
1050 BFD_RELOC_ARM_ADRL_IMMEDIATE value is in the correct section.
1051 Check BFD_RELOC_ARM_ADRL_IMMEDIATE has a defined symbol.
1055 * as.h: Include alloca-conf.h instead of config.h and remove
1056 existing #if's handling alloca.
1057 * Makefile.am: Run "make dep-am".
1058 * Makefile.in: Regenerate.
1062 * config/tc-ppc.c (ppc_frob_symbol): Add csect information for
1067 * config/tc-ppc.c (md_apply_fix): On COFF targets, always reread
1068 "value" from fx_offset. Manually resubtract md_pcrel_from_section
1073 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
1074 * configure.in: Likewise.
1075 * configure: Regenerate.
1079 * config/tc-cris.c (cris_create_short_jump): Remove prototype.
1080 Rename, changing all callers, to...
1081 (md_create_short_jump): Adjust head comment. Assert
1082 word-sized-branch distance for v32. Bail out calling as_fatal for
1083 compatibility mode here.
1084 (md_create_long_jump): ...not here.
1085 * config/tc-cris.h (md_create_short_jump): Do not define.
1089 * write.c (write_object_file) [!WORKING_DOT_WORD]: When patching
1090 the jump table for multiple overflowing entries with the same
1091 target, handle base symbols being different.
1092 (relax_segment) <case rs_broken_word, second loop>: Whenever a
1093 single entry overflows, arrange to redirect all entries with the
1098 * config/tc-ppc.c (parse_cpu): Delete.
1099 (md_parse_option, ppc_machine): Use ppc_parse_cpu.
1104 * config/tc-i386.h (LOCAL_LABELS_DOLLAR): New. Defined as 0.
1105 (LOCAL_LABELS_FB): Undefine befoe define.
1109 * po/es.po: Updated Spanish translation.
1113 * read.c (s_fill, s_space, s_float_space, float_cons, stringer,
1114 s_incbin): Call md_cons_align (1).
1118 * config/tc-alpha.c (alpha_prologue_label): Only define for ELF
1120 (s_alpha_comm): Only define "temp" and "log_align" local variables
1125 * config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs
1126 have non-zero addend.
1127 (md_assemble): Parse args of __tls_get_addr calls.
1128 (md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD.
1133 * config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with
1134 local scope for ELF targets.
1138 * config/tc-ppc.c (md_assemble): APUinfo only for e500.
1144 * doc/as.texinfo (Overview): Mention -replace/-noreplace options
1146 * doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace.
1147 * config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax).
1148 (OBJ_SYMFIELD_TYPE): Remove.
1149 (tc_canonicalize_symbol_name): Define to evax_shorten_name.
1150 (TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax.
1151 (tc_frob_file_before_fix): Do not defined on evax.
1152 * config/tc-alpha.c: Always includes dwarf2dbg.h.
1153 Include vms.h if OBJ_EVAX.
1154 (struct alpha_fixup): Add xtrasym and procsym (evax only).
1155 (enum alpha_macro_arg): Remove trailing comma.
1156 (md_longopts): Add replace and noreplace arguments (evax only).
1157 (alpha_evax_proc_hash): New variable.
1158 (alpha_link_section): Make it global.
1159 (alpha_ctors_section, alpha_dtors_section): Removed.
1160 (alpha_ctors_symbol, alpha_dtors_symbol): Ditto.
1161 (alpha_lit8_section): Ifndef'ed on evax.
1162 (alpha_lit8_symbol): Ditto.
1163 (alpha_prologue_label): New variable.
1164 (alpha_linkage_symbol): New variable (evax only).
1165 (alpha_flag_replace): Ditto.
1166 (struct alpha_evax_procs): Add handler and handler_data field.
1167 (alpha_evax_proc): Now of type pointer.
1168 (alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables.
1169 (struct alpha_reloc_tag): Add sym and psym fields (evax only).
1170 (get_alpha_reloc_tag): Initialize sym and psym fields (evax only).
1171 (alpha_adjust_relocs): Ifndef'ed on evax.
1172 (load_expression): Add opname argument.
1173 Implement LDA/BSR optimization for evax.
1174 (emit_lda): Adjust for new prototype of load_expression.
1175 (emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols.
1176 (emit_loadstore): Likewise.
1177 (emit_ldXu): Likewise.
1178 (emit_stX): Likewise.
1179 (emit_jsrjmp): Likewise. Implement LDA/BSR optimization for evax.
1180 (emit_ldgp): Avoid warning in evax case.
1181 (add_to_link_pool): Make it static. Return symbolic expression rather
1182 than number expression for the offset.
1183 (s_alpha_text): Create .text symbol for evax if not already created.
1184 (s_alpha_comm): Do not create specific section for common symbol.
1185 Fill common area with zeros for evax.
1186 (s_alpha_prologue): Create alpha_prologue_label.
1187 (s_alpha_section_name): New function (evax).
1188 (s_alpha_section_word): Likewise.
1189 (section_name): New static variabke moved out from ...
1190 (s_alpha_section): ... here. Create new sections on demand.
1191 (s_alpha_literals): New function (evax).
1192 (s_alpha_ent): Create alpha_evax_proc instance and insert it in the
1193 alpha_evax_proc_hash table.
1194 (s_alpha_handler): New function (evax).
1195 (s_alpha_frame): Adjust for new type of alpha_evax_proc.
1196 (s_alpha_prologue): New function (evax).
1197 (s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new
1198 handling of procedures with hash table.
1199 Add support for condition handlers.
1200 (s_alpha_linkage): Create linkage_fixup instance and chain it.
1201 (s_alpha_fp_save): Adjust for new type of alpha_evax_proc.
1202 (s_alpha_mask): Likewise.
1203 (s_alpha_fmask): Likewise.
1204 (s_alpha_end): Clear alpha_evax_proc.
1205 (s_alpha_align): Increase max_alignment to 16.
1206 (alpha_print_token): Call print_expr_1 instead of print_expr.
1207 (md_pseudo_table): Add "section", "literals", "handler" and
1208 "handler_data" (evax). Do not ignore "prologue" on evax.
1210 (md_begin): Create hash table for alpha_evax_proc_hash.
1211 (md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE.
1212 (md_show_usage): Mention -replace/-noreplace for evax.
1213 (md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH).
1214 (alpha_force_relocation): Likewise.
1215 (alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case.
1216 (tc_gen_reloc): Likewise. Add BFD_RELOC_ALPHA_LINKAGE for evax.
1217 (emit_insn): New cases for evax specific relocs.
1218 (assemble_insn): Fix indentation.
1219 Take care of -MDISP in operand table.
1220 * config/obj-evax.h (struct alpha_linkage_fixups): New struct.
1221 (OBJ_SYMFIELD_TYPE): New macro.
1222 (obj_symbol_new_hook): Define.
1223 (obj_frob_symbol, obj_frob_file_before_adjust): Ditto.
1224 (obj_frob_file_before_fix): Ditto.
1225 (PDSC_S_M_HANDLER_VALID): New macro.
1226 (PDSC_S_M_HANDLER_DATA_VALID): Ditto.
1227 (TC_IMPLICIT_LCOMM_ALIGNMENT): Remove.
1228 Add prototypes for functions declared in obj-evax.c
1229 * config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h.
1230 (s_evax_weak): Convert to ansi-C.
1231 (evax_symbol_new_hook): New function.
1232 (evax_frob_symbol): Ditto.
1233 (evax_frob_file_before_adjust): Ditto.
1234 (evax_frob_file_before_fix): Ditto.
1235 (evax_shorten_name): Ditto.
1240 (shorten_identifier): Ditto.
1241 (is_truncated_identifier): Ditto.
1242 * dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS.
1243 * as.c (close_output_file): Remove #ifndef OBJ_VMS.
1248 * Makefile.am: Run "make dep-am".
1249 * Makefile.in: Regenerate.
1254 * config/tc-ia64.c (fix_insn): Fix warning reported by
1259 * config/tc-score7.c: New file.
1260 * doc/c-score.texi: New file.
1261 * Makefile.am: Update dependencies for tc-score.c.
1262 * Makefile.in: Regenerate.
1263 * NEWS: Mention support for Score7 architecture.
1264 * config/tc-score.c: Add support for Score7 architecture.
1265 * config/tc-score.h: Likewise.
1266 * doc/Makefile.am: Add c-score.texi.
1267 * doc/Makefile.in: Regenerate.
1268 * doc/all.texi: Add Score7.
1269 * doc/as.texinfo: Add Score7.
1273 * config/tc-arm.c (md_assemble): Allow barrier instructions on
1278 * configure: Regenerate.
1282 * config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
1283 "f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
1284 (parse_cpu): Extend -mpower7 to accept power7 and isel instructions.
1288 * config/tc-i386.c (fits_in_imm4): Removed.
1292 * config/tc-hppa.c (pa_ip): Add check of immediate values.
1293 (SAVE_IMMEDIATE): New define.
1297 * config/tc-arm.c (warn_deprecated_sp): New macro.
1298 (do_t_mov_cmp): Permit R13 as the second
1299 argument to "cmp.n".
1303 * config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM.
1304 (pt): Replace UINTS_ALL_ZERO with operand_type_all_zero.
1308 * config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4.
1312 * config/tc-i386.c (vex_imm4): Removed.
1313 (VEX_check_operands): Likewise.
1314 (match_template): Updated.
1318 * doc/all.texi: Set S390.
1319 * doc/as.texinfo: Add S390 support and pull in c-s390.texi.
1320 * doc/Makefile.am (CPU_DOCS): Add c-s390.texi.
1321 * doc/Makefile.in: Likewise.
1322 * doc/c-s390.texi: New.
1326 * config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR.
1327 (mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New.
1328 (mcf5307_ctrl): Add VBR.
1329 (no_mac): New variable.
1330 (m68k_extensions): Refer to no_mac mask.
1331 (m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277,
1332 52252..52259, 53011..53017.
1333 (m68k_ip): Process CPUCR.
1334 (init_table): Add cpucr entry.
1335 (m68k_set_extension): Allow negated mask to refer to a variable.
1336 (md_show_usage): Use '%s' to silence fprintf warning.
1337 * config/m68k-parse.h (CPUCR): New control register.
1341 * config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for
1342 as_bad calls to silence compiler warning.
1347 * config/tc-arm.c (MODE_RECORDED): New define.
1348 (output_inst): Record the thumb_mode in the current frag.
1349 (arm_handle_align): Ignore the MODE_RECORDED bit in tc_frag_data.
1350 (arm_init_frag): Only set the tc_frag_data field if it has not
1355 AVX Programming Reference (January, 2009)
1356 * config/tc-i386.c (CPU_FLAGS_PCLMUL_MATCH): New.
1357 (CPU_FLAGS_AVX_MATCH): Updated.
1358 (CPU_FLAGS_32BIT_MATCH): Likewise.
1359 (cpu_flags_match): Likewise.
1363 * config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T,
1364 M_MSGWAIT and M_MSGWAIT_T.
1365 (mips_cpu_info_table): Add XLR entry.
1366 * doc/c-mips.texi (-march): Document xlr.
1370 * config/tc-avr.c (mcu_types): Add ata6289.
1371 * doc/c-avr.texi: Likewise.
1375 * configure.in: AC_SUBST pdfdir.
1376 * Makefile.am: Add install-pdf, install-pdf-am,
1377 and install-pdf-recursive targets.
1378 * doc/Makefile.am: Define pdf__strip_dir. Add
1379 install-pdf and install-pdf-am targets.
1380 * po/Make-in: Add install-pdf target.
1381 * configure: Regenerate.
1382 * Makefile.in: Regenerate.
1383 * doc/Makefile.in: Regenerate.
1387 * config/m68k-parse.h (enum pic_relocation): Add values for TLS
1389 * config/m68k-parse.y (yylex): Parse TLS relocations.
1390 * config/tc-m68k.c (m68k_elf_cons): New static function.
1391 (md_pseudo_table): Use it.
1392 (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
1394 (md_apply_fix): Fix to set thread local flag.
1395 (m68k_elf_suffix): New static function; helper for m68k_elf_cons.
1400 * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of
1401 indexed addressing for symbolic expressions.
1405 * config/tc-arm.c (BAD_SP): Define.
1406 (s_arm_unwind_fnstart): Use REG_SP.
1407 (s_arm_unwind_setfp): Likewise.
1408 (reject_bad_reg): New macro.
1409 (do_co_reg): Check for bad registers.
1410 (do_co_reg2c): Likewise.
1411 (do_srs): Use REG_SP.
1412 (do_t_add_sub): Check for bad registers.
1413 (do_t_adr): Likewise.
1414 (do_t_arit3): Likewise.
1415 (do_t_arit3c): Likewise.
1416 (do_t_bfc): Likewise.
1417 (do_t_bfi): Likewise.
1418 (do_t_bfx): Likewise.
1419 (do_t_blx): Likewise.
1420 (do_t_bx): Likewise.
1421 (do_t_bxj): Likewise.
1422 (do_t_clz): Likewise.
1423 (do_t_div): Likewise.
1424 (do_t_mla): Likewise.
1425 (do_t_mlal): Likewise.
1426 (do_t_mov_cmp): Likewise.
1427 (do_t_mov16): Likewise.
1428 (do_t_mvn_tst): Likewise.
1429 (do_t_mrs): Likewise.
1430 (do_t_msr): Likewise.
1431 (do_t_mul): Likewise.
1432 (do_t_mull): Likewise.
1433 (do_t_orn): Likewise.
1434 (do_t_pkhbt): Likewise.
1435 (do_t_pld): Likewise.
1436 (do_t_rbit): Likewise.
1437 (do_t_rev): Likewise.
1438 (do_t_rrx): Likewise.
1439 (do_t_rsb): Likewise.
1440 (do_t_shift): Likewise.
1441 (do_t_simd): Likewise.
1442 (do_t_ssat): Likewise.
1443 (do_t_ssat16): Likewise.
1444 (do_t_sxtah): Likewise.
1445 (do_t_sxth): Likewise.
1446 (do_t_tb): Likewise.
1447 (do_t_usat): Likewise.
1448 (do_t_usat16): Likewise.
1449 (nysn_insert_sp): Use REG_SP.
1453 * config/tc-arm.c (do_t_orn): New function.
1454 (do_t_rrx): Likewise.
1455 (insns): Add orn and rrx.
1459 * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
1460 uasx, uhasx, uhsx, uqasx, uqsax, usax.
1464 * config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub,
1465 qdsub in Thumb-2 mode.
1470 * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding
1471 of MUL when possible.
1475 * config/tc-mep.h (DIFF_EXPR_OK): Do not define.
1480 * doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte,
1481 .4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32
1486 * config/tc-mips.c (append_insn): Cope with a complex reloc
1487 sequence containing an unsupported reloc type.
1488 (enum options): Replace computed #define's constants for option
1489 numbers with this enum.
1490 (struct md_longopts): Use the enum. Allow OPTION_32 in a non-ELF
1492 (md_parse_option): Allow -32 in a non-ELF environment.
1496 * config/tc-arm.c (attributes_set_explicitly): New array.
1497 (s_arm_eabi_attribute): Check return value from s_vendor_attribute.
1498 (cpu_arch): Add ARM_ARCH_V5T.
1499 (aeabi_set_attribute_int): New function.
1500 (aeabi_set_attribute_string): New function.
1501 (aeabi_set_public_attributes): Set attributes according to the user's
1502 intentions, rather than the actual state of the binary.
1503 Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of
1504 bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string.
1505 Support WMMXv2. Use attribute names instead of numbers.
1506 * read.c (s_vendor_attribute): Change return type to int.
1507 Return the tag number that was set.
1508 * read.h (s_vendor_attribute): Change return type to int.
1513 * config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name.
1514 * doc/c-avr.texi: Likewise.
1518 * doc/c-arm.texi (): Document -mwarn-deprecated.
1519 * config/tc-arm.c (WARN_DEPRECATED): Remove. Replace with ...
1520 (warn_on_deprecated): ... this.
1521 (opcode_lookup, md_assemble): Check it before warning.
1522 (arm_opts): Add m[no-]warn-deprecated.
1523 (md_parse_option): Replace WARN_DEPRECATED with
1528 * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
1529 arguments to macro_build to match format.
1531 * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.
1532 * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define.
1536 * config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for
1537 ELF format ARM targets.
1538 * config/tc-arm.c (arm_convert_symbolic_attribute): Likewise.
1542 * configure.tgt: Restore alpha sorting to object format switch
1547 * read.c (s_vendor_attribute): Allow for unknown flag bits in type.
1551 * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5.
1552 * config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.
1557 * config/tc-arm.c (arm_copy_symbol_attributes): New function.
1558 * config/tc-arm.h (arm_copy_symbol_attributes): New prototype.
1559 (CONVERT_SYMBOLIC_ATTRIBUTE): New define.
1560 * read.c (s_vendor_attribute): Add support for symbolic tag names.
1561 Improve string parser.
1562 * doc/c-arm.texi (ARM Machine Directives): Document
1563 .eabi_attribute symbolic tag names.
1567 * configure.in (commonbfdlib): Delete.
1568 * configure: Regenerate.
1569 * po/POTFILES.in: Regenerate.
1574 * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11.
1578 * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat ->
1579 bfd_elf_add_obj_attr_int_string.
1583 * configure.tgt(ia64-*-*vms*): New target.
1584 * dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
1585 * tc.h (md_number_to_chars): Declare iff undefined.
1586 * config/obj-elf.c (obj_elf_change_section): Change type of arg
1588 (obj_elf_parse_section_letters): Return a bfd_vma. Change type of
1589 variables attr, md_attr to bfd_vma.
1590 (obj_elf_section_word): Likewise.
1591 (obj_elf_section): Change type of variable attr to bfd_vma
1592 * config/obj-elf.h (obj_elf_change_section): Change type of arg
1594 * config/tc-ia64.c (bfdver.h,time.h): Include.
1595 (ia64_elf_section_letter): Now returns a bfd_vma.
1596 Handle VMS specific attributes.
1597 (ia64_elf_section_flags): Arg attr now a bfd_vma.
1598 (ia64_init): Don't turn on dependency checking for VMS.
1599 (ia64_target_format): Check for VMS flag bit.
1600 (do_alias): Hande decc$ functions.
1601 (get_vms_time): New function.
1602 (ia64_vms_note): New function.
1603 * config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
1604 (ia64_elf_section_flags): Arg attr now a bfd_vma.
1605 (tc_init_after_args): Define for VMS.
1606 * config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
1607 (alpha_elf_section_flags): Change type of arg attr to bfd_vma.
1608 * config/tc-alpha.h: Likewise.
1609 * config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
1610 (x86_64_section_word): Return a bfd_vma.
1611 * config/tc-i386.h: Likewise.
1612 * config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
1614 * config/tc-ip2k.h: Likewise.
1615 * config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
1616 (mep_elf_section_flags): Change type of arg attr to bfd_vma.
1617 * config/tc-mep.h: Likewise.
1618 * config/tc-ppc.c (ppc_section_letter): Return a bfd_vma.
1619 (ppc_section_word): Return a bfd_vma.
1620 (ppc_section_flags): Change type of arg attr to bfd_vma.
1621 * config/tc-ppc.h: Likewise.
1622 * config/tc-frv.h: Provide a prototype for frv_md_number_to_chars.
1623 * config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
1624 DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
1625 New file with new macros
1626 * dwarf2dbg.c (get_filenum, out_file_list): Default and call new
1632 * config/tc-arm.c (do_t_nop): Check for availability of Thumb2
1633 instructions before generating a Thumb2 nop.
1637 * config/tc-s390.h: Define LOCAL_LABEL_PREFIX.
1641 * config/tc-spu.c (md_pseudo_table): Add "brinfo".
1643 (md_assemble): Poke brinfo into branch instructions.
1644 (spu_brinfo): New function.
1645 (md_apply_fix): Don't assume insn fields start off at zero, mask
1646 them to remove possible brinfo.
1650 * doc/c-i386.texi: Reformat.
1654 * config/tc-i386.c (cpu_arch): Add corei7, .clflush and
1656 (i386_align_code): Handle PROCESSOR_COREI7.
1657 (md_show_usage): Add corei7, clflush and syscall.
1658 (i386_target_format): Replace cpup4 with cpuclflush.
1660 * config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
1662 * doc/c-i386.texi: Document corei7, clflush and syscall.
1666 * config/tc-i386.c (cpu_arch): Add .rdtscp.
1667 (md_show_usage): Display rdtscp.
1669 * doc/c-i386.texi: Document rdtscp.
1673 * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
1674 Test the new "deprecated" opcode field.
1678 * config/tc-xtensa.c (produce_flix): New.
1679 (option_flix, optoin_no_generate_flix, option_no_flix) Define.
1680 (md_longopts): Add support for them.
1681 (md_parse_option): Likewise.
1682 (md_show_usage): Add help message.
1683 (finish_vinsn): Don't allow multi-slot flix when produce_flix
1684 option is set to FLIX_NONE.
1685 * config/xtensa-relax.c (transition_applies): Only relax to
1686 flix branches when produce_flix equals FLIX_ALL.
1687 * config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE
1689 (produce_flix): Declare.
1693 * config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff.
1694 Use strncmp to match jalr and jalr.hb.
1699 AVX Programming Reference (December, 2008)
1700 * config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction
1701 support. Don't swap REG and NDS for FMA.
1705 * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
1708 For older changes see ChangeLog-2008
1714 version-control: never