1 2009-08-06 Nick Clifton <nickc@redhat.com>
3 * config/tc-arm.c (md_assemble): Call mapping_state from inside a
4 block in case it is a null macro.
6 2009-08-05 Chao-ying Fu <fu@mips.com>
8 * config/tc-mips.c (MIPS_JALR_HINT_P): New define. For IRIX, it is
9 true for new abi. For non-IRIX targets, it is always true.
10 (macro_build_jalr): If MIPS_JALR_HINT_P, emit BFD_RELOC_MIPS_JALR.
12 2009-08-05 Eric B. Weddington <eric.weddington@atmel.com>
14 * config/tc-avr.c (mcu_types): Add attiny2313a, attiny4313, attiny261a,
15 attiny861a, atmega644pa, attiny24a, attiny44a.
16 * doc/c-avr.texi: Likewise.
18 2009-08-04 Sandra Loosemore <sandra@codesourcery.com>
20 * doc/c-mips.texi (MIPS Opts): List 1004K options for -march.
21 * config/tc-mips.c (mips_cpu_info_table): Add 1004K cores.
23 2009-08-04 Nathan Sidwell <nathan@codesourcery.com>
25 * config/tc-arm.c (my_get_expression): Detect missing expressions.
27 2009-08-02 Eric B. Weddington <eric.weddington@atmel.com>
29 * config/tc-avr.c (mcu_types): Add atmega8m1, atmega8c1, atmega16c1.
30 * doc/c-avr.texi: Likewise.
32 2009-08-01 Eric B. Weddington <eric.weddington@atmel.com>
34 * config/tc-avr.c (mcu_types): Add atmega8u2, atmega16u2, atmega32u2.
35 * doc/c-avr.texi: Likewise.
37 2009-07-31 Daniel Gutson <dgutson@codesourcery.com>
38 Daniel Jacobowitz <dan@codesourcery.com>
40 * config/obj-elf.c (obj_elf_ident): Notify section change to the hook.
41 * config/tc-arm.c (make_mapping_symbol): New function, from
42 mapping_state. Save mapping symbols in the frag.
43 (insert_data_mapping_symbol): New.
44 (mapping_state): Use make_mapping_symbol, improve state transitions.
45 (mapping_state_2): New. Provide dummy definition.
46 (opcode_select): Do not call mapping_state.
47 (s_bss): Call md_elf_section_change_hook instead of mapping_state.
48 (output_inst): Update use of tc_frag_data.
49 (new_automatic_it_block): Call mapping_state before emitting the
51 (md_assemble): Move mapping_state to just before outputting the
53 (arm_handle_align): Update use of tc_frag_data.
54 Call insert_data_mapping_symbol.
55 (arm_init_frag): Update use of tc_frag_data. Call
57 (arm_elf_change_section): Always update the mapping symbol FSM state.
58 (check_mapping_symbols): New function.
59 (arm_adjust_symtab): Use check_mapping_symbols.
60 * config/tc-arm.h (struct arm_frag_type): New.
61 (TC_FRAG_TYPE): Change to struct arm_frag_type.
62 (TC_FRAG_INIT): Pass max_chars.
63 (arm_init_frag): Update prototype.
65 2009-07-31 Anthony Green <green@moxielogic.com>
67 * configure.tgt (generic_target): Add moxie-uclinux support.
69 2009-07-30 Nick Clifton <nickc@redhat.com>
71 * doc/c-arm.texi (ARM-Instruction-Set): New node. Documents the
72 different syntaxes support by the ARM port.
73 (ARM Directives): Add entry for .syntax.
75 * doc/c-mips.texi (MIPS insn): Fix typo.
77 2009-07-29 Alan Modra <amodra@bigpond.net.au>
80 * symbols.c (S_FORCE_RELOC): True for BSF_GNU_INDIRECT_FUNCTION.
81 * config/tc-i386.c: Revert 2009-06-13 change.
82 * config/tc-i386.h: Likewise.
84 2009-07-28 Jan Beulich <jbeulich@novell.com>
86 * expr.c (op_rank): Specify size. Remove O_md* initializers.
88 2009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
90 * config/tc-m68k.c (mcf5221x_ctrl): New.
91 (m68k_cpu): Add line for MCF5221x.
93 2009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
95 * config/tc-m68k.c (mcf52235_ctrl): Remove non-existent CACR, ACR[01].
96 (mcf53017_ctrl): Fix RAMBAR.
98 2009-07-27 Jan Beulich <jbeulich@novell.com>
100 * obj-elf.c (elf_file_symbol): Replace symbol name set up by
101 symbol_new() with the passed in, unmodified one.
103 2009-07-27 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
105 * config/tc-cr16.c (md_apply_fix): Put the addend value alone in to
106 object file without symbol values.
107 (tc_gen_reloc): For local symbols resolved or its absolute symbol,
108 then set the relocation type as NULL.
110 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
112 * config/tc-i386.c (cpu_arch): Add l1om.
113 (check_cpu_arch_compatible): New.
114 (set_cpu_arch): Use it.
116 (i386_mach): Return bfd_mach_l1om for Intel L1OM.
117 (md_show_usage): Display l1om.
118 (i386_target_format): Return ELF_TARGET_L1OM_FORMAT if
119 cpu_arch_isa_flags.bitfield.cpul1om is set.
121 * config/tc-i386.h (TARGET_ARCH): Use (i386_arch ()).
123 (ELF_TARGET_L1OM_FORMAT): Likewise.
125 * doc/c-i386.texi: Document l1om.
127 2009-07-24 Roland McGrath <roland@redhat.com>
128 Mark Wielaard <mjw@redhat.com>
130 * config/obj-elf.c (obj_elf_ident): Set SEC_MERGE | SEC_STRINGS
131 flags on .comment section.
133 2009-07-24 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
134 Alan Modra <amodra@bigpond.net.au>
136 * config/tc-spu.c (md_apply_fix): Handle SPU_ADD_PIC.
137 * config/tc-spu.h (tc_fix_adjustable): Don't adjust for SPU_ADD_PIC.
138 (TC_FORCE_RELOCATION): Emit relocs for SPU_ADD_PIC.
140 2009-07-24 Jan Beulich <jbeulich@novell.com>
142 * tc-i386.c (cpu_arch): Add .8087, .287, .387, .no87, .nommx,
144 (cpu_flags_and_not): New.
145 (set_cpu_arch): Check whether sub-architecture specified is a
147 (md_parse_option): Likewise.
148 (parse_real_register): Don't return floating point register
149 when x87 functionality is disabled.
150 (md_show_usage): Add new sub-options.
151 * doc/c-i386.texi: Update with new command line sub-options.
153 2009-07-24 Nick Clifton <nickc@redhat.com>
156 * config/tc-alpha.c: Fix up uses of gas printf like functions so
157 that the format string is a constant string. Add translation
158 support to message strings.
159 * config/tc-arc.c: Likewise.
160 * config/tc-arm.c: Likewise.
161 * config/tc-cris.c: Likewise.
162 * config/tc-fr30.c: Likewise.
163 * config/tc-frv.c: Likewise.
164 * config/tc-h8300.c: Likewise.
165 * config/tc-hppa.c: Likewise.
166 * config/tc-i370.c: Likewise.
167 * config/tc-i960.c: Likewise.
168 * config/tc-ia64.c: Likewise.
169 * config/tc-m32r.c: Likewise.
170 * config/tc-mep.c: Likewise.
171 * config/tc-mips.c: Likewise.
172 * config/tc-moxie.c: Likewise.
173 * config/tc-msp430.c: Likewise.
174 * config/tc-openrisc.c: Likewise.
175 * config/tc-pdp11.c: Likewise.
176 * config/tc-pj.c: Likewise.
177 * config/tc-s390.c: Likewise.
178 * config/tc-sh.c: Likewise.
179 * config/tc-sh64.c: Likewise.
180 * config/tc-sparc.c: Likewise.
181 * config/tc-spu.c: Likewise.
182 * config/tc-tic30.c: Likewise.
183 * config/tc-tic4x.c: Likewise.
184 * config/tc-tic54x.c: Likewise.
185 * config/tc-v850.c: Likewise.
186 * config/tc-xc16x.c: Likewise.
187 * config/tc-xstormy16.c: Likewise.
188 * config/tc-z80.c: Likewise.
189 * config/tc-z8k.c: Likewise.
190 * config/atof-ieee.c: Add translation support to as_warn
192 * config/obj-coff.c: Likewise.
194 2009-07-23 Ulrich Drepper <drepper@redhat.com>
196 * config/obj-elf.c (obj_elf_type): Add code to support a type of
198 * doc/as.texinfo: Document new feature of .type directive.
199 * NEWS: Mention support for gnu_unique_object symbol type.
201 2009-07-23 Nick Clifton <nickc@redhat.com>
204 * doc/c-mips.texi (MIPS insn): Document the special behaviour of
205 the .global directive for MIPS ports.
207 2009-07-21 H.J. Lu <hongjiu.lu@intel.com>
210 * config/tc-i386.c (i386_align_code): Tune for 32bit nops in
212 (i386_target_format): Set cpu_arch_isa_flags.bitfield.cpulm
215 2009-07-17 H.J. Lu <hongjiu.lu@intel.com>
217 * config/tc-i386.c (md_assemble): Update operand types.
218 (update_imm): Updated.
219 (finalize_imm): Update the first 2 immediate operands only
220 for instructions with 2 operands or more.
222 2009-07-17 H.J. Lu <hongjiu.lu@intel.com>
224 * config/tc-i386.c (md_assemble): Check implicit registers
225 only for instructions with 3 operands or less.
227 2009-07-17 Nick Clifton <nickc@redhat.com>
229 * config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid
230 compile time warning.
232 2009-07-16 H.J. Lu <hongjiu.lu@intel.com>
234 * config/tc-i386.c (md_assemble): Only check i.operands for AX.
235 (md_estimate_size_before_relax): Don't relax IFUNC symbols.
237 2009-07-16 Nathan Sidwell <nathan@codesourcery.com>
239 * config/tc-arm.c (md_apply_fix <BFD_RELOC_ARM_TARGET2>): Write
240 the offset for REL targets here.
242 2009-07-15 Kai Tietz <kai.tietz@onevision.com>
244 * listing.c (print_source): Initialize cache by NULL.
246 2009-07-15 Daniel Gutson <dgutson@codesourcery.com>
248 * doc/c-arm.texi (mauto-it): Removed old option.
249 (mimplicit-it): Added right option.
251 2009-07-14 Daniel Gutson <dgutson@codesourcery.com>
253 * config/tc-arm.h (MAX_MEM_ALIGNMENT_BYTES): Define.
254 (MAX_MEM_FOR_RS_ALIGN_CODE): Define in terms of
255 MAX_MEM_ALIGNMENT_BYTES.
256 * config/tc-arm.c (arm_frag_align_code): Replace hard coded
257 constant with MAX_MEM_FOR_RS_ALIGN_CODE.
259 2009-07-14 Nick Clifton <nickc@redhat.com>
262 * config/tc-arm.h (THUMB_IS_FUNC): Handle a NULL pointer.
263 (ARM_IS_FUNC): Likewise.
265 2009-07-14 Daniel Gutson <dgutson@codesourcery.com>
267 * config/tc-arm.c (md_assemble): Added validation.
269 2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
271 * Makefile.am: Run "make dep-am".
272 * Makefile.in: Regenerated.
274 2009-07-10 Tom Tromey <tromey@redhat.com>
276 * Makefile.am (DEPTC_alpha_ecoff): Refer to dwarf2.h, not
278 (DEPTC_alpha_elf): Likewise.
279 (DEPTC_alpha_evax): Likewise.
280 (DEPTC_arm_elf): Likewise.
281 (DEPTC_hppa_elf): Likewise.
282 (DEPTC_i386_aout): Likewise.
283 (DEPTC_i386_coff): Likewise.
284 (DEPTC_i386_elf): Likewise.
285 (DEPTC_m68k_aout): Likewise.
286 (DEPTC_m68k_coff): Likewise.
287 (DEPTC_m68k_elf): Likewise.
288 (DEPTC_mips_coff): Likewise.
289 (DEPTC_mips_ecoff): Likewise.
290 (DEPTC_mips_elf): Likewise.
291 (DEPTC_ppc_coff): Likewise.
292 (DEPTC_ppc_elf): Likewise.
293 (DEPTC_s390_elf): Likewise.
294 (DEPTC_sh_coff): Likewise.
295 (DEPTC_sh_elf): Likewise.
296 (DEPTC_sh64_elf): Likewise.
297 (DEPTC_sparc_aout): Likewise.
298 (DEPTC_sparc_coff): Likewise.
299 (DEPTC_sparc_elf): Likewise.
301 (dwarf2dbg.o): Likewise.
302 (dw2gencfi.o): Likewise.
305 * Makefile.in: Rebuild.
306 * dw2gencfi.h: Include dwarf2.h, not elf/dwarf2.h.
307 * dwarf2dbg.c: Likewise.
310 2009-07-09 Daniel Gutson <dgutson@codesourcery.com>
312 * config/tc-arm.c (it_fsm_post_encode): New forward declaration.
313 (set_it_insn_type_nonvoid): New macro.
314 (emit_thumb32_expr): New function.
315 (thumb_insn_size): New function.
316 (emit_insn): New function.
317 (s_arm_elf_inst): New function.
318 (md_pseudo_table): New pseudo-opcode entries added.
319 * doc/c-arm.texi: New directive added.
321 2009-07-07 DJ Delorie <dj@redhat.com>
323 * config/tc-mep.c (md_begin): Don't reset the coprocessor options
324 when enabling other options without a specific configuration.
326 2009-07-07 Chung-Lin Tang <cltang@pllab.cs.nthu.edu.tw>
328 * config/tc-arm.c (insns): Fix encoding for torvsc.
330 2009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
332 * config/tc-i386.c (cpu_arch): Add .fma4 and CPU_FMA4_FLAGS.
333 (build_modrm_byte): Add support to handle FMA4 instructions.
334 (md_show_usage): Add fma4.
336 2009-07-04 Alan Modra <amodra@bigpond.net.au>
338 * config/tc-cr16.h (TC_LINKRELAX_FIXUP): Set only for code sections.
340 2009-07-02 Tristan Gingold <gingold@adacore.com>
342 * Makefile.am (OBJ_FORMATS): Add macho.
343 (CPU_OBJ_VALID): Ditto.
344 (OBJ_FORMAT_CFILES): Add config/obj-macho.c
345 (OBJ_FORMAT_HFILES): Add config/obj-macho.h
346 (obj-macho.o): New rule.
347 * Makefile.in: Regenerated.
348 * configure.tgt (generic_target): Add i386-*-darwin*.
349 * config/tc-i386.h: Use i386_target_format for Mach-O.
350 * config/tc-i386.c (i386_target_format): Define it for Mach-O.
351 (i386_target_format): Add a case for bfd_target_mach_o_flavour.
352 * config/obj-macho.h: New file.
353 * config/obj-macho.c: New file.
355 2009-07-01 Nick Clifton <nickc@redhat.com>
358 * config/tc-arm.c (do_t_pkhtb): Swap Rm and Rn when encoding as
361 2009-07-01 Paul Brook <paul@codesourcery.com>
363 * config/tc-arm.c (MISSING_FNSTART): Define.
364 (s_arm_unwind_fnstart): Diagnose duplicate directive.
365 (s_arm_unwind_handlerdata, s_arm_unwind_fnend, s_arm_unwind_fnend,
366 s_arm_unwind_cantunwind, s_arm_unwind_personalityindex,
367 s_arm_unwind_personality, s_arm_unwind_save, s_arm_unwind_movsp,
368 s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): Error if
369 not inside function unwinding region.
371 2009-06-29 H.J. Lu <hongjiu.lu@intel.com>
373 * config/tc-i386.c: Reformat.
375 2009-06-23 DJ Delorie <dj@redhat.com>
377 * config/tc-mep.c (mep_check_ivc2_scheduling): For IVC2, allocate
378 32 bits for relaxable branches so that we can relax them later.
379 (md_estimate_size_before_relax): Assume IVC2 branches will be relaxed.
380 (mep_relax_frag): New.
381 (md_convert_frag): Relax IVC2 branches in-place.
382 * config/tc-mep.h ((mep_relax_frag): New.
384 2009-06-22 Martin Thuresson <martin@mtme.org>
386 * gas/app, gas/as.c, gas/as.h, gas/atof-generic.c, gas/cgen.c,
387 gas/config/atof-ieee.c, gas/config/obj-aout.c,
388 gas/config/obj-coff.c, gas/config/obj-ecoff.c,
389 gas/config/obj-elf.c, gas/config/obj-som.c, gas/config/tc-alpha.c,
390 gas/config/tc-arc.c, gas/config/tc-arm.c, gas/config/tc-cr16.c,
391 gas/config/tc-cris.c, gas/config/tc-crx.c, gas/config/tc-d30v.c,
392 gas/config/tc-dlx.c, gas/config/tc-hppa.c, gas/config/tc-i370.c,
393 gas/config/tc-i386-intel.c, gas/config/tc-i386.c,
394 gas/config/tc-i860.c, gas/config/tc-i960.c, gas/config/tc-ia64.c,
395 gas/config/tc-iq2000.c, gas/config/tc-m32c.c,
396 gas/config/tc-m32r.c, gas/config/tc-m68hc11.c,
397 gas/config/tc-m68k.c, gas/config/tc-maxq.c, gas/config/tc-mcore.c,
398 gas/config/tc-mep.c, gas/config/tc-mips.c, gas/config/tc-mmix.c,
399 gas/config/tc-mn10300.c, gas/config/tc-moxie.c,
400 gas/config/tc-ns32k.c, gas/config/tc-pj.c, gas/config/tc-ppc.c,
401 gas/config/tc-s390.c, gas/config/tc-score.c,
402 gas/config/tc-score7.c, gas/config/tc-sh.c, gas/config/tc-sparc.c,
403 gas/config/tc-spu.c, gas/config/tc-tic30.c, gas/config/tc-vax.c,
404 gas/config/tc-xtensa.c, gas/config/xtensa-relax.c,
405 gas/dw2gencfi.c, gas/dwarf2dbg.c, gas/ehopt.c, gas/expr.c,
406 gas/frags.c, gas/input-file.c, gas/read.c, gas/sb.c,
407 gas/subsegs.c, gas/symbols.c, gas/write.c: Change the name of the
408 gas macro `assert' to `gas_assert'.
410 2009-06-22 Daniel Gutson <dgutson@codesourcery.com>
412 * config/tc-arm.c (implicit_it_mode): New enum.
413 (implicit_it_mode): New global.
414 (it_instruction_type): New enum.
415 (arm_parse_it_mode): New function.
416 (arm_long_opts): New option added.
418 (it_state): New enum.
420 (check_it_blocks_finished): New function.
421 (insns[]): Use the IT Thumb opcodes for ARM too.
422 (arm_cleanup): Call check_it_blocks_finished.
423 (now_it_compatible): New function.
424 (conditional_insn): New function.
425 (set_it_insn_type): New macro.
426 (set_it_insn_type_last): New macro.
427 (do_it): Call automatic IT machinery functions.
428 (do_t_add_sub): Likewise
429 (do_t_arit3): Likewise.
430 (do_t_arit3c): Likewise.
431 (do_t_blx): Likewise.
432 (do_t_branch): Likewise.
433 (do_t_bkpt): Likewise.
434 (do_t_branch23): Likewise.
436 (do_t_bxj): Likewise.
437 (do_t_cps): Likewise.
438 (do_t_cpsi): Likewise.
439 (do_t_cbz): Likewise.
441 (encode_thumb2_ldmstm): Likewise.
442 (do_t_ldst): Likewise.
443 (do_t_mov_cmp): Likewise.
444 (do_t_mvn_tst): Likewise.
445 (do_t_mul): Likewise.
446 (do_t_neg): Likewise.
447 (do_t_setend): Likewise.
448 (do_t_shift): Likewise.
450 (output_it_inst): New function.
451 (new_automatic_it_block): New function.
452 (close_automatic_it_block): New function.
453 (now_it_add_mask): New function.
454 (it_fsm_pre_encode): New function.
455 (handle_it_state): New function.
456 (it_fsm_post_encode): New function.
457 (force_automatic_it_block_close): New function.
458 (in_it_block): New function.
459 (md_assemble): Call automatic IT block machinery functions.
460 (arm_frob_label): Likewise.
461 (arm_opts): New element.
462 * config/tc-arm.h (it_state): New enum.
463 (current_it): New struct.
464 (arm_segment_info_type): New member added.
465 * doc/c-arm.texi: New option -mimplicit-it documented.
467 2009-06-20 Alan Modra <amodra@bigpond.net.au>
470 * doc/as.texinfo (Section <ELF "M,S" flag>): Clarify tail merge.
472 2009-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
474 * config/tc-s390.c (md_gather_operands): Accept an instruction
475 without operands if all operands are tagged as optional.
477 2009-06-18 Nick Clifton <nickc@redhat.com>
480 * gas/tc-arm.c (do_t_ssat): Move common code from here...
481 (do_t_usat): ... and here to...
482 (do_t_ssat_usat): New function: ... here. Add code to check that
483 the shift value, if present, is in range.
485 2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
487 Merge cegcc and mingw32ce target name changes
490 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
492 * configure.tgt: Add arm*-*-cegcc* target.
494 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt>
496 * configure.tgt: Add arm-*-mingw32ce* target.
498 2009-06-16 Maciej W. Rozycki <macro@linux-mips.org>
500 * config/tc-vax.c (md_estimate_size_before_relax): Accept
501 indirect symbol references in the PIC mode and emit a
502 PC-relative relocation instead of a GOT/PLT one. Likewise
503 for symbols known to be hidden at this point.
505 2009-06-15 Nick Clifton <nickc@redhat.com>
508 * config/tc-arm.c (T16_32_TAB): Fix binary value of SEV.W
511 2009-06-13 H.J. Lu <hongjiu.lu@intel.com>
514 * config/tc-i386.c (md_apply_fix): Use TC_FORCE_RELOCATION
515 instead of generic_force_reloc.
517 * config/tc-i386.h (TC_FORCE_RELOCATION): New.
519 2009-06-11 Anthony Green <green@moxielogic.com>
521 * config/tc-moxie.c (md_chars_to_number): Define.
522 (md_begin): Populate opcode hashtable with more form 3 opcodes.
523 (md_assemble): Assemble MOXIE_F3_PCREL encoded instructions.
524 (md_apply_fix): Handle BFD_RELOC_MOXIE_10_PCREL relocations.
525 (tc_gen_reloc): Ditto.
526 (md_pcrel_from): Ditto.
527 (md_chars_to_number): New function.
529 2009-06-10 Anthony Green <green@moxielogic.com>
531 * config/tc-moxie.c (md_assemble): Handle MOXIE_F1_M encoded
534 2009-06-09 Jakub Jelinek <jakub@redhat.com>
537 * dw2gencfi.c (output_cfi_insn): Initialize fragment before rs_cfa
538 to DW_CFA_advance_loc4.
540 2009-06-08 Dave Korn <dave.korn.cygwin@gmail.com>
543 * config/tc-i386.c (md_estimate_size_before_relax): Don't relax
544 branches to weak symbols.
545 (md_apply_fix): Don't convert fixes against weak symbols to
546 section-relative offsets, but save addend for later reloc emission.
547 (tc_gen_reloc): When emitting reloc against weak symbol, adjust
548 addend to pre-compensate for bfd_install_relocation.
550 2009-06-04 Alan Modra <amodra@bigpond.net.au>
552 * dep-in.sed: Don't use \n in replacement part of s command.
553 * Makefile.am (DEP1, DEPTC, DEPOBJ, DEP2): LC_ALL for uniq.
554 * Makefile.in: Regenerate.
556 2009-06-01 H.J. Lu <hongjiu.lu@intel.com>
559 * config/tc-i386-intel.c (i386_intel_operand): Check '$' as '.'.
561 2009-05-26 Catherine Moore <clm@codesourcery.com>
563 * config/tc-mips.c (check_for_24k_errata): Remove.
564 (md_mips_end): Remove call to check_for_24k_errata.
565 (start_noreorder): Likewise.
566 (s_change_sec): Likewise.
567 (s_change_section): Likewise.
568 (insns_between): Add 24k errata checks.
569 (append_insn): Remove declaration and references to nhdx_24k.
570 Remove calls to check_for_24k_errata.
572 2009-05-26 Nick Clifton <nickc@redhat.com>
574 * po/id.po: Updated Indonesian translation.
575 * po/gas.pot: Updated template file.
577 2009-05-26 Nick Clifton <nickc@redhat.com>
580 * config/bfin-parse.y (error): Use "%s" as format string for error
583 2009-05-26 Alan Modra <amodra@bigpond.net.au>
585 * dep-in.sed: Output one filename per line with all lines having
586 continuation backslash. Prefix first line with "A", following
588 * Makefile.am (DEP): Don't use dep.sed here.
589 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
591 (DEPTC, DEPOBJ, DEP2): Use dep.sed on dependencies, sort and uniq.
592 Emit multi dependencies on one line.
593 * Makefile.in: Regenerate.
595 2009-05-25 Tristan Gingold <gingold@adacore.com>
597 * makefile.vms: New file to compile gas on VMS.
599 * configure.com: New file to do configuration on VMS with DCL.
601 2009-05-23 Richard Sandiford <rdsandiford@googlemail.com>
603 * config/tc-mips.c (nops_for_vr4130): Don't check noreorder_p.
604 (nops_for_insn): Likewise.
606 2009-05-22 H.J. Lu <hongjiu.lu@intel.com>
608 * symbols.c (COPIED_SYMFLAGS): Add BSF_GNU_INDIRECT_FUNCTION.
610 2009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
612 * config/tc-i386.c (process_drex): Delete. Remove SSE5 support.
613 (build_modrm_byte): Remove DREX handling support.
616 (md_assemble): Remove DREX handling support.
617 (process_operands): Remove DREX, SSE5 support.
618 (i386_insn): Remove DREX.
620 2009-05-22 Alan Modra <amodra@bigpond.net.au>
622 * Makefile.am: Run "make dep-am".
623 * Makefile.in: Regenerate.
625 2009-05-20 Kai Tietz <kai.tietz@onevision.com>
626 H.J. Lu <hongjiu.lu@intel.com>
628 * config/obj-coff.h: Include "coff/x86_64.h" for x86 pe-coff.
629 (TARGET_FORMAT): Removed for x86 pe-coff.
630 (COFF_TARGET_FORMAT): Likewise.
632 * config/tc-i386.c (md_longopts): Allow --64 for x86 pe-coff.
633 (md_parse_option): Likewise.
634 (md_show_usage): Show option --32/--64 for x86 pe-coff.
635 (i386_target_format): Use also for x86 pe-coff.
637 * config/tc-i386.h (TARGET_FORMAT): Defined as i386_target_format
640 2009-05-19 DJ Delorie <dj@redhat.com>
642 * config/tc-mep.c (mep_machine): Only check CPU flags, not COP flags.
643 (mep_process_saved_insns): Remove debugging printfs.
645 2009-05-19 Dave Korn <dave.korn.cygwin@gmail.com>
647 * NEWS: Mention new feature.
648 * config/obj-coff.c (obj_coff_common_parse): New function.
649 (obj_coff_comm): Likewise.
650 (coff_pseudo_table): Override default ".comm" definition on PE.
651 * doc/as.texinfo: Document new feature.
653 2009-05-17 Kai Tietz <kai.tietz@onevision.com>
655 * config/obj-coff.c (obj_coff_section): Add 'y' as
656 specifier for SEC_COFF_NOREAD section flag.
657 * doc/as.texinfo: Add documentation about .section flag 'y'.
659 2009-05-13 DJ Delorie <dj@redhat.com>
661 * cgen.c (gas_cgen_parse_operand): Guard against NULL pointers.
663 2009-05-13 Andrew Jenner <andrew@codesourcery.com>
665 * config/tc-arm.c: Move as.h to start of file.
667 2009-05-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
669 * config/tc-arm.h: Fix typo in comment.
670 (ARM_IS_FUNC): New macro.
671 (MD_APPLY_SYM_VALUE): Define.
673 * config/tc-arm.c (do_blx): Retain BFD_RELOC_ARM_PCREL_BLX for
674 all versions of EABI.
675 (relax_branch): Do not relax for branches to ARM functions.
676 (md_pcrel_from_section): Set up base correctly for
677 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_THUMB_PCREL_CALL,
678 BFD_RELOC_THUMB_PCREL_BRANCH23, BFD_RELOC_ARM_PCREL_BLX
679 BFD_RELOC_ARM_PCREL_CALL.
680 (md_apply_fix): Flip bl to blx where possible.
681 Flip blx to bl where possible.
682 (arm_force_relocation): Force relocations for
683 BFD_RELOC_ARM_PCREL_JUMP, BFD_RELOC_ARM_PCREL_JUMP,
684 BFD_RELOC_ARM_PCREL_BLX, BFD_RELOC_THUMB_PCREL_BLX,
685 BFD_RELOC_THUMB_PCREL_BRANCH20, BFD_RELOC_THUMB_PCREL_BRANCH23,
686 BFD_RELOC_THUMB_PCREL_BRANCH25.
687 (arm_apply_sym_value): New function.
689 2009-05-04 Tristan Gingold <gingold@adacore.com>
691 * config/tc-alpha.c: Also declare alpha_prologue_label for OBJ_EVAX.
693 2009-05-01 Nathan Sidwell <nathan@codesourcery.com>
695 * config/tc-armlinux-eabi.h (FPU_DEFAULT): Default to plain VFP.
696 * config/tc-armeabi.h (FPU_DEFAULT): Likewise.
697 * config/tc-arm.c (md_begin): If FPU_DEFAULT is set, don't infer
698 the default FPU from the processor.
700 2009-05-01 Julian Brown <julian@codesourcery.com>
702 * config/tc-arm.c (do_t_blx): Always use BFD_RELOC_THUMB_PCREL_BLX.
703 (md_pcrel_from_section): Align address for BLX.
704 (tc_gen_reloc): Change BFD_RELOC_THUMB_PCREL_BLX relocations to
705 BFD_RELOC_THUMB_PCREL_BRANCH23 for EABI v4+.
707 2009-04-29 DJ Delorie <dj@redhat.com>
709 * config/tc-mep.c (md_begin): Check coprocessor type.
710 (md_check_parallel64_scheduling): Use memset to initialize the buffer.
711 (md_check_parallel32_scheduling): Likewise.
713 (mep_check_ivc2_scheduling): New.
714 (mep_check_parallel_scheduling): Call it.
715 (mep_process_saved_insns): Add IVC2 slot support.
716 (md_assemble): Likewise.
718 2009-04-30 Nick Clifton <nickc@redhat.com>
720 * config/obj-elf.c (obj_elf_type): Add support for a
721 gnu_indirect_function type.
722 * config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups
723 against indirect function symbols.
724 * doc/as.texinfo (.type): Document the support for the
725 gnu_indirect_function symbol type.
726 * NEWS: Mention the new feature.
728 2009-04-24 Cary Coutant <ccoutant@google.com>
730 * NEWS: Add item about discriminator support.
731 * dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field.
732 * dwarf2dbg.c (current): Add discriminator field.
733 (dwarf2_where): Copy discriminator value.
734 (dwarf2_consume_line_info): Set discriminator to 0.
735 (dwarf2_directive_loc): Process discriminator sub-op.
736 (out_leb128): New function.
737 (process_entries): Output DW_LNE_set_discriminator.
738 * doc/as.texinfo: Add discriminator operand to .loc directive.
740 2009-04-22 Nathan Sidwell <nathan@codesourcery.com>
742 * config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for
743 as_bad calls to silence compiler warning.
745 2009-04-21 H.J. Lu <hongjiu.lu@intel.com>
747 * config/tc-i386-intel.c (O_XXX): Reorder.
749 2009-04-20 Jan Beulich <jbeulich@novell.com>
751 * Makefile.am: Add explicit dependency of tc-i386.o on
753 * Makefile.in: Likewise.
754 * config/tc-i386.c (i386_finalize_immediate): Declare, broken
755 out from i386_immediate.
756 (i386_immediate): Slightly re-arrange, call
757 i386_finalize_immediate.
758 (i386_finalize_displacement): Declare, broken out from
760 (i386_displacement): Slightly re-arrange, call
761 i386_finalize_displacement.
762 (i386_intel_simplify, i386_intel_parse_name): Declare.
763 (this_operand): Initialize to -1.
764 (set_intel_syntax): Set expression rank for O_full_ptr.
765 (md_assemble): Set this_operand back to -1 after parsing
767 (x86_cons): Negate intel_syntax to indicate state. Call
769 (md_operand): Convert if to switch. Handle '[' for Intel
771 (i386_intel_operand): Delete, including all helper functions
773 * config/tc-i386-intel.c: New file, all new code.
774 * config/tc-i386.h (i386_operator): Declare.
775 (md_operator): Define to i386_operator.
776 (i386_need_index_operator): Declare.
777 (md_need_index_operator): Define to i386_need_index_operator.
778 (O_full_ptr): Define.
780 2009-04-20 Jan Beulich <jbeulich@novell.com>
782 * expr.c (operand): Call md_need_index_operator() and
783 md_operator() if defined. Add unary label.
784 (operator): Call md_operator() if defined.
785 (expr): Adjust assertions on range and rank of op_left and
786 op_right. Don't abort on unhandled operators when reducing
787 expressions with both operands being constant.
788 (expr_set_rank): New.
789 * expr.h (expr_set_rank): Declare.
791 2009-04-15 Anthony Green <green@moxielogic.com>
793 * config/tc-moxie.h: New file.
794 * config/tc-moxie.c: New file.
795 * configure: Add support for moxie.
796 * configure.tgt: Add support for moxie.
798 2009-04-16 Jan Beulich <jbeulich@novell.com>
800 * expr.c: Include limits.h if available, and #define CHAR_BITS
802 (expr): Check range of shift count when evaluating a constant
805 2009-04-15 Jan Beulich <jbeulich@novell.com>
807 * config/tc-i386.c (process_operands): Print operands in
808 correct order depending on intel_syntax.
810 2009-04-09 Catherine Moore <clm@codesourcery.com>
812 * config/tc-mips.c (mips_fix_24k): Declare.
813 (check_for_24k_errata): New.
814 (mips_cleanup): Call check_for_24k_errata.
815 (start_noreorder): Likewise.
816 (md_mips_end): Likewise.
817 (s_change_sec): Likewise.
818 (s_change_section): Likewise.
819 (append_insn): Call check_for_24k_errata. Prevent
820 ERET/DERET instructions from being moved into delay
822 (OPTION_FIX_24K): New.
823 (OPTION_NO_FIX_24k) New.
824 (md_longopts): Add "mfix-24k" and "mno-fix-24k".
825 (md_parse_option): Handle fix-24k options.
826 (md_show_usage): Display fix-24k options.
827 * doc/c-mips.texi: Document.
829 2009-04-09 Adam Nemet <anemet@caviumnetworks.com>
831 * config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS
832 instead of HAVE_64BIT_SYMBOLS.
834 2009-04-07 DJ Delorie <dj@redhat.com>
836 * config/tc-mep.c: Add UCI/DSP instruction support. Add C5 support.
837 (md_show_usage): Change default endian to little.
838 * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little.
840 2009-04-06 DJ Delorie <dj@redhat.com>
842 * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA
844 (build_bytes): Pass insn to do_a_fix_imm.
846 2009-04-02 Daniel Gutson <dgutson@codesourcery.com>
848 * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
849 * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and
852 2009-04-01 Matt Thomas <matt@netbsd.org>
854 * config/tc-vax.c (synthetic_votstrs): add "jbbcci" and "jbbssi"
855 (md_assemble): emit symbol name when used as immediate in PIC mode.
856 (md_assemble): fix LP64 bug (use sizeof (valueT) instead 4).
858 2009-04-01 Sterling Augustine <sterling@jaw.hq.tensilica.com>
860 * config/tc-xtensa.c (parse_arguments): call demand_empty_rest_of_line
862 2009-04-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
864 * config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF.
865 (find_real_start): Likewise.
866 * config/tc-arm.h (TC_VALIDATE_FIX): Likewise
868 2009-04-01 Nathan Sidwell <nathan@codesourcery.com>
870 * config/tc-arm.c (do_nop): Generate v6k nops whenever possible.
871 (arm_handle_align): Generate v6k ARM, thumb2 wide & narrow nops
874 2009-03-31 Peter Bergner <bergner@vnet.ibm.com>
876 * config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop.
878 2009-03-31 Dave Korn <dave.korn.cygwin@gmail.com>
880 * doc/internals.texi: Fix trivial syntax errors.
882 2009-03-26 Alan Modra <amodra@bigpond.net.au>
885 * config/tc-i386.c (reloc): Don't abort on lack of required
888 2009-03-25 H.J. Lu <hongjiu.lu@intel.com>
890 * config/tc-i386.c (parse_insn): Use default_arch on unsupported
893 2009-03-23 H.J. Lu <hongjiu.lu@intel.com>
896 * listing.c (listing_newline): Properly handle `\\"' and ';'.
898 * read.c (is_end_of_line): Update comments for line separator.
899 (read_begin): Set line separator in is_end_of_line to 2.
901 2009-03-19 David S. Miller <davem@davemloft.net>
903 * config/tc-sparc.c (md_parse_option): If the user gives
904 us '--64' make sure max_architecture is at least V9.
906 2009-03-18 Andrew Stubbs <ams@codesourcery.com>
908 * config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and
909 BFD_RELOC_ARM_ADRL_IMMEDIATE value is in the correct section.
910 Check BFD_RELOC_ARM_ADRL_IMMEDIATE has a defined symbol.
912 2009-03-18 Alan Modra <amodra@bigpond.net.au>
914 * as.h: Include alloca-conf.h instead of config.h and remove
915 existing #if's handling alloca.
916 * Makefile.am: Run "make dep-am".
917 * Makefile.in: Regenerate.
919 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
921 * config/tc-ppc.c (ppc_frob_symbol): Add csect information for
924 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
926 * config/tc-ppc.c (md_apply_fix): On COFF targets, always reread
927 "value" from fx_offset. Manually resubtract md_pcrel_from_section
930 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
932 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
933 * configure.in: Likewise.
934 * configure: Regenerate.
936 2009-03-11 Hans-Peter Nilsson <hp@axis.com>
938 * config/tc-cris.c (cris_create_short_jump): Remove prototype.
939 Rename, changing all callers, to...
940 (md_create_short_jump): Adjust head comment. Assert
941 word-sized-branch distance for v32. Bail out calling as_fatal for
942 compatibility mode here.
943 (md_create_long_jump): ...not here.
944 * config/tc-cris.h (md_create_short_jump): Do not define.
946 2009-03-10 Hans-Peter Nilsson <hp@axis.com>
948 * write.c (write_object_file) [!WORKING_DOT_WORD]: When patching
949 the jump table for multiple overflowing entries with the same
950 target, handle base symbols being different.
951 (relax_segment) <case rs_broken_word, second loop>: Whenever a
952 single entry overflows, arrange to redirect all entries with the
955 2009-03-10 Alan Modra <amodra@bigpond.net.au>
957 * config/tc-ppc.c (parse_cpu): Delete.
958 (md_parse_option, ppc_machine): Use ppc_parse_cpu.
960 2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
963 * config/tc-i386.h (LOCAL_LABELS_DOLLAR): New. Defined as 0.
964 (LOCAL_LABELS_FB): Undefine befoe define.
966 2009-03-06 Nick Clifton <nickc@redhat.com>
968 * po/es.po: Updated Spanish translation.
970 2009-03-05 Joseph Myers <joseph@codesourcery.com>
972 * read.c (s_fill, s_space, s_float_space, float_cons, stringer,
973 s_incbin): Call md_cons_align (1).
975 2009-03-04 Nick Clifton <nickc@redhat.com>
977 * config/tc-alpha.c (alpha_prologue_label): Only define for ELF
979 (s_alpha_comm): Only define "temp" and "log_align" local variables
982 2009-03-04 Alan Modra <amodra@bigpond.net.au>
984 * config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs
985 have non-zero addend.
986 (md_assemble): Parse args of __tls_get_addr calls.
987 (md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD.
989 2009-03-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
992 * config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with
993 local scope for ELF targets.
995 2009-03-04 Alan Modra <amodra@bigpond.net.au>
997 * config/tc-ppc.c (md_assemble): APUinfo only for e500.
999 2009-03-03 Tristan Gingold <gingold@adacore.com>
1000 Eric Botcazou <ebotcazou@adacore.com>
1001 Douglas B Rupp <rupp@gnat.com>
1003 * doc/as.texinfo (Overview): Mention -replace/-noreplace options
1005 * doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace.
1006 * config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax).
1007 (OBJ_SYMFIELD_TYPE): Remove.
1008 (tc_canonicalize_symbol_name): Define to evax_shorten_name.
1009 (TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax.
1010 (tc_frob_file_before_fix): Do not defined on evax.
1011 * config/tc-alpha.c: Always includes dwarf2dbg.h.
1012 Include vms.h if OBJ_EVAX.
1013 (struct alpha_fixup): Add xtrasym and procsym (evax only).
1014 (enum alpha_macro_arg): Remove trailing comma.
1015 (md_longopts): Add replace and noreplace arguments (evax only).
1016 (alpha_evax_proc_hash): New variable.
1017 (alpha_link_section): Make it global.
1018 (alpha_ctors_section, alpha_dtors_section): Removed.
1019 (alpha_ctors_symbol, alpha_dtors_symbol): Ditto.
1020 (alpha_lit8_section): Ifndef'ed on evax.
1021 (alpha_lit8_symbol): Ditto.
1022 (alpha_prologue_label): New variable.
1023 (alpha_linkage_symbol): New variable (evax only).
1024 (alpha_flag_replace): Ditto.
1025 (struct alpha_evax_procs): Add handler and handler_data field.
1026 (alpha_evax_proc): Now of type pointer.
1027 (alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables.
1028 (struct alpha_reloc_tag): Add sym and psym fields (evax only).
1029 (get_alpha_reloc_tag): Initialize sym and psym fields (evax only).
1030 (alpha_adjust_relocs): Ifndef'ed on evax.
1031 (load_expression): Add opname argument.
1032 Implement LDA/BSR optimization for evax.
1033 (emit_lda): Adjust for new prototype of load_expression.
1034 (emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols.
1035 (emit_loadstore): Likewise.
1036 (emit_ldXu): Likewise.
1037 (emit_stX): Likewise.
1038 (emit_jsrjmp): Likewise. Implement LDA/BSR optimization for evax.
1039 (emit_ldgp): Avoid warning in evax case.
1040 (add_to_link_pool): Make it static. Return symbolic expression rather
1041 than number expression for the offset.
1042 (s_alpha_text): Create .text symbol for evax if not already created.
1043 (s_alpha_comm): Do not create specific section for common symbol.
1044 Fill common area with zeros for evax.
1045 (s_alpha_prologue): Create alpha_prologue_label.
1046 (s_alpha_section_name): New function (evax).
1047 (s_alpha_section_word): Likewise.
1048 (section_name): New static variabke moved out from ...
1049 (s_alpha_section): ... here. Create new sections on demand.
1050 (s_alpha_literals): New function (evax).
1051 (s_alpha_ent): Create alpha_evax_proc instance and insert it in the
1052 alpha_evax_proc_hash table.
1053 (s_alpha_handler): New function (evax).
1054 (s_alpha_frame): Adjust for new type of alpha_evax_proc.
1055 (s_alpha_prologue): New function (evax).
1056 (s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new
1057 handling of procedures with hash table.
1058 Add support for condition handlers.
1059 (s_alpha_linkage): Create linkage_fixup instance and chain it.
1060 (s_alpha_fp_save): Adjust for new type of alpha_evax_proc.
1061 (s_alpha_mask): Likewise.
1062 (s_alpha_fmask): Likewise.
1063 (s_alpha_end): Clear alpha_evax_proc.
1064 (s_alpha_align): Increase max_alignment to 16.
1065 (alpha_print_token): Call print_expr_1 instead of print_expr.
1066 (md_pseudo_table): Add "section", "literals", "handler" and
1067 "handler_data" (evax). Do not ignore "prologue" on evax.
1069 (md_begin): Create hash table for alpha_evax_proc_hash.
1070 (md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE.
1071 (md_show_usage): Mention -replace/-noreplace for evax.
1072 (md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH).
1073 (alpha_force_relocation): Likewise.
1074 (alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case.
1075 (tc_gen_reloc): Likewise. Add BFD_RELOC_ALPHA_LINKAGE for evax.
1076 (emit_insn): New cases for evax specific relocs.
1077 (assemble_insn): Fix indentation.
1078 Take care of -MDISP in operand table.
1079 * config/obj-evax.h (struct alpha_linkage_fixups): New struct.
1080 (OBJ_SYMFIELD_TYPE): New macro.
1081 (obj_symbol_new_hook): Define.
1082 (obj_frob_symbol, obj_frob_file_before_adjust): Ditto.
1083 (obj_frob_file_before_fix): Ditto.
1084 (PDSC_S_M_HANDLER_VALID): New macro.
1085 (PDSC_S_M_HANDLER_DATA_VALID): Ditto.
1086 (TC_IMPLICIT_LCOMM_ALIGNMENT): Remove.
1087 Add prototypes for functions declared in obj-evax.c
1088 * config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h.
1089 (s_evax_weak): Convert to ansi-C.
1090 (evax_symbol_new_hook): New function.
1091 (evax_frob_symbol): Ditto.
1092 (evax_frob_file_before_adjust): Ditto.
1093 (evax_frob_file_before_fix): Ditto.
1094 (evax_shorten_name): Ditto.
1099 (shorten_identifier): Ditto.
1100 (is_truncated_identifier): Ditto.
1101 * dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS.
1102 * as.c (close_output_file): Remove #ifndef OBJ_VMS.
1105 2009-03-03 Alan Modra <amodra@bigpond.net.au>
1107 * Makefile.am: Run "make dep-am".
1108 * Makefile.in: Regenerate.
1110 2009-03-02 Nick Clifton <nickc@redhat.com>
1113 * config/tc-ia64.c (fix_insn): Fix warning reported by
1116 2009-03-02 Qinwei <qinwei@sunnorth.com.cn>
1118 * config/tc-score7.c: New file.
1119 * doc/c-score.texi: New file.
1120 * Makefile.am: Update dependencies for tc-score.c.
1121 * Makefile.in: Regenerate.
1122 * NEWS: Mention support for Score7 architecture.
1123 * config/tc-score.c: Add support for Score7 architecture.
1124 * config/tc-score.h: Likewise.
1125 * doc/Makefile.am: Add c-score.texi.
1126 * doc/Makefile.in: Regenerate.
1127 * doc/all.texi: Add Score7.
1128 * doc/as.texinfo: Add Score7.
1130 2009-03-01 Mark Mitchell <mark@codesourcery.com>
1132 * config/tc-arm.c (md_assemble): Allow barrier instructions on
1135 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1137 * configure: Regenerate.
1139 2009-02-26 Peter Bergner <bergner@vnet.ibm.com>
1141 * config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
1142 "f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
1143 (parse_cpu): Extend -mpower7 to accept power7 and isel instructions.
1145 2009-02-25 H.J. Lu <hongjiu.lu@intel.com>
1147 * config/tc-i386.c (fits_in_imm4): Removed.
1149 2009-02-24 Helge Deller <deller@gmx.de>
1151 * config/tc-hppa.c (pa_ip): Add check of immediate values.
1152 (SAVE_IMMEDIATE): New define.
1154 2009-02-23 Mark Mitchell <mark@codesourcery.com>
1156 * config/tc-arm.c (warn_deprecated_sp): New macro.
1157 (do_t_mov_cmp): Permit R13 as the second
1158 argument to "cmp.n".
1160 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
1162 * config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM.
1163 (pt): Replace UINTS_ALL_ZERO with operand_type_all_zero.
1165 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
1167 * config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4.
1169 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
1171 * config/tc-i386.c (vex_imm4): Removed.
1172 (VEX_check_operands): Likewise.
1173 (match_template): Updated.
1175 2009-02-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
1177 * doc/all.texi: Set S390.
1178 * doc/as.texinfo: Add S390 support and pull in c-s390.texi.
1179 * doc/Makefile.am (CPU_DOCS): Add c-s390.texi.
1180 * doc/Makefile.in: Likewise.
1181 * doc/c-s390.texi: New.
1183 2009-02-12 Nathan Sidwell <nathan@codesourcery.com>
1185 * config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR.
1186 (mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New.
1187 (mcf5307_ctrl): Add VBR.
1188 (no_mac): New variable.
1189 (m68k_extensions): Refer to no_mac mask.
1190 (m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277,
1191 52252..52259, 53011..53017.
1192 (m68k_ip): Process CPUCR.
1193 (init_table): Add cpucr entry.
1194 (m68k_set_extension): Allow negated mask to refer to a variable.
1195 (md_show_usage): Use '%s' to silence fprintf warning.
1196 * config/m68k-parse.h (CPUCR): New control register.
1198 2009-02-10 Nathan Sidwell <nathan@codesourcery.com>
1200 * config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for
1201 as_bad calls to silence compiler warning.
1203 2009-02-06 Nick Clifton <nickc@redhat.com>
1206 * config/tc-arm.c (MODE_RECORDED): New define.
1207 (output_inst): Record the thumb_mode in the current frag.
1208 (arm_handle_align): Ignore the MODE_RECORDED bit in tc_frag_data.
1209 (arm_init_frag): Only set the tc_frag_data field if it has not
1212 2009-02-04 H.J. Lu <hongjiu.lu@intel.com>
1214 AVX Programming Reference (January, 2009)
1215 * config/tc-i386.c (CPU_FLAGS_PCLMUL_MATCH): New.
1216 (CPU_FLAGS_AVX_MATCH): Updated.
1217 (CPU_FLAGS_32BIT_MATCH): Likewise.
1218 (cpu_flags_match): Likewise.
1220 2009-02-03 Sandip Matte <sandip@rmicorp.com>
1222 * config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T,
1223 M_MSGWAIT and M_MSGWAIT_T.
1224 (mips_cpu_info_table): Add XLR entry.
1225 * doc/c-mips.texi (-march): Document xlr.
1227 2009-02-03 Eric B. Weddington <eric.weddington@atmel.com>
1229 * config/tc-avr.c (mcu_types): Add ata6289.
1230 * doc/c-avr.texi: Likewise.
1232 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
1234 * configure.in: AC_SUBST pdfdir.
1235 * Makefile.am: Add install-pdf, install-pdf-am,
1236 and install-pdf-recursive targets.
1237 * doc/Makefile.am: Define pdf__strip_dir. Add
1238 install-pdf and install-pdf-am targets.
1239 * po/Make-in: Add install-pdf target.
1240 * configure: Regenerate.
1241 * Makefile.in: Regenerate.
1242 * doc/Makefile.in: Regenerate.
1244 2009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com>
1246 * config/m68k-parse.h (enum pic_relocation): Add values for TLS
1248 * config/m68k-parse.y (yylex): Parse TLS relocations.
1249 * config/tc-m68k.c (m68k_elf_cons): New static function.
1250 (md_pseudo_table): Use it.
1251 (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
1253 (md_apply_fix): Fix to set thread local flag.
1254 (m68k_elf_suffix): New static function; helper for m68k_elf_cons.
1256 2009-02-03 Vince Weaver <vince@csl.cornell.edu>
1259 * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of
1260 indexed addressing for symbolic expressions.
1262 2009-01-29 Mark Mitchell <mark@codesourcery.com>
1264 * config/tc-arm.c (BAD_SP): Define.
1265 (s_arm_unwind_fnstart): Use REG_SP.
1266 (s_arm_unwind_setfp): Likewise.
1267 (reject_bad_reg): New macro.
1268 (do_co_reg): Check for bad registers.
1269 (do_co_reg2c): Likewise.
1270 (do_srs): Use REG_SP.
1271 (do_t_add_sub): Check for bad registers.
1272 (do_t_adr): Likewise.
1273 (do_t_arit3): Likewise.
1274 (do_t_arit3c): Likewise.
1275 (do_t_bfc): Likewise.
1276 (do_t_bfi): Likewise.
1277 (do_t_bfx): Likewise.
1278 (do_t_blx): Likewise.
1279 (do_t_bx): Likewise.
1280 (do_t_bxj): Likewise.
1281 (do_t_clz): Likewise.
1282 (do_t_div): Likewise.
1283 (do_t_mla): Likewise.
1284 (do_t_mlal): Likewise.
1285 (do_t_mov_cmp): Likewise.
1286 (do_t_mov16): Likewise.
1287 (do_t_mvn_tst): Likewise.
1288 (do_t_mrs): Likewise.
1289 (do_t_msr): Likewise.
1290 (do_t_mul): Likewise.
1291 (do_t_mull): Likewise.
1292 (do_t_orn): Likewise.
1293 (do_t_pkhbt): Likewise.
1294 (do_t_pld): Likewise.
1295 (do_t_rbit): Likewise.
1296 (do_t_rev): Likewise.
1297 (do_t_rrx): Likewise.
1298 (do_t_rsb): Likewise.
1299 (do_t_shift): Likewise.
1300 (do_t_simd): Likewise.
1301 (do_t_ssat): Likewise.
1302 (do_t_ssat16): Likewise.
1303 (do_t_sxtah): Likewise.
1304 (do_t_sxth): Likewise.
1305 (do_t_tb): Likewise.
1306 (do_t_usat): Likewise.
1307 (do_t_usat16): Likewise.
1308 (nysn_insert_sp): Use REG_SP.
1310 2009-01-29 Mark Mitchell <mark@codesourcery.com>
1312 * config/tc-arm.c (do_t_orn): New function.
1313 (do_t_rrx): Likewise.
1314 (insns): Add orn and rrx.
1316 2009-01-29 Mark Mitchell <mark@codesourcery.com>
1318 * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
1319 uasx, uhasx, uhsx, uqasx, uqsax, usax.
1321 2009-01-29 Mark Mitchell <mark@codesourcery.com>
1323 * config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub,
1324 qdsub in Thumb-2 mode.
1326 2009-01-29 Paul Brook <paul@codesourcery.com>
1327 Mark Mitchell <mark@codesourcery.com>
1329 * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding
1330 of MUL when possible.
1332 2009-01-29 Nick Clifton <nickc@redhat.com>
1334 * config/tc-mep.h (DIFF_EXPR_OK): Do not define.
1336 2009-01-29 Nathan Sidwell <nathan@codesourcery.com>
1337 Catherine Moore <clm@codesourcery.com?
1339 * doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte,
1340 .4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32
1343 2009-01-27 Nick Clifton <nickc@redhat.com>
1345 * config/tc-mips.c (append_insn): Cope with a complex reloc
1346 sequence containing an unsupported reloc type.
1347 (enum options): Replace computed #define's constants for option
1348 numbers with this enum.
1349 (struct md_longopts): Use the enum. Allow OPTION_32 in a non-ELF
1351 (md_parse_option): Allow -32 in a non-ELF environment.
1353 2009-01-26 Andrew Stubbs <ams@codesourcery.com>
1355 * config/tc-arm.c (attributes_set_explicitly): New array.
1356 (s_arm_eabi_attribute): Check return value from s_vendor_attribute.
1357 (cpu_arch): Add ARM_ARCH_V5T.
1358 (aeabi_set_attribute_int): New function.
1359 (aeabi_set_attribute_string): New function.
1360 (aeabi_set_public_attributes): Set attributes according to the user's
1361 intentions, rather than the actual state of the binary.
1362 Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of
1363 bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string.
1364 Support WMMXv2. Use attribute names instead of numbers.
1365 * read.c (s_vendor_attribute): Change return type to int.
1366 Return the tag number that was set.
1367 * read.h (s_vendor_attribute): Change return type to int.
1369 2009-01-26 Eric B. Weddington <eric.weddington@atmel.com>
1372 * config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name.
1373 * doc/c-avr.texi: Likewise.
1375 2009-01-23 Nathan Sidwell <nathan@codesourcery.com>
1377 * doc/c-arm.texi (): Document -mwarn-deprecated.
1378 * config/tc-arm.c (WARN_DEPRECATED): Remove. Replace with ...
1379 (warn_on_deprecated): ... this.
1380 (opcode_lookup, md_assemble): Check it before warning.
1381 (arm_opts): Add m[no-]warn-deprecated.
1382 (md_parse_option): Replace WARN_DEPRECATED with
1385 2009-01-23 Andreas Schwab <schwab@suse.de>
1387 * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
1388 arguments to macro_build to match format.
1390 * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.
1391 * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define.
1393 2009-01-19 Nick Clifton <nickc@redhat.com>
1395 * config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for
1396 ELF format ARM targets.
1397 * config/tc-arm.c (arm_convert_symbolic_attribute): Likewise.
1399 2009-01-19 Nick Clifton <nickc@redhat.com>
1401 * configure.tgt: Restore alpha sorting to object format switch
1404 2009-01-19 Andrew Stubbs <ams@codesourcery.com>
1406 * read.c (s_vendor_attribute): Allow for unknown flag bits in type.
1408 2009-01-16 Mark Shinwell <shinwell@codesourcery.com>
1410 * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5.
1411 * config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.
1413 2009-01-16 Andrew Stubbs <ams@codesourcery.com>
1414 Daniel Jacobowitz <dan@codesourcery.com>
1416 * config/tc-arm.c (arm_copy_symbol_attributes): New function.
1417 * config/tc-arm.h (arm_copy_symbol_attributes): New prototype.
1418 (CONVERT_SYMBOLIC_ATTRIBUTE): New define.
1419 * read.c (s_vendor_attribute): Add support for symbolic tag names.
1420 Improve string parser.
1421 * doc/c-arm.texi (ARM Machine Directives): Document
1422 .eabi_attribute symbolic tag names.
1424 2009-01-16 Alan Modra <amodra@bigpond.net.au>
1426 * configure.in (commonbfdlib): Delete.
1427 * configure: Regenerate.
1428 * po/POTFILES.in: Regenerate.
1430 2009-01-15 Andrew Stubbs <ams@codesourcery.com>
1431 Julian Brown <julian@codesourcery.com>
1433 * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11.
1435 2009-01-15 Andrew Stubbs <ams@codesourcery.com>
1437 * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat ->
1438 bfd_elf_add_obj_attr_int_string.
1440 2009-01-15 Douglas B Rupp <rupp@gnat.com>
1442 * configure.tgt(ia64-*-*vms*): New target.
1443 * dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
1444 * tc.h (md_number_to_chars): Declare iff undefined.
1445 * config/obj-elf.c (obj_elf_change_section): Change type of arg
1447 (obj_elf_parse_section_letters): Return a bfd_vma. Change type of
1448 variables attr, md_attr to bfd_vma.
1449 (obj_elf_section_word): Likewise.
1450 (obj_elf_section): Change type of variable attr to bfd_vma
1451 * config/obj-elf.h (obj_elf_change_section): Change type of arg
1453 * config/tc-ia64.c (bfdver.h,time.h): Include.
1454 (ia64_elf_section_letter): Now returns a bfd_vma.
1455 Handle VMS specific attributes.
1456 (ia64_elf_section_flags): Arg attr now a bfd_vma.
1457 (ia64_init): Don't turn on dependency checking for VMS.
1458 (ia64_target_format): Check for VMS flag bit.
1459 (do_alias): Hande decc$ functions.
1460 (get_vms_time): New function.
1461 (ia64_vms_note): New function.
1462 * config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
1463 (ia64_elf_section_flags): Arg attr now a bfd_vma.
1464 (tc_init_after_args): Define for VMS.
1465 * config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
1466 (alpha_elf_section_flags): Change type of arg attr to bfd_vma.
1467 * config/tc-alpha.h: Likewise.
1468 * config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
1469 (x86_64_section_word): Return a bfd_vma.
1470 * config/tc-i386.h: Likewise.
1471 * config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
1473 * config/tc-ip2k.h: Likewise.
1474 * config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
1475 (mep_elf_section_flags): Change type of arg attr to bfd_vma.
1476 * config/tc-mep.h: Likewise.
1477 * config/tc-ppc.c (ppc_section_letter): Return a bfd_vma.
1478 (ppc_section_word): Return a bfd_vma.
1479 (ppc_section_flags): Change type of arg attr to bfd_vma.
1480 * config/tc-ppc.h: Likewise.
1481 * config/tc-frv.h: Provide a prototype for frv_md_number_to_chars.
1482 * config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
1483 DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
1484 New file with new macros
1485 * dwarf2dbg.c (get_filenum, out_file_list): Default and call new
1488 2009-01-15 Nick Clifton <nickc@redhat.com>
1491 * config/tc-arm.c (do_t_nop): Check for availability of Thumb2
1492 instructions before generating a Thumb2 nop.
1494 2009-01-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1496 * config/tc-s390.h: Define LOCAL_LABEL_PREFIX.
1498 2009-01-12 Alan Modra <amodra@bigpond.net.au>
1500 * config/tc-spu.c (md_pseudo_table): Add "brinfo".
1502 (md_assemble): Poke brinfo into branch instructions.
1503 (spu_brinfo): New function.
1504 (md_apply_fix): Don't assume insn fields start off at zero, mask
1505 them to remove possible brinfo.
1507 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
1509 * doc/c-i386.texi: Reformat.
1511 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
1513 * config/tc-i386.c (cpu_arch): Add corei7, .clflush and
1515 (i386_align_code): Handle PROCESSOR_COREI7.
1516 (md_show_usage): Add corei7, clflush and syscall.
1517 (i386_target_format): Replace cpup4 with cpuclflush.
1519 * config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
1521 * doc/c-i386.texi: Document corei7, clflush and syscall.
1523 2009-01-09 H.J. Lu <hongjiu.lu@intel.com>
1525 * config/tc-i386.c (cpu_arch): Add .rdtscp.
1526 (md_show_usage): Display rdtscp.
1528 * doc/c-i386.texi: Document rdtscp.
1530 2009-01-09 Peter Bergner <bergner@vnet.ibm.com>
1532 * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
1533 Test the new "deprecated" opcode field.
1535 2009-01-07 Sterling Augustine <sterling@tensilica.com>
1537 * config/tc-xtensa.c (produce_flix): New.
1538 (option_flix, optoin_no_generate_flix, option_no_flix) Define.
1539 (md_longopts): Add support for them.
1540 (md_parse_option): Likewise.
1541 (md_show_usage): Add help message.
1542 (finish_vinsn): Don't allow multi-slot flix when produce_flix
1543 option is set to FLIX_NONE.
1544 * config/xtensa-relax.c (transition_applies): Only relax to
1545 flix branches when produce_flix equals FLIX_ALL.
1546 * config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE
1548 (produce_flix): Declare.
1550 2009-01-06 Chao-ying Fu <fu@mips.com>
1552 * config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff.
1553 Use strncmp to match jalr and jalr.hb.
1556 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
1558 AVX Programming Reference (December, 2008)
1559 * config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction
1560 support. Don't swap REG and NDS for FMA.
1562 2009-01-02 Matthias Klose <doko@ubuntu.com>
1564 * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
1567 For older changes see ChangeLog-2008
1573 version-control: never