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