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