gas: blackfin: add support for bf54x-0.4
[binutils.git] / gas / ChangeLog
blobecbe9ec529106e65a7112bb415d93064b654e79e
1 2011-03-14  Mike Frysinger  <vapier@gentoo.org>
3         * config/tc-bfin.c (bfin_cpus[]): Add 0.4 for
4         bf542/bf544/bf547/bf548/bf549.
6 2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
8         * config/tc-arm.c (md_pcrel_from_section): Use S_FORCE_RELOC to
9         determine whether a relocation is needed.
10         (md_apply_fix, arm_apply_sym_value): Likewise.
12 2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
14         * config/tc-arm.c (arm_adjust_symtab): Set the branch type
15         for Thumb symbols.
17 2011-03-11  Nick Clifton  <nickc@redhat.com>
19         * remap.c (remap_debug_filename): Always allocate a buffer for the
20         returned pointer.
21         * stabs.c (stabs_generate_asm_file): Free the pointer returned by
22         remap_debug_filename.
24 2011-03-10  Michael Snyder  <msnyder@vmware.com>
26         Revert the following change:
27         * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
28         (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
30 2011-03-10  Alan Modra  <amodra@gmail.com>
32         * gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS,
33         TARGET_SYMBOL_FIELDS): Don't define.
34         * gas/config/tc-arc.c (arc_common): Use correct symbol "local" field.
36 2011-03-09  Michael Snyder  <msnyder@vmware.com>
38         * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
39         (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
40         (emit_fixed_inc_line_addr): Assign instead of conditional in
41         assert.
43 2011-03-05  H.J. Lu  <hongjiu.lu@intel.com>
45         * config/obj-elf.c (elf_frob_symbol): Mention symbol name in
46         non-constant .size expression.
48 2011-03-02  Nick Clifton  <nickc@redhat.com>
50         * ecoff.c: Incldue filenames.h
52 2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
54         * depend.c (register_dependency): Use filename_(n)cmp.
55         * dwarf2dbg.c (get_filenum): Likewise.
56         * ecoff.c (add_file): Likewise.
57         (ecoff_generate_asm_lineno): Likewise.
58         * input-scrub.c (new_logical_line_flags): Likewise.
59         * listing.c (file_info): Likewise.
60         (listing_newline): Likewise.
61         * remap.c (remap_debug_filename): Likewise.
62         * stabs.c (generate_asm_file): Likewise.
63         (stabs_generate_asm_lineno): Likewise.
65 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
67         * config/tc-mips.c (append_insn): Disable branch relaxation for
68         DSP instructions.
70 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
72         * config/tc-mips.c (macro): Handle M_PREF_AB.
74 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
76         * config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary
77         register to use.
78         (RELAX_BRANCH_UNCOND): Adjust accordingly.
79         (RELAX_BRANCH_LIKELY): Likewise.
80         (RELAX_BRANCH_LINK): Likewise.
81         (RELAX_BRANCH_TOOFAR): Likewise.
82         (RELAX_BRANCH_AT): New macro.
83         (append_insn): Encode the temporary register to use in standard
84         MIPS branch relaxation.
85         (relaxed_branch_length): Update according to changes to
86         RELAX_BRANCH_ENCODE.
87         (md_convert_frag): Use the encoded register as the temporary.
89 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
91         * config/tc-mips.c (mips_fix_adjustable): On REL targets also
92         reject PC-relative relocations.
94 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
96         * config/tc-mips.c (md_convert_frag): Correct message
97         capitalization.
99 2011-02-28  Alan Modra  <amodra@gmail.com>
101         * symbols.c (report_op_error): Remove unnecessary forward declaration.
102         Add "op" parameter.  Report operator and operand segments in error
103         message, not operand symbols.
104         (resolve_symbol_value): Always set segment for equated symbols, not
105         just when finalizing.  Adjust report_op_error calls.
107 2011-02-25  H.J. Lu  <hongjiu.lu@intel.com>
109         * config/tc-i386.c (reloc): Don't sign-check 4-byte relocations
110         if 64bit relocations aren't allowed.
112 2011-02-25  Alan Modra  <amodra@gmail.com>
114         PR gas/12519
115         * config/obj-elf.c (elf_frob_symbol): Properly handle size expression.
117 2011-02-21  Maciej W. Rozycki  <macro@codesourcery.com>
119         * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate
120         initialization of offset_reloc.
122 2011-02-15  Richard Henderson  <rth@redhat.com>
124         * dw2gencfi.c (dot_cfi_dummy): New.
125         (cfi_pseudo_table) [!TARGET_USE_CFIPOP]: New.
126         * read.c (pobegin): Unconditionally call cfi_pop_insert.
128 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
130         * configure: Regenerate.
132 2011-02-13  Mike Frysinger  <vapier@gentoo.org>
134         * config/bfin-lex.l (BYTEOP2M): Remove tokenization.
135         * config/bfin-parse.y (BYTEOP2M): Delete token.
136         (asm_1): Remove BYTEOP2M insn matching.
138 2011-02-12  Mike Frysinger  <vapier@gentoo.org>
140         * config/bfin-defs.h: Include opcode/bfin.h.
141         (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH, M_IU): Delete.
143 2011-02-11  Mike Frysinger  <vapier@gentoo.org>
145         * doc/c-bfin.texi (Instruction Delimiting): Fix occur typo.
146         (Modify Registers): Fix subtracted typo.
147         (.byte2): Extend and swap descriptions with .byte4.
148         (.byte4): Extend and swap descriptions with .byte2.
149         (.db, .dw, .dd): Document behavior.
151 2011-02-11  Mike Frysinger  <vapier@gentoo.org>
153         * config/bfin-parse.y (TESTSET): Reject REG_SP and REG_FP.
155 2011-02-11  Alan Modra  <amodra@gmail.com>
157         * doc/c-ppc.texi (PowerPC-Opts <-nops>): Clarify.
159 2011-02-10  Alan Modra  <amodra@gmail.com>
161         * doc/as.texinfo (Overview): Add missing markup around Blackfin
162         and PowerPC options.
164 2011-02-10  Alan Modra  <amodra@gmail.com>
166         * config/tc-ppc.c (md_show_usage): Remove -l and -b.  Add -K PIC.
167         * doc/as.texinfo: Refer to and include c-ppc.texi for PowerPC options.
168         (Overview <Target PowerPC options>): Add a number of missing options.
169         * doc/c-ppc.texi: Likewise.  Add markup for use in manpage generation.
171 2011-02-08  H.J. Lu  <hongjiu.lu@intel.com>
173         PR gas/6957
174         * config/tc-i386.c (i386_align_code): Use f32_patt when tuning
175         for i686.
177 2011-02-08  H.J. Lu  <hongjiu.lu@intel.com>
179         * config/tc-i386.c (set_cpu_arch): Also update cpu_arch_isa_flags
180         for ISA extensions.
181         (md_parse_option): Likewise.
183 2011-02-04  Bernd Schmidt  <bernds@codesourcery.com>
185         * doc/as.texinfo (Target TIC6X options): Don't mention "-matomic".
186         * doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic".
187         (TIC6X Options): Don't mention "-matomic".
188         * config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete.
189         (md_longopts): Remove corresponding entries.
190         (md_parse_option): Don't handle them.
191         (md_show_usage): Don't document them.
192         (tic6x_atomic): Delete variable.
193         (tic6x_update_features): Always copy tic6x_arch_enable to
194         tic6x_features.
195         (tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC.
196         (s_tic6x_atomic, s_tic6x_noatomic): Remove functions.
197         (md_pseudo_table): Remove ".atomic" and ".noatomic".
199 2011-01-31  Nick Clifton  <nickc@redhat.com>
201         * write.c (write_contents): Include output file name and bfd error
202         value when reporting the inability to write to the output file.
203         * config/tc-rx.c (rx_handle_align): Do not insert NOPs into align
204         frag that has a non-zero fill value.
206 2011-01-27  DJ Delorie  <dj@redhat.com>
208         * config/tc-rx.c (md_convert_frag): If we can't compute the target
209         address, zero out the values stored in the object file to make
210         objdump's output consistent.
212 2011-01-26  Kai Tietz  <kai.tietz@onevision.com>
214         * config/tc-i386.c (md_begin): Set for x64 windows COFF target
215         x86_dwarf2_return_column to 32.
217 2011-01-20  Nick Clifton  <nickc@redhat.com>
219         PR gas/12384
220         * config/tc-h8300.c (constant_fits_width_p): Use correct type for
221         comparison.
223 2011-01-18  H.J. Lu  <hongjiu.lu@intel.com>
225         * write.c (compress_debug): Return if section size is smaller
226         than 32 bytes.
228 2011-01-18  H.J. Lu  <hongjiu.lu@intel.com>
230         PR gas/12409
231         * write.c (compress_debug): Return if section size is 0.
233 2011-01-18  Mingfeng Wu  <mingfeng@faraday-tech.com>
235         * config/tc-arm.c (arm_cpus): Add Faraday ARMv5TE compatible
236         cores: fa606te, fa616te, fmp626.  Modify the VFP of fa626te.
237         * doc/c-arm.texi (ARM Options): Add -mcpu={fa606te, fa616te,
238         fmp626} options.
240 2011-01-18  Nick Clifton  <nickc@redhat.com>
242         PR gas/12390
243         * doc/all.texi: Add NS32K
244         * doc/as.texinfo: Remove target specific details of which
245         characters act as comment initiators and statement separators into
246         individual target specific files.
247         * doc/c-alpha.texi (Alpha-Chars): Document special behaviour of
248         the hash character at the start of a line.
249         * doc/c-arm.texi (ARM-Chars): Likewise.
250         * doc/c-avr.texi (AVR-Chars): Likewise.
251         * doc/c-d10v.texi (D10V-Chars): Likewise.
252         * doc/c-d30v.texi (D30V-Chars): Likewise.
253         * doc/c-mmix.texi (MMIX-Chars): Likewise.
254         * doc/c-s390.texi (s390 characters): Likewise.
255         * doc/c-sh.texi (SH-Chars): Likewise.
256         * doc/c-sh64.texi (SH64-Chars): Likewise.
257         * doc/c-sparc.texi (SPARC-Chars): Likewise.
258         * doc/c-tic6x.texi (TIC6X Syntax): Likewise.
259         * doc/c-xtensa.texi (Xtensa Syntax): Likewise.
260         * doc/c-z80.texi (Z80-Chars): Likewise.
261         * doc/c-z8k.texi (Z8000-Chars): Likewise.
262         * doc/c-pdp11.texi (PDP11-Syntax): Document line separator character.
263         * doc/c-arc.texi (ARC-Chars): Fill in this subsection.
264         * doc/c-bfin.texi (Blackfin Syntax): Document line comment and
265         line separator characters.
266         * doc/c-cr16.texi (CR16 Syntax): Likewise.
267         * doc/c-i386.texi (i386-Chars): Likewise.
268         * doc/c-i860.texi (i860-Chars): Likewise.
269         * doc/c-i960.texi (i960-Chars): Likewise.
270         * doc/c-ip2k.texi (IP2K-Chars): Likewise.
271         * doc/c-lm32.texi (LM32-Chars): likewise.
272         * doc/c-m32c.texi (M32C-Chars): Likewise.
273         * doc/c-m68hc11.texi (M68HC11-syntax): Likewise.
274         * doc/c-m68k.texi (M68K-Chars): Likewise.
275         * doc/c-microblaze.texi (MicroBlaze-Chars): Likewise.
276         * doc/c-msp430.texi (MSP430-Chars): Likewise.
277         * doc/c-mt.texi (MT-Chars): Likewise.
278         * doc/c-ns32k.texi (NS32K-Chars): Likewise.
279         * doc/c-pj.texi (PJ-Chars): Likewise.
280         * doc/c-ppc.texi (PowerPC-Chars): Likewise.
281         * doc/c-rx.texi (RX-Chars): Likewise.
282         * doc/c-score.texi (SCORE-Chars): Likewise.
283         * doc/c-tic54x.texi (TIC54X-Chars): Likewise.
284         * doc/c-v850.texi (V850-Chars): Likewise.
285         * doc/c-vax.texi (VAX-Chars): Likewise.
286         * doc/c-xc16x.texi (xc16x-Chars): Likewise.
288 2011-01-17  Quentin Neill  <quentin.neill@amd.com>
290         * config/tc-i386.c (cpu_arch): Add CPU_TBM_FLAGS.
292         * doc/c-i386.texi (i386-TBM): New section.
294 2011-01-16  H.J. Lu  <hongjiu.lu@intel.com>
296         * config/tc-i386.c (disallow_64bit_disp): Renamed to ...
297         (disallow_64bit_reloc): This.
298         (md_assemble): Don't check movabs for x32 mode here.
299         (i386_target_format): Updated.
300         (tc_gen_reloc): Check if 64bit relocations are allowed.
302 2011-01-15  H.J. Lu  <hongjiu.lu@intel.com>
304         * config/tc-i386.c (disallow_64bit_disp): New.
305         (x86_elf_abi): Replace X86_64_LP64_ABI/X86_64_ILP32_ABI with
306         X86_64_ABI/X86_64_X32_ABI.
307         (md_assemble): Don't allow movabs with relocation in x32 mode.
308         (i386_target_format): Updated.
310 2011-01-14  H.J. Lu  <hongjiu.lu@intel.com>
312         * config/tc-i386.c (OPTION_N32): Renamed to ...
313         (OPTION_X32): This.
314         (md_longopts): Replace n32 with x32.
315         (md_parse_option): Updated.
316         (md_show_usage): Likewise.
318         * doc/c-i386.texi: Replace --n32 with --x32.
320 2011-01-11  Mingjie Xing  <mingjie.xing@gmail.com>
322         * config/tc-mips.c (mips_ip): Update error messages.  Take an
323         unadjusted offset for "+c" argument.
325 2011-01-10  Nick Clifton  <nickc@redhat.com>
327         * config/tc-i386.c (x86_elf_abi): Only define for targets that use
328         it.
330 2011-01-10  Nick Clifton  <nickc@redhat.com>
332         * config/tc-arm.c (s_arm_tls_desceq): Move code into ELF-only
333         part of the file.
335 2011-01-10  Nathan Sidwell  <nathan@codesourcery.com>
336             Glauber de Oliveira Costa  <glommer@gmail.com>
338         * doc/c-arm.texi: Document TLSDESC and TLSCALL relocations, and
339         .tlsdescseq directive.
340         * config/tc-arm.c (arm_typed_reg_parse): Check for potential reloc
341         following a symbol.
342         (s_arm_tls_descseq): New directive.
343         (md_pseudo_table): Add it.
344         (encode_branch): Allow TLS_CALL relocs too.
345         (do_t_blx, do_t_branch23): Use encode_branch.
346         (reloc_names): Add tlsdesc and tlscall.
347         (md_apply_fix): Process tls desc relocations.
348         (tc_gen_reloc): Likewise.
349         (arm_fix_adjustable): Likewise.
351 2011-01-07  Quentin Neill  <quentin.neill@amd.com>
353         * config/tc-i386.c (cpu_arch): Add CPU_BMI_FLAGS.
355         * doc/c-i386.texi (i386-BMI): New section.
357 2011-01-06  Paul Koning  <ni1d@arrl.net>
359         * config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relative
360         references to absolute addresses.
362 2011-01-05  DJ Delorie  <dj@redhat.com>
364         * config/tc-rx.c (tc_gen_reloc): Emit an RX_OP_NEG expression
365         instead of an RH_NEG32 one.
367 2011-01-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
369         * doc/c-i386.texi: Clarify --n32.
371 2011-01-04  H.J. Lu  <hongjiu.lu@intel.com>
373         * config/tc-i386.c (build_modrm_byte): Allow encoding 32/64bit
374         integer registers in VEX.vvvv.  Check register-only source
375         operand when two source operands are swapped.  Properly update
376         destination when two source operands are swapped.
378 2011-01-01  H.J. Lu  <hongjiu.lu@intel.com>
380         * gas.c (parse_args): Update copyright to 2011.
382 For older changes see ChangeLog-2010
384 Local Variables:
385 mode: change-log
386 left-margin: 8
387 fill-column: 74
388 version-control: never
389 End: