3 * config/tc-arm.c (arm_force_relocation): Resolve all pc-relative
8 * config/tc-arm.c (do_t_branch): Avoid relaxing branches to constant
14 * config/tc-arm.c (fix_new_arm): Create an absolute symbol for
15 pc-relative fixes to constants.
16 * config/tc-arm.h (TC_FORCE_RELOCATATION_ABS): Define.
20 * config/tc-s390.c (md_begin): Remove unused variable dup_insn.
24 * config/tc-s390.c (md_gather_operands): Fix check for floating
25 register pair operands.
29 * config/tc-s390.c (md_gather_operands): Emit an error for odd
30 numbered registers used as register pair operand.
34 * config/tc-v850.h (TC_FX_SIZE_SLACK): Define.
38 * config/tc-tic6x.c (tic6x_operators): Add "pcr_offset".
39 (tic6x_parse_name): Handle it.
40 (tic6x_fix_new_exp): Handle O_pcr_offset.
41 (tic6x_fix_adjustable): Return 0 for the new relocs.
42 (md_apply_fix): Handle them.
43 (tc_gen_reloc): Likewise.
44 * config/tc-tic6x.h (tic6x_fix_info): Add a fix_subsy member.
49 * config/tc-tic30.c (ordinal_names): Allow translation of the
54 * config/tc-arm.c (s_unreq): Reword warning message to make it
56 * config/tc-ia64.c (md_show_usage): Add note for translators.
57 * configure.in (ALL_LINGUAS): Add "fi".
58 * configure: Regenerate.
62 * config/tc-ppc.h (ppc_tc_sy): Reorder fields.
63 Put size into an union with dw.
64 (OBJ_COPY_SYMBOL_ATTRIBUTES): Adjust.
65 (ppc_xcoff_end): Declare.
67 * config/tc-ppc.c: Add includes for xcoff.
68 (ppc_dwsect): New function.
69 (md_pseudo_table): Add dwsect.
70 (struct dw_subsection): New.
72 (ppc_change_debug_section): New function.
73 (ppc_xcoff_end): Ditto.
74 (ppc_function): Adjust for ppc_tc_sy.
75 (ppc_symbol_new_hook): Ditto.
76 (ppc_frob_symbol): Ditto.
77 (ppc_frob_section): Do not set vma for debug sections.
78 (ppc_fix_adjustable): Return true for debug sections.
79 * config/obj-coff.c: Add includes for xcoff.
80 (coff_frob_section): Handle dwarf section.
84 * po/fi.po: New Finnish translation.
85 * po/fr.po: Updated French translation.
87 * config/tc-m32r.c (md_show_usage): Fix typos in descriptions.
88 * config/tc-mt.c (md_assemble): Fix typos in warning messages.
89 * cond.c (s_else): Fix typos in error messages.
90 * config/tc-pj.c (md_assemble): Fix typo in error message.
94 * config/tc-cris.c (md_parse_option) <OPTION_PIC>: Error if not
96 (md_show_usage): Only mention --pic if the assembler can generate
98 * doc/c-cris.texi (CRIS-Opt): Mention that generating ELF is a
99 prerequisite for --pic being a valid option.
104 * config/tc-v850.c (parse_register_list): Correct error string.
108 * config/tc-i386.c (cpu_arch): Rename PROCESSOR_BDVER1 to PROCESSOR_BD.
109 (i386_align_code): Ditto
114 * config/tc-arm.c (parse_big_immediate): Fix parsing of 64-bit
115 immediates on 32-bit hosts.
119 * config/tc-i386.c (cpu_arch): Add bdver2 and rename
120 PROCESSOR_BDVER1 to PROCESSOR_BDVER.
121 (i386_align_code): Rename PROCESSOR_BDVER1.
122 (processor_type): Ditto.
123 * doc/c-i386.texi: Add bdver2.
127 * dw2gencfi.c (tc_cfi_endproc): Avoid "set but not used" error.
131 * config/tc-tic6x.c (streq): Define.
132 (tic6x_get_unwind): New.
133 (s_tic6x_cantunwind, s_tic6x_handlerdata, s_tic6x_endp,
134 s_tic6x_personalityindex, s_tic6x_personality): New functions.
135 (md_pseudo_table): Add "endp", "handlerdata", "personalityindex",
136 "personality" and "cantunwind".
137 (tic6x_regname_to_dw2regnum, tic6x_frame_initial_instructions,
138 tic6x_start_unwind_section, tic6x_unwind_frame_regs,
139 tic6x_pop_rts_offset_little, tic6x_pop_rts_offset_big,
140 tic6x_unwind_reg_from_dwarf, tic6x_flush_unwind_word,
141 tic6x_unwind_byte, tic6x_unwind_2byte, tic6x_unwind_uleb,
142 tic6x_cfi_startproc, output_exidx_entry, tic6x_output_unwinding,
143 tic6x_cfi_endproc): New.
144 * config/tc-tic6x.h (TIC6X_NUM_UNWIND_REGS): Define.
145 (tic6x_unwind_info): New.
146 (tic6x_segment_info_type): Add marked_pr_dependency, unwind and
148 (TARGET_USE_CFIPOP, tc_regname_to_dw2regnum,
149 tc_cfi_frame_initial_instructions, DWARF2_DEFAULT_RETURN_COLUMN,
150 DWARF2_CIE_DATA_ALIGNMENT, tc_cfi_startproc, tc_cfi_endproc,
151 tc_cfi_section_name): Define.
152 * doc/c-tic6x.texi: Document new unwinding directives.
153 * dw2gencfi.c (tc_cfi_startproc, tc_cfi_endproc): Add default
155 (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset, CFI_return_column,
156 CFI_rel_offset, CFI_escape, CFI_signal_frame, CFI_val_encoded_addr):
158 (CFI_EMIT_target): Define.
159 (dot_cfi_sections): Check tc_cfi_section_name.
160 (dot_cfi_startproc): Use tc_cfi_startproc.
161 (dot_cfi_endproc): Use tc_cfi_endproc.
162 * dw2gencfi.h (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset,
163 CFI_return_column, CFI_rel_offset, CFI_escape, CFI_signal_frame,
164 CFI_val_encoded_addr): Move to here from dw2gencfi.c.
168 * dw2gencfi.c (CUR_SEG, SET_CUR_SEG, HANDLED, SET_HANDLED): Define.
169 Use throughout in place of #if SUPPORT_FRAME_LINKONCE.
170 (struct fde_entry): Rename cseg to cur_seg.
171 (cfi_change_reg_numbers): Remove ATTRIBUTE_UNUSED.
172 (get_cfi_seg): Likewise. Use if (SUPPORT_FRAME_LINKONCE) rather
173 that #if SUPPORT_FRAME_LINKONCE.
174 (cfi_finish): Likewise.
178 * read.c (s_comm_internal): Remove code for OBJ_VMS.
181 * write.c (write_object_file): Ditto.
182 * symbols.c (define_sym_at_dot): Ditto.
187 * dw2gencfi.c (SUPPORT_FRAME_LINKONCE): Define. Use throughout
188 file to conditionally compile code added 2011-04-26.
189 (cfi_change_reg_numbers): Add ATTRIBUTE_UNUSED on params only used
190 when SUPPORT_FRAME_LINKONCE.
191 (get_cfi_seg): Likewise. Reintroduce old code for when not
192 SUPPORT_FRAME_LINKONCE.
193 (cfi_finish): Move get_cfi_seg calls out of loop when not
194 SUPPORT_FRAME_LINKONCE. Avoid unused var warning.
198 * config/tc-tic6x.c (s_ehtype): New function.
199 (md_pseudo_table): Add "ehtype".
200 (tic6x_fix_adjustable, md_apply_fix): BFD_RELOC_C6000_EHTYPE.
201 * doc/c-tic6x.texi: Document .ehtype directive.
205 * dw2gencfi.c (dwcfi_seg_list): New struct.
206 (dwcfi_hash): New static hash variable.
207 (get_debugseg_name): New.
208 (alloc_debugseg_item): New.
209 (make_debug_seg): New.
210 (dwcfi_hash_insert): New.
211 (dwcfi_hash_find): New.
212 (dwcfi_hash_find_or_make): New.
213 (cfi_insn_data): New member cur_seg.
214 (cie_entry): Likewise.
215 (fde_entry): New cseg and handled members.
216 (alloc_fde_entry): Initialize cseg member.
217 (alloc_cfi_insn_data): Initialize cur_seg member.
218 (dot_cfi_sections): Compare for beginning of
219 section names via strncmp.
221 (cfi_finish): Treat link-once sections.
222 (is_now_linkonce_segment): New local helper.
223 (output_cie): Ignore cie entries not member of current
225 (output_fde): Likewise.
226 (select_cie_for_fde): Likewise.
227 (cfi_change_reg_numbers): Add new argument for current segment
228 and ignore insn elements, if not part of current segment.
229 * ehopt.c (get_cie_info): Use strncmp for
230 section name matching.
231 (heck_eh_frame): Likewise.
236 * config/mips.c (mips_cl_insn): Add new field complete_p.
237 (create_insn): Initialize complete_p to zero.
239 (fix_24k_align_to): New.
240 (fix_24k_store_info): Declare.
242 (fix_24k_record_store_info): New.
244 (nops_for_insn): Call nops_for_24k.
245 (append_insn): Move O_constant expression handling.
249 * hash.c (set_gas_hash_table_size): Use bfd_hash_set_default_size.
250 (hash_new_sized): New function, split out from..
255 * config/tc-arm.c (v7m_psrs): Revert previous delta.
260 * config/tc-arm.c (parse_psr): Use selected_cpu not cpu_variant to
261 detect M-profile targets.
262 (do_t_swi): Exclude v7 and higher variants from arm_ext_os test.
263 (v7m_psrs): Fix typo: basepri_max should be basepri_mask.
267 * config/tc-s390.c (s390_machine): New prototype.
268 (md_pseudo_table): New pseudo-op .machine.
269 (s390_opcode_hash): Initialize to NULL.
270 (s390_parse_cpu): New function.
271 (md_parse_option): Use s390_parse_cpu.
272 (s390_setup_opcodes): New function.
273 (md_begin): Use s390_setup_opcodes.
274 (s390_machine): New hook handling the new .machine pseudo.
276 * doc/c-s390.texi: Document the new pseudo op .machine.
280 * config/tc-i386.c (i386_mach): Start error message with lower
282 (md_begin): Likewise.
283 (md_parse_option): Likewise.
284 (i386_target_format): Likewise.
285 (check_byte_reg): Likewise.
286 (check_long_reg): Likewise.
287 (check_qword_reg): Likewise.
288 (check_word_reg): Likewise.
293 * config/tc-arm.c (relax_branch): Do not relax branches to
294 preemptable global symbols.
298 * config/tc-arm.c (parse_psr): Add LHS argument. Improve support
300 (operand_parse_code): Replace OP_PSR with OP_wPSR and OP_rPSR.
302 (parse_operands): Likewise.
303 (do_mrs): Tweak error message for constraint.
304 (do_t_mrs): Update constraints for changes to APSR support.
305 (do_t_msr): Likewise. Don't set PSR_f flag here.
306 (psrs): Remove "g", "nzcvq", "nzcvqg".
307 (insns): Tweak entries for msr and mrs instructions.
311 * config/tc-i386.c (x86_cons): Initialize adjust with zero.
315 * config/tc-i386.c (x86_cons): Define even for non-ELF targets.
316 * config/tc-i386.h (x86_cons): Always prototype.
318 * config/tc-cr16.c (getprocregp_image): Fix type of 'r' parameter
319 in order to avoid a compile time warning.
320 (getprocreg_image): Likewise.
324 * config/tc-cr16.c (getprocreg_image): Correct range check.
325 (getprocregp_image): Likewise.
329 * configure.tgt (strongarm*be, strongarm*b, strongarm*,
330 xscale*be|xscale*b, xscale*): Remove architectures.
331 (thumb-*-coff, thumb-*-rtems*, thumb-*-elf, thumb-epoc-pe,
332 thumb-*-pe, xscale-*-coff, xscale-*-elf): Remove targets.
336 * config/tc-ia64.c (md_apply_fix): Add a cast to avoid a warning.
340 * config/tc-tic6x.c (sbss_section, scom_section, scom_symbol): New
342 (md_begin): Initialize them.
343 (s_tic6x_scomm): New static function.
344 (md_pseudo_table): Add "scomm".
345 (tc_gen_reloc): Really undo all adjustments made by
346 bfd_install_relocation.
347 * doc/c-tic6x.texi: Document the .scomm directive.
351 * dwarf2dbg.c (DWARF2_VERSION): Define.
352 (out_debug_line): Use it.
353 (out_debug_aranges): Ditto.
354 (out_debug_info): Ditto.
355 * config/tc-ia64.h (DWARF2_VERSION): Override it.
359 * obj-elf.c (obj_elf_section): Free malloced name.
360 * macro.c (get_any_string): Free malloced br_buf.
361 (do_formals): Free 'formal'.
365 * config/tc-ppc.c (ppc_frob_symbol): Convert stsym symbols value
366 to offset only if within is set.
367 (ppc_stabx): Reformat. For stsym stabs, add a check and set
368 within only for symbols.
373 * config/tc-alpha.c (s_alpha_align): Don't auto-align a previous
374 label; zap alpha_insn_label.
378 * config/tc-i386.c (handle_quad): Properly handle multiple
383 * config/bfin-parse.y (BYTEUNPACK): Return yyerror when dest
384 reg $2 is the same as dest reg $4.
388 * config/bfin-parse.y (BYTEOP16M): Return yyerror when dest
389 reg $2 is the same as dest reg $4.
393 * config/bfin-parse.y (BYTEOP16P): Return yyerror when dest
394 reg $2 is the same as dest reg $4.
398 * config/bfin-parse.y (16bit acc add): Return yyerror when dest
399 reg $1 is the same as dest reg $7.
403 * config/tc-i386.c (handle_quad): New.
404 (md_pseudo_table): Add "quad".
408 * configure.tgt: Fix support for *-*-dragonfly*.
409 * config/tc-i386.c: define SVR4_COMMENT_CHARS for dragonfly.
410 * config/te-dragonfly.h: New file.
414 * config/tc-avr.c (mcu_types): Add new devices: atmega325pa,
415 atmega3250pa, atmega3290pa, atmega16hvbrevb, atmega32hvbrevb,
417 * doc/c-avr.texi: Document new device names.
421 * config/bfin-parse.y (dual 32bit add/sub): Return yyerror when dest
422 reg $1 is the same as dest reg $7.
423 (quad 16bit add/sub): Return yyerror when dest reg $1 is the same as
428 * config/bfin-parse.y (check_macfuncs): Clarify error message when
429 P is mismatched. Check destination regno are off by one when P is
430 set, or are equal when P is not set.
434 * config/bfin-parse.y (SEARCH): Return yyerror when dest reg $2 is
435 the same as dest reg $4.
436 (BITMUX): Return yyerror when dest reg $3 is the same as dest reg $5.
440 * config/tc-avr.c (mcu_types): Add new xmega devices: atxmega64a1u,
441 atxmega128a1u, atxmega16x1, atxmega32x1, atxmega128b1, atxmega256a3bu.
442 * doc/c-avr.texi: Document new device names.
446 * config/tc-avr.c (struct avr_opcodes_s): Add opcode field.
447 (AVR_INSN): Change definition to match.
448 (avr_opcodes): Likewise, change to match.
449 (mcu_types): Add XMEGA architecture names and new XMEGA device names.
450 (md_show_usage): Add XMEGA architecture names.
451 (avr_operand): Add 'E' constraint for DES instruction of XMEGA devices.
452 Add support for SPM Z+ instruction.
453 * doc/c-avr.texi: Add documentation for XMEGA architectures and
458 * config/tc-avr.c (md_show_usage): Add "Assembler" text to output.
462 * config/obj-elf.c (elf_frob_symbol): Report S_SET_SIZE symbol
463 on .size expression errors rather than symbols in the size expression.
467 * input-scrub.c (line_numberT): Delete.
468 (input_scrub_close): Reset line counters.
469 * messages.c (as_show_where): Don't print invalid line number.
470 (as_warn_internal, as_bad_internal): Likewise.
474 * read.c (read_a_source_file): Remove md_after_pass_hook.
475 Move "quit" label before set of dot_symbol.
476 * config/tc-d10v.h (md_after_pass_hook): Don't define.
477 * config/tc-d30v.h (md_after_pass_hook): Likewise.
478 * config/tc-m32r.h (md_after_pass_hook): Likewise.
479 (md_cleanup): Define to call m32r_fill_insn.
483 * config/tc-s390.c (md_parse_option): Add -march=all option which
484 switches to the highest available CPU.
489 * expr.c (operand): Correct passing of "mode" to expr.
490 * read.c (do_org): Allow expr_section.
491 (get_known_segmented_expression): Don't assert anything about the
496 * as.c (show_usage): Add --size-check=.
497 (parse_args): Add and handle OPTION_SIZE_CHECK.
499 * as.h (flag_size_check): New.
501 * config/obj-elf.c (elf_frob_symbol): Use as_bad to report
502 bad .size directive only for --size-check=error.
504 * doc/as.texinfo: Document --size-check=.
508 * config/tc-bfin.c (bfin_cpus[]): Add 0.4 for
509 bf542/bf544/bf547/bf548/bf549.
513 * config/tc-arm.c (md_pcrel_from_section): Use S_FORCE_RELOC to
514 determine whether a relocation is needed.
515 (md_apply_fix, arm_apply_sym_value): Likewise.
519 * config/tc-arm.c (arm_adjust_symtab): Set the branch type
524 * remap.c (remap_debug_filename): Always allocate a buffer for the
526 * stabs.c (stabs_generate_asm_file): Free the pointer returned by
527 remap_debug_filename.
531 Revert the following change:
532 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
533 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
537 * gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS,
538 TARGET_SYMBOL_FIELDS): Don't define.
539 * gas/config/tc-arc.c (arc_common): Use correct symbol "local" field.
543 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
544 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
545 (emit_fixed_inc_line_addr): Assign instead of conditional in
550 * config/obj-elf.c (elf_frob_symbol): Mention symbol name in
551 non-constant .size expression.
555 * ecoff.c: Incldue filenames.h
559 * depend.c (register_dependency): Use filename_(n)cmp.
560 * dwarf2dbg.c (get_filenum): Likewise.
561 * ecoff.c (add_file): Likewise.
562 (ecoff_generate_asm_lineno): Likewise.
563 * input-scrub.c (new_logical_line_flags): Likewise.
564 * listing.c (file_info): Likewise.
565 (listing_newline): Likewise.
566 * remap.c (remap_debug_filename): Likewise.
567 * stabs.c (generate_asm_file): Likewise.
568 (stabs_generate_asm_lineno): Likewise.
572 * config/tc-mips.c (append_insn): Disable branch relaxation for
577 * config/tc-mips.c (macro): Handle M_PREF_AB.
581 * config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary
583 (RELAX_BRANCH_UNCOND): Adjust accordingly.
584 (RELAX_BRANCH_LIKELY): Likewise.
585 (RELAX_BRANCH_LINK): Likewise.
586 (RELAX_BRANCH_TOOFAR): Likewise.
587 (RELAX_BRANCH_AT): New macro.
588 (append_insn): Encode the temporary register to use in standard
589 MIPS branch relaxation.
590 (relaxed_branch_length): Update according to changes to
592 (md_convert_frag): Use the encoded register as the temporary.
596 * config/tc-mips.c (mips_fix_adjustable): On REL targets also
597 reject PC-relative relocations.
601 * config/tc-mips.c (md_convert_frag): Correct message
606 * symbols.c (report_op_error): Remove unnecessary forward declaration.
607 Add "op" parameter. Report operator and operand segments in error
608 message, not operand symbols.
609 (resolve_symbol_value): Always set segment for equated symbols, not
610 just when finalizing. Adjust report_op_error calls.
614 * config/tc-i386.c (reloc): Don't sign-check 4-byte relocations
615 if 64bit relocations aren't allowed.
620 * config/obj-elf.c (elf_frob_symbol): Properly handle size expression.
624 * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate
625 initialization of offset_reloc.
629 * dw2gencfi.c (dot_cfi_dummy): New.
630 (cfi_pseudo_table) [!TARGET_USE_CFIPOP]: New.
631 * read.c (pobegin): Unconditionally call cfi_pop_insert.
635 * configure: Regenerate.
639 * config/bfin-lex.l (BYTEOP2M): Remove tokenization.
640 * config/bfin-parse.y (BYTEOP2M): Delete token.
641 (asm_1): Remove BYTEOP2M insn matching.
645 * config/bfin-defs.h: Include opcode/bfin.h.
646 (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH, M_IU): Delete.
650 * doc/c-bfin.texi (Instruction Delimiting): Fix occur typo.
651 (Modify Registers): Fix subtracted typo.
652 (.byte2): Extend and swap descriptions with .byte4.
653 (.byte4): Extend and swap descriptions with .byte2.
654 (.db, .dw, .dd): Document behavior.
658 * config/bfin-parse.y (TESTSET): Reject REG_SP and REG_FP.
662 * doc/c-ppc.texi (PowerPC-Opts <-nops>): Clarify.
666 * doc/as.texinfo (Overview): Add missing markup around Blackfin
671 * config/tc-ppc.c (md_show_usage): Remove -l and -b. Add -K PIC.
672 * doc/as.texinfo: Refer to and include c-ppc.texi for PowerPC options.
673 (Overview <Target PowerPC options>): Add a number of missing options.
674 * doc/c-ppc.texi: Likewise. Add markup for use in manpage generation.
679 * config/tc-i386.c (i386_align_code): Use f32_patt when tuning
684 * config/tc-i386.c (set_cpu_arch): Also update cpu_arch_isa_flags
686 (md_parse_option): Likewise.
690 * doc/as.texinfo (Target TIC6X options): Don't mention "-matomic".
691 * doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic".
692 (TIC6X Options): Don't mention "-matomic".
693 * config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete.
694 (md_longopts): Remove corresponding entries.
695 (md_parse_option): Don't handle them.
696 (md_show_usage): Don't document them.
697 (tic6x_atomic): Delete variable.
698 (tic6x_update_features): Always copy tic6x_arch_enable to
700 (tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC.
701 (s_tic6x_atomic, s_tic6x_noatomic): Remove functions.
702 (md_pseudo_table): Remove ".atomic" and ".noatomic".
706 * write.c (write_contents): Include output file name and bfd error
707 value when reporting the inability to write to the output file.
708 * config/tc-rx.c (rx_handle_align): Do not insert NOPs into align
709 frag that has a non-zero fill value.
713 * config/tc-rx.c (md_convert_frag): If we can't compute the target
714 address, zero out the values stored in the object file to make
715 objdump's output consistent.
719 * config/tc-i386.c (md_begin): Set for x64 windows COFF target
720 x86_dwarf2_return_column to 32.
725 * config/tc-h8300.c (constant_fits_width_p): Use correct type for
730 * write.c (compress_debug): Return if section size is smaller
736 * write.c (compress_debug): Return if section size is 0.
740 * config/tc-arm.c (arm_cpus): Add Faraday ARMv5TE compatible
741 cores: fa606te, fa616te, fmp626. Modify the VFP of fa626te.
742 * doc/c-arm.texi (ARM Options): Add -mcpu={fa606te, fa616te,
748 * doc/all.texi: Add NS32K
749 * doc/as.texinfo: Remove target specific details of which
750 characters act as comment initiators and statement separators into
751 individual target specific files.
752 * doc/c-alpha.texi (Alpha-Chars): Document special behaviour of
753 the hash character at the start of a line.
754 * doc/c-arm.texi (ARM-Chars): Likewise.
755 * doc/c-avr.texi (AVR-Chars): Likewise.
756 * doc/c-d10v.texi (D10V-Chars): Likewise.
757 * doc/c-d30v.texi (D30V-Chars): Likewise.
758 * doc/c-mmix.texi (MMIX-Chars): Likewise.
759 * doc/c-s390.texi (s390 characters): Likewise.
760 * doc/c-sh.texi (SH-Chars): Likewise.
761 * doc/c-sh64.texi (SH64-Chars): Likewise.
762 * doc/c-sparc.texi (SPARC-Chars): Likewise.
763 * doc/c-tic6x.texi (TIC6X Syntax): Likewise.
764 * doc/c-xtensa.texi (Xtensa Syntax): Likewise.
765 * doc/c-z80.texi (Z80-Chars): Likewise.
766 * doc/c-z8k.texi (Z8000-Chars): Likewise.
767 * doc/c-pdp11.texi (PDP11-Syntax): Document line separator character.
768 * doc/c-arc.texi (ARC-Chars): Fill in this subsection.
769 * doc/c-bfin.texi (Blackfin Syntax): Document line comment and
770 line separator characters.
771 * doc/c-cr16.texi (CR16 Syntax): Likewise.
772 * doc/c-i386.texi (i386-Chars): Likewise.
773 * doc/c-i860.texi (i860-Chars): Likewise.
774 * doc/c-i960.texi (i960-Chars): Likewise.
775 * doc/c-ip2k.texi (IP2K-Chars): Likewise.
776 * doc/c-lm32.texi (LM32-Chars): likewise.
777 * doc/c-m32c.texi (M32C-Chars): Likewise.
778 * doc/c-m68hc11.texi (M68HC11-syntax): Likewise.
779 * doc/c-m68k.texi (M68K-Chars): Likewise.
780 * doc/c-microblaze.texi (MicroBlaze-Chars): Likewise.
781 * doc/c-msp430.texi (MSP430-Chars): Likewise.
782 * doc/c-mt.texi (MT-Chars): Likewise.
783 * doc/c-ns32k.texi (NS32K-Chars): Likewise.
784 * doc/c-pj.texi (PJ-Chars): Likewise.
785 * doc/c-ppc.texi (PowerPC-Chars): Likewise.
786 * doc/c-rx.texi (RX-Chars): Likewise.
787 * doc/c-score.texi (SCORE-Chars): Likewise.
788 * doc/c-tic54x.texi (TIC54X-Chars): Likewise.
789 * doc/c-v850.texi (V850-Chars): Likewise.
790 * doc/c-vax.texi (VAX-Chars): Likewise.
791 * doc/c-xc16x.texi (xc16x-Chars): Likewise.
795 * config/tc-i386.c (cpu_arch): Add CPU_TBM_FLAGS.
797 * doc/c-i386.texi (i386-TBM): New section.
801 * config/tc-i386.c (disallow_64bit_disp): Renamed to ...
802 (disallow_64bit_reloc): This.
803 (md_assemble): Don't check movabs for x32 mode here.
804 (i386_target_format): Updated.
805 (tc_gen_reloc): Check if 64bit relocations are allowed.
809 * config/tc-i386.c (disallow_64bit_disp): New.
810 (x86_elf_abi): Replace X86_64_LP64_ABI/X86_64_ILP32_ABI with
811 X86_64_ABI/X86_64_X32_ABI.
812 (md_assemble): Don't allow movabs with relocation in x32 mode.
813 (i386_target_format): Updated.
817 * config/tc-i386.c (OPTION_N32): Renamed to ...
819 (md_longopts): Replace n32 with x32.
820 (md_parse_option): Updated.
821 (md_show_usage): Likewise.
823 * doc/c-i386.texi: Replace --n32 with --x32.
827 * config/tc-mips.c (mips_ip): Update error messages. Take an
828 unadjusted offset for "+c" argument.
832 * config/tc-i386.c (x86_elf_abi): Only define for targets that use
837 * config/tc-arm.c (s_arm_tls_desceq): Move code into ELF-only
843 * doc/c-arm.texi: Document TLSDESC and TLSCALL relocations, and
844 .tlsdescseq directive.
845 * config/tc-arm.c (arm_typed_reg_parse): Check for potential reloc
847 (s_arm_tls_descseq): New directive.
848 (md_pseudo_table): Add it.
849 (encode_branch): Allow TLS_CALL relocs too.
850 (do_t_blx, do_t_branch23): Use encode_branch.
851 (reloc_names): Add tlsdesc and tlscall.
852 (md_apply_fix): Process tls desc relocations.
853 (tc_gen_reloc): Likewise.
854 (arm_fix_adjustable): Likewise.
858 * config/tc-i386.c (cpu_arch): Add CPU_BMI_FLAGS.
860 * doc/c-i386.texi (i386-BMI): New section.
864 * config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relative
865 references to absolute addresses.
869 * config/tc-rx.c (tc_gen_reloc): Emit an RX_OP_NEG expression
870 instead of an RH_NEG32 one.
874 * doc/c-i386.texi: Clarify --n32.
878 * config/tc-i386.c (build_modrm_byte): Allow encoding 32/64bit
879 integer registers in VEX.vvvv. Check register-only source
880 operand when two source operands are swapped. Properly update
881 destination when two source operands are swapped.
885 * gas.c (parse_args): Update copyright to 2011.
887 For older changes see ChangeLog-2010
893 version-control: never