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