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