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