1 2010-10-29 Bernd Schmidt <bernds@codesourcery.com>
2 Joseph Myers <joseph@codesourcery.com>
4 * config/tc-tic6x.c (OPTION_MDSBT, OPTION_MNO_DSBT): New enum
6 (md_longopts): Add mdsbt and mno-dsbt.
7 (tic6x_dsbt): New static variable.
8 (md_parse_option): Handle OPTION_MDSBT and OPTION_MNO_DSBT.
9 (md_show_usage): Output help text for -mdsbt and -mno-dsbt.
10 (TAG): Add comma at the end.
11 (tic6x_set_attributes): Set Tag_ABI_DSBT.
12 * doc/as.texinfo: Document -mdsbt and -mno-dsbt.
13 * doc/c-tic6x.texi (TIC6X Options): Likewise.
14 (TIC6X Directives): Mention Tag_ABI_DSBT.
16 2010-10-28 Matthias Klose <doko@ubuntu.com>
18 * doc/as.texinfo: Add directory section for info document.
20 2010-10-28 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22 * config/tc-s390.c (md_begin): Only add to hash table if cpu and
25 2010-10-28 Alan Modra <amodra@gmail.com>
27 * config/tc-d30v.c (d30v_cons_align): Don't align .eh_frame.
29 2010-10-26 Alan Modra <amodra@gmail.com>
31 * config/obj-coff.c (coff_format_ops): Fix typo.
33 2010-10-25 Richard Sandiford <rdsandiford@googlemail.com>
35 * config/tc-mips.c (macro2): Delete.
37 2010-10-25 Nathan Sidwell <nathan@codesourcery.com>
39 * config/tc-tic6x.c: Add attribution.
41 2010-10-25 Mark Mitchell <mark@codesourcery.com>
43 * obj.h (struct format_ops): Add adjust_symtab.
44 * config/obj-multi.h (obj_adjust_symtab): Define.
45 * config/obj-aout.c (aout_format_ops): Init new field.
46 * config/obj-coff.c (coff_format_ops): Likewise.
47 * config/obj-ecoff.c (ecoff_format_ops): Likewise.
48 * config/obj-elf.c (elf_format_ops): Likewise.
50 2010-10-25 Alan Modra <amodra@gmail.com>
53 * write.c (relax_frag): Don't allow forward branches to temporarily
54 becomde backward branches.
56 2010-10-23 Mark Mitchell <mark@codesourcery.com>
58 * config/obj-elf.c (elf_adjust_symtab): New. Move group section
59 processing here from elf_frob_file. Ensure that group signature
60 symbols have the name of the group.
61 (elf_frob_file): Move group section processing to
63 * config/obj-elf.h (elf_adjust_symtab): Declare.
64 (obj_adjust_symtab): Define.
65 * config/tc-arm.c (arm_adjust_symtab): Call elf_adjust_symtab.
67 2010-10-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
69 * config/tc-sparc.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define as
71 (ELF64_TARGET_FORMAT): Define as elf64-sparc-sol2.
73 2010-10-21 Joseph Myers <joseph@codesourcery.com>
75 * config/tc-tic6x.c (tic6x_arch_attribute, tic6x_arches,
76 md_assemble, tic6x_set_attributes): Update for attribute renaming.
77 * doc/c-tic6x.texi: Update for attribute renaming.
79 2010-10-19 Alan Modra <amodra@gmail.com>
81 * write.c (relax_segment): Correct address on frag added to stop
82 leb128/align frags bouncing.
84 2010-10-19 Alan Modra <amodra@gmail.com>
87 * frags.h (struct frag): Add "region" field.
88 * write.c (relax_frag): Don't add "stretch" to forward reference
89 target if there is an intervening org or align.
90 (relax_segment): Set region.
92 2010-10-18 Maciej W. Rozycki <macro@linux-mips.org>
94 * config/tc-mips.c (macro)[ldd_std]: Fix the relaxation variant
95 for absolute addressing.
97 2010-10-18 Maciej W. Rozycki <macro@linux-mips.org>
99 * config/tc-mips.c (macro)[M_LD_OB, M_SD_OB]: Handle 64-bit ABIs.
101 2010-10-18 Maciej W. Rozycki <macro@linux-mips.org>
103 * config/tc-mips.c (mips_pseudo_table): Add "sbss".
104 (s_change_sec): Handle it.
106 2010-10-15 Mike Frysinger <vapier@gentoo.org>
108 * config/bfin-parse.y (BYTEOP2M): Call BYTEOP2M().
110 2010-10-14 H.J. Lu <hongjiu.lu@intel.com>
112 * config/tc-i386.c (match_template): Check checkregsize
113 instead of w for register size check.
115 2010-10-14 H.J. Lu <hongjiu.lu@intel.com>
117 * config/tc-i386.c (_i386_insn): Add disp32_encoding.
118 (md_assemble): Don't call optimize_disp if disp32_encoding is
120 (parse_insn): Support .d32 to force 32bit displacement.
121 (output_branch): Use BIG if disp32_encoding is set.
123 * doc/c-i386.texi: Document .d32 encoding suffix.
125 2010-10-11 Steve Kilbane <steve.kilbane@analog.com>
127 * config/bfin-lex.l (FLAGS): New state.
128 (X, Z, S, M, T): Require FLAGS state.
129 ("(", ")"): Start/stop FLAGS state.
131 2010-10-11 David Gibson <david.gibson@analog.com>
133 * config/bfin-aux.h (bfin_loop_attempt_create_label): New prototype.
134 * config/bfin-parse.y (LOOP_BEGIN, LOOP_END): Handle numeric labels.
135 * config/tc-bfin.c (bfin_loop_attempt_create_label): New funtion.
137 2010-10-11 David Gibson <david.gibson@analog.com>
139 * config/tc-bfin.c (bfin_gen_loop): Check symbol before removing.
141 2010-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
143 Fix build with -DDEBUG=7
144 * config/obj-coff.c (s_get_name, symbol_dump): Add prototypes.
146 2010-10-07 Bernd Schmidt <bernds@codesourcery.com>
148 * config/tc-tic6x.c (tic6x_try_encode): Correct encoding of fstg field
149 in SPKERNEL instructions.
151 2010-10-06 Nathan Sidwell <nathan@codesourcery.com>
153 * config/tc-arm.c (encode_branch): Remove superfluous braces.
154 (do_t_branch): Move reloc setting to end of routine.
156 2010-10-04 David Daney <ddaney@caviumnetworks.com>
158 * config/tc-mips.c (mips_fix_cn63xxp1): New variable.
159 (mips_ip): Add errata work around when mips_fix_cn63xxp1 set.
160 (OPTION_FIX_CN63XXP1, OPTION_NO_FIX_CN63XXP1): New enum options
162 (md_longopts): Add options for -mfix-cn63xxp1 and -mno-fix-cn63xxp1.
163 (md_parse_option): Handle OPTION_FIX_CN63XXP1 and
164 OPTION_NO_FIX_CN63XXP1.
165 (md_show_usage): Add documentation for -mfix-cn63xxp1.
166 * doc/c-mips.texi (-mfix-cn63xxp1, -mno-fix-cn63xxp1): Document
169 2010-09-29 Bernd Schmidt <bernds@codesourcery.com>
171 * gas/tic6x/insns-bad-1.s: Remove test for readonly tscl.
172 * gas/tic6x/insns-bad-1.l: Likewise.
173 * gas/tic6x/insns-c674x.d: Add test for writeable tscl.
174 * gas/tic6x/insns-c674x.s: Likewise.
176 2010-09-29 Alan Modra <amodra@gmail.com>
178 * expr.c (expr): Correct returned segment value.
180 2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
182 * configure: Regenerate.
184 2010-09-27 Bernd Schmidt <bernds@codesourcery.com>
186 * config/tc-tic6x.c (tic6x_fix_adjustable): New function.
187 * config/tc-tic6x.h (tic6x_fix_adjustable): Declare.
188 (tc_fix_adjustable): New macro.
190 2010-09-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
192 * config/tc-s390.c: (md_parse_option): New option -march=z196.
193 * doc/c-s390.texi: Document new option.
195 2010-09-27 Tejas Belagod <tejas.belagod@arm.com>
197 * config/tc-arm.c (do_neon_ldr_str): Deprecate ARM-mode PC-relative
198 VSTR, issue an error in THUMB mode.
200 2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
202 * config/tc-arm.c (arm_ext_virt): New variable.
203 (arm_reg_type): Add REG_TYPE_RNB for banked registers.
204 (reg_entry): Allow registers to be larger than a byte.
205 (reg_alias): Fix type warning.
206 (parse_operands): Parse banked registers when appropriate.
207 (do_mrs): Add support for Virtualization Extensions.
208 (do_hvc): New function.
209 (do_t_mrs): Add support for Virtualization Extensions.
210 (do_t_msr): Likewise.
211 (do_t_hvc): New function.
212 (SPLRBANK): New define.
213 (reg_names): Add banked registers.
214 (insns): Add support for Virtualization Extensions.
215 (md_apply_fixup): Likewise.
216 (arm_cpus): -mcpu=cortex-a15 implies the Virtualization Extensions.
217 (arm_extensions): Add 'virt' extension.
218 (aeabi_set_public_attributes): Add support for Virtualization
220 * doc/c-arm.texi: Document 'virt' extension.
222 2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
224 * config/tc-arm.c (arm_ext_adiv): New variable.
225 (do_div): New function.
226 (insns): Accept UDIV and SDIV in ARM state.
227 (arm_cpus): The cortex-a15 option has all current v7-A extensions.
228 (arm_extensions): Add 'idiv' extension.
229 (aeabi_set_public_attributes): Update Tag_DIV_use values for the
230 Integer Divide extension.
231 * doc/c-arm.texi: Document the idiv extension.
233 2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
235 * config/tc-arm.c (arm_ext_v6m): New variable.
236 (arm_ext_m): Add support for OS extension.
237 (arm_ext_os): New variable.
238 (do_t_swi): In v6-M ensure we have the OS extension.
239 (arm_cpus): The cortex-m1 and cortex-m0 options have the OS
240 extension by default.
241 (arm_archs): Add armv6s-m.
242 (arm_extensions): Add 'os' extension.
243 (cpu_arch_ver): Add support for v6S-M.
244 * doc/c-arm.texi: Document the OS Extension, and v6-m and v6s-m
245 architecture options.
247 2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
249 * config/tc-arm.c (arm_ext_v6z): Remove.
250 (arm_ext_sec): New variable.
251 (do_t_smc): In Thumb state SMC requires v7-A.
252 (insns): Make SMC depend on Security Extensions.
253 (arm_cpus): All -mcpu=cortex-a* options have the Security Extensions.
254 (arm_extensions): Add 'sec' extension.
255 (cpu_arch_ver): Reorder.
256 (aeabi_set_public_attributes): Emit Tag_Virtualization_use as
258 * doc/c-arm.texi: Document Security Extensions.
260 2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
262 * config/tc-arm.c (arm_ext_mp): Add.
263 (do_pld): Update comment.
264 (insns): Add support for pldw.
265 (arm_cpus): Update cortex-a5, cortex-a9, and cortex-a15 to support
267 (arm_extensions): Add 'mp' extension.
268 (aeabi_set_public_attributes): Emit correct build attribute when
269 MP extension is enabled.
270 * doc/c-arm.texi: Update for MP extensions.
272 2010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
274 * config/tc-arm.c (md_pseduo_table): Add .arch_extension directive.
275 (arm_option_extension_value_table): Add.
276 (arm_extensions): Change type.
277 (arm_option_cpu_table): Rename...
278 (arm_option_fpu_table): ...to this.
279 (arm_fpus): Change type.
280 (arm_parse_extension): Enforce alphabetical order. Allow
281 extensions to be removed.
282 (arm_parse_arch): Allow extensions to be specified with -march.
283 (s_arm_arch_extension): Add.
284 (s_arm_fpu): Update for type changes.
285 * doc/c-arm.texi: Document changes to infrastructure.
287 2010-09-23 Alan Modra <amodra@gmail.com>
289 * config/tc-mn10300.c (tc_gen_reloc): Replace absolute symbols
290 with the absolute section symbol.
292 2010-09-22 Mike Frysinger <vapier@gentoo.org>
294 * config/bfin-parse.y: Fix typo in BYTEOP16P comment.
296 2010-09-22 Robin Getz <robin.getz@analog.com>
298 * config/bfin-parse.y (is_store): New function.
299 (gen_multi_instr_1): Check parallel slots for store insns.
301 2010-09-22 Robin Getz <robin.getz@analog.com>
303 * config/bfin-defs.h (IS_EMUDAT): New define.
304 * config/bfin-parse.y: Accept EMUDAT for any register move.
306 2010-09-22 Robin Getz <robin.getz@analog.com>
308 * config/bfin-parse.y: Improve error messages.
310 2010-09-22 Robin Getz <robin.getz@analog.com>
312 * config/bfin-parse.y (DBG): Fix regno encoding.
313 (DBGCMPLX): Likewise.
315 2010-09-22 Robin Getz <robin.getz@analog.com>
317 * config/bfin-lex.l: Accept multibyte chars in symbol names.
319 2010-09-22 Robin Getz <robin.getz@analog.com>
321 * config/bfin-defs.h (statusflags): Add AC0_COPY, V_COPY, and RND_MOD.
322 * config/bfin-lex.l: Tokenize AC0_COPY, V_COPY, and RND_MOD.
324 2010-09-22 Mike Frysinger <vapier@gentoo.org>
326 * config/bfin-aux.h (bfin_gen_pseudochr): New prototype.
327 * config/tc-bfin.c (bfin_gen_pseudochr): New function.
328 * config/bfin-parse.y: Call bfin_gen_pseudochr for OUTC tokens.
330 2010-09-22 Mike Frysinger <vapier@gentoo.org>
332 * config/bfin-lex.l (abort): Accept case-insensitive abort insn.
333 * config/bfin-parse.y (ABORT): Handle the ABORT token.
335 2010-09-22 Mike Frysinger <vapier@gentoo.org>
337 * config/tc-bfin.c (bfin_cpus[]): Add 0.2 for bf512/bf514/bf516/bf518.
339 2010-09-22 Mike Frysinger <vapier@gentoo.org>
341 * doc/c-bfin.texi (-mcpu): Add bf592.
342 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF592.
343 (bfin_cpus[]): Add 0.0/0.1 for bf592.
345 2010-09-22 Mike Frysinger <vapier@gentoo.org>
347 * config/tc-bfin.c (comment_chars): Add #.
349 2010-09-20 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
351 * config/tc-arm.c (arm_cpus): Correct canonical names for Cortex CPUs.
353 2010-09-20 Richard Henderson <rth@redhat.com>
355 * config/tc-alpha.c (tc_gen_reloc): Remove hack around
356 bfd_perform_reloc for OBJ_ELF.
358 2010-09-17 Tejas Belagod <tejas.belagod@arm.com>
360 * config/tc-arm.c (do_t_ldmstm): Add logic to handle single-register
363 2010-09-17 Tejas Belagod <tejas.belagod@arm.com>
365 * config/tc-arm.c (parse_psr): Add condition for matching "APSR" on
367 (psrs): Add entry for PSR flags, g, nzcvq, nzcvqg.
369 2010-09-17 Tejas Belagod <tejas.belagod@arm.com>
371 * config/tc-arm.c (insns): Change MRC entry to accept APSR_RR instead
374 2010-09-17 Andrew Burgess <aburgess@broadcom.com>
377 * config/obj-elf.c (obj_elf_parse_section_letters): Correct test
378 for error return from md_elf_section_letter.
379 * config/tc-alpha.c (alpha_elf_section_letter): Correct error message.
380 * config/tc-i386.c (x86_64_section_letter): Likewise.
381 * config/tc-ia64.c (ia64_elf_section_letter): Likewise.
382 * config/tc-mep.c (mep_elf_section_letter): Likewise.
384 2010-09-15 Kai Tietz <kai.tietz@onevision.com>
386 * config/obj-coff-seh.c (seh_validate_seg): New funtion.
387 (obj_coff_seh_endproc): Add check for segment.
388 (obj_coff_seh_endprologue): Likewise.
389 (obj_coff_seh_pushreg): Likewise.
390 (obj_coff_seh_pushframe): Likewise.
391 (obj_coff_seh_save): Likewise.
392 (obj_coff_seh_setframe): Likewise.
394 * config/obj-coff-seh.h (seh_context): New member code_seg.
395 * config/obj-coff-seh.c: Implementing xdata/pdata section cloning
396 for link-once code-segment.
398 2010-09-14 Jie Zhang <jie@codesourcery.com>
400 * doc/c-arm.texi: Document -mcpu=cortex-m4.
402 2010-09-09 H.J. Lu <hongjiu.lu@intel.com>
404 * config/tc-i386.c (build_vex_prefix): Check VEXW1 for 2-byte
407 2010-09-09 Joseph Myers <joseph@codesourcery.com>
409 * doc/c-tic6x.texi (.c6xabi_attribute): Document directive.
411 2010-09-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
413 * config/tc-arm.c (arm_cpus): Add cortex-a15 entry.
414 * doc/c-arm.texi: Document -mcpu=cortex-a15.
416 2010-09-09 Gunther Nikl <gnikl@users.sourceforge.net>
418 * gas/config/tc-m68k.c (tc_gen_reloc): Handle references to defined
419 weak symbols first if generating an a.out object.
421 2010-09-09 Tejas Belagod <tejas.belagod@arm.com>
423 * config/tc-arm.c (md_apply_fix): Check if widened add, sub are
424 flag-setting and handle accordingly.
426 2010-09-09 Nick Clifton <nickc@redhat.com>
429 * config/tc-arm.c (parse_big_immediate): Allow for bignums being
430 extended to the size of a .octa.
432 2010-09-08 Julian Brown <julian@codesourcery.com>
434 * config/tc-arm.c (create_neon_reg_alias): Deal with case
437 2010-09-08 Nick Clifton <nickc@redhat.com>
440 * config/tc-mn10300.c (md_convert_frag): Zero out top two bytes of
441 long call instruction's displacement.
443 2010-09-03 H.J. Lu <hongjiu.lu@intel.com>
446 * config/tc-i386.c (i386_finalize_immediate): Check flag_code
447 instead of use_rela_relocations for 64bit.
449 2010-09-02 Richard Henderson <rth@redhat.com>
451 * dw2gencfi.c (TC_DWARF2_EMIT_OFFSET): Provide default.
452 (output_fde): Use it. Make sure to fully init exp before using it.
454 2010-08-31 Kai Tietz <kai.tietz@onevision.com>
456 * config/obj-coff-seh.c (obj_coff_seh_save): Correct comparison.
457 (obj_coff_seh_stackalloc): Likewise.
459 2010-08-31 Alan Modra <amodra@gmail.com>
461 * config/obj-elf.c (obj_elf_init_stab_section): Fix assertion.
463 2010-08-30 Richard Henderson <rth@redhat.com>
465 * config/obj-coff-seh.c: Rewrite the entire file.
466 (symtab, symptr, reltab, relcount, relsize): Remove.
467 (seh_ctx_root, seh_ctx): Remove.
468 (xdata_seg, xdata_subseg, pdata_seg): New.
469 (switch_xdata, switch_pdata): New.
470 (verify_context, verify_context_and_target, skip_whitespace_and_comma):
471 New parsing functions. Rewrite all parsing functions to use them.
472 (obj_coff_seh_32): Fix != arm thinko.
473 (obj_coff_seh_handler): For x64, don't accept handler pointer here,
475 (obj_coff_seh_handlerdata): New.
476 (do_seh_endproc): Split out of ...
477 (obj_coff_seh_endproc): ... here.
478 (obj_coff_seh_proc): Use it, if needed.
479 (seh_x64_make_prologue_element): Use XRESIZEVEC, symbol_temp_new_now.
480 (seh_x64_read_reg): Remove mm_regs alternative. Tidy integer reg
481 alternatives. Don't slurp commas.
482 (seh_read_offset): Remove.
483 (obj_coff_seh_pushframe): Split out from obj_coff_seh_push.
484 (obj_coff_seh_scope): Remove.
485 (obj_coff_seh_save): Decide UWOP_SAVE_* vs _FAR immediately.
486 (obj_coff_seh_stackalloc): Decide _SMALL vs _LARGE immediately.
487 (out_one, out_two, out_four): New.
488 (seh_x64_write_prologue_data, seh_x64_size_prologue_data,
489 seh_x64_write_function_xdata, write_function_xdata): Rewrite
490 from seh_x64_write_xdata, seh_needed_unwind_info, seh_store_elm_data,
491 seh_getelm_data_size, seh_getsize_of_unwind_entry,
492 seh_make_unwind_entry, seh_getsize_unwind_data, and
493 seh_create_unwind_data.
494 (seh_arm_write_function_pdata): Rewrite from seh_arm_create_pdata.
495 (write_function_pdata): Rewrite from make_function_entry_pdata.
496 (seh_write_text_eh_data, make_function_entry_pdata,
497 seh_arm_create_pdata, seh_arm_write_pdata, seh_reloc, save_relocs,
498 seh_symbol_init, seh_symbol, quick_section, seh_emit_rva,
499 seh_emit_long, seh_make_globl, seh_make_section2, seh_make_section,
500 seh_make_xlbl_name, make_seh_text_label, seh_fill_pcsyms,
501 seh_needed_unwind_info, seh_store_elm_data, seh_getelm_data_size,
502 seh_getsize_of_unwind_entry, seh_make_unwind_entry,
503 seh_getsize_unwind_data, seh_create_unwind_data,
504 seh_make_function_entry_xdata, seh_x64_makescope_elem): Remove.
505 * config/obj-coff-seh.h (SEH_CMDS): Remove seh_savemm, seh_scope.
506 Add seh_handlerdata. Adjust function/what arguments for
507 seh_savereg, seh_pushframe, seh_stackalloc.
508 (struct seh_prologue_element): Adjust members to closer match
509 the elements of the UNWIND_CODE structure.
510 (struct seh_scope_elem): Remove.
511 (struct seh_context): Replace char* members with symbolS or
512 expressionS as appropriate. Sort members by ARM/x64 applicability.
513 Remove obsolete stuff wrt direct symbol and reloc manipulation.
515 2010-08-25 Alan Modra <amodra@gmail.com>
517 * NEWS: Mention ampersand in macro change.
519 2010-08-25 Gunther Nikl <gnikl@users.sourceforge.net>
521 * configure.tgt (m68k-*-aout): Change to bfd_gas=yes.
523 2010-08-25 Alan Modra <amodra@gmail.com>
525 * config/tc-d10v.c (do_assemble): Correctly detect overflow of
527 * config/tc-m68hc11.c (md_assemble): Likewise.
528 * config/tc-microblaze.c (md_assemble): Likewise. Correct cast
529 of is_end_of_line index.
531 2010-08-25 Jie Zhang <jie@codesourcery.com>
533 * config/tc-arm.c (encode_arm_addr_mode_2): Fix comment.
535 2010-08-25 Jie Zhang <jie@codesourcery.com>
537 * config/tc-arm.c (encode_arm_addr_mode_2): Fix
538 BAD_PC_ADDRESSING condition.
540 2010-08-20 Maciej W. Rozycki <macro@codesourcery.com>
542 * doc/c-arm.texi (ARM Options): Document -mfpu=fp4-sp-d16.
544 2010-08-19 H.J. Lu <hongjiu.lu@intel.com>
546 * config/tc-i386.c (VEX_check_operands): Fix a typo in comments.
548 2010-08-18 H.J. Lu <hongjiu.lu@intel.com>
550 * config/tc-i386.c (build_modrm_byte): Check i.imm_operands
553 2010-08-18 Alan Modra <amodra@gmail.com>
555 * macro.c (sub_actual): Add back ampersand suffix when no
557 (macro_expand_body): Correct comment.
559 2010-08-17 Roland McGrath <roland@redhat.com>
561 * config/obj-elf.c (obj_elf_parse_section_letters): Take new
562 boolean result parameter CLONE; set it if '?' flag letter seen.
563 (obj_elf_section): Update caller. Handle that flag by copying
564 the LINKONCE and GROUP_NAME state from NOW_SEG.
565 * doc/as.texinfo (Section): Document the ? flag.
567 2010-08-09 Cary Coutant <ccoutant@google.com>
569 * as.c (show_usage): Don't list --compress-debug-sections if zlib not
571 (main): Warn if --compress-debug-sections requested and zlib not
573 * doc/as.texinfo: Add --compress-debug-sections,
574 --nocompress-debug-sections.
576 2010-08-06 H.J. Lu <hongjiu.lu@intel.com>
578 * config/tc-i386.c (set_cpu_arch): Re-indent.
579 (md_parse_option): Likewise.
581 2010-08-06 Quentin Neill <quentin.neill@amd.com>
583 * config/tc-i386.c (arch_entry): Add negated bit to
584 disambiguate flag names starting with "no".
585 (cpu_arch): Add negated bit definitions. Add
586 ".nop" CPU extension.
587 (i386_align_code): Use new .cpunop bit to decide
588 when to generate alignment using nops.
589 (set_cpu_arch): Use negated bit instead to decide
590 when to use cpu_flags or vs. cpu_flags_and_not.
591 (md_parse_option): Likewise.
593 2010-08-04 H.J. Lu <hongjiu.lu@intel.com>
595 * config/tc-i386.c (match_template): Move the first i.error
598 2010-08-04 Alan Modra <amodra@gmail.com>
600 * configure.tgt (m32c): Set endian=little.
601 * config/tc-m32c.h (TARGET_BYTES_BIG_ENDIAN): Define as 0.
602 * config/tc-m32c.c (md_number_to_chars): Revert last change.
604 2010-08-03 Tristan Gingold <gingold@adacore.com>
606 * makefile.vms (OBJS): Add Add compress-debug.c.
608 2010-08-03 Alan Modra <amodra@gmail.com>
610 * config/tc-d10v.h (TARGET_BYTES_BIG_ENDIAN): Define as 1.
611 * config/tc-m32c.c (md_number_to_chars): Call bigendian
612 form of number_to_chars, not littleendian.
614 2010-08-02 Alan Modra <amodra@gmail.com>
616 * config/tc-d30v.c (d30v_cons_align): Don't align constants
619 2010-08-02 Alan Modra <amodra@gmail.com>
622 * expr.c (operand <'-' and '~'>): Widen bignums.
623 (operand <'!'>): Correct bignum result and convert to O_constant.
624 * read.c (emit_expr): Don't assert on .byte bignum. Don't display
625 bignum truncated warning for sign extended bignums.
627 2010-08-02 Alan Modra <amodra@gmail.com>
629 * config/tc-v850.c (md_assemble): Always pass format string to
631 (md_apply_fix): Similarly for as_warn_where.
633 2010-07-29 H.J. Lu <hongjiu.lu@intel.com>
635 * config/tc-i386-intel.c: Reformat.
637 2010-07-29 Alan Modra <amodra@gmail.com>
639 * config/tc-ppc.c (ppc_fix_adjustable): Add got reloc types used
642 2010-07-28 Alan Modra <amodra@gmail.com>
645 * symbols.c (symbol_clone): Correct typo in previous patch.
647 2010-07-28 Alan Modra <amodra@gmail.com>
650 * symbols.c (symbol_clone): Clear BSF_SECTION_SYM flag.
652 2010-07-28 Alan Modra <amodra@gmail.com>
654 * config/tc-ppc.c (md_assemble): Don't attempt to print NUL in
655 syntax error message.
657 2010-07-27 Maciej W. Rozycki <macro@codesourcery.com>
659 * config/tc-mips.c (mips16_macro_build): Pass "args" by
660 reference rather than value.
661 (macro_build): Update accordingly.
663 2010-07-27 Maciej W. Rozycki <macro@codesourcery.com>
665 * config/tc-mips.c (mips_ip): Use symbol_temp_new_now to create
668 2010-07-24 Maciej W. Rozycki <macro@codesourcery.com>
670 * config/tc-mips.c (macro)[M_JAL_1, M_JAL_2]: Handle the JALR
671 delay slot in the noreorder mode with the o32 ABI.
673 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
674 Ina Pandit <ina.pandit@kpitcummins.com>
676 * config/tc-v850.c: Update processor_mask.
677 (reg_name): Update the structure to use processors field.
678 (md_relax_table): Define SUBYPTE_COND_9_22, SUBYPTE_SA_9_22,
679 SUBYPTE_UNCOND_9_22, SUBYPTE_COND_9_22_32, SUBYPTE_SA_9_22_32,
680 SUBYPTE_UNCOND_9_22_32, SUBYPTE_COND_9_17_22,
681 SUBYPTE_SA_9_17_22, SUBYPTE_COND_9_17_22_32 and
682 SUBYPTE_SA_9_17_22_32.
683 (set_machine): Add support for V850E2 and V850E2V3.
684 (md_pseudo_table): Likewise.
685 (pre_defined_registers): Update pre defined registers suitable
686 for each family of registers.
687 (system_registers): Likewise.
688 (cc_names): Update the condition code.
689 (float_cc_names): Update the condition code for float.
690 (reg_name_search): Update based on current modifications.
691 (register_name): Likewise.
692 (system_register_name): Update to support new system registers
693 and supported families.
694 (cc_name): Update to support new condition codes.
695 (float_cc_name): New function to support float condition codes.
696 (parse_register_list): Update to support newly added registers.
697 (md_show_usage): Define support for V850E2 and V850E2V3 targets.
698 Also support added for disp-size-default-22, disp-size-default-32,
699 mextension, mno-bcond17 and mno-stld23.
700 (md_parse_option): Implement the support for above options defined
702 (md_convert_frag): Implement support for subtypes defined in
703 md_relax_table to support branch operations.
704 (md_begin): Add support for V850E2 and V850E2V3.
705 (handle_hi016, handle_hi16): new relocation handling functions
706 (handle_lo16, handle_ctoff, handle_sdaoff, handle_zdaoff,
707 handle_tdaoff): Updated relocation handling functions for newly
709 (v850_reloc_prefix): Update the relocation handling functions.
710 (v850_insert_operand): Updated the functions with error message
711 parameter and modified the function to use it.
712 (md_assemble): Update according to the latest modifications.
713 (md_apply_fix): Updated the functions with error message parameter
714 and modified the function to use it.
715 (v850_force_relocation): Update with newly added relocations.
716 * configure.tgt: Match all v850 targets.
717 * doc/c-v850.texi: Document the newly added targets.
720 2010-07-23 Alan Modra <amodra@gmail.com>
723 * macro.c (macro_expand): Recover gracefully from named args that
726 2010-07-22 Thomas Schwinge <thomas@codesourcery.com>
728 Switch MIPS to 32-bit DWARF format.
729 * config/tc-mips.h (DWARF2_FORMAT): Only define for [TE_IRIX].
730 * config/tc-mips.c (mips_dwarf2_format): Likewise.
732 2010-07-20 Alan Modra <amodra@gmail.com>
734 * config/tc-ppc.c (ppc_setup_opcodes): Add all macros for -many.
736 2010-07-16 Alan Modra <amodra@gmail.com>
738 * config/tc-rx.c (md_estimate_size_before_relax): Fix format
739 specifier warnings for 32-bit host when --enable-64-bit-bfd.
740 (rx_relax_frag, md_convert_frag): Likewise.
742 2010-07-15 Cary Coutant <ccoutant@google.com>
744 * gas/NEWS: Add note about --compress-debug-sections.
745 * gas/as.c (show_usage): Add --compress-debug-sections and
746 --nocompress-debug-sections.
748 2010-07-15 Rhonda Wittels <rhonda@codesourcery.com>
750 * config/obj-elf.c (get_sym_from_input_line_and_check): New
751 function to catch missing pseudo-op arguments.
752 (obj_elf_local): Call new function.
753 (obj_elf_weak): Likewise.
754 (obj_elf_visibility): Likewise.
755 (obj_elf_vtable_entry): Likewise.
756 (obj_elf_type): Likewise.
758 2010-07-15 Kai Tietz <kai.tietz@onevision.com>
760 * config/obj-coff-seh.c
761 (seh_getelm_data_size): New.
762 (seh_read_offset): Handle negative values.
763 (obj_coff_seh_push): Handle offset for save-register store.
764 (obj_coff_seh_setframe): Add unwind-information for frame.
765 (seh_store_elm_data): New.
766 (seh_getelm_data_size): Return additionally unaligned element count.
767 (seh_make_unwind_entry): Correct tweak about element count.
769 2010-07-12 H.J. Lu <hongjiu.lu@intel.com>
772 * config/tc-i386-intel.c (i386_intel_simplify): Restore fall
773 through patch for O_multiply.
775 2010-07-11 Kai Tietz <kai.tietz@onevision.com>
778 * config/obj-coff.c (obj_common_parse): Quote symbol-name.
780 2010-07-08 Tejas Belagod <tejas.belagod@arm.com>
782 * tc-arm.c (OP_oBARRIER): Remove.
783 (OP_oBARRIER_I15): Add.
784 (po_barrier_or_imm): Add macro.
785 (parse_operands): Improve OP_oBARRIER_I15 operand parsing.
786 (do_barrier): Check correct immediate range.
787 (do_t_barrier): Likewise.
788 (barrier_opt_names): Add entries for more symbolic operands.
789 (insns): Replace OP_oBARRIER with OP_oBARRIER_I15 for barriers.
791 2010-07-08 Daniel Gutson <dgutson@codesourcery.com>
793 * config/tc-arm.c (tc_gen_reloc): Add BFD_RELOC_ARM_T32_OFFSET_IMM
796 2010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
798 * config/tc-mips.c (mips_frob_file): Use symbol_same_p to match
801 2010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
803 * config/tc-mips.c (nops_for_insn_or_target): Replace
804 MIPS16_INSN_BRANCH with MIPS16_INSN_UNCOND_BRANCH and
805 MIPS16_INSN_COND_BRANCH.
807 2010-07-05 Jim Wilson <wilson@codesourcery.com>
811 * dwarf2dbg.c (dwarf2_finish): Don't generate .debug_line section
814 2010-07-05 Alan Modra <amodra@gmail.com>
816 * config/tc-moxie.c (md_apply_fix): Delete set but otherwise
819 2010-07-04 H.J. Lu <hongjiu.lu@intel.com>
821 * Makefile.am (CONFIG_OBJS): Removed.
822 (GENERIC_OBJS): Likewise.
824 * Makefile.in: Regenerated.
826 2010-07-03 Jan Beulich <jbeulich@novell.com>
829 * config/tc-i386.c (i386_finalize_displacement): Don't call
830 section_symbol() with expr_section.
832 2010-07-03 Cary Coutant <ccoutant@google.com>
834 * Makefile.am: Add compress-debug.c and compress-debug.h.
835 * Makefile.in: Regenerate.
836 * config.in: Add HAVE_ZLIB_H.
837 * configure.in: Check for zlib.h.
838 * configure: Regenerate.
840 * as.c (parse_args): Add --compress-debug-sections and
841 --nocompress-debug-sections.
842 * as.h (flag_compress_debug): New variable.
843 * compress-debug.c: New file.
844 * compress-debug.h: New file.
845 * write.c: Include compress-debug.h.
846 (compress_frag): New function.
847 (compress_debug): New function.
848 (write_object_file): Compress debug sections if requested.
850 2010-07-03 Andreas Schwab <schwab@linux-m68k.org>
852 * config/tc-ppc.c (ppc_set_cpu): Cast PPC_OPCODE_xxx to ppc_cpu_t
855 2010-07-03 Alan Modra <amodra@gmail.com>
857 * config/tc-ppc.c (ppc_set_cpu): Remove old opcode flags.
858 (ppc_setup_opcodes): Likewise. Simplify opcode selection.
860 2010-07-02 DJ Delorie <dj@redhat.com>
862 * config/tc-rx.h (md_do_align): New.
863 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
864 * config/tc-rx.c (nops): New.
865 (rx_handle_align): Use various sized nops to align code.
867 * config/tc-rx.c (rx_bytesT): Add grown/shrank counters for
869 (rx_relax_frag): Prevent infinite loops of grow/shrink/grow/etc.
871 2010-07-01 H.J. Lu <hongjiu.lu@intel.com>
873 AVX Programming Reference (June, 2010)
874 * config/tc-i386.c (cpu_arch): Add .xsaveopt, .fsgsbase, .rdrnd
877 * doc/c-i386.texi: Document xsaveopt, fsgsbase, rdrnd and f16c.
879 2010-07-01 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
881 * config/tc-arm.c (do_t_mov_cmp): Fix reporting of unpredictable and
882 deprecated mov register instructions.
884 2010-07-01 Alan Modra <amodra@gmail.com>
886 * config/tc-ppc.c (toc_reloc_types): New variable.
887 (md_assemble): Set it.
888 (ppc_frob_file_before_adjust): Don't warn about toc section size
889 if we have large toc relocs and no small toc relocs.
891 2010-06-29 Alan Modra <amodra@gmail.com>
893 * config/tc-maxq.h: Delete file.
894 * config/tc-maxq.c: Delete file.
895 * Makefile.am: Remove references to maxq.
896 * configure.tgt: Likewise.
897 * config/obj-coff.h: Likewise.
898 * Makefile.in: Regenerate.
899 * configure: Regenerate.
900 * po/POTFILES.in: Regenerate.
902 2010-06-28 Alan Modra <amodra@gmail.com>
904 * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define.
905 * config/tc-crx.c (gettrap): Constify arg.
906 (handle_LoadStor, get_cinv_parameters): Likewise.
907 (getreg_image): Fix enum warning
908 (md_assemble): Restore input line char.
909 * config/tc-hppa.c (tc_gen_reloc): Fix enum warning.
910 * config/tc-i960.c (mem_fmt): Rename var to fix shadow warning.
911 * config/tc-sh.c (sh_fdpic): Only define when OBJ_ELF.
912 (build_Mytes): Fix build failure for non-elf targets.
913 * config/tc-tic4x.c (tic4x_eval): Restore terminator char.
914 * config/tc-xtensa.c (xtensa_end_directive): Fix switch enum warning.
916 * cgen.c (gas_cgen_md_apply_fix): Avoid set but unused warning.
917 * ecoff.c (add_ecoff_symbol): Likewise.
918 * itbl-ops.c (append_insns_as_macros): Likewise.
919 * listing.c (debugging_pseudo): Likewise.
920 * read.c (s_mri_common, stringer): Likewise.
921 * config/obj-coff.c (coff_frob_section): Likewise.
922 * config/tc-alpha.c (emit_ldgp, s_alpha_proc): Likewise.
923 * config/tc-arm.c (my_get_expression): Likewise.
924 * config/tc-hppa.c (process_exit, pa_type_args): Likewise.
925 * config/tc-m32c.c (md_assemble): Likewise.
926 * config/tc-microblaze.c (md_convert_frag): Likewise.
927 * config/tc-mips.c (s_change_section): Likewise.
928 * config/tc-mt.c (mt_fix_adjustable): Likewise.
929 * config/tc-xtensa.c (xtensa_literal_pseudo): Likewise.
931 * config/obj-aout.c (obj_aout_frob_symbol): Delete set but otherwise
933 * config/tc-alpha.c (load_expression): Likewise.
934 (s_alpha_rdata, s_alpha_section, s_alpha_prologue): Likewise.
935 * config/tc-arm.c (parse_neon_el_struct_list): Likewise.
936 * config/tc-avr.c (extract_word): Likewise.
937 * config/tc-cris.c (cris_get_expression): Likewise.
938 * config/tc-d30v.c (build_insn, find_format): Likewise.
939 * config/tc-dlx.c (machine_ip): Likewise.
940 * config/tc-hppa.c (pa_get_absolute_expression): Likewise.
941 * config/tc-i370.c (md_assemble): Likewise.
942 * config/tc-i960.c (brtab_emit): Likewise.
943 * config/tc-iq2000.c (s_iq2000_ent): Likewise.
944 * config/tc-m32c.c (md_convert_frag): Likewise.
945 * config/tc-m68hc11.c (fixup24, build_jump_insn): Likewise.
946 (md_estimate_size_before_relax, md_apply_fix): Likewise.
947 * config/tc-m68k.c (md_show_usage): Likewise.
948 * config/tc-microblaze.c (microblaze_s_lcomm): Likewise.
949 * config/tc-mips.c (s_mips_end): Likewise.
950 * config/tc-mmix.c (mmix_byte, mmix_cons): Likewise.
951 * config/tc-mn10300.c (md_assemble): Likewise.
952 * config/tc-msp430.c (extract_word): Likewise.
953 * config/tc-mt.c (md_assemble): Likewise.
954 * config/tc-or32.c (machine_ip): Likewise.
955 * config/tc-pj.c (md_apply_fix): Likewise.
956 * config/tc-s390.c (md_gather_operands): Likewise.
957 * config/tc-sh.c (sh_cons_align): Likewise.
958 * config/tc-sparc.c (sparc_cons_align): Likewise.
959 * config/tc-tic4x.c (tic4x_sect): Likewise.
960 * config/tc-tic54x.c (tic54x_stringer): Likewise.
961 * config/tc-vax.c (vip_op): Likewise.
962 * config/tc-xstormy16.c (xstormy16_cons_fix_new): Likewise.
963 * config/tc-xtensa.c (md_assemble): Likewise.
964 (xtensa_fix_short_loop_frags, convert_frag_immed): Likewise.
965 (xtensa_move_literals): Likewise.
967 2010-06-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
969 * config/tc-arm.c (parse_neon_alignment): New function.
970 (parse_address_main): Fix Neon load/store alignment parsing.
972 2010-06-22 Jan Beulich <jbeulich@novell.com>
974 * config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo
976 (i386_intel_operand): Remove bogus handling of pseudo symbols
978 * expr.c (current_location): Remove 'static' and local
980 * expr.h (current_location): Declare.
982 2010-06-21 Sterling Augustine <sterling@tensilica.com>
985 * as.c: Globalize keep_it.
986 (main): Remove keep_it. Move conditional from here...
987 (close_output_file): ...to here.
989 2010-06-21 Andreas Schwab <schwab@redhat.com>
991 * doc/as.texinfo (Overview): Use @itemx for grouped @table
993 * doc/c-alpha.texi (Alpha Options): Likewise.
994 * doc/c-arm.texi (ARM Directives): Likewise.
995 * doc/c-bfin.texi (Blackfin Options): Likewise.
996 * doc/c-d10v.texi (D10V-Opts): Likewise.
997 * doc/c-i386.texi (i386-Options): Likewise.
998 * doc/c-ia64.texi (IA-64 Options): Likewise.
999 * doc/c-m68k.texi (M68K-Opts): Likewise.
1000 * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
1001 * doc/internals.texi (Symbols): Likewise.
1003 2010-06-21 Alan Modra <amodra@gmail.com>
1006 * config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
1008 2010-06-18 Joseph Myers <joseph@codesourcery.com>
1010 * config/tc-tic6x.h (tic6x_segment_info_type): Add field
1012 * config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
1013 (md_assemble): Clear func_units_used for new execute packet.
1014 Check for duplicate functional units and update func_units_used
1015 for instructions using a functional unit.
1017 2010-06-15 Joseph Myers <joseph@codesourcery.com>
1019 * config/tc-tic6x.c: Include elf/tic6x.h.
1020 (tic6x_arch_attribute, tic6x_seen_insns): New.
1021 (tic6x_arch_table, tic6x_arches): Add attribute values.
1022 (tic6x_use_arch): Handle attribute settings.
1023 (tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
1024 tic6x_attribute_table, tic6x_attributes,
1025 tic6x_convert_symbolic_attribute): New.
1026 (md_pseudo_table): Add c6xabi_attribute.
1027 (md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
1028 (tic6x_set_attribute_int, tic6x_set_attributes): New.
1029 (tic6x_end): Call tic6x_set_attributes.
1030 * config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
1031 (tic6x_convert_symbolic_attribute): Declare.
1033 2010-06-14 Alan Modra <amodra@gmail.com>
1035 * config/tc-ppc.c (md_assemble): Emit APUinfo section for
1038 2010-06-11 Jan Beulich <jbeulich@novell.com>
1040 * config/tc-i386.c (md_parse_option): Ignore impossible processor
1042 (show_arch): New parameter 'check'.
1043 (md_show_usage): Adjust calls to show_arch().
1045 2010-06-10 H.J. Lu <hongjiu.lu@intel.com>
1047 * config/tc-i386.c (update_code_flag): New.
1048 (set_code_flag): Use it.
1049 (i386_target_format): Replace set_code_flag with update_code_flag.
1051 2010-06-10 Tristan Gingold <gingold@adacore.com>
1053 * config/obj-som.h: Includes som/reloc.h
1055 2010-06-10 Jan Beulich <jbeulich@novell.com>
1057 * config/tc-i386.c (cpu_arch): Add comment.
1058 (i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
1059 from the generic entries of cpu_arch[].
1061 2010-06-08 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1063 * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
1065 (parse_operands): Add support for OP_RRnpctw.
1066 (insns): Update floating-point load/store multiples so the
1067 first register is of type OP_RRnpctw.
1069 2010-06-08 Quentin Neill <quentin.neill@amd.com>
1071 * config/tc-i386.c (pi): Rename local loop counter
1072 variable i that shadows global static i386_insn i
1073 when DEBUG386 is defined.
1076 2010-06-08 Nick Clifton <nickc@redhat.com>
1078 * doc/as.texinfo: Replace abbreviated 20th century year numbers
1081 2010-06-02 Quentin Neill <quentin.neill@amd.com>
1083 * config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
1085 2010-06-02 Tristan Gingold <gingold@adacore.com>
1087 * as.h: Remove conditionnal definition of HAVE_STDARG_H,
1088 USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
1089 Remove conditionnal inclusion of stdarg.h and varargs.h.
1091 * config.in: Regenerate.
1092 * configure: Regenerate.
1093 * configure.in: Remove stdarg.h and varargs.h from
1094 AC_CHECK_HEADERS list.
1095 * messages.c (as_tsktsk): Remove non ISO C version.
1096 (as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
1098 2010-05-31 Tristan Gingold <gingold@adacore.com>
1100 * config/tc-alpha.c: Add comments for evax.
1101 * config/obj-evax.c: Ditto.
1103 2010-05-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1105 * config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
1108 2010-05-27 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1110 * config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
1111 writeback when base register is in register list an error, and
1113 (do_t_ldmstm): Change warnings.
1115 2010-05-26 Catherine Moore <clm@codesourcery.com>
1117 * config/tc-mips.c (is_opcode_valid): Remove expansionp.
1118 (macro_build): Change invocation of is_opcode_valid.
1119 (mips_ip): Likewise.
1121 2010-05-25 Nick Clifton <nickc@redhat.com>
1123 * Makefile.am (MOSTLYCLEANFILES): Fix typo.
1124 * Makefile.in: Regenerate.
1126 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
1127 Joseph Myers <joseph@codesourcery.com>
1128 Andrew Stubbs <ams@codesourcery.com>
1130 * config/tc-sh.c (sh_fdpic): New.
1131 (sh_check_fixup): Handle relocations on movi20.
1132 (parse_exp): Do not reject PIC operators here.
1133 (build_Mytes): Check for unhandled PIC operators here. Use
1134 sh_check_fixup for movi20.
1135 (enum options): Add OPTION_FDPIC.
1136 (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
1137 (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
1138 (sh_elf_final_processing): Handle --fdpic.
1139 (sh_uclinux_target_format): New.
1140 (sh_parse_name): Handle FDPIC relocation operators.
1141 * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
1142 (sh_uclinux_target_format): Declare for TE_UCLINUX.
1143 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
1145 * doc/c-sh.texi (SH Options): Document --fdpic.
1147 2010-05-25 Jay Krell <jay.krell@cornell.edu>
1150 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
1151 * Makefile.in: Regenerate.
1153 2010-05-25 Alan Modra <amodra@gmail.com>
1155 * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
1157 2010-05-19 Nick Clifton <nickc@redhat.com>
1159 * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
1160 of known section prefixes.
1162 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
1165 * obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
1166 (obj_elf_parse_section_letters): Likewise.
1167 (obj_elf_section_word): Likewise.
1169 * config/tc-ppc.c (ppc_section_letter): Removed.
1170 (ppc_section_word): Likewise.
1171 * config/tc-ppc.h (ppc_section_letter): Likewise.
1172 (ppc_section_word): Likewise.
1173 (md_elf_section_letter): Likewise.
1174 (md_elf_section_word): Likewise.
1176 * doc/as.texinfo: Document `e' and `#exclude'.
1178 2010-05-13 Nathan Sidwell <nathan@codesourcery.com>
1180 * config/tc-arm.c (md_assemble): Clarify current mode in error
1181 messages about unsupported instructions.
1182 (UT): Delete #define.
1183 (insns): Adjust cbnz, cbz appropriately.
1185 2010-05-11 Andrew Stubbs <ams@codesourcery.com>
1187 * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
1189 2010-05-11 Jie Zhang <jie@codesourcery.com>
1191 * config/tc-arm.c (aeabi_set_public_attributes): Set
1192 Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
1194 2010-05-07 Tristan Gingold <gingold@adacore.com>
1196 * Makefile.in: Regenerate with automake 1.11.1.
1197 * aclocal.m4: Ditto.
1198 * doc/Makefile.in: Ditto.
1200 2010-05-05 Nick Clifton <nickc@redhat.com>
1202 * po/es.po: Updated Spanish translation.
1204 2010-05-05 Julian Brown <julian@codesourcery.com>
1206 * read.c (cons_worker): Detect and reject unexpected string argument.
1208 2010-05-04 Nick Clifton <nickc@redhat.com>
1210 * write.c (fixup_segment): Revert previous delta.
1211 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
1212 generation of relocations for fixups against weak symbols.
1214 2010-04-29 Nathan Sidwell <nathan@codesourcery.com>
1216 * write.c (fixup_segment): Do not assume we know the section a
1217 defined weak symbol is in.
1218 * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
1219 weak symbols as not known to be in the same section, even if they
1222 2010-04-27 Joseph Myers <joseph@codesourcery.com>
1224 * config/tc-tic6x.h (tic6x_label_list): New.
1225 (tic6x_segment_info_type): Keep a list of labels and a current
1226 frag instead of a boolean for whether labels seen and a count of
1228 (tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
1229 md_do_align, tic6x_do_align, md_end, tic6x_end): New.
1230 * config/tc-tic6x.c (tic6x_frob_label): Put label on list.
1231 (tic6x_cleanup): Correct comment.
1232 (tic6x_free_label_list): New.
1233 (tic6x_cons_align): Free label list and update for
1234 tic6x_segment_info_type changes.
1235 (tic6x_do_align): New.
1236 (md_assemble): Handle list of labels and saved frag for execute
1237 packet. Create machine-dependent frag for new execute packet and
1238 adjust labels accordingly.
1239 (tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
1240 (md_convert_frag, md_estimate_size_before_relax): Update comments.
1242 2010-04-24 H.J. Lu <hongjiu.lu@intel.com>
1245 * config/tc-i386-intel.c (intel_state): Add is_indirect.
1246 (i386_intel_operand): Initialize intel_state.is_indirect. Check
1247 intel_state.is_indirect for "call|jmp [symbol]".
1249 2010-04-22 Nick Clifton <nickc@redhat.com>
1251 * po/gas.pot: Updated by the Translation project.
1253 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1255 * config/tc-i386.c (i386_is_register): Removed.
1256 (x86_cons): Don't use i386_is_register.
1257 (parse_register): Likewise.
1258 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
1259 (i386_intel_operand): Likewise.
1261 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1263 * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
1266 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1268 * config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
1269 (x86_cons): Updated.
1270 (parse_register): Likewise.
1271 (tc_x86_parse_to_dw2regnum): Likewise.
1272 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
1273 (i386_intel_operand): Likewise.
1275 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1278 * config/tc-i386-intel.c (i386_intel_simplify_register): New.
1279 (i386_intel_simplify): Use i386_is_register and
1280 i386_intel_simplify_register. Set X_md for O_register and
1281 check X_md for O_constant.
1282 (i386_intel_operand): Use i386_is_register.
1284 * config/tc-i386.c (i386_is_register): New.
1285 (x86_cons): Initialize the X_md field. Use i386_is_register.
1286 (parse_register): Use i386_is_register.
1287 (tc_x86_parse_to_dw2regnum): Likewise.
1289 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1291 * expr.c (expr): Initialize the X_md field.
1293 2010-04-20 Joseph Myers <joseph@codesourcery.com>
1295 * config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
1296 (md_longopts): Add -mgenerate-rel.
1297 (tic6x_generate_rela): New.
1298 (md_parse_option): Handle -mgenerate-rel.
1299 (md_show_usage): Add comment that -mgenerate-rel is undocumented.
1300 (tic6x_init_after_args): New.
1301 (md_apply_fix): Correct shift calculations for SB-relative
1303 (md_pcrel_from): Change to tic6x_pcrel_from_section. Do not
1304 adjust addresses for relocations referencing symbols in other
1306 (tc_gen_reloc): Adjust addend calculations for REL relocations.
1307 * config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
1308 tic6x_pcrel_from_section, tc_init_after_args,
1309 tic6x_init_after_args): New.
1311 2010-04-20 Nick Clifton <nickc@redhat.com>
1314 * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
1315 altmacro mode if found inside a quoted string.
1317 2010-04-20 Mike Frysinger <vapier@gentoo.org>
1319 * config/bfin-lex.l (parse_int): Change index() to strchr().
1321 2010-04-16 Nick Clifton <nickc@redhat.com>
1324 * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
1325 matcher to accept and unconditional 32-bit add instruction.
1326 (pa_build_unwind_subspace): Cope with error conditions not
1327 allowing the start symbol to be set.
1329 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1331 * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
1332 new tag names in v2.08 of ARM ABI.
1333 * doc/c-arm.texi: Document new tag names in ABI.
1335 2010-04-14 Tristan Gingold <gingold@adacore.com>
1337 * config/tc-alpha.c: Includes vms/egps.h on EVAX.
1338 (s_alpha_comm): Used new EGPS macros from egps.h
1339 (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
1340 (s_alpha_section_word): Add comments. Use new EGPS macros.
1341 Adjust for modified bfd_vms_set_section_flags function.
1343 2010-04-10 Alan Modra <amodra@gmail.com>
1346 * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
1348 2010-04-09 Nick Clifton <nickc@redhat.com>
1350 * as.c (create_obj_attrs_section): Remove unused variable addr.
1351 * listing.c (listing_listing): Remove unused variable message.
1352 * read.c: Remove unnecessary register type qualifiers.
1353 (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
1356 2010-04-07 Eric B. Weddington <eric.weddington@atmel.com>
1358 * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
1359 atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
1360 atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
1361 atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
1362 atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
1363 atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
1364 atmega88pa, attiny461a, attiny84a, m3000.
1365 Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
1366 atmega8hvd, attiny327, m3000f, m3000s, m3001b.
1367 * doc/c-avr.texi: Same.
1369 2010-04-07 Jie Zhang <jie@codesourcery.com>
1371 * config/tc-arm.c (make_mapping_symbol): Handle the case
1372 that multiple mapping symbols have the same value 0.
1374 2010-04-07 Alan Modra <amodra@gmail.com>
1376 * configure: Regenerate.
1378 2010-04-06 Nick Clifton <nickc@redhat.com>
1380 * po/ru.po: New Russian translation.
1381 * configure.in (ALL_LINGUAS): Add ru.
1382 * configure: Regenerate.
1384 2010-03-30 H.J. Lu <hongjiu.lu@intel.com>
1387 * input-scrub.c (input_scrub_next_buffer): Use memmove instead
1388 of memcpy to copy overlap memory.
1390 2010-03-25 Joseph Myers <joseph@codesourcery.com>
1392 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
1393 (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
1394 * Makefile.in: Regenerate.
1395 * NEWS: Add news entry for TI C6X support.
1396 * app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle
1397 TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in
1398 operands if TC_KEEP_OPERAND_SPACES.
1399 * configure.tgt (tic6x-*-*): New.
1400 * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
1401 TC_PREDICATE_END_CHAR): Define.
1402 * config/tc-tic6x.c, config/tc-tic6x.h: New.
1403 * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
1404 * doc/Makefile.in: Regenerate.
1405 * doc/all.texi (TIC6X): Define.
1406 * doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi.
1407 * doc/c-tic6x.texi: New.
1409 2010-03-22 H.J. Lu <hongjiu.lu@intel.com>
1411 * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
1413 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
1415 * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
1416 with operand_size_mismatch.
1417 (operand_size_match): Updated.
1418 (match_template): Likewise.
1420 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
1422 * config/tc-i386.c (i386_error): New.
1423 (_i386_insn): Replace err_msg with error.
1424 (operand_size_match): Set error instead of err_msg on failure.
1425 (operand_type_match): Likewise.
1426 (operand_type_register_match): Likewise.
1427 (VEX_check_operands): Likewise.
1428 (match_template): Likewise. Use error instead of err_msg with
1431 2010-03-19 Jie Zhang <jie@codesourcery.com>
1433 * config/tc-arm.c (make_mapping_symbol): Hanle the case
1434 that two mapping symbols have the same value.
1436 2010-03-18 Daniel Jacobowitz <dan@codesourcery.com>
1438 * doc/c-arm.texi (.setfp): Correct example.
1440 2010-03-18 Wei Guozhi <carrot@google.com>
1443 * config/tc-arm.c (reloc_names): New relocation names.
1444 (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
1445 (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
1446 * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
1448 2010-03-15 Thomas Schwinge <thomas@codesourcery.com>
1450 * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
1451 cases, and not only for .eh_frame.
1453 * dw2gencfi.c (output_cie): Make it more explicit which code paths
1454 belong to .eh_frame only.
1456 2010-03-13 Segher Boessenkool <segher@kernel.crashing.org>
1458 * config/tc-v850.c (v850_insert_operand): Handle out-of-range
1459 assembler constants on 64-bit hosts.
1461 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
1463 * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
1464 Strip trailing whitespace.
1466 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
1468 * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
1469 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
1471 (bfin_cpus[]): Add 0.0 for bf504 and bf506.
1473 2010-03-10 Jie Zhang <jie@codesourcery.com>
1475 * doc/as.texinfo: Add Blackfin options.
1476 * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
1477 * config/tc-bfin.c (md_show_usage): Show usage for all
1478 Blackfin specific options.
1480 2010-03-09 Alan Modra <amodra@gmail.com>
1483 * listing.c (listing_newline): Correct backslash quote logic.
1485 2010-03-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1487 * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
1488 (ELF_TARGET_FORMAT64): Define.
1490 2010-03-05 Paul Brook <paul@codesourcery.com>
1492 * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
1494 2010-03-02 Andrew Stubbs <ams@codesourcery.com>
1496 * config/tc-sh.c (get_specific): Move overflow checking code to avoid
1497 reading uninitialized data.
1499 2010-03-01 Tristan Gingold <gingold@adacore.com>
1501 * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
1503 2010-02-26 Doug Evans <dje@sebabeach.org>
1505 * configure.tgt: Fix mep cpu case.
1507 2010-02-26 Jie Zhang <jie@codesourcery.com>
1509 * config/tc-arm.c (do_t_strexd): Remove
1510 operand[1] != operand[2] contraint.
1512 2010-02-26 Jie Zhang <jie@codesourcery.com>
1514 * config/tc-arm.c (neon_select_shape): No need to match
1515 the remaining operands in the shape when one operand does
1518 2010-02-26 Jie Zhang <jie@codesourcery.com>
1520 * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
1523 2010-02-25 Doug Evans <dje@sebabeach.org>
1525 * cgen.c: Whitespace fixes.
1526 (weak_operand_overflow_check): Formatting fix.
1528 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
1530 * config/tc-i386.c (match_template): Update error messages.
1532 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
1534 * config/tc-i386.c (_i386_insn): Add err_msg.
1535 (operand_size_match): Set err_msg on failure.
1536 (operand_type_match): Likewise.
1537 (operand_type_register_match): Likewise.
1538 (VEX_check_operands): Likewise.
1539 (match_template): Likewise. Use i.err_msg with as_bad.
1541 2010-02-25 Wu Zhangjin <wuzhangjin@gmail.com>
1543 * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
1544 mips_fix_loongson2f_jump): New variables.
1545 (md_longopts): Add New options -mfix-loongson2f-nop/jump,
1546 -mno-fix-loongson2f-nop/jump.
1547 (md_parse_option): Initialize variables via above options.
1548 (options): New enums for the above options.
1549 (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
1550 (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
1552 (append_insn): call fix_loongson2f().
1553 (mips_handle_align): Replace the implicit nops.
1554 * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
1555 for the new mips_handle_align().
1556 * doc/c-mips.texi: Document the new options.
1558 2010-02-23 Daniel Gutson <dgutson@codesourcery.com>
1560 * config/tc-arm.c (do_rd_rm_rn): Added warning
1563 2010-02-23 Andrew Zabolotny <anpaza@mail.ru>
1566 * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
1567 (avr_cons_fix_new): Handle fixups of a single byte.
1569 2010-02-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1572 * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
1573 compiler's predefines.
1575 2010-02-19 Alan Modra <amodra@gmail.com>
1577 * configure.tgt: Whiltespace. Sort moxie entry.
1579 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1581 * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
1582 * doc/c-arm.texi: Likewise.
1584 2010-02-12 Daniel Gutson <dgutson@codesourcery.com>
1586 * config/tc-arm.c (asm_opcode): operands type
1588 (BAD_PC_ADDRESSING): New macro message.
1589 (BAD_PC_WRITEBACK): Likewise.
1590 (MIX_ARM_THUMB_OPERANDS): New macro.
1591 (operand_parse_code): Added enum values.
1592 (parse_operands): Added thumb/arm distinction,
1593 plus new enum values handling.
1594 (encode_arm_addr_mode_2): Validations enhanced.
1595 (encode_arm_addr_mode_3): Likewise.
1596 (do_rm_rd_rn): Likewise.
1597 (encode_thumb32_addr_mode): Likewise.
1598 (do_t_ldrex): Likewise.
1599 (do_t_ldst): Likewise.
1600 (do_t_strex): Likewise.
1601 (md_assemble): Call parse_operands with
1609 (insns): Updated insns operands.
1611 2010-02-12 Tristan Gingold <gingold@adacore.com>
1612 Douglas B Rupp <rupp@gnat.com>
1614 * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
1615 (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
1616 (pseudo_func): Add an entry for slotcount.
1617 (md_begin): Initialize slotcount pseudo symbol.
1618 (ia64_parse_name): Handle @slotcount parameter.
1619 (ia64_gen_real_reloc_type): Handle slotcount.
1620 (md_apply_fix): Ditto.
1621 * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
1623 2010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com>
1625 * config/tc-xtensa.c (istack_init): Don't call memset.
1627 2010-02-11 Sterling Augustine <sterling@tensilica.com>
1629 * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
1632 2010-02-11 Sterling Augustine <sterling@tensilica.com>
1634 * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
1636 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
1638 * config/tc-i386.c (build_modrm_byte): Reformat.
1640 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
1642 * config/tc-i386.c: Update copyright.
1644 2010-02-10 Quentin Neill <quentin.neill@amd.com>
1645 Sebastian Pop <sebastian.pop@amd.com>
1647 * config/tc-i386.c (vec_imm4) New operand type.
1648 (fits_in_imm4): New.
1649 (VEX_check_operands): New.
1650 (check_reverse): Call VEX_check_operands.
1651 (build_modrm_byte): Reintroduce code for 5
1652 operand insns. Fix whitespace.
1654 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
1656 * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
1659 2010-02-09 Sterling Augustine <sterling@tensilica.com>
1661 * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
1662 (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
1663 (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
1665 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
1667 * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
1668 non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
1669 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
1670 BFD_RELOC_ARM_PCREL_CALL)
1672 2010-02-08 Sterling Augustine <sterling@tensilica.com>
1674 * config/tc-xtensa.c (frag_format_size): Generalize logic to
1675 handle more instruction sizes and fetch widths.
1676 (branch_align_power): Likewise.
1677 (text_align_power): Likewise.
1678 (bytes_to_stretch): Likewise.
1680 2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
1682 * config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs.
1683 (ppc_mach): Handle titan.
1684 * doc/c-ppc.texi: Mention -mtitan.
1686 2010-02-05 Sterling Augustine <sterling@tensilica.com>
1688 * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
1690 (xtensa_fetch_width) ...this.
1692 2010-02-05 Joseph Myers <joseph@codesourcery.com>
1694 * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
1695 MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
1696 * Makefile.in: Regenerate.
1698 2010-02-03 Quentin Neill <quentin.neill@amd.com>
1700 * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
1701 (i386_align_code): Rename PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
1702 * config/tc-i386.h (processor_type): Same.
1703 * doc/c-i386.texi: Change amdfam15 to bdver1.
1705 2010-01-29 Nick Clifton <nickc@redhat.com>
1708 * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
1711 2010-01-27 Dave Korn <dave.korn.cygwin@gmail.com>
1713 * NEWS: Mention new feature.
1714 * config/obj-coff.c (obj_coff_section): Accept digits and use
1715 to override default section alignment power if specified.
1716 * doc/as.texinfo (.section directive): Update documentation.
1718 2010-01-27 H.J. Lu <hongjiu.lu@intel.com>
1720 * config/tc-i386.c (avxscalar): New.
1721 (OPTION_MAVXSCALAR): Likewise.
1722 (build_vex_prefix): Select vector_length for scalar instructions
1724 (md_longopts): Add OPTION_MAVXSCALAR.
1725 (md_parse_option): Handle OPTION_MAVXSCALAR.
1726 (md_show_usage): Add -mavxscalar=.
1728 * doc/c-i386.texi: Document -mavxscalar=.
1730 2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
1732 * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
1735 2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
1737 * write.h (fix_at_start): Declare.
1738 * write.c (fix_new_internal): Add at_beginning parameter.
1739 Use it instead of REVERSE_SORT_RELOCS. Fix the handling of
1740 seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
1741 (fix_new, fix_new_exp): Update accordingly.
1742 (fix_at_start): New function.
1743 * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
1744 (ppc_ref): New function, for OBJ_XCOFF.
1745 (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
1746 * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
1748 2010-01-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1750 * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
1751 on 64-bit Solaris/x86.
1752 Include obj-format.h earlier.
1754 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1756 * config/tc-s390.c (s390_elf_final_processing): New function.
1757 * config/tc-s390.h (elf_tc_final_processing): New macro definition.
1758 (s390_elf_final_processing): Added prototype.
1761 2010-01-20 Nick Clifton <nickc@redhat.com>
1764 * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1. Add
1765 code to handle round-to-zero for VCVT conversions.
1766 (do_neon_cvt): New. Call do_neon_cvt_1.
1767 (do_neon_cvtr): New. Call do_neon_cvt_1.
1768 (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
1771 2010-01-18 Tristan Gingold <gingold@adacore.com>
1773 * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
1775 2010-01-15 Sebastian Pop <sebastian.pop@amd.com>
1777 * config/tc-i386.c (md_assemble): Before accessing the IMM field
1778 check that it's not an XOP insn.
1780 2010-01-14 Jie Zhang <jie.zhang@analog.com>
1782 * config/bfin-aux.h: Remove argument names in function
1784 * config/bfin-lex.l (parse_int): Fix shadowed variable name
1786 * config/bfin-parse.y (value_match): Remove argument names
1788 (notethat): Likewise.
1789 (yyerror): Likewise.
1791 2010-01-13 Daniel Jacobowitz <dan@codesourcery.com>
1793 * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
1795 2010-01-13 Nick Clifton <nickc@redhat.com>
1797 * config/tc-h8300.c (h8300_elf_section): New function - issue a
1798 warning message if a new section is created without setting any
1800 (md_pseudo_table): Intercept section creation pseudos.
1801 (md_pcrel_from): Replace abort with an error message.
1802 * config/obj-elf.c (obj_elf_section_name): Export this function.
1803 * config/obj-elf.h (obj_elf_section_name): Prototype.
1805 2010-01-12 Alan Modra <amodra@gmail.com>
1808 * listing.c (print_source): Add one to line number.
1810 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1812 * Makefile.in: Regenerate.
1813 * configure: Regenerate.
1814 * doc/Makefile.in: Regenerate.
1816 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
1818 * version.c (parse_args): Change to "Copyright 2010".
1820 2010-01-06 Quentin Neill <quentin.neill@amd.com>
1822 * config/tc-i386.c (cpu_arch): Add amdfam15.
1823 (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
1824 * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
1825 * doc/c-i386.texi: Add amdfam15.
1827 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1829 * config/tc-arm.c (do_neon_logic): Accept imm value
1830 in the third operand too.
1831 (operand_parse_code): OP_RNDQ_IMVNb renamed to
1833 (parse_operands): OP_NILO case removed, applied renaming.
1834 (insns): Neon shape changed for some logic instructions.
1836 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1838 * config/tc-arm.c (do_neon_ldx_stx): Added
1839 validation for vector load/store insns.
1841 2010-01-04 Edmar Wienskoski <edmar@freescale.com>
1843 * config/tc-ppc.c (md_show_usage): Document -me500mc64.
1845 2010-01-03 Daniel Gutson <dgutson@codesourcery.com>
1847 * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
1848 (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
1849 (NEON_ENCODE): New macro.
1850 (check_neon_suffixes): New macro.
1851 (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
1852 (do_vfp_nsyn_opcode): Likewise.
1853 (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
1854 (do_vfp_nsyn_cmp): Likewise.
1855 (do_neon_shl_imm): Likewise.
1856 (do_neon_qshl_imm): Likewise.
1857 (neon_dyadic_misc): Likewise.
1858 (do_neon_mac_maybe_scalar): Likewise.
1859 (do_neon_qdmulh): Likewise.
1860 (do_neon_qmovn): Likewise.
1861 (do_neon_qmovun): Likewise.
1862 (do_neon_movn): Likewise.
1863 (neon_mac_reg_scalar_long): Likewise.
1864 (do_neon_vmull): Likewise.
1865 (do_neon_trn): Likewise.
1866 (do_neon_ldx_stx): Likewise.
1867 (neon_dp_fixup): Changed signature and set the flag.
1868 (neon_three_same): Call the above with new signature.
1869 (neon_two_same): Likewise.
1870 (neon_imm_shift): Likewise.
1871 (neon_mul_mac): Likewise.
1872 (do_neon_abs_neg): Likewise.
1873 (neon_mixed_length): Likewise.
1874 (do_neon_ext): Likewise.
1875 (do_neon_mov): Likewise.
1876 (do_neon_tbl_tbx): Likewise.
1877 (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
1878 (neon_compare): Likewise.
1879 (do_neon_shll): Likewise.
1880 (do_neon_cvt): Likewise.
1881 (do_neon_mvn): Likewise.
1882 (do_neon_dup): Likewise.
1883 (md_assemble): Call check_neon_suffixes ().
1885 For older changes see ChangeLog-2009
1891 version-control: never