12006-06-07  Joseph S. Myers  <joseph@codesourcery.com>
2
3	* po/Make-in (pdf, ps): New dummy targets.
4
52006-06-02  Joseph S. Myers  <joseph@codesourcery.com>
6
7	* doc/Makefile.am (TEXI2DVI): Define.
8	* doc/Makefile.in: Regenerate.
9	* doc/c-arc.texi: Fix typo.
10
112006-05-30  Nick Clifton  <nickc@redhat.com>
12
13	* po/es.po: Updated Spanish translation.
14
152006-05-25  Nathan Sidwell  <nathan@codesourcery.com>
16
17	* gas/config/tc-m68k.c (m68k_init_arch): Move checking of
18	cfloat/m68881 to correct architecture before using it.
19
202006-05-16  Nick Clifton  <nickc@redhat.com>
21
22	* Import these patches from the mainline:
23
24	2006-05-16  Bjoern Haase  <bjoern.m.haase@web.de>
25
26        * config/tc-avr.h (TC_VALIDATE_FIX): Allow fixups for immediate
27	constant values.
28
29	2006-05-05  Bjoern Haase  <bjoern.m.haase@web.de>
30
31	* gas/config/tc-avr.h (TC_VALIDATE_FIX): Define.  Disable fixups
32	for PMEM related expressions.
33
342006-05-11  Thiemo Seufer  <ths@mips.com>
35
36	* config/tc-mips.c (append_insn): Don't check the range of j or
37	jal addresses.
38
392006-05-10  Alan Modra  <amodra@bigpond.net.au>
40
41	* dwarf2dbg.c (get_line_subseg): Attach new struct line_seg to end
42	of list rather than beginning.
43
442006-05-10  Alan Modra  <amodra@bigpond.net.au>
45
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.
51
522006-05-02  Joseph Myers  <joseph@codesourcery.com>
53
54	* config/tc-arm.c (do_iwmmxt_wldstbh): Don't multiply offset by 4
55	here.
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.
58
592006-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
60
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.
66
672006-05-02  Paul Brook  <paul@codesourcery.com>
68
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.
73
742006-05-01  James Lemke  <jwlemke@wasabisystems.com>
75
76	* subsegs.c (subseg_set_rest): Always set seginfp->frchainP if NULL.
77
782006-04-25  Bob Wilson  <bob.wilson@acm.org>
79
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.
85
862006-04-25  Bob Wilson  <bob.wilson@acm.org>
87
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.
91
922006-04-25  Bob Wilson  <bob.wilson@acm.org>
93
94	* config/xtensa-relax.c (XCHAL_HAVE_WIDE_BRANCHES): Provide default.
95
962006-04-16  Daniel Jacobowitz  <dan@codesourcery.com>
97
98	* po/POTFILES.in: Regenerated.
99
1002006-04-14  Sterling Augustine  <sterling@tensilica.com>
101
102	* config/tc-xtensa.c (emit_single_op): Do not relax MOVI
103	instructions when such transformations have been disabled.
104
1052006-04-10  Sterling Augustine  <sterling@tensilica.com>
106
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.
113
1142006-04-09  Arnold Metselaar  <arnold.metselaar@planet.nl>
115
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.
118
1192006-04-07  Joerg Wunsch <j.gnu@uriah.heep.sax.de>
120
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
127	at90usb1287.
128	Move atmega48 and atmega88 from AVR_ISA_M8 to AVR_ISA_PWMx.
129
1302006-04-07  Paul Brook  <paul@codesourcery.com>
131
132	* config/tc-arm.c (parse_operands): Set default error message.
133
1342006-04-07  Paul Brook  <paul@codesourcery.com>
135
136	* config/tc-arm.c (parse_tb): Set inst.error before returning FAIL.
137
1382006-04-07  Paul Brook  <paul@codesourcery.com>
139
140	* config/tc-arm.c (md_apply_fix): Set H bit on blx instruction.
141
1422006-04-07  Paul Brook  <paul@codesourcery.com>
143
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.
147
1482006-04-07  Alan Modra  <amodra@bigpond.net.au>
149
150	PR 2512.
151	* config/tc-i386.c (match_template): Move 64-bit operand tests
152	inside loop.
153
1542006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
155
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.
163
1642006-04-06  Alan Modra  <amodra@bigpond.net.au>
165
166	* frags.c (frag_offset_fixed_p): Reinitialise offset before
167	second scan.
168
1692006-04-05  Richard Sandiford  <richard@codesourcery.com>
170	    Daniel Jacobowitz  <dan@codesourcery.com>
171
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.
178
1792006-04-04  Alan Modra  <amodra@bigpond.net.au>
180
181	PR 997
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.
186
1872006-04-03  Sterling Augustine  <sterling@tensilica.com>
188
189	* config/tc-xtensa.c (init_op_placement_info_table): Check for formats
190	of the same length but different numbers of slots.
191
1922006-03-30  Andreas Schwab  <schwab@suse.de>
193
194	* configure.in: Fix help string for --enable-targets option.
195	* configure: Regenerate.
196
1972006-03-28  Nathan Sidwell  <nathan@codesourcery.com>
198
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.
202
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.
215	(control_regs): New.
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.
221	(mri_chip): Adjust.
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.
227
2282006-03-25  Bernd Schmidt  <bernd.schmidt@analog.com>
229
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
233	"elf/bfin.h".
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
238	"elf/bfin.h".
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
248	us for GOT relocs.
249	* Makefile.am (bfin-parse.o): Update dependencies.
250	(DEPTC_bfin_elf): Likewise.
251	* Makefile.in: Regenerate.
252
2532006-03-25  Richard Sandiford  <richard@codesourcery.com>
254
255	* config/tc-m68k.c (m68k_cpus): Change cpu_cf5208 entries to use
256	mcfemac instead of mcfmac.
257
2582006-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>
264
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
278	sequence on VxWorks.
279	* config/tc-mips.h (VXWORKS_PIC): New.
280
2812006-03-21  Paul Brook  <paul@codesourcery.com>
282
283	* config/tc-arm.c (md_apply_fix): Fix typo in offset mask.
284
2852006-03-21  Sterling Augustine  <sterling@tensilica.com>
286
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.
295
2962006-03-21  Paul Brook  <paul@codesourcery.com>
297
298	* config/tc-arm.c (insns): Correct opcodes for ldrbt and strbt.
299
3002006-03-20  Paul Brook  <paul@codesourcery.com>
301
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
308	Thumb mode.
309	(md_assemble): Advance condexec state before checking for errors.
310	(insns): Use do_t_cps.
311
3122006-03-20  Paul Brook  <paul@codesourcery.com>
313
314	* config/tc-arm.c (output_relax_insn): Call dwarf2_emit_insn before
315	outputting the insn.
316
3172006-03-18  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
318
319	* config/tc-vax.c: Update copyright year.
320	* config/tc-vax.h: Likewise.
321
3222006-03-18  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
323
324	* config/tc-vax.c (md_chars_to_number): Used only locally, so
325	make it static.
326	* config/tc-vax.h (md_chars_to_number): Remove obsolete declaration.
327
3282006-03-17  Paul Brook  <paul@codesourcery.com>
329
330	* config/tc-arm.c (insns): Add ldm and stm.
331
3322006-03-17  Ben Elliston  <bje@au.ibm.com>
333
334	PR gas/2446
335	* doc/as.texinfo (Ident): Document this directive more thoroughly.
336
3372006-03-16  Paul Brook  <paul@codesourcery.com>
338
339	* config/tc-arm.c (insns): Add "svc".
340
3412006-03-13  Bob Wilson  <bob.wilson@acm.org>
342
343	* config/tc-xtensa.c (xg_translate_sysreg_op): Remove has_underbar
344	flag and avoid double underscore prefixes.
345
3462006-03-10  Paul Brook  <paul@codesourcery.com>
347
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.
351
3522006-03-10  Ben Elliston  <bje@au.ibm.com>
353
354	* app.c (do_scrub_chars): Simplify string handling.
355
3562006-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>
363
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
366	R_ARM_ABS12 reloc.
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.
370
3712006-03-06  Bob Wilson  <bob.wilson@acm.org>
372
373	* config/tc-xtensa.c (xtensa_post_relax_hook): Generate literal tables
374	even when using the text-section-literals option.
375
3762006-03-06  Nathan Sidwell  <nathan@codesourcery.com>
377
378	* config/tc-m68k.c (m68k_extensions): Allow 'float' on both m68k
379	and cf.
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.
386
3872006-03-03  Bjoern Haase  <bjoern.m.haase@web.de>
388
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
394	of (int).
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.
399	
4002006-03-02  James E Wilson  <wilson@specifix.com>
401
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.
404
4052006-02-28  Jan Beulich  <jbeulich@novell.com>
406
407	* macro.c (get_any_string): Don't insert quotes for <>-quoted input.
408
4092006-02-28  Jan Beulich  <jbeulich@novell.com>
410
411	PR/1070
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
415	characters.
416
4172006-02-28  Mat <mat@csail.mit.edu>
418
419	* dwarf2dbg.c (get_filenum): Don't inadvertently decrease files_in_use.
420
4212006-02-27  Jakub Jelinek  <jakub@redhat.com>
422
423	* dw2gencfi.c (struct fde_entry, struct cie_entry): Add signal_frame
424	field.
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.
432
4332006-02-27  Carlos O'Donell  <carlos@codesourcery.com>
434
435	* doc/Makefile.am: Add html target.
436	* doc/Makefile.in: Regenerate.
437	* po/Make-in: Add html target.
438
4392006-02-27  H.J. Lu <hongjiu.lu@intel.com>
440
441	* config/tc-i386.c (output_insn): Support Intel Merom New
442	Instructions.
443
444	* config/tc-i386.h (CpuMNI): New.
445	(CpuUnknownFlags): Add CpuMNI.
446
4472006-02-24  David S. Miller  <davem@sunset.davemloft.net>
448
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
452	register encoding.
453
4542006-02-24  DJ Delorie  <dj@redhat.com>
455
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.
461	(m32c_relax): New.
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.
467	(tc_gen_reloc): New.
468	(m32c_force_relocation): Force out jump relocs when relaxing.
469	(m32c_fix_adjustable): Return false if relaxing.
470
4712006-02-24  Paul Brook  <paul@codesourcery.com>
472
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.
492	(cpu_arch_ver): New.
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.
496
4972006-02-23  H.J. Lu  <hongjiu.lu@intel.com>
498
499	* config/tc-ia64.c (operand_match): Handle IA64_OPND_IMMU5b.
500
5012006-02-23  H.J. Lu  <hongjiu.lu@intel.com>
502
503	* config/tc-ia64.c: Update copyright years.
504
5052006-02-22  H.J. Lu  <hongjiu.lu@intel.com>
506
507	* config/tc-ia64.c (specify_resource): Add the rule 17 from
508	SDM 2.2.
509
5102005-02-22  Paul Brook  <paul@codesourcery.com>
511
512	* config/tc-arm.c (do_pld): Remove incorrect write to
513	inst.instruction.
514	(encode_thumb32_addr_mode): Use correct operand.
515
5162006-02-21  Paul Brook  <paul@codesourcery.com>
517
518	* config/tc-arm.c (md_apply_fix): Fix off-by-one errors.
519
5202006-02-17  Shrirang Khisti  <shrirangk@kpitcummins.com>
521            Anil Paranjape   <anilp1@kpitcummins.com>
522            Shilin Shakti    <shilins@kpitcummins.com>
523
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.
534
5352006-02-16  Nick Hudson  <nick.hudson@dsl.pipex.com>
536
537	* configure.tgt: set emulation for mips-*-netbsd*
538
5392006-02-14  Jakub Jelinek  <jakub@redhat.com>
540
541	* config.in: Rebuilt.
542
5432006-02-13  Bob Wilson  <bob.wilson@acm.org>
544
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.
550
5512006-02-13  Joseph S. Myers  <joseph@codesourcery.com>
552
553	* configure.tgt (arm-*-linux-gnueabi*): Change to
554	arm-*-linux-*eabi*.
555
5562006-02-10  Nick Clifton  <nickc@redhat.com>
557
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.
560
561	* config/tc-arc.c (init_opcode_tables): Fix cast.
562	(arc_extoper, md_operand): Likewise.
563
5642006-02-09  David Heine  <dlheine@tensilica.com>
565
566	* config/tc-xtensa.c (xg_assembly_relax): Increment steps_taken for
567	each relaxation step.
568
5692006-02-09  Eric Botcazou  <ebotcazou@libertysurf.fr>
570	
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.
578
5792006-02-08  H.J. Lu  <hongjiu.lu@intel.com>
580
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.
584
5852006-02-07  Nathan Sidwell  <nathan@codesourcery.com>
586
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.
593	(n_arches): Remove.
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.
612
6132006-02-05  Arnold Metselaar  <arnold.metselaar@planet.nl>
614
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.
630	
6312006-02-02  Paul Brook  <paul@codesourcery.com>
632
633	* config/tc-arm.c (do_shift): Remove Thumb-1 constraint.
634
6352005-02-02  Paul Brook  <paul@codesourcery.com>
636
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.
643
6442006-01-31  Bob Wilson  <bob.wilson@acm.org>
645
646	* config/xtensa-istack.h (TInsn): Remove record_fix and sub_symbol
647	fields.
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
650	subtracted symbols.
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
658	a symbol.
659	(convert_frag_immed): Adjust vinsn_to_insnbuf call and do not set
660	record_fix fields.
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
664	symbolic operands.
665	(set_expr_symbol_offset_diff): Delete.
666
6672006-01-31  Paul Brook  <paul@codesourcery.com>
668
669	* config/tc-arm.c (arm_reg_parse): Check if reg is non-NULL.
670
6712006-01-31  Paul Brook  <paul@codesourcery.com>
672	Richard Earnshaw <rearnsha@arm.com>
673
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):
678	New variables.
679	(insns): Use them.
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
684	feature flags.
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.
691
6922006-01-25  Bob Wilson  <bob.wilson@acm.org>
693
694	* config/tc-xtensa.c (md_apply_fix): Set value to zero for PLT relocs.
695
6962006-01-21  Jie Zhang  <jie.zhang@analog.com>
697
698	* config/bfin-parse.y (asm_1): Check value range for 16 bit immediate
699	in load immediate intruction.
700
7012006-01-21  Jie Zhang  <jie.zhang@analog.com>
702
703	* config/bfin-parse.y (value_match): Use correct conversion
704	specifications in template string for __FILE__ and __LINE__.
705	(binary): Ditto.
706	(unary): Ditto.
707
7082006-01-18  Alexandre Oliva  <aoliva@redhat.com>
709
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
716	displacement bits.
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.
720
7212006-01-11  Nick Clifton  <nickc@redhat.com>
722
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
728	statement.
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
732	be stored in a frag.
733	* config/tc-mn10300.c (md_assemble): Likewise.
734	* config/tc-frv.c (frv_debug_tomcat): Use %p to print pointer
735	types.
736	* config/tc-v850.c: Replace uses of (int) casts with correct
737	types.
738
7392006-01-09  H.J. Lu  <hongjiu.lu@intel.com>
740
741	PR gas/2117
742	* symbols.c (snapshot_symbol): Don't change a defined symbol.
743
7442006-01-03  Hans-Peter Nilsson  <hp@bitrange.com>
745
746	PR gas/2101
747	* config/tc-mmix.c (mmix_handle_mmixal): Don't treat #[0-9][FB] as
748	a local-label reference.
749
750For older changes see ChangeLog-2005
751
752Local Variables:
753mode: change-log
754left-margin: 8
755fill-column: 74
756version-control: never
757End:
758