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