1 2009-07-02 Tristan Gingold <gingold@adacore.com>
3 * Makefile.am (OBJ_FORMATS): Add macho.
4 (CPU_OBJ_VALID): Ditto.
5 (OBJ_FORMAT_CFILES): Add config/obj-macho.c
6 (OBJ_FORMAT_HFILES): Add config/obj-macho.h
7 (obj-macho.o): New rule.
8 * Makefile.in: Regenerated.
9 * configure.tgt (generic_target): Add i386-*-darwin*.
10 * config/tc-i386.h: Use i386_target_format for Mach-O.
11 * config/tc-i386.c (i386_target_format): Define it for Mach-O.
12 (i386_target_format): Add a case for bfd_target_mach_o_flavour.
13 * config/obj-macho.h: New file.
14 * config/obj-macho.c: New file.
16 2009-07-01 Nick Clifton <nickc@redhat.com>
19 * config/tc-arm.c (do_t_pkhtb): Swap Rm and Rn when encoding as
22 2009-07-01 Paul Brook <paul@codesourcery.com>
24 * config/tc-arm.c (MISSING_FNSTART): Define.
25 (s_arm_unwind_fnstart): Diagnose duplicate directive.
26 (s_arm_unwind_handlerdata, s_arm_unwind_fnend, s_arm_unwind_fnend,
27 s_arm_unwind_cantunwind, s_arm_unwind_personalityindex,
28 s_arm_unwind_personality, s_arm_unwind_save, s_arm_unwind_movsp,
29 s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): Error if
30 not inside function unwinding region.
32 2009-06-29 H.J. Lu <hongjiu.lu@intel.com>
34 * config/tc-i386.c: Reformat.
36 2009-06-23 DJ Delorie <dj@redhat.com>
38 * config/tc-mep.c (mep_check_ivc2_scheduling): For IVC2, allocate
39 32 bits for relaxable branches so that we can relax them later.
40 (md_estimate_size_before_relax): Assume IVC2 branches will be relaxed.
41 (mep_relax_frag): New.
42 (md_convert_frag): Relax IVC2 branches in-place.
43 * config/tc-mep.h ((mep_relax_frag): New.
45 2009-06-22 Martin Thuresson <martin@mtme.org>
47 * gas/app, gas/as.c, gas/as.h, gas/atof-generic.c, gas/cgen.c,
48 gas/config/atof-ieee.c, gas/config/obj-aout.c,
49 gas/config/obj-coff.c, gas/config/obj-ecoff.c,
50 gas/config/obj-elf.c, gas/config/obj-som.c, gas/config/tc-alpha.c,
51 gas/config/tc-arc.c, gas/config/tc-arm.c, gas/config/tc-cr16.c,
52 gas/config/tc-cris.c, gas/config/tc-crx.c, gas/config/tc-d30v.c,
53 gas/config/tc-dlx.c, gas/config/tc-hppa.c, gas/config/tc-i370.c,
54 gas/config/tc-i386-intel.c, gas/config/tc-i386.c,
55 gas/config/tc-i860.c, gas/config/tc-i960.c, gas/config/tc-ia64.c,
56 gas/config/tc-iq2000.c, gas/config/tc-m32c.c,
57 gas/config/tc-m32r.c, gas/config/tc-m68hc11.c,
58 gas/config/tc-m68k.c, gas/config/tc-maxq.c, gas/config/tc-mcore.c,
59 gas/config/tc-mep.c, gas/config/tc-mips.c, gas/config/tc-mmix.c,
60 gas/config/tc-mn10300.c, gas/config/tc-moxie.c,
61 gas/config/tc-ns32k.c, gas/config/tc-pj.c, gas/config/tc-ppc.c,
62 gas/config/tc-s390.c, gas/config/tc-score.c,
63 gas/config/tc-score7.c, gas/config/tc-sh.c, gas/config/tc-sparc.c,
64 gas/config/tc-spu.c, gas/config/tc-tic30.c, gas/config/tc-vax.c,
65 gas/config/tc-xtensa.c, gas/config/xtensa-relax.c,
66 gas/dw2gencfi.c, gas/dwarf2dbg.c, gas/ehopt.c, gas/expr.c,
67 gas/frags.c, gas/input-file.c, gas/read.c, gas/sb.c,
68 gas/subsegs.c, gas/symbols.c, gas/write.c: Change the name of the
69 gas macro `assert' to `gas_assert'.
71 2009-06-22 Daniel Gutson <dgutson@codesourcery.com>
73 * config/tc-arm.c (implicit_it_mode): New enum.
74 (implicit_it_mode): New global.
75 (it_instruction_type): New enum.
76 (arm_parse_it_mode): New function.
77 (arm_long_opts): New option added.
81 (check_it_blocks_finished): New function.
82 (insns[]): Use the IT Thumb opcodes for ARM too.
83 (arm_cleanup): Call check_it_blocks_finished.
84 (now_it_compatible): New function.
85 (conditional_insn): New function.
86 (set_it_insn_type): New macro.
87 (set_it_insn_type_last): New macro.
88 (do_it): Call automatic IT machinery functions.
89 (do_t_add_sub): Likewise
90 (do_t_arit3): Likewise.
91 (do_t_arit3c): Likewise.
93 (do_t_branch): Likewise.
94 (do_t_bkpt): Likewise.
95 (do_t_branch23): Likewise.
99 (do_t_cpsi): Likewise.
100 (do_t_cbz): Likewise.
102 (encode_thumb2_ldmstm): Likewise.
103 (do_t_ldst): Likewise.
104 (do_t_mov_cmp): Likewise.
105 (do_t_mvn_tst): Likewise.
106 (do_t_mul): Likewise.
107 (do_t_neg): Likewise.
108 (do_t_setend): Likewise.
109 (do_t_shift): Likewise.
111 (output_it_inst): New function.
112 (new_automatic_it_block): New function.
113 (close_automatic_it_block): New function.
114 (now_it_add_mask): New function.
115 (it_fsm_pre_encode): New function.
116 (handle_it_state): New function.
117 (it_fsm_post_encode): New function.
118 (force_automatic_it_block_close): New function.
119 (in_it_block): New function.
120 (md_assemble): Call automatic IT block machinery functions.
121 (arm_frob_label): Likewise.
122 (arm_opts): New element.
123 * config/tc-arm.h (it_state): New enum.
124 (current_it): New struct.
125 (arm_segment_info_type): New member added.
126 * doc/c-arm.texi: New option -mimplicit-it documented.
128 2009-06-20 Alan Modra <amodra@bigpond.net.au>
131 * doc/as.texinfo (Section <ELF "M,S" flag>): Clarify tail merge.
133 2009-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
135 * config/tc-s390.c (md_gather_operands): Accept an instruction
136 without operands if all operands are tagged as optional.
138 2009-06-18 Nick Clifton <nickc@redhat.com>
141 * gas/tc-arm.c (do_t_ssat): Move common code from here...
142 (do_t_usat): ... and here to...
143 (do_t_ssat_usat): New function: ... here. Add code to check that
144 the shift value, if present, is in range.
146 2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
148 Merge cegcc and mingw32ce target name changes
151 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
153 * configure.tgt: Add arm*-*-cegcc* target.
155 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt>
157 * configure.tgt: Add arm-*-mingw32ce* target.
159 2009-06-16 Maciej W. Rozycki <macro@linux-mips.org>
161 * config/tc-vax.c (md_estimate_size_before_relax): Accept
162 indirect symbol references in the PIC mode and emit a
163 PC-relative relocation instead of a GOT/PLT one. Likewise
164 for symbols known to be hidden at this point.
166 2009-06-15 Nick Clifton <nickc@redhat.com>
169 * config/tc-arm.c (T16_32_TAB): Fix binary value of SEV.W
172 2009-06-13 H.J. Lu <hongjiu.lu@intel.com>
175 * config/tc-i386.c (md_apply_fix): Use TC_FORCE_RELOCATION
176 instead of generic_force_reloc.
178 * config/tc-i386.h (TC_FORCE_RELOCATION): New.
180 2009-06-11 Anthony Green <green@moxielogic.com>
182 * config/tc-moxie.c (md_chars_to_number): Define.
183 (md_begin): Populate opcode hashtable with more form 3 opcodes.
184 (md_assemble): Assemble MOXIE_F3_PCREL encoded instructions.
185 (md_apply_fix): Handle BFD_RELOC_MOXIE_10_PCREL relocations.
186 (tc_gen_reloc): Ditto.
187 (md_pcrel_from): Ditto.
188 (md_chars_to_number): New function.
190 2009-06-10 Anthony Green <green@moxielogic.com>
192 * config/tc-moxie.c (md_assemble): Handle MOXIE_F1_M encoded
195 2009-06-09 Jakub Jelinek <jakub@redhat.com>
198 * dw2gencfi.c (output_cfi_insn): Initialize fragment before rs_cfa
199 to DW_CFA_advance_loc4.
201 2009-06-08 Dave Korn <dave.korn.cygwin@gmail.com>
204 * config/tc-i386.c (md_estimate_size_before_relax): Don't relax
205 branches to weak symbols.
206 (md_apply_fix): Don't convert fixes against weak symbols to
207 section-relative offsets, but save addend for later reloc emission.
208 (tc_gen_reloc): When emitting reloc against weak symbol, adjust
209 addend to pre-compensate for bfd_install_relocation.
211 2009-06-04 Alan Modra <amodra@bigpond.net.au>
213 * dep-in.sed: Don't use \n in replacement part of s command.
214 * Makefile.am (DEP1, DEPTC, DEPOBJ, DEP2): LC_ALL for uniq.
215 * Makefile.in: Regenerate.
217 2009-06-01 H.J. Lu <hongjiu.lu@intel.com>
220 * config/tc-i386-intel.c (i386_intel_operand): Check '$' as '.'.
222 2009-05-26 Catherine Moore <clm@codesourcery.com>
224 * config/tc-mips.c (check_for_24k_errata): Remove.
225 (md_mips_end): Remove call to check_for_24k_errata.
226 (start_noreorder): Likewise.
227 (s_change_sec): Likewise.
228 (s_change_section): Likewise.
229 (insns_between): Add 24k errata checks.
230 (append_insn): Remove declaration and references to nhdx_24k.
231 Remove calls to check_for_24k_errata.
233 2009-05-26 Nick Clifton <nickc@redhat.com>
235 * po/id.po: Updated Indonesian translation.
236 * po/gas.pot: Updated template file.
238 2009-05-26 Nick Clifton <nickc@redhat.com>
241 * config/bfin-parse.y (error): Use "%s" as format string for error
244 2009-05-26 Alan Modra <amodra@bigpond.net.au>
246 * dep-in.sed: Output one filename per line with all lines having
247 continuation backslash. Prefix first line with "A", following
249 * Makefile.am (DEP): Don't use dep.sed here.
250 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
252 (DEPTC, DEPOBJ, DEP2): Use dep.sed on dependencies, sort and uniq.
253 Emit multi dependencies on one line.
254 * Makefile.in: Regenerate.
256 2009-05-25 Tristan Gingold <gingold@adacore.com>
258 * makefile.vms: New file to compile gas on VMS.
260 * configure.com: New file to do configuration on VMS with DCL.
262 2009-05-23 Richard Sandiford <rdsandiford@googlemail.com>
264 * config/tc-mips.c (nops_for_vr4130): Don't check noreorder_p.
265 (nops_for_insn): Likewise.
267 2009-05-22 H.J. Lu <hongjiu.lu@intel.com>
269 * symbols.c (COPIED_SYMFLAGS): Add BSF_GNU_INDIRECT_FUNCTION.
271 2009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
273 * config/tc-i386.c (process_drex): Delete. Remove SSE5 support.
274 (build_modrm_byte): Remove DREX handling support.
277 (md_assemble): Remove DREX handling support.
278 (process_operands): Remove DREX, SSE5 support.
279 (i386_insn): Remove DREX.
281 2009-05-22 Alan Modra <amodra@bigpond.net.au>
283 * Makefile.am: Run "make dep-am".
284 * Makefile.in: Regenerate.
286 2009-05-20 Kai Tietz <kai.tietz@onevision.com>
287 H.J. Lu <hongjiu.lu@intel.com>
289 * config/obj-coff.h: Include "coff/x86_64.h" for x86 pe-coff.
290 (TARGET_FORMAT): Removed for x86 pe-coff.
291 (COFF_TARGET_FORMAT): Likewise.
293 * config/tc-i386.c (md_longopts): Allow --64 for x86 pe-coff.
294 (md_parse_option): Likewise.
295 (md_show_usage): Show option --32/--64 for x86 pe-coff.
296 (i386_target_format): Use also for x86 pe-coff.
298 * config/tc-i386.h (TARGET_FORMAT): Defined as i386_target_format
301 2009-05-19 DJ Delorie <dj@redhat.com>
303 * config/tc-mep.c (mep_machine): Only check CPU flags, not COP flags.
304 (mep_process_saved_insns): Remove debugging printfs.
306 2009-05-19 Dave Korn <dave.korn.cygwin@gmail.com>
308 * NEWS: Mention new feature.
309 * config/obj-coff.c (obj_coff_common_parse): New function.
310 (obj_coff_comm): Likewise.
311 (coff_pseudo_table): Override default ".comm" definition on PE.
312 * doc/as.texinfo: Document new feature.
314 2009-05-17 Kai Tietz <kai.tietz@onevision.com>
316 * config/obj-coff.c (obj_coff_section): Add 'y' as
317 specifier for SEC_COFF_NOREAD section flag.
318 * doc/as.texinfo: Add documentation about .section flag 'y'.
320 2009-05-13 DJ Delorie <dj@redhat.com>
322 * cgen.c (gas_cgen_parse_operand): Guard against NULL pointers.
324 2009-05-13 Andrew Jenner <andrew@codesourcery.com>
326 * config/tc-arm.c: Move as.h to start of file.
328 2009-05-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
330 * config/tc-arm.h: Fix typo in comment.
331 (ARM_IS_FUNC): New macro.
332 (MD_APPLY_SYM_VALUE): Define.
334 * config/tc-arm.c (do_blx): Retain BFD_RELOC_ARM_PCREL_BLX for
335 all versions of EABI.
336 (relax_branch): Do not relax for branches to ARM functions.
337 (md_pcrel_from_section): Set up base correctly for
338 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_THUMB_PCREL_CALL,
339 BFD_RELOC_THUMB_PCREL_BRANCH23, BFD_RELOC_ARM_PCREL_BLX
340 BFD_RELOC_ARM_PCREL_CALL.
341 (md_apply_fix): Flip bl to blx where possible.
342 Flip blx to bl where possible.
343 (arm_force_relocation): Force relocations for
344 BFD_RELOC_ARM_PCREL_JUMP, BFD_RELOC_ARM_PCREL_JUMP,
345 BFD_RELOC_ARM_PCREL_BLX, BFD_RELOC_THUMB_PCREL_BLX,
346 BFD_RELOC_THUMB_PCREL_BRANCH20, BFD_RELOC_THUMB_PCREL_BRANCH23,
347 BFD_RELOC_THUMB_PCREL_BRANCH25.
348 (arm_apply_sym_value): New function.
350 2009-05-04 Tristan Gingold <gingold@adacore.com>
352 * config/tc-alpha.c: Also declare alpha_prologue_label for OBJ_EVAX.
354 2009-05-01 Nathan Sidwell <nathan@codesourcery.com>
356 * config/tc-armlinux-eabi.h (FPU_DEFAULT): Default to plain VFP.
357 * config/tc-armeabi.h (FPU_DEFAULT): Likewise.
358 * config/tc-arm.c (md_begin): If FPU_DEFAULT is set, don't infer
359 the default FPU from the processor.
361 2009-05-01 Julian Brown <julian@codesourcery.com>
363 * config/tc-arm.c (do_t_blx): Always use BFD_RELOC_THUMB_PCREL_BLX.
364 (md_pcrel_from_section): Align address for BLX.
365 (tc_gen_reloc): Change BFD_RELOC_THUMB_PCREL_BLX relocations to
366 BFD_RELOC_THUMB_PCREL_BRANCH23 for EABI v4+.
368 2009-04-29 DJ Delorie <dj@redhat.com>
370 * config/tc-mep.c (md_begin): Check coprocessor type.
371 (md_check_parallel64_scheduling): Use memset to initialize the buffer.
372 (md_check_parallel32_scheduling): Likewise.
374 (mep_check_ivc2_scheduling): New.
375 (mep_check_parallel_scheduling): Call it.
376 (mep_process_saved_insns): Add IVC2 slot support.
377 (md_assemble): Likewise.
379 2009-04-30 Nick Clifton <nickc@redhat.com>
381 * config/obj-elf.c (obj_elf_type): Add support for a
382 gnu_indirect_function type.
383 * config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups
384 against indirect function symbols.
385 * doc/as.texinfo (.type): Document the support for the
386 gnu_indirect_function symbol type.
387 * NEWS: Mention the new feature.
389 2009-04-24 Cary Coutant <ccoutant@google.com>
391 * NEWS: Add item about discriminator support.
392 * dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field.
393 * dwarf2dbg.c (current): Add discriminator field.
394 (dwarf2_where): Copy discriminator value.
395 (dwarf2_consume_line_info): Set discriminator to 0.
396 (dwarf2_directive_loc): Process discriminator sub-op.
397 (out_leb128): New function.
398 (process_entries): Output DW_LNE_set_discriminator.
399 * doc/as.texinfo: Add discriminator operand to .loc directive.
401 2009-04-22 Nathan Sidwell <nathan@codesourcery.com>
403 * config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for
404 as_bad calls to silence compiler warning.
406 2009-04-21 H.J. Lu <hongjiu.lu@intel.com>
408 * config/tc-i386-intel.c (O_XXX): Reorder.
410 2009-04-20 Jan Beulich <jbeulich@novell.com>
412 * Makefile.am: Add explicit dependency of tc-i386.o on
414 * Makefile.in: Likewise.
415 * config/tc-i386.c (i386_finalize_immediate): Declare, broken
416 out from i386_immediate.
417 (i386_immediate): Slightly re-arrange, call
418 i386_finalize_immediate.
419 (i386_finalize_displacement): Declare, broken out from
421 (i386_displacement): Slightly re-arrange, call
422 i386_finalize_displacement.
423 (i386_intel_simplify, i386_intel_parse_name): Declare.
424 (this_operand): Initialize to -1.
425 (set_intel_syntax): Set expression rank for O_full_ptr.
426 (md_assemble): Set this_operand back to -1 after parsing
428 (x86_cons): Negate intel_syntax to indicate state. Call
430 (md_operand): Convert if to switch. Handle '[' for Intel
432 (i386_intel_operand): Delete, including all helper functions
434 * config/tc-i386-intel.c: New file, all new code.
435 * config/tc-i386.h (i386_operator): Declare.
436 (md_operator): Define to i386_operator.
437 (i386_need_index_operator): Declare.
438 (md_need_index_operator): Define to i386_need_index_operator.
439 (O_full_ptr): Define.
441 2009-04-20 Jan Beulich <jbeulich@novell.com>
443 * expr.c (operand): Call md_need_index_operator() and
444 md_operator() if defined. Add unary label.
445 (operator): Call md_operator() if defined.
446 (expr): Adjust assertions on range and rank of op_left and
447 op_right. Don't abort on unhandled operators when reducing
448 expressions with both operands being constant.
449 (expr_set_rank): New.
450 * expr.h (expr_set_rank): Declare.
452 2009-04-15 Anthony Green <green@moxielogic.com>
454 * config/tc-moxie.h: New file.
455 * config/tc-moxie.c: New file.
456 * configure: Add support for moxie.
457 * configure.tgt: Add support for moxie.
459 2009-04-16 Jan Beulich <jbeulich@novell.com>
461 * expr.c: Include limits.h if available, and #define CHAR_BITS
463 (expr): Check range of shift count when evaluating a constant
466 2009-04-15 Jan Beulich <jbeulich@novell.com>
468 * config/tc-i386.c (process_operands): Print operands in
469 correct order depending on intel_syntax.
471 2009-04-09 Catherine Moore <clm@codesourcery.com>
473 * config/tc-mips.c (mips_fix_24k): Declare.
474 (check_for_24k_errata): New.
475 (mips_cleanup): Call check_for_24k_errata.
476 (start_noreorder): Likewise.
477 (md_mips_end): Likewise.
478 (s_change_sec): Likewise.
479 (s_change_section): Likewise.
480 (append_insn): Call check_for_24k_errata. Prevent
481 ERET/DERET instructions from being moved into delay
483 (OPTION_FIX_24K): New.
484 (OPTION_NO_FIX_24k) New.
485 (md_longopts): Add "mfix-24k" and "mno-fix-24k".
486 (md_parse_option): Handle fix-24k options.
487 (md_show_usage): Display fix-24k options.
488 * doc/c-mips.texi: Document.
490 2009-04-09 Adam Nemet <anemet@caviumnetworks.com>
492 * config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS
493 instead of HAVE_64BIT_SYMBOLS.
495 2009-04-07 DJ Delorie <dj@redhat.com>
497 * config/tc-mep.c: Add UCI/DSP instruction support. Add C5 support.
498 (md_show_usage): Change default endian to little.
499 * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little.
501 2009-04-06 DJ Delorie <dj@redhat.com>
503 * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA
505 (build_bytes): Pass insn to do_a_fix_imm.
507 2009-04-02 Daniel Gutson <dgutson@codesourcery.com>
509 * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
510 * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and
513 2009-04-01 Matt Thomas <matt@netbsd.org>
515 * config/tc-vax.c (synthetic_votstrs): add "jbbcci" and "jbbssi"
516 (md_assemble): emit symbol name when used as immediate in PIC mode.
517 (md_assemble): fix LP64 bug (use sizeof (valueT) instead 4).
519 2009-04-01 Sterling Augustine <sterling@jaw.hq.tensilica.com>
521 * config/tc-xtensa.c (parse_arguments): call demand_empty_rest_of_line
523 2009-04-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
525 * config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF.
526 (find_real_start): Likewise.
527 * config/tc-arm.h (TC_VALIDATE_FIX): Likewise
529 2009-04-01 Nathan Sidwell <nathan@codesourcery.com>
531 * config/tc-arm.c (do_nop): Generate v6k nops whenever possible.
532 (arm_handle_align): Generate v6k ARM, thumb2 wide & narrow nops
535 2009-03-31 Peter Bergner <bergner@vnet.ibm.com>
537 * config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop.
539 2009-03-31 Dave Korn <dave.korn.cygwin@gmail.com>
541 * doc/internals.texi: Fix trivial syntax errors.
543 2009-03-26 Alan Modra <amodra@bigpond.net.au>
546 * config/tc-i386.c (reloc): Don't abort on lack of required
549 2009-03-25 H.J. Lu <hongjiu.lu@intel.com>
551 * config/tc-i386.c (parse_insn): Use default_arch on unsupported
554 2009-03-23 H.J. Lu <hongjiu.lu@intel.com>
557 * listing.c (listing_newline): Properly handle `\\"' and ';'.
559 * read.c (is_end_of_line): Update comments for line separator.
560 (read_begin): Set line separator in is_end_of_line to 2.
562 2009-03-19 David S. Miller <davem@davemloft.net>
564 * config/tc-sparc.c (md_parse_option): If the user gives
565 us '--64' make sure max_architecture is at least V9.
567 2009-03-18 Andrew Stubbs <ams@codesourcery.com>
569 * config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and
570 BFD_RELOC_ARM_ADRL_IMMEDIATE value is in the correct section.
571 Check BFD_RELOC_ARM_ADRL_IMMEDIATE has a defined symbol.
573 2009-03-18 Alan Modra <amodra@bigpond.net.au>
575 * as.h: Include alloca-conf.h instead of config.h and remove
576 existing #if's handling alloca.
577 * Makefile.am: Run "make dep-am".
578 * Makefile.in: Regenerate.
580 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
582 * config/tc-ppc.c (ppc_frob_symbol): Add csect information for
585 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
587 * config/tc-ppc.c (md_apply_fix): On COFF targets, always reread
588 "value" from fx_offset. Manually resubtract md_pcrel_from_section
591 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
593 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
594 * configure.in: Likewise.
595 * configure: Regenerate.
597 2009-03-11 Hans-Peter Nilsson <hp@axis.com>
599 * config/tc-cris.c (cris_create_short_jump): Remove prototype.
600 Rename, changing all callers, to...
601 (md_create_short_jump): Adjust head comment. Assert
602 word-sized-branch distance for v32. Bail out calling as_fatal for
603 compatibility mode here.
604 (md_create_long_jump): ...not here.
605 * config/tc-cris.h (md_create_short_jump): Do not define.
607 2009-03-10 Hans-Peter Nilsson <hp@axis.com>
609 * write.c (write_object_file) [!WORKING_DOT_WORD]: When patching
610 the jump table for multiple overflowing entries with the same
611 target, handle base symbols being different.
612 (relax_segment) <case rs_broken_word, second loop>: Whenever a
613 single entry overflows, arrange to redirect all entries with the
616 2009-03-10 Alan Modra <amodra@bigpond.net.au>
618 * config/tc-ppc.c (parse_cpu): Delete.
619 (md_parse_option, ppc_machine): Use ppc_parse_cpu.
621 2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
624 * config/tc-i386.h (LOCAL_LABELS_DOLLAR): New. Defined as 0.
625 (LOCAL_LABELS_FB): Undefine befoe define.
627 2009-03-06 Nick Clifton <nickc@redhat.com>
629 * po/es.po: Updated Spanish translation.
631 2009-03-05 Joseph Myers <joseph@codesourcery.com>
633 * read.c (s_fill, s_space, s_float_space, float_cons, stringer,
634 s_incbin): Call md_cons_align (1).
636 2009-03-04 Nick Clifton <nickc@redhat.com>
638 * config/tc-alpha.c (alpha_prologue_label): Only define for ELF
640 (s_alpha_comm): Only define "temp" and "log_align" local variables
643 2009-03-04 Alan Modra <amodra@bigpond.net.au>
645 * config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs
646 have non-zero addend.
647 (md_assemble): Parse args of __tls_get_addr calls.
648 (md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD.
650 2009-03-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
653 * config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with
654 local scope for ELF targets.
656 2009-03-04 Alan Modra <amodra@bigpond.net.au>
658 * config/tc-ppc.c (md_assemble): APUinfo only for e500.
660 2009-03-03 Tristan Gingold <gingold@adacore.com>
661 Eric Botcazou <ebotcazou@adacore.com>
662 Douglas B Rupp <rupp@gnat.com>
664 * doc/as.texinfo (Overview): Mention -replace/-noreplace options
666 * doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace.
667 * config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax).
668 (OBJ_SYMFIELD_TYPE): Remove.
669 (tc_canonicalize_symbol_name): Define to evax_shorten_name.
670 (TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax.
671 (tc_frob_file_before_fix): Do not defined on evax.
672 * config/tc-alpha.c: Always includes dwarf2dbg.h.
673 Include vms.h if OBJ_EVAX.
674 (struct alpha_fixup): Add xtrasym and procsym (evax only).
675 (enum alpha_macro_arg): Remove trailing comma.
676 (md_longopts): Add replace and noreplace arguments (evax only).
677 (alpha_evax_proc_hash): New variable.
678 (alpha_link_section): Make it global.
679 (alpha_ctors_section, alpha_dtors_section): Removed.
680 (alpha_ctors_symbol, alpha_dtors_symbol): Ditto.
681 (alpha_lit8_section): Ifndef'ed on evax.
682 (alpha_lit8_symbol): Ditto.
683 (alpha_prologue_label): New variable.
684 (alpha_linkage_symbol): New variable (evax only).
685 (alpha_flag_replace): Ditto.
686 (struct alpha_evax_procs): Add handler and handler_data field.
687 (alpha_evax_proc): Now of type pointer.
688 (alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables.
689 (struct alpha_reloc_tag): Add sym and psym fields (evax only).
690 (get_alpha_reloc_tag): Initialize sym and psym fields (evax only).
691 (alpha_adjust_relocs): Ifndef'ed on evax.
692 (load_expression): Add opname argument.
693 Implement LDA/BSR optimization for evax.
694 (emit_lda): Adjust for new prototype of load_expression.
695 (emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols.
696 (emit_loadstore): Likewise.
697 (emit_ldXu): Likewise.
698 (emit_stX): Likewise.
699 (emit_jsrjmp): Likewise. Implement LDA/BSR optimization for evax.
700 (emit_ldgp): Avoid warning in evax case.
701 (add_to_link_pool): Make it static. Return symbolic expression rather
702 than number expression for the offset.
703 (s_alpha_text): Create .text symbol for evax if not already created.
704 (s_alpha_comm): Do not create specific section for common symbol.
705 Fill common area with zeros for evax.
706 (s_alpha_prologue): Create alpha_prologue_label.
707 (s_alpha_section_name): New function (evax).
708 (s_alpha_section_word): Likewise.
709 (section_name): New static variabke moved out from ...
710 (s_alpha_section): ... here. Create new sections on demand.
711 (s_alpha_literals): New function (evax).
712 (s_alpha_ent): Create alpha_evax_proc instance and insert it in the
713 alpha_evax_proc_hash table.
714 (s_alpha_handler): New function (evax).
715 (s_alpha_frame): Adjust for new type of alpha_evax_proc.
716 (s_alpha_prologue): New function (evax).
717 (s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new
718 handling of procedures with hash table.
719 Add support for condition handlers.
720 (s_alpha_linkage): Create linkage_fixup instance and chain it.
721 (s_alpha_fp_save): Adjust for new type of alpha_evax_proc.
722 (s_alpha_mask): Likewise.
723 (s_alpha_fmask): Likewise.
724 (s_alpha_end): Clear alpha_evax_proc.
725 (s_alpha_align): Increase max_alignment to 16.
726 (alpha_print_token): Call print_expr_1 instead of print_expr.
727 (md_pseudo_table): Add "section", "literals", "handler" and
728 "handler_data" (evax). Do not ignore "prologue" on evax.
730 (md_begin): Create hash table for alpha_evax_proc_hash.
731 (md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE.
732 (md_show_usage): Mention -replace/-noreplace for evax.
733 (md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH).
734 (alpha_force_relocation): Likewise.
735 (alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case.
736 (tc_gen_reloc): Likewise. Add BFD_RELOC_ALPHA_LINKAGE for evax.
737 (emit_insn): New cases for evax specific relocs.
738 (assemble_insn): Fix indentation.
739 Take care of -MDISP in operand table.
740 * config/obj-evax.h (struct alpha_linkage_fixups): New struct.
741 (OBJ_SYMFIELD_TYPE): New macro.
742 (obj_symbol_new_hook): Define.
743 (obj_frob_symbol, obj_frob_file_before_adjust): Ditto.
744 (obj_frob_file_before_fix): Ditto.
745 (PDSC_S_M_HANDLER_VALID): New macro.
746 (PDSC_S_M_HANDLER_DATA_VALID): Ditto.
747 (TC_IMPLICIT_LCOMM_ALIGNMENT): Remove.
748 Add prototypes for functions declared in obj-evax.c
749 * config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h.
750 (s_evax_weak): Convert to ansi-C.
751 (evax_symbol_new_hook): New function.
752 (evax_frob_symbol): Ditto.
753 (evax_frob_file_before_adjust): Ditto.
754 (evax_frob_file_before_fix): Ditto.
755 (evax_shorten_name): Ditto.
760 (shorten_identifier): Ditto.
761 (is_truncated_identifier): Ditto.
762 * dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS.
763 * as.c (close_output_file): Remove #ifndef OBJ_VMS.
766 2009-03-03 Alan Modra <amodra@bigpond.net.au>
768 * Makefile.am: Run "make dep-am".
769 * Makefile.in: Regenerate.
771 2009-03-02 Nick Clifton <nickc@redhat.com>
774 * config/tc-ia64.c (fix_insn): Fix warning reported by
777 2009-03-02 Qinwei <qinwei@sunnorth.com.cn>
779 * config/tc-score7.c: New file.
780 * doc/c-score.texi: New file.
781 * Makefile.am: Update dependencies for tc-score.c.
782 * Makefile.in: Regenerate.
783 * NEWS: Mention support for Score7 architecture.
784 * config/tc-score.c: Add support for Score7 architecture.
785 * config/tc-score.h: Likewise.
786 * doc/Makefile.am: Add c-score.texi.
787 * doc/Makefile.in: Regenerate.
788 * doc/all.texi: Add Score7.
789 * doc/as.texinfo: Add Score7.
791 2009-03-01 Mark Mitchell <mark@codesourcery.com>
793 * config/tc-arm.c (md_assemble): Allow barrier instructions on
796 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
798 * configure: Regenerate.
800 2009-02-26 Peter Bergner <bergner@vnet.ibm.com>
802 * config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
803 "f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
804 (parse_cpu): Extend -mpower7 to accept power7 and isel instructions.
806 2009-02-25 H.J. Lu <hongjiu.lu@intel.com>
808 * config/tc-i386.c (fits_in_imm4): Removed.
810 2009-02-24 Helge Deller <deller@gmx.de>
812 * config/tc-hppa.c (pa_ip): Add check of immediate values.
813 (SAVE_IMMEDIATE): New define.
815 2009-02-23 Mark Mitchell <mark@codesourcery.com>
817 * config/tc-arm.c (warn_deprecated_sp): New macro.
818 (do_t_mov_cmp): Permit R13 as the second
821 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
823 * config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM.
824 (pt): Replace UINTS_ALL_ZERO with operand_type_all_zero.
826 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
828 * config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4.
830 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
832 * config/tc-i386.c (vex_imm4): Removed.
833 (VEX_check_operands): Likewise.
834 (match_template): Updated.
836 2009-02-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
838 * doc/all.texi: Set S390.
839 * doc/as.texinfo: Add S390 support and pull in c-s390.texi.
840 * doc/Makefile.am (CPU_DOCS): Add c-s390.texi.
841 * doc/Makefile.in: Likewise.
842 * doc/c-s390.texi: New.
844 2009-02-12 Nathan Sidwell <nathan@codesourcery.com>
846 * config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR.
847 (mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New.
848 (mcf5307_ctrl): Add VBR.
849 (no_mac): New variable.
850 (m68k_extensions): Refer to no_mac mask.
851 (m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277,
852 52252..52259, 53011..53017.
853 (m68k_ip): Process CPUCR.
854 (init_table): Add cpucr entry.
855 (m68k_set_extension): Allow negated mask to refer to a variable.
856 (md_show_usage): Use '%s' to silence fprintf warning.
857 * config/m68k-parse.h (CPUCR): New control register.
859 2009-02-10 Nathan Sidwell <nathan@codesourcery.com>
861 * config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for
862 as_bad calls to silence compiler warning.
864 2009-02-06 Nick Clifton <nickc@redhat.com>
867 * config/tc-arm.c (MODE_RECORDED): New define.
868 (output_inst): Record the thumb_mode in the current frag.
869 (arm_handle_align): Ignore the MODE_RECORDED bit in tc_frag_data.
870 (arm_init_frag): Only set the tc_frag_data field if it has not
873 2009-02-04 H.J. Lu <hongjiu.lu@intel.com>
875 AVX Programming Reference (January, 2009)
876 * config/tc-i386.c (CPU_FLAGS_PCLMUL_MATCH): New.
877 (CPU_FLAGS_AVX_MATCH): Updated.
878 (CPU_FLAGS_32BIT_MATCH): Likewise.
879 (cpu_flags_match): Likewise.
881 2009-02-03 Sandip Matte <sandip@rmicorp.com>
883 * config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T,
884 M_MSGWAIT and M_MSGWAIT_T.
885 (mips_cpu_info_table): Add XLR entry.
886 * doc/c-mips.texi (-march): Document xlr.
888 2009-02-03 Eric B. Weddington <eric.weddington@atmel.com>
890 * config/tc-avr.c (mcu_types): Add ata6289.
891 * doc/c-avr.texi: Likewise.
893 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
895 * configure.in: AC_SUBST pdfdir.
896 * Makefile.am: Add install-pdf, install-pdf-am,
897 and install-pdf-recursive targets.
898 * doc/Makefile.am: Define pdf__strip_dir. Add
899 install-pdf and install-pdf-am targets.
900 * po/Make-in: Add install-pdf target.
901 * configure: Regenerate.
902 * Makefile.in: Regenerate.
903 * doc/Makefile.in: Regenerate.
905 2009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com>
907 * config/m68k-parse.h (enum pic_relocation): Add values for TLS
909 * config/m68k-parse.y (yylex): Parse TLS relocations.
910 * config/tc-m68k.c (m68k_elf_cons): New static function.
911 (md_pseudo_table): Use it.
912 (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
914 (md_apply_fix): Fix to set thread local flag.
915 (m68k_elf_suffix): New static function; helper for m68k_elf_cons.
917 2009-02-03 Vince Weaver <vince@csl.cornell.edu>
920 * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of
921 indexed addressing for symbolic expressions.
923 2009-01-29 Mark Mitchell <mark@codesourcery.com>
925 * config/tc-arm.c (BAD_SP): Define.
926 (s_arm_unwind_fnstart): Use REG_SP.
927 (s_arm_unwind_setfp): Likewise.
928 (reject_bad_reg): New macro.
929 (do_co_reg): Check for bad registers.
930 (do_co_reg2c): Likewise.
931 (do_srs): Use REG_SP.
932 (do_t_add_sub): Check for bad registers.
933 (do_t_adr): Likewise.
934 (do_t_arit3): Likewise.
935 (do_t_arit3c): Likewise.
936 (do_t_bfc): Likewise.
937 (do_t_bfi): Likewise.
938 (do_t_bfx): Likewise.
939 (do_t_blx): Likewise.
941 (do_t_bxj): Likewise.
942 (do_t_clz): Likewise.
943 (do_t_div): Likewise.
944 (do_t_mla): Likewise.
945 (do_t_mlal): Likewise.
946 (do_t_mov_cmp): Likewise.
947 (do_t_mov16): Likewise.
948 (do_t_mvn_tst): Likewise.
949 (do_t_mrs): Likewise.
950 (do_t_msr): Likewise.
951 (do_t_mul): Likewise.
952 (do_t_mull): Likewise.
953 (do_t_orn): Likewise.
954 (do_t_pkhbt): Likewise.
955 (do_t_pld): Likewise.
956 (do_t_rbit): Likewise.
957 (do_t_rev): Likewise.
958 (do_t_rrx): Likewise.
959 (do_t_rsb): Likewise.
960 (do_t_shift): Likewise.
961 (do_t_simd): Likewise.
962 (do_t_ssat): Likewise.
963 (do_t_ssat16): Likewise.
964 (do_t_sxtah): Likewise.
965 (do_t_sxth): Likewise.
967 (do_t_usat): Likewise.
968 (do_t_usat16): Likewise.
969 (nysn_insert_sp): Use REG_SP.
971 2009-01-29 Mark Mitchell <mark@codesourcery.com>
973 * config/tc-arm.c (do_t_orn): New function.
974 (do_t_rrx): Likewise.
975 (insns): Add orn and rrx.
977 2009-01-29 Mark Mitchell <mark@codesourcery.com>
979 * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
980 uasx, uhasx, uhsx, uqasx, uqsax, usax.
982 2009-01-29 Mark Mitchell <mark@codesourcery.com>
984 * config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub,
985 qdsub in Thumb-2 mode.
987 2009-01-29 Paul Brook <paul@codesourcery.com>
988 Mark Mitchell <mark@codesourcery.com>
990 * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding
991 of MUL when possible.
993 2009-01-29 Nick Clifton <nickc@redhat.com>
995 * config/tc-mep.h (DIFF_EXPR_OK): Do not define.
997 2009-01-29 Nathan Sidwell <nathan@codesourcery.com>
998 Catherine Moore <clm@codesourcery.com?
1000 * doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte,
1001 .4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32
1004 2009-01-27 Nick Clifton <nickc@redhat.com>
1006 * config/tc-mips.c (append_insn): Cope with a complex reloc
1007 sequence containing an unsupported reloc type.
1008 (enum options): Replace computed #define's constants for option
1009 numbers with this enum.
1010 (struct md_longopts): Use the enum. Allow OPTION_32 in a non-ELF
1012 (md_parse_option): Allow -32 in a non-ELF environment.
1014 2009-01-26 Andrew Stubbs <ams@codesourcery.com>
1016 * config/tc-arm.c (attributes_set_explicitly): New array.
1017 (s_arm_eabi_attribute): Check return value from s_vendor_attribute.
1018 (cpu_arch): Add ARM_ARCH_V5T.
1019 (aeabi_set_attribute_int): New function.
1020 (aeabi_set_attribute_string): New function.
1021 (aeabi_set_public_attributes): Set attributes according to the user's
1022 intentions, rather than the actual state of the binary.
1023 Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of
1024 bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string.
1025 Support WMMXv2. Use attribute names instead of numbers.
1026 * read.c (s_vendor_attribute): Change return type to int.
1027 Return the tag number that was set.
1028 * read.h (s_vendor_attribute): Change return type to int.
1030 2009-01-26 Eric B. Weddington <eric.weddington@atmel.com>
1033 * config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name.
1034 * doc/c-avr.texi: Likewise.
1036 2009-01-23 Nathan Sidwell <nathan@codesourcery.com>
1038 * doc/c-arm.texi (): Document -mwarn-deprecated.
1039 * config/tc-arm.c (WARN_DEPRECATED): Remove. Replace with ...
1040 (warn_on_deprecated): ... this.
1041 (opcode_lookup, md_assemble): Check it before warning.
1042 (arm_opts): Add m[no-]warn-deprecated.
1043 (md_parse_option): Replace WARN_DEPRECATED with
1046 2009-01-23 Andreas Schwab <schwab@suse.de>
1048 * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
1049 arguments to macro_build to match format.
1051 * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.
1052 * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define.
1054 2009-01-19 Nick Clifton <nickc@redhat.com>
1056 * config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for
1057 ELF format ARM targets.
1058 * config/tc-arm.c (arm_convert_symbolic_attribute): Likewise.
1060 2009-01-19 Nick Clifton <nickc@redhat.com>
1062 * configure.tgt: Restore alpha sorting to object format switch
1065 2009-01-19 Andrew Stubbs <ams@codesourcery.com>
1067 * read.c (s_vendor_attribute): Allow for unknown flag bits in type.
1069 2009-01-16 Mark Shinwell <shinwell@codesourcery.com>
1071 * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5.
1072 * config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.
1074 2009-01-16 Andrew Stubbs <ams@codesourcery.com>
1075 Daniel Jacobowitz <dan@codesourcery.com>
1077 * config/tc-arm.c (arm_copy_symbol_attributes): New function.
1078 * config/tc-arm.h (arm_copy_symbol_attributes): New prototype.
1079 (CONVERT_SYMBOLIC_ATTRIBUTE): New define.
1080 * read.c (s_vendor_attribute): Add support for symbolic tag names.
1081 Improve string parser.
1082 * doc/c-arm.texi (ARM Machine Directives): Document
1083 .eabi_attribute symbolic tag names.
1085 2009-01-16 Alan Modra <amodra@bigpond.net.au>
1087 * configure.in (commonbfdlib): Delete.
1088 * configure: Regenerate.
1089 * po/POTFILES.in: Regenerate.
1091 2009-01-15 Andrew Stubbs <ams@codesourcery.com>
1092 Julian Brown <julian@codesourcery.com>
1094 * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11.
1096 2009-01-15 Andrew Stubbs <ams@codesourcery.com>
1098 * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat ->
1099 bfd_elf_add_obj_attr_int_string.
1101 2009-01-15 Douglas B Rupp <rupp@gnat.com>
1103 * configure.tgt(ia64-*-*vms*): New target.
1104 * dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
1105 * tc.h (md_number_to_chars): Declare iff undefined.
1106 * config/obj-elf.c (obj_elf_change_section): Change type of arg
1108 (obj_elf_parse_section_letters): Return a bfd_vma. Change type of
1109 variables attr, md_attr to bfd_vma.
1110 (obj_elf_section_word): Likewise.
1111 (obj_elf_section): Change type of variable attr to bfd_vma
1112 * config/obj-elf.h (obj_elf_change_section): Change type of arg
1114 * config/tc-ia64.c (bfdver.h,time.h): Include.
1115 (ia64_elf_section_letter): Now returns a bfd_vma.
1116 Handle VMS specific attributes.
1117 (ia64_elf_section_flags): Arg attr now a bfd_vma.
1118 (ia64_init): Don't turn on dependency checking for VMS.
1119 (ia64_target_format): Check for VMS flag bit.
1120 (do_alias): Hande decc$ functions.
1121 (get_vms_time): New function.
1122 (ia64_vms_note): New function.
1123 * config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
1124 (ia64_elf_section_flags): Arg attr now a bfd_vma.
1125 (tc_init_after_args): Define for VMS.
1126 * config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
1127 (alpha_elf_section_flags): Change type of arg attr to bfd_vma.
1128 * config/tc-alpha.h: Likewise.
1129 * config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
1130 (x86_64_section_word): Return a bfd_vma.
1131 * config/tc-i386.h: Likewise.
1132 * config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
1134 * config/tc-ip2k.h: Likewise.
1135 * config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
1136 (mep_elf_section_flags): Change type of arg attr to bfd_vma.
1137 * config/tc-mep.h: Likewise.
1138 * config/tc-ppc.c (ppc_section_letter): Return a bfd_vma.
1139 (ppc_section_word): Return a bfd_vma.
1140 (ppc_section_flags): Change type of arg attr to bfd_vma.
1141 * config/tc-ppc.h: Likewise.
1142 * config/tc-frv.h: Provide a prototype for frv_md_number_to_chars.
1143 * config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
1144 DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
1145 New file with new macros
1146 * dwarf2dbg.c (get_filenum, out_file_list): Default and call new
1149 2009-01-15 Nick Clifton <nickc@redhat.com>
1152 * config/tc-arm.c (do_t_nop): Check for availability of Thumb2
1153 instructions before generating a Thumb2 nop.
1155 2009-01-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1157 * config/tc-s390.h: Define LOCAL_LABEL_PREFIX.
1159 2009-01-12 Alan Modra <amodra@bigpond.net.au>
1161 * config/tc-spu.c (md_pseudo_table): Add "brinfo".
1163 (md_assemble): Poke brinfo into branch instructions.
1164 (spu_brinfo): New function.
1165 (md_apply_fix): Don't assume insn fields start off at zero, mask
1166 them to remove possible brinfo.
1168 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
1170 * doc/c-i386.texi: Reformat.
1172 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
1174 * config/tc-i386.c (cpu_arch): Add corei7, .clflush and
1176 (i386_align_code): Handle PROCESSOR_COREI7.
1177 (md_show_usage): Add corei7, clflush and syscall.
1178 (i386_target_format): Replace cpup4 with cpuclflush.
1180 * config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
1182 * doc/c-i386.texi: Document corei7, clflush and syscall.
1184 2009-01-09 H.J. Lu <hongjiu.lu@intel.com>
1186 * config/tc-i386.c (cpu_arch): Add .rdtscp.
1187 (md_show_usage): Display rdtscp.
1189 * doc/c-i386.texi: Document rdtscp.
1191 2009-01-09 Peter Bergner <bergner@vnet.ibm.com>
1193 * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
1194 Test the new "deprecated" opcode field.
1196 2009-01-07 Sterling Augustine <sterling@tensilica.com>
1198 * config/tc-xtensa.c (produce_flix): New.
1199 (option_flix, optoin_no_generate_flix, option_no_flix) Define.
1200 (md_longopts): Add support for them.
1201 (md_parse_option): Likewise.
1202 (md_show_usage): Add help message.
1203 (finish_vinsn): Don't allow multi-slot flix when produce_flix
1204 option is set to FLIX_NONE.
1205 * config/xtensa-relax.c (transition_applies): Only relax to
1206 flix branches when produce_flix equals FLIX_ALL.
1207 * config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE
1209 (produce_flix): Declare.
1211 2009-01-06 Chao-ying Fu <fu@mips.com>
1213 * config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff.
1214 Use strncmp to match jalr and jalr.hb.
1217 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
1219 AVX Programming Reference (December, 2008)
1220 * config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction
1221 support. Don't swap REG and NDS for FMA.
1223 2009-01-02 Matthias Klose <doko@ubuntu.com>
1225 * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
1228 For older changes see ChangeLog-2008
1234 version-control: never