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