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