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