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