1 2009-08-11 Mike Frysinger <vapier@gentoo.org>
3 * config/bfin-parse.y (binary): Change "compiler" to "assembler".
6 2009-08-11 Nick Clifton <nickc@redhat.com>
9 * config/tc-arm.c (do_t_mov_cmp): Do not silently ignore shifted
12 2009-08-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14 Fix compilation of i386-*-go32.
15 * config/tc-i386.c (i386_target_format <TE_GO32>): New.
16 (i386_target_format <OBJ_MAYBE_COFF>): Compile only if !TE_GO32.
17 * config/te-go32.h (TARGET_FORMAT): Move the definition ...
18 * config/tc-i386.h <!i386_target_format>: ... here.
20 2009-08-10 Daniel Gutson <dgutson@codesourcery.com>
23 * config/tc-arm.c (do_t_add_sub_w): Fixed constraints.
25 2009-08-07 Daniel Jacobowitz <dan@codesourcery.com>
27 * config/tc-arm.c (marked_pr_dependency, mapstate): Delete global
29 (mapping_state): Use the section's mapstate.
30 (mapping_state_2): Likewise. Skip special sections.
31 (s_arm_unwind_fnend): Use the section's marked_pr_dependency.
32 (arm_elf_change_section): Do not set deleted globals.
33 * config/tc-arm.h (struct arm_segment_info_type): Document
36 2009-08-07 Michael Eager <eager@eagercon.com>
38 * NEWS: Mention MicroBlaze support.
40 2009-08-06 Michael Eager <eager@eagercon.com>
42 * Makefile.am: add microblaze to CPU_TYPES, config/tc-microblaze.c to
43 TARGET_CPU_CFILES, config/tc-microblaze.h to TARGET_CPU_HFILES, add
44 DEP_microblaze_elf target.
45 * Makefile.in: Regenerate.
46 * config/tc-microblaze.c: Add MicroBlaze assembler.
47 * config/tc-microblaze.h: Add header for tc-microblaze.c.
48 * configure.in: Add microblaze target.
49 * configure: Regenerate.
50 * configure.tgt: Same.
51 * doc/Makefile.am: Add c-microblaze.texi to CPU_DOCS.
52 * doc/Makefile.in: Same.
53 * doc/all.texi: Set MICROBLAZE.
54 * doc/as.texinfo: Add MicroBlaze doc links.
55 * doc/c-microblaze.texi: New MicroBlaze docs.
57 2009-08-06 Nick Clifton <nickc@redhat.com>
59 * config/tc-arm.c (md_assemble): Call mapping_state from inside a
60 block in case it is a null macro.
62 2009-08-05 Chao-ying Fu <fu@mips.com>
64 * config/tc-mips.c (MIPS_JALR_HINT_P): New define. For IRIX, it is
65 true for new abi. For non-IRIX targets, it is always true.
66 (macro_build_jalr): If MIPS_JALR_HINT_P, emit BFD_RELOC_MIPS_JALR.
68 2009-08-05 Eric B. Weddington <eric.weddington@atmel.com>
70 * config/tc-avr.c (mcu_types): Add attiny2313a, attiny4313, attiny261a,
71 attiny861a, atmega644pa, attiny24a, attiny44a.
72 * doc/c-avr.texi: Likewise.
74 2009-08-04 Sandra Loosemore <sandra@codesourcery.com>
76 * doc/c-mips.texi (MIPS Opts): List 1004K options for -march.
77 * config/tc-mips.c (mips_cpu_info_table): Add 1004K cores.
79 2009-08-04 Nathan Sidwell <nathan@codesourcery.com>
81 * config/tc-arm.c (my_get_expression): Detect missing expressions.
83 2009-08-02 Eric B. Weddington <eric.weddington@atmel.com>
85 * config/tc-avr.c (mcu_types): Add atmega8m1, atmega8c1, atmega16c1.
86 * doc/c-avr.texi: Likewise.
88 2009-08-01 Eric B. Weddington <eric.weddington@atmel.com>
90 * config/tc-avr.c (mcu_types): Add atmega8u2, atmega16u2, atmega32u2.
91 * doc/c-avr.texi: Likewise.
93 2009-07-31 Daniel Gutson <dgutson@codesourcery.com>
94 Daniel Jacobowitz <dan@codesourcery.com>
96 * config/obj-elf.c (obj_elf_ident): Notify section change to the hook.
97 * config/tc-arm.c (make_mapping_symbol): New function, from
98 mapping_state. Save mapping symbols in the frag.
99 (insert_data_mapping_symbol): New.
100 (mapping_state): Use make_mapping_symbol, improve state transitions.
101 (mapping_state_2): New. Provide dummy definition.
102 (opcode_select): Do not call mapping_state.
103 (s_bss): Call md_elf_section_change_hook instead of mapping_state.
104 (output_inst): Update use of tc_frag_data.
105 (new_automatic_it_block): Call mapping_state before emitting the
107 (md_assemble): Move mapping_state to just before outputting the
109 (arm_handle_align): Update use of tc_frag_data.
110 Call insert_data_mapping_symbol.
111 (arm_init_frag): Update use of tc_frag_data. Call
113 (arm_elf_change_section): Always update the mapping symbol FSM state.
114 (check_mapping_symbols): New function.
115 (arm_adjust_symtab): Use check_mapping_symbols.
116 * config/tc-arm.h (struct arm_frag_type): New.
117 (TC_FRAG_TYPE): Change to struct arm_frag_type.
118 (TC_FRAG_INIT): Pass max_chars.
119 (arm_init_frag): Update prototype.
121 2009-07-31 Anthony Green <green@moxielogic.com>
123 * configure.tgt (generic_target): Add moxie-uclinux support.
125 2009-07-30 Nick Clifton <nickc@redhat.com>
127 * doc/c-arm.texi (ARM-Instruction-Set): New node. Documents the
128 different syntaxes support by the ARM port.
129 (ARM Directives): Add entry for .syntax.
131 * doc/c-mips.texi (MIPS insn): Fix typo.
133 2009-07-29 Alan Modra <amodra@bigpond.net.au>
136 * symbols.c (S_FORCE_RELOC): True for BSF_GNU_INDIRECT_FUNCTION.
137 * config/tc-i386.c: Revert 2009-06-13 change.
138 * config/tc-i386.h: Likewise.
140 2009-07-28 Jan Beulich <jbeulich@novell.com>
142 * expr.c (op_rank): Specify size. Remove O_md* initializers.
144 2009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
146 * config/tc-m68k.c (mcf5221x_ctrl): New.
147 (m68k_cpu): Add line for MCF5221x.
149 2009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
151 * config/tc-m68k.c (mcf52235_ctrl): Remove non-existent CACR, ACR[01].
152 (mcf53017_ctrl): Fix RAMBAR.
154 2009-07-27 Jan Beulich <jbeulich@novell.com>
156 * obj-elf.c (elf_file_symbol): Replace symbol name set up by
157 symbol_new() with the passed in, unmodified one.
159 2009-07-27 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
161 * config/tc-cr16.c (md_apply_fix): Put the addend value alone in to
162 object file without symbol values.
163 (tc_gen_reloc): For local symbols resolved or its absolute symbol,
164 then set the relocation type as NULL.
166 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
168 * config/tc-i386.c (cpu_arch): Add l1om.
169 (check_cpu_arch_compatible): New.
170 (set_cpu_arch): Use it.
172 (i386_mach): Return bfd_mach_l1om for Intel L1OM.
173 (md_show_usage): Display l1om.
174 (i386_target_format): Return ELF_TARGET_L1OM_FORMAT if
175 cpu_arch_isa_flags.bitfield.cpul1om is set.
177 * config/tc-i386.h (TARGET_ARCH): Use (i386_arch ()).
179 (ELF_TARGET_L1OM_FORMAT): Likewise.
181 * doc/c-i386.texi: Document l1om.
183 2009-07-24 Roland McGrath <roland@redhat.com>
184 Mark Wielaard <mjw@redhat.com>
186 * config/obj-elf.c (obj_elf_ident): Set SEC_MERGE | SEC_STRINGS
187 flags on .comment section.
189 2009-07-24 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
190 Alan Modra <amodra@bigpond.net.au>
192 * config/tc-spu.c (md_apply_fix): Handle SPU_ADD_PIC.
193 * config/tc-spu.h (tc_fix_adjustable): Don't adjust for SPU_ADD_PIC.
194 (TC_FORCE_RELOCATION): Emit relocs for SPU_ADD_PIC.
196 2009-07-24 Jan Beulich <jbeulich@novell.com>
198 * tc-i386.c (cpu_arch): Add .8087, .287, .387, .no87, .nommx,
200 (cpu_flags_and_not): New.
201 (set_cpu_arch): Check whether sub-architecture specified is a
203 (md_parse_option): Likewise.
204 (parse_real_register): Don't return floating point register
205 when x87 functionality is disabled.
206 (md_show_usage): Add new sub-options.
207 * doc/c-i386.texi: Update with new command line sub-options.
209 2009-07-24 Nick Clifton <nickc@redhat.com>
212 * config/tc-alpha.c: Fix up uses of gas printf like functions so
213 that the format string is a constant string. Add translation
214 support to message strings.
215 * config/tc-arc.c: Likewise.
216 * config/tc-arm.c: Likewise.
217 * config/tc-cris.c: Likewise.
218 * config/tc-fr30.c: Likewise.
219 * config/tc-frv.c: Likewise.
220 * config/tc-h8300.c: Likewise.
221 * config/tc-hppa.c: Likewise.
222 * config/tc-i370.c: Likewise.
223 * config/tc-i960.c: Likewise.
224 * config/tc-ia64.c: Likewise.
225 * config/tc-m32r.c: Likewise.
226 * config/tc-mep.c: Likewise.
227 * config/tc-mips.c: Likewise.
228 * config/tc-moxie.c: Likewise.
229 * config/tc-msp430.c: Likewise.
230 * config/tc-openrisc.c: Likewise.
231 * config/tc-pdp11.c: Likewise.
232 * config/tc-pj.c: Likewise.
233 * config/tc-s390.c: Likewise.
234 * config/tc-sh.c: Likewise.
235 * config/tc-sh64.c: Likewise.
236 * config/tc-sparc.c: Likewise.
237 * config/tc-spu.c: Likewise.
238 * config/tc-tic30.c: Likewise.
239 * config/tc-tic4x.c: Likewise.
240 * config/tc-tic54x.c: Likewise.
241 * config/tc-v850.c: Likewise.
242 * config/tc-xc16x.c: Likewise.
243 * config/tc-xstormy16.c: Likewise.
244 * config/tc-z80.c: Likewise.
245 * config/tc-z8k.c: Likewise.
246 * config/atof-ieee.c: Add translation support to as_warn
248 * config/obj-coff.c: Likewise.
250 2009-07-23 Ulrich Drepper <drepper@redhat.com>
252 * config/obj-elf.c (obj_elf_type): Add code to support a type of
254 * doc/as.texinfo: Document new feature of .type directive.
255 * NEWS: Mention support for gnu_unique_object symbol type.
257 2009-07-23 Nick Clifton <nickc@redhat.com>
260 * doc/c-mips.texi (MIPS insn): Document the special behaviour of
261 the .global directive for MIPS ports.
263 2009-07-21 H.J. Lu <hongjiu.lu@intel.com>
266 * config/tc-i386.c (i386_align_code): Tune for 32bit nops in
268 (i386_target_format): Set cpu_arch_isa_flags.bitfield.cpulm
271 2009-07-17 H.J. Lu <hongjiu.lu@intel.com>
273 * config/tc-i386.c (md_assemble): Update operand types.
274 (update_imm): Updated.
275 (finalize_imm): Update the first 2 immediate operands only
276 for instructions with 2 operands or more.
278 2009-07-17 H.J. Lu <hongjiu.lu@intel.com>
280 * config/tc-i386.c (md_assemble): Check implicit registers
281 only for instructions with 3 operands or less.
283 2009-07-17 Nick Clifton <nickc@redhat.com>
285 * config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid
286 compile time warning.
288 2009-07-16 H.J. Lu <hongjiu.lu@intel.com>
290 * config/tc-i386.c (md_assemble): Only check i.operands for AX.
291 (md_estimate_size_before_relax): Don't relax IFUNC symbols.
293 2009-07-16 Nathan Sidwell <nathan@codesourcery.com>
295 * config/tc-arm.c (md_apply_fix <BFD_RELOC_ARM_TARGET2>): Write
296 the offset for REL targets here.
298 2009-07-15 Kai Tietz <kai.tietz@onevision.com>
300 * listing.c (print_source): Initialize cache by NULL.
302 2009-07-15 Daniel Gutson <dgutson@codesourcery.com>
304 * doc/c-arm.texi (mauto-it): Removed old option.
305 (mimplicit-it): Added right option.
307 2009-07-14 Daniel Gutson <dgutson@codesourcery.com>
309 * config/tc-arm.h (MAX_MEM_ALIGNMENT_BYTES): Define.
310 (MAX_MEM_FOR_RS_ALIGN_CODE): Define in terms of
311 MAX_MEM_ALIGNMENT_BYTES.
312 * config/tc-arm.c (arm_frag_align_code): Replace hard coded
313 constant with MAX_MEM_FOR_RS_ALIGN_CODE.
315 2009-07-14 Nick Clifton <nickc@redhat.com>
318 * config/tc-arm.h (THUMB_IS_FUNC): Handle a NULL pointer.
319 (ARM_IS_FUNC): Likewise.
321 2009-07-14 Daniel Gutson <dgutson@codesourcery.com>
323 * config/tc-arm.c (md_assemble): Added validation.
325 2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
327 * Makefile.am: Run "make dep-am".
328 * Makefile.in: Regenerated.
330 2009-07-10 Tom Tromey <tromey@redhat.com>
332 * Makefile.am (DEPTC_alpha_ecoff): Refer to dwarf2.h, not
334 (DEPTC_alpha_elf): Likewise.
335 (DEPTC_alpha_evax): Likewise.
336 (DEPTC_arm_elf): Likewise.
337 (DEPTC_hppa_elf): Likewise.
338 (DEPTC_i386_aout): Likewise.
339 (DEPTC_i386_coff): Likewise.
340 (DEPTC_i386_elf): Likewise.
341 (DEPTC_m68k_aout): Likewise.
342 (DEPTC_m68k_coff): Likewise.
343 (DEPTC_m68k_elf): Likewise.
344 (DEPTC_mips_coff): Likewise.
345 (DEPTC_mips_ecoff): Likewise.
346 (DEPTC_mips_elf): Likewise.
347 (DEPTC_ppc_coff): Likewise.
348 (DEPTC_ppc_elf): Likewise.
349 (DEPTC_s390_elf): Likewise.
350 (DEPTC_sh_coff): Likewise.
351 (DEPTC_sh_elf): Likewise.
352 (DEPTC_sh64_elf): Likewise.
353 (DEPTC_sparc_aout): Likewise.
354 (DEPTC_sparc_coff): Likewise.
355 (DEPTC_sparc_elf): Likewise.
357 (dwarf2dbg.o): Likewise.
358 (dw2gencfi.o): Likewise.
361 * Makefile.in: Rebuild.
362 * dw2gencfi.h: Include dwarf2.h, not elf/dwarf2.h.
363 * dwarf2dbg.c: Likewise.
366 2009-07-09 Daniel Gutson <dgutson@codesourcery.com>
368 * config/tc-arm.c (it_fsm_post_encode): New forward declaration.
369 (set_it_insn_type_nonvoid): New macro.
370 (emit_thumb32_expr): New function.
371 (thumb_insn_size): New function.
372 (emit_insn): New function.
373 (s_arm_elf_inst): New function.
374 (md_pseudo_table): New pseudo-opcode entries added.
375 * doc/c-arm.texi: New directive added.
377 2009-07-07 DJ Delorie <dj@redhat.com>
379 * config/tc-mep.c (md_begin): Don't reset the coprocessor options
380 when enabling other options without a specific configuration.
382 2009-07-07 Chung-Lin Tang <cltang@pllab.cs.nthu.edu.tw>
384 * config/tc-arm.c (insns): Fix encoding for torvsc.
386 2009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
388 * config/tc-i386.c (cpu_arch): Add .fma4 and CPU_FMA4_FLAGS.
389 (build_modrm_byte): Add support to handle FMA4 instructions.
390 (md_show_usage): Add fma4.
392 2009-07-04 Alan Modra <amodra@bigpond.net.au>
394 * config/tc-cr16.h (TC_LINKRELAX_FIXUP): Set only for code sections.
396 2009-07-02 Tristan Gingold <gingold@adacore.com>
398 * Makefile.am (OBJ_FORMATS): Add macho.
399 (CPU_OBJ_VALID): Ditto.
400 (OBJ_FORMAT_CFILES): Add config/obj-macho.c
401 (OBJ_FORMAT_HFILES): Add config/obj-macho.h
402 (obj-macho.o): New rule.
403 * Makefile.in: Regenerated.
404 * configure.tgt (generic_target): Add i386-*-darwin*.
405 * config/tc-i386.h: Use i386_target_format for Mach-O.
406 * config/tc-i386.c (i386_target_format): Define it for Mach-O.
407 (i386_target_format): Add a case for bfd_target_mach_o_flavour.
408 * config/obj-macho.h: New file.
409 * config/obj-macho.c: New file.
411 2009-07-01 Nick Clifton <nickc@redhat.com>
414 * config/tc-arm.c (do_t_pkhtb): Swap Rm and Rn when encoding as
417 2009-07-01 Paul Brook <paul@codesourcery.com>
419 * config/tc-arm.c (MISSING_FNSTART): Define.
420 (s_arm_unwind_fnstart): Diagnose duplicate directive.
421 (s_arm_unwind_handlerdata, s_arm_unwind_fnend, s_arm_unwind_fnend,
422 s_arm_unwind_cantunwind, s_arm_unwind_personalityindex,
423 s_arm_unwind_personality, s_arm_unwind_save, s_arm_unwind_movsp,
424 s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): Error if
425 not inside function unwinding region.
427 2009-06-29 H.J. Lu <hongjiu.lu@intel.com>
429 * config/tc-i386.c: Reformat.
431 2009-06-23 DJ Delorie <dj@redhat.com>
433 * config/tc-mep.c (mep_check_ivc2_scheduling): For IVC2, allocate
434 32 bits for relaxable branches so that we can relax them later.
435 (md_estimate_size_before_relax): Assume IVC2 branches will be relaxed.
436 (mep_relax_frag): New.
437 (md_convert_frag): Relax IVC2 branches in-place.
438 * config/tc-mep.h ((mep_relax_frag): New.
440 2009-06-22 Martin Thuresson <martin@mtme.org>
442 * gas/app, gas/as.c, gas/as.h, gas/atof-generic.c, gas/cgen.c,
443 gas/config/atof-ieee.c, gas/config/obj-aout.c,
444 gas/config/obj-coff.c, gas/config/obj-ecoff.c,
445 gas/config/obj-elf.c, gas/config/obj-som.c, gas/config/tc-alpha.c,
446 gas/config/tc-arc.c, gas/config/tc-arm.c, gas/config/tc-cr16.c,
447 gas/config/tc-cris.c, gas/config/tc-crx.c, gas/config/tc-d30v.c,
448 gas/config/tc-dlx.c, gas/config/tc-hppa.c, gas/config/tc-i370.c,
449 gas/config/tc-i386-intel.c, gas/config/tc-i386.c,
450 gas/config/tc-i860.c, gas/config/tc-i960.c, gas/config/tc-ia64.c,
451 gas/config/tc-iq2000.c, gas/config/tc-m32c.c,
452 gas/config/tc-m32r.c, gas/config/tc-m68hc11.c,
453 gas/config/tc-m68k.c, gas/config/tc-maxq.c, gas/config/tc-mcore.c,
454 gas/config/tc-mep.c, gas/config/tc-mips.c, gas/config/tc-mmix.c,
455 gas/config/tc-mn10300.c, gas/config/tc-moxie.c,
456 gas/config/tc-ns32k.c, gas/config/tc-pj.c, gas/config/tc-ppc.c,
457 gas/config/tc-s390.c, gas/config/tc-score.c,
458 gas/config/tc-score7.c, gas/config/tc-sh.c, gas/config/tc-sparc.c,
459 gas/config/tc-spu.c, gas/config/tc-tic30.c, gas/config/tc-vax.c,
460 gas/config/tc-xtensa.c, gas/config/xtensa-relax.c,
461 gas/dw2gencfi.c, gas/dwarf2dbg.c, gas/ehopt.c, gas/expr.c,
462 gas/frags.c, gas/input-file.c, gas/read.c, gas/sb.c,
463 gas/subsegs.c, gas/symbols.c, gas/write.c: Change the name of the
464 gas macro `assert' to `gas_assert'.
466 2009-06-22 Daniel Gutson <dgutson@codesourcery.com>
468 * config/tc-arm.c (implicit_it_mode): New enum.
469 (implicit_it_mode): New global.
470 (it_instruction_type): New enum.
471 (arm_parse_it_mode): New function.
472 (arm_long_opts): New option added.
474 (it_state): New enum.
476 (check_it_blocks_finished): New function.
477 (insns[]): Use the IT Thumb opcodes for ARM too.
478 (arm_cleanup): Call check_it_blocks_finished.
479 (now_it_compatible): New function.
480 (conditional_insn): New function.
481 (set_it_insn_type): New macro.
482 (set_it_insn_type_last): New macro.
483 (do_it): Call automatic IT machinery functions.
484 (do_t_add_sub): Likewise
485 (do_t_arit3): Likewise.
486 (do_t_arit3c): Likewise.
487 (do_t_blx): Likewise.
488 (do_t_branch): Likewise.
489 (do_t_bkpt): Likewise.
490 (do_t_branch23): Likewise.
492 (do_t_bxj): Likewise.
493 (do_t_cps): Likewise.
494 (do_t_cpsi): Likewise.
495 (do_t_cbz): Likewise.
497 (encode_thumb2_ldmstm): Likewise.
498 (do_t_ldst): Likewise.
499 (do_t_mov_cmp): Likewise.
500 (do_t_mvn_tst): Likewise.
501 (do_t_mul): Likewise.
502 (do_t_neg): Likewise.
503 (do_t_setend): Likewise.
504 (do_t_shift): Likewise.
506 (output_it_inst): New function.
507 (new_automatic_it_block): New function.
508 (close_automatic_it_block): New function.
509 (now_it_add_mask): New function.
510 (it_fsm_pre_encode): New function.
511 (handle_it_state): New function.
512 (it_fsm_post_encode): New function.
513 (force_automatic_it_block_close): New function.
514 (in_it_block): New function.
515 (md_assemble): Call automatic IT block machinery functions.
516 (arm_frob_label): Likewise.
517 (arm_opts): New element.
518 * config/tc-arm.h (it_state): New enum.
519 (current_it): New struct.
520 (arm_segment_info_type): New member added.
521 * doc/c-arm.texi: New option -mimplicit-it documented.
523 2009-06-20 Alan Modra <amodra@bigpond.net.au>
526 * doc/as.texinfo (Section <ELF "M,S" flag>): Clarify tail merge.
528 2009-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
530 * config/tc-s390.c (md_gather_operands): Accept an instruction
531 without operands if all operands are tagged as optional.
533 2009-06-18 Nick Clifton <nickc@redhat.com>
536 * gas/tc-arm.c (do_t_ssat): Move common code from here...
537 (do_t_usat): ... and here to...
538 (do_t_ssat_usat): New function: ... here. Add code to check that
539 the shift value, if present, is in range.
541 2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
543 Merge cegcc and mingw32ce target name changes
546 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
548 * configure.tgt: Add arm*-*-cegcc* target.
550 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt>
552 * configure.tgt: Add arm-*-mingw32ce* target.
554 2009-06-16 Maciej W. Rozycki <macro@linux-mips.org>
556 * config/tc-vax.c (md_estimate_size_before_relax): Accept
557 indirect symbol references in the PIC mode and emit a
558 PC-relative relocation instead of a GOT/PLT one. Likewise
559 for symbols known to be hidden at this point.
561 2009-06-15 Nick Clifton <nickc@redhat.com>
564 * config/tc-arm.c (T16_32_TAB): Fix binary value of SEV.W
567 2009-06-13 H.J. Lu <hongjiu.lu@intel.com>
570 * config/tc-i386.c (md_apply_fix): Use TC_FORCE_RELOCATION
571 instead of generic_force_reloc.
573 * config/tc-i386.h (TC_FORCE_RELOCATION): New.
575 2009-06-11 Anthony Green <green@moxielogic.com>
577 * config/tc-moxie.c (md_chars_to_number): Define.
578 (md_begin): Populate opcode hashtable with more form 3 opcodes.
579 (md_assemble): Assemble MOXIE_F3_PCREL encoded instructions.
580 (md_apply_fix): Handle BFD_RELOC_MOXIE_10_PCREL relocations.
581 (tc_gen_reloc): Ditto.
582 (md_pcrel_from): Ditto.
583 (md_chars_to_number): New function.
585 2009-06-10 Anthony Green <green@moxielogic.com>
587 * config/tc-moxie.c (md_assemble): Handle MOXIE_F1_M encoded
590 2009-06-09 Jakub Jelinek <jakub@redhat.com>
593 * dw2gencfi.c (output_cfi_insn): Initialize fragment before rs_cfa
594 to DW_CFA_advance_loc4.
596 2009-06-08 Dave Korn <dave.korn.cygwin@gmail.com>
599 * config/tc-i386.c (md_estimate_size_before_relax): Don't relax
600 branches to weak symbols.
601 (md_apply_fix): Don't convert fixes against weak symbols to
602 section-relative offsets, but save addend for later reloc emission.
603 (tc_gen_reloc): When emitting reloc against weak symbol, adjust
604 addend to pre-compensate for bfd_install_relocation.
606 2009-06-04 Alan Modra <amodra@bigpond.net.au>
608 * dep-in.sed: Don't use \n in replacement part of s command.
609 * Makefile.am (DEP1, DEPTC, DEPOBJ, DEP2): LC_ALL for uniq.
610 * Makefile.in: Regenerate.
612 2009-06-01 H.J. Lu <hongjiu.lu@intel.com>
615 * config/tc-i386-intel.c (i386_intel_operand): Check '$' as '.'.
617 2009-05-26 Catherine Moore <clm@codesourcery.com>
619 * config/tc-mips.c (check_for_24k_errata): Remove.
620 (md_mips_end): Remove call to check_for_24k_errata.
621 (start_noreorder): Likewise.
622 (s_change_sec): Likewise.
623 (s_change_section): Likewise.
624 (insns_between): Add 24k errata checks.
625 (append_insn): Remove declaration and references to nhdx_24k.
626 Remove calls to check_for_24k_errata.
628 2009-05-26 Nick Clifton <nickc@redhat.com>
630 * po/id.po: Updated Indonesian translation.
631 * po/gas.pot: Updated template file.
633 2009-05-26 Nick Clifton <nickc@redhat.com>
636 * config/bfin-parse.y (error): Use "%s" as format string for error
639 2009-05-26 Alan Modra <amodra@bigpond.net.au>
641 * dep-in.sed: Output one filename per line with all lines having
642 continuation backslash. Prefix first line with "A", following
644 * Makefile.am (DEP): Don't use dep.sed here.
645 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
647 (DEPTC, DEPOBJ, DEP2): Use dep.sed on dependencies, sort and uniq.
648 Emit multi dependencies on one line.
649 * Makefile.in: Regenerate.
651 2009-05-25 Tristan Gingold <gingold@adacore.com>
653 * makefile.vms: New file to compile gas on VMS.
655 * configure.com: New file to do configuration on VMS with DCL.
657 2009-05-23 Richard Sandiford <rdsandiford@googlemail.com>
659 * config/tc-mips.c (nops_for_vr4130): Don't check noreorder_p.
660 (nops_for_insn): Likewise.
662 2009-05-22 H.J. Lu <hongjiu.lu@intel.com>
664 * symbols.c (COPIED_SYMFLAGS): Add BSF_GNU_INDIRECT_FUNCTION.
666 2009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
668 * config/tc-i386.c (process_drex): Delete. Remove SSE5 support.
669 (build_modrm_byte): Remove DREX handling support.
672 (md_assemble): Remove DREX handling support.
673 (process_operands): Remove DREX, SSE5 support.
674 (i386_insn): Remove DREX.
676 2009-05-22 Alan Modra <amodra@bigpond.net.au>
678 * Makefile.am: Run "make dep-am".
679 * Makefile.in: Regenerate.
681 2009-05-20 Kai Tietz <kai.tietz@onevision.com>
682 H.J. Lu <hongjiu.lu@intel.com>
684 * config/obj-coff.h: Include "coff/x86_64.h" for x86 pe-coff.
685 (TARGET_FORMAT): Removed for x86 pe-coff.
686 (COFF_TARGET_FORMAT): Likewise.
688 * config/tc-i386.c (md_longopts): Allow --64 for x86 pe-coff.
689 (md_parse_option): Likewise.
690 (md_show_usage): Show option --32/--64 for x86 pe-coff.
691 (i386_target_format): Use also for x86 pe-coff.
693 * config/tc-i386.h (TARGET_FORMAT): Defined as i386_target_format
696 2009-05-19 DJ Delorie <dj@redhat.com>
698 * config/tc-mep.c (mep_machine): Only check CPU flags, not COP flags.
699 (mep_process_saved_insns): Remove debugging printfs.
701 2009-05-19 Dave Korn <dave.korn.cygwin@gmail.com>
703 * NEWS: Mention new feature.
704 * config/obj-coff.c (obj_coff_common_parse): New function.
705 (obj_coff_comm): Likewise.
706 (coff_pseudo_table): Override default ".comm" definition on PE.
707 * doc/as.texinfo: Document new feature.
709 2009-05-17 Kai Tietz <kai.tietz@onevision.com>
711 * config/obj-coff.c (obj_coff_section): Add 'y' as
712 specifier for SEC_COFF_NOREAD section flag.
713 * doc/as.texinfo: Add documentation about .section flag 'y'.
715 2009-05-13 DJ Delorie <dj@redhat.com>
717 * cgen.c (gas_cgen_parse_operand): Guard against NULL pointers.
719 2009-05-13 Andrew Jenner <andrew@codesourcery.com>
721 * config/tc-arm.c: Move as.h to start of file.
723 2009-05-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
725 * config/tc-arm.h: Fix typo in comment.
726 (ARM_IS_FUNC): New macro.
727 (MD_APPLY_SYM_VALUE): Define.
729 * config/tc-arm.c (do_blx): Retain BFD_RELOC_ARM_PCREL_BLX for
730 all versions of EABI.
731 (relax_branch): Do not relax for branches to ARM functions.
732 (md_pcrel_from_section): Set up base correctly for
733 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_THUMB_PCREL_CALL,
734 BFD_RELOC_THUMB_PCREL_BRANCH23, BFD_RELOC_ARM_PCREL_BLX
735 BFD_RELOC_ARM_PCREL_CALL.
736 (md_apply_fix): Flip bl to blx where possible.
737 Flip blx to bl where possible.
738 (arm_force_relocation): Force relocations for
739 BFD_RELOC_ARM_PCREL_JUMP, BFD_RELOC_ARM_PCREL_JUMP,
740 BFD_RELOC_ARM_PCREL_BLX, BFD_RELOC_THUMB_PCREL_BLX,
741 BFD_RELOC_THUMB_PCREL_BRANCH20, BFD_RELOC_THUMB_PCREL_BRANCH23,
742 BFD_RELOC_THUMB_PCREL_BRANCH25.
743 (arm_apply_sym_value): New function.
745 2009-05-04 Tristan Gingold <gingold@adacore.com>
747 * config/tc-alpha.c: Also declare alpha_prologue_label for OBJ_EVAX.
749 2009-05-01 Nathan Sidwell <nathan@codesourcery.com>
751 * config/tc-armlinux-eabi.h (FPU_DEFAULT): Default to plain VFP.
752 * config/tc-armeabi.h (FPU_DEFAULT): Likewise.
753 * config/tc-arm.c (md_begin): If FPU_DEFAULT is set, don't infer
754 the default FPU from the processor.
756 2009-05-01 Julian Brown <julian@codesourcery.com>
758 * config/tc-arm.c (do_t_blx): Always use BFD_RELOC_THUMB_PCREL_BLX.
759 (md_pcrel_from_section): Align address for BLX.
760 (tc_gen_reloc): Change BFD_RELOC_THUMB_PCREL_BLX relocations to
761 BFD_RELOC_THUMB_PCREL_BRANCH23 for EABI v4+.
763 2009-04-29 DJ Delorie <dj@redhat.com>
765 * config/tc-mep.c (md_begin): Check coprocessor type.
766 (md_check_parallel64_scheduling): Use memset to initialize the buffer.
767 (md_check_parallel32_scheduling): Likewise.
769 (mep_check_ivc2_scheduling): New.
770 (mep_check_parallel_scheduling): Call it.
771 (mep_process_saved_insns): Add IVC2 slot support.
772 (md_assemble): Likewise.
774 2009-04-30 Nick Clifton <nickc@redhat.com>
776 * config/obj-elf.c (obj_elf_type): Add support for a
777 gnu_indirect_function type.
778 * config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups
779 against indirect function symbols.
780 * doc/as.texinfo (.type): Document the support for the
781 gnu_indirect_function symbol type.
782 * NEWS: Mention the new feature.
784 2009-04-24 Cary Coutant <ccoutant@google.com>
786 * NEWS: Add item about discriminator support.
787 * dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field.
788 * dwarf2dbg.c (current): Add discriminator field.
789 (dwarf2_where): Copy discriminator value.
790 (dwarf2_consume_line_info): Set discriminator to 0.
791 (dwarf2_directive_loc): Process discriminator sub-op.
792 (out_leb128): New function.
793 (process_entries): Output DW_LNE_set_discriminator.
794 * doc/as.texinfo: Add discriminator operand to .loc directive.
796 2009-04-22 Nathan Sidwell <nathan@codesourcery.com>
798 * config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for
799 as_bad calls to silence compiler warning.
801 2009-04-21 H.J. Lu <hongjiu.lu@intel.com>
803 * config/tc-i386-intel.c (O_XXX): Reorder.
805 2009-04-20 Jan Beulich <jbeulich@novell.com>
807 * Makefile.am: Add explicit dependency of tc-i386.o on
809 * Makefile.in: Likewise.
810 * config/tc-i386.c (i386_finalize_immediate): Declare, broken
811 out from i386_immediate.
812 (i386_immediate): Slightly re-arrange, call
813 i386_finalize_immediate.
814 (i386_finalize_displacement): Declare, broken out from
816 (i386_displacement): Slightly re-arrange, call
817 i386_finalize_displacement.
818 (i386_intel_simplify, i386_intel_parse_name): Declare.
819 (this_operand): Initialize to -1.
820 (set_intel_syntax): Set expression rank for O_full_ptr.
821 (md_assemble): Set this_operand back to -1 after parsing
823 (x86_cons): Negate intel_syntax to indicate state. Call
825 (md_operand): Convert if to switch. Handle '[' for Intel
827 (i386_intel_operand): Delete, including all helper functions
829 * config/tc-i386-intel.c: New file, all new code.
830 * config/tc-i386.h (i386_operator): Declare.
831 (md_operator): Define to i386_operator.
832 (i386_need_index_operator): Declare.
833 (md_need_index_operator): Define to i386_need_index_operator.
834 (O_full_ptr): Define.
836 2009-04-20 Jan Beulich <jbeulich@novell.com>
838 * expr.c (operand): Call md_need_index_operator() and
839 md_operator() if defined. Add unary label.
840 (operator): Call md_operator() if defined.
841 (expr): Adjust assertions on range and rank of op_left and
842 op_right. Don't abort on unhandled operators when reducing
843 expressions with both operands being constant.
844 (expr_set_rank): New.
845 * expr.h (expr_set_rank): Declare.
847 2009-04-15 Anthony Green <green@moxielogic.com>
849 * config/tc-moxie.h: New file.
850 * config/tc-moxie.c: New file.
851 * configure: Add support for moxie.
852 * configure.tgt: Add support for moxie.
854 2009-04-16 Jan Beulich <jbeulich@novell.com>
856 * expr.c: Include limits.h if available, and #define CHAR_BITS
858 (expr): Check range of shift count when evaluating a constant
861 2009-04-15 Jan Beulich <jbeulich@novell.com>
863 * config/tc-i386.c (process_operands): Print operands in
864 correct order depending on intel_syntax.
866 2009-04-09 Catherine Moore <clm@codesourcery.com>
868 * config/tc-mips.c (mips_fix_24k): Declare.
869 (check_for_24k_errata): New.
870 (mips_cleanup): Call check_for_24k_errata.
871 (start_noreorder): Likewise.
872 (md_mips_end): Likewise.
873 (s_change_sec): Likewise.
874 (s_change_section): Likewise.
875 (append_insn): Call check_for_24k_errata. Prevent
876 ERET/DERET instructions from being moved into delay
878 (OPTION_FIX_24K): New.
879 (OPTION_NO_FIX_24k) New.
880 (md_longopts): Add "mfix-24k" and "mno-fix-24k".
881 (md_parse_option): Handle fix-24k options.
882 (md_show_usage): Display fix-24k options.
883 * doc/c-mips.texi: Document.
885 2009-04-09 Adam Nemet <anemet@caviumnetworks.com>
887 * config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS
888 instead of HAVE_64BIT_SYMBOLS.
890 2009-04-07 DJ Delorie <dj@redhat.com>
892 * config/tc-mep.c: Add UCI/DSP instruction support. Add C5 support.
893 (md_show_usage): Change default endian to little.
894 * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little.
896 2009-04-06 DJ Delorie <dj@redhat.com>
898 * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA
900 (build_bytes): Pass insn to do_a_fix_imm.
902 2009-04-02 Daniel Gutson <dgutson@codesourcery.com>
904 * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
905 * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and
908 2009-04-01 Matt Thomas <matt@netbsd.org>
910 * config/tc-vax.c (synthetic_votstrs): add "jbbcci" and "jbbssi"
911 (md_assemble): emit symbol name when used as immediate in PIC mode.
912 (md_assemble): fix LP64 bug (use sizeof (valueT) instead 4).
914 2009-04-01 Sterling Augustine <sterling@jaw.hq.tensilica.com>
916 * config/tc-xtensa.c (parse_arguments): call demand_empty_rest_of_line
918 2009-04-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
920 * config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF.
921 (find_real_start): Likewise.
922 * config/tc-arm.h (TC_VALIDATE_FIX): Likewise
924 2009-04-01 Nathan Sidwell <nathan@codesourcery.com>
926 * config/tc-arm.c (do_nop): Generate v6k nops whenever possible.
927 (arm_handle_align): Generate v6k ARM, thumb2 wide & narrow nops
930 2009-03-31 Peter Bergner <bergner@vnet.ibm.com>
932 * config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop.
934 2009-03-31 Dave Korn <dave.korn.cygwin@gmail.com>
936 * doc/internals.texi: Fix trivial syntax errors.
938 2009-03-26 Alan Modra <amodra@bigpond.net.au>
941 * config/tc-i386.c (reloc): Don't abort on lack of required
944 2009-03-25 H.J. Lu <hongjiu.lu@intel.com>
946 * config/tc-i386.c (parse_insn): Use default_arch on unsupported
949 2009-03-23 H.J. Lu <hongjiu.lu@intel.com>
952 * listing.c (listing_newline): Properly handle `\\"' and ';'.
954 * read.c (is_end_of_line): Update comments for line separator.
955 (read_begin): Set line separator in is_end_of_line to 2.
957 2009-03-19 David S. Miller <davem@davemloft.net>
959 * config/tc-sparc.c (md_parse_option): If the user gives
960 us '--64' make sure max_architecture is at least V9.
962 2009-03-18 Andrew Stubbs <ams@codesourcery.com>
964 * config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and
965 BFD_RELOC_ARM_ADRL_IMMEDIATE value is in the correct section.
966 Check BFD_RELOC_ARM_ADRL_IMMEDIATE has a defined symbol.
968 2009-03-18 Alan Modra <amodra@bigpond.net.au>
970 * as.h: Include alloca-conf.h instead of config.h and remove
971 existing #if's handling alloca.
972 * Makefile.am: Run "make dep-am".
973 * Makefile.in: Regenerate.
975 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
977 * config/tc-ppc.c (ppc_frob_symbol): Add csect information for
980 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
982 * config/tc-ppc.c (md_apply_fix): On COFF targets, always reread
983 "value" from fx_offset. Manually resubtract md_pcrel_from_section
986 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
988 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
989 * configure.in: Likewise.
990 * configure: Regenerate.
992 2009-03-11 Hans-Peter Nilsson <hp@axis.com>
994 * config/tc-cris.c (cris_create_short_jump): Remove prototype.
995 Rename, changing all callers, to...
996 (md_create_short_jump): Adjust head comment. Assert
997 word-sized-branch distance for v32. Bail out calling as_fatal for
998 compatibility mode here.
999 (md_create_long_jump): ...not here.
1000 * config/tc-cris.h (md_create_short_jump): Do not define.
1002 2009-03-10 Hans-Peter Nilsson <hp@axis.com>
1004 * write.c (write_object_file) [!WORKING_DOT_WORD]: When patching
1005 the jump table for multiple overflowing entries with the same
1006 target, handle base symbols being different.
1007 (relax_segment) <case rs_broken_word, second loop>: Whenever a
1008 single entry overflows, arrange to redirect all entries with the
1011 2009-03-10 Alan Modra <amodra@bigpond.net.au>
1013 * config/tc-ppc.c (parse_cpu): Delete.
1014 (md_parse_option, ppc_machine): Use ppc_parse_cpu.
1016 2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
1019 * config/tc-i386.h (LOCAL_LABELS_DOLLAR): New. Defined as 0.
1020 (LOCAL_LABELS_FB): Undefine befoe define.
1022 2009-03-06 Nick Clifton <nickc@redhat.com>
1024 * po/es.po: Updated Spanish translation.
1026 2009-03-05 Joseph Myers <joseph@codesourcery.com>
1028 * read.c (s_fill, s_space, s_float_space, float_cons, stringer,
1029 s_incbin): Call md_cons_align (1).
1031 2009-03-04 Nick Clifton <nickc@redhat.com>
1033 * config/tc-alpha.c (alpha_prologue_label): Only define for ELF
1035 (s_alpha_comm): Only define "temp" and "log_align" local variables
1038 2009-03-04 Alan Modra <amodra@bigpond.net.au>
1040 * config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs
1041 have non-zero addend.
1042 (md_assemble): Parse args of __tls_get_addr calls.
1043 (md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD.
1045 2009-03-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1048 * config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with
1049 local scope for ELF targets.
1051 2009-03-04 Alan Modra <amodra@bigpond.net.au>
1053 * config/tc-ppc.c (md_assemble): APUinfo only for e500.
1055 2009-03-03 Tristan Gingold <gingold@adacore.com>
1056 Eric Botcazou <ebotcazou@adacore.com>
1057 Douglas B Rupp <rupp@gnat.com>
1059 * doc/as.texinfo (Overview): Mention -replace/-noreplace options
1061 * doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace.
1062 * config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax).
1063 (OBJ_SYMFIELD_TYPE): Remove.
1064 (tc_canonicalize_symbol_name): Define to evax_shorten_name.
1065 (TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax.
1066 (tc_frob_file_before_fix): Do not defined on evax.
1067 * config/tc-alpha.c: Always includes dwarf2dbg.h.
1068 Include vms.h if OBJ_EVAX.
1069 (struct alpha_fixup): Add xtrasym and procsym (evax only).
1070 (enum alpha_macro_arg): Remove trailing comma.
1071 (md_longopts): Add replace and noreplace arguments (evax only).
1072 (alpha_evax_proc_hash): New variable.
1073 (alpha_link_section): Make it global.
1074 (alpha_ctors_section, alpha_dtors_section): Removed.
1075 (alpha_ctors_symbol, alpha_dtors_symbol): Ditto.
1076 (alpha_lit8_section): Ifndef'ed on evax.
1077 (alpha_lit8_symbol): Ditto.
1078 (alpha_prologue_label): New variable.
1079 (alpha_linkage_symbol): New variable (evax only).
1080 (alpha_flag_replace): Ditto.
1081 (struct alpha_evax_procs): Add handler and handler_data field.
1082 (alpha_evax_proc): Now of type pointer.
1083 (alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables.
1084 (struct alpha_reloc_tag): Add sym and psym fields (evax only).
1085 (get_alpha_reloc_tag): Initialize sym and psym fields (evax only).
1086 (alpha_adjust_relocs): Ifndef'ed on evax.
1087 (load_expression): Add opname argument.
1088 Implement LDA/BSR optimization for evax.
1089 (emit_lda): Adjust for new prototype of load_expression.
1090 (emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols.
1091 (emit_loadstore): Likewise.
1092 (emit_ldXu): Likewise.
1093 (emit_stX): Likewise.
1094 (emit_jsrjmp): Likewise. Implement LDA/BSR optimization for evax.
1095 (emit_ldgp): Avoid warning in evax case.
1096 (add_to_link_pool): Make it static. Return symbolic expression rather
1097 than number expression for the offset.
1098 (s_alpha_text): Create .text symbol for evax if not already created.
1099 (s_alpha_comm): Do not create specific section for common symbol.
1100 Fill common area with zeros for evax.
1101 (s_alpha_prologue): Create alpha_prologue_label.
1102 (s_alpha_section_name): New function (evax).
1103 (s_alpha_section_word): Likewise.
1104 (section_name): New static variabke moved out from ...
1105 (s_alpha_section): ... here. Create new sections on demand.
1106 (s_alpha_literals): New function (evax).
1107 (s_alpha_ent): Create alpha_evax_proc instance and insert it in the
1108 alpha_evax_proc_hash table.
1109 (s_alpha_handler): New function (evax).
1110 (s_alpha_frame): Adjust for new type of alpha_evax_proc.
1111 (s_alpha_prologue): New function (evax).
1112 (s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new
1113 handling of procedures with hash table.
1114 Add support for condition handlers.
1115 (s_alpha_linkage): Create linkage_fixup instance and chain it.
1116 (s_alpha_fp_save): Adjust for new type of alpha_evax_proc.
1117 (s_alpha_mask): Likewise.
1118 (s_alpha_fmask): Likewise.
1119 (s_alpha_end): Clear alpha_evax_proc.
1120 (s_alpha_align): Increase max_alignment to 16.
1121 (alpha_print_token): Call print_expr_1 instead of print_expr.
1122 (md_pseudo_table): Add "section", "literals", "handler" and
1123 "handler_data" (evax). Do not ignore "prologue" on evax.
1125 (md_begin): Create hash table for alpha_evax_proc_hash.
1126 (md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE.
1127 (md_show_usage): Mention -replace/-noreplace for evax.
1128 (md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH).
1129 (alpha_force_relocation): Likewise.
1130 (alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case.
1131 (tc_gen_reloc): Likewise. Add BFD_RELOC_ALPHA_LINKAGE for evax.
1132 (emit_insn): New cases for evax specific relocs.
1133 (assemble_insn): Fix indentation.
1134 Take care of -MDISP in operand table.
1135 * config/obj-evax.h (struct alpha_linkage_fixups): New struct.
1136 (OBJ_SYMFIELD_TYPE): New macro.
1137 (obj_symbol_new_hook): Define.
1138 (obj_frob_symbol, obj_frob_file_before_adjust): Ditto.
1139 (obj_frob_file_before_fix): Ditto.
1140 (PDSC_S_M_HANDLER_VALID): New macro.
1141 (PDSC_S_M_HANDLER_DATA_VALID): Ditto.
1142 (TC_IMPLICIT_LCOMM_ALIGNMENT): Remove.
1143 Add prototypes for functions declared in obj-evax.c
1144 * config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h.
1145 (s_evax_weak): Convert to ansi-C.
1146 (evax_symbol_new_hook): New function.
1147 (evax_frob_symbol): Ditto.
1148 (evax_frob_file_before_adjust): Ditto.
1149 (evax_frob_file_before_fix): Ditto.
1150 (evax_shorten_name): Ditto.
1155 (shorten_identifier): Ditto.
1156 (is_truncated_identifier): Ditto.
1157 * dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS.
1158 * as.c (close_output_file): Remove #ifndef OBJ_VMS.
1161 2009-03-03 Alan Modra <amodra@bigpond.net.au>
1163 * Makefile.am: Run "make dep-am".
1164 * Makefile.in: Regenerate.
1166 2009-03-02 Nick Clifton <nickc@redhat.com>
1169 * config/tc-ia64.c (fix_insn): Fix warning reported by
1172 2009-03-02 Qinwei <qinwei@sunnorth.com.cn>
1174 * config/tc-score7.c: New file.
1175 * doc/c-score.texi: New file.
1176 * Makefile.am: Update dependencies for tc-score.c.
1177 * Makefile.in: Regenerate.
1178 * NEWS: Mention support for Score7 architecture.
1179 * config/tc-score.c: Add support for Score7 architecture.
1180 * config/tc-score.h: Likewise.
1181 * doc/Makefile.am: Add c-score.texi.
1182 * doc/Makefile.in: Regenerate.
1183 * doc/all.texi: Add Score7.
1184 * doc/as.texinfo: Add Score7.
1186 2009-03-01 Mark Mitchell <mark@codesourcery.com>
1188 * config/tc-arm.c (md_assemble): Allow barrier instructions on
1191 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1193 * configure: Regenerate.
1195 2009-02-26 Peter Bergner <bergner@vnet.ibm.com>
1197 * config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
1198 "f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
1199 (parse_cpu): Extend -mpower7 to accept power7 and isel instructions.
1201 2009-02-25 H.J. Lu <hongjiu.lu@intel.com>
1203 * config/tc-i386.c (fits_in_imm4): Removed.
1205 2009-02-24 Helge Deller <deller@gmx.de>
1207 * config/tc-hppa.c (pa_ip): Add check of immediate values.
1208 (SAVE_IMMEDIATE): New define.
1210 2009-02-23 Mark Mitchell <mark@codesourcery.com>
1212 * config/tc-arm.c (warn_deprecated_sp): New macro.
1213 (do_t_mov_cmp): Permit R13 as the second
1214 argument to "cmp.n".
1216 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
1218 * config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM.
1219 (pt): Replace UINTS_ALL_ZERO with operand_type_all_zero.
1221 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
1223 * config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4.
1225 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
1227 * config/tc-i386.c (vex_imm4): Removed.
1228 (VEX_check_operands): Likewise.
1229 (match_template): Updated.
1231 2009-02-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
1233 * doc/all.texi: Set S390.
1234 * doc/as.texinfo: Add S390 support and pull in c-s390.texi.
1235 * doc/Makefile.am (CPU_DOCS): Add c-s390.texi.
1236 * doc/Makefile.in: Likewise.
1237 * doc/c-s390.texi: New.
1239 2009-02-12 Nathan Sidwell <nathan@codesourcery.com>
1241 * config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR.
1242 (mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New.
1243 (mcf5307_ctrl): Add VBR.
1244 (no_mac): New variable.
1245 (m68k_extensions): Refer to no_mac mask.
1246 (m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277,
1247 52252..52259, 53011..53017.
1248 (m68k_ip): Process CPUCR.
1249 (init_table): Add cpucr entry.
1250 (m68k_set_extension): Allow negated mask to refer to a variable.
1251 (md_show_usage): Use '%s' to silence fprintf warning.
1252 * config/m68k-parse.h (CPUCR): New control register.
1254 2009-02-10 Nathan Sidwell <nathan@codesourcery.com>
1256 * config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for
1257 as_bad calls to silence compiler warning.
1259 2009-02-06 Nick Clifton <nickc@redhat.com>
1262 * config/tc-arm.c (MODE_RECORDED): New define.
1263 (output_inst): Record the thumb_mode in the current frag.
1264 (arm_handle_align): Ignore the MODE_RECORDED bit in tc_frag_data.
1265 (arm_init_frag): Only set the tc_frag_data field if it has not
1268 2009-02-04 H.J. Lu <hongjiu.lu@intel.com>
1270 AVX Programming Reference (January, 2009)
1271 * config/tc-i386.c (CPU_FLAGS_PCLMUL_MATCH): New.
1272 (CPU_FLAGS_AVX_MATCH): Updated.
1273 (CPU_FLAGS_32BIT_MATCH): Likewise.
1274 (cpu_flags_match): Likewise.
1276 2009-02-03 Sandip Matte <sandip@rmicorp.com>
1278 * config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T,
1279 M_MSGWAIT and M_MSGWAIT_T.
1280 (mips_cpu_info_table): Add XLR entry.
1281 * doc/c-mips.texi (-march): Document xlr.
1283 2009-02-03 Eric B. Weddington <eric.weddington@atmel.com>
1285 * config/tc-avr.c (mcu_types): Add ata6289.
1286 * doc/c-avr.texi: Likewise.
1288 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
1290 * configure.in: AC_SUBST pdfdir.
1291 * Makefile.am: Add install-pdf, install-pdf-am,
1292 and install-pdf-recursive targets.
1293 * doc/Makefile.am: Define pdf__strip_dir. Add
1294 install-pdf and install-pdf-am targets.
1295 * po/Make-in: Add install-pdf target.
1296 * configure: Regenerate.
1297 * Makefile.in: Regenerate.
1298 * doc/Makefile.in: Regenerate.
1300 2009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com>
1302 * config/m68k-parse.h (enum pic_relocation): Add values for TLS
1304 * config/m68k-parse.y (yylex): Parse TLS relocations.
1305 * config/tc-m68k.c (m68k_elf_cons): New static function.
1306 (md_pseudo_table): Use it.
1307 (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
1309 (md_apply_fix): Fix to set thread local flag.
1310 (m68k_elf_suffix): New static function; helper for m68k_elf_cons.
1312 2009-02-03 Vince Weaver <vince@csl.cornell.edu>
1315 * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of
1316 indexed addressing for symbolic expressions.
1318 2009-01-29 Mark Mitchell <mark@codesourcery.com>
1320 * config/tc-arm.c (BAD_SP): Define.
1321 (s_arm_unwind_fnstart): Use REG_SP.
1322 (s_arm_unwind_setfp): Likewise.
1323 (reject_bad_reg): New macro.
1324 (do_co_reg): Check for bad registers.
1325 (do_co_reg2c): Likewise.
1326 (do_srs): Use REG_SP.
1327 (do_t_add_sub): Check for bad registers.
1328 (do_t_adr): Likewise.
1329 (do_t_arit3): Likewise.
1330 (do_t_arit3c): Likewise.
1331 (do_t_bfc): Likewise.
1332 (do_t_bfi): Likewise.
1333 (do_t_bfx): Likewise.
1334 (do_t_blx): Likewise.
1335 (do_t_bx): Likewise.
1336 (do_t_bxj): Likewise.
1337 (do_t_clz): Likewise.
1338 (do_t_div): Likewise.
1339 (do_t_mla): Likewise.
1340 (do_t_mlal): Likewise.
1341 (do_t_mov_cmp): Likewise.
1342 (do_t_mov16): Likewise.
1343 (do_t_mvn_tst): Likewise.
1344 (do_t_mrs): Likewise.
1345 (do_t_msr): Likewise.
1346 (do_t_mul): Likewise.
1347 (do_t_mull): Likewise.
1348 (do_t_orn): Likewise.
1349 (do_t_pkhbt): Likewise.
1350 (do_t_pld): Likewise.
1351 (do_t_rbit): Likewise.
1352 (do_t_rev): Likewise.
1353 (do_t_rrx): Likewise.
1354 (do_t_rsb): Likewise.
1355 (do_t_shift): Likewise.
1356 (do_t_simd): Likewise.
1357 (do_t_ssat): Likewise.
1358 (do_t_ssat16): Likewise.
1359 (do_t_sxtah): Likewise.
1360 (do_t_sxth): Likewise.
1361 (do_t_tb): Likewise.
1362 (do_t_usat): Likewise.
1363 (do_t_usat16): Likewise.
1364 (nysn_insert_sp): Use REG_SP.
1366 2009-01-29 Mark Mitchell <mark@codesourcery.com>
1368 * config/tc-arm.c (do_t_orn): New function.
1369 (do_t_rrx): Likewise.
1370 (insns): Add orn and rrx.
1372 2009-01-29 Mark Mitchell <mark@codesourcery.com>
1374 * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
1375 uasx, uhasx, uhsx, uqasx, uqsax, usax.
1377 2009-01-29 Mark Mitchell <mark@codesourcery.com>
1379 * config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub,
1380 qdsub in Thumb-2 mode.
1382 2009-01-29 Paul Brook <paul@codesourcery.com>
1383 Mark Mitchell <mark@codesourcery.com>
1385 * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding
1386 of MUL when possible.
1388 2009-01-29 Nick Clifton <nickc@redhat.com>
1390 * config/tc-mep.h (DIFF_EXPR_OK): Do not define.
1392 2009-01-29 Nathan Sidwell <nathan@codesourcery.com>
1393 Catherine Moore <clm@codesourcery.com?
1395 * doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte,
1396 .4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32
1399 2009-01-27 Nick Clifton <nickc@redhat.com>
1401 * config/tc-mips.c (append_insn): Cope with a complex reloc
1402 sequence containing an unsupported reloc type.
1403 (enum options): Replace computed #define's constants for option
1404 numbers with this enum.
1405 (struct md_longopts): Use the enum. Allow OPTION_32 in a non-ELF
1407 (md_parse_option): Allow -32 in a non-ELF environment.
1409 2009-01-26 Andrew Stubbs <ams@codesourcery.com>
1411 * config/tc-arm.c (attributes_set_explicitly): New array.
1412 (s_arm_eabi_attribute): Check return value from s_vendor_attribute.
1413 (cpu_arch): Add ARM_ARCH_V5T.
1414 (aeabi_set_attribute_int): New function.
1415 (aeabi_set_attribute_string): New function.
1416 (aeabi_set_public_attributes): Set attributes according to the user's
1417 intentions, rather than the actual state of the binary.
1418 Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of
1419 bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string.
1420 Support WMMXv2. Use attribute names instead of numbers.
1421 * read.c (s_vendor_attribute): Change return type to int.
1422 Return the tag number that was set.
1423 * read.h (s_vendor_attribute): Change return type to int.
1425 2009-01-26 Eric B. Weddington <eric.weddington@atmel.com>
1428 * config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name.
1429 * doc/c-avr.texi: Likewise.
1431 2009-01-23 Nathan Sidwell <nathan@codesourcery.com>
1433 * doc/c-arm.texi (): Document -mwarn-deprecated.
1434 * config/tc-arm.c (WARN_DEPRECATED): Remove. Replace with ...
1435 (warn_on_deprecated): ... this.
1436 (opcode_lookup, md_assemble): Check it before warning.
1437 (arm_opts): Add m[no-]warn-deprecated.
1438 (md_parse_option): Replace WARN_DEPRECATED with
1441 2009-01-23 Andreas Schwab <schwab@suse.de>
1443 * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
1444 arguments to macro_build to match format.
1446 * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.
1447 * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define.
1449 2009-01-19 Nick Clifton <nickc@redhat.com>
1451 * config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for
1452 ELF format ARM targets.
1453 * config/tc-arm.c (arm_convert_symbolic_attribute): Likewise.
1455 2009-01-19 Nick Clifton <nickc@redhat.com>
1457 * configure.tgt: Restore alpha sorting to object format switch
1460 2009-01-19 Andrew Stubbs <ams@codesourcery.com>
1462 * read.c (s_vendor_attribute): Allow for unknown flag bits in type.
1464 2009-01-16 Mark Shinwell <shinwell@codesourcery.com>
1466 * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5.
1467 * config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.
1469 2009-01-16 Andrew Stubbs <ams@codesourcery.com>
1470 Daniel Jacobowitz <dan@codesourcery.com>
1472 * config/tc-arm.c (arm_copy_symbol_attributes): New function.
1473 * config/tc-arm.h (arm_copy_symbol_attributes): New prototype.
1474 (CONVERT_SYMBOLIC_ATTRIBUTE): New define.
1475 * read.c (s_vendor_attribute): Add support for symbolic tag names.
1476 Improve string parser.
1477 * doc/c-arm.texi (ARM Machine Directives): Document
1478 .eabi_attribute symbolic tag names.
1480 2009-01-16 Alan Modra <amodra@bigpond.net.au>
1482 * configure.in (commonbfdlib): Delete.
1483 * configure: Regenerate.
1484 * po/POTFILES.in: Regenerate.
1486 2009-01-15 Andrew Stubbs <ams@codesourcery.com>
1487 Julian Brown <julian@codesourcery.com>
1489 * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11.
1491 2009-01-15 Andrew Stubbs <ams@codesourcery.com>
1493 * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat ->
1494 bfd_elf_add_obj_attr_int_string.
1496 2009-01-15 Douglas B Rupp <rupp@gnat.com>
1498 * configure.tgt(ia64-*-*vms*): New target.
1499 * dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
1500 * tc.h (md_number_to_chars): Declare iff undefined.
1501 * config/obj-elf.c (obj_elf_change_section): Change type of arg
1503 (obj_elf_parse_section_letters): Return a bfd_vma. Change type of
1504 variables attr, md_attr to bfd_vma.
1505 (obj_elf_section_word): Likewise.
1506 (obj_elf_section): Change type of variable attr to bfd_vma
1507 * config/obj-elf.h (obj_elf_change_section): Change type of arg
1509 * config/tc-ia64.c (bfdver.h,time.h): Include.
1510 (ia64_elf_section_letter): Now returns a bfd_vma.
1511 Handle VMS specific attributes.
1512 (ia64_elf_section_flags): Arg attr now a bfd_vma.
1513 (ia64_init): Don't turn on dependency checking for VMS.
1514 (ia64_target_format): Check for VMS flag bit.
1515 (do_alias): Hande decc$ functions.
1516 (get_vms_time): New function.
1517 (ia64_vms_note): New function.
1518 * config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
1519 (ia64_elf_section_flags): Arg attr now a bfd_vma.
1520 (tc_init_after_args): Define for VMS.
1521 * config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
1522 (alpha_elf_section_flags): Change type of arg attr to bfd_vma.
1523 * config/tc-alpha.h: Likewise.
1524 * config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
1525 (x86_64_section_word): Return a bfd_vma.
1526 * config/tc-i386.h: Likewise.
1527 * config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
1529 * config/tc-ip2k.h: Likewise.
1530 * config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
1531 (mep_elf_section_flags): Change type of arg attr to bfd_vma.
1532 * config/tc-mep.h: Likewise.
1533 * config/tc-ppc.c (ppc_section_letter): Return a bfd_vma.
1534 (ppc_section_word): Return a bfd_vma.
1535 (ppc_section_flags): Change type of arg attr to bfd_vma.
1536 * config/tc-ppc.h: Likewise.
1537 * config/tc-frv.h: Provide a prototype for frv_md_number_to_chars.
1538 * config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
1539 DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
1540 New file with new macros
1541 * dwarf2dbg.c (get_filenum, out_file_list): Default and call new
1544 2009-01-15 Nick Clifton <nickc@redhat.com>
1547 * config/tc-arm.c (do_t_nop): Check for availability of Thumb2
1548 instructions before generating a Thumb2 nop.
1550 2009-01-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1552 * config/tc-s390.h: Define LOCAL_LABEL_PREFIX.
1554 2009-01-12 Alan Modra <amodra@bigpond.net.au>
1556 * config/tc-spu.c (md_pseudo_table): Add "brinfo".
1558 (md_assemble): Poke brinfo into branch instructions.
1559 (spu_brinfo): New function.
1560 (md_apply_fix): Don't assume insn fields start off at zero, mask
1561 them to remove possible brinfo.
1563 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
1565 * doc/c-i386.texi: Reformat.
1567 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
1569 * config/tc-i386.c (cpu_arch): Add corei7, .clflush and
1571 (i386_align_code): Handle PROCESSOR_COREI7.
1572 (md_show_usage): Add corei7, clflush and syscall.
1573 (i386_target_format): Replace cpup4 with cpuclflush.
1575 * config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
1577 * doc/c-i386.texi: Document corei7, clflush and syscall.
1579 2009-01-09 H.J. Lu <hongjiu.lu@intel.com>
1581 * config/tc-i386.c (cpu_arch): Add .rdtscp.
1582 (md_show_usage): Display rdtscp.
1584 * doc/c-i386.texi: Document rdtscp.
1586 2009-01-09 Peter Bergner <bergner@vnet.ibm.com>
1588 * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
1589 Test the new "deprecated" opcode field.
1591 2009-01-07 Sterling Augustine <sterling@tensilica.com>
1593 * config/tc-xtensa.c (produce_flix): New.
1594 (option_flix, optoin_no_generate_flix, option_no_flix) Define.
1595 (md_longopts): Add support for them.
1596 (md_parse_option): Likewise.
1597 (md_show_usage): Add help message.
1598 (finish_vinsn): Don't allow multi-slot flix when produce_flix
1599 option is set to FLIX_NONE.
1600 * config/xtensa-relax.c (transition_applies): Only relax to
1601 flix branches when produce_flix equals FLIX_ALL.
1602 * config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE
1604 (produce_flix): Declare.
1606 2009-01-06 Chao-ying Fu <fu@mips.com>
1608 * config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff.
1609 Use strncmp to match jalr and jalr.hb.
1612 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
1614 AVX Programming Reference (December, 2008)
1615 * config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction
1616 support. Don't swap REG and NDS for FMA.
1618 2009-01-02 Matthias Klose <doko@ubuntu.com>
1620 * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
1623 For older changes see ChangeLog-2008
1629 version-control: never