1 2009-11-05 Sebastian Pop <sebastian.pop@amd.com>
2 Quentin Neill <quentin.neill@amd.com>
4 * config/tc-i386.c (cpu_arch): Add CPU_LWP_FLAGS.
5 (build_vex_prefix): Handle xop09 and xop0a.
6 (build_modrm_byte): Handle vexlwp.
7 (md_show_usage): Add lwp.
8 * doc/c-i386.texi (i386-LWP): New section.
10 2009-11-04 DJ Delorie <dj@redhat.com>
12 * config/rx-parse.y (MVTIPL): Update bit pattern.
15 2009-11-04 Daniel Jacobowitz <dan@codesourcery.com>
16 Maxim Kuvyrkov <maxim@codesourcery.com>
18 * config/tc-m68k.h (CF_DIFF_EXPR_OK): Define to 0 for uClinux.
19 (CFI_DIFF_LSDA_OK): Define.
20 * config/te-uclinux.h: New file.
21 * configure.tgt (m68k-uclinux): Define em.
22 * dw2gencfi.c (CFI_DIFF_LSDA_OK): New macro.
23 (dot_cfi_lsda, output_fde): Use instead of CFI_DIFF_EXPR_OK.
25 2009-11-03 Paul Brook <paul@codesourcery.com>
27 * config/tc-arm.c (do_vfp_nsyn_mla_mls): Fix vmls encoding.
29 2009-11-02 Paul Brook <paul@codesourcery.com>
31 * doc/c-arm.texi: Document new -mfpu options.
32 * config/tc-arm.c (fpu_vfp_ext_v3xd, fpu_vfp_fp16, fpu_neon_ext_fma,
33 fpu_vfp_ext_fma): New.
34 (NEON_ENC_TAB): Add vfma, vfms, vfnma and vfnms.
35 (do_vfp_nsyn_fma_fms, do_neon_fmac): New functions.
36 (insns): Move double precision load/store. Split out double
37 precision VFPv3 instrucitons. Add VFPv4 instructions.
38 (arm_fpus): Add VFPv3-FP16, VFPv3xD and VFPv4 variants.
39 (aeabi_set_public_attributes): Set VFPv4 variants
41 2009-11-02 Alan Modra <amodra@bigpond.net.au>
43 * ecoff.c (ecoff_symbol_clone_hook): New function.
44 * ecoff.h (ecoff_symbol_clone_hook): Declare.
45 * obj.h (struct format_ops): Add symbol_clone_hook.
46 * config/obj-aout.c (aout_format_ops): Init new field.
47 * config/obj-coff.c (coff_format_ops): Likewise.
48 * config/obj-ecoff.c (ecoff_format_ops): Likewise.
49 * config/obj-elf.c (elf_format_ops): Likewise.
50 * config/obj-ecoff.h (obj_symbol_clone_hook): Define.
51 * config/obj-multi.h (obj_symbol_clone_hook): Define.
53 2009-11-02 Alan Modra <amodra@bigpond.net.au>
55 * messages.c (as_fatal): Apply 2001-01-15 change and followup
56 to second copy of function.
58 2009-10-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
60 * config/tc-hppa.c (pa_build_unwind_subspace): Replace start symbol
63 2009-10-29 Sebastian Pop <sebastian.pop@amd.com>
65 * config/tc-i386.c (build_modrm_byte): Do not swap REG and
66 NDS operands for FMA4.
68 2009-10-29 Paul Brook <paul@codesourcery.com>
70 * config/tc-arm.c (neon_tab_entry): Fix VNMLA/VNMLS opcodes.
72 2009-10-29 Paul Brook <paul@codesourcery.com>
74 * doc/c-arm.texi: Document ARM -mcpu=cortex-a5.
75 * config/arm/tc-arm.c (arm_cpu_option_table): Add cortex-a5.
77 2009-10-29 Tristan Gingold <gingold@adacore.com>
79 * config/tc-mep.c (md_pseudo_table): Remove dwarf2 debug pseudo
80 as they are already defined in obj-elf.c
81 * config/tc-m32c.c (md_pseudo_table): Ditto.
82 * config/tc-spu.c (md_pseudo_table): Ditto.
83 * config/tc-avr.c (md_pseudo_table): Ditto.
85 2009-10-29 Alan Modra <amodra@bigpond.net.au>
87 * doc/as.texinfo (Set): Delete incorrect HPPA para.
89 2009-10-28 Paul Brook <paul@codesourcery.com>
91 * config/tc-arm.c (opcode_lookup): Allow VFP/NEON type suffixes
94 2009-10-28 Alan Modra <amodra@bigpond.net.au>
97 * expr.c (resolve_expression): Only add "left" value to O_symbol
98 expression when the symbol is undefined and different from the
99 original symbol. Simplify negative logic.
101 2009-10-27 Tristan Gingold <gingold@adacore.com>
103 * config/tc-avr.c (md_pseudo_table): Add dwarf2 debug pseudo.
104 * config/tc-avr.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
105 (DWARF2_ADDR_SIZE): Define.
107 2009-10-27 Alan Modra <amodra@bigpond.net.au>
110 * listing.c (listing_flags): Delete.
111 * listing.h: Likewise.
112 * read.c (potable <lflags>): Call s_ignore.
114 2009-10-26 Nick Clifton <nickc@redhat.com>
116 * doc/as.texinfo: Add mention of RX port and inclusion of RX
119 2009-10-25 Arnold Metselaar <arnold.metselaar@planet.nl>
121 * config/tc-z80.c (z80_start_line_hook): Fix parsing of 'equ' or
122 'defl' in cases where the space between the keyword and the
123 expression has been scrubbed away.
124 Do not check whether a symbol is redefined with 'equ' here;
125 the function equals takes an argument indicating whether
126 redefinitions are allowed.
127 Only call LISTING_NEWLINE if needed, and then after the call to
130 2009-10-25 Maciej W. Rozycki <macro@linux-mips.org>
132 * doc/as.texinfo (Overview): Move -mfix7000/-mno-fix7000 to
133 match the order elsewhere. Add -mfix-vr4120/-mno-fix-vr4120 and
134 -mfix-vr4130/-mno-fix-vr4130.
135 * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-vr4120 to
136 -mno-fix-vr4120 and -no-mfix-vr4130 to -mno-fix-vr4130.
138 2009-10-20 H.J. Lu <hongjiu.lu@intel.com>
141 * doc/c-i386.texi: Mention movabs.
143 2009-10-19 H.J. Lu <hongjiu.lu@intel.com>
145 * doc/c-i386.texi: Don't mention the 8 extra control registers
148 2009-10-19 Doug Evans <dje@sebabeach.org>
150 * config/tc-lm32.c (md_begin): Add missing call to bfd_set_arch_mach.
152 * config/tc-xc16x.c (md_cgen_lookup_reloc): Ensure fix_size is set
153 correctly for all 16 bit relocs. Return BFD_RELOC_NONE if reloc
154 isn't recognized, not BFD_RELOC_XC16X_SOF.
156 2009-10-18 Alan Modra <amodra@bigpond.net.au>
158 * as.h (know): Don't define as empty.
159 * config/tc-arm.c (make_mapping_symbol): Revert last patch.
161 2009-10-18 Matthias Klose <doko@ubuntu.com>
163 * config/tc-arm.c (make_mapping_symbol): Add braces to avoid empty body
166 2009-10-16 H.J. Lu <hongjiu.lu@intel.com>
169 * doc/c-i386.texi: Mention the 8 extra control registers for
171 Mention .code64 directive.
173 2009-10-15 Alan Modra <amodra@bigpond.net.au>
176 * macro.c: Delete unnecessary function declarations.
177 (buffer_and_nest): Support multiple labels per line for
178 LABELS_WITHOUT_COLONS targets if the labels do have colons.
179 (free_macro): Move so that we don't need forward declaration.
180 * read.c (read_a_source_file): Take a copy of macro expansion line
181 before we trim labels.
182 * listing.c (listing_newline): Adjust stdin line save for
183 input_line_pointer still at start of line.
185 2009-10-13 H.J. Lu <hongjiu.lu@intel.com>
188 * config/tc-i386.c (build_modrm_byte): Declare exp earlier.
190 2009-10-13 H.J. Lu <hongjiu.lu@intel.com>
193 * config/tc-i386-intel.c (i386_intel_operand): Handle call
194 and jump with 2 immediate operands.
196 * config/tc-i386.c (i386_finalize_immediate): Don't generate
197 error message if operand string is NULL.
199 2009-10-013 Vincent Riviere <vincent.riviere@freesbee.fr>
202 * config/tc-m68k.c (tc_gen_reloc): Fix addend for relocations
203 located in data section an referencing a weak symbol.
205 2009-10-07 Nathan Sidwell <nathan@codesourcery.com>
207 * config/tc-arm.c (mapping_state, mapping_state_2): Make dummy
208 versions slightly more than nothing.
210 * doc/c-arm.texi (ARM Options): Correctly name the two mapcs options.
212 2009-10-07 Alan Modra <amodra@bigpond.net.au>
213 H.J. Lu <hongjiu.lu@intel.com>
216 * config/tc-ia64.c (parse_operand): Use expression rather than
217 expression_and_evalute.
218 (parse_operand_and_eval): New function. Replace all uses of
219 parse_operand outside of parse_operands with this function.
220 (parse_operans_maybe_eval): New function. Replace uses of
221 parse_operand in parse_operands, except for the dummy, with
224 2009-10-06 Alan Modra <amodra@bigpond.net.au>
227 * symbols.c (snapshot_symbol): Revert 2006-01-09 patch for PR2117.
229 2009-10-06 Alan Modra <amodra@bigpond.net.au>
231 * read.c (s_reloc): Don't use expression_and_evaluate.
233 2009-10-02 Peter Bergner <bergner@vnet.ibm.com>
235 * config/tc-ppc.c (md_show_usage): Document -m476.
236 * doc/c-ppc.texi (PowerPC-Opts): Document -m476.
238 2009-10-02 Jakub Jelinek <jakub@redhat.com>
240 * dw2gencfi.c: Include dwarf2dbg.h.
241 (DWARF2_FORMAT): Define if not defined.
242 (dot_cfi_sections): New function.
243 (cfi_pseudo_table): Handle .cfi_sections.
244 (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame): Define.
245 (cfi_sections): New variable.
246 (output_cie, output_fde, select_cie_for_fde): Add eh_frame
247 argument, add supporting for outputting .debug_frame
249 (cfi_change_reg_numbers): New function or macro.
250 (cfi_finish): Only emit .eh_frame if
251 cfi_sections & CFI_EMIT_eh_frame. Emit .debug_frame if
252 cfi_sections & CFI_EMIT_debug_frame.
253 * config/tc-ppc.h (md_reg_eh_frame_to_debug_frame): Define.
254 * doc/as.texinfo (CFI directives): Document .cfi_sections.
256 2009-10-01 Peter Bergner <bergner@vnet.ibm.com>
258 * config/tc-ppc.c (md_show_usage): Rename "ppca2" to "a2".
259 * doc/c-ppc.texi (PowerPC-Opts): Likewise.
261 2009-10-01 H.J. Lu <hongjiu.lu@intel.com>
263 * config/tc-i386.c (x86_cons): Reformat.
265 2009-09-29 DJ Delorie <dj@redhat.com>
267 * Makefile.am: Add RX target.
268 * configure.in: Likewise.
269 * configure.tgt: Likewise.
270 * read.c (do_repeat_with_expander): New function.
271 * read.h: Provide a prototype for do_repeat_with_expander.
272 * doc/Makefile.am: Add RX target documentation.
273 * doc/all.texi: Likewise.
274 * doc/as.texinfo: Likewise.
275 * Makefile.in: Regenerate.
276 * NEWS: Mention support for RX architecture.
277 * configure: Regenerate.
278 * doc/Makefile.in: Regenerate.
279 * config/rx-defs.h: New file.
280 * config/rx-parse.y: New file.
281 * config/tc-rx.h: New file.
282 * config/tc-rx.c: New file.
283 * doc/c-rx.texi: New file.
285 2009-09-25 Martin Thuresson <martint@google.com>
287 Update sources to make alpha, arc and arm targets compile cleanly
289 * config/tc-alpha.c: Add casts.
290 (extended_bfd_reloc_code_real_type): New type. Used to avoid
291 enumeration conversion warnings.
292 (struct alpha_fixup, void assemble_insn, assemble_insn)
293 (assemble_tokens): Use new type.
294 * ecoff.c: Add casts. (mark_stabs): Use enumeration names.
295 * config/obj-elf.c: Add cast
296 * config/tc-arc.c: Add casts.
297 * config/obj-aout.h (text_section,data_section,bss_section):
299 * config/obj-elf.c: Add cast.
300 * config/tc-arm.c: Add casts.
301 (X, TxCE, TxCE, TxC3, TxC3w, TxCM_, TxCM, TUE, TUF, CE, CL, cCE)
302 (cCL, C3E, xCM_, nUF, nCE_tag): Change input format to avoid the
303 need for keywords as arguments.
305 2009-09-25 Nick Hudson <nick.hudson@gmx.co.uk>
307 * doc/c-mips.texi: Fix the singlefloat and doublefloat kindex
310 2009-09-24 H.J. Lu <hongjiu.lu@intel.com>
312 * config/tc-i386.c (build_vex_prefix): Check vex == 2 instead
315 2009-09-24 H.J. Lu <hongjiu.lu@intel.com>
318 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Return true
319 for BFD_RELOC_X86_64_GOTPCREL.
321 2009-09-23 H.J. Lu <hongjiu.lu@intel.com>
323 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Don't check
326 2009-09-23 Sterling Augustine <sterling@jaw.hq.tensilica.com>
328 * config/tc-xtensa.c (md_apply_fix): Remove check for constant with
329 difference of of two symbols.
330 (xtensa_fix_adjustable): Likewise.
332 2009-09-23 Tim E. Sneddon <tsneddon@kednos.com>
334 * configure.com: Fix a typo.
336 2009-09-23 Alan Modra <amodra@bigpond.net.au>
338 * symbols.c (define_sym_at_dot): New function, extracted from..
339 (colon): ..here. Define error case cloned symbol.
341 2009-09-21 H.J. Lu <hongjiu.lu@intel.com>
343 * config/tc-i386.c: Remove white spaces.
345 2009-09-21 Ben Elliston <bje@au.ibm.com>
346 Peter Bergner <bergner@vnet.ibm.com>
348 * config/tc-ppc.c (md_show_usage): Document -mpcca2.
349 * doc/c-ppc.texi (PowerPC-Opts): Document -mppca2.
351 2009-09-18 Nick Clifton <nickc@redhat.com>
353 * po/es.po: Updated Spanish translation.
355 2009-09-15 H.J. Lu <hongjiu.lu@intel.com>
357 * config/tc-i386.c (offset_in_range): Sign extend offset only
360 2009-09-15 H.J. Lu <hongjiu.lu@intel.com>
362 * config/tc-i386-intel.c (i386_intel_operand): Initialize
363 intel_state.has_offset to 0.
365 2009-09-15 H.J. Lu <hongjiu.lu@intel.com>
367 * config/tc-i386.c (offset_in_range): Sign extend offset only
368 for 32bit address mode.
370 2009-09-15 Tristan Gingold <gingold@adacore.com>
372 * makefile.vms (OBJS): Compile te-vms.c only on Itanium.
374 2009-09-14 H.J. Lu <hongjiu.lu@intel.com>
377 * config/tc-i386-intel.c (intel_state): Add has_offset.
378 (i386_intel_simplify): Set intel_state.has_offset to 1 for
380 (i386_intel_operand): Turn on intel_state.is_mem if
381 intel_state.has_offset is 0 and the last char is ']'.
383 2009-09-14 H.J. Lu <hongjiu.lu@intel.com>
386 * config/tc-i386.c (optimize_disp): Set disp32 for 64bit only
387 if there is an ADDR_PREFIX.
388 (i386_finalize_displacement): Repor error if signed 32bit
389 displacement is out of range.
391 2009-09-13 Richard Sandiford <rdsandiford@googlemail.com>
393 * config/tc-mips.c (MIPS_JALR_HINT_P): Take an expr argument.
394 Require the target to be a bare symbol on targets with
396 (macro_build_jalr): Update accordingly.
397 (mips_fix_adjustable): Don't reduce R_MIPS_JALRs on targets
398 with in-place addends.
400 2009-09-11 Nick Clifton <nickc@redhat.com>
402 * po/gas.pot: Updated by the Translation project.
404 2009-09-11 Martin Thuresson <martint@google.com>
406 * as.c (main): Call dwarf2_init.
407 * config/obj-elf.c (struct group_list): New field.
408 (build_group_lists): Use hash lookup.
409 (free_section_idx): New function.
410 (elf_frob_file): Adjust.
411 * dwarf2dbg.c (all_segs_hash, last_seg_ptr): New variables.
412 (get_line_subseg): Adjust.
413 (dwarf2_init): New function.
414 * dwarf2dbg.h (dwarf2_init): New declaration.
416 2009-09-11 Martin Thuresson <martint@google.com>
418 Updated sources to compile cleanly with -Wc++-compat:
421 * config/obj-elf.c: Add casts.
422 (obj_elf_type): Rename variable typename to type_name.
423 * config/tc-i386-intel.c (i386_operators): Rename member operator to op.
424 * config/tc-i386.c: Add casts.
425 (check_cpu_arch_compatible): Rename argument new to new_flag.
426 (gotrel): Update variable to use enum name instead of integer value.
427 * dw2gencfi.c: Add casts.
428 (struct cfi_escape_data): Move to top level.
429 * dwarf2dbg.c: Add cast.
430 * dwarf2dbg.h (dwarf2_loc_directive_seen): Make variable extern.
432 (enum frame_state): Move to top level.
433 * expr.c (operatorf): Rename function operator to operatorf.
434 (operand): Rename variable operator to op.
435 (expr_set_rank): Rename argument operator to op.
438 * input-scrub.c: Add cast.
439 * listing.c: Add casts.
440 (enum edict_enum): Move to top level.
441 * macro.c: Add casts.
442 * macro.h (enum formal_type): Move to top level.
444 (s_include): Rename variable try to try_file.
446 * stabs.c: Add casts.
447 * subsegs.c: Add casts.
448 * symbols.c: Add casts.
449 * write.c: Add casts.
451 2009-09-11 Hans-Peter Nilsson <hp@bitrange.com>
454 * config/tc-mmix.c (md_assemble) <case mmix_operands_xyz_opt>:
455 Allow register operands for SWYM as for TRIP and TRAP. Correct
456 operand handling and error checking. Never emit
457 BFD_RELOC_MMIX_REG_OR_BYTE for operands to these insns.
459 2009-09-10 Alan Modra <amodra@bigpond.net.au>
461 * config/tc-d10v.c: Include dwarf2dbg.h.
462 (write_long, write_1_short, write_2_short): Call dwarf2_emit_insn.
463 (d10v_frob_label): New function.
464 * config/tc-d10v.h (d10v_frob_label): Declare.
465 (tc_frob_label): Define as d10v_frob_label.
467 2009-09-10 Alan Modra <amodra@bigpond.net.au>
469 * config/tc-d30v.c (d30v_frob_label): Call dwarf2_emit_label.
470 * config/tc-frv.c (frv_frob_label): Likewise.
472 2009-09-09 Alan Modra <amodra@bigpond.net.au>
474 * config/obj-coff.h (USE_UNIQUE): Don't define.
475 * config/obj-coff.c (weak_uniquify): Use an_external_name when TE_PE.
476 * symbols.c (an_external_name): Define when TE_PE.
477 (S_SET_EXTERNAL): Assign an_external_name when TE_PE.
478 * tc.h (an_external_name): Declare when TE_PE.
480 * config/tc-i386.c (i386_target_format): Avoid duplicate case label.
482 2009-09-08 Kaz Kojima <kkojima@rr.iij4u.or.jp>
484 * configure.tgt (sh*-*-netbsdelf*): Set endian according to cpu.
486 2009-09-08 Alan Modra <amodra@bigpond.net.au>
488 * read.c (emit_expr_fix): Handle size 3.
489 * config/tc-avr.c (md_assemble): Call dwarf2_emit_insn.
490 * config/tc-d30v.c (write_long, write_1_short,
491 write_2_short, md_assemble): Likewise.
492 * config/tc-dlx.c (md_assemble): Likewise.
493 * config/tc-i860.c (md_assemble): Likewise.
494 * config/tc-mn10200.c (md_assemble): Likewise.
495 * config/tc-pj.c (md_assemble): Likewise.
496 * config/tc-vax.c (md_assemble): Likewise.
498 2009-09-07 Daniel Gutson <dgutson@codesourcery.com>
500 * config/tc-arm.c (arm_cpus): cortex-r4f CPU added.
501 * doc/c-arm.texi: cortex-r4f CPU added.
503 2009-09-07 Tristan Gingold <gingold@adacore.com>
505 * po/POTFILES.in: Regenerate.
506 * po/gas.pot: Regenerate.
508 * Makefile.am (TARG_ENV_CFILES): New variable. Set to te-vms.c
509 (POTFILES): Add $(TARG_ENV_CFILES) in definition.
510 (EXTRA_as_new_SOURCES): Ditto.
511 * Makefile: Regenerate.
512 * acinclude.m4 (BFD_HAVE_TIME_TYPE_MEMBER,
513 BFD_HAVE_SYS_STAT_TYPE_MEMBER): New macro created from bfd/bfd.m4.
514 * configure.in: Add Tests for tm_gmtoff, st_mtim.tv_sec and
515 st_mtim.tv_nsec (from bfd/configure.in). Check for time.h and
517 Add te-vms.o in extra_objects if te_file is vms.
518 * configure: Regenerate.
519 * config.in: Regenerate.
520 * config/te-vms.c: New file, from bfd/vmsutil.c
521 (vms_dwarf2_file_time_name, vms_dwarf2_file_size_name)
522 (vms_dwarf2_file_name): New functions.
523 (vms_file_stats_name): Make it static, add a dirname parameter to
524 locally create the full pathname.
525 * config/te-vms.h: Add a copyright header.
526 Declare the above functions.
527 (DWARF2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILE_NAME): Use
528 the above functions in the definition.
529 * makefile.vms (OBJS): Add te-vms.obj.
530 (te-vms.obj): Create a specific target.
531 * configure.com: Create targ-env.h using a per target value.
532 Compile te-vms.c for ia64.
534 2009-09-05 Jie Zhang <jie.zhang@analog.com>
536 * doc/as.texinfo: Document that Blackfin GAS does not
537 accept SYMBOL = VALUE.
539 2009-09-05 Martin Thuresson <martin@mtme.org>
541 * config/tc-arc.c (struct syntax_classes): Rename member class
542 to s_class. (arc_extinst): Rename variable class to
543 s_class. Update code to use renamed members.
544 * config/tc-mips.c (insn_uses_reg): Rename argument class to
546 * config/tc-ppc.c (ppc_csect, ppc_change_csect, ppc_function)
547 (ppc_tc, ppc_is_toc_sym, ppc_symbol_new_hook, ppc_frob_label)
548 (ppc_fix_adjustable, md_apply_fix): Update code to use renamed
550 * config/tc-ppc.h (struct ppc_tc_sy): Change name of member
551 from class to symbol_class. (OBJ_COPY_SYMBOL_ATTRIBUTES): Update
552 code to use renamed members.
553 * config/tc-score.c (s3_adjust_paritybit): Rename argument
555 * config/tc-score7.c (s7_adjust_paritybit): Rename argument
558 2009-09-04 Tristan Gingold <gingold@adacore.com>
560 * NEWS: Add marker for 2.20.
562 2009-09-04 Jie Zhang <jie.zhang@analog.com>
564 * config/bfin-parse.y (asm_1): Implement HLT instruction.
565 Fix comments for DBGA, DBGAH and DBGAL.
566 * config/tc-bfin.c (bfin_gen_pseudodbg_assert): Change according
567 to the new encoding of DBGA, DBGAH, and DBGAL.
569 2009-09-04 Jie Zhang <jie.zhang@analog.com>
571 * doc/all.texi: Replace BFIN with Blackfin.
572 * doc/as.texinfo: Likewise.
573 * doc/c-bfin.texi: Likewise.
574 * doc/asconfig.texi: Likewise.
576 * doc/c-bfin.texi: Update -mcpu= option with bf512, bf514,
579 2009-09-04 Jie Zhang <jie.zhang@analog.com>
581 * Makefile.am (bfin-parse.o): Remove bfin-parse.h from
582 the prerequisite. Add $(srcdir)/config/bfin-aux.h to the
584 (bfin-defs.h, $(srcdir)/config/bfin-defs.h): Rename to ...
585 (bfin-parse.h, $(srcdir)/config/bfin-parse.h): ... these.
586 (bfin-lex.o): Add bfin-parse.h and $(srcdir)/config/bfin-defs.h
588 * Makefile.in: Regenerate.
590 2009-09-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
592 * Makefile.am (itbl-lex.o): Depend on itbl-parse.h.
593 (itbl-ops.o, itbl-tops.o): Likewise.
594 (itbl-parse.h): Use separate rule.
595 * Makefile.in: Regenerate.
597 2009-09-03 Jie Zhang <jie.zhang@analog.com>
599 * config/tc-bfin.c (md_parse_option): Call as_fatal for bad
602 2009-09-03 Jie Zhang <jie.zhang@analog.com>
604 * config/bfin-lex.l: Remove V as STATUS_REG.
606 2009-09-03 Jie Zhang <jie.zhang@analog.com>
608 * config/bfin-parse.y: Remove trailing whitespace.
610 * config/tc-bfin.c (struct bfin_reg_entry): Remove.
611 (bfin_reg_info[]): Remove.
613 2009-09-03 Jie Zhang <jie.zhang@analog.com>
615 * config/bfin-defs.h (F_REG_ALL): Remove macro.
616 (F_REG_HIGH): Redefine.
617 (F_REG_NONE): New macro.
618 (F_REG_LOW): New macro.
619 (REG_CLASS): Enclose macro argument in parentheses when used.
620 (REG_EVEN): Likewise.
622 (IS_HCOMPL): Use flags.
623 * config/bfin-lex.l (SP.L, SP.H, FP.L, FP.H): Set flags.
624 (parse_reg): Set flags.
625 (parse_halfreg): Set flags.
627 2009-09-03 Jie Zhang <jie.zhang@analog.com>
629 * config/bfin-parse.y (gen_multi_instr_1): Check anomaly
630 05000074 only when both slot1 and slot2 are filled.
632 2009-09-03 Jie Zhang <jie.zhang@analog.com>
634 * config/tc-bfin.c (md_assemble): Bump line counters if there is
635 EOL in the instruction.
637 2009-09-03 Jie Zhang <jie.zhang@analog.com>
639 * config/bfin-defs.h (IS_GENREG): Define.
642 * config/bfin-parse.y (asm_1): Check illegal register move
645 2009-09-03 Jie Zhang <jie.zhang@analog.com>
647 * config/bfin-parse.y (asm_1): Fix a typo.
649 2009-09-03 Jie Zhang <jie.zhang@analog.com>
651 * config/bfin-parse.y (asm_1): Add LOOP_BEGIN and LOOP_END.
652 * config/tc-bfin.c (bfin_start_line_hook): Remove.
653 (bfin_loop_beginend): New.
654 * config/tc-bfin.h (bfin_start_line_hook): Don't declare.
655 (md_start_line_hook): Don't define.
656 * config/bfin-aux.h (bfin_loop_beginend): Declare.
658 2009-09-03 Tristan Gingold <gingold@adacore.com>
660 * config/tc-ia64.c (ia64_vms_note): Use lbasename instead of basename.
661 Call xstrdup on the result and free the buffer after use.
663 2009-09-03 Tristan Gingold <gingold@adacore.com>
665 * as.h (__PRETTY_FUNCTION__): Use the same definition as bfd/libbfd.h.
667 2009-09-02 Jie Zhang <jie.zhang@analog.com>
669 * config/bfin-parse.y (value_match): Use int instead of long.
671 From Michael Frysinger <michael.frysinger@analog.com>
672 * config/bfin-defs.h (Expr_Node_Value): Declare the i_value
675 2009-09-02 Jie Zhang <jie.zhang@analog.com>
677 From Bernd Schmidt <bernd.schmidt@analog.com>
678 * config/bfin-parse.y (asm_1): Clean up and unify error handling
679 for load and store insns.
680 (neg_value): Delete function.
682 2009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
684 * Makefile.am (m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o):
685 Supply correct source file name for generated files which may be
687 * Makefile.in: Regenerate.
689 2009-09-01 H.J. Lu <hongjiu.lu@intel.com>
691 * version.c (parse_args): Change to "Copyright 2009".
693 2009-09-01 Tristan Gingold <gingold@adacore.com>
695 * makefile.vms: Adjust include pathes. Remove useless vaxctrl
697 * configure.com: Ported to Itanium VMS. Create build.com DCL script.
700 2009-09-01 Jie Zhang <jie.zhang@analog.com>
702 * config/bfin-parse.y (asm_1): Only PREG and DREG are allowed
705 2009-09-01 Jie Zhang <jie.zhang@analog.com>
707 2007-09-28 Bernd Schmidt <bernd.schmidt@analog.com>
708 * config/tc-bfin.c (bfin_fix_adjustable): Partially revert the
709 2007-08-23 change; BFD_RELOC_BFIN_GOT is not adjustable.
711 2007-08-23 Jie Zhang <jie.zhang@analog.com>
712 * config/tc-bfin.c (bfin_fix_adjustable): Adjust
713 BFD_RELOC_BFIN_GOT, BFD_RELOC_BFIN_GOT17M4 and
714 BFD_RELOC_BFIN_FUNCDESC_GOT17M4.
716 2009-09-01 Jie Zhang <jie.zhang@analog.com>
718 * read.c (TC_START_LABEL): Add a new argument.
719 (read_a_source_file): Pass the beginning of the symbol through
720 the new argument of TC_START_LABEL.
721 * config/tc-arm.h (TC_START_LABEL): Add a new argument.
722 * config/tc-bfin.c (bfin_start_label): Only search '(' and '['
723 from the beginning of the symbol.
724 * config/tc-bfin.h (TC_START_LABEL): Add the new argument.
725 * config/tc-d30v.h (TC_START_LABEL): Likewise.
726 * config/tc-fr30.h (TC_START_LABEL): Likewise.
727 * config/tc-m32c.h (TC_START_LABEL): Likewise.
728 * config/tc-m32r.h (TC_START_LABEL): Likewise.
729 * config/tc-mep.h (TC_START_LABEL): Likewise.
731 2009-08-31 H.J. Lu <hongjiu.lu@intel.com>
734 * write.c (write_object_file): Revert the accidental change
735 made in revision 1.124 on 2009-08-17.
737 2009-08-31 Jan Beulich <jbeulich@novell.com>
739 * config/obj-elf.c (obj_elf_change_section): Set default type
740 by calling bfd_elf_get_default_section_type.
742 2009-08-31 Jie Zhang <jie.zhang@analog.com>
744 * config/bfin-aux.h: Change format from DOS to UNIX.
746 2009-08-29 Martin Thuresson <martin@mtme.org>
748 * config/tc-arm.c (struct asm_cond, struct asm_psr, struct
749 asm_barrier_opt): Change member template to
750 template_name. (md_begin): Update code to reflect new member
752 * config/tc-i386.c (struct templates, struct _i386_insn)
753 (match_template, cpu_flags_match, match_reg_size, match_mem_size)
754 (operand_size_match, md_begin, i386_print_statistics, pi)
755 (build_vex_prefix, md_assemble, parse_insn, optimize_imm)
756 (optimize_disp): Updated code to use new names. (parse_insn):
758 * config/tc-ia64.c (dot_template, emit_one_bundle): Updated
759 code to use new names.
760 * config/tc-score.c (struct s3_asm_opcode): Renamed member
761 template to template_name. (s3_parse_16_32_inst, s3_parse_48_inst,
762 s3_do_macro_ldst_label, s3_build_score_ops_hsh): Update code to
764 * config/tc-score7.c (struct s7_asm_opcode): Renamed member
765 template to template_name. (s7_parse_16_32_inst,
766 s7_do_macro_ldst_label, s7_build_score_ops_hsh): Update code to
768 * config/tc-tic30.c (md_begin, struct tic30_insn)
769 (md_assemble): Update code to use new names.
770 * config/tc-tic54x.c (struct _tic54x_insn, md_begin)
771 (optimize_insn, tic54x_parse_insn, next_line_shows_parallel):
772 Update code to use new names.
773 * config/tc-arm.c (insert_reg_alias): Rename variable new to
775 * config/tc-dlx.c (parse_operand): Rename variable new to
777 * config/tc-ia64.c (ia64_gen_real_reloc_type): Rename variable
779 * config/tc-mcore.c (parse_exp, parse_imm): Rename variable
781 * config/tc-microblaze.c (parse_exp, parse_imm, check_got):
782 Change name from new to new_pointer.
783 * config/tc-or32.c (parse_operand): Rename variable new to
785 * config/tc-pdp11.c (md_assemble): Rename variable new to
787 * config/tc-pj.c (alias): Change argument new to new_name.
788 * config/tc-score.c (s3_build_score_ops_hsh): Rename variable
789 new to new_opcode. (s3_build_dependency_insn_hsh) Rename variable
790 new to new_i2n. (s3_convert): Rename variables old and new to
792 * config/tc-score7.c (s7_build_score_ops_hsh): Rename variable
793 new to new_opcode. (s7_build_dependency_insn_hsh): Rename variable
794 new to new_i2d. (s7_b32_relax_to_b16, s7_convert_frag): Rename
795 variables old and new to r_old and r_new.
796 * config/tc-sh.c (parse_exp): Rename variable new to
798 * config/tc-sh64.c (shmedia_parse_exp): Rename variable new to
800 * config/tc-tic4x.c (tic4x_operand_parse): Rename variable new
802 * config/tc-z8k.c (parse_exp): Rename variable new to
804 * listing.c (listing_newline): Rename variable new to new_i.
806 2009-08-29 Matt Fleming <matt@console-pimps.org>
808 * config/tc-sh.c (md_apply_fix): Extend sign of the offset value
811 2009-08-28 H.J. Lu <hongjiu.lu@intel.com>
813 * config/tc-i386.c (cpu_arch): Use PROCESSOR_L1OM on "l1om".
814 (i386_align_code): Handle PROCESSOR_L1OM.
815 (check_cpu_arch_compatible): Fix a typo in comments.
816 (set_cpu_arch): Check cpu_arch_isa instead of
817 cpu_arch_isa_flags.bitfield.cpul1om.
818 (i386_mach): Likewise.
819 (i386_target_format): Likewise.
821 * config/tc-i386.h (processor_type): Add PROCESSOR_L1OM.
823 2009-08-26 DJ Delorie <dj@redhat.com>
825 * config/tc-mep.c (md_pcrel_from_section): Handle any other
826 forced-relocation cases.
828 2009-08-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
830 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-moxie.c.
831 * config/tc-moxie.c (md_assemble): Fix typos in strings. Fix
833 * Makefile.in: Regenerate.
834 * po/POTFILES.in: Likewise.
835 * po/gas.pot: Likewise.
837 2009-08-26 Nick Clifton <nickc@redhat.com>
839 * config/obj-coff-seh.c (seh_arm_write_pdata): Test for
840 seh_ctx_root being NULL.
842 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
844 * Makefile.am (am__skiplex, am__skipyacc): New.
845 * Makefile.in: Regenerate.
847 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
849 * Makefile.am (YFLAGS): Remove, not needed any more.
850 (AM_CPPFLAGS): Renamed from ...
851 (INCLUDES): ... this.
852 * Makefile.in: Regenerate.
854 * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.8 cygnus, add 1.11,
856 (all): Remove now-unneeded dependency upon info.
857 (DIST_SUBDIRS, MKDEP, DEP_INCLUDES, DEP_FLAGS, CLEANFILES)
858 (DEP_FILE_DEPS): Remove variables.
859 (OBJ_FORMAT_CFILES): Add config/obj-multi.c.
860 (OBJ_FORMAT_HFILES): Add config/obj-multi.h.
861 ($(OBJS), ecoff.o): Remove now-unneeded manual dependencies.
862 ($(TARG_CPU_O), $(ATOF_TARG_O), obj-aout.o, obj-coff.o obj-ecoff.o)
863 (obj-elf.o obj-evax.o, obj-fdpicelf.o, obj-multi.o, obj-som.o)
864 (e-mipself.o, e-mipsecoff.o, e-i386aout.o, e-i386coff.o, e-i386elf.o)
865 (e-crisaout.o, e-criself.o, tc-i386.o, xtensa-relax.o): Remove
867 (EXTRA_as_new_SOURCES): Add $(CFILES), $(HFILES), $(TARGET_CPU_CFILES),
868 $(TARGET_CPU_HFILES), $(OBJ_FORMAT_CFILES), $(OBJ_FORMAT_HFILES),
869 $(CONFIG_ATOF_CFILES), $(MULTI_CFILES), so their dependency fragments
870 are picked up in the Makefile.
871 (itbl-lex.c, itbl-ops.o): Remove manual dependencies.
872 (m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o, itbl-tops.o)
873 (itbl-test.o): Rewrite using automake-style dependency
874 tracking rules; only list the dependency upon the primary source
875 file, but no included headers.
876 (DEP, DEP1, DEPTC, DEPOBJ, DEP2, dep.sed, dep, dep-in, dep-am):
878 (mkdep section): Remove.
879 * Makefile.in: Regenerate.
880 * po/POTFILES.in, po/gas.pot: Regenerate.
882 * Makefile.am (install-pdf, install-pdf-recursive, install-html)
883 (install-html-recursive): Remove.
884 * Makefile.in: Regenerate.
885 * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
886 (html__strip_dir, install-html, install-html-am): Remove.
887 * doc/Makefile.in: Regenerate.
889 * Makefile.in: Regenerate.
890 * aclocal.m4: Likewise.
891 * config.in: Likewise.
892 * configure: Likewise.
893 * doc/Makefile.in: Likewise.
895 2009-08-21 Sterling Augustine <sterling@jaw.hq.tensilica.com>
897 * config/tc-xtensa.c (config_max_slots): New global variable.
898 (md_begin): Set config_max_slots.
899 (total_frag_text_expansion): Use config_max_slots instead of
901 (xg_init_vinsn): Likewise.
902 (xg_clear_vinsn): Likewise.
903 (xg_free_vinsn): Likewise.
905 2009-08-20 Sterling Augustine <sterling@jaw.hq.tensilica.com>
907 * config/tc-xtensa.c (xg_copy_vinsn): New function.
908 (finish_vinsn): Call xg_copy_vinsn.
910 2009-08-19 Sterling Augustine <sterling@tensilica.com>
912 * config/tc-xtensa.h (xtensa_frag_data): Rename unused field fr_prev
914 * config/tc-xtensa.c (xtensa_mark_difference_of_two_symbols): Set
915 and use no_transform_end.
917 2009-08-18 Kai Tietz <kai.tietz@onevision.com>
919 * config/obj-coff-seh.c: Add copyright notice.
920 * config/obj-coff-seh.h: Add copyright notice.
921 Add x64 specific macros from coff/pe.h header.
923 2009-08-18 Sterling Augustine <sterling@tensilica.com>
925 * config/tc-xtensa.c (xtensa_create_xproperty_segments): Use
926 sizeof instead of hard-coded value.
927 (add_xt_block_frags): Remove unused local variable.
928 (frag_flags_to_number): Change return type to flagword. Remove
929 unused local variable.
931 2009-08-17 Sterling Augustine <sterling@tensilica.com>
933 * config/tc-xtensa.c (xtensa_frob_label): move call to
934 do_align_targets to set frag_type only.
936 2009-08-17 Kai Tietz <kai.tietz@onevision.com>
938 * config/obj-coff-seh.c: New file.
939 * config/obj-coff-seh.h: Likewise.
940 * config/obj-coff.c (obj-coff-seh.c): Add include.
941 (coff_pseudo_table): Add new .seh... commands.
942 * config/obj-coff.h (obj_coff_seh_do_final): Add new
944 (obj_coff_generate_pdata): New obj-coff hook.
945 * write.c (size_seg): Avoid sizing of already sized
947 (write_object_file): Call conditional hook
948 objc_coff_generate_pdata.
949 * Makefile.am: Add dependencies for new files.
950 * Makefile.in: Regenerated.
952 2009-08-17 Nick Clifton <nickc@redhat.com>
954 * config/tc-microblaze.c: Include safe-ctype.h instad of ctype.h.
955 (parse_reg): Use safe-ctype.h macros.
956 (parse_exp): Likewise.
957 (md_assemble): Likewise.
959 2009-08-11 DJ Delorie <dj@redhat.com>
961 * config/tc-mep.c (md_estimate_size_before_relax): Handle weak
963 (md_convert_frag): Likewise.
964 (md_pcrel_from_section): Likewise.
965 (mep_force_relocation): Likewise.
967 2009-08-11 Bernd Schmidt <bernd.schmidt@analog.com>
969 * config/bfin-parse.y (gen_multi_instr_1): New function.
970 (asm): Use it instead of bfin_gen_multi_instr.
971 (error): Add a format string when calling as_bad.
972 * config/bfin-defs.h (insn_regmask): Declare.
973 * config/tc-bfin.c (DREG_MASK, DREGH_MASK, DREGL_MASK, IREG_MASK): New
975 (decode_ProgCtrl_0, decode_LDSTpmod_0, decode_dagMODim_0,
976 decode_dagMODik_0, decode_dspLDST_0, decode_LDST_0, decode_LDSTiiFP_0,
977 decode_LDSTii_0, decode_dsp32mac_0, decode_dsp32mult_0,
978 decode_dsp32alu_0, decode_dsp32shift_0, decode_dsp32shitimm_0,
979 insn_regmask): New functions.
981 From Jie Zhang <jie.zhang@analog.com>
982 * config/tc-bfin.h (bfin_anomaly_checks): Declare.
983 (AC_05000074): Define.
984 (ENABLE_AC_05000074): Define.
985 * config/tc-bfin.c (enum bfin_cpu_type): New.
986 (bfin_cpu_t): Typedef.
987 (bfin_cpu_type): Define.
988 (bfin_si_revision): Define.
989 (bfin_anomaly_checks): Define.
990 (struct bfin_cpu): New.
991 (bfin_cpus[]): New. (struct bfin_cpu_isa): Define.
992 (bfin_isa): New global variable.
993 (OPTION_MCPU): Define.
994 (md_longopts[]): Add -mcpu option.
995 (md_parse_option): Deal with -mcpu option and initialize
997 * doc/c-bfin.texi: Rename BFIN to Blackfin throughout. Document
999 * config/bfin-parse.y (gen_multi_instr_1): Check anomaly
1002 2009-08-11 Mike Frysinger <vapier@gentoo.org>
1004 * config/bfin-parse.y (binary): Change "compiler" to "assembler".
1007 2009-08-11 Nick Clifton <nickc@redhat.com>
1010 * config/tc-arm.c (do_t_mov_cmp): Do not silently ignore shifted
1013 2009-08-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1015 Fix compilation of i386-*-go32.
1016 * config/tc-i386.c (i386_target_format <TE_GO32>): New.
1017 (i386_target_format <OBJ_MAYBE_COFF>): Compile only if !TE_GO32.
1018 * config/te-go32.h (TARGET_FORMAT): Move the definition ...
1019 * config/tc-i386.h <!i386_target_format>: ... here.
1021 2009-08-10 Daniel Gutson <dgutson@codesourcery.com>
1024 * config/tc-arm.c (do_t_add_sub_w): Fixed constraints.
1026 2009-08-07 Daniel Jacobowitz <dan@codesourcery.com>
1028 * config/tc-arm.c (marked_pr_dependency, mapstate): Delete global
1030 (mapping_state): Use the section's mapstate.
1031 (mapping_state_2): Likewise. Skip special sections.
1032 (s_arm_unwind_fnend): Use the section's marked_pr_dependency.
1033 (arm_elf_change_section): Do not set deleted globals.
1034 * config/tc-arm.h (struct arm_segment_info_type): Document
1035 marked_pr_dependency.
1037 2009-08-07 Michael Eager <eager@eagercon.com>
1039 * NEWS: Mention MicroBlaze support.
1041 2009-08-06 Michael Eager <eager@eagercon.com>
1043 * Makefile.am: add microblaze to CPU_TYPES, config/tc-microblaze.c to
1044 TARGET_CPU_CFILES, config/tc-microblaze.h to TARGET_CPU_HFILES, add
1045 DEP_microblaze_elf target.
1046 * Makefile.in: Regenerate.
1047 * config/tc-microblaze.c: Add MicroBlaze assembler.
1048 * config/tc-microblaze.h: Add header for tc-microblaze.c.
1049 * configure.in: Add microblaze target.
1050 * configure: Regenerate.
1051 * configure.tgt: Same.
1052 * doc/Makefile.am: Add c-microblaze.texi to CPU_DOCS.
1053 * doc/Makefile.in: Same.
1054 * doc/all.texi: Set MICROBLAZE.
1055 * doc/as.texinfo: Add MicroBlaze doc links.
1056 * doc/c-microblaze.texi: New MicroBlaze docs.
1058 2009-08-06 Nick Clifton <nickc@redhat.com>
1060 * config/tc-arm.c (md_assemble): Call mapping_state from inside a
1061 block in case it is a null macro.
1063 2009-08-05 Chao-ying Fu <fu@mips.com>
1065 * config/tc-mips.c (MIPS_JALR_HINT_P): New define. For IRIX, it is
1066 true for new abi. For non-IRIX targets, it is always true.
1067 (macro_build_jalr): If MIPS_JALR_HINT_P, emit BFD_RELOC_MIPS_JALR.
1069 2009-08-05 Eric B. Weddington <eric.weddington@atmel.com>
1071 * config/tc-avr.c (mcu_types): Add attiny2313a, attiny4313, attiny261a,
1072 attiny861a, atmega644pa, attiny24a, attiny44a.
1073 * doc/c-avr.texi: Likewise.
1075 2009-08-04 Sandra Loosemore <sandra@codesourcery.com>
1077 * doc/c-mips.texi (MIPS Opts): List 1004K options for -march.
1078 * config/tc-mips.c (mips_cpu_info_table): Add 1004K cores.
1080 2009-08-04 Nathan Sidwell <nathan@codesourcery.com>
1082 * config/tc-arm.c (my_get_expression): Detect missing expressions.
1084 2009-08-02 Eric B. Weddington <eric.weddington@atmel.com>
1086 * config/tc-avr.c (mcu_types): Add atmega8m1, atmega8c1, atmega16c1.
1087 * doc/c-avr.texi: Likewise.
1089 2009-08-01 Eric B. Weddington <eric.weddington@atmel.com>
1091 * config/tc-avr.c (mcu_types): Add atmega8u2, atmega16u2, atmega32u2.
1092 * doc/c-avr.texi: Likewise.
1094 2009-07-31 Daniel Gutson <dgutson@codesourcery.com>
1095 Daniel Jacobowitz <dan@codesourcery.com>
1097 * config/obj-elf.c (obj_elf_ident): Notify section change to the hook.
1098 * config/tc-arm.c (make_mapping_symbol): New function, from
1099 mapping_state. Save mapping symbols in the frag.
1100 (insert_data_mapping_symbol): New.
1101 (mapping_state): Use make_mapping_symbol, improve state transitions.
1102 (mapping_state_2): New. Provide dummy definition.
1103 (opcode_select): Do not call mapping_state.
1104 (s_bss): Call md_elf_section_change_hook instead of mapping_state.
1105 (output_inst): Update use of tc_frag_data.
1106 (new_automatic_it_block): Call mapping_state before emitting the
1108 (md_assemble): Move mapping_state to just before outputting the
1110 (arm_handle_align): Update use of tc_frag_data.
1111 Call insert_data_mapping_symbol.
1112 (arm_init_frag): Update use of tc_frag_data. Call
1114 (arm_elf_change_section): Always update the mapping symbol FSM state.
1115 (check_mapping_symbols): New function.
1116 (arm_adjust_symtab): Use check_mapping_symbols.
1117 * config/tc-arm.h (struct arm_frag_type): New.
1118 (TC_FRAG_TYPE): Change to struct arm_frag_type.
1119 (TC_FRAG_INIT): Pass max_chars.
1120 (arm_init_frag): Update prototype.
1122 2009-07-31 Anthony Green <green@moxielogic.com>
1124 * configure.tgt (generic_target): Add moxie-uclinux support.
1126 2009-07-30 Nick Clifton <nickc@redhat.com>
1128 * doc/c-arm.texi (ARM-Instruction-Set): New node. Documents the
1129 different syntaxes support by the ARM port.
1130 (ARM Directives): Add entry for .syntax.
1132 * doc/c-mips.texi (MIPS insn): Fix typo.
1134 2009-07-29 Alan Modra <amodra@bigpond.net.au>
1137 * symbols.c (S_FORCE_RELOC): True for BSF_GNU_INDIRECT_FUNCTION.
1138 * config/tc-i386.c: Revert 2009-06-13 change.
1139 * config/tc-i386.h: Likewise.
1141 2009-07-28 Jan Beulich <jbeulich@novell.com>
1143 * expr.c (op_rank): Specify size. Remove O_md* initializers.
1145 2009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
1147 * config/tc-m68k.c (mcf5221x_ctrl): New.
1148 (m68k_cpu): Add line for MCF5221x.
1150 2009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
1152 * config/tc-m68k.c (mcf52235_ctrl): Remove non-existent CACR, ACR[01].
1153 (mcf53017_ctrl): Fix RAMBAR.
1155 2009-07-27 Jan Beulich <jbeulich@novell.com>
1157 * obj-elf.c (elf_file_symbol): Replace symbol name set up by
1158 symbol_new() with the passed in, unmodified one.
1160 2009-07-27 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1162 * config/tc-cr16.c (md_apply_fix): Put the addend value alone in to
1163 object file without symbol values.
1164 (tc_gen_reloc): For local symbols resolved or its absolute symbol,
1165 then set the relocation type as NULL.
1167 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
1169 * config/tc-i386.c (cpu_arch): Add l1om.
1170 (check_cpu_arch_compatible): New.
1171 (set_cpu_arch): Use it.
1173 (i386_mach): Return bfd_mach_l1om for Intel L1OM.
1174 (md_show_usage): Display l1om.
1175 (i386_target_format): Return ELF_TARGET_L1OM_FORMAT if
1176 cpu_arch_isa_flags.bitfield.cpul1om is set.
1178 * config/tc-i386.h (TARGET_ARCH): Use (i386_arch ()).
1180 (ELF_TARGET_L1OM_FORMAT): Likewise.
1182 * doc/c-i386.texi: Document l1om.
1184 2009-07-24 Roland McGrath <roland@redhat.com>
1185 Mark Wielaard <mjw@redhat.com>
1187 * config/obj-elf.c (obj_elf_ident): Set SEC_MERGE | SEC_STRINGS
1188 flags on .comment section.
1190 2009-07-24 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
1191 Alan Modra <amodra@bigpond.net.au>
1193 * config/tc-spu.c (md_apply_fix): Handle SPU_ADD_PIC.
1194 * config/tc-spu.h (tc_fix_adjustable): Don't adjust for SPU_ADD_PIC.
1195 (TC_FORCE_RELOCATION): Emit relocs for SPU_ADD_PIC.
1197 2009-07-24 Jan Beulich <jbeulich@novell.com>
1199 * tc-i386.c (cpu_arch): Add .8087, .287, .387, .no87, .nommx,
1201 (cpu_flags_and_not): New.
1202 (set_cpu_arch): Check whether sub-architecture specified is a
1204 (md_parse_option): Likewise.
1205 (parse_real_register): Don't return floating point register
1206 when x87 functionality is disabled.
1207 (md_show_usage): Add new sub-options.
1208 * doc/c-i386.texi: Update with new command line sub-options.
1210 2009-07-24 Nick Clifton <nickc@redhat.com>
1213 * config/tc-alpha.c: Fix up uses of gas printf like functions so
1214 that the format string is a constant string. Add translation
1215 support to message strings.
1216 * config/tc-arc.c: Likewise.
1217 * config/tc-arm.c: Likewise.
1218 * config/tc-cris.c: Likewise.
1219 * config/tc-fr30.c: Likewise.
1220 * config/tc-frv.c: Likewise.
1221 * config/tc-h8300.c: Likewise.
1222 * config/tc-hppa.c: Likewise.
1223 * config/tc-i370.c: Likewise.
1224 * config/tc-i960.c: Likewise.
1225 * config/tc-ia64.c: Likewise.
1226 * config/tc-m32r.c: Likewise.
1227 * config/tc-mep.c: Likewise.
1228 * config/tc-mips.c: Likewise.
1229 * config/tc-moxie.c: Likewise.
1230 * config/tc-msp430.c: Likewise.
1231 * config/tc-openrisc.c: Likewise.
1232 * config/tc-pdp11.c: Likewise.
1233 * config/tc-pj.c: Likewise.
1234 * config/tc-s390.c: Likewise.
1235 * config/tc-sh.c: Likewise.
1236 * config/tc-sh64.c: Likewise.
1237 * config/tc-sparc.c: Likewise.
1238 * config/tc-spu.c: Likewise.
1239 * config/tc-tic30.c: Likewise.
1240 * config/tc-tic4x.c: Likewise.
1241 * config/tc-tic54x.c: Likewise.
1242 * config/tc-v850.c: Likewise.
1243 * config/tc-xc16x.c: Likewise.
1244 * config/tc-xstormy16.c: Likewise.
1245 * config/tc-z80.c: Likewise.
1246 * config/tc-z8k.c: Likewise.
1247 * config/atof-ieee.c: Add translation support to as_warn
1249 * config/obj-coff.c: Likewise.
1251 2009-07-23 Ulrich Drepper <drepper@redhat.com>
1253 * config/obj-elf.c (obj_elf_type): Add code to support a type of
1255 * doc/as.texinfo: Document new feature of .type directive.
1256 * NEWS: Mention support for gnu_unique_object symbol type.
1258 2009-07-23 Nick Clifton <nickc@redhat.com>
1261 * doc/c-mips.texi (MIPS insn): Document the special behaviour of
1262 the .global directive for MIPS ports.
1264 2009-07-21 H.J. Lu <hongjiu.lu@intel.com>
1267 * config/tc-i386.c (i386_align_code): Tune for 32bit nops in
1269 (i386_target_format): Set cpu_arch_isa_flags.bitfield.cpulm
1272 2009-07-17 H.J. Lu <hongjiu.lu@intel.com>
1274 * config/tc-i386.c (md_assemble): Update operand types.
1275 (update_imm): Updated.
1276 (finalize_imm): Update the first 2 immediate operands only
1277 for instructions with 2 operands or more.
1279 2009-07-17 H.J. Lu <hongjiu.lu@intel.com>
1281 * config/tc-i386.c (md_assemble): Check implicit registers
1282 only for instructions with 3 operands or less.
1284 2009-07-17 Nick Clifton <nickc@redhat.com>
1286 * config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid
1287 compile time warning.
1289 2009-07-16 H.J. Lu <hongjiu.lu@intel.com>
1291 * config/tc-i386.c (md_assemble): Only check i.operands for AX.
1292 (md_estimate_size_before_relax): Don't relax IFUNC symbols.
1294 2009-07-16 Nathan Sidwell <nathan@codesourcery.com>
1296 * config/tc-arm.c (md_apply_fix <BFD_RELOC_ARM_TARGET2>): Write
1297 the offset for REL targets here.
1299 2009-07-15 Kai Tietz <kai.tietz@onevision.com>
1301 * listing.c (print_source): Initialize cache by NULL.
1303 2009-07-15 Daniel Gutson <dgutson@codesourcery.com>
1305 * doc/c-arm.texi (mauto-it): Removed old option.
1306 (mimplicit-it): Added right option.
1308 2009-07-14 Daniel Gutson <dgutson@codesourcery.com>
1310 * config/tc-arm.h (MAX_MEM_ALIGNMENT_BYTES): Define.
1311 (MAX_MEM_FOR_RS_ALIGN_CODE): Define in terms of
1312 MAX_MEM_ALIGNMENT_BYTES.
1313 * config/tc-arm.c (arm_frag_align_code): Replace hard coded
1314 constant with MAX_MEM_FOR_RS_ALIGN_CODE.
1316 2009-07-14 Nick Clifton <nickc@redhat.com>
1319 * config/tc-arm.h (THUMB_IS_FUNC): Handle a NULL pointer.
1320 (ARM_IS_FUNC): Likewise.
1322 2009-07-14 Daniel Gutson <dgutson@codesourcery.com>
1324 * config/tc-arm.c (md_assemble): Added validation.
1326 2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
1328 * Makefile.am: Run "make dep-am".
1329 * Makefile.in: Regenerated.
1331 2009-07-10 Tom Tromey <tromey@redhat.com>
1333 * Makefile.am (DEPTC_alpha_ecoff): Refer to dwarf2.h, not
1335 (DEPTC_alpha_elf): Likewise.
1336 (DEPTC_alpha_evax): Likewise.
1337 (DEPTC_arm_elf): Likewise.
1338 (DEPTC_hppa_elf): Likewise.
1339 (DEPTC_i386_aout): Likewise.
1340 (DEPTC_i386_coff): Likewise.
1341 (DEPTC_i386_elf): Likewise.
1342 (DEPTC_m68k_aout): Likewise.
1343 (DEPTC_m68k_coff): Likewise.
1344 (DEPTC_m68k_elf): Likewise.
1345 (DEPTC_mips_coff): Likewise.
1346 (DEPTC_mips_ecoff): Likewise.
1347 (DEPTC_mips_elf): Likewise.
1348 (DEPTC_ppc_coff): Likewise.
1349 (DEPTC_ppc_elf): Likewise.
1350 (DEPTC_s390_elf): Likewise.
1351 (DEPTC_sh_coff): Likewise.
1352 (DEPTC_sh_elf): Likewise.
1353 (DEPTC_sh64_elf): Likewise.
1354 (DEPTC_sparc_aout): Likewise.
1355 (DEPTC_sparc_coff): Likewise.
1356 (DEPTC_sparc_elf): Likewise.
1358 (dwarf2dbg.o): Likewise.
1359 (dw2gencfi.o): Likewise.
1360 (ehopt.o): Likewise.
1362 * Makefile.in: Rebuild.
1363 * dw2gencfi.h: Include dwarf2.h, not elf/dwarf2.h.
1364 * dwarf2dbg.c: Likewise.
1365 * ehopt.c: Likewise.
1367 2009-07-09 Daniel Gutson <dgutson@codesourcery.com>
1369 * config/tc-arm.c (it_fsm_post_encode): New forward declaration.
1370 (set_it_insn_type_nonvoid): New macro.
1371 (emit_thumb32_expr): New function.
1372 (thumb_insn_size): New function.
1373 (emit_insn): New function.
1374 (s_arm_elf_inst): New function.
1375 (md_pseudo_table): New pseudo-opcode entries added.
1376 * doc/c-arm.texi: New directive added.
1378 2009-07-07 DJ Delorie <dj@redhat.com>
1380 * config/tc-mep.c (md_begin): Don't reset the coprocessor options
1381 when enabling other options without a specific configuration.
1383 2009-07-07 Chung-Lin Tang <cltang@pllab.cs.nthu.edu.tw>
1385 * config/tc-arm.c (insns): Fix encoding for torvsc.
1387 2009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
1389 * config/tc-i386.c (cpu_arch): Add .fma4 and CPU_FMA4_FLAGS.
1390 (build_modrm_byte): Add support to handle FMA4 instructions.
1391 (md_show_usage): Add fma4.
1393 2009-07-04 Alan Modra <amodra@bigpond.net.au>
1395 * config/tc-cr16.h (TC_LINKRELAX_FIXUP): Set only for code sections.
1397 2009-07-02 Tristan Gingold <gingold@adacore.com>
1399 * Makefile.am (OBJ_FORMATS): Add macho.
1400 (CPU_OBJ_VALID): Ditto.
1401 (OBJ_FORMAT_CFILES): Add config/obj-macho.c
1402 (OBJ_FORMAT_HFILES): Add config/obj-macho.h
1403 (obj-macho.o): New rule.
1404 * Makefile.in: Regenerated.
1405 * configure.tgt (generic_target): Add i386-*-darwin*.
1406 * config/tc-i386.h: Use i386_target_format for Mach-O.
1407 * config/tc-i386.c (i386_target_format): Define it for Mach-O.
1408 (i386_target_format): Add a case for bfd_target_mach_o_flavour.
1409 * config/obj-macho.h: New file.
1410 * config/obj-macho.c: New file.
1412 2009-07-01 Nick Clifton <nickc@redhat.com>
1415 * config/tc-arm.c (do_t_pkhtb): Swap Rm and Rn when encoding as
1418 2009-07-01 Paul Brook <paul@codesourcery.com>
1420 * config/tc-arm.c (MISSING_FNSTART): Define.
1421 (s_arm_unwind_fnstart): Diagnose duplicate directive.
1422 (s_arm_unwind_handlerdata, s_arm_unwind_fnend, s_arm_unwind_fnend,
1423 s_arm_unwind_cantunwind, s_arm_unwind_personalityindex,
1424 s_arm_unwind_personality, s_arm_unwind_save, s_arm_unwind_movsp,
1425 s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): Error if
1426 not inside function unwinding region.
1428 2009-06-29 H.J. Lu <hongjiu.lu@intel.com>
1430 * config/tc-i386.c: Reformat.
1432 2009-06-23 DJ Delorie <dj@redhat.com>
1434 * config/tc-mep.c (mep_check_ivc2_scheduling): For IVC2, allocate
1435 32 bits for relaxable branches so that we can relax them later.
1436 (md_estimate_size_before_relax): Assume IVC2 branches will be relaxed.
1437 (mep_relax_frag): New.
1438 (md_convert_frag): Relax IVC2 branches in-place.
1439 * config/tc-mep.h ((mep_relax_frag): New.
1441 2009-06-22 Martin Thuresson <martin@mtme.org>
1443 * app, as.c, as.h, atof-generic.c, cgen.c,
1444 config/atof-ieee.c, config/obj-aout.c,
1445 config/obj-coff.c, config/obj-ecoff.c,
1446 config/obj-elf.c, config/obj-som.c, config/tc-alpha.c,
1447 config/tc-arc.c, config/tc-arm.c, config/tc-cr16.c,
1448 config/tc-cris.c, config/tc-crx.c, config/tc-d30v.c,
1449 config/tc-dlx.c, config/tc-hppa.c, config/tc-i370.c,
1450 config/tc-i386-intel.c, config/tc-i386.c,
1451 config/tc-i860.c, config/tc-i960.c, config/tc-ia64.c,
1452 config/tc-iq2000.c, config/tc-m32c.c,
1453 config/tc-m32r.c, config/tc-m68hc11.c,
1454 config/tc-m68k.c, config/tc-maxq.c, config/tc-mcore.c,
1455 config/tc-mep.c, config/tc-mips.c, config/tc-mmix.c,
1456 config/tc-mn10300.c, config/tc-moxie.c,
1457 config/tc-ns32k.c, config/tc-pj.c, config/tc-ppc.c,
1458 config/tc-s390.c, config/tc-score.c,
1459 config/tc-score7.c, config/tc-sh.c, config/tc-sparc.c,
1460 config/tc-spu.c, config/tc-tic30.c, config/tc-vax.c,
1461 config/tc-xtensa.c, config/xtensa-relax.c,
1462 dw2gencfi.c, dwarf2dbg.c, ehopt.c, expr.c,
1463 frags.c, input-file.c, read.c, sb.c,
1464 subsegs.c, symbols.c, write.c: Change the name of the
1465 gas macro `assert' to `gas_assert'.
1467 2009-06-22 Daniel Gutson <dgutson@codesourcery.com>
1469 * config/tc-arm.c (implicit_it_mode): New enum.
1470 (implicit_it_mode): New global.
1471 (it_instruction_type): New enum.
1472 (arm_parse_it_mode): New function.
1473 (arm_long_opts): New option added.
1474 (arm_it): New field.
1475 (it_state): New enum.
1476 (now_it): New macro.
1477 (check_it_blocks_finished): New function.
1478 (insns[]): Use the IT Thumb opcodes for ARM too.
1479 (arm_cleanup): Call check_it_blocks_finished.
1480 (now_it_compatible): New function.
1481 (conditional_insn): New function.
1482 (set_it_insn_type): New macro.
1483 (set_it_insn_type_last): New macro.
1484 (do_it): Call automatic IT machinery functions.
1485 (do_t_add_sub): Likewise
1486 (do_t_arit3): Likewise.
1487 (do_t_arit3c): Likewise.
1488 (do_t_blx): Likewise.
1489 (do_t_branch): Likewise.
1490 (do_t_bkpt): Likewise.
1491 (do_t_branch23): Likewise.
1492 (do_t_bx): Likewise.
1493 (do_t_bxj): Likewise.
1494 (do_t_cps): Likewise.
1495 (do_t_cpsi): Likewise.
1496 (do_t_cbz): Likewise.
1497 (do_t_it): Likewise.
1498 (encode_thumb2_ldmstm): Likewise.
1499 (do_t_ldst): Likewise.
1500 (do_t_mov_cmp): Likewise.
1501 (do_t_mvn_tst): Likewise.
1502 (do_t_mul): Likewise.
1503 (do_t_neg): Likewise.
1504 (do_t_setend): Likewise.
1505 (do_t_shift): Likewise.
1506 (do_t_tb): Likewise.
1507 (output_it_inst): New function.
1508 (new_automatic_it_block): New function.
1509 (close_automatic_it_block): New function.
1510 (now_it_add_mask): New function.
1511 (it_fsm_pre_encode): New function.
1512 (handle_it_state): New function.
1513 (it_fsm_post_encode): New function.
1514 (force_automatic_it_block_close): New function.
1515 (in_it_block): New function.
1516 (md_assemble): Call automatic IT block machinery functions.
1517 (arm_frob_label): Likewise.
1518 (arm_opts): New element.
1519 * config/tc-arm.h (it_state): New enum.
1520 (current_it): New struct.
1521 (arm_segment_info_type): New member added.
1522 * doc/c-arm.texi: New option -mimplicit-it documented.
1524 2009-06-20 Alan Modra <amodra@bigpond.net.au>
1527 * doc/as.texinfo (Section <ELF "M,S" flag>): Clarify tail merge.
1529 2009-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
1531 * config/tc-s390.c (md_gather_operands): Accept an instruction
1532 without operands if all operands are tagged as optional.
1534 2009-06-18 Nick Clifton <nickc@redhat.com>
1537 * tc-arm.c (do_t_ssat): Move common code from here...
1538 (do_t_usat): ... and here to...
1539 (do_t_ssat_usat): New function: ... here. Add code to check that
1540 the shift value, if present, is in range.
1542 2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
1544 Merge cegcc and mingw32ce target name changes
1547 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
1549 * configure.tgt: Add arm*-*-cegcc* target.
1551 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt>
1553 * configure.tgt: Add arm-*-mingw32ce* target.
1555 2009-06-16 Maciej W. Rozycki <macro@linux-mips.org>
1557 * config/tc-vax.c (md_estimate_size_before_relax): Accept
1558 indirect symbol references in the PIC mode and emit a
1559 PC-relative relocation instead of a GOT/PLT one. Likewise
1560 for symbols known to be hidden at this point.
1562 2009-06-15 Nick Clifton <nickc@redhat.com>
1565 * config/tc-arm.c (T16_32_TAB): Fix binary value of SEV.W
1568 2009-06-13 H.J. Lu <hongjiu.lu@intel.com>
1571 * config/tc-i386.c (md_apply_fix): Use TC_FORCE_RELOCATION
1572 instead of generic_force_reloc.
1574 * config/tc-i386.h (TC_FORCE_RELOCATION): New.
1576 2009-06-11 Anthony Green <green@moxielogic.com>
1578 * config/tc-moxie.c (md_chars_to_number): Define.
1579 (md_begin): Populate opcode hashtable with more form 3 opcodes.
1580 (md_assemble): Assemble MOXIE_F3_PCREL encoded instructions.
1581 (md_apply_fix): Handle BFD_RELOC_MOXIE_10_PCREL relocations.
1582 (tc_gen_reloc): Ditto.
1583 (md_pcrel_from): Ditto.
1584 (md_chars_to_number): New function.
1586 2009-06-10 Anthony Green <green@moxielogic.com>
1588 * config/tc-moxie.c (md_assemble): Handle MOXIE_F1_M encoded
1591 2009-06-09 Jakub Jelinek <jakub@redhat.com>
1594 * dw2gencfi.c (output_cfi_insn): Initialize fragment before rs_cfa
1595 to DW_CFA_advance_loc4.
1597 2009-06-08 Dave Korn <dave.korn.cygwin@gmail.com>
1600 * config/tc-i386.c (md_estimate_size_before_relax): Don't relax
1601 branches to weak symbols.
1602 (md_apply_fix): Don't convert fixes against weak symbols to
1603 section-relative offsets, but save addend for later reloc emission.
1604 (tc_gen_reloc): When emitting reloc against weak symbol, adjust
1605 addend to pre-compensate for bfd_install_relocation.
1607 2009-06-04 Alan Modra <amodra@bigpond.net.au>
1609 * dep-in.sed: Don't use \n in replacement part of s command.
1610 * Makefile.am (DEP1, DEPTC, DEPOBJ, DEP2): LC_ALL for uniq.
1611 * Makefile.in: Regenerate.
1613 2009-06-01 H.J. Lu <hongjiu.lu@intel.com>
1616 * config/tc-i386-intel.c (i386_intel_operand): Check '$' as '.'.
1618 2009-05-26 Catherine Moore <clm@codesourcery.com>
1620 * config/tc-mips.c (check_for_24k_errata): Remove.
1621 (md_mips_end): Remove call to check_for_24k_errata.
1622 (start_noreorder): Likewise.
1623 (s_change_sec): Likewise.
1624 (s_change_section): Likewise.
1625 (insns_between): Add 24k errata checks.
1626 (append_insn): Remove declaration and references to nhdx_24k.
1627 Remove calls to check_for_24k_errata.
1629 2009-05-26 Nick Clifton <nickc@redhat.com>
1631 * po/id.po: Updated Indonesian translation.
1632 * po/gas.pot: Updated template file.
1634 2009-05-26 Nick Clifton <nickc@redhat.com>
1637 * config/bfin-parse.y (error): Use "%s" as format string for error
1640 2009-05-26 Alan Modra <amodra@bigpond.net.au>
1642 * dep-in.sed: Output one filename per line with all lines having
1643 continuation backslash. Prefix first line with "A", following
1645 * Makefile.am (DEP): Don't use dep.sed here.
1646 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
1648 (DEPTC, DEPOBJ, DEP2): Use dep.sed on dependencies, sort and uniq.
1649 Emit multi dependencies on one line.
1650 * Makefile.in: Regenerate.
1652 2009-05-25 Tristan Gingold <gingold@adacore.com>
1654 * makefile.vms: New file to compile gas on VMS.
1656 * configure.com: New file to do configuration on VMS with DCL.
1658 2009-05-23 Richard Sandiford <rdsandiford@googlemail.com>
1660 * config/tc-mips.c (nops_for_vr4130): Don't check noreorder_p.
1661 (nops_for_insn): Likewise.
1663 2009-05-22 H.J. Lu <hongjiu.lu@intel.com>
1665 * symbols.c (COPIED_SYMFLAGS): Add BSF_GNU_INDIRECT_FUNCTION.
1667 2009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
1669 * config/tc-i386.c (process_drex): Delete. Remove SSE5 support.
1670 (build_modrm_byte): Remove DREX handling support.
1672 (drex_byte): Delete.
1673 (md_assemble): Remove DREX handling support.
1674 (process_operands): Remove DREX, SSE5 support.
1675 (i386_insn): Remove DREX.
1677 2009-05-22 Alan Modra <amodra@bigpond.net.au>
1679 * Makefile.am: Run "make dep-am".
1680 * Makefile.in: Regenerate.
1682 2009-05-20 Kai Tietz <kai.tietz@onevision.com>
1683 H.J. Lu <hongjiu.lu@intel.com>
1685 * config/obj-coff.h: Include "coff/x86_64.h" for x86 pe-coff.
1686 (TARGET_FORMAT): Removed for x86 pe-coff.
1687 (COFF_TARGET_FORMAT): Likewise.
1689 * config/tc-i386.c (md_longopts): Allow --64 for x86 pe-coff.
1690 (md_parse_option): Likewise.
1691 (md_show_usage): Show option --32/--64 for x86 pe-coff.
1692 (i386_target_format): Use also for x86 pe-coff.
1694 * config/tc-i386.h (TARGET_FORMAT): Defined as i386_target_format
1697 2009-05-19 DJ Delorie <dj@redhat.com>
1699 * config/tc-mep.c (mep_machine): Only check CPU flags, not COP flags.
1700 (mep_process_saved_insns): Remove debugging printfs.
1702 2009-05-19 Dave Korn <dave.korn.cygwin@gmail.com>
1704 * NEWS: Mention new feature.
1705 * config/obj-coff.c (obj_coff_common_parse): New function.
1706 (obj_coff_comm): Likewise.
1707 (coff_pseudo_table): Override default ".comm" definition on PE.
1708 * doc/as.texinfo: Document new feature.
1710 2009-05-17 Kai Tietz <kai.tietz@onevision.com>
1712 * config/obj-coff.c (obj_coff_section): Add 'y' as
1713 specifier for SEC_COFF_NOREAD section flag.
1714 * doc/as.texinfo: Add documentation about .section flag 'y'.
1716 2009-05-13 DJ Delorie <dj@redhat.com>
1718 * cgen.c (gas_cgen_parse_operand): Guard against NULL pointers.
1720 2009-05-13 Andrew Jenner <andrew@codesourcery.com>
1722 * config/tc-arm.c: Move as.h to start of file.
1724 2009-05-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1726 * config/tc-arm.h: Fix typo in comment.
1727 (ARM_IS_FUNC): New macro.
1728 (MD_APPLY_SYM_VALUE): Define.
1730 * config/tc-arm.c (do_blx): Retain BFD_RELOC_ARM_PCREL_BLX for
1731 all versions of EABI.
1732 (relax_branch): Do not relax for branches to ARM functions.
1733 (md_pcrel_from_section): Set up base correctly for
1734 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_THUMB_PCREL_CALL,
1735 BFD_RELOC_THUMB_PCREL_BRANCH23, BFD_RELOC_ARM_PCREL_BLX
1736 BFD_RELOC_ARM_PCREL_CALL.
1737 (md_apply_fix): Flip bl to blx where possible.
1738 Flip blx to bl where possible.
1739 (arm_force_relocation): Force relocations for
1740 BFD_RELOC_ARM_PCREL_JUMP, BFD_RELOC_ARM_PCREL_JUMP,
1741 BFD_RELOC_ARM_PCREL_BLX, BFD_RELOC_THUMB_PCREL_BLX,
1742 BFD_RELOC_THUMB_PCREL_BRANCH20, BFD_RELOC_THUMB_PCREL_BRANCH23,
1743 BFD_RELOC_THUMB_PCREL_BRANCH25.
1744 (arm_apply_sym_value): New function.
1746 2009-05-04 Tristan Gingold <gingold@adacore.com>
1748 * config/tc-alpha.c: Also declare alpha_prologue_label for OBJ_EVAX.
1750 2009-05-01 Nathan Sidwell <nathan@codesourcery.com>
1752 * config/tc-armlinux-eabi.h (FPU_DEFAULT): Default to plain VFP.
1753 * config/tc-armeabi.h (FPU_DEFAULT): Likewise.
1754 * config/tc-arm.c (md_begin): If FPU_DEFAULT is set, don't infer
1755 the default FPU from the processor.
1757 2009-05-01 Julian Brown <julian@codesourcery.com>
1759 * config/tc-arm.c (do_t_blx): Always use BFD_RELOC_THUMB_PCREL_BLX.
1760 (md_pcrel_from_section): Align address for BLX.
1761 (tc_gen_reloc): Change BFD_RELOC_THUMB_PCREL_BLX relocations to
1762 BFD_RELOC_THUMB_PCREL_BRANCH23 for EABI v4+.
1764 2009-04-29 DJ Delorie <dj@redhat.com>
1766 * config/tc-mep.c (md_begin): Check coprocessor type.
1767 (md_check_parallel64_scheduling): Use memset to initialize the buffer.
1768 (md_check_parallel32_scheduling): Likewise.
1770 (mep_check_ivc2_scheduling): New.
1771 (mep_check_parallel_scheduling): Call it.
1772 (mep_process_saved_insns): Add IVC2 slot support.
1773 (md_assemble): Likewise.
1775 2009-04-30 Nick Clifton <nickc@redhat.com>
1777 * config/obj-elf.c (obj_elf_type): Add support for a
1778 gnu_indirect_function type.
1779 * config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups
1780 against indirect function symbols.
1781 * doc/as.texinfo (.type): Document the support for the
1782 gnu_indirect_function symbol type.
1783 * NEWS: Mention the new feature.
1785 2009-04-24 Cary Coutant <ccoutant@google.com>
1787 * NEWS: Add item about discriminator support.
1788 * dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field.
1789 * dwarf2dbg.c (current): Add discriminator field.
1790 (dwarf2_where): Copy discriminator value.
1791 (dwarf2_consume_line_info): Set discriminator to 0.
1792 (dwarf2_directive_loc): Process discriminator sub-op.
1793 (out_leb128): New function.
1794 (process_entries): Output DW_LNE_set_discriminator.
1795 * doc/as.texinfo: Add discriminator operand to .loc directive.
1797 2009-04-22 Nathan Sidwell <nathan@codesourcery.com>
1799 * config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for
1800 as_bad calls to silence compiler warning.
1802 2009-04-21 H.J. Lu <hongjiu.lu@intel.com>
1804 * config/tc-i386-intel.c (O_XXX): Reorder.
1806 2009-04-20 Jan Beulich <jbeulich@novell.com>
1808 * Makefile.am: Add explicit dependency of tc-i386.o on
1810 * Makefile.in: Likewise.
1811 * config/tc-i386.c (i386_finalize_immediate): Declare, broken
1812 out from i386_immediate.
1813 (i386_immediate): Slightly re-arrange, call
1814 i386_finalize_immediate.
1815 (i386_finalize_displacement): Declare, broken out from
1817 (i386_displacement): Slightly re-arrange, call
1818 i386_finalize_displacement.
1819 (i386_intel_simplify, i386_intel_parse_name): Declare.
1820 (this_operand): Initialize to -1.
1821 (set_intel_syntax): Set expression rank for O_full_ptr.
1822 (md_assemble): Set this_operand back to -1 after parsing
1824 (x86_cons): Negate intel_syntax to indicate state. Call
1825 i386_intel_simplify.
1826 (md_operand): Convert if to switch. Handle '[' for Intel
1828 (i386_intel_operand): Delete, including all helper functions
1830 * config/tc-i386-intel.c: New file, all new code.
1831 * config/tc-i386.h (i386_operator): Declare.
1832 (md_operator): Define to i386_operator.
1833 (i386_need_index_operator): Declare.
1834 (md_need_index_operator): Define to i386_need_index_operator.
1835 (O_full_ptr): Define.
1837 2009-04-20 Jan Beulich <jbeulich@novell.com>
1839 * expr.c (operand): Call md_need_index_operator() and
1840 md_operator() if defined. Add unary label.
1841 (operator): Call md_operator() if defined.
1842 (expr): Adjust assertions on range and rank of op_left and
1843 op_right. Don't abort on unhandled operators when reducing
1844 expressions with both operands being constant.
1845 (expr_set_rank): New.
1846 * expr.h (expr_set_rank): Declare.
1848 2009-04-15 Anthony Green <green@moxielogic.com>
1850 * config/tc-moxie.h: New file.
1851 * config/tc-moxie.c: New file.
1852 * configure: Add support for moxie.
1853 * configure.tgt: Add support for moxie.
1855 2009-04-16 Jan Beulich <jbeulich@novell.com>
1857 * expr.c: Include limits.h if available, and #define CHAR_BITS
1859 (expr): Check range of shift count when evaluating a constant
1862 2009-04-15 Jan Beulich <jbeulich@novell.com>
1864 * config/tc-i386.c (process_operands): Print operands in
1865 correct order depending on intel_syntax.
1867 2009-04-09 Catherine Moore <clm@codesourcery.com>
1869 * config/tc-mips.c (mips_fix_24k): Declare.
1870 (check_for_24k_errata): New.
1871 (mips_cleanup): Call check_for_24k_errata.
1872 (start_noreorder): Likewise.
1873 (md_mips_end): Likewise.
1874 (s_change_sec): Likewise.
1875 (s_change_section): Likewise.
1876 (append_insn): Call check_for_24k_errata. Prevent
1877 ERET/DERET instructions from being moved into delay
1879 (OPTION_FIX_24K): New.
1880 (OPTION_NO_FIX_24k) New.
1881 (md_longopts): Add "mfix-24k" and "mno-fix-24k".
1882 (md_parse_option): Handle fix-24k options.
1883 (md_show_usage): Display fix-24k options.
1884 * doc/c-mips.texi: Document.
1886 2009-04-09 Adam Nemet <anemet@caviumnetworks.com>
1888 * config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS
1889 instead of HAVE_64BIT_SYMBOLS.
1891 2009-04-07 DJ Delorie <dj@redhat.com>
1893 * config/tc-mep.c: Add UCI/DSP instruction support. Add C5 support.
1894 (md_show_usage): Change default endian to little.
1895 * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little.
1897 2009-04-06 DJ Delorie <dj@redhat.com>
1899 * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA
1901 (build_bytes): Pass insn to do_a_fix_imm.
1903 2009-04-02 Daniel Gutson <dgutson@codesourcery.com>
1905 * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
1906 * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and
1909 2009-04-01 Matt Thomas <matt@netbsd.org>
1911 * config/tc-vax.c (synthetic_votstrs): add "jbbcci" and "jbbssi"
1912 (md_assemble): emit symbol name when used as immediate in PIC mode.
1913 (md_assemble): fix LP64 bug (use sizeof (valueT) instead 4).
1915 2009-04-01 Sterling Augustine <sterling@jaw.hq.tensilica.com>
1917 * config/tc-xtensa.c (parse_arguments): call demand_empty_rest_of_line
1919 2009-04-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1921 * config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF.
1922 (find_real_start): Likewise.
1923 * config/tc-arm.h (TC_VALIDATE_FIX): Likewise
1925 2009-04-01 Nathan Sidwell <nathan@codesourcery.com>
1927 * config/tc-arm.c (do_nop): Generate v6k nops whenever possible.
1928 (arm_handle_align): Generate v6k ARM, thumb2 wide & narrow nops
1931 2009-03-31 Peter Bergner <bergner@vnet.ibm.com>
1933 * config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop.
1935 2009-03-31 Dave Korn <dave.korn.cygwin@gmail.com>
1937 * doc/internals.texi: Fix trivial syntax errors.
1939 2009-03-26 Alan Modra <amodra@bigpond.net.au>
1942 * config/tc-i386.c (reloc): Don't abort on lack of required
1945 2009-03-25 H.J. Lu <hongjiu.lu@intel.com>
1947 * config/tc-i386.c (parse_insn): Use default_arch on unsupported
1950 2009-03-23 H.J. Lu <hongjiu.lu@intel.com>
1953 * listing.c (listing_newline): Properly handle `\\"' and ';'.
1955 * read.c (is_end_of_line): Update comments for line separator.
1956 (read_begin): Set line separator in is_end_of_line to 2.
1958 2009-03-19 David S. Miller <davem@davemloft.net>
1960 * config/tc-sparc.c (md_parse_option): If the user gives
1961 us '--64' make sure max_architecture is at least V9.
1963 2009-03-18 Andrew Stubbs <ams@codesourcery.com>
1965 * config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and
1966 BFD_RELOC_ARM_ADRL_IMMEDIATE value is in the correct section.
1967 Check BFD_RELOC_ARM_ADRL_IMMEDIATE has a defined symbol.
1969 2009-03-18 Alan Modra <amodra@bigpond.net.au>
1971 * as.h: Include alloca-conf.h instead of config.h and remove
1972 existing #if's handling alloca.
1973 * Makefile.am: Run "make dep-am".
1974 * Makefile.in: Regenerate.
1976 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1978 * config/tc-ppc.c (ppc_frob_symbol): Add csect information for
1981 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1983 * config/tc-ppc.c (md_apply_fix): On COFF targets, always reread
1984 "value" from fx_offset. Manually resubtract md_pcrel_from_section
1987 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1989 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
1990 * configure.in: Likewise.
1991 * configure: Regenerate.
1993 2009-03-11 Hans-Peter Nilsson <hp@axis.com>
1995 * config/tc-cris.c (cris_create_short_jump): Remove prototype.
1996 Rename, changing all callers, to...
1997 (md_create_short_jump): Adjust head comment. Assert
1998 word-sized-branch distance for v32. Bail out calling as_fatal for
1999 compatibility mode here.
2000 (md_create_long_jump): ...not here.
2001 * config/tc-cris.h (md_create_short_jump): Do not define.
2003 2009-03-10 Hans-Peter Nilsson <hp@axis.com>
2005 * write.c (write_object_file) [!WORKING_DOT_WORD]: When patching
2006 the jump table for multiple overflowing entries with the same
2007 target, handle base symbols being different.
2008 (relax_segment) <case rs_broken_word, second loop>: Whenever a
2009 single entry overflows, arrange to redirect all entries with the
2012 2009-03-10 Alan Modra <amodra@bigpond.net.au>
2014 * config/tc-ppc.c (parse_cpu): Delete.
2015 (md_parse_option, ppc_machine): Use ppc_parse_cpu.
2017 2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
2020 * config/tc-i386.h (LOCAL_LABELS_DOLLAR): New. Defined as 0.
2021 (LOCAL_LABELS_FB): Undefine befoe define.
2023 2009-03-06 Nick Clifton <nickc@redhat.com>
2025 * po/es.po: Updated Spanish translation.
2027 2009-03-05 Joseph Myers <joseph@codesourcery.com>
2029 * read.c (s_fill, s_space, s_float_space, float_cons, stringer,
2030 s_incbin): Call md_cons_align (1).
2032 2009-03-04 Nick Clifton <nickc@redhat.com>
2034 * config/tc-alpha.c (alpha_prologue_label): Only define for ELF
2036 (s_alpha_comm): Only define "temp" and "log_align" local variables
2039 2009-03-04 Alan Modra <amodra@bigpond.net.au>
2041 * config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs
2042 have non-zero addend.
2043 (md_assemble): Parse args of __tls_get_addr calls.
2044 (md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD.
2046 2009-03-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2049 * config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with
2050 local scope for ELF targets.
2052 2009-03-04 Alan Modra <amodra@bigpond.net.au>
2054 * config/tc-ppc.c (md_assemble): APUinfo only for e500.
2056 2009-03-03 Tristan Gingold <gingold@adacore.com>
2057 Eric Botcazou <ebotcazou@adacore.com>
2058 Douglas B Rupp <rupp@gnat.com>
2060 * doc/as.texinfo (Overview): Mention -replace/-noreplace options
2062 * doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace.
2063 * config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax).
2064 (OBJ_SYMFIELD_TYPE): Remove.
2065 (tc_canonicalize_symbol_name): Define to evax_shorten_name.
2066 (TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax.
2067 (tc_frob_file_before_fix): Do not defined on evax.
2068 * config/tc-alpha.c: Always includes dwarf2dbg.h.
2069 Include vms.h if OBJ_EVAX.
2070 (struct alpha_fixup): Add xtrasym and procsym (evax only).
2071 (enum alpha_macro_arg): Remove trailing comma.
2072 (md_longopts): Add replace and noreplace arguments (evax only).
2073 (alpha_evax_proc_hash): New variable.
2074 (alpha_link_section): Make it global.
2075 (alpha_ctors_section, alpha_dtors_section): Removed.
2076 (alpha_ctors_symbol, alpha_dtors_symbol): Ditto.
2077 (alpha_lit8_section): Ifndef'ed on evax.
2078 (alpha_lit8_symbol): Ditto.
2079 (alpha_prologue_label): New variable.
2080 (alpha_linkage_symbol): New variable (evax only).
2081 (alpha_flag_replace): Ditto.
2082 (struct alpha_evax_procs): Add handler and handler_data field.
2083 (alpha_evax_proc): Now of type pointer.
2084 (alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables.
2085 (struct alpha_reloc_tag): Add sym and psym fields (evax only).
2086 (get_alpha_reloc_tag): Initialize sym and psym fields (evax only).
2087 (alpha_adjust_relocs): Ifndef'ed on evax.
2088 (load_expression): Add opname argument.
2089 Implement LDA/BSR optimization for evax.
2090 (emit_lda): Adjust for new prototype of load_expression.
2091 (emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols.
2092 (emit_loadstore): Likewise.
2093 (emit_ldXu): Likewise.
2094 (emit_stX): Likewise.
2095 (emit_jsrjmp): Likewise. Implement LDA/BSR optimization for evax.
2096 (emit_ldgp): Avoid warning in evax case.
2097 (add_to_link_pool): Make it static. Return symbolic expression rather
2098 than number expression for the offset.
2099 (s_alpha_text): Create .text symbol for evax if not already created.
2100 (s_alpha_comm): Do not create specific section for common symbol.
2101 Fill common area with zeros for evax.
2102 (s_alpha_prologue): Create alpha_prologue_label.
2103 (s_alpha_section_name): New function (evax).
2104 (s_alpha_section_word): Likewise.
2105 (section_name): New static variabke moved out from ...
2106 (s_alpha_section): ... here. Create new sections on demand.
2107 (s_alpha_literals): New function (evax).
2108 (s_alpha_ent): Create alpha_evax_proc instance and insert it in the
2109 alpha_evax_proc_hash table.
2110 (s_alpha_handler): New function (evax).
2111 (s_alpha_frame): Adjust for new type of alpha_evax_proc.
2112 (s_alpha_prologue): New function (evax).
2113 (s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new
2114 handling of procedures with hash table.
2115 Add support for condition handlers.
2116 (s_alpha_linkage): Create linkage_fixup instance and chain it.
2117 (s_alpha_fp_save): Adjust for new type of alpha_evax_proc.
2118 (s_alpha_mask): Likewise.
2119 (s_alpha_fmask): Likewise.
2120 (s_alpha_end): Clear alpha_evax_proc.
2121 (s_alpha_align): Increase max_alignment to 16.
2122 (alpha_print_token): Call print_expr_1 instead of print_expr.
2123 (md_pseudo_table): Add "section", "literals", "handler" and
2124 "handler_data" (evax). Do not ignore "prologue" on evax.
2126 (md_begin): Create hash table for alpha_evax_proc_hash.
2127 (md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE.
2128 (md_show_usage): Mention -replace/-noreplace for evax.
2129 (md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH).
2130 (alpha_force_relocation): Likewise.
2131 (alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case.
2132 (tc_gen_reloc): Likewise. Add BFD_RELOC_ALPHA_LINKAGE for evax.
2133 (emit_insn): New cases for evax specific relocs.
2134 (assemble_insn): Fix indentation.
2135 Take care of -MDISP in operand table.
2136 * config/obj-evax.h (struct alpha_linkage_fixups): New struct.
2137 (OBJ_SYMFIELD_TYPE): New macro.
2138 (obj_symbol_new_hook): Define.
2139 (obj_frob_symbol, obj_frob_file_before_adjust): Ditto.
2140 (obj_frob_file_before_fix): Ditto.
2141 (PDSC_S_M_HANDLER_VALID): New macro.
2142 (PDSC_S_M_HANDLER_DATA_VALID): Ditto.
2143 (TC_IMPLICIT_LCOMM_ALIGNMENT): Remove.
2144 Add prototypes for functions declared in obj-evax.c
2145 * config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h.
2146 (s_evax_weak): Convert to ansi-C.
2147 (evax_symbol_new_hook): New function.
2148 (evax_frob_symbol): Ditto.
2149 (evax_frob_file_before_adjust): Ditto.
2150 (evax_frob_file_before_fix): Ditto.
2151 (evax_shorten_name): Ditto.
2156 (shorten_identifier): Ditto.
2157 (is_truncated_identifier): Ditto.
2158 * dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS.
2159 * as.c (close_output_file): Remove #ifndef OBJ_VMS.
2162 2009-03-03 Alan Modra <amodra@bigpond.net.au>
2164 * Makefile.am: Run "make dep-am".
2165 * Makefile.in: Regenerate.
2167 2009-03-02 Nick Clifton <nickc@redhat.com>
2170 * config/tc-ia64.c (fix_insn): Fix warning reported by
2173 2009-03-02 Qinwei <qinwei@sunnorth.com.cn>
2175 * config/tc-score7.c: New file.
2176 * doc/c-score.texi: New file.
2177 * Makefile.am: Update dependencies for tc-score.c.
2178 * Makefile.in: Regenerate.
2179 * NEWS: Mention support for Score7 architecture.
2180 * config/tc-score.c: Add support for Score7 architecture.
2181 * config/tc-score.h: Likewise.
2182 * doc/Makefile.am: Add c-score.texi.
2183 * doc/Makefile.in: Regenerate.
2184 * doc/all.texi: Add Score7.
2185 * doc/as.texinfo: Add Score7.
2187 2009-03-01 Mark Mitchell <mark@codesourcery.com>
2189 * config/tc-arm.c (md_assemble): Allow barrier instructions on
2192 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2194 * configure: Regenerate.
2196 2009-02-26 Peter Bergner <bergner@vnet.ibm.com>
2198 * config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
2199 "f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
2200 (parse_cpu): Extend -mpower7 to accept power7 and isel instructions.
2202 2009-02-25 H.J. Lu <hongjiu.lu@intel.com>
2204 * config/tc-i386.c (fits_in_imm4): Removed.
2206 2009-02-24 Helge Deller <deller@gmx.de>
2208 * config/tc-hppa.c (pa_ip): Add check of immediate values.
2209 (SAVE_IMMEDIATE): New define.
2211 2009-02-23 Mark Mitchell <mark@codesourcery.com>
2213 * config/tc-arm.c (warn_deprecated_sp): New macro.
2214 (do_t_mov_cmp): Permit R13 as the second
2215 argument to "cmp.n".
2217 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
2219 * config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM.
2220 (pt): Replace UINTS_ALL_ZERO with operand_type_all_zero.
2222 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
2224 * config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4.
2226 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
2228 * config/tc-i386.c (vex_imm4): Removed.
2229 (VEX_check_operands): Likewise.
2230 (match_template): Updated.
2232 2009-02-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
2234 * doc/all.texi: Set S390.
2235 * doc/as.texinfo: Add S390 support and pull in c-s390.texi.
2236 * doc/Makefile.am (CPU_DOCS): Add c-s390.texi.
2237 * doc/Makefile.in: Likewise.
2238 * doc/c-s390.texi: New.
2240 2009-02-12 Nathan Sidwell <nathan@codesourcery.com>
2242 * config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR.
2243 (mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New.
2244 (mcf5307_ctrl): Add VBR.
2245 (no_mac): New variable.
2246 (m68k_extensions): Refer to no_mac mask.
2247 (m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277,
2248 52252..52259, 53011..53017.
2249 (m68k_ip): Process CPUCR.
2250 (init_table): Add cpucr entry.
2251 (m68k_set_extension): Allow negated mask to refer to a variable.
2252 (md_show_usage): Use '%s' to silence fprintf warning.
2253 * config/m68k-parse.h (CPUCR): New control register.
2255 2009-02-10 Nathan Sidwell <nathan@codesourcery.com>
2257 * config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for
2258 as_bad calls to silence compiler warning.
2260 2009-02-06 Nick Clifton <nickc@redhat.com>
2263 * config/tc-arm.c (MODE_RECORDED): New define.
2264 (output_inst): Record the thumb_mode in the current frag.
2265 (arm_handle_align): Ignore the MODE_RECORDED bit in tc_frag_data.
2266 (arm_init_frag): Only set the tc_frag_data field if it has not
2269 2009-02-04 H.J. Lu <hongjiu.lu@intel.com>
2271 AVX Programming Reference (January, 2009)
2272 * config/tc-i386.c (CPU_FLAGS_PCLMUL_MATCH): New.
2273 (CPU_FLAGS_AVX_MATCH): Updated.
2274 (CPU_FLAGS_32BIT_MATCH): Likewise.
2275 (cpu_flags_match): Likewise.
2277 2009-02-03 Sandip Matte <sandip@rmicorp.com>
2279 * config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T,
2280 M_MSGWAIT and M_MSGWAIT_T.
2281 (mips_cpu_info_table): Add XLR entry.
2282 * doc/c-mips.texi (-march): Document xlr.
2284 2009-02-03 Eric B. Weddington <eric.weddington@atmel.com>
2286 * config/tc-avr.c (mcu_types): Add ata6289.
2287 * doc/c-avr.texi: Likewise.
2289 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
2291 * configure.in: AC_SUBST pdfdir.
2292 * Makefile.am: Add install-pdf, install-pdf-am,
2293 and install-pdf-recursive targets.
2294 * doc/Makefile.am: Define pdf__strip_dir. Add
2295 install-pdf and install-pdf-am targets.
2296 * po/Make-in: Add install-pdf target.
2297 * configure: Regenerate.
2298 * Makefile.in: Regenerate.
2299 * doc/Makefile.in: Regenerate.
2301 2009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com>
2303 * config/m68k-parse.h (enum pic_relocation): Add values for TLS
2305 * config/m68k-parse.y (yylex): Parse TLS relocations.
2306 * config/tc-m68k.c (m68k_elf_cons): New static function.
2307 (md_pseudo_table): Use it.
2308 (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
2310 (md_apply_fix): Fix to set thread local flag.
2311 (m68k_elf_suffix): New static function; helper for m68k_elf_cons.
2313 2009-02-03 Vince Weaver <vince@csl.cornell.edu>
2316 * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of
2317 indexed addressing for symbolic expressions.
2319 2009-01-29 Mark Mitchell <mark@codesourcery.com>
2321 * config/tc-arm.c (BAD_SP): Define.
2322 (s_arm_unwind_fnstart): Use REG_SP.
2323 (s_arm_unwind_setfp): Likewise.
2324 (reject_bad_reg): New macro.
2325 (do_co_reg): Check for bad registers.
2326 (do_co_reg2c): Likewise.
2327 (do_srs): Use REG_SP.
2328 (do_t_add_sub): Check for bad registers.
2329 (do_t_adr): Likewise.
2330 (do_t_arit3): Likewise.
2331 (do_t_arit3c): Likewise.
2332 (do_t_bfc): Likewise.
2333 (do_t_bfi): Likewise.
2334 (do_t_bfx): Likewise.
2335 (do_t_blx): Likewise.
2336 (do_t_bx): Likewise.
2337 (do_t_bxj): Likewise.
2338 (do_t_clz): Likewise.
2339 (do_t_div): Likewise.
2340 (do_t_mla): Likewise.
2341 (do_t_mlal): Likewise.
2342 (do_t_mov_cmp): Likewise.
2343 (do_t_mov16): Likewise.
2344 (do_t_mvn_tst): Likewise.
2345 (do_t_mrs): Likewise.
2346 (do_t_msr): Likewise.
2347 (do_t_mul): Likewise.
2348 (do_t_mull): Likewise.
2349 (do_t_orn): Likewise.
2350 (do_t_pkhbt): Likewise.
2351 (do_t_pld): Likewise.
2352 (do_t_rbit): Likewise.
2353 (do_t_rev): Likewise.
2354 (do_t_rrx): Likewise.
2355 (do_t_rsb): Likewise.
2356 (do_t_shift): Likewise.
2357 (do_t_simd): Likewise.
2358 (do_t_ssat): Likewise.
2359 (do_t_ssat16): Likewise.
2360 (do_t_sxtah): Likewise.
2361 (do_t_sxth): Likewise.
2362 (do_t_tb): Likewise.
2363 (do_t_usat): Likewise.
2364 (do_t_usat16): Likewise.
2365 (nysn_insert_sp): Use REG_SP.
2367 2009-01-29 Mark Mitchell <mark@codesourcery.com>
2369 * config/tc-arm.c (do_t_orn): New function.
2370 (do_t_rrx): Likewise.
2371 (insns): Add orn and rrx.
2373 2009-01-29 Mark Mitchell <mark@codesourcery.com>
2375 * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
2376 uasx, uhasx, uhsx, uqasx, uqsax, usax.
2378 2009-01-29 Mark Mitchell <mark@codesourcery.com>
2380 * config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub,
2381 qdsub in Thumb-2 mode.
2383 2009-01-29 Paul Brook <paul@codesourcery.com>
2384 Mark Mitchell <mark@codesourcery.com>
2386 * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding
2387 of MUL when possible.
2389 2009-01-29 Nick Clifton <nickc@redhat.com>
2391 * config/tc-mep.h (DIFF_EXPR_OK): Do not define.
2393 2009-01-29 Nathan Sidwell <nathan@codesourcery.com>
2394 Catherine Moore <clm@codesourcery.com?
2396 * doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte,
2397 .4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32
2400 2009-01-27 Nick Clifton <nickc@redhat.com>
2402 * config/tc-mips.c (append_insn): Cope with a complex reloc
2403 sequence containing an unsupported reloc type.
2404 (enum options): Replace computed #define's constants for option
2405 numbers with this enum.
2406 (struct md_longopts): Use the enum. Allow OPTION_32 in a non-ELF
2408 (md_parse_option): Allow -32 in a non-ELF environment.
2410 2009-01-26 Andrew Stubbs <ams@codesourcery.com>
2412 * config/tc-arm.c (attributes_set_explicitly): New array.
2413 (s_arm_eabi_attribute): Check return value from s_vendor_attribute.
2414 (cpu_arch): Add ARM_ARCH_V5T.
2415 (aeabi_set_attribute_int): New function.
2416 (aeabi_set_attribute_string): New function.
2417 (aeabi_set_public_attributes): Set attributes according to the user's
2418 intentions, rather than the actual state of the binary.
2419 Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of
2420 bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string.
2421 Support WMMXv2. Use attribute names instead of numbers.
2422 * read.c (s_vendor_attribute): Change return type to int.
2423 Return the tag number that was set.
2424 * read.h (s_vendor_attribute): Change return type to int.
2426 2009-01-26 Eric B. Weddington <eric.weddington@atmel.com>
2429 * config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name.
2430 * doc/c-avr.texi: Likewise.
2432 2009-01-23 Nathan Sidwell <nathan@codesourcery.com>
2434 * doc/c-arm.texi (): Document -mwarn-deprecated.
2435 * config/tc-arm.c (WARN_DEPRECATED): Remove. Replace with ...
2436 (warn_on_deprecated): ... this.
2437 (opcode_lookup, md_assemble): Check it before warning.
2438 (arm_opts): Add m[no-]warn-deprecated.
2439 (md_parse_option): Replace WARN_DEPRECATED with
2442 2009-01-23 Andreas Schwab <schwab@suse.de>
2444 * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
2445 arguments to macro_build to match format.
2447 * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.
2448 * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define.
2450 2009-01-19 Nick Clifton <nickc@redhat.com>
2452 * config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for
2453 ELF format ARM targets.
2454 * config/tc-arm.c (arm_convert_symbolic_attribute): Likewise.
2456 2009-01-19 Nick Clifton <nickc@redhat.com>
2458 * configure.tgt: Restore alpha sorting to object format switch
2461 2009-01-19 Andrew Stubbs <ams@codesourcery.com>
2463 * read.c (s_vendor_attribute): Allow for unknown flag bits in type.
2465 2009-01-16 Mark Shinwell <shinwell@codesourcery.com>
2467 * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5.
2468 * config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.
2470 2009-01-16 Andrew Stubbs <ams@codesourcery.com>
2471 Daniel Jacobowitz <dan@codesourcery.com>
2473 * config/tc-arm.c (arm_copy_symbol_attributes): New function.
2474 * config/tc-arm.h (arm_copy_symbol_attributes): New prototype.
2475 (CONVERT_SYMBOLIC_ATTRIBUTE): New define.
2476 * read.c (s_vendor_attribute): Add support for symbolic tag names.
2477 Improve string parser.
2478 * doc/c-arm.texi (ARM Machine Directives): Document
2479 .eabi_attribute symbolic tag names.
2481 2009-01-16 Alan Modra <amodra@bigpond.net.au>
2483 * configure.in (commonbfdlib): Delete.
2484 * configure: Regenerate.
2485 * po/POTFILES.in: Regenerate.
2487 2009-01-15 Andrew Stubbs <ams@codesourcery.com>
2488 Julian Brown <julian@codesourcery.com>
2490 * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11.
2492 2009-01-15 Andrew Stubbs <ams@codesourcery.com>
2494 * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat ->
2495 bfd_elf_add_obj_attr_int_string.
2497 2009-01-15 Douglas B Rupp <rupp@gnat.com>
2499 * configure.tgt(ia64-*-*vms*): New target.
2500 * dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
2501 * tc.h (md_number_to_chars): Declare iff undefined.
2502 * config/obj-elf.c (obj_elf_change_section): Change type of arg
2504 (obj_elf_parse_section_letters): Return a bfd_vma. Change type of
2505 variables attr, md_attr to bfd_vma.
2506 (obj_elf_section_word): Likewise.
2507 (obj_elf_section): Change type of variable attr to bfd_vma
2508 * config/obj-elf.h (obj_elf_change_section): Change type of arg
2510 * config/tc-ia64.c (bfdver.h,time.h): Include.
2511 (ia64_elf_section_letter): Now returns a bfd_vma.
2512 Handle VMS specific attributes.
2513 (ia64_elf_section_flags): Arg attr now a bfd_vma.
2514 (ia64_init): Don't turn on dependency checking for VMS.
2515 (ia64_target_format): Check for VMS flag bit.
2516 (do_alias): Hande decc$ functions.
2517 (get_vms_time): New function.
2518 (ia64_vms_note): New function.
2519 * config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
2520 (ia64_elf_section_flags): Arg attr now a bfd_vma.
2521 (tc_init_after_args): Define for VMS.
2522 * config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
2523 (alpha_elf_section_flags): Change type of arg attr to bfd_vma.
2524 * config/tc-alpha.h: Likewise.
2525 * config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
2526 (x86_64_section_word): Return a bfd_vma.
2527 * config/tc-i386.h: Likewise.
2528 * config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
2530 * config/tc-ip2k.h: Likewise.
2531 * config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
2532 (mep_elf_section_flags): Change type of arg attr to bfd_vma.
2533 * config/tc-mep.h: Likewise.
2534 * config/tc-ppc.c (ppc_section_letter): Return a bfd_vma.
2535 (ppc_section_word): Return a bfd_vma.
2536 (ppc_section_flags): Change type of arg attr to bfd_vma.
2537 * config/tc-ppc.h: Likewise.
2538 * config/tc-frv.h: Provide a prototype for frv_md_number_to_chars.
2539 * config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
2540 DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
2541 New file with new macros
2542 * dwarf2dbg.c (get_filenum, out_file_list): Default and call new
2545 2009-01-15 Nick Clifton <nickc@redhat.com>
2548 * config/tc-arm.c (do_t_nop): Check for availability of Thumb2
2549 instructions before generating a Thumb2 nop.
2551 2009-01-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2553 * config/tc-s390.h: Define LOCAL_LABEL_PREFIX.
2555 2009-01-12 Alan Modra <amodra@bigpond.net.au>
2557 * config/tc-spu.c (md_pseudo_table): Add "brinfo".
2559 (md_assemble): Poke brinfo into branch instructions.
2560 (spu_brinfo): New function.
2561 (md_apply_fix): Don't assume insn fields start off at zero, mask
2562 them to remove possible brinfo.
2564 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
2566 * doc/c-i386.texi: Reformat.
2568 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
2570 * config/tc-i386.c (cpu_arch): Add corei7, .clflush and
2572 (i386_align_code): Handle PROCESSOR_COREI7.
2573 (md_show_usage): Add corei7, clflush and syscall.
2574 (i386_target_format): Replace cpup4 with cpuclflush.
2576 * config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
2578 * doc/c-i386.texi: Document corei7, clflush and syscall.
2580 2009-01-09 H.J. Lu <hongjiu.lu@intel.com>
2582 * config/tc-i386.c (cpu_arch): Add .rdtscp.
2583 (md_show_usage): Display rdtscp.
2585 * doc/c-i386.texi: Document rdtscp.
2587 2009-01-09 Peter Bergner <bergner@vnet.ibm.com>
2589 * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
2590 Test the new "deprecated" opcode field.
2592 2009-01-07 Sterling Augustine <sterling@tensilica.com>
2594 * config/tc-xtensa.c (produce_flix): New.
2595 (option_flix, optoin_no_generate_flix, option_no_flix) Define.
2596 (md_longopts): Add support for them.
2597 (md_parse_option): Likewise.
2598 (md_show_usage): Add help message.
2599 (finish_vinsn): Don't allow multi-slot flix when produce_flix
2600 option is set to FLIX_NONE.
2601 * config/xtensa-relax.c (transition_applies): Only relax to
2602 flix branches when produce_flix equals FLIX_ALL.
2603 * config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE
2605 (produce_flix): Declare.
2607 2009-01-06 Chao-ying Fu <fu@mips.com>
2609 * config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff.
2610 Use strncmp to match jalr and jalr.hb.
2613 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
2615 AVX Programming Reference (December, 2008)
2616 * config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction
2617 support. Don't swap REG and NDS for FMA.
2619 2009-01-02 Matthias Klose <doko@ubuntu.com>
2621 * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
2624 For older changes see ChangeLog-2008
2630 version-control: never