1 2011-06-28 Tristan Gingold <gingold@adacore.com>
3 * config/tc-alpha.c (s_alpha_pdesc): Fix indentation. Do not
6 2011-06-28 Tristan Gingold <gingold@adacore.com>
8 * config/tc-alpha.c (load_expression): Use alloca instead of xmalloc.
10 (tc_gen_reloc): Ditto.
12 2011-06-28 Tristan Gingold <gingold@adacore.com>
14 * config/tc-alpha.c (alpha_evax_proc_hash): Remove.
15 (alpha_evax_proc_data): New variable.
16 (s_alpha_ent): Prevent nested function. Remove has_insert call.
17 (s_alpha_pdesc): Do not call demand_empty_rest_of_line in case of
18 error. Do not search in the hash table. Check if match with .ent.
19 (s_alpha_name): Remove unused variable.
20 (md_begin): Remove initialization of alpha_evax_proc_hash.
22 2011-06-27 Tristan Gingold <gingold@adacore.com>
24 * config/tc-alpha.c (add_to_link_pool): Remove basesym parameter.
25 Locally declare basesym. Add comments. Do not set literal_pool_size.
26 (load_expression): Adjust call to add_to_link_pool.
27 (s_alpha_pdesc): Define pdesc symbol using dot.
28 Do not set literal_pool_size.
29 (s_alpha_end): Use NULL instead of 0.
31 2011-06-27 Tristan Gingold <gingold@adacore.com>
33 * config/obj-evax.c (evax_frob_file_before_adjust): Add comments.
35 * config/obj-evax.h (struct alpha_linkage_fixups): Remove seg
37 (obj_symbol_type, object_headers, OBJ_SYMFIELD_TYPE): Remove
39 2011-06-26 Richard Sandiford <rdsandiford@googlemail.com>
41 * config/tc-mips.c (fix_24k_record_store_info): If the previous
42 instruction was a store, and the next instructions are unknown,
45 2011-06-25 Richard Sandiford <rdsandiford@googlemail.com>
48 * config/tc-mips.c (nops_for_vr4130, nops_for_24k, nops_for_insn)
49 (nops_for_sequence, nops_for_insn_or_target): Add ignore parameters.
50 (mips_emit_delays, start_noreorder): Update accordingly.
51 (append_insn): Likewise. Revert original fix for this PR
52 and use the ignore parameter instead.
54 2011-06-24 Tristan Gingold <gingold@adacore.com>
57 * config/obj-evax.c (evax_frob_symbol): Use as_bad instead of abort.
59 2011-06-24 Tristan Gingold <gingold@adacore.com>
61 * config/tc-alpha.c (add_to_link_pool): Remove useless offset
64 2011-06-23 Richard Sandiford <rdsandiford@googlemail.com>
67 * config/tc-mips.c (append_insn): Only consider hazards between the
68 pre-noreorder block and ip.
70 2011-06-21 Sameera Deshpande <sameera.deshpande@arm.com>
72 * config/tc-arm.c (vfp_conv): Add check on range of immediate operand
73 in vcvt instruction between floating-point and fixed-point.
74 (operand_parse_code): Add "OP_oI32z".
75 (parse_operands): OP_oI32z case added.
77 2011-06-20 H.J. Lu <hongjiu.lu@intel.com>
79 * configure.tgt: Revert x32 change.
81 2011-06-20 Nick Clifton <nickc@redhat.com>
83 * doc/Makefile.am: (CPU_DOCS): Add c-xstormy16.texi.
84 * doc/Makefile.in: Regenerate.
85 * doc/all.texi: Set XSTORMY16.
86 * doc/c-xstormy16.texi: New file.
88 2011-06-19 H.J. Lu <hongjiu.lu@intel.com>
90 * configure.tgt: Support x32.
92 2011-06-15 Nick Clifton <nickc@redhat.com>
94 * NEWS: Mention addition of TILEPRO and TIKE-Gx support.
96 2011-06-14 Tristan Gingold <gingold@adacore.com>
98 * config/tc-ppc.h (struct ppc_tc_sy): Complete comment on within.
99 (tc_new_dot_label): Define.
100 (ppc_new_dot_label): Declare.
101 * config/tc-ppc.c (ppc_frob_label): Set within target field.
102 (ppc_fix_adjustable): Use this field to adjust the reloc.
103 (ppc_new_dot_label): New function.
105 2011-06-14 Alan Modra <amodra@gmail.com>
107 * po/POTFILES.in: Regenerate.
109 2011-06-13 Walter Lee <walt@tilera.com>
111 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tilegx.c and
113 (TARGET_CPU_HFILES): Add config/tc-tilegx.h and
115 * Makefile.in: Regenerate.
116 * configure.tgt (tilepro-*-*): New.
117 (tilegx-*-*): Likewise.
118 * config/tc-tilegx.c: New file.
119 * config/tc-tilegx.h: Likewise.
120 * config/tc-tilepro.h: Likewise.
121 * config/tc-tilepro.c: Likewise.
122 * doc/Makefile.am (CPU_DOCS): Add c-tilegx.texi and
124 * doc/Makefile.in: Regenerate.
125 * doc/all.texi (TILEGX): Define.
127 * doc/as.texinfo: Add Tile-Gx and TILEPro documentation. Include
128 c-tilegx.texi and c-tilepro.texi.
129 * doc/c-tilegx.texi: New.
130 * doc/c-tilepro.texi: New.
132 2011-06-13 Nick Clifton <nickc@redhat.com>
135 * config/tc-arm.c (do_shift): Do not allow shift operations at the
136 end of a register based shift insn.
137 (do_t_shift): Likewise.
139 2011-06-13 Nick Clifton <nickc@redhat.com>
141 * config/tc-score.c (s3_my_get_expression): Delete unused local
143 (s3_do_ldst_insn): Delete unused local variable 'strbak'.
144 (s3_do16_ldst_insn): Delete unused local variable 'temp'.
145 (s3_do_macro_bcmp): Zero inst_expand array.
146 (s3_do_macro_bcmpz): Likewise.
147 (s3_s_score_end): Delete unused local variable 'dot'.
148 (s3_gen_reloc): Delete unused local variables 'f', 's', and 'e'.
149 * config/tc-score7.c (s7_my_get_expression): Delete unused local
151 (s7_do_ldst_insn): Delete unused local variable 'strbak'.
152 (s7_b32_relax_to_b16): Delete unused local variables 'r_old' and
154 (s7_s_score_end): Delete unused local variable 'dot'.
155 (s7_relax_frag): Delete unused local variable 'relax_size'.
156 (s7_gen_reloc): Delete unused local variables 'f', 's', and 'e'.
158 2011-06-10 H.J. Lu <hongjiu.lu@intel.com>
160 AVX Programming Reference (June, 2011)
161 * config/tc-i386.c (i386_error): Add invalid_vsib_address and
162 unsupported_vector_index_register.
163 (cpu_arch): Add .avx2, .bmi2, .lzcnt and .invpcid.
164 (check_VecOperands): New.
165 (match_template): Call check_VecOperands. Handle
166 invalid_vsib_address and unsupported_vector_index_register.
167 (build_modrm_byte): Support VecSIB. Check register-only source
168 operand when two source operands are swapped.
169 (i386_index_check): Allow Xmm/Ymm index registers.
171 * doc/c-i386.texi: Document avx2/.avx2, bmi2/.bmi2, lzcnt/.lzcnt
172 and invpcid./invpcid.
174 2011-06-09 Nick Clifton <nickc@redhat.com>
177 * config/tc-cr16.c (tc_gen_reloc): Remove unused local variable
179 (check_cinv_options): Remove unused local variables. Make
181 (md_assemble): Remove unused local variable.
183 2011-06-09 James Greenhalgh <james.greenhalgh@arm.com>
185 * config/tc-arm.c (do_ldrd): Warn in unpredictable cases.
187 2011-06-03 Arnaud Patard <arnaud.patard@rtp-net.org>
190 * config/tc-arm.c (parse_psr): Set m_profile to false when
191 assembling for any architecture.
193 2011-06-02 Jie Zhang jie@codesourcery.com
194 Nathan Sidwell nathan@codesourcery.com
196 * config/tc-arm.c (parse_address_main): Handle -0 offsets.
197 (encode_arm_addr_mode_2): Set default sign of zero here ...
198 (encode_arm_addr_mode_3): ... and here.
199 (encode_arm_cp_address): ... and here.
200 (md_apply_fix): Use default sign of zero here.
202 2011-06-02 Nick Clifton <nickc@redhat.com>
204 * as.c: Fix spelling typo.
206 * config/tc-ppc.c: Likewise.
207 * po/gas.pit: Regenerate.
209 2011-05-31 Paul Brook <paul@codesourcery.com>
211 * config/tc-arm.c (arm_cpus): Add Cortex-R5.
212 (arm_extensions): Allow idiv on ARMv7-R.
213 * doc/c-arm.text: Update idiv extension restrictions.
215 2011-05-31 Paul Brook <paul@codesourcery.com>
217 * config/tc-arm.c (arm_force_relocation): Resolve all pc-relative
220 2011-05-31 Paul Brook <paul@codesourcery.com>
222 * config/tc-arm.c (do_t_branch): Avoid relaxing branches to constant
225 2011-05-31 Paul Brook <paul@codesourcery.com>
226 Nathan Sidwell <nathan@codesourcery.com>
228 * config/tc-arm.c (fix_new_arm): Create an absolute symbol for
229 pc-relative fixes to constants.
230 * config/tc-arm.h (TC_FORCE_RELOCATATION_ABS): Define.
232 2011-05-27 Nick Clifton <nickc@redhat.com>
234 * config/tc-s390.c (md_begin): Remove unused variable dup_insn.
236 2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
238 * config/tc-s390.c (md_gather_operands): Fix check for floating
239 register pair operands.
241 2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
243 * config/tc-s390.c (md_gather_operands): Emit an error for odd
244 numbered registers used as register pair operand.
246 2011-05-23 Nick Clifton <nickc@redhat.com>
248 * config/tc-v850.h (TC_FX_SIZE_SLACK): Define.
250 2011-05-20 Bernd Schmidt <bernds@codesourcery.com>
252 * config/tc-tic6x.c (tic6x_operators): Add "pcr_offset".
253 (tic6x_parse_name): Handle it.
254 (tic6x_fix_new_exp): Handle O_pcr_offset.
255 (tic6x_fix_adjustable): Return 0 for the new relocs.
256 (md_apply_fix): Handle them.
257 (tc_gen_reloc): Likewise.
258 * config/tc-tic6x.h (tic6x_fix_info): Add a fix_subsy member.
260 2011-05-18 Nick Clifton <nickc@redhat.com>
263 * config/tc-tic30.c (ordinal_names): Allow translation of the
266 2011-05-18 Nick Clifton <nickc@redhat.com>
268 * config/tc-arm.c (s_unreq): Reword warning message to make it
270 * config/tc-ia64.c (md_show_usage): Add note for translators.
271 * configure.in (ALL_LINGUAS): Add "fi".
272 * configure: Regenerate.
274 2011-05-18 Tristan Gingold <gingold@adacore.com>
276 * config/tc-ppc.h (ppc_tc_sy): Reorder fields.
277 Put size into an union with dw.
278 (OBJ_COPY_SYMBOL_ATTRIBUTES): Adjust.
279 (ppc_xcoff_end): Declare.
281 * config/tc-ppc.c: Add includes for xcoff.
282 (ppc_dwsect): New function.
283 (md_pseudo_table): Add dwsect.
284 (struct dw_subsection): New.
286 (ppc_change_debug_section): New function.
287 (ppc_xcoff_end): Ditto.
288 (ppc_function): Adjust for ppc_tc_sy.
289 (ppc_symbol_new_hook): Ditto.
290 (ppc_frob_symbol): Ditto.
291 (ppc_frob_section): Do not set vma for debug sections.
292 (ppc_fix_adjustable): Return true for debug sections.
293 * config/obj-coff.c: Add includes for xcoff.
294 (coff_frob_section): Handle dwarf section.
296 2011-05-17 Nick Clifton <nickc@redhat.com>
298 * po/fi.po: New Finnish translation.
299 * po/fr.po: Updated French translation.
301 * config/tc-m32r.c (md_show_usage): Fix typos in descriptions.
302 * config/tc-mt.c (md_assemble): Fix typos in warning messages.
303 * cond.c (s_else): Fix typos in error messages.
304 * config/tc-pj.c (md_assemble): Fix typo in error message.
306 2011-05-16 Hans-Peter Nilsson <hp@axis.com>
308 * config/tc-cris.c (md_parse_option) <OPTION_PIC>: Error if not
310 (md_show_usage): Only mention --pic if the assembler can generate
312 * doc/c-cris.texi (CRIS-Opt): Mention that generating ELF is a
313 prerequisite for --pic being a valid option.
315 2011-05-13 Frederic Marchal <fmarchal@perso.be>
318 * config/tc-v850.c (parse_register_list): Correct error string.
320 2011-05-12 Quentin Neill <quentin.neill@amd.com>
322 * config/tc-i386.c (cpu_arch): Rename PROCESSOR_BDVER1 to PROCESSOR_BD.
323 (i386_align_code): Ditto
325 2011-05-12 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
328 * config/tc-arm.c (parse_big_immediate): Fix parsing of 64-bit
329 immediates on 32-bit hosts.
331 2011-05-10 Quentin Neill <quentin.neill@amd.com>
333 * config/tc-i386.c (cpu_arch): Add bdver2 and rename
334 PROCESSOR_BDVER1 to PROCESSOR_BDVER.
335 (i386_align_code): Rename PROCESSOR_BDVER1.
336 (processor_type): Ditto.
337 * doc/c-i386.texi: Add bdver2.
339 2011-05-10 Alan Modra <amodra@gmail.com>
341 * dw2gencfi.c (tc_cfi_endproc): Avoid "set but not used" error.
343 2011-05-09 Paul Brook <paul@codesourcery.com>
345 * config/tc-tic6x.c (streq): Define.
346 (tic6x_get_unwind): New.
347 (s_tic6x_cantunwind, s_tic6x_handlerdata, s_tic6x_endp,
348 s_tic6x_personalityindex, s_tic6x_personality): New functions.
349 (md_pseudo_table): Add "endp", "handlerdata", "personalityindex",
350 "personality" and "cantunwind".
351 (tic6x_regname_to_dw2regnum, tic6x_frame_initial_instructions,
352 tic6x_start_unwind_section, tic6x_unwind_frame_regs,
353 tic6x_pop_rts_offset_little, tic6x_pop_rts_offset_big,
354 tic6x_unwind_reg_from_dwarf, tic6x_flush_unwind_word,
355 tic6x_unwind_byte, tic6x_unwind_2byte, tic6x_unwind_uleb,
356 tic6x_cfi_startproc, output_exidx_entry, tic6x_output_unwinding,
357 tic6x_cfi_endproc): New.
358 * config/tc-tic6x.h (TIC6X_NUM_UNWIND_REGS): Define.
359 (tic6x_unwind_info): New.
360 (tic6x_segment_info_type): Add marked_pr_dependency, unwind and
362 (TARGET_USE_CFIPOP, tc_regname_to_dw2regnum,
363 tc_cfi_frame_initial_instructions, DWARF2_DEFAULT_RETURN_COLUMN,
364 DWARF2_CIE_DATA_ALIGNMENT, tc_cfi_startproc, tc_cfi_endproc,
365 tc_cfi_section_name): Define.
366 * doc/c-tic6x.texi: Document new unwinding directives.
367 * dw2gencfi.c (tc_cfi_startproc, tc_cfi_endproc): Add default
369 (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset, CFI_return_column,
370 CFI_rel_offset, CFI_escape, CFI_signal_frame, CFI_val_encoded_addr):
372 (CFI_EMIT_target): Define.
373 (dot_cfi_sections): Check tc_cfi_section_name.
374 (dot_cfi_startproc): Use tc_cfi_startproc.
375 (dot_cfi_endproc): Use tc_cfi_endproc.
376 * dw2gencfi.h (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset,
377 CFI_return_column, CFI_rel_offset, CFI_escape, CFI_signal_frame,
378 CFI_val_encoded_addr): Move to here from dw2gencfi.c.
380 2011-05-07 Alan Modra <amodra@gmail.com>
382 * dw2gencfi.c (CUR_SEG, SET_CUR_SEG, HANDLED, SET_HANDLED): Define.
383 Use throughout in place of #if SUPPORT_FRAME_LINKONCE.
384 (struct fde_entry): Rename cseg to cur_seg.
385 (cfi_change_reg_numbers): Remove ATTRIBUTE_UNUSED.
386 (get_cfi_seg): Likewise. Use if (SUPPORT_FRAME_LINKONCE) rather
387 that #if SUPPORT_FRAME_LINKONCE.
388 (cfi_finish): Likewise.
390 2011-05-06 Tristan Gingold <gingold@adacore.com>
392 * read.c (s_comm_internal): Remove code for OBJ_VMS.
395 * write.c (write_object_file): Ditto.
396 * symbols.c (define_sym_at_dot): Ditto.
399 2011-05-05 Alan Modra <amodra@gmail.com>
401 * dw2gencfi.c (SUPPORT_FRAME_LINKONCE): Define. Use throughout
402 file to conditionally compile code added 2011-04-26.
403 (cfi_change_reg_numbers): Add ATTRIBUTE_UNUSED on params only used
404 when SUPPORT_FRAME_LINKONCE.
405 (get_cfi_seg): Likewise. Reintroduce old code for when not
406 SUPPORT_FRAME_LINKONCE.
407 (cfi_finish): Move get_cfi_seg calls out of loop when not
408 SUPPORT_FRAME_LINKONCE. Avoid unused var warning.
410 2011-05-03 Paul Brook <paul@codesourcery.com>
412 * config/tc-tic6x.c (s_ehtype): New function.
413 (md_pseudo_table): Add "ehtype".
414 (tic6x_fix_adjustable, md_apply_fix): BFD_RELOC_C6000_EHTYPE.
415 * doc/c-tic6x.texi: Document .ehtype directive.
417 2011-04-26 Kai Tietz <ktietz@redhat.com>
419 * dw2gencfi.c (dwcfi_seg_list): New struct.
420 (dwcfi_hash): New static hash variable.
421 (get_debugseg_name): New.
422 (alloc_debugseg_item): New.
423 (make_debug_seg): New.
424 (dwcfi_hash_insert): New.
425 (dwcfi_hash_find): New.
426 (dwcfi_hash_find_or_make): New.
427 (cfi_insn_data): New member cur_seg.
428 (cie_entry): Likewise.
429 (fde_entry): New cseg and handled members.
430 (alloc_fde_entry): Initialize cseg member.
431 (alloc_cfi_insn_data): Initialize cur_seg member.
432 (dot_cfi_sections): Compare for beginning of
433 section names via strncmp.
435 (cfi_finish): Treat link-once sections.
436 (is_now_linkonce_segment): New local helper.
437 (output_cie): Ignore cie entries not member of current
439 (output_fde): Likewise.
440 (select_cie_for_fde): Likewise.
441 (cfi_change_reg_numbers): Add new argument for current segment
442 and ignore insn elements, if not part of current segment.
443 * ehopt.c (get_cie_info): Use strncmp for
444 section name matching.
445 (heck_eh_frame): Likewise.
447 2011-04-20 Catherine Moore <clm@codesourcery.com>
448 David Ung <davidu@mips.com>
450 * config/mips.c (mips_cl_insn): Add new field complete_p.
451 (create_insn): Initialize complete_p to zero.
453 (fix_24k_align_to): New.
454 (fix_24k_store_info): Declare.
456 (fix_24k_record_store_info): New.
458 (nops_for_insn): Call nops_for_24k.
459 (append_insn): Move O_constant expression handling.
461 2011-04-20 Alan Modra <amodra@gmail.com>
463 * hash.c (set_gas_hash_table_size): Use bfd_hash_set_default_size.
464 (hash_new_sized): New function, split out from..
467 2011-04-19 Nick Clifton <nickc@redhat.com>
469 * config/tc-arm.c (v7m_psrs): Revert previous delta.
471 2011-04-18 Julian Brown <julian@codesourcery.com>
472 Nick Clifton <nickc@redhat.com>
474 * config/tc-arm.c (parse_psr): Use selected_cpu not cpu_variant to
475 detect M-profile targets.
476 (do_t_swi): Exclude v7 and higher variants from arm_ext_os test.
477 (v7m_psrs): Fix typo: basepri_max should be basepri_mask.
479 2011-04-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
481 * config/tc-s390.c (s390_machine): New prototype.
482 (md_pseudo_table): New pseudo-op .machine.
483 (s390_opcode_hash): Initialize to NULL.
484 (s390_parse_cpu): New function.
485 (md_parse_option): Use s390_parse_cpu.
486 (s390_setup_opcodes): New function.
487 (md_begin): Use s390_setup_opcodes.
488 (s390_machine): New hook handling the new .machine pseudo.
490 * doc/c-s390.texi: Document the new pseudo op .machine.
492 2011-04-12 H.J. Lu <hongjiu.lu@intel.com>
494 * config/tc-i386.c (i386_mach): Start error message with lower
496 (md_begin): Likewise.
497 (md_parse_option): Likewise.
498 (i386_target_format): Likewise.
499 (check_byte_reg): Likewise.
500 (check_long_reg): Likewise.
501 (check_qword_reg): Likewise.
502 (check_word_reg): Likewise.
504 2011-04-12 Nick Clifton <nickc@redhat.com>
507 * config/tc-arm.c (relax_branch): Do not relax branches to
508 preemptable global symbols.
510 2011-04-11 Julian Brown <julian@codesourcery.com>
512 * config/tc-arm.c (parse_psr): Add LHS argument. Improve support
514 (operand_parse_code): Replace OP_PSR with OP_wPSR and OP_rPSR.
516 (parse_operands): Likewise.
517 (do_mrs): Tweak error message for constraint.
518 (do_t_mrs): Update constraints for changes to APSR support.
519 (do_t_msr): Likewise. Don't set PSR_f flag here.
520 (psrs): Remove "g", "nzcvq", "nzcvqg".
521 (insns): Tweak entries for msr and mrs instructions.
523 2011-04-11 Kai Tietz <ktietz@redhat.com>
525 * config/tc-i386.c (x86_cons): Initialize adjust with zero.
527 2011-04-11 Nick Clifton <nickc@redhat.com>
529 * config/tc-i386.c (x86_cons): Define even for non-ELF targets.
530 * config/tc-i386.h (x86_cons): Always prototype.
532 * config/tc-cr16.c (getprocregp_image): Fix type of 'r' parameter
533 in order to avoid a compile time warning.
534 (getprocreg_image): Likewise.
536 2011-04-11 Alan Modra <amodra@gmail.com>
538 * config/tc-cr16.c (getprocreg_image): Correct range check.
539 (getprocregp_image): Likewise.
541 2011-04-06 Joseph Myers <joseph@codesourcery.com>
543 * configure.tgt (strongarm*be, strongarm*b, strongarm*,
544 xscale*be|xscale*b, xscale*): Remove architectures.
545 (thumb-*-coff, thumb-*-rtems*, thumb-*-elf, thumb-epoc-pe,
546 thumb-*-pe, xscale-*-coff, xscale-*-elf): Remove targets.
548 2011-04-01 Tristan Gingold <gingold@adacore.com>
550 * config/tc-ia64.c (md_apply_fix): Add a cast to avoid a warning.
552 2011-03-31 Bernd Schmidt <bernds@codesourcery.com>
554 * config/tc-tic6x.c (sbss_section, scom_section, scom_symbol): New
556 (md_begin): Initialize them.
557 (s_tic6x_scomm): New static function.
558 (md_pseudo_table): Add "scomm".
559 (tc_gen_reloc): Really undo all adjustments made by
560 bfd_install_relocation.
561 * doc/c-tic6x.texi: Document the .scomm directive.
563 2011-03-31 Tristan Gingold <gingold@adacore.com>
565 * dwarf2dbg.c (DWARF2_VERSION): Define.
566 (out_debug_line): Use it.
567 (out_debug_aranges): Ditto.
568 (out_debug_info): Ditto.
569 * config/tc-ia64.h (DWARF2_VERSION): Override it.
571 2011-03-30 Michael Snyder <msnyder@vmware.com>
573 * obj-elf.c (obj_elf_section): Free malloced name.
574 * macro.c (get_any_string): Free malloced br_buf.
575 (do_formals): Free 'formal'.
577 2011-03-30 Tristan Gingold <gingold@adacore.com>
579 * config/tc-ppc.c (ppc_frob_symbol): Convert stsym symbols value
580 to offset only if within is set.
581 (ppc_stabx): Reformat. For stsym stabs, add a check and set
582 within only for symbols.
584 2011-03-29 Richard Henderson <rth@redhat.com>
587 * config/tc-alpha.c (s_alpha_align): Don't auto-align a previous
588 label; zap alpha_insn_label.
590 2011-03-29 H.J. Lu <hongjiu.lu@intel.com>
592 * config/tc-i386.c (handle_quad): Properly handle multiple
595 2011-03-29 Mike Frysinger <vapier@gentoo.org>
597 * config/bfin-parse.y (BYTEUNPACK): Return yyerror when dest
598 reg $2 is the same as dest reg $4.
600 2011-03-29 Mike Frysinger <vapier@gentoo.org>
602 * config/bfin-parse.y (BYTEOP16M): Return yyerror when dest
603 reg $2 is the same as dest reg $4.
605 2011-03-29 Mike Frysinger <vapier@gentoo.org>
607 * config/bfin-parse.y (BYTEOP16P): Return yyerror when dest
608 reg $2 is the same as dest reg $4.
610 2011-03-28 Mike Frysinger <vapier@gentoo.org>
612 * config/bfin-parse.y (16bit acc add): Return yyerror when dest
613 reg $1 is the same as dest reg $7.
615 2011-03-28 H.J. Lu <hongjiu.lu@intel.com>
617 * config/tc-i386.c (handle_quad): New.
618 (md_pseudo_table): Add "quad".
620 2011-03-26 John Marino <binutils@marino.st>
622 * configure.tgt: Fix support for *-*-dragonfly*.
623 * config/tc-i386.c: define SVR4_COMMENT_CHARS for dragonfly.
624 * config/te-dragonfly.h: New file.
626 2011-03-24 Eric B. Weddington <eric.weddington@atmel.com>
628 * config/tc-avr.c (mcu_types): Add new devices: atmega325pa,
629 atmega3250pa, atmega3290pa, atmega16hvbrevb, atmega32hvbrevb,
631 * doc/c-avr.texi: Document new device names.
633 2011-03-24 Mike Frysinger <vapier@gentoo.org>
635 * config/bfin-parse.y (dual 32bit add/sub): Return yyerror when dest
636 reg $1 is the same as dest reg $7.
637 (quad 16bit add/sub): Return yyerror when dest reg $1 is the same as
640 2011-03-24 Mike Frysinger <vapier@gentoo.org>
642 * config/bfin-parse.y (check_macfuncs): Clarify error message when
643 P is mismatched. Check destination regno are off by one when P is
644 set, or are equal when P is not set.
646 2011-03-23 Mike Frysinger <vapier@gentoo.org>
648 * config/bfin-parse.y (SEARCH): Return yyerror when dest reg $2 is
649 the same as dest reg $4.
650 (BITMUX): Return yyerror when dest reg $3 is the same as dest reg $5.
652 2011-03-23 Eric B. Weddington <eric.weddington@atmel.com>
654 * config/tc-avr.c (mcu_types): Add new xmega devices: atxmega64a1u,
655 atxmega128a1u, atxmega16x1, atxmega32x1, atxmega128b1, atxmega256a3bu.
656 * doc/c-avr.texi: Document new device names.
658 2011-03-22 Eric B. Weddington <eric.weddington@atmel.com>
660 * config/tc-avr.c (struct avr_opcodes_s): Add opcode field.
661 (AVR_INSN): Change definition to match.
662 (avr_opcodes): Likewise, change to match.
663 (mcu_types): Add XMEGA architecture names and new XMEGA device names.
664 (md_show_usage): Add XMEGA architecture names.
665 (avr_operand): Add 'E' constraint for DES instruction of XMEGA devices.
666 Add support for SPM Z+ instruction.
667 * doc/c-avr.texi: Add documentation for XMEGA architectures and
670 2011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
672 * config/tc-avr.c (md_show_usage): Add "Assembler" text to output.
674 2011-03-18 Alan Modra <amodra@gmail.com>
676 * config/obj-elf.c (elf_frob_symbol): Report S_SET_SIZE symbol
677 on .size expression errors rather than symbols in the size expression.
679 2011-03-18 Alan Modra <amodra@gmail.com>
681 * input-scrub.c (line_numberT): Delete.
682 (input_scrub_close): Reset line counters.
683 * messages.c (as_show_where): Don't print invalid line number.
684 (as_warn_internal, as_bad_internal): Likewise.
686 2011-03-18 Alan Modra <amodra@gmail.com>
688 * read.c (read_a_source_file): Remove md_after_pass_hook.
689 Move "quit" label before set of dot_symbol.
690 * config/tc-d10v.h (md_after_pass_hook): Don't define.
691 * config/tc-d30v.h (md_after_pass_hook): Likewise.
692 * config/tc-m32r.h (md_after_pass_hook): Likewise.
693 (md_cleanup): Define to call m32r_fill_insn.
695 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
697 * config/tc-s390.c (md_parse_option): Add -march=all option which
698 switches to the highest available CPU.
700 2011-03-17 Alan Modra <amodra@gmail.com>
703 * expr.c (operand): Correct passing of "mode" to expr.
704 * read.c (do_org): Allow expr_section.
705 (get_known_segmented_expression): Don't assert anything about the
708 2011-03-16 H.J. Lu <hongjiu.lu@intel.com>
710 * as.c (show_usage): Add --size-check=.
711 (parse_args): Add and handle OPTION_SIZE_CHECK.
713 * as.h (flag_size_check): New.
715 * config/obj-elf.c (elf_frob_symbol): Use as_bad to report
716 bad .size directive only for --size-check=error.
718 * doc/as.texinfo: Document --size-check=.
720 2011-03-14 Mike Frysinger <vapier@gentoo.org>
722 * config/tc-bfin.c (bfin_cpus[]): Add 0.4 for
723 bf542/bf544/bf547/bf548/bf549.
725 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
727 * config/tc-arm.c (md_pcrel_from_section): Use S_FORCE_RELOC to
728 determine whether a relocation is needed.
729 (md_apply_fix, arm_apply_sym_value): Likewise.
731 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
733 * config/tc-arm.c (arm_adjust_symtab): Set the branch type
736 2011-03-11 Nick Clifton <nickc@redhat.com>
738 * remap.c (remap_debug_filename): Always allocate a buffer for the
740 * stabs.c (stabs_generate_asm_file): Free the pointer returned by
741 remap_debug_filename.
743 2011-03-10 Michael Snyder <msnyder@vmware.com>
745 Revert the following change:
746 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
747 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
749 2011-03-10 Alan Modra <amodra@gmail.com>
751 * gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS,
752 TARGET_SYMBOL_FIELDS): Don't define.
753 * gas/config/tc-arc.c (arc_common): Use correct symbol "local" field.
755 2011-03-09 Michael Snyder <msnyder@vmware.com>
757 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
758 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
759 (emit_fixed_inc_line_addr): Assign instead of conditional in
762 2011-03-05 H.J. Lu <hongjiu.lu@intel.com>
764 * config/obj-elf.c (elf_frob_symbol): Mention symbol name in
765 non-constant .size expression.
767 2011-03-02 Nick Clifton <nickc@redhat.com>
769 * ecoff.c: Incldue filenames.h
771 2011-02-28 Kai Tietz <kai.tietz@onevision.com>
773 * depend.c (register_dependency): Use filename_(n)cmp.
774 * dwarf2dbg.c (get_filenum): Likewise.
775 * ecoff.c (add_file): Likewise.
776 (ecoff_generate_asm_lineno): Likewise.
777 * input-scrub.c (new_logical_line_flags): Likewise.
778 * listing.c (file_info): Likewise.
779 (listing_newline): Likewise.
780 * remap.c (remap_debug_filename): Likewise.
781 * stabs.c (generate_asm_file): Likewise.
782 (stabs_generate_asm_lineno): Likewise.
784 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
786 * config/tc-mips.c (append_insn): Disable branch relaxation for
789 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
791 * config/tc-mips.c (macro): Handle M_PREF_AB.
793 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
795 * config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary
797 (RELAX_BRANCH_UNCOND): Adjust accordingly.
798 (RELAX_BRANCH_LIKELY): Likewise.
799 (RELAX_BRANCH_LINK): Likewise.
800 (RELAX_BRANCH_TOOFAR): Likewise.
801 (RELAX_BRANCH_AT): New macro.
802 (append_insn): Encode the temporary register to use in standard
803 MIPS branch relaxation.
804 (relaxed_branch_length): Update according to changes to
806 (md_convert_frag): Use the encoded register as the temporary.
808 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
810 * config/tc-mips.c (mips_fix_adjustable): On REL targets also
811 reject PC-relative relocations.
813 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
815 * config/tc-mips.c (md_convert_frag): Correct message
818 2011-02-28 Alan Modra <amodra@gmail.com>
820 * symbols.c (report_op_error): Remove unnecessary forward declaration.
821 Add "op" parameter. Report operator and operand segments in error
822 message, not operand symbols.
823 (resolve_symbol_value): Always set segment for equated symbols, not
824 just when finalizing. Adjust report_op_error calls.
826 2011-02-25 H.J. Lu <hongjiu.lu@intel.com>
828 * config/tc-i386.c (reloc): Don't sign-check 4-byte relocations
829 if 64bit relocations aren't allowed.
831 2011-02-25 Alan Modra <amodra@gmail.com>
834 * config/obj-elf.c (elf_frob_symbol): Properly handle size expression.
836 2011-02-21 Maciej W. Rozycki <macro@codesourcery.com>
838 * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate
839 initialization of offset_reloc.
841 2011-02-15 Richard Henderson <rth@redhat.com>
843 * dw2gencfi.c (dot_cfi_dummy): New.
844 (cfi_pseudo_table) [!TARGET_USE_CFIPOP]: New.
845 * read.c (pobegin): Unconditionally call cfi_pop_insert.
847 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
849 * configure: Regenerate.
851 2011-02-13 Mike Frysinger <vapier@gentoo.org>
853 * config/bfin-lex.l (BYTEOP2M): Remove tokenization.
854 * config/bfin-parse.y (BYTEOP2M): Delete token.
855 (asm_1): Remove BYTEOP2M insn matching.
857 2011-02-12 Mike Frysinger <vapier@gentoo.org>
859 * config/bfin-defs.h: Include opcode/bfin.h.
860 (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH, M_IU): Delete.
862 2011-02-11 Mike Frysinger <vapier@gentoo.org>
864 * doc/c-bfin.texi (Instruction Delimiting): Fix occur typo.
865 (Modify Registers): Fix subtracted typo.
866 (.byte2): Extend and swap descriptions with .byte4.
867 (.byte4): Extend and swap descriptions with .byte2.
868 (.db, .dw, .dd): Document behavior.
870 2011-02-11 Mike Frysinger <vapier@gentoo.org>
872 * config/bfin-parse.y (TESTSET): Reject REG_SP and REG_FP.
874 2011-02-11 Alan Modra <amodra@gmail.com>
876 * doc/c-ppc.texi (PowerPC-Opts <-nops>): Clarify.
878 2011-02-10 Alan Modra <amodra@gmail.com>
880 * doc/as.texinfo (Overview): Add missing markup around Blackfin
883 2011-02-10 Alan Modra <amodra@gmail.com>
885 * config/tc-ppc.c (md_show_usage): Remove -l and -b. Add -K PIC.
886 * doc/as.texinfo: Refer to and include c-ppc.texi for PowerPC options.
887 (Overview <Target PowerPC options>): Add a number of missing options.
888 * doc/c-ppc.texi: Likewise. Add markup for use in manpage generation.
890 2011-02-08 H.J. Lu <hongjiu.lu@intel.com>
893 * config/tc-i386.c (i386_align_code): Use f32_patt when tuning
896 2011-02-08 H.J. Lu <hongjiu.lu@intel.com>
898 * config/tc-i386.c (set_cpu_arch): Also update cpu_arch_isa_flags
900 (md_parse_option): Likewise.
902 2011-02-04 Bernd Schmidt <bernds@codesourcery.com>
904 * doc/as.texinfo (Target TIC6X options): Don't mention "-matomic".
905 * doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic".
906 (TIC6X Options): Don't mention "-matomic".
907 * config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete.
908 (md_longopts): Remove corresponding entries.
909 (md_parse_option): Don't handle them.
910 (md_show_usage): Don't document them.
911 (tic6x_atomic): Delete variable.
912 (tic6x_update_features): Always copy tic6x_arch_enable to
914 (tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC.
915 (s_tic6x_atomic, s_tic6x_noatomic): Remove functions.
916 (md_pseudo_table): Remove ".atomic" and ".noatomic".
918 2011-01-31 Nick Clifton <nickc@redhat.com>
920 * write.c (write_contents): Include output file name and bfd error
921 value when reporting the inability to write to the output file.
922 * config/tc-rx.c (rx_handle_align): Do not insert NOPs into align
923 frag that has a non-zero fill value.
925 2011-01-27 DJ Delorie <dj@redhat.com>
927 * config/tc-rx.c (md_convert_frag): If we can't compute the target
928 address, zero out the values stored in the object file to make
929 objdump's output consistent.
931 2011-01-26 Kai Tietz <kai.tietz@onevision.com>
933 * config/tc-i386.c (md_begin): Set for x64 windows COFF target
934 x86_dwarf2_return_column to 32.
936 2011-01-20 Nick Clifton <nickc@redhat.com>
939 * config/tc-h8300.c (constant_fits_width_p): Use correct type for
942 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
944 * write.c (compress_debug): Return if section size is smaller
947 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
950 * write.c (compress_debug): Return if section size is 0.
952 2011-01-18 Mingfeng Wu <mingfeng@faraday-tech.com>
954 * config/tc-arm.c (arm_cpus): Add Faraday ARMv5TE compatible
955 cores: fa606te, fa616te, fmp626. Modify the VFP of fa626te.
956 * doc/c-arm.texi (ARM Options): Add -mcpu={fa606te, fa616te,
959 2011-01-18 Nick Clifton <nickc@redhat.com>
962 * doc/all.texi: Add NS32K
963 * doc/as.texinfo: Remove target specific details of which
964 characters act as comment initiators and statement separators into
965 individual target specific files.
966 * doc/c-alpha.texi (Alpha-Chars): Document special behaviour of
967 the hash character at the start of a line.
968 * doc/c-arm.texi (ARM-Chars): Likewise.
969 * doc/c-avr.texi (AVR-Chars): Likewise.
970 * doc/c-d10v.texi (D10V-Chars): Likewise.
971 * doc/c-d30v.texi (D30V-Chars): Likewise.
972 * doc/c-mmix.texi (MMIX-Chars): Likewise.
973 * doc/c-s390.texi (s390 characters): Likewise.
974 * doc/c-sh.texi (SH-Chars): Likewise.
975 * doc/c-sh64.texi (SH64-Chars): Likewise.
976 * doc/c-sparc.texi (SPARC-Chars): Likewise.
977 * doc/c-tic6x.texi (TIC6X Syntax): Likewise.
978 * doc/c-xtensa.texi (Xtensa Syntax): Likewise.
979 * doc/c-z80.texi (Z80-Chars): Likewise.
980 * doc/c-z8k.texi (Z8000-Chars): Likewise.
981 * doc/c-pdp11.texi (PDP11-Syntax): Document line separator character.
982 * doc/c-arc.texi (ARC-Chars): Fill in this subsection.
983 * doc/c-bfin.texi (Blackfin Syntax): Document line comment and
984 line separator characters.
985 * doc/c-cr16.texi (CR16 Syntax): Likewise.
986 * doc/c-i386.texi (i386-Chars): Likewise.
987 * doc/c-i860.texi (i860-Chars): Likewise.
988 * doc/c-i960.texi (i960-Chars): Likewise.
989 * doc/c-ip2k.texi (IP2K-Chars): Likewise.
990 * doc/c-lm32.texi (LM32-Chars): likewise.
991 * doc/c-m32c.texi (M32C-Chars): Likewise.
992 * doc/c-m68hc11.texi (M68HC11-syntax): Likewise.
993 * doc/c-m68k.texi (M68K-Chars): Likewise.
994 * doc/c-microblaze.texi (MicroBlaze-Chars): Likewise.
995 * doc/c-msp430.texi (MSP430-Chars): Likewise.
996 * doc/c-mt.texi (MT-Chars): Likewise.
997 * doc/c-ns32k.texi (NS32K-Chars): Likewise.
998 * doc/c-pj.texi (PJ-Chars): Likewise.
999 * doc/c-ppc.texi (PowerPC-Chars): Likewise.
1000 * doc/c-rx.texi (RX-Chars): Likewise.
1001 * doc/c-score.texi (SCORE-Chars): Likewise.
1002 * doc/c-tic54x.texi (TIC54X-Chars): Likewise.
1003 * doc/c-v850.texi (V850-Chars): Likewise.
1004 * doc/c-vax.texi (VAX-Chars): Likewise.
1005 * doc/c-xc16x.texi (xc16x-Chars): Likewise.
1007 2011-01-17 Quentin Neill <quentin.neill@amd.com>
1009 * config/tc-i386.c (cpu_arch): Add CPU_TBM_FLAGS.
1011 * doc/c-i386.texi (i386-TBM): New section.
1013 2011-01-16 H.J. Lu <hongjiu.lu@intel.com>
1015 * config/tc-i386.c (disallow_64bit_disp): Renamed to ...
1016 (disallow_64bit_reloc): This.
1017 (md_assemble): Don't check movabs for x32 mode here.
1018 (i386_target_format): Updated.
1019 (tc_gen_reloc): Check if 64bit relocations are allowed.
1021 2011-01-15 H.J. Lu <hongjiu.lu@intel.com>
1023 * config/tc-i386.c (disallow_64bit_disp): New.
1024 (x86_elf_abi): Replace X86_64_LP64_ABI/X86_64_ILP32_ABI with
1025 X86_64_ABI/X86_64_X32_ABI.
1026 (md_assemble): Don't allow movabs with relocation in x32 mode.
1027 (i386_target_format): Updated.
1029 2011-01-14 H.J. Lu <hongjiu.lu@intel.com>
1031 * config/tc-i386.c (OPTION_N32): Renamed to ...
1033 (md_longopts): Replace n32 with x32.
1034 (md_parse_option): Updated.
1035 (md_show_usage): Likewise.
1037 * doc/c-i386.texi: Replace --n32 with --x32.
1039 2011-01-11 Mingjie Xing <mingjie.xing@gmail.com>
1041 * config/tc-mips.c (mips_ip): Update error messages. Take an
1042 unadjusted offset for "+c" argument.
1044 2011-01-10 Nick Clifton <nickc@redhat.com>
1046 * config/tc-i386.c (x86_elf_abi): Only define for targets that use
1049 2011-01-10 Nick Clifton <nickc@redhat.com>
1051 * config/tc-arm.c (s_arm_tls_desceq): Move code into ELF-only
1054 2011-01-10 Nathan Sidwell <nathan@codesourcery.com>
1055 Glauber de Oliveira Costa <glommer@gmail.com>
1057 * doc/c-arm.texi: Document TLSDESC and TLSCALL relocations, and
1058 .tlsdescseq directive.
1059 * config/tc-arm.c (arm_typed_reg_parse): Check for potential reloc
1061 (s_arm_tls_descseq): New directive.
1062 (md_pseudo_table): Add it.
1063 (encode_branch): Allow TLS_CALL relocs too.
1064 (do_t_blx, do_t_branch23): Use encode_branch.
1065 (reloc_names): Add tlsdesc and tlscall.
1066 (md_apply_fix): Process tls desc relocations.
1067 (tc_gen_reloc): Likewise.
1068 (arm_fix_adjustable): Likewise.
1070 2011-01-07 Quentin Neill <quentin.neill@amd.com>
1072 * config/tc-i386.c (cpu_arch): Add CPU_BMI_FLAGS.
1074 * doc/c-i386.texi (i386-BMI): New section.
1076 2011-01-06 Paul Koning <ni1d@arrl.net>
1078 * config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relative
1079 references to absolute addresses.
1081 2011-01-05 DJ Delorie <dj@redhat.com>
1083 * config/tc-rx.c (tc_gen_reloc): Emit an RX_OP_NEG expression
1084 instead of an RH_NEG32 one.
1086 2011-01-05 Jonathan Wakely <jwakely.gcc@gmail.com>
1088 * doc/c-i386.texi: Clarify --n32.
1090 2011-01-04 H.J. Lu <hongjiu.lu@intel.com>
1092 * config/tc-i386.c (build_modrm_byte): Allow encoding 32/64bit
1093 integer registers in VEX.vvvv. Check register-only source
1094 operand when two source operands are swapped. Properly update
1095 destination when two source operands are swapped.
1097 2011-01-01 H.J. Lu <hongjiu.lu@intel.com>
1099 * gas.c (parse_args): Update copyright to 2011.
1101 For older changes see ChangeLog-2010
1107 version-control: never