2011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
[binutils.git] / gas / ChangeLog
blob1155aa26026ab9a7864a21031fadbd97d3fbe654
1 2011-03-21  Eric B. Weddington  <eric.weddington@atmel.com>
3         * config/tc-avr.c (md_show_usage): Add "Assembler" text to output.
5 2011-03-18  Alan Modra  <amodra@gmail.com>
7         * config/obj-elf.c (elf_frob_symbol): Report S_SET_SIZE symbol
8         on .size expression errors rather than symbols in the size expression.
10 2011-03-18  Alan Modra  <amodra@gmail.com>
12         * input-scrub.c (line_numberT): Delete.
13         (input_scrub_close): Reset line counters.
14         * messages.c (as_show_where): Don't print invalid line number.
15         (as_warn_internal, as_bad_internal): Likewise.
17 2011-03-18  Alan Modra  <amodra@gmail.com>
19         * read.c (read_a_source_file): Remove md_after_pass_hook.
20         Move "quit" label before set of dot_symbol.
21         * config/tc-d10v.h (md_after_pass_hook): Don't define.
22         * config/tc-d30v.h (md_after_pass_hook): Likewise.
23         * config/tc-m32r.h (md_after_pass_hook): Likewise.
24         (md_cleanup): Define to call m32r_fill_insn.
26 2011-03-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28         * config/tc-s390.c (md_parse_option): Add -march=all option which
29         switches to the highest available CPU.
31 2011-03-17  Alan Modra  <amodra@gmail.com>
33         PR 12569
34         * expr.c (operand): Correct passing of "mode" to expr.
35         * read.c (do_org): Allow expr_section.
36         (get_known_segmented_expression): Don't assert anything about the
37         segment.
39 2011-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41         * as.c (show_usage): Add --size-check=.
42         (parse_args): Add and handle OPTION_SIZE_CHECK.
44         * as.h (flag_size_check): New.
46         * config/obj-elf.c (elf_frob_symbol): Use as_bad to report
47         bad .size directive only for --size-check=error.
49         * doc/as.texinfo: Document --size-check=.
51 2011-03-14  Mike Frysinger  <vapier@gentoo.org>
53         * config/tc-bfin.c (bfin_cpus[]): Add 0.4 for
54         bf542/bf544/bf547/bf548/bf549.
56 2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
58         * config/tc-arm.c (md_pcrel_from_section): Use S_FORCE_RELOC to
59         determine whether a relocation is needed.
60         (md_apply_fix, arm_apply_sym_value): Likewise.
62 2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
64         * config/tc-arm.c (arm_adjust_symtab): Set the branch type
65         for Thumb symbols.
67 2011-03-11  Nick Clifton  <nickc@redhat.com>
69         * remap.c (remap_debug_filename): Always allocate a buffer for the
70         returned pointer.
71         * stabs.c (stabs_generate_asm_file): Free the pointer returned by
72         remap_debug_filename.
74 2011-03-10  Michael Snyder  <msnyder@vmware.com>
76         Revert the following change:
77         * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
78         (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
80 2011-03-10  Alan Modra  <amodra@gmail.com>
82         * gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS,
83         TARGET_SYMBOL_FIELDS): Don't define.
84         * gas/config/tc-arc.c (arc_common): Use correct symbol "local" field.
86 2011-03-09  Michael Snyder  <msnyder@vmware.com>
88         * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
89         (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
90         (emit_fixed_inc_line_addr): Assign instead of conditional in
91         assert.
93 2011-03-05  H.J. Lu  <hongjiu.lu@intel.com>
95         * config/obj-elf.c (elf_frob_symbol): Mention symbol name in
96         non-constant .size expression.
98 2011-03-02  Nick Clifton  <nickc@redhat.com>
100         * ecoff.c: Incldue filenames.h
102 2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
104         * depend.c (register_dependency): Use filename_(n)cmp.
105         * dwarf2dbg.c (get_filenum): Likewise.
106         * ecoff.c (add_file): Likewise.
107         (ecoff_generate_asm_lineno): Likewise.
108         * input-scrub.c (new_logical_line_flags): Likewise.
109         * listing.c (file_info): Likewise.
110         (listing_newline): Likewise.
111         * remap.c (remap_debug_filename): Likewise.
112         * stabs.c (generate_asm_file): Likewise.
113         (stabs_generate_asm_lineno): Likewise.
115 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
117         * config/tc-mips.c (append_insn): Disable branch relaxation for
118         DSP instructions.
120 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
122         * config/tc-mips.c (macro): Handle M_PREF_AB.
124 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
126         * config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary
127         register to use.
128         (RELAX_BRANCH_UNCOND): Adjust accordingly.
129         (RELAX_BRANCH_LIKELY): Likewise.
130         (RELAX_BRANCH_LINK): Likewise.
131         (RELAX_BRANCH_TOOFAR): Likewise.
132         (RELAX_BRANCH_AT): New macro.
133         (append_insn): Encode the temporary register to use in standard
134         MIPS branch relaxation.
135         (relaxed_branch_length): Update according to changes to
136         RELAX_BRANCH_ENCODE.
137         (md_convert_frag): Use the encoded register as the temporary.
139 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
141         * config/tc-mips.c (mips_fix_adjustable): On REL targets also
142         reject PC-relative relocations.
144 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
146         * config/tc-mips.c (md_convert_frag): Correct message
147         capitalization.
149 2011-02-28  Alan Modra  <amodra@gmail.com>
151         * symbols.c (report_op_error): Remove unnecessary forward declaration.
152         Add "op" parameter.  Report operator and operand segments in error
153         message, not operand symbols.
154         (resolve_symbol_value): Always set segment for equated symbols, not
155         just when finalizing.  Adjust report_op_error calls.
157 2011-02-25  H.J. Lu  <hongjiu.lu@intel.com>
159         * config/tc-i386.c (reloc): Don't sign-check 4-byte relocations
160         if 64bit relocations aren't allowed.
162 2011-02-25  Alan Modra  <amodra@gmail.com>
164         PR gas/12519
165         * config/obj-elf.c (elf_frob_symbol): Properly handle size expression.
167 2011-02-21  Maciej W. Rozycki  <macro@codesourcery.com>
169         * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate
170         initialization of offset_reloc.
172 2011-02-15  Richard Henderson  <rth@redhat.com>
174         * dw2gencfi.c (dot_cfi_dummy): New.
175         (cfi_pseudo_table) [!TARGET_USE_CFIPOP]: New.
176         * read.c (pobegin): Unconditionally call cfi_pop_insert.
178 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
180         * configure: Regenerate.
182 2011-02-13  Mike Frysinger  <vapier@gentoo.org>
184         * config/bfin-lex.l (BYTEOP2M): Remove tokenization.
185         * config/bfin-parse.y (BYTEOP2M): Delete token.
186         (asm_1): Remove BYTEOP2M insn matching.
188 2011-02-12  Mike Frysinger  <vapier@gentoo.org>
190         * config/bfin-defs.h: Include opcode/bfin.h.
191         (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH, M_IU): Delete.
193 2011-02-11  Mike Frysinger  <vapier@gentoo.org>
195         * doc/c-bfin.texi (Instruction Delimiting): Fix occur typo.
196         (Modify Registers): Fix subtracted typo.
197         (.byte2): Extend and swap descriptions with .byte4.
198         (.byte4): Extend and swap descriptions with .byte2.
199         (.db, .dw, .dd): Document behavior.
201 2011-02-11  Mike Frysinger  <vapier@gentoo.org>
203         * config/bfin-parse.y (TESTSET): Reject REG_SP and REG_FP.
205 2011-02-11  Alan Modra  <amodra@gmail.com>
207         * doc/c-ppc.texi (PowerPC-Opts <-nops>): Clarify.
209 2011-02-10  Alan Modra  <amodra@gmail.com>
211         * doc/as.texinfo (Overview): Add missing markup around Blackfin
212         and PowerPC options.
214 2011-02-10  Alan Modra  <amodra@gmail.com>
216         * config/tc-ppc.c (md_show_usage): Remove -l and -b.  Add -K PIC.
217         * doc/as.texinfo: Refer to and include c-ppc.texi for PowerPC options.
218         (Overview <Target PowerPC options>): Add a number of missing options.
219         * doc/c-ppc.texi: Likewise.  Add markup for use in manpage generation.
221 2011-02-08  H.J. Lu  <hongjiu.lu@intel.com>
223         PR gas/6957
224         * config/tc-i386.c (i386_align_code): Use f32_patt when tuning
225         for i686.
227 2011-02-08  H.J. Lu  <hongjiu.lu@intel.com>
229         * config/tc-i386.c (set_cpu_arch): Also update cpu_arch_isa_flags
230         for ISA extensions.
231         (md_parse_option): Likewise.
233 2011-02-04  Bernd Schmidt  <bernds@codesourcery.com>
235         * doc/as.texinfo (Target TIC6X options): Don't mention "-matomic".
236         * doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic".
237         (TIC6X Options): Don't mention "-matomic".
238         * config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete.
239         (md_longopts): Remove corresponding entries.
240         (md_parse_option): Don't handle them.
241         (md_show_usage): Don't document them.
242         (tic6x_atomic): Delete variable.
243         (tic6x_update_features): Always copy tic6x_arch_enable to
244         tic6x_features.
245         (tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC.
246         (s_tic6x_atomic, s_tic6x_noatomic): Remove functions.
247         (md_pseudo_table): Remove ".atomic" and ".noatomic".
249 2011-01-31  Nick Clifton  <nickc@redhat.com>
251         * write.c (write_contents): Include output file name and bfd error
252         value when reporting the inability to write to the output file.
253         * config/tc-rx.c (rx_handle_align): Do not insert NOPs into align
254         frag that has a non-zero fill value.
256 2011-01-27  DJ Delorie  <dj@redhat.com>
258         * config/tc-rx.c (md_convert_frag): If we can't compute the target
259         address, zero out the values stored in the object file to make
260         objdump's output consistent.
262 2011-01-26  Kai Tietz  <kai.tietz@onevision.com>
264         * config/tc-i386.c (md_begin): Set for x64 windows COFF target
265         x86_dwarf2_return_column to 32.
267 2011-01-20  Nick Clifton  <nickc@redhat.com>
269         PR gas/12384
270         * config/tc-h8300.c (constant_fits_width_p): Use correct type for
271         comparison.
273 2011-01-18  H.J. Lu  <hongjiu.lu@intel.com>
275         * write.c (compress_debug): Return if section size is smaller
276         than 32 bytes.
278 2011-01-18  H.J. Lu  <hongjiu.lu@intel.com>
280         PR gas/12409
281         * write.c (compress_debug): Return if section size is 0.
283 2011-01-18  Mingfeng Wu  <mingfeng@faraday-tech.com>
285         * config/tc-arm.c (arm_cpus): Add Faraday ARMv5TE compatible
286         cores: fa606te, fa616te, fmp626.  Modify the VFP of fa626te.
287         * doc/c-arm.texi (ARM Options): Add -mcpu={fa606te, fa616te,
288         fmp626} options.
290 2011-01-18  Nick Clifton  <nickc@redhat.com>
292         PR gas/12390
293         * doc/all.texi: Add NS32K
294         * doc/as.texinfo: Remove target specific details of which
295         characters act as comment initiators and statement separators into
296         individual target specific files.
297         * doc/c-alpha.texi (Alpha-Chars): Document special behaviour of
298         the hash character at the start of a line.
299         * doc/c-arm.texi (ARM-Chars): Likewise.
300         * doc/c-avr.texi (AVR-Chars): Likewise.
301         * doc/c-d10v.texi (D10V-Chars): Likewise.
302         * doc/c-d30v.texi (D30V-Chars): Likewise.
303         * doc/c-mmix.texi (MMIX-Chars): Likewise.
304         * doc/c-s390.texi (s390 characters): Likewise.
305         * doc/c-sh.texi (SH-Chars): Likewise.
306         * doc/c-sh64.texi (SH64-Chars): Likewise.
307         * doc/c-sparc.texi (SPARC-Chars): Likewise.
308         * doc/c-tic6x.texi (TIC6X Syntax): Likewise.
309         * doc/c-xtensa.texi (Xtensa Syntax): Likewise.
310         * doc/c-z80.texi (Z80-Chars): Likewise.
311         * doc/c-z8k.texi (Z8000-Chars): Likewise.
312         * doc/c-pdp11.texi (PDP11-Syntax): Document line separator character.
313         * doc/c-arc.texi (ARC-Chars): Fill in this subsection.
314         * doc/c-bfin.texi (Blackfin Syntax): Document line comment and
315         line separator characters.
316         * doc/c-cr16.texi (CR16 Syntax): Likewise.
317         * doc/c-i386.texi (i386-Chars): Likewise.
318         * doc/c-i860.texi (i860-Chars): Likewise.
319         * doc/c-i960.texi (i960-Chars): Likewise.
320         * doc/c-ip2k.texi (IP2K-Chars): Likewise.
321         * doc/c-lm32.texi (LM32-Chars): likewise.
322         * doc/c-m32c.texi (M32C-Chars): Likewise.
323         * doc/c-m68hc11.texi (M68HC11-syntax): Likewise.
324         * doc/c-m68k.texi (M68K-Chars): Likewise.
325         * doc/c-microblaze.texi (MicroBlaze-Chars): Likewise.
326         * doc/c-msp430.texi (MSP430-Chars): Likewise.
327         * doc/c-mt.texi (MT-Chars): Likewise.
328         * doc/c-ns32k.texi (NS32K-Chars): Likewise.
329         * doc/c-pj.texi (PJ-Chars): Likewise.
330         * doc/c-ppc.texi (PowerPC-Chars): Likewise.
331         * doc/c-rx.texi (RX-Chars): Likewise.
332         * doc/c-score.texi (SCORE-Chars): Likewise.
333         * doc/c-tic54x.texi (TIC54X-Chars): Likewise.
334         * doc/c-v850.texi (V850-Chars): Likewise.
335         * doc/c-vax.texi (VAX-Chars): Likewise.
336         * doc/c-xc16x.texi (xc16x-Chars): Likewise.
338 2011-01-17  Quentin Neill  <quentin.neill@amd.com>
340         * config/tc-i386.c (cpu_arch): Add CPU_TBM_FLAGS.
342         * doc/c-i386.texi (i386-TBM): New section.
344 2011-01-16  H.J. Lu  <hongjiu.lu@intel.com>
346         * config/tc-i386.c (disallow_64bit_disp): Renamed to ...
347         (disallow_64bit_reloc): This.
348         (md_assemble): Don't check movabs for x32 mode here.
349         (i386_target_format): Updated.
350         (tc_gen_reloc): Check if 64bit relocations are allowed.
352 2011-01-15  H.J. Lu  <hongjiu.lu@intel.com>
354         * config/tc-i386.c (disallow_64bit_disp): New.
355         (x86_elf_abi): Replace X86_64_LP64_ABI/X86_64_ILP32_ABI with
356         X86_64_ABI/X86_64_X32_ABI.
357         (md_assemble): Don't allow movabs with relocation in x32 mode.
358         (i386_target_format): Updated.
360 2011-01-14  H.J. Lu  <hongjiu.lu@intel.com>
362         * config/tc-i386.c (OPTION_N32): Renamed to ...
363         (OPTION_X32): This.
364         (md_longopts): Replace n32 with x32.
365         (md_parse_option): Updated.
366         (md_show_usage): Likewise.
368         * doc/c-i386.texi: Replace --n32 with --x32.
370 2011-01-11  Mingjie Xing  <mingjie.xing@gmail.com>
372         * config/tc-mips.c (mips_ip): Update error messages.  Take an
373         unadjusted offset for "+c" argument.
375 2011-01-10  Nick Clifton  <nickc@redhat.com>
377         * config/tc-i386.c (x86_elf_abi): Only define for targets that use
378         it.
380 2011-01-10  Nick Clifton  <nickc@redhat.com>
382         * config/tc-arm.c (s_arm_tls_desceq): Move code into ELF-only
383         part of the file.
385 2011-01-10  Nathan Sidwell  <nathan@codesourcery.com>
386             Glauber de Oliveira Costa  <glommer@gmail.com>
388         * doc/c-arm.texi: Document TLSDESC and TLSCALL relocations, and
389         .tlsdescseq directive.
390         * config/tc-arm.c (arm_typed_reg_parse): Check for potential reloc
391         following a symbol.
392         (s_arm_tls_descseq): New directive.
393         (md_pseudo_table): Add it.
394         (encode_branch): Allow TLS_CALL relocs too.
395         (do_t_blx, do_t_branch23): Use encode_branch.
396         (reloc_names): Add tlsdesc and tlscall.
397         (md_apply_fix): Process tls desc relocations.
398         (tc_gen_reloc): Likewise.
399         (arm_fix_adjustable): Likewise.
401 2011-01-07  Quentin Neill  <quentin.neill@amd.com>
403         * config/tc-i386.c (cpu_arch): Add CPU_BMI_FLAGS.
405         * doc/c-i386.texi (i386-BMI): New section.
407 2011-01-06  Paul Koning  <ni1d@arrl.net>
409         * config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relative
410         references to absolute addresses.
412 2011-01-05  DJ Delorie  <dj@redhat.com>
414         * config/tc-rx.c (tc_gen_reloc): Emit an RX_OP_NEG expression
415         instead of an RH_NEG32 one.
417 2011-01-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
419         * doc/c-i386.texi: Clarify --n32.
421 2011-01-04  H.J. Lu  <hongjiu.lu@intel.com>
423         * config/tc-i386.c (build_modrm_byte): Allow encoding 32/64bit
424         integer registers in VEX.vvvv.  Check register-only source
425         operand when two source operands are swapped.  Properly update
426         destination when two source operands are swapped.
428 2011-01-01  H.J. Lu  <hongjiu.lu@intel.com>
430         * gas.c (parse_args): Update copyright to 2011.
432 For older changes see ChangeLog-2010
434 Local Variables:
435 mode: change-log
436 left-margin: 8
437 fill-column: 74
438 version-control: never
439 End: