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