2011-06-24 Tristan Gingold <gingold@adacore.com>
[binutils.git] / gas / ChangeLog
blobf9acda19f743c3ace1430550a6cca2cceb78071f
1 2011-06-24  Tristan Gingold  <gingold@adacore.com>
3         PR gas/11625
4         * config/obj-evax.c (evax_frob_symbol): Use as_bad instead of abort.
6 2011-06-24  Tristan Gingold  <gingold@adacore.com>
8         * config/tc-alpha.c (add_to_link_pool): Remove useless offset
9         variable.  Fix style.
11 2011-06-23  Richard Sandiford  <rdsandiford@googlemail.com>
13         PR gas/12915
14         * config/tc-mips.c (append_insn): Only consider hazards between the
15         pre-noreorder block and ip.
17 2011-06-21  Sameera Deshpande  <sameera.deshpande@arm.com>
19         * config/tc-arm.c (vfp_conv): Add check on range of immediate operand
20         in vcvt instruction between floating-point and fixed-point.
21         (operand_parse_code): Add "OP_oI32z".
22         (parse_operands): OP_oI32z case added.
24 2011-06-20  H.J. Lu  <hongjiu.lu@intel.com>
26         * configure.tgt: Revert x32 change.
28 2011-06-20  Nick Clifton  <nickc@redhat.com>
30         * doc/Makefile.am: (CPU_DOCS): Add c-xstormy16.texi.
31         * doc/Makefile.in: Regenerate.
32         * doc/all.texi: Set XSTORMY16.
33         * doc/c-xstormy16.texi: New file.
35 2011-06-19  H.J. Lu  <hongjiu.lu@intel.com>
37         * configure.tgt: Support x32.
39 2011-06-15  Nick Clifton  <nickc@redhat.com>
41         * NEWS: Mention addition of TILEPRO and TIKE-Gx support.
43 2011-06-14  Tristan Gingold  <gingold@adacore.com>
45         * config/tc-ppc.h (struct ppc_tc_sy): Complete comment on within.
46         (tc_new_dot_label): Define.
47         (ppc_new_dot_label): Declare.
48         * config/tc-ppc.c (ppc_frob_label): Set within target field.
49         (ppc_fix_adjustable): Use this field to adjust the reloc.
50         (ppc_new_dot_label): New function.
52 2011-06-14  Alan Modra  <amodra@gmail.com>
54         * po/POTFILES.in: Regenerate.
56 2011-06-13  Walter Lee  <walt@tilera.com>
58         * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tilegx.c and
59         config/tc-tilepro.c.
60         (TARGET_CPU_HFILES): Add config/tc-tilegx.h and
61         config/tc-tilepro.h.
62         * Makefile.in: Regenerate.
63         * configure.tgt (tilepro-*-*): New.
64         (tilegx-*-*): Likewise.
65         * config/tc-tilegx.c: New file.
66         * config/tc-tilegx.h: Likewise.
67         * config/tc-tilepro.h: Likewise.
68         * config/tc-tilepro.c: Likewise.
69         * doc/Makefile.am (CPU_DOCS): Add c-tilegx.texi and
70         c-tilepro.texi.
71         * doc/Makefile.in: Regenerate.
72         * doc/all.texi (TILEGX): Define.
73         (TILEPRO): Define.
74         * doc/as.texinfo: Add Tile-Gx and TILEPro documentation.  Include
75         c-tilegx.texi and c-tilepro.texi.
76         * doc/c-tilegx.texi: New.
77         * doc/c-tilepro.texi: New.
79 2011-06-13  Nick Clifton  <nickc@redhat.com>
81         PR gas/12854
82         * config/tc-arm.c (do_shift): Do not allow shift operations at the
83         end of a register based shift insn.
84         (do_t_shift): Likewise.
86 2011-06-13  Nick Clifton  <nickc@redhat.com>
88         * config/tc-score.c (s3_my_get_expression): Delete unused local
89         variable 'seg'.
90         (s3_do_ldst_insn): Delete unused local variable 'strbak'.
91         (s3_do16_ldst_insn): Delete unused local variable 'temp'.
92         (s3_do_macro_bcmp): Zero inst_expand array.
93         (s3_do_macro_bcmpz): Likewise.
94         (s3_s_score_end): Delete unused local variable 'dot'.
95         (s3_gen_reloc): Delete unused local variables 'f', 's', and 'e'.
96         * config/tc-score7.c (s7_my_get_expression): Delete unused local
97         variable 'seg'.
98         (s7_do_ldst_insn): Delete unused local variable 'strbak'.
99         (s7_b32_relax_to_b16): Delete unused local variables 'r_old' and
100         'r_new'.
101         (s7_s_score_end): Delete unused local variable 'dot'.
102         (s7_relax_frag): Delete unused local variable 'relax_size'.
103         (s7_gen_reloc): Delete unused local variables 'f', 's', and 'e'.
105 2011-06-10  H.J. Lu  <hongjiu.lu@intel.com>
107         AVX Programming Reference (June, 2011)
108         * config/tc-i386.c (i386_error): Add invalid_vsib_address and
109         unsupported_vector_index_register.
110         (cpu_arch): Add .avx2, .bmi2, .lzcnt and .invpcid.
111         (check_VecOperands): New.
112         (match_template): Call check_VecOperands.  Handle
113         invalid_vsib_address and unsupported_vector_index_register.
114         (build_modrm_byte): Support VecSIB.  Check register-only source
115         operand when two source operands are swapped.
116         (i386_index_check): Allow Xmm/Ymm index registers.
118         * doc/c-i386.texi: Document avx2/.avx2, bmi2/.bmi2, lzcnt/.lzcnt
119         and invpcid./invpcid.
121 2011-06-09  Nick Clifton  <nickc@redhat.com>
123         PR gas/12861
124         * config/tc-cr16.c (tc_gen_reloc): Remove unused local variable
125         code.
126         (check_cinv_options): Remove unused local variables.  Make
127         function void.
128         (md_assemble): Remove unused local variable.
130 2011-06-09  James Greenhalgh  <james.greenhalgh@arm.com>
132         * config/tc-arm.c (do_ldrd): Warn in unpredictable cases.
134 2011-06-03  Arnaud Patard  <arnaud.patard@rtp-net.org>
136         PR gas/12698
137         * config/tc-arm.c (parse_psr): Set m_profile to false when
138         assembling for any architecture.
140 2011-06-02  Jie Zhang jie@codesourcery.com
141             Nathan Sidwell nathan@codesourcery.com
143         * config/tc-arm.c (parse_address_main): Handle -0 offsets.
144         (encode_arm_addr_mode_2): Set default sign of zero here ...
145         (encode_arm_addr_mode_3): ... and here.
146         (encode_arm_cp_address): ... and here.
147         (md_apply_fix): Use default sign of zero here.
149 2011-06-02  Nick Clifton  <nickc@redhat.com>
151         * as.c: Fix spelling typo.
152         * read.c: Likewise.
153         * config/tc-ppc.c: Likewise.
154         * po/gas.pit: Regenerate.
156 2011-05-31  Paul Brook  <paul@codesourcery.com>
158         * config/tc-arm.c (arm_cpus): Add Cortex-R5.
159         (arm_extensions): Allow idiv on ARMv7-R.
160         * doc/c-arm.text: Update idiv extension restrictions.
162 2011-05-31  Paul Brook  <paul@codesourcery.com>
164         * config/tc-arm.c (arm_force_relocation): Resolve all pc-relative
165         loads.
167 2011-05-31  Paul Brook  <paul@codesourcery.com>
169         * config/tc-arm.c (do_t_branch): Avoid relaxing branches to constant
170         addresses.
172 2011-05-31  Paul Brook  <paul@codesourcery.com>
173         Nathan Sidwell  <nathan@codesourcery.com>
175         * config/tc-arm.c (fix_new_arm): Create an absolute symbol for
176         pc-relative fixes to constants.
177         * config/tc-arm.h (TC_FORCE_RELOCATATION_ABS): Define.
179 2011-05-27  Nick Clifton  <nickc@redhat.com>
181         * config/tc-s390.c (md_begin): Remove unused variable dup_insn.
183 2011-05-24  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
185         * config/tc-s390.c (md_gather_operands): Fix check for floating
186         register pair operands.
188 2011-05-24  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
190         * config/tc-s390.c (md_gather_operands): Emit an error for odd
191         numbered registers used as register pair operand.
193 2011-05-23  Nick Clifton  <nickc@redhat.com>
195         * config/tc-v850.h (TC_FX_SIZE_SLACK): Define.
197 2011-05-20  Bernd Schmidt  <bernds@codesourcery.com>
199         * config/tc-tic6x.c (tic6x_operators): Add "pcr_offset".
200         (tic6x_parse_name): Handle it.
201         (tic6x_fix_new_exp): Handle O_pcr_offset.
202         (tic6x_fix_adjustable): Return 0 for the new relocs.
203         (md_apply_fix): Handle them.
204         (tc_gen_reloc): Likewise.
205         * config/tc-tic6x.h (tic6x_fix_info): Add a fix_subsy member.
207 2011-05-18  Nick Clifton  <nickc@redhat.com>
209         PR gas/12754
210         * config/tc-tic30.c (ordinal_names): Allow translation of the
211         ordinal names.
213 2011-05-18  Nick Clifton  <nickc@redhat.com>
215         * config/tc-arm.c (s_unreq): Reword warning message to make it
216         easier to translate.
217         * config/tc-ia64.c (md_show_usage): Add note for translators.
218         * configure.in (ALL_LINGUAS): Add "fi".
219         * configure: Regenerate.
221 2011-05-18  Tristan Gingold  <gingold@adacore.com>
223         * config/tc-ppc.h (ppc_tc_sy): Reorder fields.
224         Put size into an union with dw.
225         (OBJ_COPY_SYMBOL_ATTRIBUTES): Adjust.
226         (ppc_xcoff_end): Declare.
227         (md_end): Define.
228         * config/tc-ppc.c: Add includes for xcoff.
229         (ppc_dwsect): New function.
230         (md_pseudo_table): Add dwsect.
231         (struct dw_subsection): New.
232         (dw_sections): New.
233         (ppc_change_debug_section): New function.
234         (ppc_xcoff_end): Ditto.
235         (ppc_function): Adjust for ppc_tc_sy.
236         (ppc_symbol_new_hook): Ditto.
237         (ppc_frob_symbol): Ditto.
238         (ppc_frob_section): Do not set vma for debug sections.
239         (ppc_fix_adjustable): Return true for debug sections.
240         * config/obj-coff.c: Add includes for xcoff.
241         (coff_frob_section): Handle dwarf section.
243 2011-05-17  Nick Clifton  <nickc@redhat.com>
245         * po/fi.po: New Finnish translation.
246         * po/fr.po: Updated French translation.
248         * config/tc-m32r.c (md_show_usage): Fix typos in descriptions.
249         * config/tc-mt.c (md_assemble): Fix typos in warning messages.
250         * cond.c (s_else): Fix typos in error messages.
251         * config/tc-pj.c (md_assemble): Fix typo in error message.
253 2011-05-16  Hans-Peter Nilsson  <hp@axis.com>
255         * config/tc-cris.c (md_parse_option) <OPTION_PIC>: Error if not
256         emitting ELF object.
257         (md_show_usage): Only mention --pic if the assembler can generate
258         ELF objects.
259         * doc/c-cris.texi (CRIS-Opt): Mention that generating ELF is a
260         prerequisite for --pic being a valid option.
262 2011-05-13  Frederic Marchal  <fmarchal@perso.be>
264         PR gas/12755
265         * config/tc-v850.c (parse_register_list): Correct error string.
267 2011-05-12  Quentin Neill  <quentin.neill@amd.com>
269         * config/tc-i386.c (cpu_arch): Rename PROCESSOR_BDVER1 to PROCESSOR_BD.
270         (i386_align_code): Ditto
272 2011-05-12  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
274         PR gas/12715
275         * config/tc-arm.c (parse_big_immediate):  Fix parsing of 64-bit
276         immediates on 32-bit hosts.
278 2011-05-10  Quentin Neill  <quentin.neill@amd.com>
280         * config/tc-i386.c (cpu_arch): Add bdver2 and rename
281         PROCESSOR_BDVER1 to PROCESSOR_BDVER.
282         (i386_align_code): Rename PROCESSOR_BDVER1.
283         (processor_type): Ditto.
284         * doc/c-i386.texi: Add bdver2.
286 2011-05-10  Alan Modra  <amodra@gmail.com>
288         * dw2gencfi.c (tc_cfi_endproc): Avoid "set but not used" error.
290 2011-05-09  Paul Brook  <paul@codesourcery.com>
292         * config/tc-tic6x.c (streq): Define.
293         (tic6x_get_unwind): New.
294         (s_tic6x_cantunwind, s_tic6x_handlerdata, s_tic6x_endp,
295         s_tic6x_personalityindex, s_tic6x_personality): New functions.
296         (md_pseudo_table): Add "endp", "handlerdata", "personalityindex",
297         "personality" and "cantunwind".
298         (tic6x_regname_to_dw2regnum, tic6x_frame_initial_instructions,
299         tic6x_start_unwind_section, tic6x_unwind_frame_regs,
300         tic6x_pop_rts_offset_little, tic6x_pop_rts_offset_big,
301         tic6x_unwind_reg_from_dwarf, tic6x_flush_unwind_word,
302         tic6x_unwind_byte, tic6x_unwind_2byte, tic6x_unwind_uleb,
303         tic6x_cfi_startproc, output_exidx_entry, tic6x_output_unwinding,
304         tic6x_cfi_endproc): New.
305         * config/tc-tic6x.h (TIC6X_NUM_UNWIND_REGS): Define.
306         (tic6x_unwind_info): New.
307         (tic6x_segment_info_type): Add marked_pr_dependency, unwind and
308         text_unwind.
309         (TARGET_USE_CFIPOP, tc_regname_to_dw2regnum,
310         tc_cfi_frame_initial_instructions, DWARF2_DEFAULT_RETURN_COLUMN,
311         DWARF2_CIE_DATA_ALIGNMENT, tc_cfi_startproc, tc_cfi_endproc,
312         tc_cfi_section_name): Define.
313         * doc/c-tic6x.texi: Document new unwinding directives.
314         * dw2gencfi.c (tc_cfi_startproc, tc_cfi_endproc): Add default
315         definitions.
316         (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset, CFI_return_column,
317         CFI_rel_offset, CFI_escape, CFI_signal_frame, CFI_val_encoded_addr):
318         Move to dw2gencfi.h.
319         (CFI_EMIT_target): Define.
320         (dot_cfi_sections): Check tc_cfi_section_name.
321         (dot_cfi_startproc): Use tc_cfi_startproc.
322         (dot_cfi_endproc): Use tc_cfi_endproc.
323         * dw2gencfi.h (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset,
324         CFI_return_column, CFI_rel_offset, CFI_escape, CFI_signal_frame,
325         CFI_val_encoded_addr):  Move to here from dw2gencfi.c.
327 2011-05-07  Alan Modra  <amodra@gmail.com>
329         * dw2gencfi.c (CUR_SEG, SET_CUR_SEG, HANDLED, SET_HANDLED): Define.
330         Use throughout in place of #if SUPPORT_FRAME_LINKONCE.
331         (struct fde_entry): Rename cseg to cur_seg.
332         (cfi_change_reg_numbers): Remove ATTRIBUTE_UNUSED.
333         (get_cfi_seg): Likewise.  Use if (SUPPORT_FRAME_LINKONCE) rather
334         that #if SUPPORT_FRAME_LINKONCE.
335         (cfi_finish): Likewise.
337 2011-05-06  Tristan Gingold  <gingold@adacore.com>
339         * read.c (s_comm_internal): Remove code for OBJ_VMS.
340         (s_data): Ditto.
341         (s_text): Ditto.
342         * write.c (write_object_file): Ditto.
343         * symbols.c (define_sym_at_dot): Ditto.
344         (colon): Ditto.
346 2011-05-05  Alan Modra  <amodra@gmail.com>
348         * dw2gencfi.c (SUPPORT_FRAME_LINKONCE): Define.  Use throughout
349         file to conditionally compile code added 2011-04-26.
350         (cfi_change_reg_numbers): Add ATTRIBUTE_UNUSED on params only used
351         when SUPPORT_FRAME_LINKONCE.
352         (get_cfi_seg): Likewise.  Reintroduce old code for when not
353         SUPPORT_FRAME_LINKONCE.
354         (cfi_finish): Move get_cfi_seg calls out of loop when not
355         SUPPORT_FRAME_LINKONCE.  Avoid unused var warning.
357 2011-05-03  Paul Brook  <paul@codesourcery.com>
359         * config/tc-tic6x.c (s_ehtype): New function.
360         (md_pseudo_table): Add "ehtype".
361         (tic6x_fix_adjustable, md_apply_fix): BFD_RELOC_C6000_EHTYPE.
362         * doc/c-tic6x.texi: Document .ehtype directive.
364 2011-04-26  Kai Tietz  <ktietz@redhat.com>
366         * dw2gencfi.c (dwcfi_seg_list): New struct.
367         (dwcfi_hash): New static hash variable.
368         (get_debugseg_name): New.
369         (alloc_debugseg_item): New.
370         (make_debug_seg): New.
371         (dwcfi_hash_insert): New.
372         (dwcfi_hash_find): New.
373         (dwcfi_hash_find_or_make): New.
374         (cfi_insn_data): New member cur_seg.
375         (cie_entry): Likewise.
376         (fde_entry): New cseg and handled members.
377         (alloc_fde_entry): Initialize cseg member.
378         (alloc_cfi_insn_data): Initialize cur_seg member.
379         (dot_cfi_sections): Compare for beginning of
380         section names via strncmp.
381         (get_cfi_seg): New.
382         (cfi_finish): Treat link-once sections.
383         (is_now_linkonce_segment): New local helper.
384         (output_cie): Ignore cie entries not member of current
385         segment.
386         (output_fde): Likewise.
387         (select_cie_for_fde): Likewise.
388         (cfi_change_reg_numbers): Add new argument for current segment
389         and ignore insn elements, if not part of current segment.
390         * ehopt.c (get_cie_info): Use strncmp for
391         section name matching.
392         (heck_eh_frame): Likewise.
394 2011-04-20  Catherine Moore  <clm@codesourcery.com>
395             David Ung <davidu@mips.com>
397         * config/mips.c (mips_cl_insn): Add new field complete_p.
398         (create_insn): Initialize complete_p to zero.
399         (BASE_REG_EQ): New.
400         (fix_24k_align_to): New.
401         (fix_24k_store_info): Declare.
402         (fix_24k_sort): New.
403         (fix_24k_record_store_info): New.
404         (nops_for_24k): New.
405         (nops_for_insn): Call nops_for_24k.
406         (append_insn): Move O_constant expression handling.
408 2011-04-20  Alan Modra  <amodra@gmail.com>
410         * hash.c (set_gas_hash_table_size): Use bfd_hash_set_default_size.
411         (hash_new_sized): New function, split out from..
412         (hash_new): ..here.
414 2011-04-19  Nick Clifton  <nickc@redhat.com>
416         * config/tc-arm.c (v7m_psrs): Revert previous delta.
418 2011-04-18  Julian Brown  <julian@codesourcery.com>
419             Nick Clifton  <nickc@redhat.com>
421         * config/tc-arm.c (parse_psr): Use selected_cpu not cpu_variant to
422         detect M-profile targets.
423         (do_t_swi): Exclude v7 and higher variants from arm_ext_os test.
424         (v7m_psrs): Fix typo: basepri_max should be basepri_mask.
426 2011-04-14  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
428         * config/tc-s390.c (s390_machine): New prototype.
429         (md_pseudo_table): New pseudo-op .machine.
430         (s390_opcode_hash): Initialize to NULL.
431         (s390_parse_cpu): New function.
432         (md_parse_option): Use s390_parse_cpu.
433         (s390_setup_opcodes): New function.
434         (md_begin): Use s390_setup_opcodes.
435         (s390_machine): New hook handling the new .machine pseudo.
437         * doc/c-s390.texi: Document the new pseudo op .machine.
439 2011-04-12  H.J. Lu  <hongjiu.lu@intel.com>
441         * config/tc-i386.c (i386_mach): Start error message with lower
442         case.
443         (md_begin): Likewise.
444         (md_parse_option): Likewise.
445         (i386_target_format): Likewise.
446         (check_byte_reg): Likewise.
447         (check_long_reg): Likewise.
448         (check_qword_reg): Likewise.
449         (check_word_reg): Likewise.
451 2011-04-12  Nick Clifton  <nickc@redhat.com>
453         PR gas/12532
454         * config/tc-arm.c (relax_branch): Do not relax branches to
455         preemptable global symbols.
457 2011-04-11  Julian Brown  <julian@codesourcery.com>
459         * config/tc-arm.c (parse_psr): Add LHS argument. Improve support
460         for *APSR bitmasks.
461         (operand_parse_code): Replace OP_PSR with OP_wPSR and OP_rPSR.
462         Remove OP_RVC_PSR.
463         (parse_operands): Likewise.
464         (do_mrs): Tweak error message for constraint.
465         (do_t_mrs): Update constraints for changes to APSR support.
466         (do_t_msr): Likewise. Don't set PSR_f flag here.
467         (psrs): Remove "g", "nzcvq", "nzcvqg".
468         (insns): Tweak entries for msr and mrs instructions.
470 2011-04-11  Kai Tietz  <ktietz@redhat.com>
472         * config/tc-i386.c (x86_cons): Initialize adjust with zero.
474 2011-04-11  Nick Clifton  <nickc@redhat.com>
476         * config/tc-i386.c (x86_cons): Define even for non-ELF targets.
477         * config/tc-i386.h (x86_cons): Always prototype.
479         * config/tc-cr16.c (getprocregp_image): Fix type of 'r' parameter
480         in order to avoid a compile time warning.
481         (getprocreg_image): Likewise.
483 2011-04-11  Alan Modra  <amodra@gmail.com>
485         * config/tc-cr16.c (getprocreg_image): Correct range check.
486         (getprocregp_image): Likewise.
488 2011-04-06  Joseph Myers  <joseph@codesourcery.com>
490         * configure.tgt (strongarm*be, strongarm*b, strongarm*,
491         xscale*be|xscale*b, xscale*): Remove architectures.
492         (thumb-*-coff, thumb-*-rtems*, thumb-*-elf, thumb-epoc-pe,
493         thumb-*-pe, xscale-*-coff, xscale-*-elf): Remove targets.
495 2011-04-01  Tristan Gingold  <gingold@adacore.com>
497         * config/tc-ia64.c (md_apply_fix): Add a cast to avoid a warning.
499 2011-03-31  Bernd Schmidt  <bernds@codesourcery.com>
501         * config/tc-tic6x.c (sbss_section, scom_section, scom_symbol): New
502         static variables.
503         (md_begin): Initialize them.
504         (s_tic6x_scomm): New static function.
505         (md_pseudo_table): Add "scomm".
506         (tc_gen_reloc): Really undo all adjustments made by
507         bfd_install_relocation.
508         * doc/c-tic6x.texi: Document the .scomm directive.
510 2011-03-31  Tristan Gingold  <gingold@adacore.com>
512         * dwarf2dbg.c (DWARF2_VERSION): Define.
513         (out_debug_line): Use it.
514         (out_debug_aranges): Ditto.
515         (out_debug_info): Ditto.
516         * config/tc-ia64.h (DWARF2_VERSION): Override it.
518 2011-03-30  Michael Snyder  <msnyder@vmware.com>
520         * obj-elf.c (obj_elf_section): Free malloced name.
521         * macro.c (get_any_string): Free malloced br_buf.
522         (do_formals): Free 'formal'.
524 2011-03-30  Tristan Gingold  <gingold@adacore.com>
526         * config/tc-ppc.c (ppc_frob_symbol): Convert stsym symbols value
527         to offset only if within is set.
528         (ppc_stabx): Reformat.  For stsym stabs, add a check and set
529         within only for symbols.
531 2011-03-29  Richard Henderson  <rth@redhat.com>
533         PR 12610
534         * config/tc-alpha.c (s_alpha_align): Don't auto-align a previous
535         label; zap alpha_insn_label.
537 2011-03-29  H.J. Lu  <hongjiu.lu@intel.com>
539         * config/tc-i386.c (handle_quad): Properly handle multiple
540         operands.
542 2011-03-29  Mike Frysinger  <vapier@gentoo.org>
544         * config/bfin-parse.y (BYTEUNPACK): Return yyerror when dest
545         reg $2 is the same as dest reg $4.
547 2011-03-29  Mike Frysinger  <vapier@gentoo.org>
549         * config/bfin-parse.y (BYTEOP16M): Return yyerror when dest
550         reg $2 is the same as dest reg $4.
552 2011-03-29  Mike Frysinger  <vapier@gentoo.org>
554         * config/bfin-parse.y (BYTEOP16P): Return yyerror when dest
555         reg $2 is the same as dest reg $4.
557 2011-03-28  Mike Frysinger  <vapier@gentoo.org>
559         * config/bfin-parse.y (16bit acc add): Return yyerror when dest
560         reg $1 is the same as dest reg $7.
562 2011-03-28  H.J. Lu  <hongjiu.lu@intel.com>
564         * config/tc-i386.c (handle_quad): New.
565         (md_pseudo_table): Add "quad".
567 2011-03-26  John Marino  <binutils@marino.st>
569         * configure.tgt: Fix support for *-*-dragonfly*.
570         * config/tc-i386.c: define SVR4_COMMENT_CHARS for dragonfly.
571         * config/te-dragonfly.h: New file.
573 2011-03-24  Eric B. Weddington  <eric.weddington@atmel.com>
575         * config/tc-avr.c (mcu_types): Add new devices: atmega325pa,
576         atmega3250pa, atmega3290pa, atmega16hvbrevb, atmega32hvbrevb,
577         at90pwm161.
578         * doc/c-avr.texi: Document new device names.
580 2011-03-24  Mike Frysinger  <vapier@gentoo.org>
582         * config/bfin-parse.y (dual 32bit add/sub): Return yyerror when dest
583         reg $1 is the same as dest reg $7.
584         (quad 16bit add/sub): Return yyerror when dest reg $1 is the same as
585         dest reg $7.
587 2011-03-24  Mike Frysinger  <vapier@gentoo.org>
589         * config/bfin-parse.y (check_macfuncs): Clarify error message when
590         P is mismatched.  Check destination regno are off by one when P is
591         set, or are equal when P is not set.
593 2011-03-23  Mike Frysinger  <vapier@gentoo.org>
595         * config/bfin-parse.y (SEARCH): Return yyerror when dest reg $2 is
596         the same as dest reg $4.
597         (BITMUX): Return yyerror when dest reg $3 is the same as dest reg $5.
599 2011-03-23  Eric B. Weddington  <eric.weddington@atmel.com>
601         * config/tc-avr.c (mcu_types): Add new xmega devices: atxmega64a1u,
602         atxmega128a1u, atxmega16x1, atxmega32x1, atxmega128b1, atxmega256a3bu.
603         * doc/c-avr.texi: Document new device names.
605 2011-03-22  Eric B. Weddington  <eric.weddington@atmel.com>
607         * config/tc-avr.c (struct avr_opcodes_s): Add opcode field.
608         (AVR_INSN): Change definition to match.
609         (avr_opcodes): Likewise, change to match.
610         (mcu_types): Add XMEGA architecture names and new XMEGA device names.
611         (md_show_usage): Add XMEGA architecture names.
612         (avr_operand): Add 'E' constraint for DES instruction of XMEGA devices.
613         Add support for SPM Z+ instruction.
614         * doc/c-avr.texi: Add documentation for XMEGA architectures and
615         devices.
617 2011-03-21  Eric B. Weddington  <eric.weddington@atmel.com>
619         * config/tc-avr.c (md_show_usage): Add "Assembler" text to output.
621 2011-03-18  Alan Modra  <amodra@gmail.com>
623         * config/obj-elf.c (elf_frob_symbol): Report S_SET_SIZE symbol
624         on .size expression errors rather than symbols in the size expression.
626 2011-03-18  Alan Modra  <amodra@gmail.com>
628         * input-scrub.c (line_numberT): Delete.
629         (input_scrub_close): Reset line counters.
630         * messages.c (as_show_where): Don't print invalid line number.
631         (as_warn_internal, as_bad_internal): Likewise.
633 2011-03-18  Alan Modra  <amodra@gmail.com>
635         * read.c (read_a_source_file): Remove md_after_pass_hook.
636         Move "quit" label before set of dot_symbol.
637         * config/tc-d10v.h (md_after_pass_hook): Don't define.
638         * config/tc-d30v.h (md_after_pass_hook): Likewise.
639         * config/tc-m32r.h (md_after_pass_hook): Likewise.
640         (md_cleanup): Define to call m32r_fill_insn.
642 2011-03-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
644         * config/tc-s390.c (md_parse_option): Add -march=all option which
645         switches to the highest available CPU.
647 2011-03-17  Alan Modra  <amodra@gmail.com>
649         PR 12569
650         * expr.c (operand): Correct passing of "mode" to expr.
651         * read.c (do_org): Allow expr_section.
652         (get_known_segmented_expression): Don't assert anything about the
653         segment.
655 2011-03-16  H.J. Lu  <hongjiu.lu@intel.com>
657         * as.c (show_usage): Add --size-check=.
658         (parse_args): Add and handle OPTION_SIZE_CHECK.
660         * as.h (flag_size_check): New.
662         * config/obj-elf.c (elf_frob_symbol): Use as_bad to report
663         bad .size directive only for --size-check=error.
665         * doc/as.texinfo: Document --size-check=.
667 2011-03-14  Mike Frysinger  <vapier@gentoo.org>
669         * config/tc-bfin.c (bfin_cpus[]): Add 0.4 for
670         bf542/bf544/bf547/bf548/bf549.
672 2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
674         * config/tc-arm.c (md_pcrel_from_section): Use S_FORCE_RELOC to
675         determine whether a relocation is needed.
676         (md_apply_fix, arm_apply_sym_value): Likewise.
678 2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
680         * config/tc-arm.c (arm_adjust_symtab): Set the branch type
681         for Thumb symbols.
683 2011-03-11  Nick Clifton  <nickc@redhat.com>
685         * remap.c (remap_debug_filename): Always allocate a buffer for the
686         returned pointer.
687         * stabs.c (stabs_generate_asm_file): Free the pointer returned by
688         remap_debug_filename.
690 2011-03-10  Michael Snyder  <msnyder@vmware.com>
692         Revert the following change:
693         * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
694         (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
696 2011-03-10  Alan Modra  <amodra@gmail.com>
698         * gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS,
699         TARGET_SYMBOL_FIELDS): Don't define.
700         * gas/config/tc-arc.c (arc_common): Use correct symbol "local" field.
702 2011-03-09  Michael Snyder  <msnyder@vmware.com>
704         * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
705         (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
706         (emit_fixed_inc_line_addr): Assign instead of conditional in
707         assert.
709 2011-03-05  H.J. Lu  <hongjiu.lu@intel.com>
711         * config/obj-elf.c (elf_frob_symbol): Mention symbol name in
712         non-constant .size expression.
714 2011-03-02  Nick Clifton  <nickc@redhat.com>
716         * ecoff.c: Incldue filenames.h
718 2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
720         * depend.c (register_dependency): Use filename_(n)cmp.
721         * dwarf2dbg.c (get_filenum): Likewise.
722         * ecoff.c (add_file): Likewise.
723         (ecoff_generate_asm_lineno): Likewise.
724         * input-scrub.c (new_logical_line_flags): Likewise.
725         * listing.c (file_info): Likewise.
726         (listing_newline): Likewise.
727         * remap.c (remap_debug_filename): Likewise.
728         * stabs.c (generate_asm_file): Likewise.
729         (stabs_generate_asm_lineno): Likewise.
731 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
733         * config/tc-mips.c (append_insn): Disable branch relaxation for
734         DSP instructions.
736 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
738         * config/tc-mips.c (macro): Handle M_PREF_AB.
740 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
742         * config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary
743         register to use.
744         (RELAX_BRANCH_UNCOND): Adjust accordingly.
745         (RELAX_BRANCH_LIKELY): Likewise.
746         (RELAX_BRANCH_LINK): Likewise.
747         (RELAX_BRANCH_TOOFAR): Likewise.
748         (RELAX_BRANCH_AT): New macro.
749         (append_insn): Encode the temporary register to use in standard
750         MIPS branch relaxation.
751         (relaxed_branch_length): Update according to changes to
752         RELAX_BRANCH_ENCODE.
753         (md_convert_frag): Use the encoded register as the temporary.
755 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
757         * config/tc-mips.c (mips_fix_adjustable): On REL targets also
758         reject PC-relative relocations.
760 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
762         * config/tc-mips.c (md_convert_frag): Correct message
763         capitalization.
765 2011-02-28  Alan Modra  <amodra@gmail.com>
767         * symbols.c (report_op_error): Remove unnecessary forward declaration.
768         Add "op" parameter.  Report operator and operand segments in error
769         message, not operand symbols.
770         (resolve_symbol_value): Always set segment for equated symbols, not
771         just when finalizing.  Adjust report_op_error calls.
773 2011-02-25  H.J. Lu  <hongjiu.lu@intel.com>
775         * config/tc-i386.c (reloc): Don't sign-check 4-byte relocations
776         if 64bit relocations aren't allowed.
778 2011-02-25  Alan Modra  <amodra@gmail.com>
780         PR gas/12519
781         * config/obj-elf.c (elf_frob_symbol): Properly handle size expression.
783 2011-02-21  Maciej W. Rozycki  <macro@codesourcery.com>
785         * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate
786         initialization of offset_reloc.
788 2011-02-15  Richard Henderson  <rth@redhat.com>
790         * dw2gencfi.c (dot_cfi_dummy): New.
791         (cfi_pseudo_table) [!TARGET_USE_CFIPOP]: New.
792         * read.c (pobegin): Unconditionally call cfi_pop_insert.
794 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
796         * configure: Regenerate.
798 2011-02-13  Mike Frysinger  <vapier@gentoo.org>
800         * config/bfin-lex.l (BYTEOP2M): Remove tokenization.
801         * config/bfin-parse.y (BYTEOP2M): Delete token.
802         (asm_1): Remove BYTEOP2M insn matching.
804 2011-02-12  Mike Frysinger  <vapier@gentoo.org>
806         * config/bfin-defs.h: Include opcode/bfin.h.
807         (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH, M_IU): Delete.
809 2011-02-11  Mike Frysinger  <vapier@gentoo.org>
811         * doc/c-bfin.texi (Instruction Delimiting): Fix occur typo.
812         (Modify Registers): Fix subtracted typo.
813         (.byte2): Extend and swap descriptions with .byte4.
814         (.byte4): Extend and swap descriptions with .byte2.
815         (.db, .dw, .dd): Document behavior.
817 2011-02-11  Mike Frysinger  <vapier@gentoo.org>
819         * config/bfin-parse.y (TESTSET): Reject REG_SP and REG_FP.
821 2011-02-11  Alan Modra  <amodra@gmail.com>
823         * doc/c-ppc.texi (PowerPC-Opts <-nops>): Clarify.
825 2011-02-10  Alan Modra  <amodra@gmail.com>
827         * doc/as.texinfo (Overview): Add missing markup around Blackfin
828         and PowerPC options.
830 2011-02-10  Alan Modra  <amodra@gmail.com>
832         * config/tc-ppc.c (md_show_usage): Remove -l and -b.  Add -K PIC.
833         * doc/as.texinfo: Refer to and include c-ppc.texi for PowerPC options.
834         (Overview <Target PowerPC options>): Add a number of missing options.
835         * doc/c-ppc.texi: Likewise.  Add markup for use in manpage generation.
837 2011-02-08  H.J. Lu  <hongjiu.lu@intel.com>
839         PR gas/6957
840         * config/tc-i386.c (i386_align_code): Use f32_patt when tuning
841         for i686.
843 2011-02-08  H.J. Lu  <hongjiu.lu@intel.com>
845         * config/tc-i386.c (set_cpu_arch): Also update cpu_arch_isa_flags
846         for ISA extensions.
847         (md_parse_option): Likewise.
849 2011-02-04  Bernd Schmidt  <bernds@codesourcery.com>
851         * doc/as.texinfo (Target TIC6X options): Don't mention "-matomic".
852         * doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic".
853         (TIC6X Options): Don't mention "-matomic".
854         * config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete.
855         (md_longopts): Remove corresponding entries.
856         (md_parse_option): Don't handle them.
857         (md_show_usage): Don't document them.
858         (tic6x_atomic): Delete variable.
859         (tic6x_update_features): Always copy tic6x_arch_enable to
860         tic6x_features.
861         (tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC.
862         (s_tic6x_atomic, s_tic6x_noatomic): Remove functions.
863         (md_pseudo_table): Remove ".atomic" and ".noatomic".
865 2011-01-31  Nick Clifton  <nickc@redhat.com>
867         * write.c (write_contents): Include output file name and bfd error
868         value when reporting the inability to write to the output file.
869         * config/tc-rx.c (rx_handle_align): Do not insert NOPs into align
870         frag that has a non-zero fill value.
872 2011-01-27  DJ Delorie  <dj@redhat.com>
874         * config/tc-rx.c (md_convert_frag): If we can't compute the target
875         address, zero out the values stored in the object file to make
876         objdump's output consistent.
878 2011-01-26  Kai Tietz  <kai.tietz@onevision.com>
880         * config/tc-i386.c (md_begin): Set for x64 windows COFF target
881         x86_dwarf2_return_column to 32.
883 2011-01-20  Nick Clifton  <nickc@redhat.com>
885         PR gas/12384
886         * config/tc-h8300.c (constant_fits_width_p): Use correct type for
887         comparison.
889 2011-01-18  H.J. Lu  <hongjiu.lu@intel.com>
891         * write.c (compress_debug): Return if section size is smaller
892         than 32 bytes.
894 2011-01-18  H.J. Lu  <hongjiu.lu@intel.com>
896         PR gas/12409
897         * write.c (compress_debug): Return if section size is 0.
899 2011-01-18  Mingfeng Wu  <mingfeng@faraday-tech.com>
901         * config/tc-arm.c (arm_cpus): Add Faraday ARMv5TE compatible
902         cores: fa606te, fa616te, fmp626.  Modify the VFP of fa626te.
903         * doc/c-arm.texi (ARM Options): Add -mcpu={fa606te, fa616te,
904         fmp626} options.
906 2011-01-18  Nick Clifton  <nickc@redhat.com>
908         PR gas/12390
909         * doc/all.texi: Add NS32K
910         * doc/as.texinfo: Remove target specific details of which
911         characters act as comment initiators and statement separators into
912         individual target specific files.
913         * doc/c-alpha.texi (Alpha-Chars): Document special behaviour of
914         the hash character at the start of a line.
915         * doc/c-arm.texi (ARM-Chars): Likewise.
916         * doc/c-avr.texi (AVR-Chars): Likewise.
917         * doc/c-d10v.texi (D10V-Chars): Likewise.
918         * doc/c-d30v.texi (D30V-Chars): Likewise.
919         * doc/c-mmix.texi (MMIX-Chars): Likewise.
920         * doc/c-s390.texi (s390 characters): Likewise.
921         * doc/c-sh.texi (SH-Chars): Likewise.
922         * doc/c-sh64.texi (SH64-Chars): Likewise.
923         * doc/c-sparc.texi (SPARC-Chars): Likewise.
924         * doc/c-tic6x.texi (TIC6X Syntax): Likewise.
925         * doc/c-xtensa.texi (Xtensa Syntax): Likewise.
926         * doc/c-z80.texi (Z80-Chars): Likewise.
927         * doc/c-z8k.texi (Z8000-Chars): Likewise.
928         * doc/c-pdp11.texi (PDP11-Syntax): Document line separator character.
929         * doc/c-arc.texi (ARC-Chars): Fill in this subsection.
930         * doc/c-bfin.texi (Blackfin Syntax): Document line comment and
931         line separator characters.
932         * doc/c-cr16.texi (CR16 Syntax): Likewise.
933         * doc/c-i386.texi (i386-Chars): Likewise.
934         * doc/c-i860.texi (i860-Chars): Likewise.
935         * doc/c-i960.texi (i960-Chars): Likewise.
936         * doc/c-ip2k.texi (IP2K-Chars): Likewise.
937         * doc/c-lm32.texi (LM32-Chars): likewise.
938         * doc/c-m32c.texi (M32C-Chars): Likewise.
939         * doc/c-m68hc11.texi (M68HC11-syntax): Likewise.
940         * doc/c-m68k.texi (M68K-Chars): Likewise.
941         * doc/c-microblaze.texi (MicroBlaze-Chars): Likewise.
942         * doc/c-msp430.texi (MSP430-Chars): Likewise.
943         * doc/c-mt.texi (MT-Chars): Likewise.
944         * doc/c-ns32k.texi (NS32K-Chars): Likewise.
945         * doc/c-pj.texi (PJ-Chars): Likewise.
946         * doc/c-ppc.texi (PowerPC-Chars): Likewise.
947         * doc/c-rx.texi (RX-Chars): Likewise.
948         * doc/c-score.texi (SCORE-Chars): Likewise.
949         * doc/c-tic54x.texi (TIC54X-Chars): Likewise.
950         * doc/c-v850.texi (V850-Chars): Likewise.
951         * doc/c-vax.texi (VAX-Chars): Likewise.
952         * doc/c-xc16x.texi (xc16x-Chars): Likewise.
954 2011-01-17  Quentin Neill  <quentin.neill@amd.com>
956         * config/tc-i386.c (cpu_arch): Add CPU_TBM_FLAGS.
958         * doc/c-i386.texi (i386-TBM): New section.
960 2011-01-16  H.J. Lu  <hongjiu.lu@intel.com>
962         * config/tc-i386.c (disallow_64bit_disp): Renamed to ...
963         (disallow_64bit_reloc): This.
964         (md_assemble): Don't check movabs for x32 mode here.
965         (i386_target_format): Updated.
966         (tc_gen_reloc): Check if 64bit relocations are allowed.
968 2011-01-15  H.J. Lu  <hongjiu.lu@intel.com>
970         * config/tc-i386.c (disallow_64bit_disp): New.
971         (x86_elf_abi): Replace X86_64_LP64_ABI/X86_64_ILP32_ABI with
972         X86_64_ABI/X86_64_X32_ABI.
973         (md_assemble): Don't allow movabs with relocation in x32 mode.
974         (i386_target_format): Updated.
976 2011-01-14  H.J. Lu  <hongjiu.lu@intel.com>
978         * config/tc-i386.c (OPTION_N32): Renamed to ...
979         (OPTION_X32): This.
980         (md_longopts): Replace n32 with x32.
981         (md_parse_option): Updated.
982         (md_show_usage): Likewise.
984         * doc/c-i386.texi: Replace --n32 with --x32.
986 2011-01-11  Mingjie Xing  <mingjie.xing@gmail.com>
988         * config/tc-mips.c (mips_ip): Update error messages.  Take an
989         unadjusted offset for "+c" argument.
991 2011-01-10  Nick Clifton  <nickc@redhat.com>
993         * config/tc-i386.c (x86_elf_abi): Only define for targets that use
994         it.
996 2011-01-10  Nick Clifton  <nickc@redhat.com>
998         * config/tc-arm.c (s_arm_tls_desceq): Move code into ELF-only
999         part of the file.
1001 2011-01-10  Nathan Sidwell  <nathan@codesourcery.com>
1002             Glauber de Oliveira Costa  <glommer@gmail.com>
1004         * doc/c-arm.texi: Document TLSDESC and TLSCALL relocations, and
1005         .tlsdescseq directive.
1006         * config/tc-arm.c (arm_typed_reg_parse): Check for potential reloc
1007         following a symbol.
1008         (s_arm_tls_descseq): New directive.
1009         (md_pseudo_table): Add it.
1010         (encode_branch): Allow TLS_CALL relocs too.
1011         (do_t_blx, do_t_branch23): Use encode_branch.
1012         (reloc_names): Add tlsdesc and tlscall.
1013         (md_apply_fix): Process tls desc relocations.
1014         (tc_gen_reloc): Likewise.
1015         (arm_fix_adjustable): Likewise.
1017 2011-01-07  Quentin Neill  <quentin.neill@amd.com>
1019         * config/tc-i386.c (cpu_arch): Add CPU_BMI_FLAGS.
1021         * doc/c-i386.texi (i386-BMI): New section.
1023 2011-01-06  Paul Koning  <ni1d@arrl.net>
1025         * config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relative
1026         references to absolute addresses.
1028 2011-01-05  DJ Delorie  <dj@redhat.com>
1030         * config/tc-rx.c (tc_gen_reloc): Emit an RX_OP_NEG expression
1031         instead of an RH_NEG32 one.
1033 2011-01-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
1035         * doc/c-i386.texi: Clarify --n32.
1037 2011-01-04  H.J. Lu  <hongjiu.lu@intel.com>
1039         * config/tc-i386.c (build_modrm_byte): Allow encoding 32/64bit
1040         integer registers in VEX.vvvv.  Check register-only source
1041         operand when two source operands are swapped.  Properly update
1042         destination when two source operands are swapped.
1044 2011-01-01  H.J. Lu  <hongjiu.lu@intel.com>
1046         * gas.c (parse_args): Update copyright to 2011.
1048 For older changes see ChangeLog-2010
1050 Local Variables:
1051 mode: change-log
1052 left-margin: 8
1053 fill-column: 74
1054 version-control: never
1055 End: