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