1 2010-11-15 H.J. Lu <hongjiu.lu@intel.com>
3 * config/obj-elf.c (elf_process_stab): Mark parameters as
6 2010-11-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8 * config/obj-elf.c (elf_generate_asm_lineno): New function.
9 (elf_process_stab): New function.
10 (elf_format_ops): Always use them as generate_asm_lineno,
13 2010-11-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
16 * config/tc-arm.c (arm_arch_v6m_only): New variable.
17 (aeabi_set_public_attributes): Ensure we only set the Operating System
18 Extension when we are on an M-profile core.
20 2010-11-13 Richard Sandiford <rdsandiford@googlemail.com>
22 * config/tc-mips.c (macro_build): Remove gas_assert from 'o' case.
23 Use a restricted gas_assert for 'i' and 'j'.
25 2010-11-11 Mingming Sun <mingm.sun@gmail.com>
27 * config/tc-mips.c (mips_cpu_info_table): Add loongson3a in MIPS 64.
28 * doc/c-mips.texi (MIPS cpu): Add loongson3a.
30 2010-11-10 Richard Sandiford <richard.sandiford@linaro.org>
32 * config/tc-arm.c (do_t_branch): Treat (PLT) branches as wide.
34 2010-11-05 Nick Clifton <nickc@redhat.com>
36 * config/tc-cr16.c (getprocreg_image): Fix typo MAX_PREG ->
38 (getprocregp_image): Likewise.
40 2010-11-05 Tristan Gingold <gingold@adacore.com>
42 * po/gas.pot: Regenerate
43 * po/POTFILES.in: Regenerate
45 2010-11-05 Tristan Gingold <gingold@adacore.com>
47 * NEWS: Add marker for 2.21.
49 2010-11-05 Dave Korn <dave.korn.cygwin@gmail.com>
52 * config/obj-coff.c (weak_altname2name): Don't infer from the presence
53 of a period that the symbol has been already uniquify-d.
54 (weak_uniquify): Don't worry that the symbol might have been already
57 2010-11-04 Alan Modra <amodra@gmail.com>
59 * config/tc-ppc.c (nop_limit): New var.
60 (OPTION_NOPS): Define.
61 (md_longopts): Add --nops.
62 (md_parse_option): Handle it.
63 (md_show_usage): Publish.
64 (ppc_handle_align): Pad with a branch followed by nops if more
67 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
70 * config/tc-i386-intel.c (i386_intel_fold): Properly fold
71 _GLOBAL_OFFSET_TABLE_.
73 2010-11-02 Joseph Myers <joseph@codesourcery.com>
75 * config/tc-tic6x.c (OPTION_MPID, OPTION_MPIC, OPTION_MNO_PIC):
77 (md_longopts): Add options mpid, mpic and mno-pic.
78 (tic6x_pid_type, tic6x_pid, tic6x_pic, tic6x_pid_type_table,
79 tic6x_pid_types, tic6x_use_pid): New.
80 (md_parse_option): Handle new options.
81 (md_show_usage): Output help text for new options.
82 (tic6x_set_attributes): Set PID and PIC attributes.
83 * doc/as.texinfo: Document -mpid=, -mpic and -mno-pic.
84 * doc/c-tic6x.texi (TIC6X Options): Likewise.
86 2010-11-01 Maciej W. Rozycki <macro@linux-mips.org>
88 * config/tc-mips.c (macro)[M_LD_OB, M_SD_OB]: Use the offset
90 (mips_ip)['o']: Initialise offset_reloc.
92 2010-10-29 Joseph Myers <joseph@codesourcery.com>
94 * doc/c-tic6x.texi (TIC6X Directives): Mention
95 Tag_ABI_compatibility.
97 2010-10-29 H.J. Lu <hongjiu.lu@intel.com>
99 * write.c (compress_debug): Optimize section flags check.
101 2010-10-29 Bernd Schmidt <bernds@codesourcery.com>
102 Joseph Myers <joseph@codesourcery.com>
104 * config/tc-tic6x.c (OPTION_MDSBT, OPTION_MNO_DSBT): New enum
106 (md_longopts): Add mdsbt and mno-dsbt.
107 (tic6x_dsbt): New static variable.
108 (md_parse_option): Handle OPTION_MDSBT and OPTION_MNO_DSBT.
109 (md_show_usage): Output help text for -mdsbt and -mno-dsbt.
110 (TAG): Add comma at the end.
111 (tic6x_set_attributes): Set Tag_ABI_DSBT.
112 * doc/as.texinfo: Document -mdsbt and -mno-dsbt.
113 * doc/c-tic6x.texi (TIC6X Options): Likewise.
114 (TIC6X Directives): Mention Tag_ABI_DSBT.
116 2010-10-28 Matthias Klose <doko@ubuntu.com>
118 * doc/as.texinfo: Add directory section for info document.
120 2010-10-28 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
122 * config/tc-s390.c (md_begin): Only add to hash table if cpu and
125 2010-10-28 Alan Modra <amodra@gmail.com>
127 * config/tc-d30v.c (d30v_cons_align): Don't align .eh_frame.
129 2010-10-26 Alan Modra <amodra@gmail.com>
131 * config/obj-coff.c (coff_format_ops): Fix typo.
133 2010-10-25 Richard Sandiford <rdsandiford@googlemail.com>
135 * config/tc-mips.c (macro2): Delete.
137 2010-10-25 Nathan Sidwell <nathan@codesourcery.com>
139 * config/tc-tic6x.c: Add attribution.
141 2010-10-25 Mark Mitchell <mark@codesourcery.com>
143 * obj.h (struct format_ops): Add adjust_symtab.
144 * config/obj-multi.h (obj_adjust_symtab): Define.
145 * config/obj-aout.c (aout_format_ops): Init new field.
146 * config/obj-coff.c (coff_format_ops): Likewise.
147 * config/obj-ecoff.c (ecoff_format_ops): Likewise.
148 * config/obj-elf.c (elf_format_ops): Likewise.
150 2010-10-25 Alan Modra <amodra@gmail.com>
153 * write.c (relax_frag): Don't allow forward branches to temporarily
154 becomde backward branches.
156 2010-10-23 Mark Mitchell <mark@codesourcery.com>
158 * config/obj-elf.c (elf_adjust_symtab): New. Move group section
159 processing here from elf_frob_file. Ensure that group signature
160 symbols have the name of the group.
161 (elf_frob_file): Move group section processing to
163 * config/obj-elf.h (elf_adjust_symtab): Declare.
164 (obj_adjust_symtab): Define.
165 * config/tc-arm.c (arm_adjust_symtab): Call elf_adjust_symtab.
167 2010-10-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
169 * config/tc-sparc.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define as
171 (ELF64_TARGET_FORMAT): Define as elf64-sparc-sol2.
173 2010-10-21 Joseph Myers <joseph@codesourcery.com>
175 * config/tc-tic6x.c (tic6x_arch_attribute, tic6x_arches,
176 md_assemble, tic6x_set_attributes): Update for attribute renaming.
177 * doc/c-tic6x.texi: Update for attribute renaming.
179 2010-10-19 Alan Modra <amodra@gmail.com>
181 * write.c (relax_segment): Correct address on frag added to stop
182 leb128/align frags bouncing.
184 2010-10-19 Alan Modra <amodra@gmail.com>
187 * frags.h (struct frag): Add "region" field.
188 * write.c (relax_frag): Don't add "stretch" to forward reference
189 target if there is an intervening org or align.
190 (relax_segment): Set region.
192 2010-10-18 Maciej W. Rozycki <macro@linux-mips.org>
194 * config/tc-mips.c (macro)[ldd_std]: Fix the relaxation variant
195 for absolute addressing.
197 2010-10-18 Maciej W. Rozycki <macro@linux-mips.org>
199 * config/tc-mips.c (macro)[M_LD_OB, M_SD_OB]: Handle 64-bit ABIs.
201 2010-10-18 Maciej W. Rozycki <macro@linux-mips.org>
203 * config/tc-mips.c (mips_pseudo_table): Add "sbss".
204 (s_change_sec): Handle it.
206 2010-10-15 Mike Frysinger <vapier@gentoo.org>
208 * config/bfin-parse.y (BYTEOP2M): Call BYTEOP2M().
210 2010-10-14 H.J. Lu <hongjiu.lu@intel.com>
212 * config/tc-i386.c (match_template): Check checkregsize
213 instead of w for register size check.
215 2010-10-14 H.J. Lu <hongjiu.lu@intel.com>
217 * config/tc-i386.c (_i386_insn): Add disp32_encoding.
218 (md_assemble): Don't call optimize_disp if disp32_encoding is
220 (parse_insn): Support .d32 to force 32bit displacement.
221 (output_branch): Use BIG if disp32_encoding is set.
223 * doc/c-i386.texi: Document .d32 encoding suffix.
225 2010-10-11 Steve Kilbane <steve.kilbane@analog.com>
227 * config/bfin-lex.l (FLAGS): New state.
228 (X, Z, S, M, T): Require FLAGS state.
229 ("(", ")"): Start/stop FLAGS state.
231 2010-10-11 David Gibson <david.gibson@analog.com>
233 * config/bfin-aux.h (bfin_loop_attempt_create_label): New prototype.
234 * config/bfin-parse.y (LOOP_BEGIN, LOOP_END): Handle numeric labels.
235 * config/tc-bfin.c (bfin_loop_attempt_create_label): New funtion.
237 2010-10-11 David Gibson <david.gibson@analog.com>
239 * config/tc-bfin.c (bfin_gen_loop): Check symbol before removing.
241 2010-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
243 Fix build with -DDEBUG=7
244 * config/obj-coff.c (s_get_name, symbol_dump): Add prototypes.
246 2010-10-07 Bernd Schmidt <bernds@codesourcery.com>
248 * config/tc-tic6x.c (tic6x_try_encode): Correct encoding of fstg field
249 in SPKERNEL instructions.
251 2010-10-06 Nathan Sidwell <nathan@codesourcery.com>
253 * config/tc-arm.c (encode_branch): Remove superfluous braces.
254 (do_t_branch): Move reloc setting to end of routine.
256 2010-10-04 David Daney <ddaney@caviumnetworks.com>
258 * config/tc-mips.c (mips_fix_cn63xxp1): New variable.
259 (mips_ip): Add errata work around when mips_fix_cn63xxp1 set.
260 (OPTION_FIX_CN63XXP1, OPTION_NO_FIX_CN63XXP1): New enum options
262 (md_longopts): Add options for -mfix-cn63xxp1 and -mno-fix-cn63xxp1.
263 (md_parse_option): Handle OPTION_FIX_CN63XXP1 and
264 OPTION_NO_FIX_CN63XXP1.
265 (md_show_usage): Add documentation for -mfix-cn63xxp1.
266 * doc/c-mips.texi (-mfix-cn63xxp1, -mno-fix-cn63xxp1): Document
269 2010-09-29 Bernd Schmidt <bernds@codesourcery.com>
271 * gas/tic6x/insns-bad-1.s: Remove test for readonly tscl.
272 * gas/tic6x/insns-bad-1.l: Likewise.
273 * gas/tic6x/insns-c674x.d: Add test for writeable tscl.
274 * gas/tic6x/insns-c674x.s: Likewise.
276 2010-09-29 Alan Modra <amodra@gmail.com>
278 * expr.c (expr): Correct returned segment value.
280 2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
282 * configure: Regenerate.
284 2010-09-27 Bernd Schmidt <bernds@codesourcery.com>
286 * config/tc-tic6x.c (tic6x_fix_adjustable): New function.
287 * config/tc-tic6x.h (tic6x_fix_adjustable): Declare.
288 (tc_fix_adjustable): New macro.
290 2010-09-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
292 * config/tc-s390.c: (md_parse_option): New option -march=z196.
293 * doc/c-s390.texi: Document new option.
295 2010-09-27 Tejas Belagod <tejas.belagod@arm.com>
297 * config/tc-arm.c (do_neon_ldr_str): Deprecate ARM-mode PC-relative
298 VSTR, issue an error in THUMB mode.
300 2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
302 * config/tc-arm.c (arm_ext_virt): New variable.
303 (arm_reg_type): Add REG_TYPE_RNB for banked registers.
304 (reg_entry): Allow registers to be larger than a byte.
305 (reg_alias): Fix type warning.
306 (parse_operands): Parse banked registers when appropriate.
307 (do_mrs): Add support for Virtualization Extensions.
308 (do_hvc): New function.
309 (do_t_mrs): Add support for Virtualization Extensions.
310 (do_t_msr): Likewise.
311 (do_t_hvc): New function.
312 (SPLRBANK): New define.
313 (reg_names): Add banked registers.
314 (insns): Add support for Virtualization Extensions.
315 (md_apply_fixup): Likewise.
316 (arm_cpus): -mcpu=cortex-a15 implies the Virtualization Extensions.
317 (arm_extensions): Add 'virt' extension.
318 (aeabi_set_public_attributes): Add support for Virtualization
320 * doc/c-arm.texi: Document 'virt' extension.
322 2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
324 * config/tc-arm.c (arm_ext_adiv): New variable.
325 (do_div): New function.
326 (insns): Accept UDIV and SDIV in ARM state.
327 (arm_cpus): The cortex-a15 option has all current v7-A extensions.
328 (arm_extensions): Add 'idiv' extension.
329 (aeabi_set_public_attributes): Update Tag_DIV_use values for the
330 Integer Divide extension.
331 * doc/c-arm.texi: Document the idiv extension.
333 2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
335 * config/tc-arm.c (arm_ext_v6m): New variable.
336 (arm_ext_m): Add support for OS extension.
337 (arm_ext_os): New variable.
338 (do_t_swi): In v6-M ensure we have the OS extension.
339 (arm_cpus): The cortex-m1 and cortex-m0 options have the OS
340 extension by default.
341 (arm_archs): Add armv6s-m.
342 (arm_extensions): Add 'os' extension.
343 (cpu_arch_ver): Add support for v6S-M.
344 * doc/c-arm.texi: Document the OS Extension, and v6-m and v6s-m
345 architecture options.
347 2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
349 * config/tc-arm.c (arm_ext_v6z): Remove.
350 (arm_ext_sec): New variable.
351 (do_t_smc): In Thumb state SMC requires v7-A.
352 (insns): Make SMC depend on Security Extensions.
353 (arm_cpus): All -mcpu=cortex-a* options have the Security Extensions.
354 (arm_extensions): Add 'sec' extension.
355 (cpu_arch_ver): Reorder.
356 (aeabi_set_public_attributes): Emit Tag_Virtualization_use as
358 * doc/c-arm.texi: Document Security Extensions.
360 2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
362 * config/tc-arm.c (arm_ext_mp): Add.
363 (do_pld): Update comment.
364 (insns): Add support for pldw.
365 (arm_cpus): Update cortex-a5, cortex-a9, and cortex-a15 to support
367 (arm_extensions): Add 'mp' extension.
368 (aeabi_set_public_attributes): Emit correct build attribute when
369 MP extension is enabled.
370 * doc/c-arm.texi: Update for MP extensions.
372 2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
374 * config/tc-arm.c (md_pseduo_table): Add .arch_extension directive.
375 (arm_option_extension_value_table): Add.
376 (arm_extensions): Change type.
377 (arm_option_cpu_table): Rename...
378 (arm_option_fpu_table): ...to this.
379 (arm_fpus): Change type.
380 (arm_parse_extension): Enforce alphabetical order. Allow
381 extensions to be removed.
382 (arm_parse_arch): Allow extensions to be specified with -march.
383 (s_arm_arch_extension): Add.
384 (s_arm_fpu): Update for type changes.
385 * doc/c-arm.texi: Document changes to infrastructure.
387 2010-09-23 Alan Modra <amodra@gmail.com>
389 * config/tc-mn10300.c (tc_gen_reloc): Replace absolute symbols
390 with the absolute section symbol.
392 2010-09-22 Mike Frysinger <vapier@gentoo.org>
394 * config/bfin-parse.y: Fix typo in BYTEOP16P comment.
396 2010-09-22 Robin Getz <robin.getz@analog.com>
398 * config/bfin-parse.y (is_store): New function.
399 (gen_multi_instr_1): Check parallel slots for store insns.
401 2010-09-22 Robin Getz <robin.getz@analog.com>
403 * config/bfin-defs.h (IS_EMUDAT): New define.
404 * config/bfin-parse.y: Accept EMUDAT for any register move.
406 2010-09-22 Robin Getz <robin.getz@analog.com>
408 * config/bfin-parse.y: Improve error messages.
410 2010-09-22 Robin Getz <robin.getz@analog.com>
412 * config/bfin-parse.y (DBG): Fix regno encoding.
413 (DBGCMPLX): Likewise.
415 2010-09-22 Robin Getz <robin.getz@analog.com>
417 * config/bfin-lex.l: Accept multibyte chars in symbol names.
419 2010-09-22 Robin Getz <robin.getz@analog.com>
421 * config/bfin-defs.h (statusflags): Add AC0_COPY, V_COPY, and RND_MOD.
422 * config/bfin-lex.l: Tokenize AC0_COPY, V_COPY, and RND_MOD.
424 2010-09-22 Mike Frysinger <vapier@gentoo.org>
426 * config/bfin-aux.h (bfin_gen_pseudochr): New prototype.
427 * config/tc-bfin.c (bfin_gen_pseudochr): New function.
428 * config/bfin-parse.y: Call bfin_gen_pseudochr for OUTC tokens.
430 2010-09-22 Mike Frysinger <vapier@gentoo.org>
432 * config/bfin-lex.l (abort): Accept case-insensitive abort insn.
433 * config/bfin-parse.y (ABORT): Handle the ABORT token.
435 2010-09-22 Mike Frysinger <vapier@gentoo.org>
437 * config/tc-bfin.c (bfin_cpus[]): Add 0.2 for bf512/bf514/bf516/bf518.
439 2010-09-22 Mike Frysinger <vapier@gentoo.org>
441 * doc/c-bfin.texi (-mcpu): Add bf592.
442 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF592.
443 (bfin_cpus[]): Add 0.0/0.1 for bf592.
445 2010-09-22 Mike Frysinger <vapier@gentoo.org>
447 * config/tc-bfin.c (comment_chars): Add #.
449 2010-09-20 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
451 * config/tc-arm.c (arm_cpus): Correct canonical names for Cortex CPUs.
453 2010-09-20 Richard Henderson <rth@redhat.com>
455 * config/tc-alpha.c (tc_gen_reloc): Remove hack around
456 bfd_perform_reloc for OBJ_ELF.
458 2010-09-17 Tejas Belagod <tejas.belagod@arm.com>
460 * config/tc-arm.c (do_t_ldmstm): Add logic to handle single-register
463 2010-09-17 Tejas Belagod <tejas.belagod@arm.com>
465 * config/tc-arm.c (parse_psr): Add condition for matching "APSR" on
467 (psrs): Add entry for PSR flags, g, nzcvq, nzcvqg.
469 2010-09-17 Tejas Belagod <tejas.belagod@arm.com>
471 * config/tc-arm.c (insns): Change MRC entry to accept APSR_RR instead
474 2010-09-17 Andrew Burgess <aburgess@broadcom.com>
477 * config/obj-elf.c (obj_elf_parse_section_letters): Correct test
478 for error return from md_elf_section_letter.
479 * config/tc-alpha.c (alpha_elf_section_letter): Correct error message.
480 * config/tc-i386.c (x86_64_section_letter): Likewise.
481 * config/tc-ia64.c (ia64_elf_section_letter): Likewise.
482 * config/tc-mep.c (mep_elf_section_letter): Likewise.
484 2010-09-15 Kai Tietz <kai.tietz@onevision.com>
486 * config/obj-coff-seh.c (seh_validate_seg): New funtion.
487 (obj_coff_seh_endproc): Add check for segment.
488 (obj_coff_seh_endprologue): Likewise.
489 (obj_coff_seh_pushreg): Likewise.
490 (obj_coff_seh_pushframe): Likewise.
491 (obj_coff_seh_save): Likewise.
492 (obj_coff_seh_setframe): Likewise.
494 * config/obj-coff-seh.h (seh_context): New member code_seg.
495 * config/obj-coff-seh.c: Implementing xdata/pdata section cloning
496 for link-once code-segment.
498 2010-09-14 Jie Zhang <jie@codesourcery.com>
500 * doc/c-arm.texi: Document -mcpu=cortex-m4.
502 2010-09-09 H.J. Lu <hongjiu.lu@intel.com>
504 * config/tc-i386.c (build_vex_prefix): Check VEXW1 for 2-byte
507 2010-09-09 Joseph Myers <joseph@codesourcery.com>
509 * doc/c-tic6x.texi (.c6xabi_attribute): Document directive.
511 2010-09-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
513 * config/tc-arm.c (arm_cpus): Add cortex-a15 entry.
514 * doc/c-arm.texi: Document -mcpu=cortex-a15.
516 2010-09-09 Gunther Nikl <gnikl@users.sourceforge.net>
518 * gas/config/tc-m68k.c (tc_gen_reloc): Handle references to defined
519 weak symbols first if generating an a.out object.
521 2010-09-09 Tejas Belagod <tejas.belagod@arm.com>
523 * config/tc-arm.c (md_apply_fix): Check if widened add, sub are
524 flag-setting and handle accordingly.
526 2010-09-09 Nick Clifton <nickc@redhat.com>
529 * config/tc-arm.c (parse_big_immediate): Allow for bignums being
530 extended to the size of a .octa.
532 2010-09-08 Julian Brown <julian@codesourcery.com>
534 * config/tc-arm.c (create_neon_reg_alias): Deal with case
537 2010-09-08 Nick Clifton <nickc@redhat.com>
540 * config/tc-mn10300.c (md_convert_frag): Zero out top two bytes of
541 long call instruction's displacement.
543 2010-09-03 H.J. Lu <hongjiu.lu@intel.com>
546 * config/tc-i386.c (i386_finalize_immediate): Check flag_code
547 instead of use_rela_relocations for 64bit.
549 2010-09-02 Richard Henderson <rth@redhat.com>
551 * dw2gencfi.c (TC_DWARF2_EMIT_OFFSET): Provide default.
552 (output_fde): Use it. Make sure to fully init exp before using it.
554 2010-08-31 Kai Tietz <kai.tietz@onevision.com>
556 * config/obj-coff-seh.c (obj_coff_seh_save): Correct comparison.
557 (obj_coff_seh_stackalloc): Likewise.
559 2010-08-31 Alan Modra <amodra@gmail.com>
561 * config/obj-elf.c (obj_elf_init_stab_section): Fix assertion.
563 2010-08-30 Richard Henderson <rth@redhat.com>
565 * config/obj-coff-seh.c: Rewrite the entire file.
566 (symtab, symptr, reltab, relcount, relsize): Remove.
567 (seh_ctx_root, seh_ctx): Remove.
568 (xdata_seg, xdata_subseg, pdata_seg): New.
569 (switch_xdata, switch_pdata): New.
570 (verify_context, verify_context_and_target, skip_whitespace_and_comma):
571 New parsing functions. Rewrite all parsing functions to use them.
572 (obj_coff_seh_32): Fix != arm thinko.
573 (obj_coff_seh_handler): For x64, don't accept handler pointer here,
575 (obj_coff_seh_handlerdata): New.
576 (do_seh_endproc): Split out of ...
577 (obj_coff_seh_endproc): ... here.
578 (obj_coff_seh_proc): Use it, if needed.
579 (seh_x64_make_prologue_element): Use XRESIZEVEC, symbol_temp_new_now.
580 (seh_x64_read_reg): Remove mm_regs alternative. Tidy integer reg
581 alternatives. Don't slurp commas.
582 (seh_read_offset): Remove.
583 (obj_coff_seh_pushframe): Split out from obj_coff_seh_push.
584 (obj_coff_seh_scope): Remove.
585 (obj_coff_seh_save): Decide UWOP_SAVE_* vs _FAR immediately.
586 (obj_coff_seh_stackalloc): Decide _SMALL vs _LARGE immediately.
587 (out_one, out_two, out_four): New.
588 (seh_x64_write_prologue_data, seh_x64_size_prologue_data,
589 seh_x64_write_function_xdata, write_function_xdata): Rewrite
590 from seh_x64_write_xdata, seh_needed_unwind_info, seh_store_elm_data,
591 seh_getelm_data_size, seh_getsize_of_unwind_entry,
592 seh_make_unwind_entry, seh_getsize_unwind_data, and
593 seh_create_unwind_data.
594 (seh_arm_write_function_pdata): Rewrite from seh_arm_create_pdata.
595 (write_function_pdata): Rewrite from make_function_entry_pdata.
596 (seh_write_text_eh_data, make_function_entry_pdata,
597 seh_arm_create_pdata, seh_arm_write_pdata, seh_reloc, save_relocs,
598 seh_symbol_init, seh_symbol, quick_section, seh_emit_rva,
599 seh_emit_long, seh_make_globl, seh_make_section2, seh_make_section,
600 seh_make_xlbl_name, make_seh_text_label, seh_fill_pcsyms,
601 seh_needed_unwind_info, seh_store_elm_data, seh_getelm_data_size,
602 seh_getsize_of_unwind_entry, seh_make_unwind_entry,
603 seh_getsize_unwind_data, seh_create_unwind_data,
604 seh_make_function_entry_xdata, seh_x64_makescope_elem): Remove.
605 * config/obj-coff-seh.h (SEH_CMDS): Remove seh_savemm, seh_scope.
606 Add seh_handlerdata. Adjust function/what arguments for
607 seh_savereg, seh_pushframe, seh_stackalloc.
608 (struct seh_prologue_element): Adjust members to closer match
609 the elements of the UNWIND_CODE structure.
610 (struct seh_scope_elem): Remove.
611 (struct seh_context): Replace char* members with symbolS or
612 expressionS as appropriate. Sort members by ARM/x64 applicability.
613 Remove obsolete stuff wrt direct symbol and reloc manipulation.
615 2010-08-25 Alan Modra <amodra@gmail.com>
617 * NEWS: Mention ampersand in macro change.
619 2010-08-25 Gunther Nikl <gnikl@users.sourceforge.net>
621 * configure.tgt (m68k-*-aout): Change to bfd_gas=yes.
623 2010-08-25 Alan Modra <amodra@gmail.com>
625 * config/tc-d10v.c (do_assemble): Correctly detect overflow of
627 * config/tc-m68hc11.c (md_assemble): Likewise.
628 * config/tc-microblaze.c (md_assemble): Likewise. Correct cast
629 of is_end_of_line index.
631 2010-08-25 Jie Zhang <jie@codesourcery.com>
633 * config/tc-arm.c (encode_arm_addr_mode_2): Fix comment.
635 2010-08-25 Jie Zhang <jie@codesourcery.com>
637 * config/tc-arm.c (encode_arm_addr_mode_2): Fix
638 BAD_PC_ADDRESSING condition.
640 2010-08-20 Maciej W. Rozycki <macro@codesourcery.com>
642 * doc/c-arm.texi (ARM Options): Document -mfpu=fp4-sp-d16.
644 2010-08-19 H.J. Lu <hongjiu.lu@intel.com>
646 * config/tc-i386.c (VEX_check_operands): Fix a typo in comments.
648 2010-08-18 H.J. Lu <hongjiu.lu@intel.com>
650 * config/tc-i386.c (build_modrm_byte): Check i.imm_operands
653 2010-08-18 Alan Modra <amodra@gmail.com>
655 * macro.c (sub_actual): Add back ampersand suffix when no
657 (macro_expand_body): Correct comment.
659 2010-08-17 Roland McGrath <roland@redhat.com>
661 * config/obj-elf.c (obj_elf_parse_section_letters): Take new
662 boolean result parameter CLONE; set it if '?' flag letter seen.
663 (obj_elf_section): Update caller. Handle that flag by copying
664 the LINKONCE and GROUP_NAME state from NOW_SEG.
665 * doc/as.texinfo (Section): Document the ? flag.
667 2010-08-09 Cary Coutant <ccoutant@google.com>
669 * as.c (show_usage): Don't list --compress-debug-sections if zlib not
671 (main): Warn if --compress-debug-sections requested and zlib not
673 * doc/as.texinfo: Add --compress-debug-sections,
674 --nocompress-debug-sections.
676 2010-08-06 H.J. Lu <hongjiu.lu@intel.com>
678 * config/tc-i386.c (set_cpu_arch): Re-indent.
679 (md_parse_option): Likewise.
681 2010-08-06 Quentin Neill <quentin.neill@amd.com>
683 * config/tc-i386.c (arch_entry): Add negated bit to
684 disambiguate flag names starting with "no".
685 (cpu_arch): Add negated bit definitions. Add
686 ".nop" CPU extension.
687 (i386_align_code): Use new .cpunop bit to decide
688 when to generate alignment using nops.
689 (set_cpu_arch): Use negated bit instead to decide
690 when to use cpu_flags or vs. cpu_flags_and_not.
691 (md_parse_option): Likewise.
693 2010-08-04 H.J. Lu <hongjiu.lu@intel.com>
695 * config/tc-i386.c (match_template): Move the first i.error
698 2010-08-04 Alan Modra <amodra@gmail.com>
700 * configure.tgt (m32c): Set endian=little.
701 * config/tc-m32c.h (TARGET_BYTES_BIG_ENDIAN): Define as 0.
702 * config/tc-m32c.c (md_number_to_chars): Revert last change.
704 2010-08-03 Tristan Gingold <gingold@adacore.com>
706 * makefile.vms (OBJS): Add Add compress-debug.c.
708 2010-08-03 Alan Modra <amodra@gmail.com>
710 * config/tc-d10v.h (TARGET_BYTES_BIG_ENDIAN): Define as 1.
711 * config/tc-m32c.c (md_number_to_chars): Call bigendian
712 form of number_to_chars, not littleendian.
714 2010-08-02 Alan Modra <amodra@gmail.com>
716 * config/tc-d30v.c (d30v_cons_align): Don't align constants
719 2010-08-02 Alan Modra <amodra@gmail.com>
722 * expr.c (operand <'-' and '~'>): Widen bignums.
723 (operand <'!'>): Correct bignum result and convert to O_constant.
724 * read.c (emit_expr): Don't assert on .byte bignum. Don't display
725 bignum truncated warning for sign extended bignums.
727 2010-08-02 Alan Modra <amodra@gmail.com>
729 * config/tc-v850.c (md_assemble): Always pass format string to
731 (md_apply_fix): Similarly for as_warn_where.
733 2010-07-29 H.J. Lu <hongjiu.lu@intel.com>
735 * config/tc-i386-intel.c: Reformat.
737 2010-07-29 Alan Modra <amodra@gmail.com>
739 * config/tc-ppc.c (ppc_fix_adjustable): Add got reloc types used
742 2010-07-28 Alan Modra <amodra@gmail.com>
745 * symbols.c (symbol_clone): Correct typo in previous patch.
747 2010-07-28 Alan Modra <amodra@gmail.com>
750 * symbols.c (symbol_clone): Clear BSF_SECTION_SYM flag.
752 2010-07-28 Alan Modra <amodra@gmail.com>
754 * config/tc-ppc.c (md_assemble): Don't attempt to print NUL in
755 syntax error message.
757 2010-07-27 Maciej W. Rozycki <macro@codesourcery.com>
759 * config/tc-mips.c (mips16_macro_build): Pass "args" by
760 reference rather than value.
761 (macro_build): Update accordingly.
763 2010-07-27 Maciej W. Rozycki <macro@codesourcery.com>
765 * config/tc-mips.c (mips_ip): Use symbol_temp_new_now to create
768 2010-07-24 Maciej W. Rozycki <macro@codesourcery.com>
770 * config/tc-mips.c (macro)[M_JAL_1, M_JAL_2]: Handle the JALR
771 delay slot in the noreorder mode with the o32 ABI.
773 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
774 Ina Pandit <ina.pandit@kpitcummins.com>
776 * config/tc-v850.c: Update processor_mask.
777 (reg_name): Update the structure to use processors field.
778 (md_relax_table): Define SUBYPTE_COND_9_22, SUBYPTE_SA_9_22,
779 SUBYPTE_UNCOND_9_22, SUBYPTE_COND_9_22_32, SUBYPTE_SA_9_22_32,
780 SUBYPTE_UNCOND_9_22_32, SUBYPTE_COND_9_17_22,
781 SUBYPTE_SA_9_17_22, SUBYPTE_COND_9_17_22_32 and
782 SUBYPTE_SA_9_17_22_32.
783 (set_machine): Add support for V850E2 and V850E2V3.
784 (md_pseudo_table): Likewise.
785 (pre_defined_registers): Update pre defined registers suitable
786 for each family of registers.
787 (system_registers): Likewise.
788 (cc_names): Update the condition code.
789 (float_cc_names): Update the condition code for float.
790 (reg_name_search): Update based on current modifications.
791 (register_name): Likewise.
792 (system_register_name): Update to support new system registers
793 and supported families.
794 (cc_name): Update to support new condition codes.
795 (float_cc_name): New function to support float condition codes.
796 (parse_register_list): Update to support newly added registers.
797 (md_show_usage): Define support for V850E2 and V850E2V3 targets.
798 Also support added for disp-size-default-22, disp-size-default-32,
799 mextension, mno-bcond17 and mno-stld23.
800 (md_parse_option): Implement the support for above options defined
802 (md_convert_frag): Implement support for subtypes defined in
803 md_relax_table to support branch operations.
804 (md_begin): Add support for V850E2 and V850E2V3.
805 (handle_hi016, handle_hi16): new relocation handling functions
806 (handle_lo16, handle_ctoff, handle_sdaoff, handle_zdaoff,
807 handle_tdaoff): Updated relocation handling functions for newly
809 (v850_reloc_prefix): Update the relocation handling functions.
810 (v850_insert_operand): Updated the functions with error message
811 parameter and modified the function to use it.
812 (md_assemble): Update according to the latest modifications.
813 (md_apply_fix): Updated the functions with error message parameter
814 and modified the function to use it.
815 (v850_force_relocation): Update with newly added relocations.
816 * configure.tgt: Match all v850 targets.
817 * doc/c-v850.texi: Document the newly added targets.
820 2010-07-23 Alan Modra <amodra@gmail.com>
823 * macro.c (macro_expand): Recover gracefully from named args that
826 2010-07-22 Thomas Schwinge <thomas@codesourcery.com>
828 Switch MIPS to 32-bit DWARF format.
829 * config/tc-mips.h (DWARF2_FORMAT): Only define for [TE_IRIX].
830 * config/tc-mips.c (mips_dwarf2_format): Likewise.
832 2010-07-20 Alan Modra <amodra@gmail.com>
834 * config/tc-ppc.c (ppc_setup_opcodes): Add all macros for -many.
836 2010-07-16 Alan Modra <amodra@gmail.com>
838 * config/tc-rx.c (md_estimate_size_before_relax): Fix format
839 specifier warnings for 32-bit host when --enable-64-bit-bfd.
840 (rx_relax_frag, md_convert_frag): Likewise.
842 2010-07-15 Cary Coutant <ccoutant@google.com>
844 * gas/NEWS: Add note about --compress-debug-sections.
845 * gas/as.c (show_usage): Add --compress-debug-sections and
846 --nocompress-debug-sections.
848 2010-07-15 Rhonda Wittels <rhonda@codesourcery.com>
850 * config/obj-elf.c (get_sym_from_input_line_and_check): New
851 function to catch missing pseudo-op arguments.
852 (obj_elf_local): Call new function.
853 (obj_elf_weak): Likewise.
854 (obj_elf_visibility): Likewise.
855 (obj_elf_vtable_entry): Likewise.
856 (obj_elf_type): Likewise.
858 2010-07-15 Kai Tietz <kai.tietz@onevision.com>
860 * config/obj-coff-seh.c
861 (seh_getelm_data_size): New.
862 (seh_read_offset): Handle negative values.
863 (obj_coff_seh_push): Handle offset for save-register store.
864 (obj_coff_seh_setframe): Add unwind-information for frame.
865 (seh_store_elm_data): New.
866 (seh_getelm_data_size): Return additionally unaligned element count.
867 (seh_make_unwind_entry): Correct tweak about element count.
869 2010-07-12 H.J. Lu <hongjiu.lu@intel.com>
872 * config/tc-i386-intel.c (i386_intel_simplify): Restore fall
873 through patch for O_multiply.
875 2010-07-11 Kai Tietz <kai.tietz@onevision.com>
878 * config/obj-coff.c (obj_common_parse): Quote symbol-name.
880 2010-07-08 Tejas Belagod <tejas.belagod@arm.com>
882 * tc-arm.c (OP_oBARRIER): Remove.
883 (OP_oBARRIER_I15): Add.
884 (po_barrier_or_imm): Add macro.
885 (parse_operands): Improve OP_oBARRIER_I15 operand parsing.
886 (do_barrier): Check correct immediate range.
887 (do_t_barrier): Likewise.
888 (barrier_opt_names): Add entries for more symbolic operands.
889 (insns): Replace OP_oBARRIER with OP_oBARRIER_I15 for barriers.
891 2010-07-08 Daniel Gutson <dgutson@codesourcery.com>
893 * config/tc-arm.c (tc_gen_reloc): Add BFD_RELOC_ARM_T32_OFFSET_IMM
896 2010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
898 * config/tc-mips.c (mips_frob_file): Use symbol_same_p to match
901 2010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
903 * config/tc-mips.c (nops_for_insn_or_target): Replace
904 MIPS16_INSN_BRANCH with MIPS16_INSN_UNCOND_BRANCH and
905 MIPS16_INSN_COND_BRANCH.
907 2010-07-05 Jim Wilson <wilson@codesourcery.com>
911 * dwarf2dbg.c (dwarf2_finish): Don't generate .debug_line section
914 2010-07-05 Alan Modra <amodra@gmail.com>
916 * config/tc-moxie.c (md_apply_fix): Delete set but otherwise
919 2010-07-04 H.J. Lu <hongjiu.lu@intel.com>
921 * Makefile.am (CONFIG_OBJS): Removed.
922 (GENERIC_OBJS): Likewise.
924 * Makefile.in: Regenerated.
926 2010-07-03 Jan Beulich <jbeulich@novell.com>
929 * config/tc-i386.c (i386_finalize_displacement): Don't call
930 section_symbol() with expr_section.
932 2010-07-03 Cary Coutant <ccoutant@google.com>
934 * Makefile.am: Add compress-debug.c and compress-debug.h.
935 * Makefile.in: Regenerate.
936 * config.in: Add HAVE_ZLIB_H.
937 * configure.in: Check for zlib.h.
938 * configure: Regenerate.
940 * as.c (parse_args): Add --compress-debug-sections and
941 --nocompress-debug-sections.
942 * as.h (flag_compress_debug): New variable.
943 * compress-debug.c: New file.
944 * compress-debug.h: New file.
945 * write.c: Include compress-debug.h.
946 (compress_frag): New function.
947 (compress_debug): New function.
948 (write_object_file): Compress debug sections if requested.
950 2010-07-03 Andreas Schwab <schwab@linux-m68k.org>
952 * config/tc-ppc.c (ppc_set_cpu): Cast PPC_OPCODE_xxx to ppc_cpu_t
955 2010-07-03 Alan Modra <amodra@gmail.com>
957 * config/tc-ppc.c (ppc_set_cpu): Remove old opcode flags.
958 (ppc_setup_opcodes): Likewise. Simplify opcode selection.
960 2010-07-02 DJ Delorie <dj@redhat.com>
962 * config/tc-rx.h (md_do_align): New.
963 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
964 * config/tc-rx.c (nops): New.
965 (rx_handle_align): Use various sized nops to align code.
967 * config/tc-rx.c (rx_bytesT): Add grown/shrank counters for
969 (rx_relax_frag): Prevent infinite loops of grow/shrink/grow/etc.
971 2010-07-01 H.J. Lu <hongjiu.lu@intel.com>
973 AVX Programming Reference (June, 2010)
974 * config/tc-i386.c (cpu_arch): Add .xsaveopt, .fsgsbase, .rdrnd
977 * doc/c-i386.texi: Document xsaveopt, fsgsbase, rdrnd and f16c.
979 2010-07-01 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
981 * config/tc-arm.c (do_t_mov_cmp): Fix reporting of unpredictable and
982 deprecated mov register instructions.
984 2010-07-01 Alan Modra <amodra@gmail.com>
986 * config/tc-ppc.c (toc_reloc_types): New variable.
987 (md_assemble): Set it.
988 (ppc_frob_file_before_adjust): Don't warn about toc section size
989 if we have large toc relocs and no small toc relocs.
991 2010-06-29 Alan Modra <amodra@gmail.com>
993 * config/tc-maxq.h: Delete file.
994 * config/tc-maxq.c: Delete file.
995 * Makefile.am: Remove references to maxq.
996 * configure.tgt: Likewise.
997 * config/obj-coff.h: Likewise.
998 * Makefile.in: Regenerate.
999 * configure: Regenerate.
1000 * po/POTFILES.in: Regenerate.
1002 2010-06-28 Alan Modra <amodra@gmail.com>
1004 * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define.
1005 * config/tc-crx.c (gettrap): Constify arg.
1006 (handle_LoadStor, get_cinv_parameters): Likewise.
1007 (getreg_image): Fix enum warning
1008 (md_assemble): Restore input line char.
1009 * config/tc-hppa.c (tc_gen_reloc): Fix enum warning.
1010 * config/tc-i960.c (mem_fmt): Rename var to fix shadow warning.
1011 * config/tc-sh.c (sh_fdpic): Only define when OBJ_ELF.
1012 (build_Mytes): Fix build failure for non-elf targets.
1013 * config/tc-tic4x.c (tic4x_eval): Restore terminator char.
1014 * config/tc-xtensa.c (xtensa_end_directive): Fix switch enum warning.
1016 * cgen.c (gas_cgen_md_apply_fix): Avoid set but unused warning.
1017 * ecoff.c (add_ecoff_symbol): Likewise.
1018 * itbl-ops.c (append_insns_as_macros): Likewise.
1019 * listing.c (debugging_pseudo): Likewise.
1020 * read.c (s_mri_common, stringer): Likewise.
1021 * config/obj-coff.c (coff_frob_section): Likewise.
1022 * config/tc-alpha.c (emit_ldgp, s_alpha_proc): Likewise.
1023 * config/tc-arm.c (my_get_expression): Likewise.
1024 * config/tc-hppa.c (process_exit, pa_type_args): Likewise.
1025 * config/tc-m32c.c (md_assemble): Likewise.
1026 * config/tc-microblaze.c (md_convert_frag): Likewise.
1027 * config/tc-mips.c (s_change_section): Likewise.
1028 * config/tc-mt.c (mt_fix_adjustable): Likewise.
1029 * config/tc-xtensa.c (xtensa_literal_pseudo): Likewise.
1031 * config/obj-aout.c (obj_aout_frob_symbol): Delete set but otherwise
1033 * config/tc-alpha.c (load_expression): Likewise.
1034 (s_alpha_rdata, s_alpha_section, s_alpha_prologue): Likewise.
1035 * config/tc-arm.c (parse_neon_el_struct_list): Likewise.
1036 * config/tc-avr.c (extract_word): Likewise.
1037 * config/tc-cris.c (cris_get_expression): Likewise.
1038 * config/tc-d30v.c (build_insn, find_format): Likewise.
1039 * config/tc-dlx.c (machine_ip): Likewise.
1040 * config/tc-hppa.c (pa_get_absolute_expression): Likewise.
1041 * config/tc-i370.c (md_assemble): Likewise.
1042 * config/tc-i960.c (brtab_emit): Likewise.
1043 * config/tc-iq2000.c (s_iq2000_ent): Likewise.
1044 * config/tc-m32c.c (md_convert_frag): Likewise.
1045 * config/tc-m68hc11.c (fixup24, build_jump_insn): Likewise.
1046 (md_estimate_size_before_relax, md_apply_fix): Likewise.
1047 * config/tc-m68k.c (md_show_usage): Likewise.
1048 * config/tc-microblaze.c (microblaze_s_lcomm): Likewise.
1049 * config/tc-mips.c (s_mips_end): Likewise.
1050 * config/tc-mmix.c (mmix_byte, mmix_cons): Likewise.
1051 * config/tc-mn10300.c (md_assemble): Likewise.
1052 * config/tc-msp430.c (extract_word): Likewise.
1053 * config/tc-mt.c (md_assemble): Likewise.
1054 * config/tc-or32.c (machine_ip): Likewise.
1055 * config/tc-pj.c (md_apply_fix): Likewise.
1056 * config/tc-s390.c (md_gather_operands): Likewise.
1057 * config/tc-sh.c (sh_cons_align): Likewise.
1058 * config/tc-sparc.c (sparc_cons_align): Likewise.
1059 * config/tc-tic4x.c (tic4x_sect): Likewise.
1060 * config/tc-tic54x.c (tic54x_stringer): Likewise.
1061 * config/tc-vax.c (vip_op): Likewise.
1062 * config/tc-xstormy16.c (xstormy16_cons_fix_new): Likewise.
1063 * config/tc-xtensa.c (md_assemble): Likewise.
1064 (xtensa_fix_short_loop_frags, convert_frag_immed): Likewise.
1065 (xtensa_move_literals): Likewise.
1067 2010-06-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1069 * config/tc-arm.c (parse_neon_alignment): New function.
1070 (parse_address_main): Fix Neon load/store alignment parsing.
1072 2010-06-22 Jan Beulich <jbeulich@novell.com>
1074 * config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo
1076 (i386_intel_operand): Remove bogus handling of pseudo symbols
1078 * expr.c (current_location): Remove 'static' and local
1080 * expr.h (current_location): Declare.
1082 2010-06-21 Sterling Augustine <sterling@tensilica.com>
1085 * as.c: Globalize keep_it.
1086 (main): Remove keep_it. Move conditional from here...
1087 (close_output_file): ...to here.
1089 2010-06-21 Andreas Schwab <schwab@redhat.com>
1091 * doc/as.texinfo (Overview): Use @itemx for grouped @table
1093 * doc/c-alpha.texi (Alpha Options): Likewise.
1094 * doc/c-arm.texi (ARM Directives): Likewise.
1095 * doc/c-bfin.texi (Blackfin Options): Likewise.
1096 * doc/c-d10v.texi (D10V-Opts): Likewise.
1097 * doc/c-i386.texi (i386-Options): Likewise.
1098 * doc/c-ia64.texi (IA-64 Options): Likewise.
1099 * doc/c-m68k.texi (M68K-Opts): Likewise.
1100 * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
1101 * doc/internals.texi (Symbols): Likewise.
1103 2010-06-21 Alan Modra <amodra@gmail.com>
1106 * config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
1108 2010-06-18 Joseph Myers <joseph@codesourcery.com>
1110 * config/tc-tic6x.h (tic6x_segment_info_type): Add field
1112 * config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
1113 (md_assemble): Clear func_units_used for new execute packet.
1114 Check for duplicate functional units and update func_units_used
1115 for instructions using a functional unit.
1117 2010-06-15 Joseph Myers <joseph@codesourcery.com>
1119 * config/tc-tic6x.c: Include elf/tic6x.h.
1120 (tic6x_arch_attribute, tic6x_seen_insns): New.
1121 (tic6x_arch_table, tic6x_arches): Add attribute values.
1122 (tic6x_use_arch): Handle attribute settings.
1123 (tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
1124 tic6x_attribute_table, tic6x_attributes,
1125 tic6x_convert_symbolic_attribute): New.
1126 (md_pseudo_table): Add c6xabi_attribute.
1127 (md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
1128 (tic6x_set_attribute_int, tic6x_set_attributes): New.
1129 (tic6x_end): Call tic6x_set_attributes.
1130 * config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
1131 (tic6x_convert_symbolic_attribute): Declare.
1133 2010-06-14 Alan Modra <amodra@gmail.com>
1135 * config/tc-ppc.c (md_assemble): Emit APUinfo section for
1138 2010-06-11 Jan Beulich <jbeulich@novell.com>
1140 * config/tc-i386.c (md_parse_option): Ignore impossible processor
1142 (show_arch): New parameter 'check'.
1143 (md_show_usage): Adjust calls to show_arch().
1145 2010-06-10 H.J. Lu <hongjiu.lu@intel.com>
1147 * config/tc-i386.c (update_code_flag): New.
1148 (set_code_flag): Use it.
1149 (i386_target_format): Replace set_code_flag with update_code_flag.
1151 2010-06-10 Tristan Gingold <gingold@adacore.com>
1153 * config/obj-som.h: Includes som/reloc.h
1155 2010-06-10 Jan Beulich <jbeulich@novell.com>
1157 * config/tc-i386.c (cpu_arch): Add comment.
1158 (i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
1159 from the generic entries of cpu_arch[].
1161 2010-06-08 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1163 * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
1165 (parse_operands): Add support for OP_RRnpctw.
1166 (insns): Update floating-point load/store multiples so the
1167 first register is of type OP_RRnpctw.
1169 2010-06-08 Quentin Neill <quentin.neill@amd.com>
1171 * config/tc-i386.c (pi): Rename local loop counter
1172 variable i that shadows global static i386_insn i
1173 when DEBUG386 is defined.
1176 2010-06-08 Nick Clifton <nickc@redhat.com>
1178 * doc/as.texinfo: Replace abbreviated 20th century year numbers
1181 2010-06-02 Quentin Neill <quentin.neill@amd.com>
1183 * config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
1185 2010-06-02 Tristan Gingold <gingold@adacore.com>
1187 * as.h: Remove conditionnal definition of HAVE_STDARG_H,
1188 USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
1189 Remove conditionnal inclusion of stdarg.h and varargs.h.
1191 * config.in: Regenerate.
1192 * configure: Regenerate.
1193 * configure.in: Remove stdarg.h and varargs.h from
1194 AC_CHECK_HEADERS list.
1195 * messages.c (as_tsktsk): Remove non ISO C version.
1196 (as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
1198 2010-05-31 Tristan Gingold <gingold@adacore.com>
1200 * config/tc-alpha.c: Add comments for evax.
1201 * config/obj-evax.c: Ditto.
1203 2010-05-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1205 * config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
1208 2010-05-27 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1210 * config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
1211 writeback when base register is in register list an error, and
1213 (do_t_ldmstm): Change warnings.
1215 2010-05-26 Catherine Moore <clm@codesourcery.com>
1217 * config/tc-mips.c (is_opcode_valid): Remove expansionp.
1218 (macro_build): Change invocation of is_opcode_valid.
1219 (mips_ip): Likewise.
1221 2010-05-25 Nick Clifton <nickc@redhat.com>
1223 * Makefile.am (MOSTLYCLEANFILES): Fix typo.
1224 * Makefile.in: Regenerate.
1226 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
1227 Joseph Myers <joseph@codesourcery.com>
1228 Andrew Stubbs <ams@codesourcery.com>
1230 * config/tc-sh.c (sh_fdpic): New.
1231 (sh_check_fixup): Handle relocations on movi20.
1232 (parse_exp): Do not reject PIC operators here.
1233 (build_Mytes): Check for unhandled PIC operators here. Use
1234 sh_check_fixup for movi20.
1235 (enum options): Add OPTION_FDPIC.
1236 (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
1237 (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
1238 (sh_elf_final_processing): Handle --fdpic.
1239 (sh_uclinux_target_format): New.
1240 (sh_parse_name): Handle FDPIC relocation operators.
1241 * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
1242 (sh_uclinux_target_format): Declare for TE_UCLINUX.
1243 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
1245 * doc/c-sh.texi (SH Options): Document --fdpic.
1247 2010-05-25 Jay Krell <jay.krell@cornell.edu>
1250 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
1251 * Makefile.in: Regenerate.
1253 2010-05-25 Alan Modra <amodra@gmail.com>
1255 * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
1257 2010-05-19 Nick Clifton <nickc@redhat.com>
1259 * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
1260 of known section prefixes.
1262 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
1265 * obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
1266 (obj_elf_parse_section_letters): Likewise.
1267 (obj_elf_section_word): Likewise.
1269 * config/tc-ppc.c (ppc_section_letter): Removed.
1270 (ppc_section_word): Likewise.
1271 * config/tc-ppc.h (ppc_section_letter): Likewise.
1272 (ppc_section_word): Likewise.
1273 (md_elf_section_letter): Likewise.
1274 (md_elf_section_word): Likewise.
1276 * doc/as.texinfo: Document `e' and `#exclude'.
1278 2010-05-13 Nathan Sidwell <nathan@codesourcery.com>
1280 * config/tc-arm.c (md_assemble): Clarify current mode in error
1281 messages about unsupported instructions.
1282 (UT): Delete #define.
1283 (insns): Adjust cbnz, cbz appropriately.
1285 2010-05-11 Andrew Stubbs <ams@codesourcery.com>
1287 * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
1289 2010-05-11 Jie Zhang <jie@codesourcery.com>
1291 * config/tc-arm.c (aeabi_set_public_attributes): Set
1292 Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
1294 2010-05-07 Tristan Gingold <gingold@adacore.com>
1296 * Makefile.in: Regenerate with automake 1.11.1.
1297 * aclocal.m4: Ditto.
1298 * doc/Makefile.in: Ditto.
1300 2010-05-05 Nick Clifton <nickc@redhat.com>
1302 * po/es.po: Updated Spanish translation.
1304 2010-05-05 Julian Brown <julian@codesourcery.com>
1306 * read.c (cons_worker): Detect and reject unexpected string argument.
1308 2010-05-04 Nick Clifton <nickc@redhat.com>
1310 * write.c (fixup_segment): Revert previous delta.
1311 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
1312 generation of relocations for fixups against weak symbols.
1314 2010-04-29 Nathan Sidwell <nathan@codesourcery.com>
1316 * write.c (fixup_segment): Do not assume we know the section a
1317 defined weak symbol is in.
1318 * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
1319 weak symbols as not known to be in the same section, even if they
1322 2010-04-27 Joseph Myers <joseph@codesourcery.com>
1324 * config/tc-tic6x.h (tic6x_label_list): New.
1325 (tic6x_segment_info_type): Keep a list of labels and a current
1326 frag instead of a boolean for whether labels seen and a count of
1328 (tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
1329 md_do_align, tic6x_do_align, md_end, tic6x_end): New.
1330 * config/tc-tic6x.c (tic6x_frob_label): Put label on list.
1331 (tic6x_cleanup): Correct comment.
1332 (tic6x_free_label_list): New.
1333 (tic6x_cons_align): Free label list and update for
1334 tic6x_segment_info_type changes.
1335 (tic6x_do_align): New.
1336 (md_assemble): Handle list of labels and saved frag for execute
1337 packet. Create machine-dependent frag for new execute packet and
1338 adjust labels accordingly.
1339 (tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
1340 (md_convert_frag, md_estimate_size_before_relax): Update comments.
1342 2010-04-24 H.J. Lu <hongjiu.lu@intel.com>
1345 * config/tc-i386-intel.c (intel_state): Add is_indirect.
1346 (i386_intel_operand): Initialize intel_state.is_indirect. Check
1347 intel_state.is_indirect for "call|jmp [symbol]".
1349 2010-04-22 Nick Clifton <nickc@redhat.com>
1351 * po/gas.pot: Updated by the Translation project.
1353 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1355 * config/tc-i386.c (i386_is_register): Removed.
1356 (x86_cons): Don't use i386_is_register.
1357 (parse_register): Likewise.
1358 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
1359 (i386_intel_operand): Likewise.
1361 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1363 * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
1366 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1368 * config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
1369 (x86_cons): Updated.
1370 (parse_register): Likewise.
1371 (tc_x86_parse_to_dw2regnum): Likewise.
1372 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
1373 (i386_intel_operand): Likewise.
1375 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1378 * config/tc-i386-intel.c (i386_intel_simplify_register): New.
1379 (i386_intel_simplify): Use i386_is_register and
1380 i386_intel_simplify_register. Set X_md for O_register and
1381 check X_md for O_constant.
1382 (i386_intel_operand): Use i386_is_register.
1384 * config/tc-i386.c (i386_is_register): New.
1385 (x86_cons): Initialize the X_md field. Use i386_is_register.
1386 (parse_register): Use i386_is_register.
1387 (tc_x86_parse_to_dw2regnum): Likewise.
1389 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1391 * expr.c (expr): Initialize the X_md field.
1393 2010-04-20 Joseph Myers <joseph@codesourcery.com>
1395 * config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
1396 (md_longopts): Add -mgenerate-rel.
1397 (tic6x_generate_rela): New.
1398 (md_parse_option): Handle -mgenerate-rel.
1399 (md_show_usage): Add comment that -mgenerate-rel is undocumented.
1400 (tic6x_init_after_args): New.
1401 (md_apply_fix): Correct shift calculations for SB-relative
1403 (md_pcrel_from): Change to tic6x_pcrel_from_section. Do not
1404 adjust addresses for relocations referencing symbols in other
1406 (tc_gen_reloc): Adjust addend calculations for REL relocations.
1407 * config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
1408 tic6x_pcrel_from_section, tc_init_after_args,
1409 tic6x_init_after_args): New.
1411 2010-04-20 Nick Clifton <nickc@redhat.com>
1414 * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
1415 altmacro mode if found inside a quoted string.
1417 2010-04-20 Mike Frysinger <vapier@gentoo.org>
1419 * config/bfin-lex.l (parse_int): Change index() to strchr().
1421 2010-04-16 Nick Clifton <nickc@redhat.com>
1424 * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
1425 matcher to accept and unconditional 32-bit add instruction.
1426 (pa_build_unwind_subspace): Cope with error conditions not
1427 allowing the start symbol to be set.
1429 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1431 * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
1432 new tag names in v2.08 of ARM ABI.
1433 * doc/c-arm.texi: Document new tag names in ABI.
1435 2010-04-14 Tristan Gingold <gingold@adacore.com>
1437 * config/tc-alpha.c: Includes vms/egps.h on EVAX.
1438 (s_alpha_comm): Used new EGPS macros from egps.h
1439 (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
1440 (s_alpha_section_word): Add comments. Use new EGPS macros.
1441 Adjust for modified bfd_vms_set_section_flags function.
1443 2010-04-10 Alan Modra <amodra@gmail.com>
1446 * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
1448 2010-04-09 Nick Clifton <nickc@redhat.com>
1450 * as.c (create_obj_attrs_section): Remove unused variable addr.
1451 * listing.c (listing_listing): Remove unused variable message.
1452 * read.c: Remove unnecessary register type qualifiers.
1453 (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
1456 2010-04-07 Eric B. Weddington <eric.weddington@atmel.com>
1458 * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
1459 atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
1460 atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
1461 atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
1462 atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
1463 atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
1464 atmega88pa, attiny461a, attiny84a, m3000.
1465 Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
1466 atmega8hvd, attiny327, m3000f, m3000s, m3001b.
1467 * doc/c-avr.texi: Same.
1469 2010-04-07 Jie Zhang <jie@codesourcery.com>
1471 * config/tc-arm.c (make_mapping_symbol): Handle the case
1472 that multiple mapping symbols have the same value 0.
1474 2010-04-07 Alan Modra <amodra@gmail.com>
1476 * configure: Regenerate.
1478 2010-04-06 Nick Clifton <nickc@redhat.com>
1480 * po/ru.po: New Russian translation.
1481 * configure.in (ALL_LINGUAS): Add ru.
1482 * configure: Regenerate.
1484 2010-03-30 H.J. Lu <hongjiu.lu@intel.com>
1487 * input-scrub.c (input_scrub_next_buffer): Use memmove instead
1488 of memcpy to copy overlap memory.
1490 2010-03-25 Joseph Myers <joseph@codesourcery.com>
1492 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
1493 (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
1494 * Makefile.in: Regenerate.
1495 * NEWS: Add news entry for TI C6X support.
1496 * app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle
1497 TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in
1498 operands if TC_KEEP_OPERAND_SPACES.
1499 * configure.tgt (tic6x-*-*): New.
1500 * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
1501 TC_PREDICATE_END_CHAR): Define.
1502 * config/tc-tic6x.c, config/tc-tic6x.h: New.
1503 * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
1504 * doc/Makefile.in: Regenerate.
1505 * doc/all.texi (TIC6X): Define.
1506 * doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi.
1507 * doc/c-tic6x.texi: New.
1509 2010-03-22 H.J. Lu <hongjiu.lu@intel.com>
1511 * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
1513 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
1515 * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
1516 with operand_size_mismatch.
1517 (operand_size_match): Updated.
1518 (match_template): Likewise.
1520 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
1522 * config/tc-i386.c (i386_error): New.
1523 (_i386_insn): Replace err_msg with error.
1524 (operand_size_match): Set error instead of err_msg on failure.
1525 (operand_type_match): Likewise.
1526 (operand_type_register_match): Likewise.
1527 (VEX_check_operands): Likewise.
1528 (match_template): Likewise. Use error instead of err_msg with
1531 2010-03-19 Jie Zhang <jie@codesourcery.com>
1533 * config/tc-arm.c (make_mapping_symbol): Hanle the case
1534 that two mapping symbols have the same value.
1536 2010-03-18 Daniel Jacobowitz <dan@codesourcery.com>
1538 * doc/c-arm.texi (.setfp): Correct example.
1540 2010-03-18 Wei Guozhi <carrot@google.com>
1543 * config/tc-arm.c (reloc_names): New relocation names.
1544 (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
1545 (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
1546 * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
1548 2010-03-15 Thomas Schwinge <thomas@codesourcery.com>
1550 * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
1551 cases, and not only for .eh_frame.
1553 * dw2gencfi.c (output_cie): Make it more explicit which code paths
1554 belong to .eh_frame only.
1556 2010-03-13 Segher Boessenkool <segher@kernel.crashing.org>
1558 * config/tc-v850.c (v850_insert_operand): Handle out-of-range
1559 assembler constants on 64-bit hosts.
1561 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
1563 * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
1564 Strip trailing whitespace.
1566 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
1568 * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
1569 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
1571 (bfin_cpus[]): Add 0.0 for bf504 and bf506.
1573 2010-03-10 Jie Zhang <jie@codesourcery.com>
1575 * doc/as.texinfo: Add Blackfin options.
1576 * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
1577 * config/tc-bfin.c (md_show_usage): Show usage for all
1578 Blackfin specific options.
1580 2010-03-09 Alan Modra <amodra@gmail.com>
1583 * listing.c (listing_newline): Correct backslash quote logic.
1585 2010-03-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1587 * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
1588 (ELF_TARGET_FORMAT64): Define.
1590 2010-03-05 Paul Brook <paul@codesourcery.com>
1592 * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
1594 2010-03-02 Andrew Stubbs <ams@codesourcery.com>
1596 * config/tc-sh.c (get_specific): Move overflow checking code to avoid
1597 reading uninitialized data.
1599 2010-03-01 Tristan Gingold <gingold@adacore.com>
1601 * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
1603 2010-02-26 Doug Evans <dje@sebabeach.org>
1605 * configure.tgt: Fix mep cpu case.
1607 2010-02-26 Jie Zhang <jie@codesourcery.com>
1609 * config/tc-arm.c (do_t_strexd): Remove
1610 operand[1] != operand[2] contraint.
1612 2010-02-26 Jie Zhang <jie@codesourcery.com>
1614 * config/tc-arm.c (neon_select_shape): No need to match
1615 the remaining operands in the shape when one operand does
1618 2010-02-26 Jie Zhang <jie@codesourcery.com>
1620 * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
1623 2010-02-25 Doug Evans <dje@sebabeach.org>
1625 * cgen.c: Whitespace fixes.
1626 (weak_operand_overflow_check): Formatting fix.
1628 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
1630 * config/tc-i386.c (match_template): Update error messages.
1632 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
1634 * config/tc-i386.c (_i386_insn): Add err_msg.
1635 (operand_size_match): Set err_msg on failure.
1636 (operand_type_match): Likewise.
1637 (operand_type_register_match): Likewise.
1638 (VEX_check_operands): Likewise.
1639 (match_template): Likewise. Use i.err_msg with as_bad.
1641 2010-02-25 Wu Zhangjin <wuzhangjin@gmail.com>
1643 * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
1644 mips_fix_loongson2f_jump): New variables.
1645 (md_longopts): Add New options -mfix-loongson2f-nop/jump,
1646 -mno-fix-loongson2f-nop/jump.
1647 (md_parse_option): Initialize variables via above options.
1648 (options): New enums for the above options.
1649 (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
1650 (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
1652 (append_insn): call fix_loongson2f().
1653 (mips_handle_align): Replace the implicit nops.
1654 * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
1655 for the new mips_handle_align().
1656 * doc/c-mips.texi: Document the new options.
1658 2010-02-23 Daniel Gutson <dgutson@codesourcery.com>
1660 * config/tc-arm.c (do_rd_rm_rn): Added warning
1663 2010-02-23 Andrew Zabolotny <anpaza@mail.ru>
1666 * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
1667 (avr_cons_fix_new): Handle fixups of a single byte.
1669 2010-02-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1672 * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
1673 compiler's predefines.
1675 2010-02-19 Alan Modra <amodra@gmail.com>
1677 * configure.tgt: Whiltespace. Sort moxie entry.
1679 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1681 * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
1682 * doc/c-arm.texi: Likewise.
1684 2010-02-12 Daniel Gutson <dgutson@codesourcery.com>
1686 * config/tc-arm.c (asm_opcode): operands type
1688 (BAD_PC_ADDRESSING): New macro message.
1689 (BAD_PC_WRITEBACK): Likewise.
1690 (MIX_ARM_THUMB_OPERANDS): New macro.
1691 (operand_parse_code): Added enum values.
1692 (parse_operands): Added thumb/arm distinction,
1693 plus new enum values handling.
1694 (encode_arm_addr_mode_2): Validations enhanced.
1695 (encode_arm_addr_mode_3): Likewise.
1696 (do_rm_rd_rn): Likewise.
1697 (encode_thumb32_addr_mode): Likewise.
1698 (do_t_ldrex): Likewise.
1699 (do_t_ldst): Likewise.
1700 (do_t_strex): Likewise.
1701 (md_assemble): Call parse_operands with
1709 (insns): Updated insns operands.
1711 2010-02-12 Tristan Gingold <gingold@adacore.com>
1712 Douglas B Rupp <rupp@gnat.com>
1714 * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
1715 (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
1716 (pseudo_func): Add an entry for slotcount.
1717 (md_begin): Initialize slotcount pseudo symbol.
1718 (ia64_parse_name): Handle @slotcount parameter.
1719 (ia64_gen_real_reloc_type): Handle slotcount.
1720 (md_apply_fix): Ditto.
1721 * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
1723 2010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com>
1725 * config/tc-xtensa.c (istack_init): Don't call memset.
1727 2010-02-11 Sterling Augustine <sterling@tensilica.com>
1729 * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
1732 2010-02-11 Sterling Augustine <sterling@tensilica.com>
1734 * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
1736 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
1738 * config/tc-i386.c (build_modrm_byte): Reformat.
1740 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
1742 * config/tc-i386.c: Update copyright.
1744 2010-02-10 Quentin Neill <quentin.neill@amd.com>
1745 Sebastian Pop <sebastian.pop@amd.com>
1747 * config/tc-i386.c (vec_imm4) New operand type.
1748 (fits_in_imm4): New.
1749 (VEX_check_operands): New.
1750 (check_reverse): Call VEX_check_operands.
1751 (build_modrm_byte): Reintroduce code for 5
1752 operand insns. Fix whitespace.
1754 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
1756 * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
1759 2010-02-09 Sterling Augustine <sterling@tensilica.com>
1761 * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
1762 (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
1763 (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
1765 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
1767 * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
1768 non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
1769 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
1770 BFD_RELOC_ARM_PCREL_CALL)
1772 2010-02-08 Sterling Augustine <sterling@tensilica.com>
1774 * config/tc-xtensa.c (frag_format_size): Generalize logic to
1775 handle more instruction sizes and fetch widths.
1776 (branch_align_power): Likewise.
1777 (text_align_power): Likewise.
1778 (bytes_to_stretch): Likewise.
1780 2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
1782 * config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs.
1783 (ppc_mach): Handle titan.
1784 * doc/c-ppc.texi: Mention -mtitan.
1786 2010-02-05 Sterling Augustine <sterling@tensilica.com>
1788 * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
1790 (xtensa_fetch_width) ...this.
1792 2010-02-05 Joseph Myers <joseph@codesourcery.com>
1794 * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
1795 MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
1796 * Makefile.in: Regenerate.
1798 2010-02-03 Quentin Neill <quentin.neill@amd.com>
1800 * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
1801 (i386_align_code): Rename PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
1802 * config/tc-i386.h (processor_type): Same.
1803 * doc/c-i386.texi: Change amdfam15 to bdver1.
1805 2010-01-29 Nick Clifton <nickc@redhat.com>
1808 * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
1811 2010-01-27 Dave Korn <dave.korn.cygwin@gmail.com>
1813 * NEWS: Mention new feature.
1814 * config/obj-coff.c (obj_coff_section): Accept digits and use
1815 to override default section alignment power if specified.
1816 * doc/as.texinfo (.section directive): Update documentation.
1818 2010-01-27 H.J. Lu <hongjiu.lu@intel.com>
1820 * config/tc-i386.c (avxscalar): New.
1821 (OPTION_MAVXSCALAR): Likewise.
1822 (build_vex_prefix): Select vector_length for scalar instructions
1824 (md_longopts): Add OPTION_MAVXSCALAR.
1825 (md_parse_option): Handle OPTION_MAVXSCALAR.
1826 (md_show_usage): Add -mavxscalar=.
1828 * doc/c-i386.texi: Document -mavxscalar=.
1830 2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
1832 * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
1835 2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
1837 * write.h (fix_at_start): Declare.
1838 * write.c (fix_new_internal): Add at_beginning parameter.
1839 Use it instead of REVERSE_SORT_RELOCS. Fix the handling of
1840 seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
1841 (fix_new, fix_new_exp): Update accordingly.
1842 (fix_at_start): New function.
1843 * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
1844 (ppc_ref): New function, for OBJ_XCOFF.
1845 (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
1846 * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
1848 2010-01-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1850 * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
1851 on 64-bit Solaris/x86.
1852 Include obj-format.h earlier.
1854 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1856 * config/tc-s390.c (s390_elf_final_processing): New function.
1857 * config/tc-s390.h (elf_tc_final_processing): New macro definition.
1858 (s390_elf_final_processing): Added prototype.
1861 2010-01-20 Nick Clifton <nickc@redhat.com>
1864 * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1. Add
1865 code to handle round-to-zero for VCVT conversions.
1866 (do_neon_cvt): New. Call do_neon_cvt_1.
1867 (do_neon_cvtr): New. Call do_neon_cvt_1.
1868 (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
1871 2010-01-18 Tristan Gingold <gingold@adacore.com>
1873 * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
1875 2010-01-15 Sebastian Pop <sebastian.pop@amd.com>
1877 * config/tc-i386.c (md_assemble): Before accessing the IMM field
1878 check that it's not an XOP insn.
1880 2010-01-14 Jie Zhang <jie.zhang@analog.com>
1882 * config/bfin-aux.h: Remove argument names in function
1884 * config/bfin-lex.l (parse_int): Fix shadowed variable name
1886 * config/bfin-parse.y (value_match): Remove argument names
1888 (notethat): Likewise.
1889 (yyerror): Likewise.
1891 2010-01-13 Daniel Jacobowitz <dan@codesourcery.com>
1893 * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
1895 2010-01-13 Nick Clifton <nickc@redhat.com>
1897 * config/tc-h8300.c (h8300_elf_section): New function - issue a
1898 warning message if a new section is created without setting any
1900 (md_pseudo_table): Intercept section creation pseudos.
1901 (md_pcrel_from): Replace abort with an error message.
1902 * config/obj-elf.c (obj_elf_section_name): Export this function.
1903 * config/obj-elf.h (obj_elf_section_name): Prototype.
1905 2010-01-12 Alan Modra <amodra@gmail.com>
1908 * listing.c (print_source): Add one to line number.
1910 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1912 * Makefile.in: Regenerate.
1913 * configure: Regenerate.
1914 * doc/Makefile.in: Regenerate.
1916 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
1918 * version.c (parse_args): Change to "Copyright 2010".
1920 2010-01-06 Quentin Neill <quentin.neill@amd.com>
1922 * config/tc-i386.c (cpu_arch): Add amdfam15.
1923 (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
1924 * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
1925 * doc/c-i386.texi: Add amdfam15.
1927 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1929 * config/tc-arm.c (do_neon_logic): Accept imm value
1930 in the third operand too.
1931 (operand_parse_code): OP_RNDQ_IMVNb renamed to
1933 (parse_operands): OP_NILO case removed, applied renaming.
1934 (insns): Neon shape changed for some logic instructions.
1936 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1938 * config/tc-arm.c (do_neon_ldx_stx): Added
1939 validation for vector load/store insns.
1941 2010-01-04 Edmar Wienskoski <edmar@freescale.com>
1943 * config/tc-ppc.c (md_show_usage): Document -me500mc64.
1945 2010-01-03 Daniel Gutson <dgutson@codesourcery.com>
1947 * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
1948 (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
1949 (NEON_ENCODE): New macro.
1950 (check_neon_suffixes): New macro.
1951 (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
1952 (do_vfp_nsyn_opcode): Likewise.
1953 (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
1954 (do_vfp_nsyn_cmp): Likewise.
1955 (do_neon_shl_imm): Likewise.
1956 (do_neon_qshl_imm): Likewise.
1957 (neon_dyadic_misc): Likewise.
1958 (do_neon_mac_maybe_scalar): Likewise.
1959 (do_neon_qdmulh): Likewise.
1960 (do_neon_qmovn): Likewise.
1961 (do_neon_qmovun): Likewise.
1962 (do_neon_movn): Likewise.
1963 (neon_mac_reg_scalar_long): Likewise.
1964 (do_neon_vmull): Likewise.
1965 (do_neon_trn): Likewise.
1966 (do_neon_ldx_stx): Likewise.
1967 (neon_dp_fixup): Changed signature and set the flag.
1968 (neon_three_same): Call the above with new signature.
1969 (neon_two_same): Likewise.
1970 (neon_imm_shift): Likewise.
1971 (neon_mul_mac): Likewise.
1972 (do_neon_abs_neg): Likewise.
1973 (neon_mixed_length): Likewise.
1974 (do_neon_ext): Likewise.
1975 (do_neon_mov): Likewise.
1976 (do_neon_tbl_tbx): Likewise.
1977 (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
1978 (neon_compare): Likewise.
1979 (do_neon_shll): Likewise.
1980 (do_neon_cvt): Likewise.
1981 (do_neon_mvn): Likewise.
1982 (do_neon_dup): Likewise.
1983 (md_assemble): Call check_neon_suffixes ().
1985 For older changes see ChangeLog-2009
1991 version-control: never