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