OSDN Git Service

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