1 2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
3 Merge cegcc and mingw32ce target name changes from CeGCC project.
5 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
7 * configure.tgt: Add arm*-*-cegcc* target.
9 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt>
11 * configure.tgt: Add arm-*-mingw32ce* target.
13 2009-06-16 Maciej W. Rozycki <macro@linux-mips.org>
15 * config/tc-vax.c (md_estimate_size_before_relax): Accept
16 indirect symbol references in the PIC mode and emit a
17 PC-relative relocation instead of a GOT/PLT one. Likewise
18 for symbols known to be hidden at this point.
20 2009-06-15 Nick Clifton <nickc@redhat.com>
23 * config/tc-arm.c (T16_32_TAB): Fix binary value of SEV.W
26 2009-06-13 H.J. Lu <hongjiu.lu@intel.com>
29 * config/tc-i386.c (md_apply_fix): Use TC_FORCE_RELOCATION
30 instead of generic_force_reloc.
32 * config/tc-i386.h (TC_FORCE_RELOCATION): New.
34 2009-06-11 Anthony Green <green@moxielogic.com>
36 * config/tc-moxie.c (md_chars_to_number): Define.
37 (md_begin): Populate opcode hashtable with more form 3 opcodes.
38 (md_assemble): Assemble MOXIE_F3_PCREL encoded instructions.
39 (md_apply_fix): Handle BFD_RELOC_MOXIE_10_PCREL relocations.
40 (tc_gen_reloc): Ditto.
41 (md_pcrel_from): Ditto.
42 (md_chars_to_number): New function.
44 2009-06-10 Anthony Green <green@moxielogic.com>
46 * config/tc-moxie.c (md_assemble): Handle MOXIE_F1_M encoded
49 2009-06-09 Jakub Jelinek <jakub@redhat.com>
52 * dw2gencfi.c (output_cfi_insn): Initialize fragment before rs_cfa
53 to DW_CFA_advance_loc4.
55 2009-06-08 Dave Korn <dave.korn.cygwin@gmail.com>
58 * config/tc-i386.c (md_estimate_size_before_relax): Don't relax
59 branches to weak symbols.
60 (md_apply_fix): Don't convert fixes against weak symbols to
61 section-relative offsets, but save addend for later reloc emission.
62 (tc_gen_reloc): When emitting reloc against weak symbol, adjust
63 addend to pre-compensate for bfd_install_relocation.
65 2009-06-04 Alan Modra <amodra@bigpond.net.au>
67 * dep-in.sed: Don't use \n in replacement part of s command.
68 * Makefile.am (DEP1, DEPTC, DEPOBJ, DEP2): LC_ALL for uniq.
69 * Makefile.in: Regenerate.
71 2009-06-01 H.J. Lu <hongjiu.lu@intel.com>
74 * config/tc-i386-intel.c (i386_intel_operand): Check '$' as '.'.
76 2009-05-26 Catherine Moore <clm@codesourcery.com>
78 * config/tc-mips.c (check_for_24k_errata): Remove.
79 (md_mips_end): Remove call to check_for_24k_errata.
80 (start_noreorder): Likewise.
81 (s_change_sec): Likewise.
82 (s_change_section): Likewise.
83 (insns_between): Add 24k errata checks.
84 (append_insn): Remove declaration and references to nhdx_24k.
85 Remove calls to check_for_24k_errata.
87 2009-05-26 Nick Clifton <nickc@redhat.com>
89 * po/id.po: Updated Indonesian translation.
90 * po/gas.pot: Updated template file.
92 2009-05-26 Nick Clifton <nickc@redhat.com>
95 * config/bfin-parse.y (error): Use "%s" as format string for error
98 2009-05-26 Alan Modra <amodra@bigpond.net.au>
100 * dep-in.sed: Output one filename per line with all lines having
101 continuation backslash. Prefix first line with "A", following
103 * Makefile.am (DEP): Don't use dep.sed here.
104 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
106 (DEPTC, DEPOBJ, DEP2): Use dep.sed on dependencies, sort and uniq.
107 Emit multi dependencies on one line.
108 * Makefile.in: Regenerate.
110 2009-05-25 Tristan Gingold <gingold@adacore.com>
112 * makefile.vms: New file to compile gas on VMS.
114 * configure.com: New file to do configuration on VMS with DCL.
116 2009-05-23 Richard Sandiford <rdsandiford@googlemail.com>
118 * config/tc-mips.c (nops_for_vr4130): Don't check noreorder_p.
119 (nops_for_insn): Likewise.
121 2009-05-22 H.J. Lu <hongjiu.lu@intel.com>
123 * symbols.c (COPIED_SYMFLAGS): Add BSF_GNU_INDIRECT_FUNCTION.
125 2009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
127 * config/tc-i386.c (process_drex): Delete. Remove SSE5 support.
128 (build_modrm_byte): Remove DREX handling support.
131 (md_assemble): Remove DREX handling support.
132 (process_operands): Remove DREX, SSE5 support.
133 (i386_insn): Remove DREX.
135 2009-05-22 Alan Modra <amodra@bigpond.net.au>
137 * Makefile.am: Run "make dep-am".
138 * Makefile.in: Regenerate.
140 2009-05-20 Kai Tietz <kai.tietz@onevision.com>
141 H.J. Lu <hongjiu.lu@intel.com>
143 * config/obj-coff.h: Include "coff/x86_64.h" for x86 pe-coff.
144 (TARGET_FORMAT): Removed for x86 pe-coff.
145 (COFF_TARGET_FORMAT): Likewise.
147 * config/tc-i386.c (md_longopts): Allow --64 for x86 pe-coff.
148 (md_parse_option): Likewise.
149 (md_show_usage): Show option --32/--64 for x86 pe-coff.
150 (i386_target_format): Use also for x86 pe-coff.
152 * config/tc-i386.h (TARGET_FORMAT): Defined as i386_target_format
155 2009-05-19 DJ Delorie <dj@redhat.com>
157 * config/tc-mep.c (mep_machine): Only check CPU flags, not COP flags.
158 (mep_process_saved_insns): Remove debugging printfs.
160 2009-05-19 Dave Korn <dave.korn.cygwin@gmail.com>
162 * NEWS: Mention new feature.
163 * config/obj-coff.c (obj_coff_common_parse): New function.
164 (obj_coff_comm): Likewise.
165 (coff_pseudo_table): Override default ".comm" definition on PE.
166 * doc/as.texinfo: Document new feature.
168 2009-05-17 Kai Tietz <kai.tietz@onevision.com>
170 * config/obj-coff.c (obj_coff_section): Add 'y' as
171 specifier for SEC_COFF_NOREAD section flag.
172 * doc/as.texinfo: Add documentation about .section flag 'y'.
174 2009-05-13 DJ Delorie <dj@redhat.com>
176 * cgen.c (gas_cgen_parse_operand): Guard against NULL pointers.
178 2009-05-13 Andrew Jenner <andrew@codesourcery.com>
180 * config/tc-arm.c: Move as.h to start of file.
182 2009-05-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
184 * config/tc-arm.h: Fix typo in comment.
185 (ARM_IS_FUNC): New macro.
186 (MD_APPLY_SYM_VALUE): Define.
188 * config/tc-arm.c (do_blx): Retain BFD_RELOC_ARM_PCREL_BLX for
189 all versions of EABI.
190 (relax_branch): Do not relax for branches to ARM functions.
191 (md_pcrel_from_section): Set up base correctly for
192 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_THUMB_PCREL_CALL,
193 BFD_RELOC_THUMB_PCREL_BRANCH23, BFD_RELOC_ARM_PCREL_BLX
194 BFD_RELOC_ARM_PCREL_CALL.
195 (md_apply_fix): Flip bl to blx where possible.
196 Flip blx to bl where possible.
197 (arm_force_relocation): Force relocations for
198 BFD_RELOC_ARM_PCREL_JUMP, BFD_RELOC_ARM_PCREL_JUMP,
199 BFD_RELOC_ARM_PCREL_BLX, BFD_RELOC_THUMB_PCREL_BLX,
200 BFD_RELOC_THUMB_PCREL_BRANCH20, BFD_RELOC_THUMB_PCREL_BRANCH23,
201 BFD_RELOC_THUMB_PCREL_BRANCH25.
202 (arm_apply_sym_value): New function.
204 2009-05-04 Tristan Gingold <gingold@adacore.com>
206 * config/tc-alpha.c: Also declare alpha_prologue_label for OBJ_EVAX.
208 2009-05-01 Nathan Sidwell <nathan@codesourcery.com>
210 * config/tc-armlinux-eabi.h (FPU_DEFAULT): Default to plain VFP.
211 * config/tc-armeabi.h (FPU_DEFAULT): Likewise.
212 * config/tc-arm.c (md_begin): If FPU_DEFAULT is set, don't infer
213 the default FPU from the processor.
215 2009-05-01 Julian Brown <julian@codesourcery.com>
217 * config/tc-arm.c (do_t_blx): Always use BFD_RELOC_THUMB_PCREL_BLX.
218 (md_pcrel_from_section): Align address for BLX.
219 (tc_gen_reloc): Change BFD_RELOC_THUMB_PCREL_BLX relocations to
220 BFD_RELOC_THUMB_PCREL_BRANCH23 for EABI v4+.
222 2009-04-29 DJ Delorie <dj@redhat.com>
224 * config/tc-mep.c (md_begin): Check coprocessor type.
225 (md_check_parallel64_scheduling): Use memset to initialize the buffer.
226 (md_check_parallel32_scheduling): Likewise.
228 (mep_check_ivc2_scheduling): New.
229 (mep_check_parallel_scheduling): Call it.
230 (mep_process_saved_insns): Add IVC2 slot support.
231 (md_assemble): Likewise.
233 2009-04-30 Nick Clifton <nickc@redhat.com>
235 * config/obj-elf.c (obj_elf_type): Add support for a
236 gnu_indirect_function type.
237 * config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups
238 against indirect function symbols.
239 * doc/as.texinfo (.type): Document the support for the
240 gnu_indirect_function symbol type.
241 * NEWS: Mention the new feature.
243 2009-04-24 Cary Coutant <ccoutant@google.com>
245 * NEWS: Add item about discriminator support.
246 * dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field.
247 * dwarf2dbg.c (current): Add discriminator field.
248 (dwarf2_where): Copy discriminator value.
249 (dwarf2_consume_line_info): Set discriminator to 0.
250 (dwarf2_directive_loc): Process discriminator sub-op.
251 (out_leb128): New function.
252 (process_entries): Output DW_LNE_set_discriminator.
253 * doc/as.texinfo: Add discriminator operand to .loc directive.
255 2009-04-22 Nathan Sidwell <nathan@codesourcery.com>
257 * config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for
258 as_bad calls to silence compiler warning.
260 2009-04-21 H.J. Lu <hongjiu.lu@intel.com>
262 * config/tc-i386-intel.c (O_XXX): Reorder.
264 2009-04-20 Jan Beulich <jbeulich@novell.com>
266 * Makefile.am: Add explicit dependency of tc-i386.o on
268 * Makefile.in: Likewise.
269 * config/tc-i386.c (i386_finalize_immediate): Declare, broken
270 out from i386_immediate.
271 (i386_immediate): Slightly re-arrange, call
272 i386_finalize_immediate.
273 (i386_finalize_displacement): Declare, broken out from
275 (i386_displacement): Slightly re-arrange, call
276 i386_finalize_displacement.
277 (i386_intel_simplify, i386_intel_parse_name): Declare.
278 (this_operand): Initialize to -1.
279 (set_intel_syntax): Set expression rank for O_full_ptr.
280 (md_assemble): Set this_operand back to -1 after parsing
282 (x86_cons): Negate intel_syntax to indicate state. Call
284 (md_operand): Convert if to switch. Handle '[' for Intel
286 (i386_intel_operand): Delete, including all helper functions
288 * config/tc-i386-intel.c: New file, all new code.
289 * config/tc-i386.h (i386_operator): Declare.
290 (md_operator): Define to i386_operator.
291 (i386_need_index_operator): Declare.
292 (md_need_index_operator): Define to i386_need_index_operator.
293 (O_full_ptr): Define.
295 2009-04-20 Jan Beulich <jbeulich@novell.com>
297 * expr.c (operand): Call md_need_index_operator() and
298 md_operator() if defined. Add unary label.
299 (operator): Call md_operator() if defined.
300 (expr): Adjust assertions on range and rank of op_left and
301 op_right. Don't abort on unhandled operators when reducing
302 expressions with both operands being constant.
303 (expr_set_rank): New.
304 * expr.h (expr_set_rank): Declare.
306 2009-04-15 Anthony Green <green@moxielogic.com>
308 * config/tc-moxie.h: New file.
309 * config/tc-moxie.c: New file.
310 * configure: Add support for moxie.
311 * configure.tgt: Add support for moxie.
313 2009-04-16 Jan Beulich <jbeulich@novell.com>
315 * expr.c: Include limits.h if available, and #define CHAR_BITS
317 (expr): Check range of shift count when evaluating a constant
320 2009-04-15 Jan Beulich <jbeulich@novell.com>
322 * config/tc-i386.c (process_operands): Print operands in
323 correct order depending on intel_syntax.
325 2009-04-09 Catherine Moore <clm@codesourcery.com>
327 * config/tc-mips.c (mips_fix_24k): Declare.
328 (check_for_24k_errata): New.
329 (mips_cleanup): Call check_for_24k_errata.
330 (start_noreorder): Likewise.
331 (md_mips_end): Likewise.
332 (s_change_sec): Likewise.
333 (s_change_section): Likewise.
334 (append_insn): Call check_for_24k_errata. Prevent
335 ERET/DERET instructions from being moved into delay
337 (OPTION_FIX_24K): New.
338 (OPTION_NO_FIX_24k) New.
339 (md_longopts): Add "mfix-24k" and "mno-fix-24k".
340 (md_parse_option): Handle fix-24k options.
341 (md_show_usage): Display fix-24k options.
342 * doc/c-mips.texi: Document.
344 2009-04-09 Adam Nemet <anemet@caviumnetworks.com>
346 * config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS
347 instead of HAVE_64BIT_SYMBOLS.
349 2009-04-07 DJ Delorie <dj@redhat.com>
351 * config/tc-mep.c: Add UCI/DSP instruction support. Add C5 support.
352 (md_show_usage): Change default endian to little.
353 * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little.
355 2009-04-06 DJ Delorie <dj@redhat.com>
357 * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA
359 (build_bytes): Pass insn to do_a_fix_imm.
361 2009-04-02 Daniel Gutson <dgutson@codesourcery.com>
363 * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
364 * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and
367 2009-04-01 Matt Thomas <matt@netbsd.org>
369 * config/tc-vax.c (synthetic_votstrs): add "jbbcci" and "jbbssi"
370 (md_assemble): emit symbol name when used as immediate in PIC mode.
371 (md_assemble): fix LP64 bug (use sizeof (valueT) instead 4).
373 2009-04-01 Sterling Augustine <sterling@jaw.hq.tensilica.com>
375 * config/tc-xtensa.c (parse_arguments): call demand_empty_rest_of_line
377 2009-04-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
379 * config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF.
380 (find_real_start): Likewise.
381 * config/tc-arm.h (TC_VALIDATE_FIX): Likewise
383 2009-04-01 Nathan Sidwell <nathan@codesourcery.com>
385 * config/tc-arm.c (do_nop): Generate v6k nops whenever possible.
386 (arm_handle_align): Generate v6k ARM, thumb2 wide & narrow nops
389 2009-03-31 Peter Bergner <bergner@vnet.ibm.com>
391 * config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop.
393 2009-03-31 Dave Korn <dave.korn.cygwin@gmail.com>
395 * doc/internals.texi: Fix trivial syntax errors.
397 2009-03-26 Alan Modra <amodra@bigpond.net.au>
400 * config/tc-i386.c (reloc): Don't abort on lack of required
403 2009-03-25 H.J. Lu <hongjiu.lu@intel.com>
405 * config/tc-i386.c (parse_insn): Use default_arch on unsupported
408 2009-03-23 H.J. Lu <hongjiu.lu@intel.com>
411 * listing.c (listing_newline): Properly handle `\\"' and ';'.
413 * read.c (is_end_of_line): Update comments for line separator.
414 (read_begin): Set line separator in is_end_of_line to 2.
416 2009-03-19 David S. Miller <davem@davemloft.net>
418 * config/tc-sparc.c (md_parse_option): If the user gives
419 us '--64' make sure max_architecture is at least V9.
421 2009-03-18 Andrew Stubbs <ams@codesourcery.com>
423 * config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and
424 BFD_RELOC_ARM_ADRL_IMMEDIATE value is in the correct section.
425 Check BFD_RELOC_ARM_ADRL_IMMEDIATE has a defined symbol.
427 2009-03-18 Alan Modra <amodra@bigpond.net.au>
429 * as.h: Include alloca-conf.h instead of config.h and remove
430 existing #if's handling alloca.
431 * Makefile.am: Run "make dep-am".
432 * Makefile.in: Regenerate.
434 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
436 * config/tc-ppc.c (ppc_frob_symbol): Add csect information for
439 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
441 * config/tc-ppc.c (md_apply_fix): On COFF targets, always reread
442 "value" from fx_offset. Manually resubtract md_pcrel_from_section
445 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
447 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
448 * configure.in: Likewise.
449 * configure: Regenerate.
451 2009-03-11 Hans-Peter Nilsson <hp@axis.com>
453 * config/tc-cris.c (cris_create_short_jump): Remove prototype.
454 Rename, changing all callers, to...
455 (md_create_short_jump): Adjust head comment. Assert
456 word-sized-branch distance for v32. Bail out calling as_fatal for
457 compatibility mode here.
458 (md_create_long_jump): ...not here.
459 * config/tc-cris.h (md_create_short_jump): Do not define.
461 2009-03-10 Hans-Peter Nilsson <hp@axis.com>
463 * write.c (write_object_file) [!WORKING_DOT_WORD]: When patching
464 the jump table for multiple overflowing entries with the same
465 target, handle base symbols being different.
466 (relax_segment) <case rs_broken_word, second loop>: Whenever a
467 single entry overflows, arrange to redirect all entries with the
470 2009-03-10 Alan Modra <amodra@bigpond.net.au>
472 * config/tc-ppc.c (parse_cpu): Delete.
473 (md_parse_option, ppc_machine): Use ppc_parse_cpu.
475 2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
478 * config/tc-i386.h (LOCAL_LABELS_DOLLAR): New. Defined as 0.
479 (LOCAL_LABELS_FB): Undefine befoe define.
481 2009-03-06 Nick Clifton <nickc@redhat.com>
483 * po/es.po: Updated Spanish translation.
485 2009-03-05 Joseph Myers <joseph@codesourcery.com>
487 * read.c (s_fill, s_space, s_float_space, float_cons, stringer,
488 s_incbin): Call md_cons_align (1).
490 2009-03-04 Nick Clifton <nickc@redhat.com>
492 * config/tc-alpha.c (alpha_prologue_label): Only define for ELF
494 (s_alpha_comm): Only define "temp" and "log_align" local variables
497 2009-03-04 Alan Modra <amodra@bigpond.net.au>
499 * config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs
500 have non-zero addend.
501 (md_assemble): Parse args of __tls_get_addr calls.
502 (md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD.
504 2009-03-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
507 * config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with
508 local scope for ELF targets.
510 2009-03-04 Alan Modra <amodra@bigpond.net.au>
512 * config/tc-ppc.c (md_assemble): APUinfo only for e500.
514 2009-03-03 Tristan Gingold <gingold@adacore.com>
515 Eric Botcazou <ebotcazou@adacore.com>
516 Douglas B Rupp <rupp@gnat.com>
518 * doc/as.texinfo (Overview): Mention -replace/-noreplace options
520 * doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace.
521 * config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax).
522 (OBJ_SYMFIELD_TYPE): Remove.
523 (tc_canonicalize_symbol_name): Define to evax_shorten_name.
524 (TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax.
525 (tc_frob_file_before_fix): Do not defined on evax.
526 * config/tc-alpha.c: Always includes dwarf2dbg.h.
527 Include vms.h if OBJ_EVAX.
528 (struct alpha_fixup): Add xtrasym and procsym (evax only).
529 (enum alpha_macro_arg): Remove trailing comma.
530 (md_longopts): Add replace and noreplace arguments (evax only).
531 (alpha_evax_proc_hash): New variable.
532 (alpha_link_section): Make it global.
533 (alpha_ctors_section, alpha_dtors_section): Removed.
534 (alpha_ctors_symbol, alpha_dtors_symbol): Ditto.
535 (alpha_lit8_section): Ifndef'ed on evax.
536 (alpha_lit8_symbol): Ditto.
537 (alpha_prologue_label): New variable.
538 (alpha_linkage_symbol): New variable (evax only).
539 (alpha_flag_replace): Ditto.
540 (struct alpha_evax_procs): Add handler and handler_data field.
541 (alpha_evax_proc): Now of type pointer.
542 (alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables.
543 (struct alpha_reloc_tag): Add sym and psym fields (evax only).
544 (get_alpha_reloc_tag): Initialize sym and psym fields (evax only).
545 (alpha_adjust_relocs): Ifndef'ed on evax.
546 (load_expression): Add opname argument.
547 Implement LDA/BSR optimization for evax.
548 (emit_lda): Adjust for new prototype of load_expression.
549 (emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols.
550 (emit_loadstore): Likewise.
551 (emit_ldXu): Likewise.
552 (emit_stX): Likewise.
553 (emit_jsrjmp): Likewise. Implement LDA/BSR optimization for evax.
554 (emit_ldgp): Avoid warning in evax case.
555 (add_to_link_pool): Make it static. Return symbolic expression rather
556 than number expression for the offset.
557 (s_alpha_text): Create .text symbol for evax if not already created.
558 (s_alpha_comm): Do not create specific section for common symbol.
559 Fill common area with zeros for evax.
560 (s_alpha_prologue): Create alpha_prologue_label.
561 (s_alpha_section_name): New function (evax).
562 (s_alpha_section_word): Likewise.
563 (section_name): New static variabke moved out from ...
564 (s_alpha_section): ... here. Create new sections on demand.
565 (s_alpha_literals): New function (evax).
566 (s_alpha_ent): Create alpha_evax_proc instance and insert it in the
567 alpha_evax_proc_hash table.
568 (s_alpha_handler): New function (evax).
569 (s_alpha_frame): Adjust for new type of alpha_evax_proc.
570 (s_alpha_prologue): New function (evax).
571 (s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new
572 handling of procedures with hash table.
573 Add support for condition handlers.
574 (s_alpha_linkage): Create linkage_fixup instance and chain it.
575 (s_alpha_fp_save): Adjust for new type of alpha_evax_proc.
576 (s_alpha_mask): Likewise.
577 (s_alpha_fmask): Likewise.
578 (s_alpha_end): Clear alpha_evax_proc.
579 (s_alpha_align): Increase max_alignment to 16.
580 (alpha_print_token): Call print_expr_1 instead of print_expr.
581 (md_pseudo_table): Add "section", "literals", "handler" and
582 "handler_data" (evax). Do not ignore "prologue" on evax.
584 (md_begin): Create hash table for alpha_evax_proc_hash.
585 (md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE.
586 (md_show_usage): Mention -replace/-noreplace for evax.
587 (md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH).
588 (alpha_force_relocation): Likewise.
589 (alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case.
590 (tc_gen_reloc): Likewise. Add BFD_RELOC_ALPHA_LINKAGE for evax.
591 (emit_insn): New cases for evax specific relocs.
592 (assemble_insn): Fix indentation.
593 Take care of -MDISP in operand table.
594 * config/obj-evax.h (struct alpha_linkage_fixups): New struct.
595 (OBJ_SYMFIELD_TYPE): New macro.
596 (obj_symbol_new_hook): Define.
597 (obj_frob_symbol, obj_frob_file_before_adjust): Ditto.
598 (obj_frob_file_before_fix): Ditto.
599 (PDSC_S_M_HANDLER_VALID): New macro.
600 (PDSC_S_M_HANDLER_DATA_VALID): Ditto.
601 (TC_IMPLICIT_LCOMM_ALIGNMENT): Remove.
602 Add prototypes for functions declared in obj-evax.c
603 * config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h.
604 (s_evax_weak): Convert to ansi-C.
605 (evax_symbol_new_hook): New function.
606 (evax_frob_symbol): Ditto.
607 (evax_frob_file_before_adjust): Ditto.
608 (evax_frob_file_before_fix): Ditto.
609 (evax_shorten_name): Ditto.
614 (shorten_identifier): Ditto.
615 (is_truncated_identifier): Ditto.
616 * dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS.
617 * as.c (close_output_file): Remove #ifndef OBJ_VMS.
620 2009-03-03 Alan Modra <amodra@bigpond.net.au>
622 * Makefile.am: Run "make dep-am".
623 * Makefile.in: Regenerate.
625 2009-03-02 Nick Clifton <nickc@redhat.com>
628 * config/tc-ia64.c (fix_insn): Fix warning reported by
631 2009-03-02 Qinwei <qinwei@sunnorth.com.cn>
633 * config/tc-score7.c: New file.
634 * doc/c-score.texi: New file.
635 * Makefile.am: Update dependencies for tc-score.c.
636 * Makefile.in: Regenerate.
637 * NEWS: Mention support for Score7 architecture.
638 * config/tc-score.c: Add support for Score7 architecture.
639 * config/tc-score.h: Likewise.
640 * doc/Makefile.am: Add c-score.texi.
641 * doc/Makefile.in: Regenerate.
642 * doc/all.texi: Add Score7.
643 * doc/as.texinfo: Add Score7.
645 2009-03-01 Mark Mitchell <mark@codesourcery.com>
647 * config/tc-arm.c (md_assemble): Allow barrier instructions on
650 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
652 * configure: Regenerate.
654 2009-02-26 Peter Bergner <bergner@vnet.ibm.com>
656 * config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
657 "f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
658 (parse_cpu): Extend -mpower7 to accept power7 and isel instructions.
660 2009-02-25 H.J. Lu <hongjiu.lu@intel.com>
662 * config/tc-i386.c (fits_in_imm4): Removed.
664 2009-02-24 Helge Deller <deller@gmx.de>
666 * config/tc-hppa.c (pa_ip): Add check of immediate values.
667 (SAVE_IMMEDIATE): New define.
669 2009-02-23 Mark Mitchell <mark@codesourcery.com>
671 * config/tc-arm.c (warn_deprecated_sp): New macro.
672 (do_t_mov_cmp): Permit R13 as the second
675 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
677 * config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM.
678 (pt): Replace UINTS_ALL_ZERO with operand_type_all_zero.
680 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
682 * config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4.
684 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
686 * config/tc-i386.c (vex_imm4): Removed.
687 (VEX_check_operands): Likewise.
688 (match_template): Updated.
690 2009-02-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
692 * doc/all.texi: Set S390.
693 * doc/as.texinfo: Add S390 support and pull in c-s390.texi.
694 * doc/Makefile.am (CPU_DOCS): Add c-s390.texi.
695 * doc/Makefile.in: Likewise.
696 * doc/c-s390.texi: New.
698 2009-02-12 Nathan Sidwell <nathan@codesourcery.com>
700 * config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR.
701 (mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New.
702 (mcf5307_ctrl): Add VBR.
703 (no_mac): New variable.
704 (m68k_extensions): Refer to no_mac mask.
705 (m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277,
706 52252..52259, 53011..53017.
707 (m68k_ip): Process CPUCR.
708 (init_table): Add cpucr entry.
709 (m68k_set_extension): Allow negated mask to refer to a variable.
710 (md_show_usage): Use '%s' to silence fprintf warning.
711 * config/m68k-parse.h (CPUCR): New control register.
713 2009-02-10 Nathan Sidwell <nathan@codesourcery.com>
715 * config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for
716 as_bad calls to silence compiler warning.
718 2009-02-06 Nick Clifton <nickc@redhat.com>
721 * config/tc-arm.c (MODE_RECORDED): New define.
722 (output_inst): Record the thumb_mode in the current frag.
723 (arm_handle_align): Ignore the MODE_RECORDED bit in tc_frag_data.
724 (arm_init_frag): Only set the tc_frag_data field if it has not
727 2009-02-04 H.J. Lu <hongjiu.lu@intel.com>
729 AVX Programming Reference (January, 2009)
730 * config/tc-i386.c (CPU_FLAGS_PCLMUL_MATCH): New.
731 (CPU_FLAGS_AVX_MATCH): Updated.
732 (CPU_FLAGS_32BIT_MATCH): Likewise.
733 (cpu_flags_match): Likewise.
735 2009-02-03 Sandip Matte <sandip@rmicorp.com>
737 * config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T,
738 M_MSGWAIT and M_MSGWAIT_T.
739 (mips_cpu_info_table): Add XLR entry.
740 * doc/c-mips.texi (-march): Document xlr.
742 2009-02-03 Eric B. Weddington <eric.weddington@atmel.com>
744 * config/tc-avr.c (mcu_types): Add ata6289.
745 * doc/c-avr.texi: Likewise.
747 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
749 * configure.in: AC_SUBST pdfdir.
750 * Makefile.am: Add install-pdf, install-pdf-am,
751 and install-pdf-recursive targets.
752 * doc/Makefile.am: Define pdf__strip_dir. Add
753 install-pdf and install-pdf-am targets.
754 * po/Make-in: Add install-pdf target.
755 * configure: Regenerate.
756 * Makefile.in: Regenerate.
757 * doc/Makefile.in: Regenerate.
759 2009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com>
761 * config/m68k-parse.h (enum pic_relocation): Add values for TLS
763 * config/m68k-parse.y (yylex): Parse TLS relocations.
764 * config/tc-m68k.c (m68k_elf_cons): New static function.
765 (md_pseudo_table): Use it.
766 (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
768 (md_apply_fix): Fix to set thread local flag.
769 (m68k_elf_suffix): New static function; helper for m68k_elf_cons.
771 2009-02-03 Vince Weaver <vince@csl.cornell.edu>
774 * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of
775 indexed addressing for symbolic expressions.
777 2009-01-29 Mark Mitchell <mark@codesourcery.com>
779 * config/tc-arm.c (BAD_SP): Define.
780 (s_arm_unwind_fnstart): Use REG_SP.
781 (s_arm_unwind_setfp): Likewise.
782 (reject_bad_reg): New macro.
783 (do_co_reg): Check for bad registers.
784 (do_co_reg2c): Likewise.
785 (do_srs): Use REG_SP.
786 (do_t_add_sub): Check for bad registers.
787 (do_t_adr): Likewise.
788 (do_t_arit3): Likewise.
789 (do_t_arit3c): Likewise.
790 (do_t_bfc): Likewise.
791 (do_t_bfi): Likewise.
792 (do_t_bfx): Likewise.
793 (do_t_blx): Likewise.
795 (do_t_bxj): Likewise.
796 (do_t_clz): Likewise.
797 (do_t_div): Likewise.
798 (do_t_mla): Likewise.
799 (do_t_mlal): Likewise.
800 (do_t_mov_cmp): Likewise.
801 (do_t_mov16): Likewise.
802 (do_t_mvn_tst): Likewise.
803 (do_t_mrs): Likewise.
804 (do_t_msr): Likewise.
805 (do_t_mul): Likewise.
806 (do_t_mull): Likewise.
807 (do_t_orn): Likewise.
808 (do_t_pkhbt): Likewise.
809 (do_t_pld): Likewise.
810 (do_t_rbit): Likewise.
811 (do_t_rev): Likewise.
812 (do_t_rrx): Likewise.
813 (do_t_rsb): Likewise.
814 (do_t_shift): Likewise.
815 (do_t_simd): Likewise.
816 (do_t_ssat): Likewise.
817 (do_t_ssat16): Likewise.
818 (do_t_sxtah): Likewise.
819 (do_t_sxth): Likewise.
821 (do_t_usat): Likewise.
822 (do_t_usat16): Likewise.
823 (nysn_insert_sp): Use REG_SP.
825 2009-01-29 Mark Mitchell <mark@codesourcery.com>
827 * config/tc-arm.c (do_t_orn): New function.
828 (do_t_rrx): Likewise.
829 (insns): Add orn and rrx.
831 2009-01-29 Mark Mitchell <mark@codesourcery.com>
833 * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
834 uasx, uhasx, uhsx, uqasx, uqsax, usax.
836 2009-01-29 Mark Mitchell <mark@codesourcery.com>
838 * config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub,
839 qdsub in Thumb-2 mode.
841 2009-01-29 Paul Brook <paul@codesourcery.com>
842 Mark Mitchell <mark@codesourcery.com>
844 * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding
845 of MUL when possible.
847 2009-01-29 Nick Clifton <nickc@redhat.com>
849 * config/tc-mep.h (DIFF_EXPR_OK): Do not define.
851 2009-01-29 Nathan Sidwell <nathan@codesourcery.com>
852 Catherine Moore <clm@codesourcery.com?
854 * doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte,
855 .4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32
858 2009-01-27 Nick Clifton <nickc@redhat.com>
860 * config/tc-mips.c (append_insn): Cope with a complex reloc
861 sequence containing an unsupported reloc type.
862 (enum options): Replace computed #define's constants for option
863 numbers with this enum.
864 (struct md_longopts): Use the enum. Allow OPTION_32 in a non-ELF
866 (md_parse_option): Allow -32 in a non-ELF environment.
868 2009-01-26 Andrew Stubbs <ams@codesourcery.com>
870 * config/tc-arm.c (attributes_set_explicitly): New array.
871 (s_arm_eabi_attribute): Check return value from s_vendor_attribute.
872 (cpu_arch): Add ARM_ARCH_V5T.
873 (aeabi_set_attribute_int): New function.
874 (aeabi_set_attribute_string): New function.
875 (aeabi_set_public_attributes): Set attributes according to the user's
876 intentions, rather than the actual state of the binary.
877 Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of
878 bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string.
879 Support WMMXv2. Use attribute names instead of numbers.
880 * read.c (s_vendor_attribute): Change return type to int.
881 Return the tag number that was set.
882 * read.h (s_vendor_attribute): Change return type to int.
884 2009-01-26 Eric B. Weddington <eric.weddington@atmel.com>
887 * config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name.
888 * doc/c-avr.texi: Likewise.
890 2009-01-23 Nathan Sidwell <nathan@codesourcery.com>
892 * doc/c-arm.texi (): Document -mwarn-deprecated.
893 * config/tc-arm.c (WARN_DEPRECATED): Remove. Replace with ...
894 (warn_on_deprecated): ... this.
895 (opcode_lookup, md_assemble): Check it before warning.
896 (arm_opts): Add m[no-]warn-deprecated.
897 (md_parse_option): Replace WARN_DEPRECATED with
900 2009-01-23 Andreas Schwab <schwab@suse.de>
902 * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
903 arguments to macro_build to match format.
905 * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.
906 * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define.
908 2009-01-19 Nick Clifton <nickc@redhat.com>
910 * config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for
911 ELF format ARM targets.
912 * config/tc-arm.c (arm_convert_symbolic_attribute): Likewise.
914 2009-01-19 Nick Clifton <nickc@redhat.com>
916 * configure.tgt: Restore alpha sorting to object format switch
919 2009-01-19 Andrew Stubbs <ams@codesourcery.com>
921 * read.c (s_vendor_attribute): Allow for unknown flag bits in type.
923 2009-01-16 Mark Shinwell <shinwell@codesourcery.com>
925 * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5.
926 * config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.
928 2009-01-16 Andrew Stubbs <ams@codesourcery.com>
929 Daniel Jacobowitz <dan@codesourcery.com>
931 * config/tc-arm.c (arm_copy_symbol_attributes): New function.
932 * config/tc-arm.h (arm_copy_symbol_attributes): New prototype.
933 (CONVERT_SYMBOLIC_ATTRIBUTE): New define.
934 * read.c (s_vendor_attribute): Add support for symbolic tag names.
935 Improve string parser.
936 * doc/c-arm.texi (ARM Machine Directives): Document
937 .eabi_attribute symbolic tag names.
939 2009-01-16 Alan Modra <amodra@bigpond.net.au>
941 * configure.in (commonbfdlib): Delete.
942 * configure: Regenerate.
943 * po/POTFILES.in: Regenerate.
945 2009-01-15 Andrew Stubbs <ams@codesourcery.com>
946 Julian Brown <julian@codesourcery.com>
948 * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11.
950 2009-01-15 Andrew Stubbs <ams@codesourcery.com>
952 * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat ->
953 bfd_elf_add_obj_attr_int_string.
955 2009-01-15 Douglas B Rupp <rupp@gnat.com>
957 * configure.tgt(ia64-*-*vms*): New target.
958 * dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
959 * tc.h (md_number_to_chars): Declare iff undefined.
960 * config/obj-elf.c (obj_elf_change_section): Change type of arg
962 (obj_elf_parse_section_letters): Return a bfd_vma. Change type of
963 variables attr, md_attr to bfd_vma.
964 (obj_elf_section_word): Likewise.
965 (obj_elf_section): Change type of variable attr to bfd_vma
966 * config/obj-elf.h (obj_elf_change_section): Change type of arg
968 * config/tc-ia64.c (bfdver.h,time.h): Include.
969 (ia64_elf_section_letter): Now returns a bfd_vma.
970 Handle VMS specific attributes.
971 (ia64_elf_section_flags): Arg attr now a bfd_vma.
972 (ia64_init): Don't turn on dependency checking for VMS.
973 (ia64_target_format): Check for VMS flag bit.
974 (do_alias): Hande decc$ functions.
975 (get_vms_time): New function.
976 (ia64_vms_note): New function.
977 * config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
978 (ia64_elf_section_flags): Arg attr now a bfd_vma.
979 (tc_init_after_args): Define for VMS.
980 * config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
981 (alpha_elf_section_flags): Change type of arg attr to bfd_vma.
982 * config/tc-alpha.h: Likewise.
983 * config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
984 (x86_64_section_word): Return a bfd_vma.
985 * config/tc-i386.h: Likewise.
986 * config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
988 * config/tc-ip2k.h: Likewise.
989 * config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
990 (mep_elf_section_flags): Change type of arg attr to bfd_vma.
991 * config/tc-mep.h: Likewise.
992 * config/tc-ppc.c (ppc_section_letter): Return a bfd_vma.
993 (ppc_section_word): Return a bfd_vma.
994 (ppc_section_flags): Change type of arg attr to bfd_vma.
995 * config/tc-ppc.h: Likewise.
996 * config/tc-frv.h: Provide a prototype for frv_md_number_to_chars.
997 * config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
998 DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
999 New file with new macros
1000 * dwarf2dbg.c (get_filenum, out_file_list): Default and call new
1003 2009-01-15 Nick Clifton <nickc@redhat.com>
1006 * config/tc-arm.c (do_t_nop): Check for availability of Thumb2
1007 instructions before generating a Thumb2 nop.
1009 2009-01-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1011 * config/tc-s390.h: Define LOCAL_LABEL_PREFIX.
1013 2009-01-12 Alan Modra <amodra@bigpond.net.au>
1015 * config/tc-spu.c (md_pseudo_table): Add "brinfo".
1017 (md_assemble): Poke brinfo into branch instructions.
1018 (spu_brinfo): New function.
1019 (md_apply_fix): Don't assume insn fields start off at zero, mask
1020 them to remove possible brinfo.
1022 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
1024 * doc/c-i386.texi: Reformat.
1026 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
1028 * config/tc-i386.c (cpu_arch): Add corei7, .clflush and
1030 (i386_align_code): Handle PROCESSOR_COREI7.
1031 (md_show_usage): Add corei7, clflush and syscall.
1032 (i386_target_format): Replace cpup4 with cpuclflush.
1034 * config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
1036 * doc/c-i386.texi: Document corei7, clflush and syscall.
1038 2009-01-09 H.J. Lu <hongjiu.lu@intel.com>
1040 * config/tc-i386.c (cpu_arch): Add .rdtscp.
1041 (md_show_usage): Display rdtscp.
1043 * doc/c-i386.texi: Document rdtscp.
1045 2009-01-09 Peter Bergner <bergner@vnet.ibm.com>
1047 * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
1048 Test the new "deprecated" opcode field.
1050 2009-01-07 Sterling Augustine <sterling@tensilica.com>
1052 * config/tc-xtensa.c (produce_flix): New.
1053 (option_flix, optoin_no_generate_flix, option_no_flix) Define.
1054 (md_longopts): Add support for them.
1055 (md_parse_option): Likewise.
1056 (md_show_usage): Add help message.
1057 (finish_vinsn): Don't allow multi-slot flix when produce_flix
1058 option is set to FLIX_NONE.
1059 * config/xtensa-relax.c (transition_applies): Only relax to
1060 flix branches when produce_flix equals FLIX_ALL.
1061 * config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE
1063 (produce_flix): Declare.
1065 2009-01-06 Chao-ying Fu <fu@mips.com>
1067 * config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff.
1068 Use strncmp to match jalr and jalr.hb.
1071 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
1073 AVX Programming Reference (December, 2008)
1074 * config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction
1075 support. Don't swap REG and NDS for FMA.
1077 2009-01-02 Matthias Klose <doko@ubuntu.com>
1079 * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
1082 For older changes see ChangeLog-2008
1088 version-control: never