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