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