OSDN Git Service

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