Add support for DragonFlyBSD target.
[binutils.git] / gas / ChangeLog
blobe75980951486c0a5f965d36c3b6dd478911fae83
1 2011-03-26  John Marino  <binutils@marino.st>
3         * configure.tgt: Fix support for *-*-dragonfly*.
4         * config/tc-i386.c: define SVR4_COMMENT_CHARS for dragonfly.
5         * config/te-dragonfly.h: New file.
7 2011-03-24  Eric B. Weddington  <eric.weddington@atmel.com>
9         * config/tc-avr.c (mcu_types): Add new devices: atmega325pa,
10         atmega3250pa, atmega3290pa, atmega16hvbrevb, atmega32hvbrevb,
11         at90pwm161.
12         * doc/c-avr.texi: Document new device names.
14 2011-03-24  Mike Frysinger  <vapier@gentoo.org>
16         * config/bfin-parse.y (dual 32bit add/sub): Return yyerror when dest
17         reg $1 is the same as dest reg $7.
18         (quad 16bit add/sub): Return yyerror when dest reg $1 is the same as
19         dest reg $7.
21 2011-03-24  Mike Frysinger  <vapier@gentoo.org>
23         * config/bfin-parse.y (check_macfuncs): Clarify error message when
24         P is mismatched.  Check destination regno are off by one when P is
25         set, or are equal when P is not set.
27 2011-03-23  Mike Frysinger  <vapier@gentoo.org>
29         * config/bfin-parse.y (SEARCH): Return yyerror when dest reg $2 is
30         the same as dest reg $4.
31         (BITMUX): Return yyerror when dest reg $3 is the same as dest reg $5.
33 2011-03-23  Eric B. Weddington  <eric.weddington@atmel.com>
35         * config/tc-avr.c (mcu_types): Add new xmega devices: atxmega64a1u,
36         atxmega128a1u, atxmega16x1, atxmega32x1, atxmega128b1, atxmega256a3bu.
37         * doc/c-avr.texi: Document new device names.
39 2011-03-22  Eric B. Weddington  <eric.weddington@atmel.com>
41         * config/tc-avr.c (struct avr_opcodes_s): Add opcode field.
42         (AVR_INSN): Change definition to match.
43         (avr_opcodes): Likewise, change to match.
44         (mcu_types): Add XMEGA architecture names and new XMEGA device names.
45         (md_show_usage): Add XMEGA architecture names.
46         (avr_operand): Add 'E' constraint for DES instruction of XMEGA devices.
47         Add support for SPM Z+ instruction.
48         * doc/c-avr.texi: Add documentation for XMEGA architectures and
49         devices.
51 2011-03-21  Eric B. Weddington  <eric.weddington@atmel.com>
53         * config/tc-avr.c (md_show_usage): Add "Assembler" text to output.
55 2011-03-18  Alan Modra  <amodra@gmail.com>
57         * config/obj-elf.c (elf_frob_symbol): Report S_SET_SIZE symbol
58         on .size expression errors rather than symbols in the size expression.
60 2011-03-18  Alan Modra  <amodra@gmail.com>
62         * input-scrub.c (line_numberT): Delete.
63         (input_scrub_close): Reset line counters.
64         * messages.c (as_show_where): Don't print invalid line number.
65         (as_warn_internal, as_bad_internal): Likewise.
67 2011-03-18  Alan Modra  <amodra@gmail.com>
69         * read.c (read_a_source_file): Remove md_after_pass_hook.
70         Move "quit" label before set of dot_symbol.
71         * config/tc-d10v.h (md_after_pass_hook): Don't define.
72         * config/tc-d30v.h (md_after_pass_hook): Likewise.
73         * config/tc-m32r.h (md_after_pass_hook): Likewise.
74         (md_cleanup): Define to call m32r_fill_insn.
76 2011-03-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78         * config/tc-s390.c (md_parse_option): Add -march=all option which
79         switches to the highest available CPU.
81 2011-03-17  Alan Modra  <amodra@gmail.com>
83         PR 12569
84         * expr.c (operand): Correct passing of "mode" to expr.
85         * read.c (do_org): Allow expr_section.
86         (get_known_segmented_expression): Don't assert anything about the
87         segment.
89 2011-03-16  H.J. Lu  <hongjiu.lu@intel.com>
91         * as.c (show_usage): Add --size-check=.
92         (parse_args): Add and handle OPTION_SIZE_CHECK.
94         * as.h (flag_size_check): New.
96         * config/obj-elf.c (elf_frob_symbol): Use as_bad to report
97         bad .size directive only for --size-check=error.
99         * doc/as.texinfo: Document --size-check=.
101 2011-03-14  Mike Frysinger  <vapier@gentoo.org>
103         * config/tc-bfin.c (bfin_cpus[]): Add 0.4 for
104         bf542/bf544/bf547/bf548/bf549.
106 2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
108         * config/tc-arm.c (md_pcrel_from_section): Use S_FORCE_RELOC to
109         determine whether a relocation is needed.
110         (md_apply_fix, arm_apply_sym_value): Likewise.
112 2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
114         * config/tc-arm.c (arm_adjust_symtab): Set the branch type
115         for Thumb symbols.
117 2011-03-11  Nick Clifton  <nickc@redhat.com>
119         * remap.c (remap_debug_filename): Always allocate a buffer for the
120         returned pointer.
121         * stabs.c (stabs_generate_asm_file): Free the pointer returned by
122         remap_debug_filename.
124 2011-03-10  Michael Snyder  <msnyder@vmware.com>
126         Revert the following change:
127         * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
128         (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
130 2011-03-10  Alan Modra  <amodra@gmail.com>
132         * gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS,
133         TARGET_SYMBOL_FIELDS): Don't define.
134         * gas/config/tc-arc.c (arc_common): Use correct symbol "local" field.
136 2011-03-09  Michael Snyder  <msnyder@vmware.com>
138         * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
139         (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
140         (emit_fixed_inc_line_addr): Assign instead of conditional in
141         assert.
143 2011-03-05  H.J. Lu  <hongjiu.lu@intel.com>
145         * config/obj-elf.c (elf_frob_symbol): Mention symbol name in
146         non-constant .size expression.
148 2011-03-02  Nick Clifton  <nickc@redhat.com>
150         * ecoff.c: Incldue filenames.h
152 2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
154         * depend.c (register_dependency): Use filename_(n)cmp.
155         * dwarf2dbg.c (get_filenum): Likewise.
156         * ecoff.c (add_file): Likewise.
157         (ecoff_generate_asm_lineno): Likewise.
158         * input-scrub.c (new_logical_line_flags): Likewise.
159         * listing.c (file_info): Likewise.
160         (listing_newline): Likewise.
161         * remap.c (remap_debug_filename): Likewise.
162         * stabs.c (generate_asm_file): Likewise.
163         (stabs_generate_asm_lineno): Likewise.
165 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
167         * config/tc-mips.c (append_insn): Disable branch relaxation for
168         DSP instructions.
170 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
172         * config/tc-mips.c (macro): Handle M_PREF_AB.
174 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
176         * config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary
177         register to use.
178         (RELAX_BRANCH_UNCOND): Adjust accordingly.
179         (RELAX_BRANCH_LIKELY): Likewise.
180         (RELAX_BRANCH_LINK): Likewise.
181         (RELAX_BRANCH_TOOFAR): Likewise.
182         (RELAX_BRANCH_AT): New macro.
183         (append_insn): Encode the temporary register to use in standard
184         MIPS branch relaxation.
185         (relaxed_branch_length): Update according to changes to
186         RELAX_BRANCH_ENCODE.
187         (md_convert_frag): Use the encoded register as the temporary.
189 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
191         * config/tc-mips.c (mips_fix_adjustable): On REL targets also
192         reject PC-relative relocations.
194 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
196         * config/tc-mips.c (md_convert_frag): Correct message
197         capitalization.
199 2011-02-28  Alan Modra  <amodra@gmail.com>
201         * symbols.c (report_op_error): Remove unnecessary forward declaration.
202         Add "op" parameter.  Report operator and operand segments in error
203         message, not operand symbols.
204         (resolve_symbol_value): Always set segment for equated symbols, not
205         just when finalizing.  Adjust report_op_error calls.
207 2011-02-25  H.J. Lu  <hongjiu.lu@intel.com>
209         * config/tc-i386.c (reloc): Don't sign-check 4-byte relocations
210         if 64bit relocations aren't allowed.
212 2011-02-25  Alan Modra  <amodra@gmail.com>
214         PR gas/12519
215         * config/obj-elf.c (elf_frob_symbol): Properly handle size expression.
217 2011-02-21  Maciej W. Rozycki  <macro@codesourcery.com>
219         * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate
220         initialization of offset_reloc.
222 2011-02-15  Richard Henderson  <rth@redhat.com>
224         * dw2gencfi.c (dot_cfi_dummy): New.
225         (cfi_pseudo_table) [!TARGET_USE_CFIPOP]: New.
226         * read.c (pobegin): Unconditionally call cfi_pop_insert.
228 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
230         * configure: Regenerate.
232 2011-02-13  Mike Frysinger  <vapier@gentoo.org>
234         * config/bfin-lex.l (BYTEOP2M): Remove tokenization.
235         * config/bfin-parse.y (BYTEOP2M): Delete token.
236         (asm_1): Remove BYTEOP2M insn matching.
238 2011-02-12  Mike Frysinger  <vapier@gentoo.org>
240         * config/bfin-defs.h: Include opcode/bfin.h.
241         (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH, M_IU): Delete.
243 2011-02-11  Mike Frysinger  <vapier@gentoo.org>
245         * doc/c-bfin.texi (Instruction Delimiting): Fix occur typo.
246         (Modify Registers): Fix subtracted typo.
247         (.byte2): Extend and swap descriptions with .byte4.
248         (.byte4): Extend and swap descriptions with .byte2.
249         (.db, .dw, .dd): Document behavior.
251 2011-02-11  Mike Frysinger  <vapier@gentoo.org>
253         * config/bfin-parse.y (TESTSET): Reject REG_SP and REG_FP.
255 2011-02-11  Alan Modra  <amodra@gmail.com>
257         * doc/c-ppc.texi (PowerPC-Opts <-nops>): Clarify.
259 2011-02-10  Alan Modra  <amodra@gmail.com>
261         * doc/as.texinfo (Overview): Add missing markup around Blackfin
262         and PowerPC options.
264 2011-02-10  Alan Modra  <amodra@gmail.com>
266         * config/tc-ppc.c (md_show_usage): Remove -l and -b.  Add -K PIC.
267         * doc/as.texinfo: Refer to and include c-ppc.texi for PowerPC options.
268         (Overview <Target PowerPC options>): Add a number of missing options.
269         * doc/c-ppc.texi: Likewise.  Add markup for use in manpage generation.
271 2011-02-08  H.J. Lu  <hongjiu.lu@intel.com>
273         PR gas/6957
274         * config/tc-i386.c (i386_align_code): Use f32_patt when tuning
275         for i686.
277 2011-02-08  H.J. Lu  <hongjiu.lu@intel.com>
279         * config/tc-i386.c (set_cpu_arch): Also update cpu_arch_isa_flags
280         for ISA extensions.
281         (md_parse_option): Likewise.
283 2011-02-04  Bernd Schmidt  <bernds@codesourcery.com>
285         * doc/as.texinfo (Target TIC6X options): Don't mention "-matomic".
286         * doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic".
287         (TIC6X Options): Don't mention "-matomic".
288         * config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete.
289         (md_longopts): Remove corresponding entries.
290         (md_parse_option): Don't handle them.
291         (md_show_usage): Don't document them.
292         (tic6x_atomic): Delete variable.
293         (tic6x_update_features): Always copy tic6x_arch_enable to
294         tic6x_features.
295         (tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC.
296         (s_tic6x_atomic, s_tic6x_noatomic): Remove functions.
297         (md_pseudo_table): Remove ".atomic" and ".noatomic".
299 2011-01-31  Nick Clifton  <nickc@redhat.com>
301         * write.c (write_contents): Include output file name and bfd error
302         value when reporting the inability to write to the output file.
303         * config/tc-rx.c (rx_handle_align): Do not insert NOPs into align
304         frag that has a non-zero fill value.
306 2011-01-27  DJ Delorie  <dj@redhat.com>
308         * config/tc-rx.c (md_convert_frag): If we can't compute the target
309         address, zero out the values stored in the object file to make
310         objdump's output consistent.
312 2011-01-26  Kai Tietz  <kai.tietz@onevision.com>
314         * config/tc-i386.c (md_begin): Set for x64 windows COFF target
315         x86_dwarf2_return_column to 32.
317 2011-01-20  Nick Clifton  <nickc@redhat.com>
319         PR gas/12384
320         * config/tc-h8300.c (constant_fits_width_p): Use correct type for
321         comparison.
323 2011-01-18  H.J. Lu  <hongjiu.lu@intel.com>
325         * write.c (compress_debug): Return if section size is smaller
326         than 32 bytes.
328 2011-01-18  H.J. Lu  <hongjiu.lu@intel.com>
330         PR gas/12409
331         * write.c (compress_debug): Return if section size is 0.
333 2011-01-18  Mingfeng Wu  <mingfeng@faraday-tech.com>
335         * config/tc-arm.c (arm_cpus): Add Faraday ARMv5TE compatible
336         cores: fa606te, fa616te, fmp626.  Modify the VFP of fa626te.
337         * doc/c-arm.texi (ARM Options): Add -mcpu={fa606te, fa616te,
338         fmp626} options.
340 2011-01-18  Nick Clifton  <nickc@redhat.com>
342         PR gas/12390
343         * doc/all.texi: Add NS32K
344         * doc/as.texinfo: Remove target specific details of which
345         characters act as comment initiators and statement separators into
346         individual target specific files.
347         * doc/c-alpha.texi (Alpha-Chars): Document special behaviour of
348         the hash character at the start of a line.
349         * doc/c-arm.texi (ARM-Chars): Likewise.
350         * doc/c-avr.texi (AVR-Chars): Likewise.
351         * doc/c-d10v.texi (D10V-Chars): Likewise.
352         * doc/c-d30v.texi (D30V-Chars): Likewise.
353         * doc/c-mmix.texi (MMIX-Chars): Likewise.
354         * doc/c-s390.texi (s390 characters): Likewise.
355         * doc/c-sh.texi (SH-Chars): Likewise.
356         * doc/c-sh64.texi (SH64-Chars): Likewise.
357         * doc/c-sparc.texi (SPARC-Chars): Likewise.
358         * doc/c-tic6x.texi (TIC6X Syntax): Likewise.
359         * doc/c-xtensa.texi (Xtensa Syntax): Likewise.
360         * doc/c-z80.texi (Z80-Chars): Likewise.
361         * doc/c-z8k.texi (Z8000-Chars): Likewise.
362         * doc/c-pdp11.texi (PDP11-Syntax): Document line separator character.
363         * doc/c-arc.texi (ARC-Chars): Fill in this subsection.
364         * doc/c-bfin.texi (Blackfin Syntax): Document line comment and
365         line separator characters.
366         * doc/c-cr16.texi (CR16 Syntax): Likewise.
367         * doc/c-i386.texi (i386-Chars): Likewise.
368         * doc/c-i860.texi (i860-Chars): Likewise.
369         * doc/c-i960.texi (i960-Chars): Likewise.
370         * doc/c-ip2k.texi (IP2K-Chars): Likewise.
371         * doc/c-lm32.texi (LM32-Chars): likewise.
372         * doc/c-m32c.texi (M32C-Chars): Likewise.
373         * doc/c-m68hc11.texi (M68HC11-syntax): Likewise.
374         * doc/c-m68k.texi (M68K-Chars): Likewise.
375         * doc/c-microblaze.texi (MicroBlaze-Chars): Likewise.
376         * doc/c-msp430.texi (MSP430-Chars): Likewise.
377         * doc/c-mt.texi (MT-Chars): Likewise.
378         * doc/c-ns32k.texi (NS32K-Chars): Likewise.
379         * doc/c-pj.texi (PJ-Chars): Likewise.
380         * doc/c-ppc.texi (PowerPC-Chars): Likewise.
381         * doc/c-rx.texi (RX-Chars): Likewise.
382         * doc/c-score.texi (SCORE-Chars): Likewise.
383         * doc/c-tic54x.texi (TIC54X-Chars): Likewise.
384         * doc/c-v850.texi (V850-Chars): Likewise.
385         * doc/c-vax.texi (VAX-Chars): Likewise.
386         * doc/c-xc16x.texi (xc16x-Chars): Likewise.
388 2011-01-17  Quentin Neill  <quentin.neill@amd.com>
390         * config/tc-i386.c (cpu_arch): Add CPU_TBM_FLAGS.
392         * doc/c-i386.texi (i386-TBM): New section.
394 2011-01-16  H.J. Lu  <hongjiu.lu@intel.com>
396         * config/tc-i386.c (disallow_64bit_disp): Renamed to ...
397         (disallow_64bit_reloc): This.
398         (md_assemble): Don't check movabs for x32 mode here.
399         (i386_target_format): Updated.
400         (tc_gen_reloc): Check if 64bit relocations are allowed.
402 2011-01-15  H.J. Lu  <hongjiu.lu@intel.com>
404         * config/tc-i386.c (disallow_64bit_disp): New.
405         (x86_elf_abi): Replace X86_64_LP64_ABI/X86_64_ILP32_ABI with
406         X86_64_ABI/X86_64_X32_ABI.
407         (md_assemble): Don't allow movabs with relocation in x32 mode.
408         (i386_target_format): Updated.
410 2011-01-14  H.J. Lu  <hongjiu.lu@intel.com>
412         * config/tc-i386.c (OPTION_N32): Renamed to ...
413         (OPTION_X32): This.
414         (md_longopts): Replace n32 with x32.
415         (md_parse_option): Updated.
416         (md_show_usage): Likewise.
418         * doc/c-i386.texi: Replace --n32 with --x32.
420 2011-01-11  Mingjie Xing  <mingjie.xing@gmail.com>
422         * config/tc-mips.c (mips_ip): Update error messages.  Take an
423         unadjusted offset for "+c" argument.
425 2011-01-10  Nick Clifton  <nickc@redhat.com>
427         * config/tc-i386.c (x86_elf_abi): Only define for targets that use
428         it.
430 2011-01-10  Nick Clifton  <nickc@redhat.com>
432         * config/tc-arm.c (s_arm_tls_desceq): Move code into ELF-only
433         part of the file.
435 2011-01-10  Nathan Sidwell  <nathan@codesourcery.com>
436             Glauber de Oliveira Costa  <glommer@gmail.com>
438         * doc/c-arm.texi: Document TLSDESC and TLSCALL relocations, and
439         .tlsdescseq directive.
440         * config/tc-arm.c (arm_typed_reg_parse): Check for potential reloc
441         following a symbol.
442         (s_arm_tls_descseq): New directive.
443         (md_pseudo_table): Add it.
444         (encode_branch): Allow TLS_CALL relocs too.
445         (do_t_blx, do_t_branch23): Use encode_branch.
446         (reloc_names): Add tlsdesc and tlscall.
447         (md_apply_fix): Process tls desc relocations.
448         (tc_gen_reloc): Likewise.
449         (arm_fix_adjustable): Likewise.
451 2011-01-07  Quentin Neill  <quentin.neill@amd.com>
453         * config/tc-i386.c (cpu_arch): Add CPU_BMI_FLAGS.
455         * doc/c-i386.texi (i386-BMI): New section.
457 2011-01-06  Paul Koning  <ni1d@arrl.net>
459         * config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relative
460         references to absolute addresses.
462 2011-01-05  DJ Delorie  <dj@redhat.com>
464         * config/tc-rx.c (tc_gen_reloc): Emit an RX_OP_NEG expression
465         instead of an RH_NEG32 one.
467 2011-01-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
469         * doc/c-i386.texi: Clarify --n32.
471 2011-01-04  H.J. Lu  <hongjiu.lu@intel.com>
473         * config/tc-i386.c (build_modrm_byte): Allow encoding 32/64bit
474         integer registers in VEX.vvvv.  Check register-only source
475         operand when two source operands are swapped.  Properly update
476         destination when two source operands are swapped.
478 2011-01-01  H.J. Lu  <hongjiu.lu@intel.com>
480         * gas.c (parse_args): Update copyright to 2011.
482 For older changes see ChangeLog-2010
484 Local Variables:
485 mode: change-log
486 left-margin: 8
487 fill-column: 74
488 version-control: never
489 End: