OSDN Git Service

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