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