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