1 2009-07-28 Jan Beulich <jbeulich@novell.com>
3 * expr.c (op_rank): Specify size. Remove O_md* initializers.
5 2009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
7 * config/tc-m68k.c (mcf5221x_ctrl): New.
8 (m68k_cpu): Add line for MCF5221x.
10 2009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
12 * config/tc-m68k.c (mcf52235_ctrl): Remove non-existent CACR, ACR[01].
13 (mcf53017_ctrl): Fix RAMBAR.
15 2009-07-27 Jan Beulich <jbeulich@novell.com>
17 * obj-elf.c (elf_file_symbol): Replace symbol name set up by
18 symbol_new() with the passed in, unmodified one.
20 2009-07-27 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
22 * config/tc-cr16.c (md_apply_fix): Put the addend value alone in to
23 object file without symbol values.
24 (tc_gen_reloc): For local symbols resolved or its absolute symbol,
25 then set the relocation type as NULL.
27 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
29 * config/tc-i386.c (cpu_arch): Add l1om.
30 (check_cpu_arch_compatible): New.
31 (set_cpu_arch): Use it.
33 (i386_mach): Return bfd_mach_l1om for Intel L1OM.
34 (md_show_usage): Display l1om.
35 (i386_target_format): Return ELF_TARGET_L1OM_FORMAT if
36 cpu_arch_isa_flags.bitfield.cpul1om is set.
38 * config/tc-i386.h (TARGET_ARCH): Use (i386_arch ()).
40 (ELF_TARGET_L1OM_FORMAT): Likewise.
42 * doc/c-i386.texi: Document l1om.
44 2009-07-24 Roland McGrath <roland@redhat.com>
45 Mark Wielaard <mjw@redhat.com>
47 * config/obj-elf.c (obj_elf_ident): Set SEC_MERGE | SEC_STRINGS
48 flags on .comment section.
50 2009-07-24 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
51 Alan Modra <amodra@bigpond.net.au>
53 * config/tc-spu.c (md_apply_fix): Handle SPU_ADD_PIC.
54 * config/tc-spu.h (tc_fix_adjustable): Don't adjust for SPU_ADD_PIC.
55 (TC_FORCE_RELOCATION): Emit relocs for SPU_ADD_PIC.
57 2009-07-24 Jan Beulich <jbeulich@novell.com>
59 * tc-i386.c (cpu_arch): Add .8087, .287, .387, .no87, .nommx,
61 (cpu_flags_and_not): New.
62 (set_cpu_arch): Check whether sub-architecture specified is a
64 (md_parse_option): Likewise.
65 (parse_real_register): Don't return floating point register
66 when x87 functionality is disabled.
67 (md_show_usage): Add new sub-options.
68 * doc/c-i386.texi: Update with new command line sub-options.
70 2009-07-24 Nick Clifton <nickc@redhat.com>
73 * config/tc-alpha.c: Fix up uses of gas printf like functions so
74 that the format string is a constant string. Add translation
75 support to message strings.
76 * config/tc-arc.c: Likewise.
77 * config/tc-arm.c: Likewise.
78 * config/tc-cris.c: Likewise.
79 * config/tc-fr30.c: Likewise.
80 * config/tc-frv.c: Likewise.
81 * config/tc-h8300.c: Likewise.
82 * config/tc-hppa.c: Likewise.
83 * config/tc-i370.c: Likewise.
84 * config/tc-i960.c: Likewise.
85 * config/tc-ia64.c: Likewise.
86 * config/tc-m32r.c: Likewise.
87 * config/tc-mep.c: Likewise.
88 * config/tc-mips.c: Likewise.
89 * config/tc-moxie.c: Likewise.
90 * config/tc-msp430.c: Likewise.
91 * config/tc-openrisc.c: Likewise.
92 * config/tc-pdp11.c: Likewise.
93 * config/tc-pj.c: Likewise.
94 * config/tc-s390.c: Likewise.
95 * config/tc-sh.c: Likewise.
96 * config/tc-sh64.c: Likewise.
97 * config/tc-sparc.c: Likewise.
98 * config/tc-spu.c: Likewise.
99 * config/tc-tic30.c: Likewise.
100 * config/tc-tic4x.c: Likewise.
101 * config/tc-tic54x.c: Likewise.
102 * config/tc-v850.c: Likewise.
103 * config/tc-xc16x.c: Likewise.
104 * config/tc-xstormy16.c: Likewise.
105 * config/tc-z80.c: Likewise.
106 * config/tc-z8k.c: Likewise.
107 * config/atof-ieee.c: Add translation support to as_warn
109 * config/obj-coff.c: Likewise.
111 2009-07-23 Ulrich Drepper <drepper@redhat.com>
113 * config/obj-elf.c (obj_elf_type): Add code to support a type of
115 * doc/as.texinfo: Document new feature of .type directive.
116 * NEWS: Mention support for gnu_unique_object symbol type.
118 2009-07-23 Nick Clifton <nickc@redhat.com>
121 * doc/c-mips.texi (MIPS insn): Document the special behaviour of
122 the .global directive for MIPS ports.
124 2009-07-21 H.J. Lu <hongjiu.lu@intel.com>
127 * config/tc-i386.c (i386_align_code): Tune for 32bit nops in
129 (i386_target_format): Set cpu_arch_isa_flags.bitfield.cpulm
132 2009-07-17 H.J. Lu <hongjiu.lu@intel.com>
134 * config/tc-i386.c (md_assemble): Update operand types.
135 (update_imm): Updated.
136 (finalize_imm): Update the first 2 immediate operands only
137 for instructions with 2 operands or more.
139 2009-07-17 H.J. Lu <hongjiu.lu@intel.com>
141 * config/tc-i386.c (md_assemble): Check implicit registers
142 only for instructions with 3 operands or less.
144 2009-07-17 Nick Clifton <nickc@redhat.com>
146 * config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid
147 compile time warning.
149 2009-07-16 H.J. Lu <hongjiu.lu@intel.com>
151 * config/tc-i386.c (md_assemble): Only check i.operands for AX.
152 (md_estimate_size_before_relax): Don't relax IFUNC symbols.
154 2009-07-16 Nathan Sidwell <nathan@codesourcery.com>
156 * config/tc-arm.c (md_apply_fix <BFD_RELOC_ARM_TARGET2>): Write
157 the offset for REL targets here.
159 2009-07-15 Kai Tietz <kai.tietz@onevision.com>
161 * listing.c (print_source): Initialize cache by NULL.
163 2009-07-15 Daniel Gutson <dgutson@codesourcery.com>
165 * doc/c-arm.texi (mauto-it): Removed old option.
166 (mimplicit-it): Added right option.
168 2009-07-14 Daniel Gutson <dgutson@codesourcery.com>
170 * config/tc-arm.h (MAX_MEM_ALIGNMENT_BYTES): Define.
171 (MAX_MEM_FOR_RS_ALIGN_CODE): Define in terms of
172 MAX_MEM_ALIGNMENT_BYTES.
173 * config/tc-arm.c (arm_frag_align_code): Replace hard coded
174 constant with MAX_MEM_FOR_RS_ALIGN_CODE.
176 2009-07-14 Nick Clifton <nickc@redhat.com>
179 * config/tc-arm.h (THUMB_IS_FUNC): Handle a NULL pointer.
180 (ARM_IS_FUNC): Likewise.
182 2009-07-14 Daniel Gutson <dgutson@codesourcery.com>
184 * config/tc-arm.c (md_assemble): Added validation.
186 2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
188 * Makefile.am: Run "make dep-am".
189 * Makefile.in: Regenerated.
191 2009-07-10 Tom Tromey <tromey@redhat.com>
193 * Makefile.am (DEPTC_alpha_ecoff): Refer to dwarf2.h, not
195 (DEPTC_alpha_elf): Likewise.
196 (DEPTC_alpha_evax): Likewise.
197 (DEPTC_arm_elf): Likewise.
198 (DEPTC_hppa_elf): Likewise.
199 (DEPTC_i386_aout): Likewise.
200 (DEPTC_i386_coff): Likewise.
201 (DEPTC_i386_elf): Likewise.
202 (DEPTC_m68k_aout): Likewise.
203 (DEPTC_m68k_coff): Likewise.
204 (DEPTC_m68k_elf): Likewise.
205 (DEPTC_mips_coff): Likewise.
206 (DEPTC_mips_ecoff): Likewise.
207 (DEPTC_mips_elf): Likewise.
208 (DEPTC_ppc_coff): Likewise.
209 (DEPTC_ppc_elf): Likewise.
210 (DEPTC_s390_elf): Likewise.
211 (DEPTC_sh_coff): Likewise.
212 (DEPTC_sh_elf): Likewise.
213 (DEPTC_sh64_elf): Likewise.
214 (DEPTC_sparc_aout): Likewise.
215 (DEPTC_sparc_coff): Likewise.
216 (DEPTC_sparc_elf): Likewise.
218 (dwarf2dbg.o): Likewise.
219 (dw2gencfi.o): Likewise.
222 * Makefile.in: Rebuild.
223 * dw2gencfi.h: Include dwarf2.h, not elf/dwarf2.h.
224 * dwarf2dbg.c: Likewise.
227 2009-07-09 Daniel Gutson <dgutson@codesourcery.com>
229 * config/tc-arm.c (it_fsm_post_encode): New forward declaration.
230 (set_it_insn_type_nonvoid): New macro.
231 (emit_thumb32_expr): New function.
232 (thumb_insn_size): New function.
233 (emit_insn): New function.
234 (s_arm_elf_inst): New function.
235 (md_pseudo_table): New pseudo-opcode entries added.
236 * doc/c-arm.texi: New directive added.
238 2009-07-07 DJ Delorie <dj@redhat.com>
240 * config/tc-mep.c (md_begin): Don't reset the coprocessor options
241 when enabling other options without a specific configuration.
243 2009-07-07 Chung-Lin Tang <cltang@pllab.cs.nthu.edu.tw>
245 * config/tc-arm.c (insns): Fix encoding for torvsc.
247 2009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
249 * config/tc-i386.c (cpu_arch): Add .fma4 and CPU_FMA4_FLAGS.
250 (build_modrm_byte): Add support to handle FMA4 instructions.
251 (md_show_usage): Add fma4.
253 2009-07-04 Alan Modra <amodra@bigpond.net.au>
255 * config/tc-cr16.h (TC_LINKRELAX_FIXUP): Set only for code sections.
257 2009-07-02 Tristan Gingold <gingold@adacore.com>
259 * Makefile.am (OBJ_FORMATS): Add macho.
260 (CPU_OBJ_VALID): Ditto.
261 (OBJ_FORMAT_CFILES): Add config/obj-macho.c
262 (OBJ_FORMAT_HFILES): Add config/obj-macho.h
263 (obj-macho.o): New rule.
264 * Makefile.in: Regenerated.
265 * configure.tgt (generic_target): Add i386-*-darwin*.
266 * config/tc-i386.h: Use i386_target_format for Mach-O.
267 * config/tc-i386.c (i386_target_format): Define it for Mach-O.
268 (i386_target_format): Add a case for bfd_target_mach_o_flavour.
269 * config/obj-macho.h: New file.
270 * config/obj-macho.c: New file.
272 2009-07-01 Nick Clifton <nickc@redhat.com>
275 * config/tc-arm.c (do_t_pkhtb): Swap Rm and Rn when encoding as
278 2009-07-01 Paul Brook <paul@codesourcery.com>
280 * config/tc-arm.c (MISSING_FNSTART): Define.
281 (s_arm_unwind_fnstart): Diagnose duplicate directive.
282 (s_arm_unwind_handlerdata, s_arm_unwind_fnend, s_arm_unwind_fnend,
283 s_arm_unwind_cantunwind, s_arm_unwind_personalityindex,
284 s_arm_unwind_personality, s_arm_unwind_save, s_arm_unwind_movsp,
285 s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): Error if
286 not inside function unwinding region.
288 2009-06-29 H.J. Lu <hongjiu.lu@intel.com>
290 * config/tc-i386.c: Reformat.
292 2009-06-23 DJ Delorie <dj@redhat.com>
294 * config/tc-mep.c (mep_check_ivc2_scheduling): For IVC2, allocate
295 32 bits for relaxable branches so that we can relax them later.
296 (md_estimate_size_before_relax): Assume IVC2 branches will be relaxed.
297 (mep_relax_frag): New.
298 (md_convert_frag): Relax IVC2 branches in-place.
299 * config/tc-mep.h ((mep_relax_frag): New.
301 2009-06-22 Martin Thuresson <martin@mtme.org>
303 * gas/app, gas/as.c, gas/as.h, gas/atof-generic.c, gas/cgen.c,
304 gas/config/atof-ieee.c, gas/config/obj-aout.c,
305 gas/config/obj-coff.c, gas/config/obj-ecoff.c,
306 gas/config/obj-elf.c, gas/config/obj-som.c, gas/config/tc-alpha.c,
307 gas/config/tc-arc.c, gas/config/tc-arm.c, gas/config/tc-cr16.c,
308 gas/config/tc-cris.c, gas/config/tc-crx.c, gas/config/tc-d30v.c,
309 gas/config/tc-dlx.c, gas/config/tc-hppa.c, gas/config/tc-i370.c,
310 gas/config/tc-i386-intel.c, gas/config/tc-i386.c,
311 gas/config/tc-i860.c, gas/config/tc-i960.c, gas/config/tc-ia64.c,
312 gas/config/tc-iq2000.c, gas/config/tc-m32c.c,
313 gas/config/tc-m32r.c, gas/config/tc-m68hc11.c,
314 gas/config/tc-m68k.c, gas/config/tc-maxq.c, gas/config/tc-mcore.c,
315 gas/config/tc-mep.c, gas/config/tc-mips.c, gas/config/tc-mmix.c,
316 gas/config/tc-mn10300.c, gas/config/tc-moxie.c,
317 gas/config/tc-ns32k.c, gas/config/tc-pj.c, gas/config/tc-ppc.c,
318 gas/config/tc-s390.c, gas/config/tc-score.c,
319 gas/config/tc-score7.c, gas/config/tc-sh.c, gas/config/tc-sparc.c,
320 gas/config/tc-spu.c, gas/config/tc-tic30.c, gas/config/tc-vax.c,
321 gas/config/tc-xtensa.c, gas/config/xtensa-relax.c,
322 gas/dw2gencfi.c, gas/dwarf2dbg.c, gas/ehopt.c, gas/expr.c,
323 gas/frags.c, gas/input-file.c, gas/read.c, gas/sb.c,
324 gas/subsegs.c, gas/symbols.c, gas/write.c: Change the name of the
325 gas macro `assert' to `gas_assert'.
327 2009-06-22 Daniel Gutson <dgutson@codesourcery.com>
329 * config/tc-arm.c (implicit_it_mode): New enum.
330 (implicit_it_mode): New global.
331 (it_instruction_type): New enum.
332 (arm_parse_it_mode): New function.
333 (arm_long_opts): New option added.
335 (it_state): New enum.
337 (check_it_blocks_finished): New function.
338 (insns[]): Use the IT Thumb opcodes for ARM too.
339 (arm_cleanup): Call check_it_blocks_finished.
340 (now_it_compatible): New function.
341 (conditional_insn): New function.
342 (set_it_insn_type): New macro.
343 (set_it_insn_type_last): New macro.
344 (do_it): Call automatic IT machinery functions.
345 (do_t_add_sub): Likewise
346 (do_t_arit3): Likewise.
347 (do_t_arit3c): Likewise.
348 (do_t_blx): Likewise.
349 (do_t_branch): Likewise.
350 (do_t_bkpt): Likewise.
351 (do_t_branch23): Likewise.
353 (do_t_bxj): Likewise.
354 (do_t_cps): Likewise.
355 (do_t_cpsi): Likewise.
356 (do_t_cbz): Likewise.
358 (encode_thumb2_ldmstm): Likewise.
359 (do_t_ldst): Likewise.
360 (do_t_mov_cmp): Likewise.
361 (do_t_mvn_tst): Likewise.
362 (do_t_mul): Likewise.
363 (do_t_neg): Likewise.
364 (do_t_setend): Likewise.
365 (do_t_shift): Likewise.
367 (output_it_inst): New function.
368 (new_automatic_it_block): New function.
369 (close_automatic_it_block): New function.
370 (now_it_add_mask): New function.
371 (it_fsm_pre_encode): New function.
372 (handle_it_state): New function.
373 (it_fsm_post_encode): New function.
374 (force_automatic_it_block_close): New function.
375 (in_it_block): New function.
376 (md_assemble): Call automatic IT block machinery functions.
377 (arm_frob_label): Likewise.
378 (arm_opts): New element.
379 * config/tc-arm.h (it_state): New enum.
380 (current_it): New struct.
381 (arm_segment_info_type): New member added.
382 * doc/c-arm.texi: New option -mimplicit-it documented.
384 2009-06-20 Alan Modra <amodra@bigpond.net.au>
387 * doc/as.texinfo (Section <ELF "M,S" flag>): Clarify tail merge.
389 2009-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
391 * config/tc-s390.c (md_gather_operands): Accept an instruction
392 without operands if all operands are tagged as optional.
394 2009-06-18 Nick Clifton <nickc@redhat.com>
397 * gas/tc-arm.c (do_t_ssat): Move common code from here...
398 (do_t_usat): ... and here to...
399 (do_t_ssat_usat): New function: ... here. Add code to check that
400 the shift value, if present, is in range.
402 2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
404 Merge cegcc and mingw32ce target name changes
407 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
409 * configure.tgt: Add arm*-*-cegcc* target.
411 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt>
413 * configure.tgt: Add arm-*-mingw32ce* target.
415 2009-06-16 Maciej W. Rozycki <macro@linux-mips.org>
417 * config/tc-vax.c (md_estimate_size_before_relax): Accept
418 indirect symbol references in the PIC mode and emit a
419 PC-relative relocation instead of a GOT/PLT one. Likewise
420 for symbols known to be hidden at this point.
422 2009-06-15 Nick Clifton <nickc@redhat.com>
425 * config/tc-arm.c (T16_32_TAB): Fix binary value of SEV.W
428 2009-06-13 H.J. Lu <hongjiu.lu@intel.com>
431 * config/tc-i386.c (md_apply_fix): Use TC_FORCE_RELOCATION
432 instead of generic_force_reloc.
434 * config/tc-i386.h (TC_FORCE_RELOCATION): New.
436 2009-06-11 Anthony Green <green@moxielogic.com>
438 * config/tc-moxie.c (md_chars_to_number): Define.
439 (md_begin): Populate opcode hashtable with more form 3 opcodes.
440 (md_assemble): Assemble MOXIE_F3_PCREL encoded instructions.
441 (md_apply_fix): Handle BFD_RELOC_MOXIE_10_PCREL relocations.
442 (tc_gen_reloc): Ditto.
443 (md_pcrel_from): Ditto.
444 (md_chars_to_number): New function.
446 2009-06-10 Anthony Green <green@moxielogic.com>
448 * config/tc-moxie.c (md_assemble): Handle MOXIE_F1_M encoded
451 2009-06-09 Jakub Jelinek <jakub@redhat.com>
454 * dw2gencfi.c (output_cfi_insn): Initialize fragment before rs_cfa
455 to DW_CFA_advance_loc4.
457 2009-06-08 Dave Korn <dave.korn.cygwin@gmail.com>
460 * config/tc-i386.c (md_estimate_size_before_relax): Don't relax
461 branches to weak symbols.
462 (md_apply_fix): Don't convert fixes against weak symbols to
463 section-relative offsets, but save addend for later reloc emission.
464 (tc_gen_reloc): When emitting reloc against weak symbol, adjust
465 addend to pre-compensate for bfd_install_relocation.
467 2009-06-04 Alan Modra <amodra@bigpond.net.au>
469 * dep-in.sed: Don't use \n in replacement part of s command.
470 * Makefile.am (DEP1, DEPTC, DEPOBJ, DEP2): LC_ALL for uniq.
471 * Makefile.in: Regenerate.
473 2009-06-01 H.J. Lu <hongjiu.lu@intel.com>
476 * config/tc-i386-intel.c (i386_intel_operand): Check '$' as '.'.
478 2009-05-26 Catherine Moore <clm@codesourcery.com>
480 * config/tc-mips.c (check_for_24k_errata): Remove.
481 (md_mips_end): Remove call to check_for_24k_errata.
482 (start_noreorder): Likewise.
483 (s_change_sec): Likewise.
484 (s_change_section): Likewise.
485 (insns_between): Add 24k errata checks.
486 (append_insn): Remove declaration and references to nhdx_24k.
487 Remove calls to check_for_24k_errata.
489 2009-05-26 Nick Clifton <nickc@redhat.com>
491 * po/id.po: Updated Indonesian translation.
492 * po/gas.pot: Updated template file.
494 2009-05-26 Nick Clifton <nickc@redhat.com>
497 * config/bfin-parse.y (error): Use "%s" as format string for error
500 2009-05-26 Alan Modra <amodra@bigpond.net.au>
502 * dep-in.sed: Output one filename per line with all lines having
503 continuation backslash. Prefix first line with "A", following
505 * Makefile.am (DEP): Don't use dep.sed here.
506 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
508 (DEPTC, DEPOBJ, DEP2): Use dep.sed on dependencies, sort and uniq.
509 Emit multi dependencies on one line.
510 * Makefile.in: Regenerate.
512 2009-05-25 Tristan Gingold <gingold@adacore.com>
514 * makefile.vms: New file to compile gas on VMS.
516 * configure.com: New file to do configuration on VMS with DCL.
518 2009-05-23 Richard Sandiford <rdsandiford@googlemail.com>
520 * config/tc-mips.c (nops_for_vr4130): Don't check noreorder_p.
521 (nops_for_insn): Likewise.
523 2009-05-22 H.J. Lu <hongjiu.lu@intel.com>
525 * symbols.c (COPIED_SYMFLAGS): Add BSF_GNU_INDIRECT_FUNCTION.
527 2009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
529 * config/tc-i386.c (process_drex): Delete. Remove SSE5 support.
530 (build_modrm_byte): Remove DREX handling support.
533 (md_assemble): Remove DREX handling support.
534 (process_operands): Remove DREX, SSE5 support.
535 (i386_insn): Remove DREX.
537 2009-05-22 Alan Modra <amodra@bigpond.net.au>
539 * Makefile.am: Run "make dep-am".
540 * Makefile.in: Regenerate.
542 2009-05-20 Kai Tietz <kai.tietz@onevision.com>
543 H.J. Lu <hongjiu.lu@intel.com>
545 * config/obj-coff.h: Include "coff/x86_64.h" for x86 pe-coff.
546 (TARGET_FORMAT): Removed for x86 pe-coff.
547 (COFF_TARGET_FORMAT): Likewise.
549 * config/tc-i386.c (md_longopts): Allow --64 for x86 pe-coff.
550 (md_parse_option): Likewise.
551 (md_show_usage): Show option --32/--64 for x86 pe-coff.
552 (i386_target_format): Use also for x86 pe-coff.
554 * config/tc-i386.h (TARGET_FORMAT): Defined as i386_target_format
557 2009-05-19 DJ Delorie <dj@redhat.com>
559 * config/tc-mep.c (mep_machine): Only check CPU flags, not COP flags.
560 (mep_process_saved_insns): Remove debugging printfs.
562 2009-05-19 Dave Korn <dave.korn.cygwin@gmail.com>
564 * NEWS: Mention new feature.
565 * config/obj-coff.c (obj_coff_common_parse): New function.
566 (obj_coff_comm): Likewise.
567 (coff_pseudo_table): Override default ".comm" definition on PE.
568 * doc/as.texinfo: Document new feature.
570 2009-05-17 Kai Tietz <kai.tietz@onevision.com>
572 * config/obj-coff.c (obj_coff_section): Add 'y' as
573 specifier for SEC_COFF_NOREAD section flag.
574 * doc/as.texinfo: Add documentation about .section flag 'y'.
576 2009-05-13 DJ Delorie <dj@redhat.com>
578 * cgen.c (gas_cgen_parse_operand): Guard against NULL pointers.
580 2009-05-13 Andrew Jenner <andrew@codesourcery.com>
582 * config/tc-arm.c: Move as.h to start of file.
584 2009-05-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
586 * config/tc-arm.h: Fix typo in comment.
587 (ARM_IS_FUNC): New macro.
588 (MD_APPLY_SYM_VALUE): Define.
590 * config/tc-arm.c (do_blx): Retain BFD_RELOC_ARM_PCREL_BLX for
591 all versions of EABI.
592 (relax_branch): Do not relax for branches to ARM functions.
593 (md_pcrel_from_section): Set up base correctly for
594 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_THUMB_PCREL_CALL,
595 BFD_RELOC_THUMB_PCREL_BRANCH23, BFD_RELOC_ARM_PCREL_BLX
596 BFD_RELOC_ARM_PCREL_CALL.
597 (md_apply_fix): Flip bl to blx where possible.
598 Flip blx to bl where possible.
599 (arm_force_relocation): Force relocations for
600 BFD_RELOC_ARM_PCREL_JUMP, BFD_RELOC_ARM_PCREL_JUMP,
601 BFD_RELOC_ARM_PCREL_BLX, BFD_RELOC_THUMB_PCREL_BLX,
602 BFD_RELOC_THUMB_PCREL_BRANCH20, BFD_RELOC_THUMB_PCREL_BRANCH23,
603 BFD_RELOC_THUMB_PCREL_BRANCH25.
604 (arm_apply_sym_value): New function.
606 2009-05-04 Tristan Gingold <gingold@adacore.com>
608 * config/tc-alpha.c: Also declare alpha_prologue_label for OBJ_EVAX.
610 2009-05-01 Nathan Sidwell <nathan@codesourcery.com>
612 * config/tc-armlinux-eabi.h (FPU_DEFAULT): Default to plain VFP.
613 * config/tc-armeabi.h (FPU_DEFAULT): Likewise.
614 * config/tc-arm.c (md_begin): If FPU_DEFAULT is set, don't infer
615 the default FPU from the processor.
617 2009-05-01 Julian Brown <julian@codesourcery.com>
619 * config/tc-arm.c (do_t_blx): Always use BFD_RELOC_THUMB_PCREL_BLX.
620 (md_pcrel_from_section): Align address for BLX.
621 (tc_gen_reloc): Change BFD_RELOC_THUMB_PCREL_BLX relocations to
622 BFD_RELOC_THUMB_PCREL_BRANCH23 for EABI v4+.
624 2009-04-29 DJ Delorie <dj@redhat.com>
626 * config/tc-mep.c (md_begin): Check coprocessor type.
627 (md_check_parallel64_scheduling): Use memset to initialize the buffer.
628 (md_check_parallel32_scheduling): Likewise.
630 (mep_check_ivc2_scheduling): New.
631 (mep_check_parallel_scheduling): Call it.
632 (mep_process_saved_insns): Add IVC2 slot support.
633 (md_assemble): Likewise.
635 2009-04-30 Nick Clifton <nickc@redhat.com>
637 * config/obj-elf.c (obj_elf_type): Add support for a
638 gnu_indirect_function type.
639 * config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups
640 against indirect function symbols.
641 * doc/as.texinfo (.type): Document the support for the
642 gnu_indirect_function symbol type.
643 * NEWS: Mention the new feature.
645 2009-04-24 Cary Coutant <ccoutant@google.com>
647 * NEWS: Add item about discriminator support.
648 * dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field.
649 * dwarf2dbg.c (current): Add discriminator field.
650 (dwarf2_where): Copy discriminator value.
651 (dwarf2_consume_line_info): Set discriminator to 0.
652 (dwarf2_directive_loc): Process discriminator sub-op.
653 (out_leb128): New function.
654 (process_entries): Output DW_LNE_set_discriminator.
655 * doc/as.texinfo: Add discriminator operand to .loc directive.
657 2009-04-22 Nathan Sidwell <nathan@codesourcery.com>
659 * config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for
660 as_bad calls to silence compiler warning.
662 2009-04-21 H.J. Lu <hongjiu.lu@intel.com>
664 * config/tc-i386-intel.c (O_XXX): Reorder.
666 2009-04-20 Jan Beulich <jbeulich@novell.com>
668 * Makefile.am: Add explicit dependency of tc-i386.o on
670 * Makefile.in: Likewise.
671 * config/tc-i386.c (i386_finalize_immediate): Declare, broken
672 out from i386_immediate.
673 (i386_immediate): Slightly re-arrange, call
674 i386_finalize_immediate.
675 (i386_finalize_displacement): Declare, broken out from
677 (i386_displacement): Slightly re-arrange, call
678 i386_finalize_displacement.
679 (i386_intel_simplify, i386_intel_parse_name): Declare.
680 (this_operand): Initialize to -1.
681 (set_intel_syntax): Set expression rank for O_full_ptr.
682 (md_assemble): Set this_operand back to -1 after parsing
684 (x86_cons): Negate intel_syntax to indicate state. Call
686 (md_operand): Convert if to switch. Handle '[' for Intel
688 (i386_intel_operand): Delete, including all helper functions
690 * config/tc-i386-intel.c: New file, all new code.
691 * config/tc-i386.h (i386_operator): Declare.
692 (md_operator): Define to i386_operator.
693 (i386_need_index_operator): Declare.
694 (md_need_index_operator): Define to i386_need_index_operator.
695 (O_full_ptr): Define.
697 2009-04-20 Jan Beulich <jbeulich@novell.com>
699 * expr.c (operand): Call md_need_index_operator() and
700 md_operator() if defined. Add unary label.
701 (operator): Call md_operator() if defined.
702 (expr): Adjust assertions on range and rank of op_left and
703 op_right. Don't abort on unhandled operators when reducing
704 expressions with both operands being constant.
705 (expr_set_rank): New.
706 * expr.h (expr_set_rank): Declare.
708 2009-04-15 Anthony Green <green@moxielogic.com>
710 * config/tc-moxie.h: New file.
711 * config/tc-moxie.c: New file.
712 * configure: Add support for moxie.
713 * configure.tgt: Add support for moxie.
715 2009-04-16 Jan Beulich <jbeulich@novell.com>
717 * expr.c: Include limits.h if available, and #define CHAR_BITS
719 (expr): Check range of shift count when evaluating a constant
722 2009-04-15 Jan Beulich <jbeulich@novell.com>
724 * config/tc-i386.c (process_operands): Print operands in
725 correct order depending on intel_syntax.
727 2009-04-09 Catherine Moore <clm@codesourcery.com>
729 * config/tc-mips.c (mips_fix_24k): Declare.
730 (check_for_24k_errata): New.
731 (mips_cleanup): Call check_for_24k_errata.
732 (start_noreorder): Likewise.
733 (md_mips_end): Likewise.
734 (s_change_sec): Likewise.
735 (s_change_section): Likewise.
736 (append_insn): Call check_for_24k_errata. Prevent
737 ERET/DERET instructions from being moved into delay
739 (OPTION_FIX_24K): New.
740 (OPTION_NO_FIX_24k) New.
741 (md_longopts): Add "mfix-24k" and "mno-fix-24k".
742 (md_parse_option): Handle fix-24k options.
743 (md_show_usage): Display fix-24k options.
744 * doc/c-mips.texi: Document.
746 2009-04-09 Adam Nemet <anemet@caviumnetworks.com>
748 * config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS
749 instead of HAVE_64BIT_SYMBOLS.
751 2009-04-07 DJ Delorie <dj@redhat.com>
753 * config/tc-mep.c: Add UCI/DSP instruction support. Add C5 support.
754 (md_show_usage): Change default endian to little.
755 * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little.
757 2009-04-06 DJ Delorie <dj@redhat.com>
759 * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA
761 (build_bytes): Pass insn to do_a_fix_imm.
763 2009-04-02 Daniel Gutson <dgutson@codesourcery.com>
765 * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
766 * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and
769 2009-04-01 Matt Thomas <matt@netbsd.org>
771 * config/tc-vax.c (synthetic_votstrs): add "jbbcci" and "jbbssi"
772 (md_assemble): emit symbol name when used as immediate in PIC mode.
773 (md_assemble): fix LP64 bug (use sizeof (valueT) instead 4).
775 2009-04-01 Sterling Augustine <sterling@jaw.hq.tensilica.com>
777 * config/tc-xtensa.c (parse_arguments): call demand_empty_rest_of_line
779 2009-04-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
781 * config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF.
782 (find_real_start): Likewise.
783 * config/tc-arm.h (TC_VALIDATE_FIX): Likewise
785 2009-04-01 Nathan Sidwell <nathan@codesourcery.com>
787 * config/tc-arm.c (do_nop): Generate v6k nops whenever possible.
788 (arm_handle_align): Generate v6k ARM, thumb2 wide & narrow nops
791 2009-03-31 Peter Bergner <bergner@vnet.ibm.com>
793 * config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop.
795 2009-03-31 Dave Korn <dave.korn.cygwin@gmail.com>
797 * doc/internals.texi: Fix trivial syntax errors.
799 2009-03-26 Alan Modra <amodra@bigpond.net.au>
802 * config/tc-i386.c (reloc): Don't abort on lack of required
805 2009-03-25 H.J. Lu <hongjiu.lu@intel.com>
807 * config/tc-i386.c (parse_insn): Use default_arch on unsupported
810 2009-03-23 H.J. Lu <hongjiu.lu@intel.com>
813 * listing.c (listing_newline): Properly handle `\\"' and ';'.
815 * read.c (is_end_of_line): Update comments for line separator.
816 (read_begin): Set line separator in is_end_of_line to 2.
818 2009-03-19 David S. Miller <davem@davemloft.net>
820 * config/tc-sparc.c (md_parse_option): If the user gives
821 us '--64' make sure max_architecture is at least V9.
823 2009-03-18 Andrew Stubbs <ams@codesourcery.com>
825 * config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and
826 BFD_RELOC_ARM_ADRL_IMMEDIATE value is in the correct section.
827 Check BFD_RELOC_ARM_ADRL_IMMEDIATE has a defined symbol.
829 2009-03-18 Alan Modra <amodra@bigpond.net.au>
831 * as.h: Include alloca-conf.h instead of config.h and remove
832 existing #if's handling alloca.
833 * Makefile.am: Run "make dep-am".
834 * Makefile.in: Regenerate.
836 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
838 * config/tc-ppc.c (ppc_frob_symbol): Add csect information for
841 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
843 * config/tc-ppc.c (md_apply_fix): On COFF targets, always reread
844 "value" from fx_offset. Manually resubtract md_pcrel_from_section
847 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
849 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
850 * configure.in: Likewise.
851 * configure: Regenerate.
853 2009-03-11 Hans-Peter Nilsson <hp@axis.com>
855 * config/tc-cris.c (cris_create_short_jump): Remove prototype.
856 Rename, changing all callers, to...
857 (md_create_short_jump): Adjust head comment. Assert
858 word-sized-branch distance for v32. Bail out calling as_fatal for
859 compatibility mode here.
860 (md_create_long_jump): ...not here.
861 * config/tc-cris.h (md_create_short_jump): Do not define.
863 2009-03-10 Hans-Peter Nilsson <hp@axis.com>
865 * write.c (write_object_file) [!WORKING_DOT_WORD]: When patching
866 the jump table for multiple overflowing entries with the same
867 target, handle base symbols being different.
868 (relax_segment) <case rs_broken_word, second loop>: Whenever a
869 single entry overflows, arrange to redirect all entries with the
872 2009-03-10 Alan Modra <amodra@bigpond.net.au>
874 * config/tc-ppc.c (parse_cpu): Delete.
875 (md_parse_option, ppc_machine): Use ppc_parse_cpu.
877 2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
880 * config/tc-i386.h (LOCAL_LABELS_DOLLAR): New. Defined as 0.
881 (LOCAL_LABELS_FB): Undefine befoe define.
883 2009-03-06 Nick Clifton <nickc@redhat.com>
885 * po/es.po: Updated Spanish translation.
887 2009-03-05 Joseph Myers <joseph@codesourcery.com>
889 * read.c (s_fill, s_space, s_float_space, float_cons, stringer,
890 s_incbin): Call md_cons_align (1).
892 2009-03-04 Nick Clifton <nickc@redhat.com>
894 * config/tc-alpha.c (alpha_prologue_label): Only define for ELF
896 (s_alpha_comm): Only define "temp" and "log_align" local variables
899 2009-03-04 Alan Modra <amodra@bigpond.net.au>
901 * config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs
902 have non-zero addend.
903 (md_assemble): Parse args of __tls_get_addr calls.
904 (md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD.
906 2009-03-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
909 * config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with
910 local scope for ELF targets.
912 2009-03-04 Alan Modra <amodra@bigpond.net.au>
914 * config/tc-ppc.c (md_assemble): APUinfo only for e500.
916 2009-03-03 Tristan Gingold <gingold@adacore.com>
917 Eric Botcazou <ebotcazou@adacore.com>
918 Douglas B Rupp <rupp@gnat.com>
920 * doc/as.texinfo (Overview): Mention -replace/-noreplace options
922 * doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace.
923 * config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax).
924 (OBJ_SYMFIELD_TYPE): Remove.
925 (tc_canonicalize_symbol_name): Define to evax_shorten_name.
926 (TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax.
927 (tc_frob_file_before_fix): Do not defined on evax.
928 * config/tc-alpha.c: Always includes dwarf2dbg.h.
929 Include vms.h if OBJ_EVAX.
930 (struct alpha_fixup): Add xtrasym and procsym (evax only).
931 (enum alpha_macro_arg): Remove trailing comma.
932 (md_longopts): Add replace and noreplace arguments (evax only).
933 (alpha_evax_proc_hash): New variable.
934 (alpha_link_section): Make it global.
935 (alpha_ctors_section, alpha_dtors_section): Removed.
936 (alpha_ctors_symbol, alpha_dtors_symbol): Ditto.
937 (alpha_lit8_section): Ifndef'ed on evax.
938 (alpha_lit8_symbol): Ditto.
939 (alpha_prologue_label): New variable.
940 (alpha_linkage_symbol): New variable (evax only).
941 (alpha_flag_replace): Ditto.
942 (struct alpha_evax_procs): Add handler and handler_data field.
943 (alpha_evax_proc): Now of type pointer.
944 (alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables.
945 (struct alpha_reloc_tag): Add sym and psym fields (evax only).
946 (get_alpha_reloc_tag): Initialize sym and psym fields (evax only).
947 (alpha_adjust_relocs): Ifndef'ed on evax.
948 (load_expression): Add opname argument.
949 Implement LDA/BSR optimization for evax.
950 (emit_lda): Adjust for new prototype of load_expression.
951 (emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols.
952 (emit_loadstore): Likewise.
953 (emit_ldXu): Likewise.
954 (emit_stX): Likewise.
955 (emit_jsrjmp): Likewise. Implement LDA/BSR optimization for evax.
956 (emit_ldgp): Avoid warning in evax case.
957 (add_to_link_pool): Make it static. Return symbolic expression rather
958 than number expression for the offset.
959 (s_alpha_text): Create .text symbol for evax if not already created.
960 (s_alpha_comm): Do not create specific section for common symbol.
961 Fill common area with zeros for evax.
962 (s_alpha_prologue): Create alpha_prologue_label.
963 (s_alpha_section_name): New function (evax).
964 (s_alpha_section_word): Likewise.
965 (section_name): New static variabke moved out from ...
966 (s_alpha_section): ... here. Create new sections on demand.
967 (s_alpha_literals): New function (evax).
968 (s_alpha_ent): Create alpha_evax_proc instance and insert it in the
969 alpha_evax_proc_hash table.
970 (s_alpha_handler): New function (evax).
971 (s_alpha_frame): Adjust for new type of alpha_evax_proc.
972 (s_alpha_prologue): New function (evax).
973 (s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new
974 handling of procedures with hash table.
975 Add support for condition handlers.
976 (s_alpha_linkage): Create linkage_fixup instance and chain it.
977 (s_alpha_fp_save): Adjust for new type of alpha_evax_proc.
978 (s_alpha_mask): Likewise.
979 (s_alpha_fmask): Likewise.
980 (s_alpha_end): Clear alpha_evax_proc.
981 (s_alpha_align): Increase max_alignment to 16.
982 (alpha_print_token): Call print_expr_1 instead of print_expr.
983 (md_pseudo_table): Add "section", "literals", "handler" and
984 "handler_data" (evax). Do not ignore "prologue" on evax.
986 (md_begin): Create hash table for alpha_evax_proc_hash.
987 (md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE.
988 (md_show_usage): Mention -replace/-noreplace for evax.
989 (md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH).
990 (alpha_force_relocation): Likewise.
991 (alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case.
992 (tc_gen_reloc): Likewise. Add BFD_RELOC_ALPHA_LINKAGE for evax.
993 (emit_insn): New cases for evax specific relocs.
994 (assemble_insn): Fix indentation.
995 Take care of -MDISP in operand table.
996 * config/obj-evax.h (struct alpha_linkage_fixups): New struct.
997 (OBJ_SYMFIELD_TYPE): New macro.
998 (obj_symbol_new_hook): Define.
999 (obj_frob_symbol, obj_frob_file_before_adjust): Ditto.
1000 (obj_frob_file_before_fix): Ditto.
1001 (PDSC_S_M_HANDLER_VALID): New macro.
1002 (PDSC_S_M_HANDLER_DATA_VALID): Ditto.
1003 (TC_IMPLICIT_LCOMM_ALIGNMENT): Remove.
1004 Add prototypes for functions declared in obj-evax.c
1005 * config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h.
1006 (s_evax_weak): Convert to ansi-C.
1007 (evax_symbol_new_hook): New function.
1008 (evax_frob_symbol): Ditto.
1009 (evax_frob_file_before_adjust): Ditto.
1010 (evax_frob_file_before_fix): Ditto.
1011 (evax_shorten_name): Ditto.
1016 (shorten_identifier): Ditto.
1017 (is_truncated_identifier): Ditto.
1018 * dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS.
1019 * as.c (close_output_file): Remove #ifndef OBJ_VMS.
1022 2009-03-03 Alan Modra <amodra@bigpond.net.au>
1024 * Makefile.am: Run "make dep-am".
1025 * Makefile.in: Regenerate.
1027 2009-03-02 Nick Clifton <nickc@redhat.com>
1030 * config/tc-ia64.c (fix_insn): Fix warning reported by
1033 2009-03-02 Qinwei <qinwei@sunnorth.com.cn>
1035 * config/tc-score7.c: New file.
1036 * doc/c-score.texi: New file.
1037 * Makefile.am: Update dependencies for tc-score.c.
1038 * Makefile.in: Regenerate.
1039 * NEWS: Mention support for Score7 architecture.
1040 * config/tc-score.c: Add support for Score7 architecture.
1041 * config/tc-score.h: Likewise.
1042 * doc/Makefile.am: Add c-score.texi.
1043 * doc/Makefile.in: Regenerate.
1044 * doc/all.texi: Add Score7.
1045 * doc/as.texinfo: Add Score7.
1047 2009-03-01 Mark Mitchell <mark@codesourcery.com>
1049 * config/tc-arm.c (md_assemble): Allow barrier instructions on
1052 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1054 * configure: Regenerate.
1056 2009-02-26 Peter Bergner <bergner@vnet.ibm.com>
1058 * config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
1059 "f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
1060 (parse_cpu): Extend -mpower7 to accept power7 and isel instructions.
1062 2009-02-25 H.J. Lu <hongjiu.lu@intel.com>
1064 * config/tc-i386.c (fits_in_imm4): Removed.
1066 2009-02-24 Helge Deller <deller@gmx.de>
1068 * config/tc-hppa.c (pa_ip): Add check of immediate values.
1069 (SAVE_IMMEDIATE): New define.
1071 2009-02-23 Mark Mitchell <mark@codesourcery.com>
1073 * config/tc-arm.c (warn_deprecated_sp): New macro.
1074 (do_t_mov_cmp): Permit R13 as the second
1075 argument to "cmp.n".
1077 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
1079 * config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM.
1080 (pt): Replace UINTS_ALL_ZERO with operand_type_all_zero.
1082 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
1084 * config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4.
1086 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
1088 * config/tc-i386.c (vex_imm4): Removed.
1089 (VEX_check_operands): Likewise.
1090 (match_template): Updated.
1092 2009-02-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
1094 * doc/all.texi: Set S390.
1095 * doc/as.texinfo: Add S390 support and pull in c-s390.texi.
1096 * doc/Makefile.am (CPU_DOCS): Add c-s390.texi.
1097 * doc/Makefile.in: Likewise.
1098 * doc/c-s390.texi: New.
1100 2009-02-12 Nathan Sidwell <nathan@codesourcery.com>
1102 * config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR.
1103 (mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New.
1104 (mcf5307_ctrl): Add VBR.
1105 (no_mac): New variable.
1106 (m68k_extensions): Refer to no_mac mask.
1107 (m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277,
1108 52252..52259, 53011..53017.
1109 (m68k_ip): Process CPUCR.
1110 (init_table): Add cpucr entry.
1111 (m68k_set_extension): Allow negated mask to refer to a variable.
1112 (md_show_usage): Use '%s' to silence fprintf warning.
1113 * config/m68k-parse.h (CPUCR): New control register.
1115 2009-02-10 Nathan Sidwell <nathan@codesourcery.com>
1117 * config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for
1118 as_bad calls to silence compiler warning.
1120 2009-02-06 Nick Clifton <nickc@redhat.com>
1123 * config/tc-arm.c (MODE_RECORDED): New define.
1124 (output_inst): Record the thumb_mode in the current frag.
1125 (arm_handle_align): Ignore the MODE_RECORDED bit in tc_frag_data.
1126 (arm_init_frag): Only set the tc_frag_data field if it has not
1129 2009-02-04 H.J. Lu <hongjiu.lu@intel.com>
1131 AVX Programming Reference (January, 2009)
1132 * config/tc-i386.c (CPU_FLAGS_PCLMUL_MATCH): New.
1133 (CPU_FLAGS_AVX_MATCH): Updated.
1134 (CPU_FLAGS_32BIT_MATCH): Likewise.
1135 (cpu_flags_match): Likewise.
1137 2009-02-03 Sandip Matte <sandip@rmicorp.com>
1139 * config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T,
1140 M_MSGWAIT and M_MSGWAIT_T.
1141 (mips_cpu_info_table): Add XLR entry.
1142 * doc/c-mips.texi (-march): Document xlr.
1144 2009-02-03 Eric B. Weddington <eric.weddington@atmel.com>
1146 * config/tc-avr.c (mcu_types): Add ata6289.
1147 * doc/c-avr.texi: Likewise.
1149 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
1151 * configure.in: AC_SUBST pdfdir.
1152 * Makefile.am: Add install-pdf, install-pdf-am,
1153 and install-pdf-recursive targets.
1154 * doc/Makefile.am: Define pdf__strip_dir. Add
1155 install-pdf and install-pdf-am targets.
1156 * po/Make-in: Add install-pdf target.
1157 * configure: Regenerate.
1158 * Makefile.in: Regenerate.
1159 * doc/Makefile.in: Regenerate.
1161 2009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com>
1163 * config/m68k-parse.h (enum pic_relocation): Add values for TLS
1165 * config/m68k-parse.y (yylex): Parse TLS relocations.
1166 * config/tc-m68k.c (m68k_elf_cons): New static function.
1167 (md_pseudo_table): Use it.
1168 (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
1170 (md_apply_fix): Fix to set thread local flag.
1171 (m68k_elf_suffix): New static function; helper for m68k_elf_cons.
1173 2009-02-03 Vince Weaver <vince@csl.cornell.edu>
1176 * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of
1177 indexed addressing for symbolic expressions.
1179 2009-01-29 Mark Mitchell <mark@codesourcery.com>
1181 * config/tc-arm.c (BAD_SP): Define.
1182 (s_arm_unwind_fnstart): Use REG_SP.
1183 (s_arm_unwind_setfp): Likewise.
1184 (reject_bad_reg): New macro.
1185 (do_co_reg): Check for bad registers.
1186 (do_co_reg2c): Likewise.
1187 (do_srs): Use REG_SP.
1188 (do_t_add_sub): Check for bad registers.
1189 (do_t_adr): Likewise.
1190 (do_t_arit3): Likewise.
1191 (do_t_arit3c): Likewise.
1192 (do_t_bfc): Likewise.
1193 (do_t_bfi): Likewise.
1194 (do_t_bfx): Likewise.
1195 (do_t_blx): Likewise.
1196 (do_t_bx): Likewise.
1197 (do_t_bxj): Likewise.
1198 (do_t_clz): Likewise.
1199 (do_t_div): Likewise.
1200 (do_t_mla): Likewise.
1201 (do_t_mlal): Likewise.
1202 (do_t_mov_cmp): Likewise.
1203 (do_t_mov16): Likewise.
1204 (do_t_mvn_tst): Likewise.
1205 (do_t_mrs): Likewise.
1206 (do_t_msr): Likewise.
1207 (do_t_mul): Likewise.
1208 (do_t_mull): Likewise.
1209 (do_t_orn): Likewise.
1210 (do_t_pkhbt): Likewise.
1211 (do_t_pld): Likewise.
1212 (do_t_rbit): Likewise.
1213 (do_t_rev): Likewise.
1214 (do_t_rrx): Likewise.
1215 (do_t_rsb): Likewise.
1216 (do_t_shift): Likewise.
1217 (do_t_simd): Likewise.
1218 (do_t_ssat): Likewise.
1219 (do_t_ssat16): Likewise.
1220 (do_t_sxtah): Likewise.
1221 (do_t_sxth): Likewise.
1222 (do_t_tb): Likewise.
1223 (do_t_usat): Likewise.
1224 (do_t_usat16): Likewise.
1225 (nysn_insert_sp): Use REG_SP.
1227 2009-01-29 Mark Mitchell <mark@codesourcery.com>
1229 * config/tc-arm.c (do_t_orn): New function.
1230 (do_t_rrx): Likewise.
1231 (insns): Add orn and rrx.
1233 2009-01-29 Mark Mitchell <mark@codesourcery.com>
1235 * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
1236 uasx, uhasx, uhsx, uqasx, uqsax, usax.
1238 2009-01-29 Mark Mitchell <mark@codesourcery.com>
1240 * config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub,
1241 qdsub in Thumb-2 mode.
1243 2009-01-29 Paul Brook <paul@codesourcery.com>
1244 Mark Mitchell <mark@codesourcery.com>
1246 * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding
1247 of MUL when possible.
1249 2009-01-29 Nick Clifton <nickc@redhat.com>
1251 * config/tc-mep.h (DIFF_EXPR_OK): Do not define.
1253 2009-01-29 Nathan Sidwell <nathan@codesourcery.com>
1254 Catherine Moore <clm@codesourcery.com?
1256 * doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte,
1257 .4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32
1260 2009-01-27 Nick Clifton <nickc@redhat.com>
1262 * config/tc-mips.c (append_insn): Cope with a complex reloc
1263 sequence containing an unsupported reloc type.
1264 (enum options): Replace computed #define's constants for option
1265 numbers with this enum.
1266 (struct md_longopts): Use the enum. Allow OPTION_32 in a non-ELF
1268 (md_parse_option): Allow -32 in a non-ELF environment.
1270 2009-01-26 Andrew Stubbs <ams@codesourcery.com>
1272 * config/tc-arm.c (attributes_set_explicitly): New array.
1273 (s_arm_eabi_attribute): Check return value from s_vendor_attribute.
1274 (cpu_arch): Add ARM_ARCH_V5T.
1275 (aeabi_set_attribute_int): New function.
1276 (aeabi_set_attribute_string): New function.
1277 (aeabi_set_public_attributes): Set attributes according to the user's
1278 intentions, rather than the actual state of the binary.
1279 Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of
1280 bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string.
1281 Support WMMXv2. Use attribute names instead of numbers.
1282 * read.c (s_vendor_attribute): Change return type to int.
1283 Return the tag number that was set.
1284 * read.h (s_vendor_attribute): Change return type to int.
1286 2009-01-26 Eric B. Weddington <eric.weddington@atmel.com>
1289 * config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name.
1290 * doc/c-avr.texi: Likewise.
1292 2009-01-23 Nathan Sidwell <nathan@codesourcery.com>
1294 * doc/c-arm.texi (): Document -mwarn-deprecated.
1295 * config/tc-arm.c (WARN_DEPRECATED): Remove. Replace with ...
1296 (warn_on_deprecated): ... this.
1297 (opcode_lookup, md_assemble): Check it before warning.
1298 (arm_opts): Add m[no-]warn-deprecated.
1299 (md_parse_option): Replace WARN_DEPRECATED with
1302 2009-01-23 Andreas Schwab <schwab@suse.de>
1304 * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
1305 arguments to macro_build to match format.
1307 * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.
1308 * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define.
1310 2009-01-19 Nick Clifton <nickc@redhat.com>
1312 * config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for
1313 ELF format ARM targets.
1314 * config/tc-arm.c (arm_convert_symbolic_attribute): Likewise.
1316 2009-01-19 Nick Clifton <nickc@redhat.com>
1318 * configure.tgt: Restore alpha sorting to object format switch
1321 2009-01-19 Andrew Stubbs <ams@codesourcery.com>
1323 * read.c (s_vendor_attribute): Allow for unknown flag bits in type.
1325 2009-01-16 Mark Shinwell <shinwell@codesourcery.com>
1327 * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5.
1328 * config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.
1330 2009-01-16 Andrew Stubbs <ams@codesourcery.com>
1331 Daniel Jacobowitz <dan@codesourcery.com>
1333 * config/tc-arm.c (arm_copy_symbol_attributes): New function.
1334 * config/tc-arm.h (arm_copy_symbol_attributes): New prototype.
1335 (CONVERT_SYMBOLIC_ATTRIBUTE): New define.
1336 * read.c (s_vendor_attribute): Add support for symbolic tag names.
1337 Improve string parser.
1338 * doc/c-arm.texi (ARM Machine Directives): Document
1339 .eabi_attribute symbolic tag names.
1341 2009-01-16 Alan Modra <amodra@bigpond.net.au>
1343 * configure.in (commonbfdlib): Delete.
1344 * configure: Regenerate.
1345 * po/POTFILES.in: Regenerate.
1347 2009-01-15 Andrew Stubbs <ams@codesourcery.com>
1348 Julian Brown <julian@codesourcery.com>
1350 * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11.
1352 2009-01-15 Andrew Stubbs <ams@codesourcery.com>
1354 * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat ->
1355 bfd_elf_add_obj_attr_int_string.
1357 2009-01-15 Douglas B Rupp <rupp@gnat.com>
1359 * configure.tgt(ia64-*-*vms*): New target.
1360 * dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
1361 * tc.h (md_number_to_chars): Declare iff undefined.
1362 * config/obj-elf.c (obj_elf_change_section): Change type of arg
1364 (obj_elf_parse_section_letters): Return a bfd_vma. Change type of
1365 variables attr, md_attr to bfd_vma.
1366 (obj_elf_section_word): Likewise.
1367 (obj_elf_section): Change type of variable attr to bfd_vma
1368 * config/obj-elf.h (obj_elf_change_section): Change type of arg
1370 * config/tc-ia64.c (bfdver.h,time.h): Include.
1371 (ia64_elf_section_letter): Now returns a bfd_vma.
1372 Handle VMS specific attributes.
1373 (ia64_elf_section_flags): Arg attr now a bfd_vma.
1374 (ia64_init): Don't turn on dependency checking for VMS.
1375 (ia64_target_format): Check for VMS flag bit.
1376 (do_alias): Hande decc$ functions.
1377 (get_vms_time): New function.
1378 (ia64_vms_note): New function.
1379 * config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
1380 (ia64_elf_section_flags): Arg attr now a bfd_vma.
1381 (tc_init_after_args): Define for VMS.
1382 * config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
1383 (alpha_elf_section_flags): Change type of arg attr to bfd_vma.
1384 * config/tc-alpha.h: Likewise.
1385 * config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
1386 (x86_64_section_word): Return a bfd_vma.
1387 * config/tc-i386.h: Likewise.
1388 * config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
1390 * config/tc-ip2k.h: Likewise.
1391 * config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
1392 (mep_elf_section_flags): Change type of arg attr to bfd_vma.
1393 * config/tc-mep.h: Likewise.
1394 * config/tc-ppc.c (ppc_section_letter): Return a bfd_vma.
1395 (ppc_section_word): Return a bfd_vma.
1396 (ppc_section_flags): Change type of arg attr to bfd_vma.
1397 * config/tc-ppc.h: Likewise.
1398 * config/tc-frv.h: Provide a prototype for frv_md_number_to_chars.
1399 * config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
1400 DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
1401 New file with new macros
1402 * dwarf2dbg.c (get_filenum, out_file_list): Default and call new
1405 2009-01-15 Nick Clifton <nickc@redhat.com>
1408 * config/tc-arm.c (do_t_nop): Check for availability of Thumb2
1409 instructions before generating a Thumb2 nop.
1411 2009-01-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1413 * config/tc-s390.h: Define LOCAL_LABEL_PREFIX.
1415 2009-01-12 Alan Modra <amodra@bigpond.net.au>
1417 * config/tc-spu.c (md_pseudo_table): Add "brinfo".
1419 (md_assemble): Poke brinfo into branch instructions.
1420 (spu_brinfo): New function.
1421 (md_apply_fix): Don't assume insn fields start off at zero, mask
1422 them to remove possible brinfo.
1424 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
1426 * doc/c-i386.texi: Reformat.
1428 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
1430 * config/tc-i386.c (cpu_arch): Add corei7, .clflush and
1432 (i386_align_code): Handle PROCESSOR_COREI7.
1433 (md_show_usage): Add corei7, clflush and syscall.
1434 (i386_target_format): Replace cpup4 with cpuclflush.
1436 * config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
1438 * doc/c-i386.texi: Document corei7, clflush and syscall.
1440 2009-01-09 H.J. Lu <hongjiu.lu@intel.com>
1442 * config/tc-i386.c (cpu_arch): Add .rdtscp.
1443 (md_show_usage): Display rdtscp.
1445 * doc/c-i386.texi: Document rdtscp.
1447 2009-01-09 Peter Bergner <bergner@vnet.ibm.com>
1449 * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
1450 Test the new "deprecated" opcode field.
1452 2009-01-07 Sterling Augustine <sterling@tensilica.com>
1454 * config/tc-xtensa.c (produce_flix): New.
1455 (option_flix, optoin_no_generate_flix, option_no_flix) Define.
1456 (md_longopts): Add support for them.
1457 (md_parse_option): Likewise.
1458 (md_show_usage): Add help message.
1459 (finish_vinsn): Don't allow multi-slot flix when produce_flix
1460 option is set to FLIX_NONE.
1461 * config/xtensa-relax.c (transition_applies): Only relax to
1462 flix branches when produce_flix equals FLIX_ALL.
1463 * config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE
1465 (produce_flix): Declare.
1467 2009-01-06 Chao-ying Fu <fu@mips.com>
1469 * config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff.
1470 Use strncmp to match jalr and jalr.hb.
1473 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
1475 AVX Programming Reference (December, 2008)
1476 * config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction
1477 support. Don't swap REG and NDS for FMA.
1479 2009-01-02 Matthias Klose <doko@ubuntu.com>
1481 * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
1484 For older changes see ChangeLog-2008
1490 version-control: never