1 2006-06-07 Joseph S. Myers <joseph@codesourcery.com>
3 * po/Make-in (pdf, ps): New dummy targets.
5 2006-06-02 Joseph S. Myers <joseph@codesourcery.com>
7 * doc/Makefile.am (TEXI2DVI): Define.
8 * doc/Makefile.in: Regenerate.
9 * doc/c-arc.texi: Fix typo.
11 2006-05-30 Nick Clifton <nickc@redhat.com>
13 * po/es.po: Updated Spanish translation.
15 2006-05-25 Nathan Sidwell <nathan@codesourcery.com>
17 * gas/config/tc-m68k.c (m68k_init_arch): Move checking of
18 cfloat/m68881 to correct architecture before using it.
20 2006-05-16 Nick Clifton <nickc@redhat.com>
22 * Import these patches from the mainline:
24 2006-05-16 Bjoern Haase <bjoern.m.haase@web.de>
26 * config/tc-avr.h (TC_VALIDATE_FIX): Allow fixups for immediate
29 2006-05-05 Bjoern Haase <bjoern.m.haase@web.de>
31 * gas/config/tc-avr.h (TC_VALIDATE_FIX): Define. Disable fixups
32 for PMEM related expressions.
34 2006-05-11 Thiemo Seufer <ths@mips.com>
36 * config/tc-mips.c (append_insn): Don't check the range of j or
39 2006-05-10 Alan Modra <amodra@bigpond.net.au>
41 * dwarf2dbg.c (get_line_subseg): Attach new struct line_seg to end
42 of list rather than beginning.
44 2006-05-10 Alan Modra <amodra@bigpond.net.au>
46 * write.c (relax_segment): Add pass count arg. Don't error on
47 negative org/space on first two passes.
48 (relax_seg_info): New struct.
49 (relax_seg, write_object_file): Adjust.
50 * write.h (relax_segment): Update prototype.
52 2006-05-02 Joseph Myers <joseph@codesourcery.com>
54 * config/tc-arm.c (do_iwmmxt_wldstbh): Don't multiply offset by 4
56 (md_apply_fix3): Multiply offset by 4 here for
57 BFD_RELOC_ARM_CP_OFF_IMM_S2 and BFD_RELOC_ARM_T32_CP_OFF_IMM_S2.
59 2006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
61 * doc/Makefile.am (AM_MAKEINFOFLAGS): New.
62 (TEXI2POD): Use AM_MAKEINFOFLAGS.
63 (asconfig.texi): Don't set top_srcdir.
64 * doc/as.texinfo: Don't use top_srcdir.
65 * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
67 2006-05-02 Paul Brook <paul@codesourcery.com>
69 * config/tc-arm.c (arm_optimize_expr): New function.
70 * config/tc-arm.h (md_optimize_expr): Define
71 (arm_optimize_expr): Add prototype.
72 (TC_FORCE_RELOCATION_SUB_SAME): Define.
74 2006-05-01 James Lemke <jwlemke@wasabisystems.com>
76 * subsegs.c (subseg_set_rest): Always set seginfp->frchainP if NULL.
78 2006-04-25 Bob Wilson <bob.wilson@acm.org>
80 * config/xtensa-relax.c (widen_spec_list): Use new "WIDE.<opcode>"
81 syntax instead of hardcoded opcodes with ".w18" suffixes.
82 (wide_branch_opcode): New.
83 (build_transition): Use it to check for wide branch opcodes with
84 either ".w18" or ".w15" suffixes.
86 2006-04-25 Bob Wilson <bob.wilson@acm.org>
88 * config/tc-xtensa.c (xtensa_create_literal_symbol,
89 xg_assemble_literal, xg_assemble_literal_space): Do not set the
90 frag's is_literal flag.
92 2006-04-25 Bob Wilson <bob.wilson@acm.org>
94 * config/xtensa-relax.c (XCHAL_HAVE_WIDE_BRANCHES): Provide default.
96 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
98 * po/POTFILES.in: Regenerated.
100 2006-04-14 Sterling Augustine <sterling@tensilica.com>
102 * config/tc-xtensa.c (emit_single_op): Do not relax MOVI
103 instructions when such transformations have been disabled.
105 2006-04-10 Sterling Augustine <sterling@tensilica.com>
107 * config/tc-xtensa.c (xg_assemble_vliw_tokens): Record loop target
108 symbols in RELAX[_CHECK]_ALIGN_NEXT_OPCODE frags.
109 (xtensa_fix_close_loop_end_frags): Use the recorded values instead of
110 decoding the loop instructions. Remove current_offset variable.
111 (xtensa_fix_short_loop_frags): Likewise.
112 (min_bytes_to_other_loop_end): Remove current_offset argument.
114 2006-04-09 Arnold Metselaar <arnold.metselaar@planet.nl>
116 * config/tc-z80.c (z80_optimize_expr): Removed; redundant since 2006-04-04.
117 * config/tc-z80.h (z80_optimize_expr, md_optimize_expr): Removed.
119 2006-04-07 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
121 * gas/config/tc-avr.c (mcu_types): Add support for attiny261,
122 attiny461, attiny861, attiny25, attiny45, attiny85,attiny24,
123 attiny44, attiny84, at90pwm2, at90pwm3, atmega164, atmega324,
124 atmega644, atmega329, atmega3290, atmega649, atmega6490,
125 atmega406, atmega640, atmega1280, atmega1281, at90can32,
126 at90can64, at90usb646, at90usb647, at90usb1286 and
128 Move atmega48 and atmega88 from AVR_ISA_M8 to AVR_ISA_PWMx.
130 2006-04-07 Paul Brook <paul@codesourcery.com>
132 * config/tc-arm.c (parse_operands): Set default error message.
134 2006-04-07 Paul Brook <paul@codesourcery.com>
136 * config/tc-arm.c (parse_tb): Set inst.error before returning FAIL.
138 2006-04-07 Paul Brook <paul@codesourcery.com>
140 * config/tc-arm.c (md_apply_fix): Set H bit on blx instruction.
142 2006-04-07 Paul Brook <paul@codesourcery.com>
144 * config/tc-arm.c (THUMB2_LOAD_BIT): Define.
145 (move_or_literal_pool): Handle Thumb-2 instructions.
146 (do_t_ldst): Call move_or_literal_pool for =N addressing modes.
148 2006-04-07 Alan Modra <amodra@bigpond.net.au>
151 * config/tc-i386.c (match_template): Move 64-bit operand tests
154 2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
156 * po/Make-in: Add install-html target.
157 * Makefile.am: Add install-html and install-html-recursive targets.
158 * Makefile.in: Regenerate.
159 * configure.in: AC_SUBST datarootdir, docdir, htmldir.
160 * configure: Regenerate.
161 * doc/Makefile.am: Add install-html and install-html-am targets.
162 * doc/Makefile.in: Regenerate.
164 2006-04-06 Alan Modra <amodra@bigpond.net.au>
166 * frags.c (frag_offset_fixed_p): Reinitialise offset before
169 2006-04-05 Richard Sandiford <richard@codesourcery.com>
170 Daniel Jacobowitz <dan@codesourcery.com>
172 * config/tc-sparc.c (sparc_target_format): Handle TE_VXWORKS.
173 (GOTT_BASE, GOTT_INDEX): New.
174 (tc_gen_reloc): Don't alter relocations against GOTT_BASE and
175 GOTT_INDEX when generating VxWorks PIC.
176 * configure.tgt (sparc*-*-vxworks*): Remove this special case;
177 use the generic *-*-vxworks* stanza instead.
179 2006-04-04 Alan Modra <amodra@bigpond.net.au>
182 * frags.c (frag_offset_fixed_p): New function.
183 * frags.h (frag_offset_fixed_p): Declare.
184 * expr.c (expr): Use frag_offset_fixed_p when simplifying subtraction.
185 (resolve_expression): Likewise.
187 2006-04-03 Sterling Augustine <sterling@tensilica.com>
189 * config/tc-xtensa.c (init_op_placement_info_table): Check for formats
190 of the same length but different numbers of slots.
192 2006-03-30 Andreas Schwab <schwab@suse.de>
194 * configure.in: Fix help string for --enable-targets option.
195 * configure: Regenerate.
197 2006-03-28 Nathan Sidwell <nathan@codesourcery.com>
199 * gas/config/tc-m68k.c (find_cf_chip): Merge into ...
200 (m68k_ip): ... here. Use for all chips. Protect against buffer
201 overrun and avoid excessive copying.
203 * config/tc-m68k.c (m68000_control_regs, m68010_control_regs,
204 m68020_control_regs, m68040_control_regs, m68060_control_regs,
205 mcf_control_regs, mcf5208_control_regs, mcf5213_control_regs,
206 mcf5329_control_regs, mcf5249_control_regs, mcf528x_control_regs,
207 mcfv4e_control_regs, m68010_control_regs): Rename and reorder to ...
208 (m68000_ctrl, m68010_ctrl, m68020_ctrl, m68040_ctrl, m68060_ctrl,
209 mcf_ctrl, mcf5208_ctrl, mcf5213_ctrl, mcf5235_ctrl, mcf5249_ctrl,
210 mcf5216_ctrl, mcf5250_ctrl, mcf5271_ctrl, mcf5272_ctrl,
211 mcf5282_ctrl, mcfv4e_ctrl): ... these.
212 (mcf5275_ctrl, mcf5329_ctrl, mcf5373_ctrl): New.
213 (struct m68k_cpu): Change chip field to control_regs.
214 (current_chip): Remove.
216 (m68k_archs, m68k_extensions): Adjust.
217 (m68k_cpus): Reorder to be in cpu number order. Adjust.
218 (CPU_ALLOW_MC, CPU_ALLOW_NEGATION): Remove.
219 (find_cf_chip): Reimplement for new organization of cpu table.
220 (select_control_regs): Remove.
222 (struct save_opts): Save control regs, not chip.
223 (s_save, s_restore): Adjust.
224 (m68k_lookup_cpu): Give deprecated warning when necessary.
225 (m68k_init_arch): Adjust.
226 (md_show_usage): Adjust for new cpu table organization.
228 2006-03-25 Bernd Schmidt <bernd.schmidt@analog.com>
230 * config/bfin-defs.h (Expr_Node_Type enum): Add Expr_Node_GOT_Reloc.
231 * config/bfin-lex.l: Recognize GOT17M4 and FUNCDESC_GOT17M4.
232 * config/bfin-parse.y: Include "libbfd.h", "elf/common.h" and
234 (GOT17M4, FUNCDESC_GOT17M4): New tokens of type <value>.
235 (any_gotrel): New rule.
236 (got): Use it, and create Expr_Node_GOT_Reloc nodes.
237 * config/tc-bfin.c: Include "libbfd.h", "elf/common.h" and
239 (DEFAULT_FLAGS, bfin_flags, bfin_pic_flag): New.
240 (bfin_pic_ptr): New function.
241 (md_pseudo_table): Add it for ".picptr".
242 (OPTION_FDPIC): New macro.
243 (md_longopts): Add -mfdpic.
244 (md_parse_option): Handle it.
245 (md_begin): Set BFD flags.
246 (md_apply_fix3, bfin_fix_adjustable): Handle new relocs.
247 (bfin_gen_ldstidxi): Adjust to match the trees that the parser gives
249 * Makefile.am (bfin-parse.o): Update dependencies.
250 (DEPTC_bfin_elf): Likewise.
251 * Makefile.in: Regenerate.
253 2006-03-25 Richard Sandiford <richard@codesourcery.com>
255 * config/tc-m68k.c (m68k_cpus): Change cpu_cf5208 entries to use
256 mcfemac instead of mcfmac.
258 2006-03-22 Richard Sandiford <richard@codesourcery.com>
259 Daniel Jacobowitz <dan@codesourcery.com>
260 Phil Edwards <phil@codesourcery.com>
261 Zack Weinberg <zack@codesourcery.com>
262 Mark Mitchell <mark@codesourcery.com>
263 Nathan Sidwell <nathan@codesourcery.com>
265 * config/tc-mips.c (mips_target_format): Handle vxworks targets.
266 (md_begin): Complain about -G being used for PIC. Don't change
267 the text, data and bss alignments on VxWorks.
268 (reloc_needs_lo_p): Don't return true for R_MIPS_GOT16 when
269 generating VxWorks PIC.
270 (load_address): Extend SVR4_PIC handling to VXWORKS_PIC.
271 (macro): Likewise, but do not treat la $25 specially for
272 VxWorks PIC, and do not handle jal.
273 (OPTION_MVXWORKS_PIC): New macro.
274 (md_longopts): Add -mvxworks-pic.
275 (md_parse_option): Don't complain about using PIC and -G together here.
276 Handle OPTION_MVXWORKS_PIC.
277 (md_estimate_size_before_relax): Always use the first relaxation
279 * config/tc-mips.h (VXWORKS_PIC): New.
281 2006-03-21 Paul Brook <paul@codesourcery.com>
283 * config/tc-arm.c (md_apply_fix): Fix typo in offset mask.
285 2006-03-21 Sterling Augustine <sterling@tensilica.com>
287 * config/tc-xtensa.c (enforce_three_byte_loop_align): New flag.
288 (xtensa_setup_hw_workarounds): Set this new flag for older hardware.
289 (get_loop_align_size): New.
290 (xtensa_end): Skip xtensa_mark_narrow_branches when not aligning.
291 (xtensa_mark_zcl_first_insns): Prevent widening of first loop frag.
292 (get_text_align_power): Rewrite to handle inputs in the range 2-8.
293 (get_noop_aligned_address): Use get_loop_align_size.
294 (get_aligned_diff): Likewise.
296 2006-03-21 Paul Brook <paul@codesourcery.com>
298 * config/tc-arm.c (insns): Correct opcodes for ldrbt and strbt.
300 2006-03-20 Paul Brook <paul@codesourcery.com>
302 * config/tc-arm.c (BAD_BRANCH, BAD_NOT_IT): Define.
303 (do_t_branch): Encode branches inside IT blocks as unconditional.
304 (do_t_cps): New function.
305 (do_t_blx, do_t_bkpt, do_t_branch23, do_t_bx, do_t_bxj, do_t_cpsi,
306 do_t_czb, do_t_it, do_t_setend, do_t_tb): Add IT constaints.
307 (opcode_lookup): Allow conditional suffixes on all instructions in
309 (md_assemble): Advance condexec state before checking for errors.
310 (insns): Use do_t_cps.
312 2006-03-20 Paul Brook <paul@codesourcery.com>
314 * config/tc-arm.c (output_relax_insn): Call dwarf2_emit_insn before
317 2006-03-18 Jan-Benedict Glaw <jbglaw@lug-owl.de>
319 * config/tc-vax.c: Update copyright year.
320 * config/tc-vax.h: Likewise.
322 2006-03-18 Jan-Benedict Glaw <jbglaw@lug-owl.de>
324 * config/tc-vax.c (md_chars_to_number): Used only locally, so
326 * config/tc-vax.h (md_chars_to_number): Remove obsolete declaration.
328 2006-03-17 Paul Brook <paul@codesourcery.com>
330 * config/tc-arm.c (insns): Add ldm and stm.
332 2006-03-17 Ben Elliston <bje@au.ibm.com>
335 * doc/as.texinfo (Ident): Document this directive more thoroughly.
337 2006-03-16 Paul Brook <paul@codesourcery.com>
339 * config/tc-arm.c (insns): Add "svc".
341 2006-03-13 Bob Wilson <bob.wilson@acm.org>
343 * config/tc-xtensa.c (xg_translate_sysreg_op): Remove has_underbar
344 flag and avoid double underscore prefixes.
346 2006-03-10 Paul Brook <paul@codesourcery.com>
348 * config/tc-arm.c (md_begin): Handle EABIv5.
349 (arm_eabis): Add EF_ARM_EABI_VER5.
350 * doc/c-arm.texi: Document -meabi=5.
352 2006-03-10 Ben Elliston <bje@au.ibm.com>
354 * app.c (do_scrub_chars): Simplify string handling.
356 2006-03-07 Richard Sandiford <richard@codesourcery.com>
357 Daniel Jacobowitz <dan@codesourcery.com>
358 Zack Weinberg <zack@codesourcery.com>
359 Nathan Sidwell <nathan@codesourcery.com>
360 Paul Brook <paul@codesourcery.com>
361 Ricardo Anguiano <anguiano@codesourcery.com>
362 Phil Edwards <phil@codesourcery.com>
364 * config/tc-arm.c (md_apply_fix): Install a value of zero into a
365 BFD_RELOC_ARM_OFFSET_IMM field if we're going to generate a RELA
367 (tc_gen_reloc): Keep the original fx_offset for RELA pc-relative
368 relocs, but adjust by md_pcrel_from_section. Create R_ARM_ABS12
369 relocations for BFD_RELOC_ARM_OFFSET_IMM on RELA targets.
371 2006-03-06 Bob Wilson <bob.wilson@acm.org>
373 * config/tc-xtensa.c (xtensa_post_relax_hook): Generate literal tables
374 even when using the text-section-literals option.
376 2006-03-06 Nathan Sidwell <nathan@codesourcery.com>
378 * config/tc-m68k.c (m68k_extensions): Allow 'float' on both m68k
380 (m68k_ip): <case 'J'> Check we have some control regs.
381 (md_parse_option): Allow raw arch switch.
382 (m68k_init_arch): Better detection of arch/cpu mismatch. Detect
383 whether 68881 or cfloat was meant by -mfloat.
384 (md_show_usage): Adjust extension display.
385 (m68k_elf_final_processing): Adjust.
387 2006-03-03 Bjoern Haase <bjoern.m.haase@web.de>
389 * config/tc-avr.c (avr_mod_hash_value): New function.
390 (md_apply_fix, exp_mod): Use BFD_RELOC_HH8_LDI and
391 BFD_RELOC_MS8_LDI for hlo8() and hhi8()
392 (md_begin): Set linkrelax variable to 1, use avr_mod_hash_value
393 instead of int avr_ldi_expression: use avr_mod_hash_value instead
395 (tc_gen_reloc): Handle substractions of symbols, if possible do
396 fixups, abort otherwise.
397 * config/tc-avr.h (TC_LINKRELAX_FIXUP, TC_VALIDATE_FIX,
398 tc_fix_adjustable): Define.
400 2006-03-02 James E Wilson <wilson@specifix.com>
402 * config/tc-ia64.c (emit_one_bundle): For IA64_OPCODE_LAST, if we
403 change the template, then clear md.slot[curr].end_of_insn_group.
405 2006-02-28 Jan Beulich <jbeulich@novell.com>
407 * macro.c (get_any_string): Don't insert quotes for <>-quoted input.
409 2006-02-28 Jan Beulich <jbeulich@novell.com>
412 * macro.c (getstring): Don't treat parentheses special anymore.
413 (get_any_string): Don't consider '(' and ')' as quoting anymore.
414 Special-case '(', ')', '[', and ']' when dealing with non-quoting
417 2006-02-28 Mat <mat@csail.mit.edu>
419 * dwarf2dbg.c (get_filenum): Don't inadvertently decrease files_in_use.
421 2006-02-27 Jakub Jelinek <jakub@redhat.com>
423 * dw2gencfi.c (struct fde_entry, struct cie_entry): Add signal_frame
425 (CFI_signal_frame): Define.
426 (cfi_pseudo_table): Add .cfi_signal_frame.
427 (dot_cfi): Handle CFI_signal_frame.
428 (output_cie): Handle cie->signal_frame.
429 (select_cie_for_fde): Don't share CIE if signal_frame flag is
430 different. Copy signal_frame from FDE to newly created CIE.
431 * doc/as.texinfo: Document .cfi_signal_frame.
433 2006-02-27 Carlos O'Donell <carlos@codesourcery.com>
435 * doc/Makefile.am: Add html target.
436 * doc/Makefile.in: Regenerate.
437 * po/Make-in: Add html target.
439 2006-02-27 H.J. Lu <hongjiu.lu@intel.com>
441 * config/tc-i386.c (output_insn): Support Intel Merom New
444 * config/tc-i386.h (CpuMNI): New.
445 (CpuUnknownFlags): Add CpuMNI.
447 2006-02-24 David S. Miller <davem@sunset.davemloft.net>
449 * config/tc-sparc.c (priv_reg_table): Add entry for "gl".
450 (hpriv_reg_table): New table for hyperprivileged registers.
451 (sparc_ip): New cases '$' and '%' for wrhpr/rdhpr hyperprivileged
454 2006-02-24 DJ Delorie <dj@redhat.com>
456 * config/tc-m32c.h (md_apply_fix): Define to m32c_apply_fix.
457 (tc_gen_reloc): Don't define.
458 * config/tc-m32c.c (rl_for, relaxable): New convenience macros.
459 (OPTION_LINKRELAX): New.
460 (md_longopts): Add it.
462 (md_parse_options): Set it.
463 (md_assemble): Emit relaxation relocs as needed.
464 (md_convert_frag): Emit relaxation relocs as needed.
465 (md_cgen_lookup_reloc): Add LAB_8_8 and LAB_8_16.
466 (m32c_apply_fix): New.
468 (m32c_force_relocation): Force out jump relocs when relaxing.
469 (m32c_fix_adjustable): Return false if relaxing.
471 2006-02-24 Paul Brook <paul@codesourcery.com>
473 * config/arm/tc-arm.c (arm_ext_v6_notm, arm_ext_div, arm_ext_v7,
474 arm_ext_v7a, arm_ext_v7r, arm_ext_v7m): New variables.
475 (struct asm_barrier_opt): Define.
476 (arm_v7m_psr_hsh, arm_barrier_opt_hsh): New variables.
477 (parse_psr): Accept V7M psr names.
478 (parse_barrier): New function.
479 (enum operand_parse_code): Add OP_oBARRIER.
480 (parse_operands): Implement OP_oBARRIER.
481 (do_barrier): New function.
482 (do_dbg, do_pli, do_t_barrier, do_t_dbg, do_t_div): New functions.
483 (do_t_cpsi): Add V7M restrictions.
484 (do_t_mrs, do_t_msr): Validate V7M variants.
485 (md_assemble): Check for NULL variants.
486 (v7m_psrs, barrier_opt_names): New tables.
487 (insns): Add V7 instructions. Mark V6 instructions absent from V7M.
488 (md_begin): Initialize arm_v7m_psr_hsh and arm_barrier_opt_hsh.
489 (arm_cpu_option_table): Add Cortex-M3, R4 and A8.
490 (arm_arch_option_table): Add armv7, armv7a, armv7r and armv7m.
491 (struct cpu_arch_ver_table): Define.
493 (aeabi_set_public_attributes): Use cpu_arch_ver. Set
494 Tag_CPU_arch_profile.
495 * doc/c-arm.texi: Document new cpu and arch options.
497 2006-02-23 H.J. Lu <hongjiu.lu@intel.com>
499 * config/tc-ia64.c (operand_match): Handle IA64_OPND_IMMU5b.
501 2006-02-23 H.J. Lu <hongjiu.lu@intel.com>
503 * config/tc-ia64.c: Update copyright years.
505 2006-02-22 H.J. Lu <hongjiu.lu@intel.com>
507 * config/tc-ia64.c (specify_resource): Add the rule 17 from
510 2005-02-22 Paul Brook <paul@codesourcery.com>
512 * config/tc-arm.c (do_pld): Remove incorrect write to
514 (encode_thumb32_addr_mode): Use correct operand.
516 2006-02-21 Paul Brook <paul@codesourcery.com>
518 * config/tc-arm.c (md_apply_fix): Fix off-by-one errors.
520 2006-02-17 Shrirang Khisti <shrirangk@kpitcummins.com>
521 Anil Paranjape <anilp1@kpitcummins.com>
522 Shilin Shakti <shilins@kpitcummins.com>
524 * Makefile.am: Add xc16x related entry.
525 * Makefile.in: Regenerate.
526 * configure.in: Added xc16x related entry.
527 * configure: Regenerate.
528 * config/tc-xc16x.h: New file
529 * config/tc-xc16x.c: New file
530 * doc/c-xc16x.texi: New file for xc16x
531 * doc/all.texi: Entry for xc16x
532 * doc/Makefile.texi: Added c-xc16x.texi
533 * NEWS: Announce the support for the new target.
535 2006-02-16 Nick Hudson <nick.hudson@dsl.pipex.com>
537 * configure.tgt: set emulation for mips-*-netbsd*
539 2006-02-14 Jakub Jelinek <jakub@redhat.com>
541 * config.in: Rebuilt.
543 2006-02-13 Bob Wilson <bob.wilson@acm.org>
545 * config/tc-xtensa.c (xg_add_opcode_fix): Number operands starting
546 from 1, not 0, in error messages.
547 (md_assemble): Simplify special-case check for ENTRY instructions.
548 (tinsn_has_invalid_symbolic_operands): Do not include opcode and
549 operand in error message.
551 2006-02-13 Joseph S. Myers <joseph@codesourcery.com>
553 * configure.tgt (arm-*-linux-gnueabi*): Change to
556 2006-02-10 Nick Clifton <nickc@redhat.com>
558 * config/tc-crx.c (check_range): Ensure that the sign bit of a
559 32-bit value is propagated into the upper bits of a 64-bit long.
561 * config/tc-arc.c (init_opcode_tables): Fix cast.
562 (arc_extoper, md_operand): Likewise.
564 2006-02-09 David Heine <dlheine@tensilica.com>
566 * config/tc-xtensa.c (xg_assembly_relax): Increment steps_taken for
567 each relaxation step.
569 2006-02-09 Eric Botcazou <ebotcazou@libertysurf.fr>
571 * configure.in (CHECK_DECLS): Add vsnprintf.
572 * configure: Regenerate.
573 * messages.c (errno.h, stdarg.h, varargs.h, va_list): Do not
574 include/declare here, but...
575 * as.h: Move code detecting VARARGS idiom to the top.
576 (errno.h, stdarg.h, varargs.h, va_list): ...here.
577 (vsnprintf): Declare if not already declared.
579 2006-02-08 H.J. Lu <hongjiu.lu@intel.com>
581 * as.c (close_output_file): New.
582 (main): Register close_output_file with xatexit before
583 dump_statistics. Don't call output_file_close.
585 2006-02-07 Nathan Sidwell <nathan@codesourcery.com>
587 * config/tc-m68k.c (mcf5208_control_regs, mcf5213_control_regs,
588 mcf5329_control_regs): New.
589 (not_current_architecture, selected_arch, selected_cpu): New.
590 (m68k_archs, m68k_extensions): New.
591 (archs): Renamed to ...
592 (m68k_cpus): ... here. Adjust.
594 (md_pseudo_table): Add arch and cpu directives.
595 (find_cf_chip, m68k_ip): Adjust table scanning.
596 (no_68851, no_68881): Remove.
597 (md_assemble): Lazily initialize.
598 (select_control_regs): Adjust cpu names. Add 5208, 5213, 5329.
599 (md_init_after_args): Move functionality to m68k_init_arch.
600 (mri_chip): Adjust table scanning.
601 (md_parse_option): Reimplement 'm' processing to add -march & -mcpu
602 options with saner parsing.
603 (m68k_lookup_cpu, m68k_set_arch, m68k_set_cpu, m68k_set_extension,
604 m68k_init_arch): New.
605 (s_m68k_cpu, s_m68k_arch): New.
606 (md_show_usage): Adjust.
607 (m68k_elf_final_processing): Set CF EF flags.
608 * config/tc-m68k.h (m68k_init_after_args): Remove.
609 (tc_init_after_args): Remove.
610 * doc/c-m68k.texi (M68K-Opts): Document -march, -mcpu options.
611 (M68k-Directives): Document .arch and .cpu directives.
613 2006-02-05 Arnold Metselaar <arnold.metselaar@planet.nl>
615 * config/tc-z80.c (z80_start_line_hook): allow .equ and .defl as
616 synonyms for equ and defl.
617 (z80_cons_fix_new): New function.
618 (emit_byte): Disallow relative jumps to absolute locations.
619 (emit_data): Only handle defb, prototype changed, because defb is
620 now handled as pseudo-op rather than an instruction.
621 (instab): Entries for defb,defw,db,dw moved from here...
622 (md_pseudo_table): ... to here, use generic cons() for defw,dw.
623 Add entries for def24,def32,d24,d32.
624 (md_assemble): Improved error handling.
625 (md_apply_fix): New case BFD_RELOC_24, set fixP->fx_no_overflow to one.
626 * config/tc-z80.h (TC_CONS_FIX_NEW): Define.
627 (z80_cons_fix_new): Declare.
628 * doc/c-z80.texi (defb, db): Mention warning on overflow.
629 (def24,d24,def32,d32): New pseudo-ops.
631 2006-02-02 Paul Brook <paul@codesourcery.com>
633 * config/tc-arm.c (do_shift): Remove Thumb-1 constraint.
635 2005-02-02 Paul Brook <paul@codesourcery.com>
637 * config/tc-arm.c (T2_OPCODE_MASK, T2_DATA_OP_SHIFT, T2_OPCODE_AND,
638 T2_OPCODE_BIC, T2_OPCODE_ORR, T2_OPCODE_ORN, T2_OPCODE_EOR,
639 T2_OPCODE_ADD, T2_OPCODE_ADC, T2_OPCODE_SBC, T2_OPCODE_SUB,
640 T2_OPCODE_RSB): Define.
641 (thumb32_negate_data_op): New function.
642 (md_apply_fix): Use it.
644 2006-01-31 Bob Wilson <bob.wilson@acm.org>
646 * config/xtensa-istack.h (TInsn): Remove record_fix and sub_symbol
648 * config/tc-xtensa.h (xtensa_frag_type): Remove slot_sub_symbols field.
649 * config/tc-xtensa.c (md_apply_fix): Check for unexpected uses of
651 (relaxation_requirements): Add pfinish_frag argument and use it to
652 replace setting tinsn->record_fix fields.
653 (xg_assemble_vliw_tokens): Adjust calls to relaxation_requirements
654 and vinsn_to_insnbuf. Remove references to record_fix and
655 slot_sub_symbols fields.
656 (xtensa_mark_narrow_branches): Delete unused code.
657 (is_narrow_branch_guaranteed_in_range): Handle expr that is not just
659 (convert_frag_immed): Adjust vinsn_to_insnbuf call and do not set
661 (tinsn_immed_from_frag): Remove code for handling slot_sub_symbols.
662 (vinsn_to_insnbuf): Change use of record_fixup argument, replacing use
663 of the record_fix field. Simplify error messages for unexpected
665 (set_expr_symbol_offset_diff): Delete.
667 2006-01-31 Paul Brook <paul@codesourcery.com>
669 * config/tc-arm.c (arm_reg_parse): Check if reg is non-NULL.
671 2006-01-31 Paul Brook <paul@codesourcery.com>
672 Richard Earnshaw <rearnsha@arm.com>
674 * config/tc-arm.c: Use arm_feature_set.
675 (arm_ext_*, arm_arch_full, arm_arch_t2, arm_arch_none,
676 arm_cext_iwmmxt, arm_cext_xscale, arm_cext_maverick, fpu_fpa_ext_v1,
677 fpu_fpa_ext_v2, fpu_vfp_ext_v1xd, fpu_vfp_ext_v1, fpu_vfp_ext_v2):
680 (md_atof, opcode_select, opcode_select, md_assemble, md_assemble,
681 md_begin, arm_parse_extension, arm_parse_cpu, arm_parse_arch,
682 arm_parse_fpu, arm_parse_float_abi, aeabi_set_public_attributes,
683 s_arm_cpu, s_arm_arch, s_arm_fpu): Use macros for accessing CPU
685 (arm_legacy_option_table, arm_option_cpu_value_table): New types.
686 (arm_opts): Move old cpu/arch options from here...
687 (arm_legacy_opts): ... to here.
688 (md_parse_option): Search arm_legacy_opts.
689 (arm_cpus, arm_archs, arm_extensions, arm_fpus)
690 (arm_float_abis, arm_eabis): Make const.
692 2006-01-25 Bob Wilson <bob.wilson@acm.org>
694 * config/tc-xtensa.c (md_apply_fix): Set value to zero for PLT relocs.
696 2006-01-21 Jie Zhang <jie.zhang@analog.com>
698 * config/bfin-parse.y (asm_1): Check value range for 16 bit immediate
699 in load immediate intruction.
701 2006-01-21 Jie Zhang <jie.zhang@analog.com>
703 * config/bfin-parse.y (value_match): Use correct conversion
704 specifications in template string for __FILE__ and __LINE__.
708 2006-01-18 Alexandre Oliva <aoliva@redhat.com>
710 Introduce TLS descriptors for i386 and x86_64.
711 * config/tc-i386.c (tc_i386_fix_adjustable): Handle
712 BFD_RELOC_386_TLS_GOTDESC, BFD_RELOC_386_TLS_DESC_CALL,
713 BFD_RELOC_X86_64_GOTPC32_TLSDESC, BFD_RELOC_X86_64_TLSDESC_CALL.
714 (optimize_disp): Emit fix up for BFD_RELOC_386_TLS_DESC_CALL and
715 BFD_RELOC_X86_64_TLSDESC_CALL immediately, and clear the
717 (build_modrm_byte): Set up zero modrm for TLS desc calls.
718 (lex_got): Handle @tlsdesc and @tlscall.
719 (md_apply_fix, tc_gen_reloc): Handle the new relocations.
721 2006-01-11 Nick Clifton <nickc@redhat.com>
723 Fixes for building on 64-bit hosts:
724 * config/tc-avr.c (mod_index): New union to allow conversion
725 between pointers and integers.
726 (md_begin, avr_ldi_expression): Use it.
727 * config/tc-i370.c (md_assemble): Add cast for argument to print
729 * config/tc-tic54x.c (subsym_substitute): Likewise.
730 * config/tc-mn10200.c (md_assemble): Use a union to convert the
731 opindex field of fr_cgen structure into a pointer so that it can
733 * config/tc-mn10300.c (md_assemble): Likewise.
734 * config/tc-frv.c (frv_debug_tomcat): Use %p to print pointer
736 * config/tc-v850.c: Replace uses of (int) casts with correct
739 2006-01-09 H.J. Lu <hongjiu.lu@intel.com>
742 * symbols.c (snapshot_symbol): Don't change a defined symbol.
744 2006-01-03 Hans-Peter Nilsson <hp@bitrange.com>
747 * config/tc-mmix.c (mmix_handle_mmixal): Don't treat #[0-9][FB] as
748 a local-label reference.
750 For older changes see ChangeLog-2005
756 version-control: never