1 2011-06-29 Richard Sandiford <rdsandiford@googlemail.com>
3 * config/tc-mips.c (append_insn): Remove bogus goto.
5 2011-06-29 Richard Sandiford <rdsandiford@googlemail.com>
7 * config/tc-mips.c (append_insn): Always clear the history after an
10 2011-06-29 Richard Sandiford <rdsandiford@googlemail.com>
12 * config/tc-mips.c (find_altered_mips16_opcode): New function.
13 (append_insn): Use it.
15 2011-06-29 Richard Sandiford <rdsandiford@googlemail.com>
17 * config/tc-mips.c (insn_uses_reg): Delete.
18 (gpr_read_mask, gpr_write_mask): New functions.
19 (fpr_read_mask, fpr_write_mask): Likewise.
20 (insns_between, nops_for_vr4130, append_insn): Use them.
22 2011-06-29 Richard Sandiford <rdsandiford@googlemail.com>
24 * config/tc-mips.c (md_mips_end): Call mips_emit_delays.
26 2011-06-29 Dave Martin <dave.martin@linaro.org>
29 * config/tc-arm.c (mapping_state): When changing to ARM or THUMB
30 state set the minimum required alignment of the section.
32 2011-06-29 Tristan Gingold <gingold@adacore.com>
34 * config/tc-i386.c (i386_mach): Convert to ISO-C.
35 (md_begin, pe_directive_secrel, md_estimate_size_before_relax): Ditto.
36 (md_convert_frag, md_apply_fix, md_undefined_symbol): Ditto.
37 (md_section_align, tc_gen_reloc): Ditto.
39 2011-06-28 Tristan Gingold <gingold@adacore.com>
41 * config/tc-alpha.c (s_alpha_pdesc): Fix indentation. Do not
44 2011-06-28 Tristan Gingold <gingold@adacore.com>
46 * config/tc-alpha.c (load_expression): Use alloca instead of xmalloc.
48 (tc_gen_reloc): Ditto.
50 2011-06-28 Tristan Gingold <gingold@adacore.com>
52 * config/tc-alpha.c (alpha_evax_proc_hash): Remove.
53 (alpha_evax_proc_data): New variable.
54 (s_alpha_ent): Prevent nested function. Remove has_insert call.
55 (s_alpha_pdesc): Do not call demand_empty_rest_of_line in case of
56 error. Do not search in the hash table. Check if match with .ent.
57 (s_alpha_name): Remove unused variable.
58 (md_begin): Remove initialization of alpha_evax_proc_hash.
60 2011-06-27 Tristan Gingold <gingold@adacore.com>
62 * config/tc-alpha.c (add_to_link_pool): Remove basesym parameter.
63 Locally declare basesym. Add comments. Do not set literal_pool_size.
64 (load_expression): Adjust call to add_to_link_pool.
65 (s_alpha_pdesc): Define pdesc symbol using dot.
66 Do not set literal_pool_size.
67 (s_alpha_end): Use NULL instead of 0.
69 2011-06-27 Tristan Gingold <gingold@adacore.com>
71 * config/obj-evax.c (evax_frob_file_before_adjust): Add comments.
73 * config/obj-evax.h (struct alpha_linkage_fixups): Remove seg
75 (obj_symbol_type, object_headers, OBJ_SYMFIELD_TYPE): Remove
77 2011-06-26 Richard Sandiford <rdsandiford@googlemail.com>
79 * config/tc-mips.c (fix_24k_record_store_info): If the previous
80 instruction was a store, and the next instructions are unknown,
83 2011-06-25 Richard Sandiford <rdsandiford@googlemail.com>
86 * config/tc-mips.c (nops_for_vr4130, nops_for_24k, nops_for_insn)
87 (nops_for_sequence, nops_for_insn_or_target): Add ignore parameters.
88 (mips_emit_delays, start_noreorder): Update accordingly.
89 (append_insn): Likewise. Revert original fix for this PR
90 and use the ignore parameter instead.
92 2011-06-24 Tristan Gingold <gingold@adacore.com>
95 * config/obj-evax.c (evax_frob_symbol): Use as_bad instead of abort.
97 2011-06-24 Tristan Gingold <gingold@adacore.com>
99 * config/tc-alpha.c (add_to_link_pool): Remove useless offset
102 2011-06-23 Richard Sandiford <rdsandiford@googlemail.com>
105 * config/tc-mips.c (append_insn): Only consider hazards between the
106 pre-noreorder block and ip.
108 2011-06-21 Sameera Deshpande <sameera.deshpande@arm.com>
110 * config/tc-arm.c (vfp_conv): Add check on range of immediate operand
111 in vcvt instruction between floating-point and fixed-point.
112 (operand_parse_code): Add "OP_oI32z".
113 (parse_operands): OP_oI32z case added.
115 2011-06-20 H.J. Lu <hongjiu.lu@intel.com>
117 * configure.tgt: Revert x32 change.
119 2011-06-20 Nick Clifton <nickc@redhat.com>
121 * doc/Makefile.am: (CPU_DOCS): Add c-xstormy16.texi.
122 * doc/Makefile.in: Regenerate.
123 * doc/all.texi: Set XSTORMY16.
124 * doc/c-xstormy16.texi: New file.
126 2011-06-19 H.J. Lu <hongjiu.lu@intel.com>
128 * configure.tgt: Support x32.
130 2011-06-15 Nick Clifton <nickc@redhat.com>
132 * NEWS: Mention addition of TILEPRO and TIKE-Gx support.
134 2011-06-14 Tristan Gingold <gingold@adacore.com>
136 * config/tc-ppc.h (struct ppc_tc_sy): Complete comment on within.
137 (tc_new_dot_label): Define.
138 (ppc_new_dot_label): Declare.
139 * config/tc-ppc.c (ppc_frob_label): Set within target field.
140 (ppc_fix_adjustable): Use this field to adjust the reloc.
141 (ppc_new_dot_label): New function.
143 2011-06-14 Alan Modra <amodra@gmail.com>
145 * po/POTFILES.in: Regenerate.
147 2011-06-13 Walter Lee <walt@tilera.com>
149 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tilegx.c and
151 (TARGET_CPU_HFILES): Add config/tc-tilegx.h and
153 * Makefile.in: Regenerate.
154 * configure.tgt (tilepro-*-*): New.
155 (tilegx-*-*): Likewise.
156 * config/tc-tilegx.c: New file.
157 * config/tc-tilegx.h: Likewise.
158 * config/tc-tilepro.h: Likewise.
159 * config/tc-tilepro.c: Likewise.
160 * doc/Makefile.am (CPU_DOCS): Add c-tilegx.texi and
162 * doc/Makefile.in: Regenerate.
163 * doc/all.texi (TILEGX): Define.
165 * doc/as.texinfo: Add Tile-Gx and TILEPro documentation. Include
166 c-tilegx.texi and c-tilepro.texi.
167 * doc/c-tilegx.texi: New.
168 * doc/c-tilepro.texi: New.
170 2011-06-13 Nick Clifton <nickc@redhat.com>
173 * config/tc-arm.c (do_shift): Do not allow shift operations at the
174 end of a register based shift insn.
175 (do_t_shift): Likewise.
177 2011-06-13 Nick Clifton <nickc@redhat.com>
179 * config/tc-score.c (s3_my_get_expression): Delete unused local
181 (s3_do_ldst_insn): Delete unused local variable 'strbak'.
182 (s3_do16_ldst_insn): Delete unused local variable 'temp'.
183 (s3_do_macro_bcmp): Zero inst_expand array.
184 (s3_do_macro_bcmpz): Likewise.
185 (s3_s_score_end): Delete unused local variable 'dot'.
186 (s3_gen_reloc): Delete unused local variables 'f', 's', and 'e'.
187 * config/tc-score7.c (s7_my_get_expression): Delete unused local
189 (s7_do_ldst_insn): Delete unused local variable 'strbak'.
190 (s7_b32_relax_to_b16): Delete unused local variables 'r_old' and
192 (s7_s_score_end): Delete unused local variable 'dot'.
193 (s7_relax_frag): Delete unused local variable 'relax_size'.
194 (s7_gen_reloc): Delete unused local variables 'f', 's', and 'e'.
196 2011-06-10 H.J. Lu <hongjiu.lu@intel.com>
198 AVX Programming Reference (June, 2011)
199 * config/tc-i386.c (i386_error): Add invalid_vsib_address and
200 unsupported_vector_index_register.
201 (cpu_arch): Add .avx2, .bmi2, .lzcnt and .invpcid.
202 (check_VecOperands): New.
203 (match_template): Call check_VecOperands. Handle
204 invalid_vsib_address and unsupported_vector_index_register.
205 (build_modrm_byte): Support VecSIB. Check register-only source
206 operand when two source operands are swapped.
207 (i386_index_check): Allow Xmm/Ymm index registers.
209 * doc/c-i386.texi: Document avx2/.avx2, bmi2/.bmi2, lzcnt/.lzcnt
210 and invpcid./invpcid.
212 2011-06-09 Nick Clifton <nickc@redhat.com>
215 * config/tc-cr16.c (tc_gen_reloc): Remove unused local variable
217 (check_cinv_options): Remove unused local variables. Make
219 (md_assemble): Remove unused local variable.
221 2011-06-09 James Greenhalgh <james.greenhalgh@arm.com>
223 * config/tc-arm.c (do_ldrd): Warn in unpredictable cases.
225 2011-06-03 Arnaud Patard <arnaud.patard@rtp-net.org>
228 * config/tc-arm.c (parse_psr): Set m_profile to false when
229 assembling for any architecture.
231 2011-06-02 Jie Zhang jie@codesourcery.com
232 Nathan Sidwell nathan@codesourcery.com
234 * config/tc-arm.c (parse_address_main): Handle -0 offsets.
235 (encode_arm_addr_mode_2): Set default sign of zero here ...
236 (encode_arm_addr_mode_3): ... and here.
237 (encode_arm_cp_address): ... and here.
238 (md_apply_fix): Use default sign of zero here.
240 2011-06-02 Nick Clifton <nickc@redhat.com>
242 * as.c: Fix spelling typo.
244 * config/tc-ppc.c: Likewise.
245 * po/gas.pit: Regenerate.
247 2011-05-31 Paul Brook <paul@codesourcery.com>
249 * config/tc-arm.c (arm_cpus): Add Cortex-R5.
250 (arm_extensions): Allow idiv on ARMv7-R.
251 * doc/c-arm.text: Update idiv extension restrictions.
253 2011-05-31 Paul Brook <paul@codesourcery.com>
255 * config/tc-arm.c (arm_force_relocation): Resolve all pc-relative
258 2011-05-31 Paul Brook <paul@codesourcery.com>
260 * config/tc-arm.c (do_t_branch): Avoid relaxing branches to constant
263 2011-05-31 Paul Brook <paul@codesourcery.com>
264 Nathan Sidwell <nathan@codesourcery.com>
266 * config/tc-arm.c (fix_new_arm): Create an absolute symbol for
267 pc-relative fixes to constants.
268 * config/tc-arm.h (TC_FORCE_RELOCATATION_ABS): Define.
270 2011-05-27 Nick Clifton <nickc@redhat.com>
272 * config/tc-s390.c (md_begin): Remove unused variable dup_insn.
274 2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
276 * config/tc-s390.c (md_gather_operands): Fix check for floating
277 register pair operands.
279 2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
281 * config/tc-s390.c (md_gather_operands): Emit an error for odd
282 numbered registers used as register pair operand.
284 2011-05-23 Nick Clifton <nickc@redhat.com>
286 * config/tc-v850.h (TC_FX_SIZE_SLACK): Define.
288 2011-05-20 Bernd Schmidt <bernds@codesourcery.com>
290 * config/tc-tic6x.c (tic6x_operators): Add "pcr_offset".
291 (tic6x_parse_name): Handle it.
292 (tic6x_fix_new_exp): Handle O_pcr_offset.
293 (tic6x_fix_adjustable): Return 0 for the new relocs.
294 (md_apply_fix): Handle them.
295 (tc_gen_reloc): Likewise.
296 * config/tc-tic6x.h (tic6x_fix_info): Add a fix_subsy member.
298 2011-05-18 Nick Clifton <nickc@redhat.com>
301 * config/tc-tic30.c (ordinal_names): Allow translation of the
304 2011-05-18 Nick Clifton <nickc@redhat.com>
306 * config/tc-arm.c (s_unreq): Reword warning message to make it
308 * config/tc-ia64.c (md_show_usage): Add note for translators.
309 * configure.in (ALL_LINGUAS): Add "fi".
310 * configure: Regenerate.
312 2011-05-18 Tristan Gingold <gingold@adacore.com>
314 * config/tc-ppc.h (ppc_tc_sy): Reorder fields.
315 Put size into an union with dw.
316 (OBJ_COPY_SYMBOL_ATTRIBUTES): Adjust.
317 (ppc_xcoff_end): Declare.
319 * config/tc-ppc.c: Add includes for xcoff.
320 (ppc_dwsect): New function.
321 (md_pseudo_table): Add dwsect.
322 (struct dw_subsection): New.
324 (ppc_change_debug_section): New function.
325 (ppc_xcoff_end): Ditto.
326 (ppc_function): Adjust for ppc_tc_sy.
327 (ppc_symbol_new_hook): Ditto.
328 (ppc_frob_symbol): Ditto.
329 (ppc_frob_section): Do not set vma for debug sections.
330 (ppc_fix_adjustable): Return true for debug sections.
331 * config/obj-coff.c: Add includes for xcoff.
332 (coff_frob_section): Handle dwarf section.
334 2011-05-17 Nick Clifton <nickc@redhat.com>
336 * po/fi.po: New Finnish translation.
337 * po/fr.po: Updated French translation.
339 * config/tc-m32r.c (md_show_usage): Fix typos in descriptions.
340 * config/tc-mt.c (md_assemble): Fix typos in warning messages.
341 * cond.c (s_else): Fix typos in error messages.
342 * config/tc-pj.c (md_assemble): Fix typo in error message.
344 2011-05-16 Hans-Peter Nilsson <hp@axis.com>
346 * config/tc-cris.c (md_parse_option) <OPTION_PIC>: Error if not
348 (md_show_usage): Only mention --pic if the assembler can generate
350 * doc/c-cris.texi (CRIS-Opt): Mention that generating ELF is a
351 prerequisite for --pic being a valid option.
353 2011-05-13 Frederic Marchal <fmarchal@perso.be>
356 * config/tc-v850.c (parse_register_list): Correct error string.
358 2011-05-12 Quentin Neill <quentin.neill@amd.com>
360 * config/tc-i386.c (cpu_arch): Rename PROCESSOR_BDVER1 to PROCESSOR_BD.
361 (i386_align_code): Ditto
363 2011-05-12 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
366 * config/tc-arm.c (parse_big_immediate): Fix parsing of 64-bit
367 immediates on 32-bit hosts.
369 2011-05-10 Quentin Neill <quentin.neill@amd.com>
371 * config/tc-i386.c (cpu_arch): Add bdver2 and rename
372 PROCESSOR_BDVER1 to PROCESSOR_BDVER.
373 (i386_align_code): Rename PROCESSOR_BDVER1.
374 (processor_type): Ditto.
375 * doc/c-i386.texi: Add bdver2.
377 2011-05-10 Alan Modra <amodra@gmail.com>
379 * dw2gencfi.c (tc_cfi_endproc): Avoid "set but not used" error.
381 2011-05-09 Paul Brook <paul@codesourcery.com>
383 * config/tc-tic6x.c (streq): Define.
384 (tic6x_get_unwind): New.
385 (s_tic6x_cantunwind, s_tic6x_handlerdata, s_tic6x_endp,
386 s_tic6x_personalityindex, s_tic6x_personality): New functions.
387 (md_pseudo_table): Add "endp", "handlerdata", "personalityindex",
388 "personality" and "cantunwind".
389 (tic6x_regname_to_dw2regnum, tic6x_frame_initial_instructions,
390 tic6x_start_unwind_section, tic6x_unwind_frame_regs,
391 tic6x_pop_rts_offset_little, tic6x_pop_rts_offset_big,
392 tic6x_unwind_reg_from_dwarf, tic6x_flush_unwind_word,
393 tic6x_unwind_byte, tic6x_unwind_2byte, tic6x_unwind_uleb,
394 tic6x_cfi_startproc, output_exidx_entry, tic6x_output_unwinding,
395 tic6x_cfi_endproc): New.
396 * config/tc-tic6x.h (TIC6X_NUM_UNWIND_REGS): Define.
397 (tic6x_unwind_info): New.
398 (tic6x_segment_info_type): Add marked_pr_dependency, unwind and
400 (TARGET_USE_CFIPOP, tc_regname_to_dw2regnum,
401 tc_cfi_frame_initial_instructions, DWARF2_DEFAULT_RETURN_COLUMN,
402 DWARF2_CIE_DATA_ALIGNMENT, tc_cfi_startproc, tc_cfi_endproc,
403 tc_cfi_section_name): Define.
404 * doc/c-tic6x.texi: Document new unwinding directives.
405 * dw2gencfi.c (tc_cfi_startproc, tc_cfi_endproc): Add default
407 (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset, CFI_return_column,
408 CFI_rel_offset, CFI_escape, CFI_signal_frame, CFI_val_encoded_addr):
410 (CFI_EMIT_target): Define.
411 (dot_cfi_sections): Check tc_cfi_section_name.
412 (dot_cfi_startproc): Use tc_cfi_startproc.
413 (dot_cfi_endproc): Use tc_cfi_endproc.
414 * dw2gencfi.h (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset,
415 CFI_return_column, CFI_rel_offset, CFI_escape, CFI_signal_frame,
416 CFI_val_encoded_addr): Move to here from dw2gencfi.c.
418 2011-05-07 Alan Modra <amodra@gmail.com>
420 * dw2gencfi.c (CUR_SEG, SET_CUR_SEG, HANDLED, SET_HANDLED): Define.
421 Use throughout in place of #if SUPPORT_FRAME_LINKONCE.
422 (struct fde_entry): Rename cseg to cur_seg.
423 (cfi_change_reg_numbers): Remove ATTRIBUTE_UNUSED.
424 (get_cfi_seg): Likewise. Use if (SUPPORT_FRAME_LINKONCE) rather
425 that #if SUPPORT_FRAME_LINKONCE.
426 (cfi_finish): Likewise.
428 2011-05-06 Tristan Gingold <gingold@adacore.com>
430 * read.c (s_comm_internal): Remove code for OBJ_VMS.
433 * write.c (write_object_file): Ditto.
434 * symbols.c (define_sym_at_dot): Ditto.
437 2011-05-05 Alan Modra <amodra@gmail.com>
439 * dw2gencfi.c (SUPPORT_FRAME_LINKONCE): Define. Use throughout
440 file to conditionally compile code added 2011-04-26.
441 (cfi_change_reg_numbers): Add ATTRIBUTE_UNUSED on params only used
442 when SUPPORT_FRAME_LINKONCE.
443 (get_cfi_seg): Likewise. Reintroduce old code for when not
444 SUPPORT_FRAME_LINKONCE.
445 (cfi_finish): Move get_cfi_seg calls out of loop when not
446 SUPPORT_FRAME_LINKONCE. Avoid unused var warning.
448 2011-05-03 Paul Brook <paul@codesourcery.com>
450 * config/tc-tic6x.c (s_ehtype): New function.
451 (md_pseudo_table): Add "ehtype".
452 (tic6x_fix_adjustable, md_apply_fix): BFD_RELOC_C6000_EHTYPE.
453 * doc/c-tic6x.texi: Document .ehtype directive.
455 2011-04-26 Kai Tietz <ktietz@redhat.com>
457 * dw2gencfi.c (dwcfi_seg_list): New struct.
458 (dwcfi_hash): New static hash variable.
459 (get_debugseg_name): New.
460 (alloc_debugseg_item): New.
461 (make_debug_seg): New.
462 (dwcfi_hash_insert): New.
463 (dwcfi_hash_find): New.
464 (dwcfi_hash_find_or_make): New.
465 (cfi_insn_data): New member cur_seg.
466 (cie_entry): Likewise.
467 (fde_entry): New cseg and handled members.
468 (alloc_fde_entry): Initialize cseg member.
469 (alloc_cfi_insn_data): Initialize cur_seg member.
470 (dot_cfi_sections): Compare for beginning of
471 section names via strncmp.
473 (cfi_finish): Treat link-once sections.
474 (is_now_linkonce_segment): New local helper.
475 (output_cie): Ignore cie entries not member of current
477 (output_fde): Likewise.
478 (select_cie_for_fde): Likewise.
479 (cfi_change_reg_numbers): Add new argument for current segment
480 and ignore insn elements, if not part of current segment.
481 * ehopt.c (get_cie_info): Use strncmp for
482 section name matching.
483 (heck_eh_frame): Likewise.
485 2011-04-20 Catherine Moore <clm@codesourcery.com>
486 David Ung <davidu@mips.com>
488 * config/mips.c (mips_cl_insn): Add new field complete_p.
489 (create_insn): Initialize complete_p to zero.
491 (fix_24k_align_to): New.
492 (fix_24k_store_info): Declare.
494 (fix_24k_record_store_info): New.
496 (nops_for_insn): Call nops_for_24k.
497 (append_insn): Move O_constant expression handling.
499 2011-04-20 Alan Modra <amodra@gmail.com>
501 * hash.c (set_gas_hash_table_size): Use bfd_hash_set_default_size.
502 (hash_new_sized): New function, split out from..
505 2011-04-19 Nick Clifton <nickc@redhat.com>
507 * config/tc-arm.c (v7m_psrs): Revert previous delta.
509 2011-04-18 Julian Brown <julian@codesourcery.com>
510 Nick Clifton <nickc@redhat.com>
512 * config/tc-arm.c (parse_psr): Use selected_cpu not cpu_variant to
513 detect M-profile targets.
514 (do_t_swi): Exclude v7 and higher variants from arm_ext_os test.
515 (v7m_psrs): Fix typo: basepri_max should be basepri_mask.
517 2011-04-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
519 * config/tc-s390.c (s390_machine): New prototype.
520 (md_pseudo_table): New pseudo-op .machine.
521 (s390_opcode_hash): Initialize to NULL.
522 (s390_parse_cpu): New function.
523 (md_parse_option): Use s390_parse_cpu.
524 (s390_setup_opcodes): New function.
525 (md_begin): Use s390_setup_opcodes.
526 (s390_machine): New hook handling the new .machine pseudo.
528 * doc/c-s390.texi: Document the new pseudo op .machine.
530 2011-04-12 H.J. Lu <hongjiu.lu@intel.com>
532 * config/tc-i386.c (i386_mach): Start error message with lower
534 (md_begin): Likewise.
535 (md_parse_option): Likewise.
536 (i386_target_format): Likewise.
537 (check_byte_reg): Likewise.
538 (check_long_reg): Likewise.
539 (check_qword_reg): Likewise.
540 (check_word_reg): Likewise.
542 2011-04-12 Nick Clifton <nickc@redhat.com>
545 * config/tc-arm.c (relax_branch): Do not relax branches to
546 preemptable global symbols.
548 2011-04-11 Julian Brown <julian@codesourcery.com>
550 * config/tc-arm.c (parse_psr): Add LHS argument. Improve support
552 (operand_parse_code): Replace OP_PSR with OP_wPSR and OP_rPSR.
554 (parse_operands): Likewise.
555 (do_mrs): Tweak error message for constraint.
556 (do_t_mrs): Update constraints for changes to APSR support.
557 (do_t_msr): Likewise. Don't set PSR_f flag here.
558 (psrs): Remove "g", "nzcvq", "nzcvqg".
559 (insns): Tweak entries for msr and mrs instructions.
561 2011-04-11 Kai Tietz <ktietz@redhat.com>
563 * config/tc-i386.c (x86_cons): Initialize adjust with zero.
565 2011-04-11 Nick Clifton <nickc@redhat.com>
567 * config/tc-i386.c (x86_cons): Define even for non-ELF targets.
568 * config/tc-i386.h (x86_cons): Always prototype.
570 * config/tc-cr16.c (getprocregp_image): Fix type of 'r' parameter
571 in order to avoid a compile time warning.
572 (getprocreg_image): Likewise.
574 2011-04-11 Alan Modra <amodra@gmail.com>
576 * config/tc-cr16.c (getprocreg_image): Correct range check.
577 (getprocregp_image): Likewise.
579 2011-04-06 Joseph Myers <joseph@codesourcery.com>
581 * configure.tgt (strongarm*be, strongarm*b, strongarm*,
582 xscale*be|xscale*b, xscale*): Remove architectures.
583 (thumb-*-coff, thumb-*-rtems*, thumb-*-elf, thumb-epoc-pe,
584 thumb-*-pe, xscale-*-coff, xscale-*-elf): Remove targets.
586 2011-04-01 Tristan Gingold <gingold@adacore.com>
588 * config/tc-ia64.c (md_apply_fix): Add a cast to avoid a warning.
590 2011-03-31 Bernd Schmidt <bernds@codesourcery.com>
592 * config/tc-tic6x.c (sbss_section, scom_section, scom_symbol): New
594 (md_begin): Initialize them.
595 (s_tic6x_scomm): New static function.
596 (md_pseudo_table): Add "scomm".
597 (tc_gen_reloc): Really undo all adjustments made by
598 bfd_install_relocation.
599 * doc/c-tic6x.texi: Document the .scomm directive.
601 2011-03-31 Tristan Gingold <gingold@adacore.com>
603 * dwarf2dbg.c (DWARF2_VERSION): Define.
604 (out_debug_line): Use it.
605 (out_debug_aranges): Ditto.
606 (out_debug_info): Ditto.
607 * config/tc-ia64.h (DWARF2_VERSION): Override it.
609 2011-03-30 Michael Snyder <msnyder@vmware.com>
611 * obj-elf.c (obj_elf_section): Free malloced name.
612 * macro.c (get_any_string): Free malloced br_buf.
613 (do_formals): Free 'formal'.
615 2011-03-30 Tristan Gingold <gingold@adacore.com>
617 * config/tc-ppc.c (ppc_frob_symbol): Convert stsym symbols value
618 to offset only if within is set.
619 (ppc_stabx): Reformat. For stsym stabs, add a check and set
620 within only for symbols.
622 2011-03-29 Richard Henderson <rth@redhat.com>
625 * config/tc-alpha.c (s_alpha_align): Don't auto-align a previous
626 label; zap alpha_insn_label.
628 2011-03-29 H.J. Lu <hongjiu.lu@intel.com>
630 * config/tc-i386.c (handle_quad): Properly handle multiple
633 2011-03-29 Mike Frysinger <vapier@gentoo.org>
635 * config/bfin-parse.y (BYTEUNPACK): Return yyerror when dest
636 reg $2 is the same as dest reg $4.
638 2011-03-29 Mike Frysinger <vapier@gentoo.org>
640 * config/bfin-parse.y (BYTEOP16M): Return yyerror when dest
641 reg $2 is the same as dest reg $4.
643 2011-03-29 Mike Frysinger <vapier@gentoo.org>
645 * config/bfin-parse.y (BYTEOP16P): Return yyerror when dest
646 reg $2 is the same as dest reg $4.
648 2011-03-28 Mike Frysinger <vapier@gentoo.org>
650 * config/bfin-parse.y (16bit acc add): Return yyerror when dest
651 reg $1 is the same as dest reg $7.
653 2011-03-28 H.J. Lu <hongjiu.lu@intel.com>
655 * config/tc-i386.c (handle_quad): New.
656 (md_pseudo_table): Add "quad".
658 2011-03-26 John Marino <binutils@marino.st>
660 * configure.tgt: Fix support for *-*-dragonfly*.
661 * config/tc-i386.c: define SVR4_COMMENT_CHARS for dragonfly.
662 * config/te-dragonfly.h: New file.
664 2011-03-24 Eric B. Weddington <eric.weddington@atmel.com>
666 * config/tc-avr.c (mcu_types): Add new devices: atmega325pa,
667 atmega3250pa, atmega3290pa, atmega16hvbrevb, atmega32hvbrevb,
669 * doc/c-avr.texi: Document new device names.
671 2011-03-24 Mike Frysinger <vapier@gentoo.org>
673 * config/bfin-parse.y (dual 32bit add/sub): Return yyerror when dest
674 reg $1 is the same as dest reg $7.
675 (quad 16bit add/sub): Return yyerror when dest reg $1 is the same as
678 2011-03-24 Mike Frysinger <vapier@gentoo.org>
680 * config/bfin-parse.y (check_macfuncs): Clarify error message when
681 P is mismatched. Check destination regno are off by one when P is
682 set, or are equal when P is not set.
684 2011-03-23 Mike Frysinger <vapier@gentoo.org>
686 * config/bfin-parse.y (SEARCH): Return yyerror when dest reg $2 is
687 the same as dest reg $4.
688 (BITMUX): Return yyerror when dest reg $3 is the same as dest reg $5.
690 2011-03-23 Eric B. Weddington <eric.weddington@atmel.com>
692 * config/tc-avr.c (mcu_types): Add new xmega devices: atxmega64a1u,
693 atxmega128a1u, atxmega16x1, atxmega32x1, atxmega128b1, atxmega256a3bu.
694 * doc/c-avr.texi: Document new device names.
696 2011-03-22 Eric B. Weddington <eric.weddington@atmel.com>
698 * config/tc-avr.c (struct avr_opcodes_s): Add opcode field.
699 (AVR_INSN): Change definition to match.
700 (avr_opcodes): Likewise, change to match.
701 (mcu_types): Add XMEGA architecture names and new XMEGA device names.
702 (md_show_usage): Add XMEGA architecture names.
703 (avr_operand): Add 'E' constraint for DES instruction of XMEGA devices.
704 Add support for SPM Z+ instruction.
705 * doc/c-avr.texi: Add documentation for XMEGA architectures and
708 2011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
710 * config/tc-avr.c (md_show_usage): Add "Assembler" text to output.
712 2011-03-18 Alan Modra <amodra@gmail.com>
714 * config/obj-elf.c (elf_frob_symbol): Report S_SET_SIZE symbol
715 on .size expression errors rather than symbols in the size expression.
717 2011-03-18 Alan Modra <amodra@gmail.com>
719 * input-scrub.c (line_numberT): Delete.
720 (input_scrub_close): Reset line counters.
721 * messages.c (as_show_where): Don't print invalid line number.
722 (as_warn_internal, as_bad_internal): Likewise.
724 2011-03-18 Alan Modra <amodra@gmail.com>
726 * read.c (read_a_source_file): Remove md_after_pass_hook.
727 Move "quit" label before set of dot_symbol.
728 * config/tc-d10v.h (md_after_pass_hook): Don't define.
729 * config/tc-d30v.h (md_after_pass_hook): Likewise.
730 * config/tc-m32r.h (md_after_pass_hook): Likewise.
731 (md_cleanup): Define to call m32r_fill_insn.
733 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
735 * config/tc-s390.c (md_parse_option): Add -march=all option which
736 switches to the highest available CPU.
738 2011-03-17 Alan Modra <amodra@gmail.com>
741 * expr.c (operand): Correct passing of "mode" to expr.
742 * read.c (do_org): Allow expr_section.
743 (get_known_segmented_expression): Don't assert anything about the
746 2011-03-16 H.J. Lu <hongjiu.lu@intel.com>
748 * as.c (show_usage): Add --size-check=.
749 (parse_args): Add and handle OPTION_SIZE_CHECK.
751 * as.h (flag_size_check): New.
753 * config/obj-elf.c (elf_frob_symbol): Use as_bad to report
754 bad .size directive only for --size-check=error.
756 * doc/as.texinfo: Document --size-check=.
758 2011-03-14 Mike Frysinger <vapier@gentoo.org>
760 * config/tc-bfin.c (bfin_cpus[]): Add 0.4 for
761 bf542/bf544/bf547/bf548/bf549.
763 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
765 * config/tc-arm.c (md_pcrel_from_section): Use S_FORCE_RELOC to
766 determine whether a relocation is needed.
767 (md_apply_fix, arm_apply_sym_value): Likewise.
769 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
771 * config/tc-arm.c (arm_adjust_symtab): Set the branch type
774 2011-03-11 Nick Clifton <nickc@redhat.com>
776 * remap.c (remap_debug_filename): Always allocate a buffer for the
778 * stabs.c (stabs_generate_asm_file): Free the pointer returned by
779 remap_debug_filename.
781 2011-03-10 Michael Snyder <msnyder@vmware.com>
783 Revert the following change:
784 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
785 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
787 2011-03-10 Alan Modra <amodra@gmail.com>
789 * gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS,
790 TARGET_SYMBOL_FIELDS): Don't define.
791 * gas/config/tc-arc.c (arc_common): Use correct symbol "local" field.
793 2011-03-09 Michael Snyder <msnyder@vmware.com>
795 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
796 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
797 (emit_fixed_inc_line_addr): Assign instead of conditional in
800 2011-03-05 H.J. Lu <hongjiu.lu@intel.com>
802 * config/obj-elf.c (elf_frob_symbol): Mention symbol name in
803 non-constant .size expression.
805 2011-03-02 Nick Clifton <nickc@redhat.com>
807 * ecoff.c: Incldue filenames.h
809 2011-02-28 Kai Tietz <kai.tietz@onevision.com>
811 * depend.c (register_dependency): Use filename_(n)cmp.
812 * dwarf2dbg.c (get_filenum): Likewise.
813 * ecoff.c (add_file): Likewise.
814 (ecoff_generate_asm_lineno): Likewise.
815 * input-scrub.c (new_logical_line_flags): Likewise.
816 * listing.c (file_info): Likewise.
817 (listing_newline): Likewise.
818 * remap.c (remap_debug_filename): Likewise.
819 * stabs.c (generate_asm_file): Likewise.
820 (stabs_generate_asm_lineno): Likewise.
822 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
824 * config/tc-mips.c (append_insn): Disable branch relaxation for
827 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
829 * config/tc-mips.c (macro): Handle M_PREF_AB.
831 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
833 * config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary
835 (RELAX_BRANCH_UNCOND): Adjust accordingly.
836 (RELAX_BRANCH_LIKELY): Likewise.
837 (RELAX_BRANCH_LINK): Likewise.
838 (RELAX_BRANCH_TOOFAR): Likewise.
839 (RELAX_BRANCH_AT): New macro.
840 (append_insn): Encode the temporary register to use in standard
841 MIPS branch relaxation.
842 (relaxed_branch_length): Update according to changes to
844 (md_convert_frag): Use the encoded register as the temporary.
846 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
848 * config/tc-mips.c (mips_fix_adjustable): On REL targets also
849 reject PC-relative relocations.
851 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
853 * config/tc-mips.c (md_convert_frag): Correct message
856 2011-02-28 Alan Modra <amodra@gmail.com>
858 * symbols.c (report_op_error): Remove unnecessary forward declaration.
859 Add "op" parameter. Report operator and operand segments in error
860 message, not operand symbols.
861 (resolve_symbol_value): Always set segment for equated symbols, not
862 just when finalizing. Adjust report_op_error calls.
864 2011-02-25 H.J. Lu <hongjiu.lu@intel.com>
866 * config/tc-i386.c (reloc): Don't sign-check 4-byte relocations
867 if 64bit relocations aren't allowed.
869 2011-02-25 Alan Modra <amodra@gmail.com>
872 * config/obj-elf.c (elf_frob_symbol): Properly handle size expression.
874 2011-02-21 Maciej W. Rozycki <macro@codesourcery.com>
876 * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate
877 initialization of offset_reloc.
879 2011-02-15 Richard Henderson <rth@redhat.com>
881 * dw2gencfi.c (dot_cfi_dummy): New.
882 (cfi_pseudo_table) [!TARGET_USE_CFIPOP]: New.
883 * read.c (pobegin): Unconditionally call cfi_pop_insert.
885 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
887 * configure: Regenerate.
889 2011-02-13 Mike Frysinger <vapier@gentoo.org>
891 * config/bfin-lex.l (BYTEOP2M): Remove tokenization.
892 * config/bfin-parse.y (BYTEOP2M): Delete token.
893 (asm_1): Remove BYTEOP2M insn matching.
895 2011-02-12 Mike Frysinger <vapier@gentoo.org>
897 * config/bfin-defs.h: Include opcode/bfin.h.
898 (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH, M_IU): Delete.
900 2011-02-11 Mike Frysinger <vapier@gentoo.org>
902 * doc/c-bfin.texi (Instruction Delimiting): Fix occur typo.
903 (Modify Registers): Fix subtracted typo.
904 (.byte2): Extend and swap descriptions with .byte4.
905 (.byte4): Extend and swap descriptions with .byte2.
906 (.db, .dw, .dd): Document behavior.
908 2011-02-11 Mike Frysinger <vapier@gentoo.org>
910 * config/bfin-parse.y (TESTSET): Reject REG_SP and REG_FP.
912 2011-02-11 Alan Modra <amodra@gmail.com>
914 * doc/c-ppc.texi (PowerPC-Opts <-nops>): Clarify.
916 2011-02-10 Alan Modra <amodra@gmail.com>
918 * doc/as.texinfo (Overview): Add missing markup around Blackfin
921 2011-02-10 Alan Modra <amodra@gmail.com>
923 * config/tc-ppc.c (md_show_usage): Remove -l and -b. Add -K PIC.
924 * doc/as.texinfo: Refer to and include c-ppc.texi for PowerPC options.
925 (Overview <Target PowerPC options>): Add a number of missing options.
926 * doc/c-ppc.texi: Likewise. Add markup for use in manpage generation.
928 2011-02-08 H.J. Lu <hongjiu.lu@intel.com>
931 * config/tc-i386.c (i386_align_code): Use f32_patt when tuning
934 2011-02-08 H.J. Lu <hongjiu.lu@intel.com>
936 * config/tc-i386.c (set_cpu_arch): Also update cpu_arch_isa_flags
938 (md_parse_option): Likewise.
940 2011-02-04 Bernd Schmidt <bernds@codesourcery.com>
942 * doc/as.texinfo (Target TIC6X options): Don't mention "-matomic".
943 * doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic".
944 (TIC6X Options): Don't mention "-matomic".
945 * config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete.
946 (md_longopts): Remove corresponding entries.
947 (md_parse_option): Don't handle them.
948 (md_show_usage): Don't document them.
949 (tic6x_atomic): Delete variable.
950 (tic6x_update_features): Always copy tic6x_arch_enable to
952 (tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC.
953 (s_tic6x_atomic, s_tic6x_noatomic): Remove functions.
954 (md_pseudo_table): Remove ".atomic" and ".noatomic".
956 2011-01-31 Nick Clifton <nickc@redhat.com>
958 * write.c (write_contents): Include output file name and bfd error
959 value when reporting the inability to write to the output file.
960 * config/tc-rx.c (rx_handle_align): Do not insert NOPs into align
961 frag that has a non-zero fill value.
963 2011-01-27 DJ Delorie <dj@redhat.com>
965 * config/tc-rx.c (md_convert_frag): If we can't compute the target
966 address, zero out the values stored in the object file to make
967 objdump's output consistent.
969 2011-01-26 Kai Tietz <kai.tietz@onevision.com>
971 * config/tc-i386.c (md_begin): Set for x64 windows COFF target
972 x86_dwarf2_return_column to 32.
974 2011-01-20 Nick Clifton <nickc@redhat.com>
977 * config/tc-h8300.c (constant_fits_width_p): Use correct type for
980 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
982 * write.c (compress_debug): Return if section size is smaller
985 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
988 * write.c (compress_debug): Return if section size is 0.
990 2011-01-18 Mingfeng Wu <mingfeng@faraday-tech.com>
992 * config/tc-arm.c (arm_cpus): Add Faraday ARMv5TE compatible
993 cores: fa606te, fa616te, fmp626. Modify the VFP of fa626te.
994 * doc/c-arm.texi (ARM Options): Add -mcpu={fa606te, fa616te,
997 2011-01-18 Nick Clifton <nickc@redhat.com>
1000 * doc/all.texi: Add NS32K
1001 * doc/as.texinfo: Remove target specific details of which
1002 characters act as comment initiators and statement separators into
1003 individual target specific files.
1004 * doc/c-alpha.texi (Alpha-Chars): Document special behaviour of
1005 the hash character at the start of a line.
1006 * doc/c-arm.texi (ARM-Chars): Likewise.
1007 * doc/c-avr.texi (AVR-Chars): Likewise.
1008 * doc/c-d10v.texi (D10V-Chars): Likewise.
1009 * doc/c-d30v.texi (D30V-Chars): Likewise.
1010 * doc/c-mmix.texi (MMIX-Chars): Likewise.
1011 * doc/c-s390.texi (s390 characters): Likewise.
1012 * doc/c-sh.texi (SH-Chars): Likewise.
1013 * doc/c-sh64.texi (SH64-Chars): Likewise.
1014 * doc/c-sparc.texi (SPARC-Chars): Likewise.
1015 * doc/c-tic6x.texi (TIC6X Syntax): Likewise.
1016 * doc/c-xtensa.texi (Xtensa Syntax): Likewise.
1017 * doc/c-z80.texi (Z80-Chars): Likewise.
1018 * doc/c-z8k.texi (Z8000-Chars): Likewise.
1019 * doc/c-pdp11.texi (PDP11-Syntax): Document line separator character.
1020 * doc/c-arc.texi (ARC-Chars): Fill in this subsection.
1021 * doc/c-bfin.texi (Blackfin Syntax): Document line comment and
1022 line separator characters.
1023 * doc/c-cr16.texi (CR16 Syntax): Likewise.
1024 * doc/c-i386.texi (i386-Chars): Likewise.
1025 * doc/c-i860.texi (i860-Chars): Likewise.
1026 * doc/c-i960.texi (i960-Chars): Likewise.
1027 * doc/c-ip2k.texi (IP2K-Chars): Likewise.
1028 * doc/c-lm32.texi (LM32-Chars): likewise.
1029 * doc/c-m32c.texi (M32C-Chars): Likewise.
1030 * doc/c-m68hc11.texi (M68HC11-syntax): Likewise.
1031 * doc/c-m68k.texi (M68K-Chars): Likewise.
1032 * doc/c-microblaze.texi (MicroBlaze-Chars): Likewise.
1033 * doc/c-msp430.texi (MSP430-Chars): Likewise.
1034 * doc/c-mt.texi (MT-Chars): Likewise.
1035 * doc/c-ns32k.texi (NS32K-Chars): Likewise.
1036 * doc/c-pj.texi (PJ-Chars): Likewise.
1037 * doc/c-ppc.texi (PowerPC-Chars): Likewise.
1038 * doc/c-rx.texi (RX-Chars): Likewise.
1039 * doc/c-score.texi (SCORE-Chars): Likewise.
1040 * doc/c-tic54x.texi (TIC54X-Chars): Likewise.
1041 * doc/c-v850.texi (V850-Chars): Likewise.
1042 * doc/c-vax.texi (VAX-Chars): Likewise.
1043 * doc/c-xc16x.texi (xc16x-Chars): Likewise.
1045 2011-01-17 Quentin Neill <quentin.neill@amd.com>
1047 * config/tc-i386.c (cpu_arch): Add CPU_TBM_FLAGS.
1049 * doc/c-i386.texi (i386-TBM): New section.
1051 2011-01-16 H.J. Lu <hongjiu.lu@intel.com>
1053 * config/tc-i386.c (disallow_64bit_disp): Renamed to ...
1054 (disallow_64bit_reloc): This.
1055 (md_assemble): Don't check movabs for x32 mode here.
1056 (i386_target_format): Updated.
1057 (tc_gen_reloc): Check if 64bit relocations are allowed.
1059 2011-01-15 H.J. Lu <hongjiu.lu@intel.com>
1061 * config/tc-i386.c (disallow_64bit_disp): New.
1062 (x86_elf_abi): Replace X86_64_LP64_ABI/X86_64_ILP32_ABI with
1063 X86_64_ABI/X86_64_X32_ABI.
1064 (md_assemble): Don't allow movabs with relocation in x32 mode.
1065 (i386_target_format): Updated.
1067 2011-01-14 H.J. Lu <hongjiu.lu@intel.com>
1069 * config/tc-i386.c (OPTION_N32): Renamed to ...
1071 (md_longopts): Replace n32 with x32.
1072 (md_parse_option): Updated.
1073 (md_show_usage): Likewise.
1075 * doc/c-i386.texi: Replace --n32 with --x32.
1077 2011-01-11 Mingjie Xing <mingjie.xing@gmail.com>
1079 * config/tc-mips.c (mips_ip): Update error messages. Take an
1080 unadjusted offset for "+c" argument.
1082 2011-01-10 Nick Clifton <nickc@redhat.com>
1084 * config/tc-i386.c (x86_elf_abi): Only define for targets that use
1087 2011-01-10 Nick Clifton <nickc@redhat.com>
1089 * config/tc-arm.c (s_arm_tls_desceq): Move code into ELF-only
1092 2011-01-10 Nathan Sidwell <nathan@codesourcery.com>
1093 Glauber de Oliveira Costa <glommer@gmail.com>
1095 * doc/c-arm.texi: Document TLSDESC and TLSCALL relocations, and
1096 .tlsdescseq directive.
1097 * config/tc-arm.c (arm_typed_reg_parse): Check for potential reloc
1099 (s_arm_tls_descseq): New directive.
1100 (md_pseudo_table): Add it.
1101 (encode_branch): Allow TLS_CALL relocs too.
1102 (do_t_blx, do_t_branch23): Use encode_branch.
1103 (reloc_names): Add tlsdesc and tlscall.
1104 (md_apply_fix): Process tls desc relocations.
1105 (tc_gen_reloc): Likewise.
1106 (arm_fix_adjustable): Likewise.
1108 2011-01-07 Quentin Neill <quentin.neill@amd.com>
1110 * config/tc-i386.c (cpu_arch): Add CPU_BMI_FLAGS.
1112 * doc/c-i386.texi (i386-BMI): New section.
1114 2011-01-06 Paul Koning <ni1d@arrl.net>
1116 * config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relative
1117 references to absolute addresses.
1119 2011-01-05 DJ Delorie <dj@redhat.com>
1121 * config/tc-rx.c (tc_gen_reloc): Emit an RX_OP_NEG expression
1122 instead of an RH_NEG32 one.
1124 2011-01-05 Jonathan Wakely <jwakely.gcc@gmail.com>
1126 * doc/c-i386.texi: Clarify --n32.
1128 2011-01-04 H.J. Lu <hongjiu.lu@intel.com>
1130 * config/tc-i386.c (build_modrm_byte): Allow encoding 32/64bit
1131 integer registers in VEX.vvvv. Check register-only source
1132 operand when two source operands are swapped. Properly update
1133 destination when two source operands are swapped.
1135 2011-01-01 H.J. Lu <hongjiu.lu@intel.com>
1137 * gas.c (parse_args): Update copyright to 2011.
1139 For older changes see ChangeLog-2010
1145 version-control: never