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