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