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