1*3d8817e4Smiod2005-12-30  Sterling Augustine  <sterling@tensilica.com>
2*3d8817e4Smiod	    Bob Wilson  <bob.wilson@acm.org>
3*3d8817e4Smiod
4*3d8817e4Smiod	* config/tc-xtensa.c (op_placement_info_struct): Delete single,
5*3d8817e4Smiod	single_size, widest, and widest_size fields.  Add narrowest_slot.
6*3d8817e4Smiod	(xg_emit_insn_to_buf): Remove fmt parameter and compute it here.
7*3d8817e4Smiod	Use xg_get_single_slot to find the slot.
8*3d8817e4Smiod	(finish_vinsn): Use emit_single_op instead of bundle_single_op.
9*3d8817e4Smiod	(bundle_single_op): Rename this to....
10*3d8817e4Smiod	(bundle_tinsn): ...this function, which builds a vliw_insn but does
11*3d8817e4Smiod	not call finish_vinsn.
12*3d8817e4Smiod	(emit_single_op): Use bundle_tinsn instead of bundle_single_op.
13*3d8817e4Smiod	(relax_frag_immed): Get num_slots from cur_vinsn.
14*3d8817e4Smiod	(convert_frag_narrow): Update call to xg_emit_insn_to_buf.
15*3d8817e4Smiod	(convert_frag_immed): Likewise.  Also, get num_slots from cur_vinsn.
16*3d8817e4Smiod	(init_op_placement_info_table): Set narrowest_slot field.  Remove
17*3d8817e4Smiod	code for deleted fields.
18*3d8817e4Smiod	(xg_get_single_size): Return narrowest_size field, not single_size.
19*3d8817e4Smiod	(xg_get_single_format): Return narrowest field, not single.
20*3d8817e4Smiod	(xg_get_single_slot): New.
21*3d8817e4Smiod	(tinsn_to_insnbuf): Rewrite to use tinsn_to_slotbuf.
22*3d8817e4Smiod	* config/xtensa-relax.c (widen_spec_list): Add wide branch relaxations.
23*3d8817e4Smiod	(transition_applies): Check wide branch option availability.
24*3d8817e4Smiod
25*3d8817e4Smiod2005-12-29  Sterling Augustine  <sterling@tensilica.com>
26*3d8817e4Smiod
27*3d8817e4Smiod	* config/tc-xtensa.h (MAX_MEM_FOR_RS_ALIGN_CODE): Define.
28*3d8817e4Smiod
29*3d8817e4Smiod2005-12-29  Sterling Augustine  <sterling@tensilica.com>
30*3d8817e4Smiod
31*3d8817e4Smiod	* config/tc-xtensa.c (tinsn_to_slotbuf): Do not zero slotbuf.
32*3d8817e4Smiod
33*3d8817e4Smiod2005-12-27  Nathan Sidwell  <nathan@codesourcery.com>
34*3d8817e4Smiod
35*3d8817e4Smiod	* config/tc-mt.c (mt_arch): Default to ms1_16_002.
36*3d8817e4Smiod	(md_parse_options): Only allow lowercase.
37*3d8817e4Smiod	(md_show_usage): Update.
38*3d8817e4Smiod
39*3d8817e4Smiod2005-12-27  Leif Ekblad  <leif@rdos.net>
40*3d8817e4Smiod
41*3d8817e4Smiod	* configure.tgt: Add support for RDOS targets.
42*3d8817e4Smiod
43*3d8817e4Smiod2005-12-27  James Troup  <james@nocrew.org>
44*3d8817e4Smiod
45*3d8817e4Smiod	PR 1300
46*3d8817e4Smiod	* config/tc-arm.c (md_apply_fix): Fix casts to match type in
47*3d8817e4Smiod	printf format.
48*3d8817e4Smiod
49*3d8817e4Smiod2005-12-27  Alan Modra  <amodra@bigpond.net.au>
50*3d8817e4Smiod
51*3d8817e4Smiod	* Makefile.am: Run "make dep-am".
52*3d8817e4Smiod	* Makefile.in: Regenerate.
53*3d8817e4Smiod	* po/POTFILES.in: Regenerate.
54*3d8817e4Smiod
55*3d8817e4Smiod2005-12-22  Jan Beulich  <jbeulich@novell.com>
56*3d8817e4Smiod
57*3d8817e4Smiod	* symbols.h (snapshot_symbol): First parameter is now pointer
58*3d8817e4Smiod	to pointer to symbolS.
59*3d8817e4Smiod	* symbols.c (snapshot_symbol): Likewise. Store resulting symbol
60*3d8817e4Smiod	there. Use symbol_equated_p.
61*3d8817e4Smiod	* expr.c (resolve_expression): Change first argument to
62*3d8817e4Smiod	snapshot_symbol. Track possibly changed add_symbol consistently
63*3d8817e4Smiod	across function. Resolve more special cases with known result.
64*3d8817e4Smiod	Also update final_val when replacing add_symbol.
65*3d8817e4Smiod
66*3d8817e4Smiod2005-12-13  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
67*3d8817e4Smiod
68*3d8817e4Smiod	* config/tc-vax.c: Convert to ISO C90 format.  Fix formatting and
69*3d8817e4Smiod	white space usage as well.
70*3d8817e4Smiod
71*3d8817e4Smiod2005-12-20  Sterling Augustine  <sterling@tensilica.com>
72*3d8817e4Smiod
73*3d8817e4Smiod	* config/tc-xtensa.c (xtensa_mark_narrow_branches): Set
74*3d8817e4Smiod	is_aligning_branch flag.
75*3d8817e4Smiod	(find_address_of_next_align_frag): Limit by xtensa_fetch_width.
76*3d8817e4Smiod	(future_alignment_required): Except for frags with is_aligning_branch
77*3d8817e4Smiod	flag set, call frag_wane for frags that do not need to be reexamined
78*3d8817e4Smiod	for aligning.
79*3d8817e4Smiod	(relax_frag_immed): Replace orig_vinsn with cur_vinsn to fix a leak.
80*3d8817e4Smiod	(convert_frag_immed): Likewise.
81*3d8817e4Smiod	(convert_frag_narrow): Check is_aligning_branch flag.
82*3d8817e4Smiod	* config/tc-xtensa.h (xtensa_frag_type): Add is_aligning_branch flag.
83*3d8817e4Smiod
84*3d8817e4Smiod2005-12-20  Sterling Augustine  <sterling@tensilica.com>
85*3d8817e4Smiod
86*3d8817e4Smiod	* config/tc-xtensa.c (xg_find_narrowest_format): Optimize 1 slot case.
87*3d8817e4Smiod	(xg_init_vinsn): Remove redundant initialization.
88*3d8817e4Smiod	(xg_clear_vinsn): Zero all the slots with a single memset.
89*3d8817e4Smiod	* config/xtensa-istack.h (vliw_insn): Move insnbuf field after slots.
90*3d8817e4Smiod
91*3d8817e4Smiod2005-12-20  Nathan Sidwell  <nathan@codesourcery.com>
92*3d8817e4Smiod
93*3d8817e4Smiod	* doc/t-mt.texi: Update MS1 to MT.
94*3d8817e4Smiod
95*3d8817e4Smiod2005-12-16  Nathan Sidwell  <nathan@codesourcery.com>
96*3d8817e4Smiod
97*3d8817e4Smiod	Second part of ms1 to mt renaming.
98*3d8817e4Smiod	* configure: Rebuilt.
99*3d8817e4Smiod	* configure.in (mt): Remove special case.
100*3d8817e4Smiod	* config/tc-mt.c (opcodes/mt-desc.h, opcodes/mt-opc.h): Change
101*3d8817e4Smiod	#includes.
102*3d8817e4Smiod	(mt_insn, mt_mach, mt_mach_bitmask, mt_flags, mt_architectures):
103*3d8817e4Smiod	Rename, adjust.
104*3d8817e4Smiod	(md_parse_option, md_show_usage, md_begin, md_assemble,
105*3d8817e4Smiod	md_cgen_lookup_reloc, md_atof): Adjust.
106*3d8817e4Smiod	(mt_force_relocation, mt_apply_fix, mt_fix_adjustable): Rename, adjust.
107*3d8817e4Smiod	* config/tc-mt.h (TC_MT): Rename.
108*3d8817e4Smiod	(LISTING_HEADER, TARGET_ARCH, TARGET_FORMAT): Adjust.
109*3d8817e4Smiod	(md_apply_fix): Adjust.
110*3d8817e4Smiod	(mt_apply_fix, mt_fix_adjustable, mt_force_relocation): Rename.
111*3d8817e4Smiod	(TC_FORCE_RELOCATION, tc_fix_adjustable): Adjust.
112*3d8817e4Smiod
113*3d8817e4Smiod2005-12-14  Jan Beulich  <jbeulich@novell.com>
114*3d8817e4Smiod
115*3d8817e4Smiod	* config/tc-i386.c (add_prefix): More fine-grained handling of
116*3d8817e4Smiod	REX prefixes. Or new prefix value into i.prefix instead of
117*3d8817e4Smiod	assigning.
118*3d8817e4Smiod
119*3d8817e4Smiod2005-12-13  DJ Delorie  <dj@redhat.com>
120*3d8817e4Smiod
121*3d8817e4Smiod	* config/tc-m32c.c (m32c_md_end): Only pad code sections.
122*3d8817e4Smiod
123*3d8817e4Smiod2005-12-12  Paul Brook  <paul@codesourcery.com>
124*3d8817e4Smiod
125*3d8817e4Smiod	* config/tc-arm.c (do_branch): Generate EABI branch relocations.
126*3d8817e4Smiod	(do_bl): New function.
127*3d8817e4Smiod	(do_blx): Generate BFD_RELOC_ARM_PCREL_CALL relocation.
128*3d8817e4Smiod	(do_t_blx): Generate BFD_RELOC_THUMB_PCREL_BRANCH23.
129*3d8817e4Smiod	(insns): Use do_bl.
130*3d8817e4Smiod	(md_pcrel_from_section): Add BFD_RELOC_ARM_PCREL_CALL and
131*3d8817e4Smiod	BFD_RELOC_ARM_PCREL_JUMP.
132*3d8817e4Smiod	(md_apply_fix): Merge BFD_RELOC_ARM_PCREL_BRANCH and
133*3d8817e4Smiod	BFD_RELOC_ARM_PCREL_BLX cases.  Handle BFD_RELOC_ARM_PCREL_CALL and
134*3d8817e4Smiod	BFD_RELOC_ARM_PCREL_JUMP.
135*3d8817e4Smiod	(tc_gen_reloc): Handle BFD_RELOC_ARM_PCREL_CALL and
136*3d8817e4Smiod	BFD_RELOC_ARM_PCREL_JUMP.
137*3d8817e4Smiod	gas/testsuite/
138*3d8817e4Smiod	* gas/arm/pic.d: Allow R_ARM_CALL relocations.
139*3d8817e4Smiod
140*3d8817e4Smiod2005-12-12  Nathan Sidwell  <nathan@codesourcery.com>
141*3d8817e4Smiod
142*3d8817e4Smiod	* configure.in: Replace ms1 arch with mt arch.
143*3d8817e4Smiod	* configure: Rebuilt.
144*3d8817e4Smiod	* configure.tgt: Replace ms1 arch with mt arch.
145*3d8817e4Smiod	* config/tc-mt.c: Renamed from tc-ms1.c: Update include files.
146*3d8817e4Smiod	* doc/Makefile.am (CPU_DOCS): Replace ms1 files with mt files.
147*3d8817e4Smiod	* doc/Makefile.in: Rebuilt.
148*3d8817e4Smiod
149*3d8817e4Smiod2005-12-07  Hans-Peter Nilsson  <hp@axis.com>
150*3d8817e4Smiod
151*3d8817e4Smiod	Change 32-bit-branch expansion for --pic.
152*3d8817e4Smiod	* config/tc-cris.c (STATE_COND_BRANCH_PIC): New relaxation state.
153*3d8817e4Smiod	(md_cris_relax_table): Add entry for STATE_COND_BRANCH_PIC.
154*3d8817e4Smiod	(cris_any_v0_v10_long_jump_size_pic): New macro.
155*3d8817e4Smiod	(md_estimate_size_before_relax): Handle STATE_COND_BRANCH_PIC.
156*3d8817e4Smiod	(md_convert_frag): Similar.
157*3d8817e4Smiod	(md_create_long_jump): Change 32-bit-branch expansion for --pic.
158*3d8817e4Smiod	(md_assemble, gen_cond_branch_32): Adjust similarly.
159*3d8817e4Smiod	(md_parse_option) <case OPTION_PIC>: Adjust md_long_jump_size.
160*3d8817e4Smiod	<case OPTION_ARCH>: Similar, if --pic.
161*3d8817e4Smiod
162*3d8817e4Smiod2005-12-06  H.J. Lu  <hongjiu.lu@intel.com>
163*3d8817e4Smiod
164*3d8817e4Smiod	PR gas/1874
165*3d8817e4Smiod	* config/tc-i386.c (match_template): Handle monitor.
166*3d8817e4Smiod	(process_suffix): Likewise.
167*3d8817e4Smiod
168*3d8817e4Smiod2005-12-05  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
169*3d8817e4Smiod
170*3d8817e4Smiod	Bug gas/1948
171*3d8817e4Smiod	* symbols.c (colon): Also check if now_seg is bss_section when a symbol
172*3d8817e4Smiod	is being redefined.
173*3d8817e4Smiod
174*3d8817e4Smiod2005-12-02  Arnold Metselaar  <arnoldm@sourceware.org>
175*3d8817e4Smiod
176*3d8817e4Smiod	* config/tc-z80.c (emit_ldreg): fix bug in ld rr,<xx>
177*3d8817e4Smiod
178*3d8817e4Smiod2005-11-26  Arnold Metselaar  <arnoldm@sourceware.org>
179*3d8817e4Smiod
180*3d8817e4Smiod	* config/tc-z80.c (z80_start_line_hook): issue an error when
181*3d8817e4Smiod	redefining a symbol with equ
182*3d8817e4Smiod	* doc/as.texinfo(equ<z80>): mention difference with .equiv
183*3d8817e4Smiod	* doc/as.texinfo(err): fix typo
184*3d8817e4Smiod	* doc/c-z80.texi(equ): redefining a symbol with equ is no longer
185*3d8817e4Smiod	allowed
186*3d8817e4Smiod
187*3d8817e4Smiod2005-11-24  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
188*3d8817e4Smiod
189*3d8817e4Smiod	Bug gas/1896
190*3d8817e4Smiod	* config/tc-hppa.c (hppa_fix_adjustable): Don't reject for reduction
191*3d8817e4Smiod	R_HPPA relocations that are 32-bits wide.
192*3d8817e4Smiod
193*3d8817e4Smiod2005-11-23  Daniel Jacobowitz  <dan@codesourcery.com>
194*3d8817e4Smiod	    Thiemo Seufer <ths@networkno.de>
195*3d8817e4Smiod
196*3d8817e4Smiod	* config/tc-mips.c (append_insn): Handle BFD_RELOC_16_PCREL_S2.
197*3d8817e4Smiod	(macro_build): Complain for invalid branch displacements.
198*3d8817e4Smiod	(mips_validate_fix): Delete.
199*3d8817e4Smiod	(md_apply_fix): Re-add pcrel support for branches.  Use consistent
200*3d8817e4Smiod	text for misaligned branch targets.
201*3d8817e4Smiod	(tc_gen_reloc: Re-add pcrel support for branches.  Handle strange
202*3d8817e4Smiod	BFD pcrel processing.  Remove error for unresolved branches.
203*3d8817e4Smiod	* config/tc-mips.h (TC_VALIDATE_FIX, mips_validate_fix): Delete.
204*3d8817e4Smiod
205*3d8817e4Smiod2005-11-22  James E Wilson  <wilson@specifix.com>
206*3d8817e4Smiod
207*3d8817e4Smiod	* config/tc-ia64.c (emit_one_bundle): Perform last_slot < 0 check
208*3d8817e4Smiod	even when manual_bundling isn't set.
209*3d8817e4Smiod
210*3d8817e4Smiod	* config/tc-ia64.c (slot_index): Emit an error instead of a warning
211*3d8817e4Smiod	when the frag chain is broken by section switching.
212*3d8817e4Smiod
213*3d8817e4Smiod2005-11-18  Jie Zhang  <jie.zhang@analog.com>
214*3d8817e4Smiod
215*3d8817e4Smiod	* config/bfin-defs.h (IS_BREG, IS_LREG): New macros.
216*3d8817e4Smiod	* config/bfin-parse.y (asm_1): Check register type for load immediate
217*3d8817e4Smiod	instruction.
218*3d8817e4Smiod
219*3d8817e4Smiod2005-11-17  Alexandre Oliva  <aoliva@redhat.com>
220*3d8817e4Smiod
221*3d8817e4Smiod	* config/tc-ppc.c (ppc_frob_file_before_adjust): Do not reference
222*3d8817e4Smiod	dotname.
223*3d8817e4Smiod	* write.c (write_object_file): Do not remove used weakrefd.
224*3d8817e4Smiod
225*3d8817e4Smiod2005-11-17  Jan Beulich  <jbeulich@novell.com>
226*3d8817e4Smiod
227*3d8817e4Smiod	* dw2gencfi.c (dot_cfi): Put argument parsing for cases
228*3d8817e4Smiod	DW_CFA_restore and DW_CFA_undefined in a loop.
229*3d8817e4Smiod
230*3d8817e4Smiod2005-11-17  Jan Beulich  <jbeulich@novell.com>
231*3d8817e4Smiod
232*3d8817e4Smiod
233*3d8817e4Smiod	* symbols.h (S_CLEAR_VOLATILE): Declare.
234*3d8817e4Smiod	* symbols.c (colon): Also accept redefinable symbols for
235*3d8817e4Smiod	redefinition. Clone them before modifying.
236*3d8817e4Smiod	(S_CLEAR_VOLATILE): Define.
237*3d8817e4Smiod	* cond.c (s_ifdef): Also test for equated symbols.
238*3d8817e4Smiod	* read.c (s_comm_internal): Also exclude non-redefinable
239*3d8817e4Smiod	equated symbols. Clone redefinable ones before modifying.
240*3d8817e4Smiod	(s_weakref): Clone redefinable symbols before modifying.
241*3d8817e4Smiod	* doc/internals.texi: Document sy_volatile, sy_forward_ref,
242*3d8817e4Smiod	S_IS_VOLATILE, S_SET_VOLATILE, S_CLEAR_VOLATILE,
243*3d8817e4Smiod	S_IS_FORWARD_REF, and S_SET_FORWARD_REF.
244*3d8817e4Smiod
245*3d8817e4Smiod2005-11-16  Alan Modra  <amodra@bigpond.net.au>
246*3d8817e4Smiod
247*3d8817e4Smiod	* config/tc-hppa.c (pa_comm): Set bfd_com_section segment.
248*3d8817e4Smiod
249*3d8817e4Smiod2005-11-16  Alan Modra  <amodra@bigpond.net.au>
250*3d8817e4Smiod
251*3d8817e4Smiod	* configure.tgt (i386-*-gnu*): Set em=gnu.
252*3d8817e4Smiod	* config/te-gnu.h: New file.
253*3d8817e4Smiod	* config/tc-i386.c: Don't use '/' as comment char for TE_GNU.
254*3d8817e4Smiod
255*3d8817e4Smiod2005-11-16  Alan Modra  <amodra@bigpond.net.au>
256*3d8817e4Smiod
257*3d8817e4Smiod	* config/tc-ppc.c (ppc_pe_comm): Set bfd_com_section segment.
258*3d8817e4Smiod	* config/tc-alpha.c (s_alpha_comm): Likewise.  Also, remove
259*3d8817e4Smiod	redundant check.
260*3d8817e4Smiod	* read.c (s_lsym): Remove non-BFD assembler sym handling.
261*3d8817e4Smiod
262*3d8817e4Smiod2005-11-16  Alan Modra  <amodra@bigpond.net.au>
263*3d8817e4Smiod
264*3d8817e4Smiod	* read.c (s_comm_internal): Set bfd_com_section segment.
265*3d8817e4Smiod	(s_mri_common): Likewise.
266*3d8817e4Smiod	* write.c (write_object_file): Remove non-BFD assembler common
267*3d8817e4Smiod	sym handling.
268*3d8817e4Smiod
269*3d8817e4Smiod2005-11-15  Daniel Jacobowitz  <dan@codesourcery.com>
270*3d8817e4Smiod
271*3d8817e4Smiod	* config/tc-arm.c (s_arm_unwind_save_core): Don't emit an extra
272*3d8817e4Smiod	opcode if r4-r15 are not saved.
273*3d8817e4Smiod
274*3d8817e4Smiod2005-11-15  Alan Modra  <amodra@bigpond.net.au>
275*3d8817e4Smiod
276*3d8817e4Smiod	* symbols.c (S_GET_VALUE): Remove non-BFD assembler recursion guard.
277*3d8817e4Smiod
278*3d8817e4Smiod2005-11-14  Jan Beulich  <jbeulich@novell.com>
279*3d8817e4Smiod
280*3d8817e4Smiod	* config/tc-ia64.c (AR_FCR, AR_EFLAG, AR_CSD, AR_SSD, AR_CFLG,
281*3d8817e4Smiod	AR_FSR, AR_FIR, AR_FDR, AR_CCV, AR_EC): Define.
282*3d8817e4Smiod	(ar): Use AR_* instead of literals.
283*3d8817e4Smiod	(CR_DCR, CR_ITM, CR_IVA, CR_PTA, CR_GPTA, CR_LID, CR_ITV,
284*3d8817e4Smiod	CR_PMV, CR_CMCV): Define.
285*3d8817e4Smiod	(cr): Use CR_* instead of literals.
286*3d8817e4Smiod
287*3d8817e4Smiod2005-11-14  Jan Beulich  <jbeulich@novell.com>
288*3d8817e4Smiod
289*3d8817e4Smiod	* config/tc-ia64.c (md): Rename regsym to indregsym and move
290*3d8817e4Smiod	it to the end of the structure.
291*3d8817e4Smiod	(ar): Field regnum is unsigned.
292*3d8817e4Smiod	(cr): Likewise:
293*3d8817e4Smiod	(indirect_reg): Likewise.
294*3d8817e4Smiod	(declare_register_set): Parameter regnum is unsigned.
295*3d8817e4Smiod	(declare_register): Parameter numregs and base_regnum are
296*3d8817e4Smiod	unsigned. So is the local loop variable.
297*3d8817e4Smiod	(md_begin): Restrict scope of local variable regnum, which
298*3d8817e4Smiod	also is unsigned. Replace loops with function calls where
299*3d8817e4Smiod	possible. Re-order things so that register groups are kept
300*3d8817e4Smiod	together. Remove all uses of regsym except for indirect
301*3d8817e4Smiod	registers. Replace use of regsym by indregsym for indirect
302*3d8817e4Smiod	registers.
303*3d8817e4Smiod	(ia64_optimize_expr): Replace use of regsym by indregsym for
304*3d8817e4Smiod	indirect registers, with appropriate bias.
305*3d8817e4Smiod
306*3d8817e4Smiod2005-11-14  David Ung  <davidu@mips.com>
307*3d8817e4Smiod
308*3d8817e4Smiod	* config/tc-mips.c (mips16_ip): Add handling of 'm' and 'M' codes
309*3d8817e4Smiod	for the MIPS16e save/restore instructions.
310*3d8817e4Smiod
311*3d8817e4Smiod2005-11-11  Jan Beulich  <jbeulich@novell.com>
312*3d8817e4Smiod
313*3d8817e4Smiod	* doc/Makefile.am: Make asconfig.texi writeable before trying
314*3d8817e4Smiod	to write to it.
315*3d8817e4Smiod	* doc/Makefile.in: Refresh.
316*3d8817e4Smiod
317*3d8817e4Smiod2005-11-10  Jan Beulich  <jbeulich@novell.com>
318*3d8817e4Smiod
319*3d8817e4Smiod	* config/tc-i386.c (intel_e11): Don't special-case segment
320*3d8817e4Smiod	registers in brackets.
321*3d8817e4Smiod
322*3d8817e4Smiod2005-11-10  Nick Clifton  <nickc@redhat.com>
323*3d8817e4Smiod
324*3d8817e4Smiod	* config/tc-arm.c (BAD_ADDR_MODE): Define.
325*3d8817e4Smiod	(arm_reg_parse_multi): Return NULL rather than FAIL.
326*3d8817e4Smiod	(arm_reg_parse): Fix comment, the function returns FAIL rather
327*3d8817e4Smiod	than NULL if it is unable to parse the register name.
328*3d8817e4Smiod	(do_ldrex): Use BAD_ADDR_MODE.
329*3d8817e4Smiod	Change error message for PC-relative addressing.
330*3d8817e4Smiod	(do_strex): Likewise.
331*3d8817e4Smiod	(do_t_ldrex): Use BAD_ADDR_MODE.
332*3d8817e4Smiod	(do_t_strex): Likewise.
333*3d8817e4Smiod
334*3d8817e4Smiod2005-11-08   Jean-Jacques Metayer  <jean-jacques.metayer@thomson.net>
335*3d8817e4Smiod
336*3d8817e4Smiod	* config/tc-sparc.c (isoctal): Fix thinko.
337*3d8817e4Smiod
338*3d8817e4Smiod2005-11-08  Arnold Metselaar  <arnold.metselaar@planet.nl>
339*3d8817e4Smiod
340*3d8817e4Smiod	* expr.c (operand <case '$'>): Use DOLLAR_AMBIGU rather than
341*3d8817e4Smiod	flag_mri_m68k as condition for parsing the '$' as a prefix.
342*3d8817e4Smiod	* as.h (DOLLAR_AMBIGU): Define if needed.
343*3d8817e4Smiod
344*3d8817e4Smiod2005-11-08  Nathan Sidwell  <nathan@codesourcery.com>
345*3d8817e4Smiod
346*3d8817e4Smiod	Add ms2 support.
347*3d8817e4Smiod	* config/tc-ms1.c (ms1_mach_bitmask): Initialize to MS1.
348*3d8817e4Smiod	(ms1_architectures): Add ms2.
349*3d8817e4Smiod	(md_parse_option): Add ms2.
350*3d8817e4Smiod	(md_show_usage): Add ms2.
351*3d8817e4Smiod	(md_assemble): Add JAL_HAZARD detection logic.
352*3d8817e4Smiod	(md_cgen_lookup_reloc): Add MS1_OPERAND_LOOPSIZE case.
353*3d8817e4Smiod	* doc/c-ms1.texi: New.
354*3d8817e4Smiod	* doc/all.texi: Add MS1.
355*3d8817e4Smiod	* doc/Makefile.am (CPU_DOCS): Add c-ms1.texi.
356*3d8817e4Smiod	* doc/Makefile.in: Rebuilt.
357*3d8817e4Smiod	* doc/Makefile: Rebuilt.
358*3d8817e4Smiod
359*3d8817e4Smiod2005-11-07  Steve Ellcey  <sje@cup.hp.com>
360*3d8817e4Smiod
361*3d8817e4Smiod	* configure: Regenerate after modifying bfd/warning.m4.
362*3d8817e4Smiod
363*3d8817e4Smiod2005-11-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
364*3d8817e4Smiod
365*3d8817e4Smiod	PR gas/1804
366*3d8817e4Smiod	* config/tc-hppa.c (md_apply_fix): Use number_to_chars_bigendian to
367*3d8817e4Smiod	output constant data.
368*3d8817e4Smiod
369*3d8817e4Smiod2005-11-07  Mark Mitchell  <mark@codesourcery.com>
370*3d8817e4Smiod
371*3d8817e4Smiod	* doc/Makefile.am (asconfig.texi): Set top_srcdir.
372*3d8817e4Smiod	* doc/Makefile.in: Regenerated.
373*3d8817e4Smiod	* doc/as.texinfo: Document "@FILE".
374*3d8817e4Smiod
375*3d8817e4Smiod2005-11-07  Nick Clifton  <nickc@redhat.com>
376*3d8817e4Smiod
377*3d8817e4Smiod	PR binutils/1568
378*3d8817e4Smiod	* config/obj-coff.c (obj_coff_section): Set readonly flag with the
379*3d8817e4Smiod	'x' attribute.  Remember the actions of the 'w' and 'n' attributes
380*3d8817e4Smiod	and do not allow the 'x','s' or 'd' attributes to change them.
381*3d8817e4Smiod
382*3d8817e4Smiod2005-11-07  John Levon  <levon@movementarian.org>
383*3d8817e4Smiod
384*3d8817e4Smiod	* config/tc-i386.h (tc_comment_chars): Define.
385*3d8817e4Smiod	* config/tc-i386.c (line_comment_chars): Use '/' unconditionally.
386*3d8817e4Smiod	(i386_comment_chars): Add.
387*3d8817e4Smiod	(md_parse_options): Process OPTION_DIVIDE.
388*3d8817e4Smiod	(md_show_usage): Describe --divide option.
389*3d8817e4Smiod	* doc/c-i386.texi: Document --divide option.
390*3d8817e4Smiod
391*3d8817e4Smiod2005-11-07  Arnold Metselaar  <arnold.metselaar@planet.nl>
392*3d8817e4Smiod
393*3d8817e4Smiod	* expr.c (op_encoding): Map '=' to O_SINGLE_EQ, if defined.
394*3d8817e4Smiod	* config/tc-z80.h: Define O_SINGLE_EQ as O_eq.
395*3d8817e4Smiod
396*3d8817e4Smiod2005-11-07  Alan Modra  <amodra@bigpond.net.au>
397*3d8817e4Smiod
398*3d8817e4Smiod	* macro.c (buffer_and_nest): Skip labels regardless of
399*3d8817e4Smiod	NO_PSEUDO_DOT and flag_m68k_mri.
400*3d8817e4Smiod
401*3d8817e4Smiod2005-11-07  Arnold Metselaar  <arnold.metselaar@planet.nl>
402*3d8817e4Smiod
403*3d8817e4Smiod	* expr.c (integer_constant): Match only 'B' as binary suffix if
404*3d8817e4Smiod	NUMBERS_WITH_SUFFIX and LOCAL_LABELS_FB.  Allow both 'b' and 'B'
405*3d8817e4Smiod	otherwise.
406*3d8817e4Smiod
407*3d8817e4Smiod2005-11-04  Alexandre Oliva  <aoliva@redhat.com>
408*3d8817e4Smiod
409*3d8817e4Smiod	* read.c (s_weakref): Do not permit redefinitions.
410*3d8817e4Smiod	* symbols.c (colon): Do not permit redefinitions of equated
411*3d8817e4Smiod	symbols.
412*3d8817e4Smiod
413*3d8817e4Smiod2005-11-01  Thiemo Seufer  <ths@networkno.de>
414*3d8817e4Smiod
415*3d8817e4Smiod	PR gas/1299
416*3d8817e4Smiod	* Makefile.am: Disable -Werror for the itbl-lex.o rule.
417*3d8817e4Smiod	* Makefile.in: Regenerate.
418*3d8817e4Smiod
419*3d8817e4Smiod2005-11-01  Thiemo Seufer  <ths@networkno.de>
420*3d8817e4Smiod
421*3d8817e4Smiod	* config/tc-mips.c (md_parse_option): Fix typo in comment.
422*3d8817e4Smiod
423*3d8817e4Smiod2005-10-30  Mark Mitchell  <mark@codesourcery.com>
424*3d8817e4Smiod
425*3d8817e4Smiod	* as.c (show_usage): Document "@FILE".
426*3d8817e4Smiod
427*3d8817e4Smiod2005-10-30  H.J. Lu  <hongjiu.lu@intel.com>
428*3d8817e4Smiod
429*3d8817e4Smiod	* Makefile.am (OBJ_FORMATS): Remove vms.
430*3d8817e4Smiod	Run "make dep-am".
431*3d8817e4Smiod	* Makefile.in: Regenerated.
432*3d8817e4Smiod
433*3d8817e4Smiod	* dep-in.sed: Replace " ./" with " ".
434*3d8817e4Smiod
435*3d8817e4Smiod2005-10-28  Dave Brolley  <brolley@redhat.com>
436*3d8817e4Smiod
437*3d8817e4Smiod	Contribute the following change:
438*3d8817e4Smiod	2005-09-19  Dave Brolley  <brolley@redhat.com>
439*3d8817e4Smiod
440*3d8817e4Smiod	* config/tc-m32c.c (default_isa): New static variable.
441*3d8817e4Smiod	(m32c_isa): Now of type CGEN_BITSET.
442*3d8817e4Smiod	(md_begin): Pass &m32c_isa to m32c_cgen_cpu_open.
443*3d8817e4Smiod
444*3d8817e4Smiod2005-10-28  Paul Brook  <paul@codesourcery.com>
445*3d8817e4Smiod
446*3d8817e4Smiod	* config/tc-arm.c (aeabi_set_public_attributes): Use selected_cpu
447*3d8817e4Smiod	instead of mcpu_cpu_opt.
448*3d8817e4Smiod
449*3d8817e4Smiod2005-10-27  Sterling Augustine  <sterling@tensilica.com>
450*3d8817e4Smiod
451*3d8817e4Smiod	* config/tc-xtensa.c (find_vinsn_conflicts): Change error messages to
452*3d8817e4Smiod	refer to "ports" instead of "queues".
453*3d8817e4Smiod	(check_t1_t2_reads_and_writes): Pass correct interface values to
454*3d8817e4Smiod	xtensa_interface_inout.
455*3d8817e4Smiod
456*3d8817e4Smiod2005-10-27  Jan Beulich  <jbeulich@novell.com>
457*3d8817e4Smiod
458*3d8817e4Smiod	* read.c (assign_symbol): Also consider equates already defined.
459*3d8817e4Smiod	* symbols.c (symbol_clone): Also clone the underlying BFD symbol.
460*3d8817e4Smiod	* config/obj-coff.h (obj_symbol_clone_hook): New.
461*3d8817e4Smiod	(coff_obj_symbol_clone_hook): Declare.
462*3d8817e4Smiod	* config/obj-coff.c (coff_obj_symbol_clone_hook): New.
463*3d8817e4Smiod
464*3d8817e4Smiod2005-10-26  DJ Delorie  <dj@redhat.com>
465*3d8817e4Smiod
466*3d8817e4Smiod	* config/tc-m32c.c (md_relax_table, subtype_mappings,
467*3d8817e4Smiod	md_convert_frag): Add jsr.w support.
468*3d8817e4Smiod
469*3d8817e4Smiod	* config/tc-m32c.c (md_assemble): Don't use errmsg as the format
470*3d8817e4Smiod	itself.
471*3d8817e4Smiod	(md_cgen_lookup_reloc): Add m32c bitbase operands.  Add 8-s24
472*3d8817e4Smiod	and imm-8-HI operands.
473*3d8817e4Smiod
474*3d8817e4Smiod2005-10-26  Paul Brook  <paul@codesourcery.com>
475*3d8817e4Smiod
476*3d8817e4Smiod	* config/tc-arm.c (insns): Correct "sel" entry.
477*3d8817e4Smiod
478*3d8817e4Smiod2005-10-26  Jan Beulich  <jbeulich@novell.com>
479*3d8817e4Smiod
480*3d8817e4Smiod	* config/tc-i386.c (i386_operand): Don't check register prefix here.
481*3d8817e4Smiod	(parse_real_register): Rename from parse_register.
482*3d8817e4Smiod	(parse_register): New.
483*3d8817e4Smiod	(i386_parse_name): New.
484*3d8817e4Smiod	(md_operand): New.
485*3d8817e4Smiod	(intel_e11): Don't tolerate registers in offset expressions anymore.
486*3d8817e4Smiod	(intel_get_token): Don't check register prefix here. Copy the actual
487*3d8817e4Smiod	register token, not the canonical register name.
488*3d8817e4Smiod	* config/tc-i386.h (md_operand): Delete.
489*3d8817e4Smiod	(i386_parse_name): Declare.
490*3d8817e4Smiod	(md_parse_name): Define.
491*3d8817e4Smiod
492*3d8817e4Smiod2005-10-25  Arnold Metselaar  <arnold.metselaar@planet.nl>
493*3d8817e4Smiod
494*3d8817e4Smiod	* Makefile.am: Add Z80 cpu.
495*3d8817e4Smiod	* Makefile.in: Regenerated.
496*3d8817e4Smiod	* app.c (do_scrub_chars)<TC_Z80>: Correctly scrub "ex af,af'"
497*3d8817e4Smiod	and disallow newlines in quoted strings.
498*3d8817e4Smiod	* configure.tgt: Add z80-*-coff.
499*3d8817e4Smiod	* config/obj-coff.h: Add format "coff-z80".
500*3d8817e4Smiod	* doc/Makefile.am: Add c-z80.texi.
501*3d8817e4Smiod	* doc/Makefile.in: Regenerated.
502*3d8817e4Smiod	* doc/all.texi: Add Z80.
503*3d8817e4Smiod	* doc/c-z80.texi: New file
504*3d8817e4Smiod	* doc/as.texinfo: Add z80 options and some z80-related remarks.
505*3d8817e4Smiod	* config/tc-z80.c: New file
506*3d8817e4Smiod	* config/tc-z80.h: New file
507*3d8817e4Smiod	* NEWS: Mention new support.
508*3d8817e4Smiod
509*3d8817e4Smiod2005-10-25  H.J. Lu  <hongjiu.lu@intel.com>
510*3d8817e4Smiod
511*3d8817e4Smiod	* write.c (adjust_reloc_syms): Undo the change made on
512*3d8817e4Smiod	2005-04-26 to allow local symbol set to undefined symbol.
513*3d8817e4Smiod
514*3d8817e4Smiod2005-10-24  H.J. Lu  <hongjiu.lu@intel.com>
515*3d8817e4Smiod
516*3d8817e4Smiod	* Makefile.am (bfin-parse.tab.h): Removed.
517*3d8817e4Smiod	(bfin-parse.h): Added.
518*3d8817e4Smiod	* Makefile.in: Regenerated.
519*3d8817e4Smiod
520*3d8817e4Smiod2005-10-25  Alan Modra  <amodra@bigpond.net.au>
521*3d8817e4Smiod
522*3d8817e4Smiod	* po/POTFILES.in: Regenerate.
523*3d8817e4Smiod	* po/gas.pot: Regenerate.
524*3d8817e4Smiod
525*3d8817e4Smiod2005-10-24  Bernd Schmidt  <bernd.schmidt@analog.com>
526*3d8817e4Smiod
527*3d8817e4Smiod	* config/tc-bfin.c (Expr_Node_Gen_Reloc): If have symbol + constant,
528*3d8817e4Smiod	make a single reloc with an offset rather than a stack.
529*3d8817e4Smiod	* config/tc-bfin.h (MD_APPLY_SYM_VALUE): Define to 0.
530*3d8817e4Smiod
531*3d8817e4Smiod2005-10-24  Alexandre Oliva  <aoliva@redhat.com>
532*3d8817e4Smiod
533*3d8817e4Smiod	* read.c (potable): Add weakref.
534*3d8817e4Smiod	(s_weakref): New.
535*3d8817e4Smiod	* read.h (s_weakref): Declare.
536*3d8817e4Smiod	* struc-symbol.h (struct symbol): Add sy_weakrefr and sy_weakrefd.
537*3d8817e4Smiod	* symbols.c (colon): Clear weakrefr.
538*3d8817e4Smiod	(symbol_find_exact): Rename to, and reimplement in terms of...
539*3d8817e4Smiod	(symbol_find_exact_noref): ... new function.
540*3d8817e4Smiod	(symbol_find): Likewise...
541*3d8817e4Smiod	(symbol_find_noref): ... ditto.
542*3d8817e4Smiod	(resolve_symbol_value): Resolve weakrefr without setting their
543*3d8817e4Smiod	values.
544*3d8817e4Smiod	(S_SET_WEAK): Call hook.
545*3d8817e4Smiod	(S_GET_VALUE): Follow weakref link.
546*3d8817e4Smiod	(S_SET_VALUE): Clear weakrefr.
547*3d8817e4Smiod	(S_IS_WEAK): Follow weakref link.
548*3d8817e4Smiod	(S_IS_WEAKREFR, S_SET_WEAKREFR, S_CLEAR_WEAKREFR): New.
549*3d8817e4Smiod	(S_IS_WEAKREFD, S_SET_WEAKREFD, S_CLEAR_WEAKREFD): New.
550*3d8817e4Smiod	(symbol_set_value_expression, symbol_set_frag): Clear weakrefr.
551*3d8817e4Smiod	(symbol_mark_used): Follow weakref link.
552*3d8817e4Smiod	(print_symbol_value_1): Print weak, weakrefr and weakrefd.
553*3d8817e4Smiod	* symbols.h (symbol_find_noref, symbol_find_exact_noref): Declare.
554*3d8817e4Smiod	(S_IS_WEAKREFR, S_SET_WEAKREFR, S_CLEAR_WEAKREFR): Declare.
555*3d8817e4Smiod	(S_IS_WEAKREFD, S_SET_WEAKREFD, S_CLEAR_WEAKREFD): Declare.
556*3d8817e4Smiod	* write.c (adust_reloc_syms): Follow weakref link.  Do not
557*3d8817e4Smiod	complain if target is undefined.
558*3d8817e4Smiod	(write_object_file): Likewise.  Remove weakrefr symbols.  Drop
559*3d8817e4Smiod	unreferenced weakrefd symbols.
560*3d8817e4Smiod	* config/obj-coff.c (obj_frob_symbol): Do not force WEAKREFD
561*3d8817e4Smiod	symbols EXTERNAL.
562*3d8817e4Smiod	(pecoff_obj_set_weak_hook, pecoff_obj_clear_weak_hook): New.
563*3d8817e4Smiod	* config/obj-coff.h (obj_set_weak_hook, obj_clear_weak_hook): Define.
564*3d8817e4Smiod	* doc/as.texinfo: Document weakref.
565*3d8817e4Smiod	* doc/internals.texi: Document new struct members, internal
566*3d8817e4Smiod	functions and hooks.
567*3d8817e4Smiod
568*3d8817e4Smiod2005-10-24  Jie Zhang  <jie.zhang@analog.com>
569*3d8817e4Smiod
570*3d8817e4Smiod	* Makefile.am (bfin-parse.h): Renamed from bfin-parse.tab.h.
571*3d8817e4Smiod	(EXTRA_DIST): Add bfin-parse.h and bfin-lex.c.
572*3d8817e4Smiod	* Makefile.in: Regenerate.
573*3d8817e4Smiod	* config/bfin-lex.l: Include bfin-parse.h instead of bfin-parse.tab.h.
574*3d8817e4Smiod	* config/tc-bfin.c (md_chars_to_number): Change the type of first
575*3d8817e4Smiod	argument from unsigned char * to char * to remove signedness warnings.
576*3d8817e4Smiod
577*3d8817e4Smiod2005-10-24  Jan Beulich  <jbeulich@novell.com>
578*3d8817e4Smiod
579*3d8817e4Smiod	* config/tc-ia64.c (enum reg_symbol): Delete IND_MEM.
580*3d8817e4Smiod	(dot_rot): Change type of num_* variables. Check for positive count.
581*3d8817e4Smiod	(ia64_optimize_expr): Re-structure.
582*3d8817e4Smiod	(md_operand): Check for general register.
583*3d8817e4Smiod
584*3d8817e4Smiod2005-10-24  Jan Beulich  <jbeulich@novell.com>
585*3d8817e4Smiod
586*3d8817e4Smiod	* config/tc-ia64.c (declare_register): Call symbol_create.
587*3d8817e4Smiod	(md_begin): Remove local variables total, ar_base, and cr_base.
588*3d8817e4Smiod	Start loops for registers at their respective first one. Don't
589*3d8817e4Smiod	update md.regsym for alias names. Generate alias name tp for r13.
590*3d8817e4Smiod
591*3d8817e4Smiod2005-10-21  DJ Delorie  <dj@redhat.com>
592*3d8817e4Smiod
593*3d8817e4Smiod	* config/tc-m32c.c (md_cgen_lookup_reloc): Add more relocs.  Print
594*3d8817e4Smiod	names unstead of numbers.
595*3d8817e4Smiod
596*3d8817e4Smiod2005-10-19  David Ung  <davidu@mips.com>
597*3d8817e4Smiod
598*3d8817e4Smiod	* config/tc-mips.c (append_insn): Convert MIPS16 jr/jalr jumps
599*3d8817e4Smiod	into jrc/jalrc versions if ISA_MIPS32+ and not doing the swap,
600*3d8817e4Smiod	hence avoiding to emit a nop.
601*3d8817e4Smiod
602*3d8817e4Smiod2005-10-19  Jie Zhang  <jie.zhang@analog.com>
603*3d8817e4Smiod
604*3d8817e4Smiod	* config/tc-bfin.c (md_begin): Let the lex_type of '(' be
605*3d8817e4Smiod	LEX_BEGIN_NAME.
606*3d8817e4Smiod	(bfin_start_line_hook): Remove the workaround for LSETUP(.
607*3d8817e4Smiod	(bfin_name_is_register): Remove the workarounds for LSETUP(
608*3d8817e4Smiod	and SAA(.
609*3d8817e4Smiod	(bfin_start_label): Ditto.
610*3d8817e4Smiod
611*3d8817e4Smiod2005-10-18  Bob Wilson  <bob.wilson@acm.org>
612*3d8817e4Smiod
613*3d8817e4Smiod	* config/tc-xtensa.c (xtensa_end_directive): Restore
614*3d8817e4Smiod	default_lit_sections regardless of use_literal_section.
615*3d8817e4Smiod
616*3d8817e4Smiod2005-10-18  Jie Zhang  <jie.zhang@analog.com>
617*3d8817e4Smiod
618*3d8817e4Smiod	* Makefile.am (bfin-lex.c): Update ylwrap invocation.
619*3d8817e4Smiod	* Makefile.in: Regenerated.
620*3d8817e4Smiod
621*3d8817e4Smiod2005-10-18  Arnold Metselaar  <arnold.metselaar@planet.nl>
622*3d8817e4Smiod
623*3d8817e4Smiod	* doc/as.texinfo (.loc) Fix placement of '@end table'.
624*3d8817e4Smiod
625*3d8817e4Smiod2005-10-17  Bob Wilson  <bob.wilson@acm.org>
626*3d8817e4Smiod
627*3d8817e4Smiod	* config/xtensa-istack.h (TInsn): Replace dwarf2_line_info with an
628*3d8817e4Smiod	unsigned line number.  Do not include "dwarf2dbg.h".
629*3d8817e4Smiod	* config/tc-xtensa.c (md_pseudo_table): Remove entry for "loc".
630*3d8817e4Smiod	(xtensa_dwarf2_directive_loc, xtensa_dwarf2_emit_insn): Delete.
631*3d8817e4Smiod	(xg_build_to_insn, xg_build_token_insn): Update TInsn uses.
632*3d8817e4Smiod	(md_assemble): Use as_where instead of dwarf2_where.
633*3d8817e4Smiod	(xg_assemble_vliw_tokens): Use unsigned line numbers instead of
634*3d8817e4Smiod	dwarf2_line_infos.  Change to call new_logical_line followed by
635*3d8817e4Smiod	dwarf2_emit_insn.
636*3d8817e4Smiod
637*3d8817e4Smiod2005-10-14  Mike Frysinger <vapier@gentoo.org>
638*3d8817e4Smiod
639*3d8817e4Smiod	* doc/as.texinfo (Section): Add missing ']' to .section example.
640*3d8817e4Smiod
641*3d8817e4Smiod2005-10-12  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
642*3d8817e4Smiod
643*3d8817e4Smiod	PR binutils/941
644*3d8817e4Smiod	* config/tc-hppa.c (pa_ip): Use as_bad instead of as_fatal when an
645*3d8817e4Smiod	unknown opcode is found.
646*3d8817e4Smiod
647*3d8817e4Smiod2005-10-12  Mark Mitchell  <mark@codesourcery.com>
648*3d8817e4Smiod
649*3d8817e4Smiod	* NEWS: Mention @file.
650*3d8817e4Smiod
651*3d8817e4Smiod2005-10-12  Nick Clifton  <nickc@redhat.com>
652*3d8817e4Smiod
653*3d8817e4Smiod	* config/tc-avr.c: Convert to ISO C90 format.  Fix formatting and
654*3d8817e4Smiod	generally tidy up the code.
655*3d8817e4Smiod	* config/tc-avr.h: Likewise.
656*3d8817e4Smiod
657*3d8817e4Smiod2005-10-12  Jan Beulich  <jbeulich@novell.com>
658*3d8817e4Smiod
659*3d8817e4Smiod	* config/tc-ia64.c (dot_reg_val): Use expression_and_evaluate.
660*3d8817e4Smiod	(dot_pred_rel): Likewise.
661*3d8817e4Smiod	(parse_operand): Likewise.
662*3d8817e4Smiod	(ia64_unrecognized_line): Likewise.
663*3d8817e4Smiod	(md_operand): Likewise.
664*3d8817e4Smiod
665*3d8817e4Smiod2005-10-11  Jan Beulich  <jbeulich@novell.com>
666*3d8817e4Smiod
667*3d8817e4Smiod	* expr.h (enum expr_mode): New.
668*3d8817e4Smiod	(expression): Pass third argument to expr.
669*3d8817e4Smiod	(expression_and_evaluate): New.
670*3d8817e4Smiod	(deferred_expression): New.
671*3d8817e4Smiod	(expr): Add third parameter.
672*3d8817e4Smiod	(resolve_expression): New.
673*3d8817e4Smiod	* struc-symbol.h (struct symbol): New members sy_volatile and
674*3d8817e4Smiod	sy_forward_ref.
675*3d8817e4Smiod	* symbols.c, symbols.h (symbol_clone): New.
676*3d8817e4Smiod	(symbol_clone_if_forward_ref): New.
677*3d8817e4Smiod	(snapshot_symbol): New.
678*3d8817e4Smiod	(S_IS_VOLATILE): New.
679*3d8817e4Smiod	(S_IS_FORWARD_REF): New.
680*3d8817e4Smiod	(S_SET_VOLATILE): New.
681*3d8817e4Smiod	(S_SET_FORWARD_REF): New.
682*3d8817e4Smiod	* as.c (macro_expr): Use expression_and_evaluate.
683*3d8817e4Smiod	* cond.c (s_if): Likewise.
684*3d8817e4Smiod	(s_elseif): Likewise.
685*3d8817e4Smiod	* dw2gencfi.c (cfi_parse_reg): Likewise.
686*3d8817e4Smiod	* expr.c (operand): Add second parameter. Optionally call
687*3d8817e4Smiod	deferred_expression. Pass mode argument to itself and md_parse_name.
688*3d8817e4Smiod	Check mode before trying to evaluate symbol. Call
689*3d8817e4Smiod	symbol_clone_if_forward_ref for both operands.
690*3d8817e4Smiod	(expr): Add third parameter. Pass mode to operand and itself.
691*3d8817e4Smiod	Optionally call resolve_expression.
692*3d8817e4Smiod	(resolve_expression): New.
693*3d8817e4Smiod	(get_single_number): Pass second argument to operand.
694*3d8817e4Smiod	* read.c (potable): New entry for .eqv.
695*3d8817e4Smiod	(read_a_source_file): Handle new == operator.
696*3d8817e4Smiod	(get_absolute_expr): Use expression_and_evaluate.
697*3d8817e4Smiod	(s_lsym): Likewise.
698*3d8817e4Smiod	(assign_symbol): Rename second parameter. Call symbol_clone on
699*3d8817e4Smiod	legal and illegal redefinition. Call S_SET_VOLATILE and
700*3d8817e4Smiod	S_SET_FORWARD_REF depending on mode.
701*3d8817e4Smiod	(s_set): Update description.
702*3d8817e4Smiod	(s_space): Call resolve_expression.
703*3d8817e4Smiod	(pseudo_set): Optionally call deferred_expression. Check
704*3d8817e4Smiod	S_IS_FORWARD_REF before trying to simplify/resolve an expression.
705*3d8817e4Smiod	(equals): Handle ==.
706*3d8817e4Smiod	* config/tc-ia64.h (md_parse_name): Add mode parameter.
707*3d8817e4Smiod	* config/tc-arc.c (arc_parse_cons_expression): Likewise.
708*3d8817e4Smiod	* config/tc-m32r.h (md_parse_name): Likewise.
709*3d8817e4Smiod	(m32r_parse_name): Likewise.
710*3d8817e4Smiod	* config/tc-mmix.h (md_parse_name): Likewise.
711*3d8817e4Smiod	* config/tc-mn10300.h (md_parse_name): Likewise.
712*3d8817e4Smiod	(mn10300_parse_name): Likewise.
713*3d8817e4Smiod	* config/tc-ppc.h (md_parse_name): Likewise.
714*3d8817e4Smiod	* config/tc-sh.h (md_parse_name): Likewise.
715*3d8817e4Smiod	(sh_parse_name): Likewise.
716*3d8817e4Smiod	* config/tc-sh64.h (md_parse_name): Likewise.
717*3d8817e4Smiod	(sh64_consume_datalabel): Likewise.
718*3d8817e4Smiod	* config/tc-tic54x.h (md_parse_name): Likewise.
719*3d8817e4Smiod	* config/tc-m32r.c (m32r_parse_name): Add mode parameter. Check it
720*3d8817e4Smiod	before trying to evaluate symbol.
721*3d8817e4Smiod	* config/tc-mn10300.c (mn10300_parse_name): Likewise.
722*3d8817e4Smiod	* config/tc-sh.c (sh_parse_name): Likewise.
723*3d8817e4Smiod	* config/tc-sh64.c (sh64_consume_datalabel): Add mode parameter. Pass
724*3d8817e4Smiod	second argument to operandf. Pass mode parameter to sh_parse_name.
725*3d8817e4Smiod	* doc/as.texinfo: Document .eqv and the == assignment operator.
726*3d8817e4Smiod
727*3d8817e4Smiod2005-10-10  Ian Lance Taylor  <ian@airs.com>
728*3d8817e4Smiod
729*3d8817e4Smiod	* Makefile.am (EXTRA_DIST): Remove bfin-lex.l and bfin-defs.h.
730*3d8817e4Smiod	* Makefile.in: Regenerate.
731*3d8817e4Smiod
732*3d8817e4Smiod2005-10-10  Arnold Metselaar  <arnold.metselaar@planet.nl>
733*3d8817e4Smiod
734*3d8817e4Smiod	* expr.c (operator): Allow "!=" as a synonym for "<>".
735*3d8817e4Smiod	* doc/as.texinfo (Infix Op): Mention "!=".
736*3d8817e4Smiod
737*3d8817e4Smiod2005-10-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
738*3d8817e4Smiod
739*3d8817e4Smiod	* config/tc-hppa.c (strict): Don't initialize.  Update comment.
740*3d8817e4Smiod	(pa_ip): Promote from PA 1.0 to 1.1 immediately when 1.1 match is
741*3d8817e4Smiod	found.  Simplify handling of "ma" and "mb" completers.
742*3d8817e4Smiod
743*3d8817e4Smiod2005-10-08  Paul Brook  <paul@codesourcery.com>
744*3d8817e4Smiod
745*3d8817e4Smiod	* config/tc-arm.c: Don't provide fallback default for CPU_DEFAULT.
746*3d8817e4Smiod	(arm_arch_used, thumb_arch_used, selected_cpu, selected_cpu_name):
747*3d8817e4Smiod	New variables.
748*3d8817e4Smiod	(arm_cpu_option_table): Add canonical_name.
749*3d8817e4Smiod	(arm_cpus): Populate canonical_name field.
750*3d8817e4Smiod	(s_arm_eabi_attribute, s_arm_arch, s_arm_cpu, s_arm_fpu,
751*3d8817e4Smiod	aeabi_set_public_attributes, arm_md_end): New functions.
752*3d8817e4Smiod	(md_pseudo_table): Add "cpu", "arch", "fpu" and "eabi_attribute".
753*3d8817e4Smiod	(md_assemble): Set thumb_arch_used and arm_arch_used.
754*3d8817e4Smiod	(md_begin): Set defaut cpu if CPU_DEFAULT not defined.
755*3d8817e4Smiod	* config/tc-arm.h (md_end): Define.
756*3d8817e4Smiod	* doc/c-arm.texi: Document .cpu, .arch, .fpu and .eabi_attribute.
757*3d8817e4Smiod
758*3d8817e4Smiod2005-10-06  Khem Raj  <kraj@mvista.com>
759*3d8817e4Smiod	    NIIBE Yutaka  <gniibe@m17n.org>
760*3d8817e4Smiod
761*3d8817e4Smiod	* config/tc-sh.c (allow_dollar_register_prefix): New variable.
762*3d8817e4Smiod	(parse_reg_without_prefix): New function.
763*3d8817e4Smiod	(parse_reg): Check for '$' register prefix if --allow-reg-prefix is
764*3d8817e4Smiod	set.
765*3d8817e4Smiod	(option md_longopts): Add allow-reg-prefix option.
766*3d8817e4Smiod	* doc/c-sh.texi: Document --allow-reg-prefix option.
767*3d8817e4Smiod	* NEWS: Mention the new switch.
768*3d8817e4Smiod
769*3d8817e4Smiod2005-10-03  Arnold Metselaar  <arnold.metselaar@planet.nl>
770*3d8817e4Smiod
771*3d8817e4Smiod	* doc/as.texinfo (Infix Ops):  '<' and '>' are not shift
772*3d8817e4Smiod	operators.
773*3d8817e4Smiod
774*3d8817e4Smiod2005-09-30  Sterling Augustine  <sterling@tensilica.com>
775*3d8817e4Smiod	    Bob Wilson  <bob.wilson@acm.org>
776*3d8817e4Smiod
777*3d8817e4Smiod	* config/tc-xtensa.c (xtensa_frob_label): Disallow labels in bundles.
778*3d8817e4Smiod
779*3d8817e4Smiod2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>
780*3d8817e4Smiod
781*3d8817e4Smiod	* Makefile.am: Run "make dep-am".
782*3d8817e4Smiod	* Makefile.in: Regenerated.
783*3d8817e4Smiod	* aclocal.m4: Likewise.
784*3d8817e4Smiod
785*3d8817e4Smiod2005-09-30  Mark Mitchell  <mark@codesourcery.com>
786*3d8817e4Smiod
787*3d8817e4Smiod	* as.c (main): Use expandargv.
788*3d8817e4Smiod
789*3d8817e4Smiod2005-09-30  Jan Beulich  <jbeulich@novell.com>
790*3d8817e4Smiod
791*3d8817e4Smiod	* config/tc-tic4x.c (tic4x_set): Advance input_line_pointer past
792*3d8817e4Smiod	(removed) comma.
793*3d8817e4Smiod
794*3d8817e4Smiod2005-09-30  Catherine Moore  <clm@cm00re.com>
795*3d8817e4Smiod
796*3d8817e4Smiod	* Makefile.am: Bfin support.
797*3d8817e4Smiod	* Makefile.in: Regenerated.
798*3d8817e4Smiod	* aclocal.m4: Regenerated.
799*3d8817e4Smiod	* configure: Regenerated.
800*3d8817e4Smiod	* configure.in: Bfin support.
801*3d8817e4Smiod	* configure.tgt: Bfin support.
802*3d8817e4Smiod	* config/bfin-aux.h: New file.
803*3d8817e4Smiod	* config/bfin-defs.h: New file.
804*3d8817e4Smiod	* config/bfin-lex.l: New file.
805*3d8817e4Smiod	* config/bfin-parse.y: New file.
806*3d8817e4Smiod	* config/tc-bfin.c: New file.
807*3d8817e4Smiod	* config/tc-bfin.h: New file.
808*3d8817e4Smiod	* doc/Makefile.am: Recognize c-bfin.texi.
809*3d8817e4Smiod	* doc/Makefile.in: Regenerated.
810*3d8817e4Smiod	* doc/all.texi: Bfin support.
811*3d8817e4Smiod	* doc/as.texinfo: Likewise.
812*3d8817e4Smiod	* doc/c-bfin.texi: Document bfin-specific syntax and
813*3d8817e4Smiod	directives.
814*3d8817e4Smiod
815*3d8817e4Smiod2005-09-30  Paul Brook  <paul@codesourcery.com>
816*3d8817e4Smiod
817*3d8817e4Smiod	* config/tc-arm.c (opcode_tag): Add OT_cinfix3_legacy.
818*3d8817e4Smiod	(opcode_lookup): Handle OT_cinfix3_legacy.  Revert earlier change for
819*3d8817e4Smiod	normal infix conditions.
820*3d8817e4Smiod	(C3E): Include Thumb-2 definition.
821*3d8817e4Smiod	(CL, cCL): Define.
822*3d8817e4Smiod	(insns): Use them for legacy mnemonics.
823*3d8817e4Smiod
824*3d8817e4Smiod2005-09-30  Matthias Kurz  <mk@baerlap.north.de>
825*3d8817e4Smiod
826*3d8817e4Smiod	* asintl.h: Prevent the inclusion of <libintl.h> from the Solaris
827*3d8817e4Smiod	version of <locale.h> when ENABLE_NLS is not defined.
828*3d8817e4Smiod
829*3d8817e4Smiod2005-09-29  Jan Beulich  <jbeulich@novell.com>
830*3d8817e4Smiod
831*3d8817e4Smiod	* config/tc-ia64.c (parse_operands): Always parse first operand of
832*3d8817e4Smiod	alloc.
833*3d8817e4Smiod
834*3d8817e4Smiod2005-09-29  Arnold Metselaar <arnold.metselaar@planet.nl>
835*3d8817e4Smiod	    Alan Modra  <amodra@bigpond.net.au>
836*3d8817e4Smiod
837*3d8817e4Smiod	* app.c (do_scrub_chars): Match open and close quote of strings.
838*3d8817e4Smiod	Remove redundant EOF test in case 7.
839*3d8817e4Smiod
840*3d8817e4Smiod2005-09-28  Jan Beulich  <jbeulich@novell.com>
841*3d8817e4Smiod
842*3d8817e4Smiod	* config/tc-i386.c (reloc): Disable signedness check for 4-byte
843*3d8817e4Smiod	relocations in 16- and 32-bit modes.
844*3d8817e4Smiod	(i386_displacement): Make pc-relative branch handling dependent
845*3d8817e4Smiod	upon operand (rather than address) size.
846*3d8817e4Smiod
847*3d8817e4Smiod2005-09-28  Jan Beulich  <jbeulich@novell.com>
848*3d8817e4Smiod
849*3d8817e4Smiod	* dw2gencfi.c (dot_cfi): Call ignore_rest_of_line when not fully
850*3d8817e4Smiod	parsing the input.
851*3d8817e4Smiod	(dot_cfi_startproc): Likewise.
852*3d8817e4Smiod	(dot_cfi_endproc): Likewise. Also check no extra input was given.
853*3d8817e4Smiod	(dot_cfi_escape): Likewise.
854*3d8817e4Smiod
855*3d8817e4Smiod2005-09-28  Jan Beulich  <jbeulich@novell.com>
856*3d8817e4Smiod
857*3d8817e4Smiod	* config/tc-i386.h (x86_cons_fix_new): Declare unconditionally.
858*3d8817e4Smiod	(TC_CONS_FIX_NEW): Define unconditionally.
859*3d8817e4Smiod	(x86_pe_cons_fix_new): Remove.
860*3d8817e4Smiod	* config/tc-i386.c (signed_cons): New.
861*3d8817e4Smiod	(md_pseudo_table): Add slong.
862*3d8817e4Smiod	(x86_cons_fix_new): Declare unconditionally.
863*3d8817e4Smiod	(x86_pe_cons_fix_new): Merge into x86_cons_fix_new.
864*3d8817e4Smiod	(tc_gen_reloc): Also consider BFD_RELOC_X86_64_32S for gotpc
865*3d8817e4Smiod	conversion.
866*3d8817e4Smiod
867*3d8817e4Smiod2005-09-28  Arnold Metselaar  <arnold.metselaar@planet.nl>
868*3d8817e4Smiod
869*3d8817e4Smiod	* app.c (do_scrub_chars <LEX_IS_SYMBOL_COMPONENT>): Check for full
870*3d8817e4Smiod	buffer after copying string.
871*3d8817e4Smiod
872*3d8817e4Smiod2005-09-27  Paul Brook  <paul@codesourcery.com>
873*3d8817e4Smiod
874*3d8817e4Smiod	* config/arm.c (arm_cpus): Add more cpu names.
875*3d8817e4Smiod	* doc/c-arm.texi: Document them.
876*3d8817e4Smiod
877*3d8817e4Smiod2005-09-21  Alan Modra  <amodra@bigpond.net.au>
878*3d8817e4Smiod
879*3d8817e4Smiod	* read.c (pseudo_set): Don't set undefined symbols to expr_section.
880*3d8817e4Smiod
881*3d8817e4Smiod2005-09-20  Richard Henderson  <rth@redhat.com>
882*3d8817e4Smiod
883*3d8817e4Smiod	* dwarf2dbg.c (process_entries): Fix uninitialized variable warning.
884*3d8817e4Smiod
885*3d8817e4Smiod2005-09-20  Richard Henderson  <rth@redhat.com>
886*3d8817e4Smiod
887*3d8817e4Smiod	* dwarf2dbg.c (struct line_entry): Replace frag and frag_ofs
888*3d8817e4Smiod	with label.
889*3d8817e4Smiod	(dwarf2_loc_mark_labels): New.
890*3d8817e4Smiod	(dwarf2_gen_line_info_1): Split out of ...
891*3d8817e4Smiod	(dwarf2_gen_line_info): ... here.  Create the temp symbol here.
892*3d8817e4Smiod	(dwarf2_emit_label): New.
893*3d8817e4Smiod	(dwarf2_directive_loc_mark_labels): New.
894*3d8817e4Smiod	(out_set_addr): Take a symbol instead of frag+ofs.
895*3d8817e4Smiod	(relax_inc_line_addr): Likewise.
896*3d8817e4Smiod	(emit_inc_line_addr): Assert delta non-negative.
897*3d8817e4Smiod	(process_entries): Remove dead code.  Update to work with temp
898*3d8817e4Smiod	symbols instead of frag+ofs.
899*3d8817e4Smiod	* dwarf2dbg.h (dwarf2_directive_loc_mark_labels): Declare.
900*3d8817e4Smiod	(dwarf2_emit_label, dwarf2_loc_mark_labels): Declare.
901*3d8817e4Smiod	* config/obj-elf.c (elf_pseudo_tab): Add loc_mark_labels.
902*3d8817e4Smiod	* config/obj-elf.h (obj_frob_label): New.
903*3d8817e4Smiod	* config/tc-alpha.c (alpha_define_label): Call dwarf2_emit_label.
904*3d8817e4Smiod	* config/tc-arm.c, config/tc-hppa.c, config/tc-m68k.c,
905*3d8817e4Smiod	config/tc-mips.c, config/tc-ppc.c, config/tc-sh.c, config/tc-xtensa.c:
906*3d8817e4Smiod	Similarly in the respective tc_frob_label implementation functions.
907*3d8817e4Smiod	* config/tc-i386.c (md_pseudo_table): Move file and loc to
908*3d8817e4Smiod	non-elf section; add loc_mark_labels.
909*3d8817e4Smiod	* config/tc-ia64.c (struct label_fix): Add dw2_mark_labels.
910*3d8817e4Smiod	(ia64_flush_insns): Check for marked labels; emit line entry if so.
911*3d8817e4Smiod	(emit_one_bundle): Similarly.
912*3d8817e4Smiod	(ia64_frob_label): Record marked labels.
913*3d8817e4Smiod	* config/tc-m68hc11.h (tc_frob_label): Remove.
914*3d8817e4Smiod	* config/tc-ms1.c (md_pseudo_table): Remove file and loc.
915*3d8817e4Smiod	* config/tc-sh.h (tc_frob_label): Pass sym to sh_frob_label.
916*3d8817e4Smiod	* config/tc-sh64.h (tc_frob_label): Likewise.
917*3d8817e4Smiod	* doc/as.texinfo (LNS directives): Docuement .loc_mark_blocks.
918*3d8817e4Smiod
919*3d8817e4Smiod2005-09-20  Alan Modra  <amodra@bigpond.net.au>
920*3d8817e4Smiod
921*3d8817e4Smiod	* read.c (pseudo_set): Set segment of expression syms to expr_section.
922*3d8817e4Smiod
923*3d8817e4Smiod2005-09-14  Jan Beulich  <jbeulich@novell.com>
924*3d8817e4Smiod
925*3d8817e4Smiod	* config/tc-i386.c (tc_x86_regname_to_dw2regnum): Add selector
926*3d8817e4Smiod	registers, floating point control and status words, and mxcsr as
927*3d8817e4Smiod	well as (for 64-bit code) segment base registers and rflags.
928*3d8817e4Smiod
929*3d8817e4Smiod2005-09-09  Dmitry Diky  <diwil@spec.ru>
930*3d8817e4Smiod
931*3d8817e4Smiod	* config/tc-msp430.c (msp430_operands): Undo last changes. Instead...
932*3d8817e4Smiod	(msp430_relax_frag): add a guard check to ensure that final fr_subtype
933*3d8817e4Smiod	has been reached.
934*3d8817e4Smiod
935*3d8817e4Smiod2005-09-08  Chao-ying Fu  <fu@mips.com>
936*3d8817e4Smiod
937*3d8817e4Smiod	* doc/as.texinfo: Document -mdsp and -mno-dsp options.
938*3d8817e4Smiod	* doc/c-mips.texi: Likewise, and document ".set dsp" and ".set nodsp"
939*3d8817e4Smiod	directives.
940*3d8817e4Smiod
941*3d8817e4Smiod2005-09-08  Paul Brook  <paul@codesourcery.com>
942*3d8817e4Smiod
943*3d8817e4Smiod	* config/tc-arm.c (do_smi, do_t_smi): Rename ...
944*3d8817e4Smiod	(do_smc, do_t_smc): ... to this.
945*3d8817e4Smiod	(insns): Remane smi to smc.
946*3d8817e4Smiod	(md_apply_fix, tc_gen_reloc): Rename BFD_RELOC_ARM_SMI to
947*3d8817e4Smiod	BFD_RELOC_ARM_SMC.
948*3d8817e4Smiod
949*3d8817e4Smiod2005-09-07  Richard Henderson  <rth@redhat.com>
950*3d8817e4Smiod
951*3d8817e4Smiod	* dwarf2dbg.c (dwarf2_where): Set line->isa.
952*3d8817e4Smiod	(dwarf2_set_isa): New.
953*3d8817e4Smiod	(dwarf2_directive_loc): Rearrange to allow all options on one line.
954*3d8817e4Smiod	* dwarf2dbg.h (dwarf2_set_isa): Declare.
955*3d8817e4Smiod	* doc/as.texinfo: Update .loc documentation.
956*3d8817e4Smiod
957*3d8817e4Smiod2005-09-07  Richard Henderson  <rth@redhat.com>
958*3d8817e4Smiod
959*3d8817e4Smiod	* dwarf2dbg.c: Include safe-ctype.h.
960*3d8817e4Smiod	(DWARF2_LINE_OPCODE_BASE): Bump to 13.
961*3d8817e4Smiod	(current): Initialize.
962*3d8817e4Smiod	(dwarf2_emit_insn): Clear DWARF2_FLAG_BASIC_BLOCK,
963*3d8817e4Smiod	DWARF2_FLAG_PROLOGUE_END, DWARF2_FLAG_EPILOGUE_BEGIN.
964*3d8817e4Smiod	(dwarf2_directive_file): Cope with invalid filename.
965*3d8817e4Smiod	(dwarf2_directive_loc): Add handling for basic_block, prologue_end,
966*3d8817e4Smiod	epilogue_begin, is_stmt, isa.
967*3d8817e4Smiod	(emit_inc_line_addr): Move line_delta == 0, addr_delta == 0 special
968*3d8817e4Smiod	case down lower.
969*3d8817e4Smiod	(process_entries): Handle isa, DWARF2_FLAG_PROLOGUE_END,
970*3d8817e4Smiod	and DWARF2_FLAG_EPILOGUE_BEGIN.
971*3d8817e4Smiod	(out_debug_line): Emit sizes for DW_LNS_set_prologue_end,
972*3d8817e4Smiod	DW_LNS_set_epilogue_begin, DW_LNS_set_isa.
973*3d8817e4Smiod	* dwarf2dbg.h (DWARF2_FLAG_IS_STMT): Rename from DWARF2_FLAG_BEGIN_STMT.
974*3d8817e4Smiod	(DWARF2_FLAG_BASIC_BLOCK): Rename from DWARF2_FLAG_BEGIN_BLOCK.
975*3d8817e4Smiod	(DWARF2_FLAG_PROLOGUE_END, DWARF2_FLAG_EPILOGUE_BEGIN): New.
976*3d8817e4Smiod	(struct dwarf2_line_info): Add isa member.
977*3d8817e4Smiod	* doc/as.texinfo (LNS directives): New node.
978*3d8817e4Smiod
979*3d8817e4Smiod2005-09-07  David Ung  <davidu@mips.com>
980*3d8817e4Smiod
981*3d8817e4Smiod	* config/tc-mips.c (append_insn): Undo last change.  Instead add
982*3d8817e4Smiod	guard to suppress calling frag_grow if the current instruction is
983*3d8817e4Smiod	one that allows a delay slot.
984*3d8817e4Smiod
985*3d8817e4Smiod2005-09-06  Chao-ying Fu  <fu@mips.com>
986*3d8817e4Smiod
987*3d8817e4Smiod	* config/tc-mips.c (mips_set_options): Add ase_mt for MT instructions.
988*3d8817e4Smiod	(mips_opts): Add -1 to initialize ase_mt.
989*3d8817e4Smiod	(file_ase_mt): New variable for -mmt.
990*3d8817e4Smiod	(CPU_HAS_MT): New define.
991*3d8817e4Smiod	(validate_mips_insn): Add supports for +t, +T, !, $, *, &, g operand
992*3d8817e4Smiod	formats.
993*3d8817e4Smiod	(mips_ip): Check ase_mt to enable MT instructions.
994*3d8817e4Smiod	Handle !, $, *, &, +T, +t, g operand formats.
995*3d8817e4Smiod	For "mftc1", "mfthc1", "cftc1", "mttc1", "mtthc1", "cttc1", we allow
996*3d8817e4Smiod	odd float registers.
997*3d8817e4Smiod	(OPTION_MT, OPTION_NO_MT): New define.
998*3d8817e4Smiod	(OPTION_COMPAT_ARCH_BASE): Change because of inserting MT define.
999*3d8817e4Smiod	(md_parse_option): Parse OPTION_MT and OPTION_NO_MT.
1000*3d8817e4Smiod	(mips_after_parse_args): Set ase_mt based on CPU.
1001*3d8817e4Smiod	(s_mipsset): Handle ".set mt" and ".set nomt".
1002*3d8817e4Smiod	(mips_elf_final_processing): Remind of adding new flag for MT ASE.
1003*3d8817e4Smiod	(md_show_usage): Show usage of -mmt and -mno-mt.
1004*3d8817e4Smiod	* doc/as.texinfo: Document -mmt and -mno-mt options.
1005*3d8817e4Smiod	* doc/c-mips.texi: Likewise, and document ".set mt" and ".set nomt"
1006*3d8817e4Smiod	directives.
1007*3d8817e4Smiod
1008*3d8817e4Smiod2005-09-06  Paul Brook  <paul@codesourcery.com>
1009*3d8817e4Smiod
1010*3d8817e4Smiod	* config/tc-arm.c (arm_it): Add relax field.
1011*3d8817e4Smiod	(T16_32_TAB): Add addi, addis, add_pc, add_sp, dec_sp, inc_sp,
1012*3d8817e4Smiod	b, bcond, ldr_pc, ldr_pc2, ldr_sp, str_sp, subi, subis.
1013*3d8817e4Smiod	(do_t_add_sub, do_t_addr, do_t_branch, do_t_ldst,
1014*3d8817e4Smiod	do_t_mov_cmp): Allow relaxation.
1015*3d8817e4Smiod	(output_relax_insn): New function.
1016*3d8817e4Smiod	(put_thumb32_insn): New function.
1017*3d8817e4Smiod	(output_inst): Use new functions.
1018*3d8817e4Smiod	(md_assemble): Don't throw error on relaxable instructions.
1019*3d8817e4Smiod	(insns): Change "b" entry from TCE(...) to tCE(...).
1020*3d8817e4Smiod	(md_estimate_size_before_relax): Return 2.
1021*3d8817e4Smiod	(md_convert_frag, relax_immediate, relax_adr, relax_addsub,
1022*3d8817e4Smiod	relax_branch, arm_relax_frag): New functions.
1023*3d8817e4Smiod	(arm_force_relocation): Return 0 for Thumb-2 immediate operand
1024*3d8817e4Smiod	relocations.
1025*3d8817e4Smiod	* config/tc-arm.h (md_convert_frag): Remove definition.
1026*3d8817e4Smiod	(md_relax_frag): Define.
1027*3d8817e4Smiod	(arm_relax_frag): Add prototype.
1028*3d8817e4Smiod
1029*3d8817e4Smiod2005-09-02  Paul Brook  <paul@codesourcery.com>
1030*3d8817e4Smiod
1031*3d8817e4Smiod	* config/tc-arm.c (do_rn_rd): Enforce SWP operand constraints.
1032*3d8817e4Smiod
1033*3d8817e4Smiod2005-09-02  Paul Brook  <paul@codesourcery.com>
1034*3d8817e4Smiod
1035*3d8817e4Smiod	* config/tc-arm.c (encode_arm_cp_address): Use
1036*3d8817e4Smiod	BFD_RELOC_ARM_T32_CP_OFF_IMM in thumb mode.
1037*3d8817e4Smiod	(do_iwmmxt_wldstbh): Use BFD_RELOC_ARM_T32_CP_OFF_IMM_S2 in thumb
1038*3d8817e4Smiod	mode.
1039*3d8817e4Smiod	(md_assemble): Only allow coprocessor instructions when Thumb-2 is
1040*3d8817e4Smiod	available.
1041*3d8817e4Smiod	(cCE, cC3): Define.
1042*3d8817e4Smiod	(insns): Use them for coprocessor instructions.
1043*3d8817e4Smiod	(md_pcrel_from_section): Handle BFD_RELOC_ARM_T32_CP_OFF_IMM.
1044*3d8817e4Smiod	(get_thumb32_insn): New function.
1045*3d8817e4Smiod	(put_thumb32_insn): New function.
1046*3d8817e4Smiod	(md_apply_fix): Handle BFD_RELOC_ARM_T32_CP_OFF_IMM and
1047*3d8817e4Smiod	BFD_RELOC_ARM_T32_CP_OFF_IMM_S2.
1048*3d8817e4Smiod
1049*3d8817e4Smiod2005-09-02  Paul Brook  <paul@codesourcery.com>
1050*3d8817e4Smiod
1051*3d8817e4Smiod	* config/tc-arm.c (opcode_lookup): Look for infix opcode when
1052*3d8817e4Smiod	incorrect suffix matches.
1053*3d8817e4Smiod
1054*3d8817e4Smiod2005-09-01  David Ung  <davidu@mips.com>
1055*3d8817e4Smiod
1056*3d8817e4Smiod	* config/tc-mips.c (append_insn): Correctly handle mips16 case
1057*3d8817e4Smiod	when the frags are different for the 2 instructions we want to
1058*3d8817e4Smiod	swap.  If the lengths of the 2 instructions are not the same, we
1059*3d8817e4Smiod	won't do the swap but emit an nop.
1060*3d8817e4Smiod
1061*3d8817e4Smiod2005-09-01  Dmitry Diky  <diwil@spec.ru>
1062*3d8817e4Smiod
1063*3d8817e4Smiod	* config/tc-msp430.c (msp430_operands): Emit dwarf2_emit_insn()
1064*3d8817e4Smiod	as appropriate. Change frag_variant() to frag_var() for relaxes.
1065*3d8817e4Smiod
1066*3d8817e4Smiod2005-08-29  Nick Clifton  <nickc@redhat.com>
1067*3d8817e4Smiod
1068*3d8817e4Smiod	* write.c (generic_force_reloc): Do not call S_FORCE_RELOC if
1069*3d8817e4Smiod	there is no symbol.
1070*3d8817e4Smiod
1071*3d8817e4Smiod2005-08-26  Jan Beulich  <jbeulich@novell.com>
1072*3d8817e4Smiod
1073*3d8817e4Smiod	* config/tc-i386.c (intel_e09): Set JumpAbsolute when seeing a PTR-
1074*3d8817e4Smiod	qualified operand of a branch.
1075*3d8817e4Smiod	(intel_bracket_expr): Set JumpAbsolute here...
1076*3d8817e4Smiod	(intel_e11): ... rather than here.
1077*3d8817e4Smiod
1078*3d8817e4Smiod2005-08-26  Christian Groessler  <chris@groessler.org>
1079*3d8817e4Smiod
1080*3d8817e4Smiod	* configure.tgt: Set bfd_gas also for z8k cpu.
1081*3d8817e4Smiod	* config/tc-z8k.c (s_segm): Use bfd_set_arch_mach to set machine
1082*3d8817e4Smiod	type.
1083*3d8817e4Smiod	(newfix): Adapt to bfd reloc types.
1084*3d8817e4Smiod	(build_bytes): Adapt to bfd reloc types.  Ensure that enough space
1085*3d8817e4Smiod	is available in the current frag.
1086*3d8817e4Smiod	(md_convert_frag): Adapt function parameters.
1087*3d8817e4Smiod	(tc_gen_reloc): New function.
1088*3d8817e4Smiod	(md_section_align): Use bfd_get_section_alignment.
1089*3d8817e4Smiod	(md_apply_fix): Adapt to bfd reloc types.  Fix handling of
1090*3d8817e4Smiod	BFD_RELOC_Z8K_IMM4L, BFD_RELOC_8, BFD_RELOC_16, and BFD_RELOC_32
1091*3d8817e4Smiod	relocations.
1092*3d8817e4Smiod	* config/tc-z8k.h (TARGET_ARCH): Define.
1093*3d8817e4Smiod	(tc_fix_adjustable): Define.
1094*3d8817e4Smiod
1095*3d8817e4Smiod2005-08-25  Chao-ying Fu  <fu@mips.com>
1096*3d8817e4Smiod
1097*3d8817e4Smiod	* config/tc-mips.c (mips_set_options): Add ase_dsp for DSP instructions.
1098*3d8817e4Smiod	(mips_opts): Add -1 to initialize ase_dsp.
1099*3d8817e4Smiod	(file_ase_dsp): New variable for -mdsp.
1100*3d8817e4Smiod	(CPU_HAS_DSP): New define.
1101*3d8817e4Smiod	(validate_mips_insn): Add supports for 3, 4, 5, 6, 7, 8, 9, 0, ', :, @
1102*3d8817e4Smiod	operand formats.
1103*3d8817e4Smiod	(mips_ip): Add min_range and max_range for checking singed numbers.
1104*3d8817e4Smiod	Check ase_dsp to enable DSP instructions.
1105*3d8817e4Smiod	Handle 3, 4, 5, 6, 7, 8, 9, 0, ', :, @ operand formats.
1106*3d8817e4Smiod	(OPTION_DSP, OPTION_NO_DSP): New define.
1107*3d8817e4Smiod	(OPTION_COMPAT_ARCH_BASE): Change because of inserting DSP define.
1108*3d8817e4Smiod	(md_parse_option): Parse OPTION_DSP and OPTION_NO_DSP.
1109*3d8817e4Smiod	(mips_after_parse_args): Set ase_dsp based on CPU.
1110*3d8817e4Smiod	(s_mipsset): Handle ".set dsp" and ".set nodsp".
1111*3d8817e4Smiod	(mips_elf_final_processing): Remind of adding new flag for DSP ASE.
1112*3d8817e4Smiod	(md_show_usage): Show usage of -mdsp and -mno-dsp.
1113*3d8817e4Smiod
1114*3d8817e4Smiod2005-08-23  David Ung  <davidu@mips.com>
1115*3d8817e4Smiod
1116*3d8817e4Smiod	* config/tc-mips.c (mips_cpu_info_table): Add 5kf to the table of
1117*3d8817e4Smiod	cpu names.
1118*3d8817e4Smiod
1119*3d8817e4Smiod2005-08-23  Alan Modra  <amodra@bigpond.net.au>
1120*3d8817e4Smiod
1121*3d8817e4Smiod	PR 1036
1122*3d8817e4Smiod	* config/tc-ppc.c (ppc_symbol_chars): Add '%' and '['.
1123*3d8817e4Smiod
1124*3d8817e4Smiod2005-08-23  Phil Edwards  <phil@codesourcery.com>
1125*3d8817e4Smiod
1126*3d8817e4Smiod	* configure.tgt (*-*-vxworks):  Match vxworks* instead.
1127*3d8817e4Smiod
1128*3d8817e4Smiod2005-08-22  Jan Beulich  <jbeulich@novell.com>
1129*3d8817e4Smiod
1130*3d8817e4Smiod	* config/tc-i386.c (object_64bit): New.
1131*3d8817e4Smiod	(i386_target_format): Initialize it.
1132*3d8817e4Smiod	(output_disp): Use object_64bit for relocation type determination.
1133*3d8817e4Smiod	(output_imm): Likewise.
1134*3d8817e4Smiod	(i386_validate_fix): Likewise.
1135*3d8817e4Smiod	(tc_gen_reloc): Likewise.
1136*3d8817e4Smiod	(lex_got): Likewise. Remove static mode_name. Change array size
1137*3d8817e4Smiod	of gotrel's rel field, and adjust its initializer. Adjust diagnostic.
1138*3d8817e4Smiod	(x86_cons): Use object_64bit for deciding whether quad fields can
1139*3d8817e4Smiod	have relocations.
1140*3d8817e4Smiod
1141*3d8817e4Smiod2005-08-18  Christian Groessler  <chris@groessler.org>
1142*3d8817e4Smiod
1143*3d8817e4Smiod	* config/tc-h8300.h: Remove TC_RELOC_MANGLE/tc_reloc_mangle.
1144*3d8817e4Smiod	* config/tc-mcore.h: Likewise.
1145*3d8817e4Smiod	* config/tc-z8k.h: Likewise.
1146*3d8817e4Smiod	* config/tc-z8k.c: Likewise.
1147*3d8817e4Smiod	* config/tc-sh.h: Remove TC_RELOC_MANGLE and
1148*3d8817e4Smiod	sh_coff_reloc_mangle declaration.
1149*3d8817e4Smiod	* config/tc-sh.c: (md_apply_fix): Fix comment for case
1150*3d8817e4Smiod	BFD_RELOC_SH_USES.
1151*3d8817e4Smiod
1152*3d8817e4Smiod2005-08-18  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1153*3d8817e4Smiod
1154*3d8817e4Smiod	* config/tc-sh64.c (sh64_target_format): Check preset_target_arch
1155*3d8817e4Smiod	to confirm that no ISA is specified.
1156*3d8817e4Smiod
1157*3d8817e4Smiod2005-08-18  Nick Clifton  <nickc@redhat.com>
1158*3d8817e4Smiod
1159*3d8817e4Smiod	* write.c (relax_segment): Count the number of frags being
1160*3d8817e4Smiod	processed and use this to compute a maximum limit on the number of
1161*3d8817e4Smiod	iterations that will be allowed when attempting to relax the
1162*3d8817e4Smiod	segment.
1163*3d8817e4Smiod
1164*3d8817e4Smiod2005-08-17  Danny Smith  <dannysmith@users.sourceforge.net>
1165*3d8817e4Smiod
1166*3d8817e4Smiod	* config/obj-coff.c (obj_coff_weak): Set auxiliary record
1167*3d8817e4Smiod	of NT weak externals to IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY.
1168*3d8817e4Smiod
1169*3d8817e4Smiod2005-08-16  Alan Modra  <amodra@bigpond.net.au>
1170*3d8817e4Smiod
1171*3d8817e4Smiod	* config/tc-ppc.c (ppc_set_cpu): Don't select 64-bit based on
1172*3d8817e4Smiod	default cpu.
1173*3d8817e4Smiod
1174*3d8817e4Smiod2005-08-15  Paul Brook  <paul@codesourcery.com>
1175*3d8817e4Smiod
1176*3d8817e4Smiod	* config/tc-arm.c (do_t_mov_cmp): Fix encoding of i16-bit conditional
1177*3d8817e4Smiod	instructions.
1178*3d8817e4Smiod	(do_t_mvn_tst, do_t_neg, do_t_shift): Ditto.
1179*3d8817e4Smiod
1180*3d8817e4Smiod2005-08-15  Daniel Jacobowitz  <dan@codesourcery.com>
1181*3d8817e4Smiod
1182*3d8817e4Smiod	* config/tc-ppc.c (parse_cpu): Add -me300 support.
1183*3d8817e4Smiod	(md_show_usage): Likewise.
1184*3d8817e4Smiod	* doc/c-ppc.texi (PowerPC-Opts): Document it.
1185*3d8817e4Smiod
1186*3d8817e4Smiod2005-08-12 Martin Schwidefsky  <schwidefsky@de.ibm.com>
1187*3d8817e4Smiod
1188*3d8817e4Smiod	* config/tc-s390.c (md_parse_option):  Add cpu type z9-109.
1189*3d8817e4Smiod	(md_gather_operands): Add support for optional operands.
1190*3d8817e4Smiod
1191*3d8817e4Smiod2005-08-12  Dmitry Diky <diwil@spec.ru>
1192*3d8817e4Smiod	* config/tc-msp430.c (msp430_enable_relax): New flag.
1193*3d8817e4Smiod	(msp430_enable_polys): Likewise.
1194*3d8817e4Smiod	(OPTION_RELAX): New option.
1195*3d8817e4Smiod	(OPTION_POLYMORPHS): Likewise.
1196*3d8817e4Smiod	(md_longopts): New long options.
1197*3d8817e4Smiod	(md_show_usage): Updated.
1198*3d8817e4Smiod	(md_parse_option): Add new options handler.
1199*3d8817e4Smiod	(msp430_operands): Add check if polymorph insns are enabled.
1200*3d8817e4Smiod	(msp430_force_relocation_local): New function.
1201*3d8817e4Smiod	(md_apply_fix): Now delete relocs according to new flags combination.
1202*3d8817e4Smiod	(msp430_relax_frag): Convert long branches to short branches only if
1203*3d8817e4Smiod	flag msp430_enable_relax is set.
1204*3d8817e4Smiod	* config/tc-msp430.h (TC_FORCE_RELOCATION_LOCAL): Defined.
1205*3d8817e4Smiod	(msp430_force_relocation_local): Likewise.
1206*3d8817e4Smiod	* doc/c-msp430.texi: Describe new options.
1207*3d8817e4Smiod
1208*3d8817e4Smiod2005-08-11  Ian Lance Taylor  <ian@airs.com>
1209*3d8817e4Smiod
1210*3d8817e4Smiod	* Makefile.am ($(srcdir)/make-gas.com): Remove target.
1211*3d8817e4Smiod	(stamp-mk.com): Likewise.
1212*3d8817e4Smiod	(EXTRA_DIST): Remove make-gas.com from list.
1213*3d8817e4Smiod	(MOSTLYCLEANFILES): Remove stamp-mk.com from list.
1214*3d8817e4Smiod	* Makefile.in: Regenerate.
1215*3d8817e4Smiod
1216*3d8817e4Smiod2005-08-11  Hans-Peter Nilsson  <hp@axis.com>
1217*3d8817e4Smiod
1218*3d8817e4Smiod	* subsegs.c (subseg_change): Move declaration of seginfo to before
1219*3d8817e4Smiod	first statement.
1220*3d8817e4Smiod
1221*3d8817e4Smiod2005-08-11  Alan Modra  <amodra@bigpond.net.au>
1222*3d8817e4Smiod
1223*3d8817e4Smiod	* README-vms: Delete.
1224*3d8817e4Smiod	* config-gas.com: Delete.
1225*3d8817e4Smiod	* makefile.vms: Delete.
1226*3d8817e4Smiod	* vmsconf.sh: Delete.
1227*3d8817e4Smiod	* config/atof-tahoe.c: Delete.
1228*3d8817e4Smiod	* config/m88k-opcode.h: Delete.
1229*3d8817e4Smiod	* config/obj-bout.c: Delete.
1230*3d8817e4Smiod	* config/obj-bout.h: Delete.
1231*3d8817e4Smiod	* config/obj-hp300.c: Delete.
1232*3d8817e4Smiod	* config/obj-hp300.h: Delete.
1233*3d8817e4Smiod	* config/tc-a29k.c: Delete.
1234*3d8817e4Smiod	* config/tc-a29k.h: Delete.
1235*3d8817e4Smiod	* config/tc-h8500.c: Delete.
1236*3d8817e4Smiod	* config/tc-h8500.h: Delete.
1237*3d8817e4Smiod	* config/tc-m88k.c: Delete.
1238*3d8817e4Smiod	* config/tc-m88k.h: Delete.
1239*3d8817e4Smiod	* config/tc-tahoe.c: Delete.
1240*3d8817e4Smiod	* config/tc-tahoe.h: Delete.
1241*3d8817e4Smiod	* config/tc-tic80.c: Delete.
1242*3d8817e4Smiod	* config/tc-tic80.h: Delete.
1243*3d8817e4Smiod	* config/tc-w65.c: Delete.
1244*3d8817e4Smiod	* config/tc-w65.h: Delete.
1245*3d8817e4Smiod	* config/te-aux.h: Delete.
1246*3d8817e4Smiod	* config/te-delt88.h: Delete.
1247*3d8817e4Smiod	* config/te-delta.h: Delete.
1248*3d8817e4Smiod	* config/te-dpx2.h: Delete.
1249*3d8817e4Smiod	* config/te-hp300.h: Delete.
1250*3d8817e4Smiod	* config/te-ic960.h: Delete.
1251*3d8817e4Smiod	* config/vms-a-conf.h: Delete.
1252*3d8817e4Smiod	* doc/c-a29k.texi: Delete.
1253*3d8817e4Smiod	* doc/c-h8500.texi: Delete.
1254*3d8817e4Smiod	* doc/c-m88k.texi: Delete.
1255*3d8817e4Smiod	* README: Remove obsolete examples, and list of supported targets.
1256*3d8817e4Smiod	* Makefile.am: Remove a29k, h8500, m88k, tahoe, tic80, w65,
1257*3d8817e4Smiod	bout and hp300 support.
1258*3d8817e4Smiod	(DEP_FLAGS): Don't define BFD_ASSEMBLER.
1259*3d8817e4Smiod	* configure.in: Remove --enable-bfd-assembler, need_bfd,
1260*3d8817e4Smiod	primary_bfd_gas.
1261*3d8817e4Smiod	* configure.tgt: Remove a29k, h8300-coff, h8500-*, i960 non-elf,
1262*3d8817e4Smiod	m68k non bfd, m88k, or32-coff, tic80-*, vax non-bfd, w65k-*, *-nindy.
1263*3d8817e4Smiod	* as.c: Remove all non-BFD_ASSEMBLER code, support for above targets.
1264*3d8817e4Smiod	* as.h: Likewise.
1265*3d8817e4Smiod	* dw2gencfi.c: Likewise.
1266*3d8817e4Smiod	* dwarf2dbg.c: Likewise.
1267*3d8817e4Smiod	* ehopt.c: Likewise.
1268*3d8817e4Smiod	* input-file.c: Likewise.
1269*3d8817e4Smiod	* listing.c: Likewise.
1270*3d8817e4Smiod	* literal.c: Likewise.
1271*3d8817e4Smiod	* messages.c: Likewise.
1272*3d8817e4Smiod	* obj.h: Likewise.
1273*3d8817e4Smiod	* output-file.c: Likewise.
1274*3d8817e4Smiod	* read.c: Likewise.
1275*3d8817e4Smiod	* stabs.c: Likewise.
1276*3d8817e4Smiod	* struc-symbol.h: Likewise.
1277*3d8817e4Smiod	* subsegs.c: Likewise.
1278*3d8817e4Smiod	* subsegs.h: Likewise.
1279*3d8817e4Smiod	* symbols.c: Likewise.
1280*3d8817e4Smiod	* symbols.h: Likewise.
1281*3d8817e4Smiod	* tc.h: Likewise.
1282*3d8817e4Smiod	* write.c: Likewise.
1283*3d8817e4Smiod	* write.h: Likewise.
1284*3d8817e4Smiod	* config/aout_gnu.h: Likewise.
1285*3d8817e4Smiod	* config/obj-aout.c: Likewise.
1286*3d8817e4Smiod	* config/obj-aout.h: Likewise.
1287*3d8817e4Smiod	* config/obj-coff.c: Likewise.
1288*3d8817e4Smiod	* config/obj-coff.h: Likewise.
1289*3d8817e4Smiod	* config/obj-evax.h: Likewise.
1290*3d8817e4Smiod	* config/obj-ieee.h: Likewise.
1291*3d8817e4Smiod	* config/tc-arm.c: Likewise.
1292*3d8817e4Smiod	* config/tc-arm.h: Likewise.
1293*3d8817e4Smiod	* config/tc-avr.c: Likewise.
1294*3d8817e4Smiod	* config/tc-avr.h: Likewise.
1295*3d8817e4Smiod	* config/tc-crx.h: Likewise.
1296*3d8817e4Smiod	* config/tc-d10v.h: Likewise.
1297*3d8817e4Smiod	* config/tc-d30v.h: Likewise.
1298*3d8817e4Smiod	* config/tc-dlx.h: Likewise.
1299*3d8817e4Smiod	* config/tc-fr30.h: Likewise.
1300*3d8817e4Smiod	* config/tc-frv.h: Likewise.
1301*3d8817e4Smiod	* config/tc-h8300.c: Likewise.
1302*3d8817e4Smiod	* config/tc-h8300.h: Likewise.
1303*3d8817e4Smiod	* config/tc-hppa.h: Likewise.
1304*3d8817e4Smiod	* config/tc-i370.h: Likewise.
1305*3d8817e4Smiod	* config/tc-i386.c: Likewise.
1306*3d8817e4Smiod	* config/tc-i386.h: Likewise.
1307*3d8817e4Smiod	* config/tc-i860.h: Likewise.
1308*3d8817e4Smiod	* config/tc-i960.c: Likewise.
1309*3d8817e4Smiod	* config/tc-i960.h: Likewise.
1310*3d8817e4Smiod	* config/tc-ip2k.h: Likewise.
1311*3d8817e4Smiod	* config/tc-iq2000.h: Likewise.
1312*3d8817e4Smiod	* config/tc-m32c.h: Likewise.
1313*3d8817e4Smiod	* config/tc-m32r.h: Likewise.
1314*3d8817e4Smiod	* config/tc-m68hc11.h: Likewise.
1315*3d8817e4Smiod	* config/tc-m68k.c: Likewise.
1316*3d8817e4Smiod	* config/tc-m68k.h: Likewise.
1317*3d8817e4Smiod	* config/tc-maxq.c: Likewise.
1318*3d8817e4Smiod	* config/tc-maxq.h: Likewise.
1319*3d8817e4Smiod	* config/tc-mcore.c: Likewise.
1320*3d8817e4Smiod	* config/tc-mcore.h: Likewise.
1321*3d8817e4Smiod	* config/tc-mn10200.h: Likewise.
1322*3d8817e4Smiod	* config/tc-mn10300.c: Likewise.
1323*3d8817e4Smiod	* config/tc-mn10300.h: Likewise.
1324*3d8817e4Smiod	* config/tc-ms1.h: Likewise.
1325*3d8817e4Smiod	* config/tc-msp430.c: Likewise.
1326*3d8817e4Smiod	* config/tc-msp430.h: Likewise.
1327*3d8817e4Smiod	* config/tc-ns32k.c: Likewise.
1328*3d8817e4Smiod	* config/tc-ns32k.h: Likewise.
1329*3d8817e4Smiod	* config/tc-openrisc.h: Likewise.
1330*3d8817e4Smiod	* config/tc-or32.c: Likewise.
1331*3d8817e4Smiod	* config/tc-or32.h: Likewise.
1332*3d8817e4Smiod	* config/tc-ppc.c: Likewise.
1333*3d8817e4Smiod	* config/tc-ppc.h: Likewise.
1334*3d8817e4Smiod	* config/tc-s390.h: Likewise.
1335*3d8817e4Smiod	* config/tc-sh.c: Likewise.
1336*3d8817e4Smiod	* config/tc-sh.h: Likewise.
1337*3d8817e4Smiod	* config/tc-sparc.c: Likewise.
1338*3d8817e4Smiod	* config/tc-tic30.c: Likewise.
1339*3d8817e4Smiod	* config/tc-tic30.h: Likewise.
1340*3d8817e4Smiod	* config/tc-tic4x.c: Likewise.
1341*3d8817e4Smiod	* config/tc-tic4x.h: Likewise.
1342*3d8817e4Smiod	* config/tc-tic54x.c: Likewise.
1343*3d8817e4Smiod	* config/tc-tic54x.h: Likewise.
1344*3d8817e4Smiod	* config/tc-v850.h: Likewise.
1345*3d8817e4Smiod	* config/tc-vax.c: Likewise.
1346*3d8817e4Smiod	* config/tc-vax.h: Likewise.
1347*3d8817e4Smiod	* config/tc-xstormy16.h: Likewise.
1348*3d8817e4Smiod	* config/tc-xtensa.h: Likewise.
1349*3d8817e4Smiod	* config/tc-z8k.c: Likewise.
1350*3d8817e4Smiod	* config/tc-z8k.h: Likewise.
1351*3d8817e4Smiod	* config/vms-a-conf.h
1352*3d8817e4Smiod	* doc/Makefile.am: Likewise.
1353*3d8817e4Smiod	* doc/all.texi: Likewise.
1354*3d8817e4Smiod	* doc/as.texinfo: Likewise.
1355*3d8817e4Smiod	* doc/internals.texi: Likewise.
1356*3d8817e4Smiod	* doc/Makefile.in: Regenerate.
1357*3d8817e4Smiod	* Makefile.in: Regenerate.
1358*3d8817e4Smiod	* configure: Regenerate.
1359*3d8817e4Smiod	* config.in: Regenerate.
1360*3d8817e4Smiod	* po/POTFILES.in: Regenerate.
1361*3d8817e4Smiod
1362*3d8817e4Smiod2005-08-09  Nick Clifton  <nickc@redhat.com>
1363*3d8817e4Smiod
1364*3d8817e4Smiod	PR 1070
1365*3d8817e4Smiod	* macro.c (getstring): Do not treat round parentheses exactly the
1366*3d8817e4Smiod	same as angle brackets - the parentheses need to be preserved and
1367*3d8817e4Smiod	passed on to the macro processing code.
1368*3d8817e4Smiod
1369*3d8817e4Smiod2005-08-08  Nick Clifton  <nickc@redhat.com>
1370*3d8817e4Smiod
1371*3d8817e4Smiod	* config/tc-msp430.c (MSP430_ISA_21): Define.
1372*3d8817e4Smiod	(mcu_types): Add entries for msp430x21xx variants.
1373*3d8817e4Smiod
1374*3d8817e4Smiod2005-08-08  Nick Clifton  <nickc@redhat.com>
1375*3d8817e4Smiod
1376*3d8817e4Smiod	PR 1070
1377*3d8817e4Smiod	* macro.c (getstring): Treat round parentheses in the same way as
1378*3d8817e4Smiod	angle brackets.
1379*3d8817e4Smiod	(get_any_string): Likewise.
1380*3d8817e4Smiod
1381*3d8817e4Smiod2005-08-07  H.J. Lu  <hongjiu.lu@intel.com>
1382*3d8817e4Smiod
1383*3d8817e4Smiod	PR gas/1118
1384*3d8817e4Smiod	* as.c (parse_args): Handle -al=<FILE>.
1385*3d8817e4Smiod
1386*3d8817e4Smiod2005-08-07  Nick Clifton  <nickc@redhat.com>
1387*3d8817e4Smiod
1388*3d8817e4Smiod	* read.c (s_app_line): Accept a line number of 0 for compatibility
1389*3d8817e4Smiod	with gcc's output for assembler-with-cpp files.
1390*3d8817e4Smiod
1391*3d8817e4Smiod2005-08-05  Paul Brook  <paul@codesourcery.com>
1392*3d8817e4Smiod
1393*3d8817e4Smiod	* config/tc-arm.c (current_it_mask, current_cc): New variables.
1394*3d8817e4Smiod	(do_t_add_sub): Use correct encodings inside IT block.
1395*3d8817e4Smiod	(do_t_arit3c): Ditto.
1396*3d8817e4Smiod	(do_t_it): Simplify logic.  Set current_it_mask and current_cc.
1397*3d8817e4Smiod	(md_assemble): Verify conditional suffixes agains IT blocks.
1398*3d8817e4Smiod
1399*3d8817e4Smiod2005-08-05  Paul Brook  <paul@codesourcery.com>
1400*3d8817e4Smiod
1401*3d8817e4Smiod	* config/tc-arm.c (encode_thumb32_immediate): Only accept shifted
1402*3d8817e4Smiod	constants.
1403*3d8817e4Smiod	(encode_thumb32_shifted_operand): Prohibit register shifts.
1404*3d8817e4Smiod	(encode_thumb32_addr_mode): Fix typo.
1405*3d8817e4Smiod	(insns): Correct thumb2 ldm and stm opcodes.
1406*3d8817e4Smiod
1407*3d8817e4Smiod2005-08-02  Khem Raj  <kraj@mvista.com>
1408*3d8817e4Smiod
1409*3d8817e4Smiod	* config/tc-arm.c (do_iwmmxt_wldstd): Correct the offset range for
1410*3d8817e4Smiod	WLDRD/WSTRD instruction.
1411*3d8817e4Smiod
1412*3d8817e4Smiod2005-08-02  Alan Modra  <amodra@bigpond.net.au>
1413*3d8817e4Smiod
1414*3d8817e4Smiod	* config/tc-ppc.c (md_apply_fix <ELF>): Don't warn on overflow
1415*3d8817e4Smiod	if emitting a reloc.
1416*3d8817e4Smiod
1417*3d8817e4Smiod2005-07-29  Thiemo Seufer  <ths@networkno.de>
1418*3d8817e4Smiod
1419*3d8817e4Smiod	* config/tc-mips.c (s_mips_globl): Allow multiple symbols per .globl.
1420*3d8817e4Smiod
1421*3d8817e4Smiod2005-07-29  Paul Brook  <paul@codesourcery.com>
1422*3d8817e4Smiod
1423*3d8817e4Smiod	* config/tc-arm.c (T16_32_TAB): Add "addr". Fix encoding of push and
1424*3d8817e4Smiod	pop.
1425*3d8817e4Smiod	(do_t_addr): Implement 32-bit variant.
1426*3d8817e4Smiod	(do_t_push_pop): Make some errors warnings.  Handle single register
1427*3d8817e4Smiod	32-bit case.
1428*3d8817e4Smiod	(insns): Use tCE for adr.
1429*3d8817e4Smiod	(md_pcrel_from_section): Handle BFD_RELOC_ARM_T32_ADD_PC12.
1430*3d8817e4Smiod	(md_apply_fix): Ditto.
1431*3d8817e4Smiod
1432*3d8817e4Smiod2005-07-29  Paul Brook  <paul@codesourcery.com>
1433*3d8817e4Smiod
1434*3d8817e4Smiod	* config/tc-arm.c (parse_tb): New function.
1435*3d8817e4Smiod	(enum operand_parse_code): Add OP_TB.
1436*3d8817e4Smiod	(parse_operands): Handle OP_TB.
1437*3d8817e4Smiod	(do_t_add_sub_w, do_t_tb): New functions.
1438*3d8817e4Smiod	(insns): Add entries for addw, subw, tbb and tbh.
1439*3d8817e4Smiod	(md_apply_fix): Handle BFD_RELOC_ARM_T32_IMM12.
1440*3d8817e4Smiod
1441*3d8817e4Smiod2005-07-29  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1442*3d8817e4Smiod
1443*3d8817e4Smiod	* config/tc-m32r.c (m32r_check_fixup): Fixed X_op check.
1444*3d8817e4Smiod
1445*3d8817e4Smiod2007-07-27  H.J. Lu <hongjiu.lu@intel.com>
1446*3d8817e4Smiod
1447*3d8817e4Smiod	* config/tc-i386.c (handle_large_common): Declare only for ELF.
1448*3d8817e4Smiod
1449*3d8817e4Smiod2005-07-27  Jan Beulich  <jbeulich@novell.com>
1450*3d8817e4Smiod
1451*3d8817e4Smiod	* config/tc-ia64.h (unw_r_record): Change type of fr_mem to unsigned
1452*3d8817e4Smiod	int.
1453*3d8817e4Smiod	(unw_p_record): Remove unused/redundant fields imask and rmask.
1454*3d8817e4Smiod	Combine spoff and pspoff into a union. Combine gr and br into a
1455*3d8817e4Smiod	union. Change type of grmask and brmask to unsigned char. Change type
1456*3d8817e4Smiod	of frmask to unsigned int.
1457*3d8817e4Smiod	(unw_x_record): Combine spoff, pspoff, and treg into a union.
1458*3d8817e4Smiod	* config/tc-ia64.c (unwind): New field 'pending_saves'.
1459*3d8817e4Smiod	(check_pending_save): New.
1460*3d8817e4Smiod	(alloc_record): Clear out entire record.
1461*3d8817e4Smiod	(output_psp_gr): Use renamed structure fields.
1462*3d8817e4Smiod	(output_psp_sprel): Likewise.
1463*3d8817e4Smiod	(output_rp_gr): Likewise.
1464*3d8817e4Smiod	(output_rp_br): Likewise.
1465*3d8817e4Smiod	(output_rp_psprel): Likewise.
1466*3d8817e4Smiod	(output_rp_sprel): Likewise.
1467*3d8817e4Smiod	(output_pfs_gr): Likewise.
1468*3d8817e4Smiod	(output_pfs_psprel): Likewise.
1469*3d8817e4Smiod	(output_pfs_sprel): Likewise.
1470*3d8817e4Smiod	(output_preds_gr): Likewise.
1471*3d8817e4Smiod	(output_preds_psprel): Likewise.
1472*3d8817e4Smiod	(output_preds_sprel): Likewise.
1473*3d8817e4Smiod	(output_spill_base): Likewise.
1474*3d8817e4Smiod	(output_unat_gr): Likewise.
1475*3d8817e4Smiod	(output_unat_psprel): Likewise.
1476*3d8817e4Smiod	(output_unat_sprel): Likewise.
1477*3d8817e4Smiod	(output_lc_gr): Likewise.
1478*3d8817e4Smiod	(output_lc_psprel): Likewise.
1479*3d8817e4Smiod	(output_lc_sprel): Likewise.
1480*3d8817e4Smiod	(output_fpsr_gr): Likewise.
1481*3d8817e4Smiod	(output_fpsr_psprel): Likewise.
1482*3d8817e4Smiod	(output_fpsr_sprel): Likewise.
1483*3d8817e4Smiod	(output_priunat_gr): Likewise.
1484*3d8817e4Smiod	(output_priunat_psprel): Likewise.
1485*3d8817e4Smiod	(output_priunat_sprel): Likewise.
1486*3d8817e4Smiod	(output_bsp_gr): Likewise.
1487*3d8817e4Smiod	(output_bsp_psprel): Likewise.
1488*3d8817e4Smiod	(output_bsp_sprel): Likewise.
1489*3d8817e4Smiod	(output_bspstore_gr): Likewise.
1490*3d8817e4Smiod	(output_bspstore_psprel): Likewise.
1491*3d8817e4Smiod	(output_bspstore_sprel): Likewise.
1492*3d8817e4Smiod	(output_rnat_gr): Likewise.
1493*3d8817e4Smiod	(output_rnat_psprel): Likewise.
1494*3d8817e4Smiod	(output_rnat_sprel): Likewise.
1495*3d8817e4Smiod	(output_spill_psprel): Likewise.
1496*3d8817e4Smiod	(output_spill_sprel): Likewise.
1497*3d8817e4Smiod	(output_spill_reg): Likewise.
1498*3d8817e4Smiod	(output_fr_mem): Likewise. Allocate one unwind record per set mask
1499*3d8817e4Smiod	bit.
1500*3d8817e4Smiod	(output_frgr_mem): Likewise.
1501*3d8817e4Smiod	(output_gr_mem): Likewise.
1502*3d8817e4Smiod	(output_br_mem): Likewise.
1503*3d8817e4Smiod	(output_gr_gr): Likewise.
1504*3d8817e4Smiod	(output_br_gr): Likewise.
1505*3d8817e4Smiod	(fixup_unw_records): Likewise.
1506*3d8817e4Smiod	(process_one_record): Use renamed structure fields. For gr_gr and
1507*3d8817e4Smiod	br_gr, collect mask from chain of records before output.
1508*3d8817e4Smiod	(in_prologue): Simplify and eliminate early returns. Call
1509*3d8817e4Smiod	check_pending_save.
1510*3d8817e4Smiod	(in_body): Simplify and eliminate early returns.
1511*3d8817e4Smiod	(dot_body): Call check_pending_save.
1512*3d8817e4Smiod	(md_assemble): Update comment. Deal with pending saves.
1513*3d8817e4Smiod
1514*3d8817e4Smiod2005-07-26  Jan Beulich  <jbeulich@novell.com>
1515*3d8817e4Smiod
1516*3d8817e4Smiod	* config/tc-i386.c (optimize_imm): Calculate candidate immediates
1517*3d8817e4Smiod	mask from guessed suffix, but mask out other immediate types only
1518*3d8817e4Smiod	if at least on candidate is valid for the insn.
1519*3d8817e4Smiod
1520*3d8817e4Smiod2005-07-25  DJ Delorie  <dj@redhat.com>
1521*3d8817e4Smiod
1522*3d8817e4Smiod	* config/tc-m32c.c (md_cgen_lookup_reloc): Add 8 bit operands.
1523*3d8817e4Smiod	Support %mod() modifiers from opcodes.
1524*3d8817e4Smiod	* doc/c-m32c.texi (M32C-Modifiers): New section.
1525*3d8817e4Smiod
1526*3d8817e4Smiod2005-07-25  Jan Hubicka  <jh@suse.cz>
1527*3d8817e4Smiod	    H.J. Lu  <hongjiu.lu@intel.com>
1528*3d8817e4Smiod
1529*3d8817e4Smiod	* config/obj-elf.c: Include "elf/x86-64.h" if TC_I386 is
1530*3d8817e4Smiod	defined.
1531*3d8817e4Smiod	(elf_com_section_ptr): New.
1532*3d8817e4Smiod	(elf_begin): Set elf_com_section_ptr to bfd_com_section_ptr.
1533*3d8817e4Smiod	(elf_common_parse): Make it global. Use elf_com_section_ptr
1534*3d8817e4Smiod	instead of bfd_com_section_ptr.
1535*3d8817e4Smiod	(obj_elf_change_section): Handle x86-64 large bss sections.
1536*3d8817e4Smiod
1537*3d8817e4Smiod	* config/obj-elf.h (elf_com_section_ptr): New.
1538*3d8817e4Smiod	(elf_common_parse): New.
1539*3d8817e4Smiod
1540*3d8817e4Smiod	* config/tc-i386.c (handle_large_common): New.
1541*3d8817e4Smiod	(md_pseudo_table): Add "largecomm".
1542*3d8817e4Smiod	(x86_64_section_letter): New.
1543*3d8817e4Smiod	(x86_64_section_word): New.
1544*3d8817e4Smiod
1545*3d8817e4Smiod	* config/tc-i386.h (x86_64_section_word): New.
1546*3d8817e4Smiod	(x86_64_section_letter): New.
1547*3d8817e4Smiod	(md_elf_section_letter): New. Defined.
1548*3d8817e4Smiod	(md_elf_section_word): Likewise.
1549*3d8817e4Smiod
1550*3d8817e4Smiod2005-07-21  Ralf Corsepius  <ralf.corsepius@rtems.org>
1551*3d8817e4Smiod
1552*3d8817e4Smiod	* configure.tgt: Remove i386-*-rtemself*.
1553*3d8817e4Smiod	Remove sparc-*-rtemself*.
1554*3d8817e4Smiod
1555*3d8817e4Smiod2005-07-21  Ben Elliston  <bje@gnu.org>
1556*3d8817e4Smiod
1557*3d8817e4Smiod	* config/tc-m68k.h: Remove TE_LYNX conditional code.
1558*3d8817e4Smiod
1559*3d8817e4Smiod2005-07-21  Paul Brook  <paul@codesourcery.com>
1560*3d8817e4Smiod
1561*3d8817e4Smiod	* config/tc-arm.c (encode_thumb32_addr_mode): Don't set
1562*3d8817e4Smiod	inst.reloc.pc_rel.
1563*3d8817e4Smiod
1564*3d8817e4Smiod2005-07-20  Tavis Ormandy <taviso@gentoo.org>
1565*3d8817e4Smiod
1566*3d8817e4Smiod	* messages.c: Use vsnprintf instead of vsprintf.
1567*3d8817e4Smiod
1568*3d8817e4Smiod2005-07-20  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
1569*3d8817e4Smiod
1570*3d8817e4Smiod	* config/tc-m32r.c (tc_gen_reloc): Check BFD_RELOC_32_PCREL and
1571*3d8817e4Smiod	BFD_RELOC_16_PCREL to Support R_M32R_REL32.
1572*3d8817e4Smiod
1573*3d8817e4Smiod2005-07-18  Nick Clifton  <nickc@redhat.com>
1574*3d8817e4Smiod
1575*3d8817e4Smiod	* configure.tgt: Restore alpha ordering to list of arches.
1576*3d8817e4Smiod
1577*3d8817e4Smiod2005-07-18  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1578*3d8817e4Smiod
1579*3d8817e4Smiod	* tc-hppa.c (pa_ip): Reject match for '#' immediate if not pa20.
1580*3d8817e4Smiod
1581*3d8817e4Smiod2005-07-18  Jan Beulich  <jbeulich@novell.com>
1582*3d8817e4Smiod
1583*3d8817e4Smiod	* config/tc-i386.c (md_begin): Use IS_ELF.
1584*3d8817e4Smiod	(tc_i386_fix_adjustable): Likewise.
1585*3d8817e4Smiod	(md_estimate_size_before_relax): Likewise.
1586*3d8817e4Smiod	(md_apply_fix): Likewise.
1587*3d8817e4Smiod	(i386_target_format): Likewise.
1588*3d8817e4Smiod	(lex_got): Define to NULL when not ELF or when LEX_AT. Check IS_ELF.
1589*3d8817e4Smiod	(i386_immediate): Remove #ifdef LEX_AT.
1590*3d8817e4Smiod	(i386_displacement): Likewise.
1591*3d8817e4Smiod	* config/tc-i386.h (x86_cons): Prototype only when ELF and when not
1592*3d8817e4Smiod	LEX_AT.
1593*3d8817e4Smiod
1594*3d8817e4Smiod2005-07-18  Jan Beulich  <jbeulich@novell.com>
1595*3d8817e4Smiod
1596*3d8817e4Smiod	* config/tc-i386.c (reloc): Convert to ISO C90. Change first
1597*3d8817e4Smiod	parameter to unsigned. Parameter sign now is tristate - zero/
1598*3d8817e4Smiod	positive mean unsigned/signed, negative means signedness doesn't
1599*3d8817e4Smiod	matter. Check field size,
1600*3d8817e4Smiod	signedness, and pcrel-ness are in agreement between relocated field
1601*3d8817e4Smiod	and relocation type. Adjust diagnostics.
1602*3d8817e4Smiod	(optimize_imm): And type mask of operand instead of overwriting it.
1603*3d8817e4Smiod	(lex_got): Convert to ISO C90. Add third parameter. Add new field to
1604*3d8817e4Smiod	local structure and initialize gotrel accordingly. Pass caller as
1605*3d8817e4Smiod	mask of types that the operator can match.
1606*3d8817e4Smiod	(x86_cons_fix_new): Let reloc know that signedness of relocation
1607*3d8817e4Smiod	doesn't matter.
1608*3d8817e4Smiod	(x86_pe_cons_fix_new): Likewise.
1609*3d8817e4Smiod	(x86_cons): Pass additional argument to lex_got.
1610*3d8817e4Smiod	(i386_immediate): New local variable 'types'. Pass its address as
1611*3d8817e4Smiod	additional argument to lex_got. Mask out operand types not supported
1612*3d8817e4Smiod	befoe returning.
1613*3d8817e4Smiod	(i386_displacement): Likewise. Set bigdisp to all types supported in
1614*3d8817e4Smiod	64-bit mode, combining the previously split initialization.
1615*3d8817e4Smiod
1616*3d8817e4Smiod2005-07-18  Jan Beulich  <jbeulich@novell.com>
1617*3d8817e4Smiod
1618*3d8817e4Smiod	* config/tc-i386.c (parse_insn): Reject prefix if unavailable in
1619*3d8817e4Smiod	current mode.
1620*3d8817e4Smiod
1621*3d8817e4Smiod2005-07-16  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1622*3d8817e4Smiod
1623*3d8817e4Smiod	* config/tc-hppa.c (pa_ip): Search entire mnemonic before considering
1624*3d8817e4Smiod	promoted match.
1625*3d8817e4Smiod
1626*3d8817e4Smiod2005-07-16  Alan Modra  <amodra@bigpond.net.au>
1627*3d8817e4Smiod
1628*3d8817e4Smiod	* Makefile.am: Run "make dep-am".
1629*3d8817e4Smiod	* Makefile.in: Regenerate.
1630*3d8817e4Smiod
1631*3d8817e4Smiod2007-07-15  H.J. Lu <hongjiu.lu@intel.com>
1632*3d8817e4Smiod
1633*3d8817e4Smiod	* gas/config/tc-i386.h (CpuVMX): New.
1634*3d8817e4Smiod	(CpuUnknownFlags): Add CpuVMX.
1635*3d8817e4Smiod
1636*3d8817e4Smiod2005-07-14  Jim Blandy  <jimb@redhat.com>
1637*3d8817e4Smiod
1638*3d8817e4Smiod	Add support for the Renesas M32C.
1639*3d8817e4Smiod	* Makefile.am (CPU_TYPES): List m32c.
1640*3d8817e4Smiod	(TARGET_CPU_CFILES): List config/tc-m32c.c.
1641*3d8817e4Smiod	(TARGET_CPU_HFILES): List config/tc-m32c.h.
1642*3d8817e4Smiod	* configure.in: Add case for m32c.
1643*3d8817e4Smiod	* configure.tgt: Add cases for m32c and m32c-*-elf.
1644*3d8817e4Smiod	* configure: Regenerated.
1645*3d8817e4Smiod	* config/tc-m32c.c, config/tc-m32c.h: New files.
1646*3d8817e4Smiod	* doc/Makefile.am (CPU_DOCS): Add c-m32c.texi.
1647*3d8817e4Smiod	* doc/Makefile.in: Regenerated.
1648*3d8817e4Smiod	* doc/all.texi: Set M32C.
1649*3d8817e4Smiod	* doc/as.texinfo: Add text for the M32C-specific options and line
1650*3d8817e4Smiod	comment characters, and refer to c-m32c.texi.
1651*3d8817e4Smiod	* doc/c-m32c.texi: New file.
1652*3d8817e4Smiod
1653*3d8817e4Smiod2005-07-14  Nick Clifton  <nickc@redhat.com>
1654*3d8817e4Smiod
1655*3d8817e4Smiod	PR 1069
1656*3d8817e4Smiod	* config/tc-crx.c (reset_vars): Use strncpy to prevent overflowing
1657*3d8817e4Smiod	the ins_parse buffer.
1658*3d8817e4Smiod
1659*3d8817e4Smiod2005-07-10  Ralf Corsepius <ralf.corsepius@rtems.org>
1660*3d8817e4Smiod
1661*3d8817e4Smiod	* configure.tgt: Remove a29k-*-rtems*, hppa*-*-rtems*,i386-go32-rtems*,
1662*3d8817e4Smiod	i386-*-rtemscoff*, sparc-*-rtemsaout*.
1663*3d8817e4Smiod
1664*3d8817e4Smiod2005-07-10  H.J. Lu  <hongjiu.lu@intel.com>
1665*3d8817e4Smiod
1666*3d8817e4Smiod	* config/tc-i386.c (optimize_disp): Optimize signed 32bit
1667*3d8817e4Smiod	displacements.
1668*3d8817e4Smiod
1669*3d8817e4Smiod2005-07-08  Ben Elliston  <bje@au.ibm.com>
1670*3d8817e4Smiod
1671*3d8817e4Smiod	* frags.h: Remove ANSI_PROTOTYPES conditional code.
1672*3d8817e4Smiod	* config/obj-elf.h: Likewise.
1673*3d8817e4Smiod	* config/tc-h8300.h: Likewise.
1674*3d8817e4Smiod	* config/tc-h8500.h: Likewise.
1675*3d8817e4Smiod	* config/tc-i370.h: Likewise.
1676*3d8817e4Smiod	* config/tc-i386.h: Likewise.
1677*3d8817e4Smiod	* config/tc-m68hc11.h: Likewise.
1678*3d8817e4Smiod	* config/tc-m68k.h: Likewise.
1679*3d8817e4Smiod	* config/tc-ppc.h: Likewise.
1680*3d8817e4Smiod	* config/tc-s390.h: Likewise.
1681*3d8817e4Smiod	* config/tc-sh.h: Likewise.
1682*3d8817e4Smiod	* config/tc-sparc.h: Likewise.
1683*3d8817e4Smiod	* config/tc-tic30.c: Likewise.
1684*3d8817e4Smiod	* config/tc-w65.h: Likewise.
1685*3d8817e4Smiod	* config/tc-xtensa.h: Likewise.
1686*3d8817e4Smiod
1687*3d8817e4Smiod2005-07-08  Hans-Peter Nilsson  <hp@axis.com>
1688*3d8817e4Smiod
1689*3d8817e4Smiod	PR gas/1049
1690*3d8817e4Smiod	* config/tc-cris.h (MD_APPLY_SYM_VALUE): Define.
1691*3d8817e4Smiod
1692*3d8817e4Smiod2005-07-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1693*3d8817e4Smiod
1694*3d8817e4Smiod	* config/tc-tic30.c (debug): Add format attribute.  Fix format
1695*3d8817e4Smiod	bugs.
1696*3d8817e4Smiod
1697*3d8817e4Smiod2005-07-06  H.J. Lu  <hongjiu.lu@intel.com>
1698*3d8817e4Smiod
1699*3d8817e4Smiod	* config/tc-i386.c (cpu_arch): Add sse3.
1700*3d8817e4Smiod
1701*3d8817e4Smiod	* config/tc-i386.h (CpuSSE3): Renamed from ...
1702*3d8817e4Smiod	(CpuPNI): This. Defined as CpuSSE3.
1703*3d8817e4Smiod
1704*3d8817e4Smiod	* doc/c-i386.texi: Document .sse3.
1705*3d8817e4Smiod
1706*3d8817e4Smiod2005-07-06  Jan Beulich  <jbeulich@novell.com>
1707*3d8817e4Smiod
1708*3d8817e4Smiod	* config/tc-ia64.c (nop): Use zero for L-unit pseudo-nop.
1709*3d8817e4Smiod
1710*3d8817e4Smiod2005-07-05  Nick Clifton  <nickc@redhat.com>
1711*3d8817e4Smiod
1712*3d8817e4Smiod	* config/tc-pdp11.c (md_apply_fix): Cast first argument to
1713*3d8817e4Smiod	md_chars_to_numbers to an unsigned pointer in order to avoid a
1714*3d8817e4Smiod	compile time warning.
1715*3d8817e4Smiod
1716*3d8817e4Smiod2005-07-05  Paul Brook  <paul@codesourcery.com>
1717*3d8817e4Smiod
1718*3d8817e4Smiod	* config/tc-ppc.c (ppc_target_format): Add VxWorks.
1719*3d8817e4Smiod
1720*3d8817e4Smiod2005-07-05  Aldy Hernandez  <aldyh@redhat.com>
1721*3d8817e4Smiod
1722*3d8817e4Smiod	* config/tc-ms1.c: New.
1723*3d8817e4Smiod	* config/tc-ms1.h: New.
1724*3d8817e4Smiod	* testsuite/gas/ms1/allinsn.d: New.
1725*3d8817e4Smiod	* testsuite/gas/ms1/allinsn.s: New.
1726*3d8817e4Smiod	* testsuite/gas/ms1/badinsn.s: New.
1727*3d8817e4Smiod	* testsuite/gas/ms1/badinsn1.s: New.
1728*3d8817e4Smiod	* testsuite/gas/ms1/badoffsethigh.s: New.
1729*3d8817e4Smiod	* testsuite/gas/ms1/badoffsetlow.s: New.
1730*3d8817e4Smiod	* testsuite/gas/ms1/badorder.s: New.
1731*3d8817e4Smiod	* testsuite/gas/ms1/badreg.s: New.
1732*3d8817e4Smiod	* testsuite/gas/ms1/badsignedimmhigh.s: New.
1733*3d8817e4Smiod	* testsuite/gas/ms1/badsignedimmlow.s: New.
1734*3d8817e4Smiod	* testsuite/gas/ms1/badsyntax.s: New.
1735*3d8817e4Smiod	* testsuite/gas/ms1/badsyntax1.s: New.
1736*3d8817e4Smiod	* testsuite/gas/ms1/badunsignedimmhigh.s: New.
1737*3d8817e4Smiod	* testsuite/gas/ms1/badunsignedimmlow.s: New.
1738*3d8817e4Smiod	* testsuite/gas/ms1/errors.exp: New.
1739*3d8817e4Smiod	* testsuite/gas/ms1/ldst.s: New.
1740*3d8817e4Smiod	* testsuite/gas/ms1/misc.d: New.
1741*3d8817e4Smiod	* testsuite/gas/ms1/misc.s: New.
1742*3d8817e4Smiod	* testsuite/gas/ms1/ms1-16-003.d: New.
1743*3d8817e4Smiod	* testsuite/gas/ms1/ms1-16-003.s: New.
1744*3d8817e4Smiod	* testsuite/gas/ms1/ms1.exp: New.
1745*3d8817e4Smiod	* testsuite/gas/ms1/msys.d: New.
1746*3d8817e4Smiod	* testsuite/gas/ms1/msys.s: New.
1747*3d8817e4Smiod	* testsuite/gas/ms1/relocs.d: New.
1748*3d8817e4Smiod	* testsuite/gas/ms1/relocs.exp: New.
1749*3d8817e4Smiod	* testsuite/gas/ms1/relocs1.s: New.
1750*3d8817e4Smiod	* testsuite/gas/ms1/relocs2.s: New.
1751*3d8817e4Smiod
1752*3d8817e4Smiod2005-07-05  Jan Beulich  <jbeulich@novell.com>
1753*3d8817e4Smiod
1754*3d8817e4Smiod	* config/tc-i386.h (CpuSVME): New.
1755*3d8817e4Smiod	(CpuUnknownFlags): Include CpuSVME.
1756*3d8817e4Smiod	* config/tc-i386.c (cpu_arch): Add .pacifica and .svme. Add opteron
1757*3d8817e4Smiod	as alias of sledgehammer.
1758*3d8817e4Smiod	(md_assemble): Include invlpga in the check for insns with two source
1759*3d8817e4Smiod	operands.
1760*3d8817e4Smiod	(process_operands): Include SVME insns in the check for ignored
1761*3d8817e4Smiod	segment overrides. Adjust diagnostic.
1762*3d8817e4Smiod	(i386_index_check): Special-case SVME insns with memory operands.
1763*3d8817e4Smiod
1764*3d8817e4Smiod2005-07-04  Khem Raj  <kraj@mvista.com>
1765*3d8817e4Smiod	    Nick Clifton  <nickc@redhat.com>
1766*3d8817e4Smiod
1767*3d8817e4Smiod	* tc-arm.c (struct arm_it): Make operands.imm signed to match its
1768*3d8817e4Smiod	use an immediate value.
1769*3d8817e4Smiod	(parse_vfp_reg_list): Make the 2nd parameter an unsigned pointer
1770*3d8817e4Smiod	since the register field of the operands structure is unsigned.
1771*3d8817e4Smiod	(s_arm_unwind_save_vfp): Make "reg" unsigned.
1772*3d8817e4Smiod	(parse_operands): Make the 2ns parameter an unsigned pointer to
1773*3d8817e4Smiod	match its use.
1774*3d8817e4Smiod	(do_ldrd): When using the imm field of the operands structure as a
1775*3d8817e4Smiod	second register field, treat it as unsigned.
1776*3d8817e4Smiod
1777*3d8817e4Smiod2005-07-04  Alan Modra  <amodra@bigpond.net.au>
1778*3d8817e4Smiod
1779*3d8817e4Smiod	PR 1004
1780*3d8817e4Smiod	* config/obj-elf.c (obj_elf_change_section): Use backend
1781*3d8817e4Smiod	get_sec_type_attr.
1782*3d8817e4Smiod
1783*3d8817e4Smiod2005-07-01  Jan Beulich  <jbeulich@novell.com>
1784*3d8817e4Smiod
1785*3d8817e4Smiod	* config/tc-ia64.c (line_separator_chars): Add '{' and '}'.
1786*3d8817e4Smiod	(output_spill_psprel, output_spill_psprel_p): Combine.
1787*3d8817e4Smiod	(output_spill_sprel, output_spill_sprel_p): Combine.
1788*3d8817e4Smiod	(output_spill_reg, output_spill_regp_p): Combine.
1789*3d8817e4Smiod	(process_one_record): Handle psp_psprel.
1790*3d8817e4Smiod	(parse_predicate_and_operand): New.
1791*3d8817e4Smiod	(convert_expr_to_ab_reg): Two new parameters. Return void. Always
1792*3d8817e4Smiod	initialize output values. Emit diagnostic case here.
1793*3d8817e4Smiod	(convert_expr_to_xy_reg): Likewise. Don't allow r0, f0, and f1.
1794*3d8817e4Smiod	(add_unwind_entry): New second parameter. Allow first parameter to
1795*3d8817e4Smiod	be NULL. Parse optional tag, emit warning about further support for
1796*3d8817e4Smiod	it otherwise being missing. Check end-of-line when requested.
1797*3d8817e4Smiod	(dot_fframe): Clear operand when wrong. Allow tag.
1798*3d8817e4Smiod	(dot_vframe): Likewise.
1799*3d8817e4Smiod	(dot_vframesp): Likewise. Rename parameter, issue warning when psp
1800*3d8817e4Smiod	relative.
1801*3d8817e4Smiod	(dot_vframepsp): Remove.
1802*3d8817e4Smiod	(dot_altrp): Clear operand when wrong. Allow tag.
1803*3d8817e4Smiod	(dot_save): Likewise. Let default case also go through
1804*3d8817e4Smiod	add_unwind_entry.
1805*3d8817e4Smiod	(dot_savemem): Likewise.
1806*3d8817e4Smiod	(dot_restore): Don't return when wrong operand. Allow tag.
1807*3d8817e4Smiod	(dot_spillreg, dot_spillreg_p): Combine. Simplify by using
1808*3d8817e4Smiod	parse_predicate_and_operand and the new arguments to
1809*3d8817e4Smiod	convert_expr_to_ab_reg and convert_expr_to_xy_reg. Don't return
1810*3d8817e4Smiod	when wrong operand. Allow tag.
1811*3d8817e4Smiod	(dot_restorereg, dot_restorereg_p): Likewise.
1812*3d8817e4Smiod	(dot_spillmem, dot_spillmem_p): Likewise.
1813*3d8817e4Smiod	(dot_saveg): Clear operand when wrong. Perform tighter operand
1814*3d8817e4Smiod	checks. Allow tag.
1815*3d8817e4Smiod	(dot_savef): Likewise.
1816*3d8817e4Smiod	(dot_saveb): Likewise.
1817*3d8817e4Smiod	(dot_savegf): Likewise.
1818*3d8817e4Smiod	(dot_spill): Remove end-of-line check. 	Combine. Simplify by using
1819*3d8817e4Smiod	parse_predicate_and_operand and the new arguments to
1820*3d8817e4Smiod	convert_expr_to_ab_reg and convert_expr_to_xy_reg. Don't return
1821*3d8817e4Smiod	when wrong operand. Allow tag.
1822*3d8817e4Smiod	(popcount): New.
1823*3d8817e4Smiod	(dot_label_state): Don't return when wrong operand.
1824*3d8817e4Smiod	(dot_copy_state): Likewise.
1825*3d8817e4Smiod	(dot_unwabi): Likewise. Check if in prologue.
1826*3d8817e4Smiod	(dot_body): Don't call demand_empty_rest_of_line.
1827*3d8817e4Smiod	(dot_prologue): Type of mask and grsave is unsigned. Perform tighter
1828*3d8817e4Smiod	operand checks.
1829*3d8817e4Smiod	(md_pseudo_table): Also use dot_restorereg for .restorereg.p. Also
1830*3d8817e4Smiod	use dot_spillreg for .spillreg.p. Also use dot_spillmem for
1831*3d8817e4Smiod	.spillpsp.p and .spillsp.p. Also use dot_vframesp for .vframepsp.
1832*3d8817e4Smiod	(parse_operand): New second parameter. Don't deal with '}' here
1833*3d8817e4Smiod	anymore. Don't advance past end-of-line.
1834*3d8817e4Smiod	(parse_operands): Pass second argument to parse_operand.
1835*3d8817e4Smiod	(ia64_start_line): Prevent out-of-bounds access through
1836*3d8817e4Smiod	input_line_pointer. Deal with '}' here.
1837*3d8817e4Smiod	(ia64_unrecognized_line): Don't deal with '}' here.
1838*3d8817e4Smiod	(dot_alias): Use ignore_rest_of_line not its deprecated alias
1839*3d8817e4Smiod	discard_rest_of_line.
1840*3d8817e4Smiod
1841*3d8817e4Smiod2005-06-30  Zack Weinberg  <zack@codesourcery.com>
1842*3d8817e4Smiod
1843*3d8817e4Smiod	* config/tc-arm.c (T_OPCODE_BRANCH, encode_arm_addr_mode_2)
1844*3d8817e4Smiod	(encode_arm_addr_mode_3, encode_arm_cp_address, do_blx, do_t_blx)
1845*3d8817e4Smiod	(do_t_branch, insns [b, bl]): Don't encode pipeline offset.
1846*3d8817e4Smiod	(do_branch): Always set inst.reloc.pc_rel.
1847*3d8817e4Smiod	(s_arm_elf_cons): Disallow use of (plt) suffix.
1848*3d8817e4Smiod	(do_adrl): Adjust X_add_number unconditionally.
1849*3d8817e4Smiod	(md_pcrel_from): Rename md_pcrel_from_section, add second segT
1850*3d8817e4Smiod	argument.  Handle all adjustment for pipeline offset here.
1851*3d8817e4Smiod	(md_apply_fix): No need to undo work of md_pcrel_from.  No
1852*3d8817e4Smiod	need to extract pre-encoded pipeline adjustments from various
1853*3d8817e4Smiod	branch instructions.  Generally, assume instructions are already
1854*3d8817e4Smiod	all-bits-zero in the field being fixed up.  Remove all OBJ_ELF
1855*3d8817e4Smiod	special cases.  Handle BFD_RELOC_ARM_PLT32 like
1856*3d8817e4Smiod	BFD_RELOC_ARM_PCREL_BRANCH.
1857*3d8817e4Smiod	(tc_gen_reloc): Remove OBJ_ELF special case.
1858*3d8817e4Smiod	* config/tc-arm.c: Define MD_PCREL_FROM_SECTION.
1859*3d8817e4Smiod
1860*3d8817e4Smiod2005-06-30  Ben Elliston  <bje@gnu.org>
1861*3d8817e4Smiod
1862*3d8817e4Smiod	* Makefile.am (check-DEJAGNU): Don't search for expect.
1863*3d8817e4Smiod	* Makefile.in: Regenerate.
1864*3d8817e4Smiod
1865*3d8817e4Smiod2005-06-30  Ben Elliston  <bje@gnu.org>
1866*3d8817e4Smiod
1867*3d8817e4Smiod	* Makefile.am (EXPECT): Set to expect.
1868*3d8817e4Smiod	(RUNTEST): Likewise, set to runtest.
1869*3d8817e4Smiod	* Makefile.in: Regenerate.
1870*3d8817e4Smiod
1871*3d8817e4Smiod2005-06-23  Ben Elliston  <bje@gnu.org>
1872*3d8817e4Smiod
1873*3d8817e4Smiod	* config/m68k-parse.h: Use ISO C90.
1874*3d8817e4Smiod	* config/m68k-parse.y: Likewise.
1875*3d8817e4Smiod	* config/tc-m68k.h: Likewise.
1876*3d8817e4Smiod
1877*3d8817e4Smiod2005-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1878*3d8817e4Smiod
1879*3d8817e4Smiod	PR 1013
1880*3d8817e4Smiod	* config/tc-i386.c (md_assemble): Don't call optimize_disp on
1881*3d8817e4Smiod	movabs.
1882*3d8817e4Smiod	(optimize_disp): Optimize only if possible. Don't use 64bit
1883*3d8817e4Smiod	displacement on non-constants and do same on constants if
1884*3d8817e4Smiod	possible.
1885*3d8817e4Smiod
1886*3d8817e4Smiod2005-06-17  Jan Beulich  <jbeulich@novell.com>
1887*3d8817e4Smiod
1888*3d8817e4Smiod	* config/tc-i386.c (reloc): Also handle BFD_RELOC_64_PCREL.
1889*3d8817e4Smiod	(tc_i386_fix_adjustable): Include BFD_RELOC_X86_64_GOTOFF64,
1890*3d8817e4Smiod	BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64.
1891*3d8817e4Smiod	(output_disp): Do GOTPC conversion also for BFD_RELOC_X86_64_32S
1892*3d8817e4Smiod	and BFD_RELOC_32_PCREL. Use BFD_RELOC_X86_64_GOTPC32 instead of
1893*3d8817e4Smiod	aborting.
1894*3d8817e4Smiod	(output_imm): Do GOTPC conversion also for BFD_RELOC_X86_64_32S.
1895*3d8817e4Smiod	Use BFD_RELOC_X86_64_GOTPC32 instead of aborting.
1896*3d8817e4Smiod	(tc_gen_reloc): Do GOTPC conversion also for BFD_RELOC_32_PCREL.
1897*3d8817e4Smiod	Use BFD_RELOC_X86_64_GOTPC32 instead of aborting. Also handle
1898*3d8817e4Smiod	BFD_RELOC_X86_64_GOTOFF64, BFD_RELOC_X86_64_GOTPC32,
1899*3d8817e4Smiod	BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64. Also
1900*3d8817e4Smiod	convert 8-byte pc-relative relocations.
1901*3d8817e4Smiod	(lex_got): Use BFD_RELOC_X86_64_GOTOFF64 for 64-bit @gotoff.
1902*3d8817e4Smiod	(i386_validate_fix): Likewise.
1903*3d8817e4Smiod	(x86_cons): Also handle quad values in 64-bit mode.
1904*3d8817e4Smiod	(i386_displacement): Also handle BFD_RELOC_X86_64_GOTOFF64.
1905*3d8817e4Smiod	(md_apply_fix): Include BFD_RELOC_X86_64_DTPOFF64 and
1906*3d8817e4Smiod	BFD_RELOC_X86_64_TPOFF64 in the TLS check. Also convert BFD_RELOC_64
1907*3d8817e4Smiod	to pc-relative variant. Also check for BFD_RELOC_64_PCREL.
1908*3d8817e4Smiod
1909*3d8817e4Smiod2005-06-13  Zack Weinberg  <zack@codesourcery.com>
1910*3d8817e4Smiod
1911*3d8817e4Smiod	* config/tc-arm.c (find_real_start): Check S_IS_LOCAL on
1912*3d8817e4Smiod	symbolP as well as for names with a leading dot.  Use ACONCAT.
1913*3d8817e4Smiod	(md_apply_fix): For branch relocations, only replace value
1914*3d8817e4Smiod	with fixP->fx_offset (under #ifdef OBJ_ELF) when !fixP->fx_done.
1915*3d8817e4Smiod	(arm_force_relocation): Remove #ifdef OBJ_ELF case.
1916*3d8817e4Smiod	* config/tc-arm.h (LOCAL_LABEL): Remove unnecessary parentheses.
1917*3d8817e4Smiod	(LOCAL_LABEL_PREFIX): Don't define.
1918*3d8817e4Smiod
1919*3d8817e4Smiod2005-06-10  Alan Modra  <amodra@bigpond.net.au>
1920*3d8817e4Smiod
1921*3d8817e4Smiod	* config/tc-hppa.c (pa_block): Allocate just one byte for the
1922*3d8817e4Smiod	fill pattern.
1923*3d8817e4Smiod
1924*3d8817e4Smiod2005-06-08  James E Wilson  <wilson@specifixinc.com>
1925*3d8817e4Smiod
1926*3d8817e4Smiod	PR 994
1927*3d8817e4Smiod	* config/tc-ia64.c (slot_index): Revert last change.  If first_frag
1928*3d8817e4Smiod	is NULL, then emit a warning, and return the current index.
1929*3d8817e4Smiod
1930*3d8817e4Smiod2005-06-08  Tomas Hurka  <tom@hukatronic.cz>
1931*3d8817e4Smiod
1932*3d8817e4Smiod	PR 991
1933*3d8817e4Smiod	* config/tc-m68k.c (m68k_ip): Test for insn compatiblity using a
1934*3d8817e4Smiod	temporary copy of the operands array so that changes can be safely
1935*3d8817e4Smiod	backed out if the insn does not match.
1936*3d8817e4Smiod	(m68k_compare_opcode): Shortcut the test when the parameters are
1937*3d8817e4Smiod	the same.  Return 1 if the names match but the second opcode is
1938*3d8817e4Smiod	further on in the array than the first.
1939*3d8817e4Smiod
1940*3d8817e4Smiod2005-06-08  Nick Clifton  <nickc@redhat.com>
1941*3d8817e4Smiod
1942*3d8817e4Smiod	PR 994
1943*3d8817e4Smiod	* config/tc-ia64.c (slot_index): Check for a NULL first_frag.
1944*3d8817e4Smiod
1945*3d8817e4Smiod2005-06-08  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1946*3d8817e4Smiod
1947*3d8817e4Smiod	* config/tc-m32r.c (use_parallel): Change default value from 1 to 0.
1948*3d8817e4Smiod
1949*3d8817e4Smiod2005-06-07  Aldy Hernandez  <aldyh@redhat.com>
1950*3d8817e4Smiod	    Michael Snyder  <msnyder@redhat.com>
1951*3d8817e4Smiod	    Stan Cox  <scox@redhat.com>
1952*3d8817e4Smiod
1953*3d8817e4Smiod	* configure.in: Add ms1 case.
1954*3d8817e4Smiod
1955*3d8817e4Smiod	* configure: Regenerate.
1956*3d8817e4Smiod
1957*3d8817e4Smiod	* configure.tgt: Add ms1 case.
1958*3d8817e4Smiod
1959*3d8817e4Smiod2005-06-07  Bob Wilson  <bob.wilson@acm.org>
1960*3d8817e4Smiod
1961*3d8817e4Smiod	* config/tc-xtensa.h (resource_table): Change units to unsigned chars.
1962*3d8817e4Smiod	* config/tc-xtensa.c (new_resource_table): Likewise.
1963*3d8817e4Smiod	(resize_resource_table): Likewise.
1964*3d8817e4Smiod	(release_resources): Fix assertion for unsigned values.
1965*3d8817e4Smiod
1966*3d8817e4Smiod2005-06-07  Zack Weinberg  <zack@codesourcery.com>
1967*3d8817e4Smiod
1968*3d8817e4Smiod	* cgen.c, cgen.h, tc.h, write.c, config/obj-coff.c
1969*3d8817e4Smiod	* config/tc-a29k.c, config/tc-alpha.c, config/tc-alpha.h
1970*3d8817e4Smiod	* config/tc-arc.c, config/tc-arc.h, config/tc-arm.c
1971*3d8817e4Smiod	* config/tc-arm.h, config/tc-avr.c, config/tc-avr.h
1972*3d8817e4Smiod	* config/tc-cris.c, config/tc-crx.c, config/tc-d10v.c
1973*3d8817e4Smiod	* config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h
1974*3d8817e4Smiod	* config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.h
1975*3d8817e4Smiod	* config/tc-frv.c, config/tc-frv.h, config/tc-h8300.c
1976*3d8817e4Smiod	* config/tc-h8500.c, config/tc-hppa.c, config/tc-hppa.h
1977*3d8817e4Smiod	* config/tc-i370.c, config/tc-i370.h, config/tc-i386.c
1978*3d8817e4Smiod	* config/tc-i386.h, config/tc-i860.c, config/tc-i860.h
1979*3d8817e4Smiod	* config/tc-i960.c, config/tc-i960.h, config/tc-ia64.c
1980*3d8817e4Smiod	* config/tc-ip2k.c, config/tc-ip2k.h, config/tc-iq2000.c
1981*3d8817e4Smiod	* config/tc-iq2000.h, config/tc-m32r.c, config/tc-m32r.h
1982*3d8817e4Smiod	* config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c
1983*3d8817e4Smiod	* config/tc-m68k.h, config/tc-m88k.c, config/tc-maxq.c
1984*3d8817e4Smiod	* config/tc-mcore.c, config/tc-mcore.h, config/tc-mips.c
1985*3d8817e4Smiod	* config/tc-mips.h, config/tc-mmix.c, config/tc-mn10200.c
1986*3d8817e4Smiod	* config/tc-mn10300.c, config/tc-msp430.c, config/tc-ns32k.c
1987*3d8817e4Smiod	* config/tc-openrisc.h, config/tc-or32.c, config/tc-or32.h
1988*3d8817e4Smiod	* config/tc-pdp11.c, config/tc-pj.c, config/tc-pj.h
1989*3d8817e4Smiod	* config/tc-ppc.c, config/tc-ppc.h, config/tc-s390.c
1990*3d8817e4Smiod	* config/tc-s390.h, config/tc-sh64.c, config/tc-sh.c
1991*3d8817e4Smiod	* config/tc-sh.h, config/tc-sparc.c, config/tc-sparc.h
1992*3d8817e4Smiod	* config/tc-tahoe.c, config/tc-tic30.c, config/tc-tic4x.c
1993*3d8817e4Smiod	* config/tc-tic54x.c, config/tc-tic80.c, config/tc-v850.c
1994*3d8817e4Smiod	* config/tc-v850.h, config/tc-vax.c, config/tc-vax.h
1995*3d8817e4Smiod	* config/tc-w65.c, config/tc-xstormy16.c, config/tc-xstormy16.h
1996*3d8817e4Smiod	* config/tc-xtensa.c, config/tc-z8k.c:
1997*3d8817e4Smiod	Replace all instances of the string "_apply_fix3" with
1998*3d8817e4Smiod	"_apply_fix".
1999*3d8817e4Smiod	* po/POTFILES.in, po/gas.pot: Regenerate.
2000*3d8817e4Smiod
2001*3d8817e4Smiod2005-06-08  Alan Modra  <amodra@bigpond.net.au>
2002*3d8817e4Smiod
2003*3d8817e4Smiod	* Makefile.am: Run "make dep-am".
2004*3d8817e4Smiod	(POTFILES): Remove GAS_CFILES.
2005*3d8817e4Smiod	* Makefile.in: Regenerate.
2006*3d8817e4Smiod
2007*3d8817e4Smiod2005-06-07  David Ung  <davidu@mips.com>
2008*3d8817e4Smiod
2009*3d8817e4Smiod	* config/tc-mips.c (mips_cpu_info_table): Add cpu names m4k, 24k,
2010*3d8817e4Smiod	24kc, 24kf and 24kfx under MIPS32 release 2.
2011*3d8817e4Smiod
2012*3d8817e4Smiod2005-06-04  Nick Clifton  <nickc@redhat.com>
2013*3d8817e4Smiod
2014*3d8817e4Smiod	* config/tc-arm.c (CE, C3, CM, UE, UF): Redefine without reference
2015*3d8817e4Smiod	to their Thumb-enabled equivalents.
2016*3d8817e4Smiod
2017*3d8817e4Smiod2005-06-01  Maciej W. Rozycki  <macro@linux-mips.org>
2018*3d8817e4Smiod
2019*3d8817e4Smiod	* config/tc-mips.c (load_register): Add leading "0x" to the
2020*3d8817e4Smiod	output of sprintf_vma().
2021*3d8817e4Smiod	(macro): Likewise.
2022*3d8817e4Smiod
2023*3d8817e4Smiod2005-06-01  Nick Clifton  <nickc@redhat.com>
2024*3d8817e4Smiod
2025*3d8817e4Smiod	* config/tc-arm.c (TxCE, TxC3, TxCM, TUE, TUF): Remove redundant
2026*3d8817e4Smiod	test for the presence of thumb version of the parsing functions
2027*3d8817e4Smiod	since they must always exist and the test generates a compile time
2028*3d8817e4Smiod	warning message.
2029*3d8817e4Smiod
2030*3d8817e4Smiod2005-05-31  Richard Henderson  <rth@redhat.com>
2031*3d8817e4Smiod
2032*3d8817e4Smiod	* config/tc-alpha.c (O_lituse_jsrdirect): New.
2033*3d8817e4Smiod	(alpha_reloc_op): Add it.
2034*3d8817e4Smiod	(debug_exp): Handle it.
2035*3d8817e4Smiod	(DUMMY_RELOC_LITUSE_JSRDIRECT): New.
2036*3d8817e4Smiod	(emit_insn): Handle it.
2037*3d8817e4Smiod	* doc/c-alpha.texi (Alpha-Relocs): Document lituse_jsrdirect.
2038*3d8817e4Smiod
2039*3d8817e4Smiod2005-05-31  Christian Groessler  <chris@groessler.org>
2040*3d8817e4Smiod
2041*3d8817e4Smiod	* write.c (dump_section_relocs): Convert to ISO-C.
2042*3d8817e4Smiod	(write_relocs): Avoid signed/unsigned and fprintf argument
2043*3d8817e4Smiod	warnings in debug code.
2044*3d8817e4Smiod
2045*3d8817e4Smiod2005-05-26  Zack Weinberg  <zack@codesourcery.com>
2046*3d8817e4Smiod
2047*3d8817e4Smiod	* config/tc-arm.h (TC_FIX_TYPE): Change to int.
2048*3d8817e4Smiod	(TC_INIT_FIX_DATA): Initialize to 0, not NULL.
2049*3d8817e4Smiod	* config/tc-arm.c (fix_new_arm): Remove now-unnecessary cast.
2050*3d8817e4Smiod	(md_apply_fix3): Delete fix_is_thumb variable; refer to
2051*3d8817e4Smiod	fixP->tc_fix_data directly in the sole place it was used.
2052*3d8817e4Smiod	Explicitly truncate value, *valP, fixP->fx_addnumber, and
2053*3d8817e4Smiod	fixP->fx_offset to 32 bits, for consistent behavior between 32-
2054*3d8817e4Smiod	and 64-bit hosts.
2055*3d8817e4Smiod
2056*3d8817e4Smiod2005-05-27  Jan Beulich  <jbeulich@novell.com>
2057*3d8817e4Smiod
2058*3d8817e4Smiod	* config/tc-ia64.c (struct proc_pending): New.
2059*3d8817e4Smiod	(unwind): Replace proc_start with proc_pending.
2060*3d8817e4Smiod	(unwind_diagnostic): Check unwind.proc_pending.sym.
2061*3d8817e4Smiod	(dot_proc): Replace unwind.proc_start with unwind.proc_pending.sym.
2062*3d8817e4Smiod	Check if previous proc not closed. Record all entry points.
2063*3d8817e4Smiod	(dot_endp): Replace unwind.proc_start with unwind.proc_pending.sym.
2064*3d8817e4Smiod	Set symbol sizes for entry points recorded in dot_proc. Check
2065*3d8817e4Smiod	arguments for consistency with respective .proc's.
2066*3d8817e4Smiod	(md_assemble): Replace unwind.proc_start with
2067*3d8817e4Smiod	unwind.proc_pending.sym.
2068*3d8817e4Smiod
2069*3d8817e4Smiod2005-05-27  Jan Beulich  <jbeulich@novell.com>
2070*3d8817e4Smiod
2071*3d8817e4Smiod	* config/tc-ia64.c (emit_one_bundle): Restrict scope of ptr, end_ptr,
2072*3d8817e4Smiod	and last_ptr. Check all in-use slots for first one with non-NULL
2073*3d8817e4Smiod	unwind_record. Don't reload end_ptr before second update round.
2074*3d8817e4Smiod
2075*3d8817e4Smiod2005-05-26  James E Wilson  <wilson@specifixinc.com>
2076*3d8817e4Smiod
2077*3d8817e4Smiod	* config/tc-ia64.c (extra_goodness): Update comment.
2078*3d8817e4Smiod	(md_begin): Add debugging code to print best_template table.
2079*3d8817e4Smiod
2080*3d8817e4Smiod2005-05-25  Jan Beulich  <jbeulich@novell.com>
2081*3d8817e4Smiod
2082*3d8817e4Smiod	* config/tc-ia64.c (md_begin): Don't try to match slot 2 of an MLX
2083*3d8817e4Smiod	template.
2084*3d8817e4Smiod
2085*3d8817e4Smiod2005-05-25  Jan Beulich  <jbeulich@novell.com>
2086*3d8817e4Smiod
2087*3d8817e4Smiod	* config/tc-ia64.c (ia64_gen_real_reloc_type): Also handle
2088*3d8817e4Smiod	BFD_RELOC_UNUSED when determining the width of the reloc.
2089*3d8817e4Smiod
2090*3d8817e4Smiod2005-05-25  Jan Beulich  <jbeulich@novell.com>
2091*3d8817e4Smiod
2092*3d8817e4Smiod	* config/tc-ia64.c (dot_endp): Clear out all three pointers in unwind
2093*3d8817e4Smiod	section entry.
2094*3d8817e4Smiod
2095*3d8817e4Smiod2005-05-25  Jan Beulich  <jbeulich@novell.com>
2096*3d8817e4Smiod
2097*3d8817e4Smiod	* config/tc-ia64.c (dot_radix): Rewrite.
2098*3d8817e4Smiod
2099*3d8817e4Smiod2005-05-25  Jan Beulich  <jbeulich@novell.com>
2100*3d8817e4Smiod
2101*3d8817e4Smiod	* config/tc-ia64.c (struct unw_rec_list): Remove next_slot_number
2102*3d8817e4Smiod	and next_slot_frag.
2103*3d8817e4Smiod	(alloc_record): Remove references to next_slot_number and
2104*3d8817e4Smiod	next_slot_frag.
2105*3d8817e4Smiod	(emit_one_bundle): Likewise.
2106*3d8817e4Smiod
2107*3d8817e4Smiod2005-05-22  Nick Clifton  <nickc@redhat.com>
2108*3d8817e4Smiod
2109*3d8817e4Smiod	* config/tc-v850.c (md_apply_fix3): Pass the address of the
2110*3d8817e4Smiod	message buffer when invoking the insert function.
2111*3d8817e4Smiod
2112*3d8817e4Smiod2005-05-21  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2113*3d8817e4Smiod
2114*3d8817e4Smiod	* config/tc-hppa.c (pa_ip): Promote architecture from PA 1.0 to 1.1
2115*3d8817e4Smiod	only if an instruction match is found.
2116*3d8817e4Smiod
2117*3d8817e4Smiod2005-05-20  Bob Wilson  <bob.wilson@acm.org>
2118*3d8817e4Smiod
2119*3d8817e4Smiod	* config/tc-xtensa.c (xg_assemble_vliw_tokens): Change subtraction
2120*3d8817e4Smiod	to addition in argument to xtensa_dwarf2_emit_insn.
2121*3d8817e4Smiod
2122*3d8817e4Smiod2005-05-19  Zack Weinberg  <zack@codesourcery.com>
2123*3d8817e4Smiod
2124*3d8817e4Smiod	* Makefile.am: Have 'all' depend on 'info'.
2125*3d8817e4Smiod	* Makefile.in: Regenerate.
2126*3d8817e4Smiod
2127*3d8817e4Smiod2005-05-19  Alan Modra  <amodra@bigpond.net.au>
2128*3d8817e4Smiod
2129*3d8817e4Smiod	* config/tc-ppc.c (ppc_force_relocation): Add BFD_RELOC_24_PLT_PCREL.
2130*3d8817e4Smiod
2131*3d8817e4Smiod2005-05-19  Anton Blanchard  <anton@samba.org>
2132*3d8817e4Smiod
2133*3d8817e4Smiod	* config/tc-ppc.c (parse_cpu): Handle "-mpower5".
2134*3d8817e4Smiod	(md_show_usage): Document it.
2135*3d8817e4Smiod	(ppc_setup_opcodes): Insert POWER5 mnemonics.
2136*3d8817e4Smiod	* doc/c-ppc.texi (PowerPC-Opts): Document "-mpower5".
2137*3d8817e4Smiod
2138*3d8817e4Smiod2005-05-19  Jan Beulich  <jbeulich@novell.com>
2139*3d8817e4Smiod
2140*3d8817e4Smiod	* config/tc-ia64.c (dot_endp): Don't use global symbol for unwind
2141*3d8817e4Smiod	relocations in unwind section.
2142*3d8817e4Smiod
2143*3d8817e4Smiod2005-05-18  Nick Clifton  <nickc@redhat.com>
2144*3d8817e4Smiod
2145*3d8817e4Smiod	* config/tc-v850.c (md_apply_fix3): Only use the insertion routine
2146*3d8817e4Smiod	if one exists.  Ignore any error messages it may produce, just
2147*3d8817e4Smiod	allow it to perform the insertion.
2148*3d8817e4Smiod
2149*3d8817e4Smiod2005-05-17  Zack Weinberg  <zack@codesourcery.com>
2150*3d8817e4Smiod
2151*3d8817e4Smiod	* hash.c (hash_lookup): Add len parameter.  All callers changed.
2152*3d8817e4Smiod	(hash_find_n): New interface.
2153*3d8817e4Smiod	* hash.h: Prototype hash_find_n.
2154*3d8817e4Smiod	* sb.c: Include as.h.
2155*3d8817e4Smiod	(scrub_from_sb, sb_to_scrub, scrub_position): New statics.
2156*3d8817e4Smiod	(sb_scrub_and_add_sb): New interface.
2157*3d8817e4Smiod	* sb.h: Prototype sb_scrub_and_add_sb.
2158*3d8817e4Smiod	* input-scrub.c (input_scrub_include_sb): Use sb_scrub_and_add_sb.
2159*3d8817e4Smiod
2160*3d8817e4Smiod	* config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Remove
2161*3d8817e4Smiod	reference to BFD_RELOC_ARM_GOT12 which is never generated.
2162*3d8817e4Smiod	* config/tc-arm.c: Rewrite, adding Thumb-2 support.
2163*3d8817e4Smiod
2164*3d8817e4Smiod2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
2165*3d8817e4Smiod
2166*3d8817e4Smiod	* doc/Makefile.am (gasver.texi): Don't use $<.
2167*3d8817e4Smiod	* doc/Makefile.in: Regenerated.
2168*3d8817e4Smiod
2169*3d8817e4Smiod2005-05-17  Nick Clifton  <nickc@redhat.com>
2170*3d8817e4Smiod
2171*3d8817e4Smiod	PR 876
2172*3d8817e4Smiod	* symbols.c (resolve_symbol_value): Do not move symbols whose
2173*3d8817e4Smiod	value expression has not been resolved or finalized into the
2174*3d8817e4Smiod	absolute section as this will confuse other parts of the assembler
2175*3d8817e4Smiod	into thinking that their value is zero.
2176*3d8817e4Smiod
2177*3d8817e4Smiod2005-05-17  Jan Beulich  <jbeulich@novell.com>
2178*3d8817e4Smiod
2179*3d8817e4Smiod	* read.c (_find_end_of_line): New.
2180*3d8817e4Smiod	(find_end_of_line): New.
2181*3d8817e4Smiod	(HANDLE_CONDITIONAL_ASSEMBLY): Use it.
2182*3d8817e4Smiod	(read_a_source_file): Use it.
2183*3d8817e4Smiod	(s_globl): Use it.
2184*3d8817e4Smiod	(s_macro): Use it.
2185*3d8817e4Smiod	(get_line_sb): Use it.
2186*3d8817e4Smiod	(s_errwarn): Replace discard_rest_of_line by ignore_rest_of_line.
2187*3d8817e4Smiod	(s_comm_internal): Likewise.
2188*3d8817e4Smiod	(s_lsym): Likewise.
2189*3d8817e4Smiod	(s_macro): Likewise.
2190*3d8817e4Smiod	(s_ignore): Use ignore_rest_of_line.
2191*3d8817e4Smiod	* read.h (find_end_of_line): Prototype.
2192*3d8817e4Smiod	(discard_rest_of_line): Remove prototype. #define to
2193*3d8817e4Smiod	ignore_rest_of_line.
2194*3d8817e4Smiod
2195*3d8817e4Smiod2005-05-17  Nick Clifton  <nickc@redhat.com>
2196*3d8817e4Smiod
2197*3d8817e4Smiod	* config/tc-v850,h (TC_FIX_TYPE): Define.
2198*3d8817e4Smiod	(TC_INIT_FIX_TYPE): Define.
2199*3d8817e4Smiod	* config/tc-v850.c (md_assemble): When creating a fix record the
2200*3d8817e4Smiod	operand in the tc_fix_data field.
2201*3d8817e4Smiod	(md_apply_fix3): When applying a resolved fix use the operand's
2202*3d8817e4Smiod	insertion procedure to store the value, if the operand has been
2203*3d8817e4Smiod	recorded.
2204*3d8817e4Smiod
2205*3d8817e4Smiod2005-05-15  Daniel Jacobowitz  <dan@codesourcery.com>
2206*3d8817e4Smiod
2207*3d8817e4Smiod	* Makefile.am (m68k-parse.c, itbl-parse.c): Update ylwrap
2208*3d8817e4Smiod	invocation.
2209*3d8817e4Smiod	* Makefile.in: Regenerated.
2210*3d8817e4Smiod
2211*3d8817e4Smiod2005-05-13  Sterling Augustine  <sterling@tensilica.com>
2212*3d8817e4Smiod	    Bob Wilson  <bob.wilson@acm.org>
2213*3d8817e4Smiod
2214*3d8817e4Smiod	* config/tc-xtensa.c (xtensa_insnbuf_set_operand): Clarify error
2215*3d8817e4Smiod	message.
2216*3d8817e4Smiod	(xtensa_mark_zcl_first_insns): Fix incorrect nesting of conditional
2217*3d8817e4Smiod	for handling RELAX_CHECK_ALIGN_NEXT_OPCODE.
2218*3d8817e4Smiod
2219*3d8817e4Smiod2005-05-11  Alan Modra  <amodra@bigpond.net.au>
2220*3d8817e4Smiod
2221*3d8817e4Smiod	* config/tc-ppc.c (md_apply_fix3): Allow pcrel forms of BFD_RELOC_16,
2222*3d8817e4Smiod	BFD_RELOC_LO16, BFD_RELOC_HI16 and BFD_RELOC_HI16_S.
2223*3d8817e4Smiod
2224*3d8817e4Smiod2005-05-10  Michael Matz  <matz@suse.de>
2225*3d8817e4Smiod
2226*3d8817e4Smiod	* frags.c (frag_grow): Don't be too greedy in allocating memory.
2227*3d8817e4Smiod
2228*3d8817e4Smiod	* config/tc-hppa.c (pa_block): Check arguments to .block[z].
2229*3d8817e4Smiod
2230*3d8817e4Smiod2005-05-10  Hans-Peter Nilsson  <hp@bitrange.com>
2231*3d8817e4Smiod
2232*3d8817e4Smiod	PR binutils/886
2233*3d8817e4Smiod	* config/tc-mmix.c (mmix_handle_mmixal): Rearrange slightly.
2234*3d8817e4Smiod	Handle label-without-colon before ordinary dot-pseudo as an
2235*3d8817e4Smiod	ordinary label.  Don't leak memory for label-without-colon alone
2236*3d8817e4Smiod	on a line.  Don't mmixal-munge operands for dot-pseudos.
2237*3d8817e4Smiod
2238*3d8817e4Smiod2005-05-10  Jan Beulich  <jbeulich@novell.com>
2239*3d8817e4Smiod
2240*3d8817e4Smiod	* macro.c (get_any_string): Remove the two last parameters. Replace
2241*3d8817e4Smiod	references to the former expand parameter by using macro_alternate.
2242*3d8817e4Smiod	Simplify loop condition for checking for end-of-string.
2243*3d8817e4Smiod	(get_string): Remove redunant call to sb_skip_white.
2244*3d8817e4Smiod	(do_formals): Remove two last arguments to get_any_string.
2245*3d8817e4Smiod	(macro_expand): Likewise.
2246*3d8817e4Smiod	(expand_irp): Likewise.
2247*3d8817e4Smiod
2248*3d8817e4Smiod2005-05-10  Jan Beulich  <jbeulich@novell.com>
2249*3d8817e4Smiod
2250*3d8817e4Smiod	* read.c (s_macro): Move local variable 'local' to smaller scope.
2251*3d8817e4Smiod	Call sb_kill on it when done.
2252*3d8817e4Smiod
2253*3d8817e4Smiod2005-05-09  Jan Beulich  <jbeulich@novell.com>
2254*3d8817e4Smiod
2255*3d8817e4Smiod	* config/tc-i386.c (optimize_disp): Discard displacement entirely
2256*3d8817e4Smiod	when zero and not required by encoding constraints.
2257*3d8817e4Smiod
2258*3d8817e4Smiod2005-05-09  H.J. Lu  <hongjiu.lu@intel.com>
2259*3d8817e4Smiod
2260*3d8817e4Smiod	PR 936
2261*3d8817e4Smiod	* config/tc-sh64.c (sh64_fake_label): New.
2262*3d8817e4Smiod
2263*3d8817e4Smiod	* config/tc-sh64.h (TC_FAKE_LABEL): New.
2264*3d8817e4Smiod
2265*3d8817e4Smiod	* doc/internals.texi (TC_FAKE_LABEL): Document.
2266*3d8817e4Smiod
2267*3d8817e4Smiod	* write.c (TC_FAKE_LABEL): New.
2268*3d8817e4Smiod	(adjust_reloc_syms): Use it.
2269*3d8817e4Smiod	(write_object_file): Likewise.
2270*3d8817e4Smiod
2271*3d8817e4Smiod2005-05-09  Jan Beulich  <jbeulich@novell.com>
2272*3d8817e4Smiod
2273*3d8817e4Smiod	* config/tc-i386.c (parse_insn): Disallow use of prefix separator
2274*3d8817e4Smiod	and comma in Intel mode.
2275*3d8817e4Smiod
2276*3d8817e4Smiod2005-05-09  Jan Beulich  <jbeulich@novell.com>
2277*3d8817e4Smiod
2278*3d8817e4Smiod	* config/tc-i386.c (tc_x86_regname_to_dw2regnum): Correct 64-bit mode
2279*3d8817e4Smiod	names to match ABI. Add more registers for 32-bit and 64-bit modes.
2280*3d8817e4Smiod	Make name array static and const. Adjust lookup to account for NULL
2281*3d8817e4Smiod	entries (standing for unused register numbers).
2282*3d8817e4Smiod
2283*3d8817e4Smiod2005-05-09  Jan Beulich  <jbeulich@novell.com>
2284*3d8817e4Smiod
2285*3d8817e4Smiod	* config/tc-i386.c (parse_insn): Consider all matching instructions
2286*3d8817e4Smiod	when checking for string instruction after string-only prefix.
2287*3d8817e4Smiod
2288*3d8817e4Smiod2005-05-07  H.J. Lu  <hongjiu.lu@intel.com>
2289*3d8817e4Smiod
2290*3d8817e4Smiod	PR 940
2291*3d8817e4Smiod	* config/tc-ia64.c (start_unwind_section): Properly check
2292*3d8817e4Smiod	comdat group with SHF_GROUP.
2293*3d8817e4Smiod
2294*3d8817e4Smiod2005-05-06  Bob Wilson  <bob.wilson@acm.org>
2295*3d8817e4Smiod
2296*3d8817e4Smiod	* doc/c-xtensa.texi (Literal Directive): Spelling correction.
2297*3d8817e4Smiod
2298*3d8817e4Smiod2005-05-06  Bob Wilson  <bob.wilson@acm.org>
2299*3d8817e4Smiod
2300*3d8817e4Smiod	* config/tc-xtensa.c: Remove excess whitespace.
2301*3d8817e4Smiod	* config/tc-xtensa.h: Likewise.
2302*3d8817e4Smiod	* config/xtensa-istack.h: Likewise.
2303*3d8817e4Smiod	* config/xtensa-relax.c: Likewise.
2304*3d8817e4Smiod	* config/xtensa-relax.h: Likewise.
2305*3d8817e4Smiod
2306*3d8817e4Smiod2005-05-06  Nick Clifton  <nickc@redhat.com>
2307*3d8817e4Smiod
2308*3d8817e4Smiod	* sb.h: Fix formatting of comments.
2309*3d8817e4Smiod	* sb.c: Fix formatting of comments.
2310*3d8817e4Smiod
2311*3d8817e4Smiod2005-05-06  Jan Beulich  <jbeulich@novell.com>
2312*3d8817e4Smiod
2313*3d8817e4Smiod	* sb.h (sb_add_buffer): Reintroduce.
2314*3d8817e4Smiod	* sb.c (sb_add_buffer): Likewise.
2315*3d8817e4Smiod
2316*3d8817e4Smiod2005-05-06  Jan Beulich  <jbeulich@novell.com>
2317*3d8817e4Smiod
2318*3d8817e4Smiod	* macro.c (new_formal, del_formal): New.
2319*3d8817e4Smiod	(do_formals): Use new_formal. Check for and parse qualifier. Warn if
2320*3d8817e4Smiod	required argument has default value. Stop looking for more formal
2321*3d8817e4Smiod	when there was a vararg one.
2322*3d8817e4Smiod	(macro_expand_body): Use new_formal and del_formal.
2323*3d8817e4Smiod	(macro_expand): Likewise. Initialize local variable err. Don't
2324*3d8817e4Smiod	return immediately when encountering an error. Warn when keyword
2325*3d8817e4Smiod	argument already had a value assigned. Eliminate duplicate clearing
2326*3d8817e4Smiod	of argument value. When current positional argument matches parameter
2327*3d8817e4Smiod	of vararg type, assign to it all the remaining arguments. Issue error
2328*3d8817e4Smiod	when required parameter does not have value.
2329*3d8817e4Smiod	(free_macro): Use del_formal.
2330*3d8817e4Smiod	(expand_irp): Initialize formal type. Free buffers associated with
2331*3d8817e4Smiod	formal prior to returning.
2332*3d8817e4Smiod	* macro.h (struct formal_struct): Add new field 'type' with new
2333*3d8817e4Smiod	enumeration type 'formal_type'.
2334*3d8817e4Smiod	* doc/as.texinfo: Document macro parameter qualifiers.
2335*3d8817e4Smiod	* NEWS: Mention new functionality.
2336*3d8817e4Smiod
2337*3d8817e4Smiod2005-05-06  Jan Beulich  <jbeulich@novell.com>
2338*3d8817e4Smiod
2339*3d8817e4Smiod	* cond.c (s_ifb): New.
2340*3d8817e4Smiod	* read.c (potable): Add s_ifb as handler for .ifb and .ifnb.
2341*3d8817e4Smiod	* read.h (s_ifb): Prototype.
2342*3d8817e4Smiod	* doc/as.texinfo: Document .ifb and .ifnb.
2343*3d8817e4Smiod
2344*3d8817e4Smiod2005-05-05  Steve Ellcey  <sje@cup.hp.com>
2345*3d8817e4Smiod
2346*3d8817e4Smiod	* config/tc-ia64.c (MIN): Undef.
2347*3d8817e4Smiod
2348*3d8817e4Smiod2005-05-05  Paul Brook  <paul@codesourcery.com>
2349*3d8817e4Smiod
2350*3d8817e4Smiod	* config/tc-i386.h (ELF_TARGET_FORMAT): Define for TE_VXWORKS.
2351*3d8817e4Smiod
2352*3d8817e4Smiod2005-05-05  Matt Thomas <matt@3am-software.com>
2353*3d8817e4Smiod
2354*3d8817e4Smiod	* config/tc-vax.c (md_assemble): Don't assume a valueT is 4
2355*3d8817e4Smiod	bytes.
2356*3d8817e4Smiod
2357*3d8817e4Smiod2005-05-05  Nick Clifton  <nickc@redhat.com>
2358*3d8817e4Smiod
2359*3d8817e4Smiod	* Update the address and phone number of the FSF organization in
2360*3d8817e4Smiod	the GPL notices in the following files:
2361*3d8817e4Smiod	COPYING, app.c, as.c, as.h, asintl.h, atof-generic.c, bignum.h,
2362*3d8817e4Smiod	bit_fix.h, cgen.c, cgen.h, cond.c, debug.c, depend.c, dw2gencfi.c,
2363*3d8817e4Smiod	dw2gencfi.h, dwarf2dbg.c, dwarf2dbg.h, ecoff.c, ecoff.h, ehopt.c,
2364*3d8817e4Smiod	emul-target.h, emul.h, expr.c, expr.h, flonum-copy.c,
2365*3d8817e4Smiod	flonum-konst.c, flonum.h, frags.c, frags.h, hash.c, hash.h,
2366*3d8817e4Smiod	input-file.c, input-file.h, input-scrub.c, itbl-lex.h, itbl-lex.l,
2367*3d8817e4Smiod	itbl-ops.c, itbl-ops.h, itbl-parse.y, listing.c, listing.h,
2368*3d8817e4Smiod	literal.c, macro.c, macro.h, messages.c, obj.h, output-file.c,
2369*3d8817e4Smiod	output-file.h, read.c, read.h, sb.c, sb.h, stabs.c,
2370*3d8817e4Smiod	struc-symbol.h, subsegs.c, subsegs.h, symbols.c, symbols.h, tc.h,
2371*3d8817e4Smiod	write.c, write.h, config/aout_gnu.h, config/atof-ieee.c,
2372*3d8817e4Smiod	config/atof-vax.c, config/itbl-mips.h, config/m68k-parse.h,
2373*3d8817e4Smiod	config/m68k-parse.y, config/m88k-opcode.h, config/obj-aout.c,
2374*3d8817e4Smiod	config/obj-aout.h, config/obj-bout.c, config/obj-bout.h,
2375*3d8817e4Smiod	config/obj-coff.c, config/obj-coff.h, config/obj-ecoff.c,
2376*3d8817e4Smiod	config/obj-ecoff.h, config/obj-elf.c, config/obj-elf.h,
2377*3d8817e4Smiod	config/obj-evax.c, config/obj-evax.h, config/obj-hp300.c,
2378*3d8817e4Smiod	config/obj-hp300.h, config/obj-ieee.c, config/obj-ieee.h,
2379*3d8817e4Smiod	config/obj-multi.h, config/obj-som.c, config/obj-som.h,
2380*3d8817e4Smiod	config/tc-a29k.c, config/tc-a29k.h, config/tc-alpha.c,
2381*3d8817e4Smiod	config/tc-alpha.h, config/tc-arc.c, config/tc-arc.h,
2382*3d8817e4Smiod	config/tc-arm.h, config/tc-avr.c, config/tc-avr.h,
2383*3d8817e4Smiod	config/tc-cris.c, config/tc-cris.h, config/tc-crx.c,
2384*3d8817e4Smiod	config/tc-crx.h, config/tc-d10v.c, config/tc-d10v.h,
2385*3d8817e4Smiod	config/tc-d30v.c, config/tc-d30v.h, config/tc-dlx.c,
2386*3d8817e4Smiod	config/tc-dlx.h, config/tc-fr30.c, config/tc-fr30.h,
2387*3d8817e4Smiod	config/tc-frv.c, config/tc-frv.h, config/tc-generic.c,
2388*3d8817e4Smiod	config/tc-generic.h, config/tc-h8300.c, config/tc-h8300.h,
2389*3d8817e4Smiod	config/tc-h8500.c, config/tc-h8500.h, config/tc-hppa.c,
2390*3d8817e4Smiod	config/tc-hppa.h, config/tc-i370.c, config/tc-i370.h,
2391*3d8817e4Smiod	config/tc-i386.c, config/tc-i386.h, config/tc-i860.c,
2392*3d8817e4Smiod	config/tc-i860.h, config/tc-i960.c, config/tc-i960.h,
2393*3d8817e4Smiod	config/tc-ia64.c, config/tc-ia64.h, config/tc-ip2k.c,
2394*3d8817e4Smiod	config/tc-ip2k.h, config/tc-iq2000.c, config/tc-iq2000.h,
2395*3d8817e4Smiod	config/tc-m32r.c, config/tc-m32r.h, config/tc-m68851.h,
2396*3d8817e4Smiod	config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c,
2397*3d8817e4Smiod	config/tc-m68k.h, config/tc-m88k.c, config/tc-m88k.h,
2398*3d8817e4Smiod	config/tc-maxq.c, config/tc-maxq.h, config/tc-mcore.c,
2399*3d8817e4Smiod	config/tc-mcore.h, config/tc-mips.c, config/tc-mips.h,
2400*3d8817e4Smiod	config/tc-mmix.c, config/tc-mmix.h, config/tc-mn10200.c,
2401*3d8817e4Smiod	config/tc-mn10200.h, config/tc-mn10300.c, config/tc-mn10300.h,
2402*3d8817e4Smiod	config/tc-msp430.c, config/tc-msp430.h, config/tc-ns32k.c,
2403*3d8817e4Smiod	config/tc-ns32k.h, config/tc-openrisc.c, config/tc-openrisc.h,
2404*3d8817e4Smiod	config/tc-or32.c, config/tc-or32.h, config/tc-pdp11.c,
2405*3d8817e4Smiod	config/tc-pdp11.h, config/tc-pj.c, config/tc-pj.h,
2406*3d8817e4Smiod	config/tc-ppc.c, config/tc-ppc.h, config/tc-s390.c,
2407*3d8817e4Smiod	config/tc-s390.h, config/tc-sh.c, config/tc-sh.h,
2408*3d8817e4Smiod	config/tc-sh64.c, config/tc-sh64.h, config/tc-sparc.c,
2409*3d8817e4Smiod	config/tc-sparc.h, config/tc-tahoe.c, config/tc-tahoe.h,
2410*3d8817e4Smiod	config/tc-tic30.c, config/tc-tic30.h, config/tc-tic4x.c,
2411*3d8817e4Smiod	config/tc-tic4x.h, config/tc-tic54x.c, config/tc-tic54x.h,
2412*3d8817e4Smiod	config/tc-tic80.c, config/tc-tic80.h, config/tc-v850.c,
2413*3d8817e4Smiod	config/tc-v850.h, config/tc-vax.c, config/tc-vax.h,
2414*3d8817e4Smiod	config/tc-w65.c, config/tc-w65.h, config/tc-xstormy16.c,
2415*3d8817e4Smiod	config/tc-xstormy16.h, config/tc-xtensa.c, config/tc-xtensa.h,
2416*3d8817e4Smiod	config/tc-z8k.c, config/tc-z8k.h, config/te-386bsd.h,
2417*3d8817e4Smiod	config/te-freebsd.h, config/te-hp300.h, config/te-hppa.h,
2418*3d8817e4Smiod	config/te-ic960.h, config/te-irix.h, config/te-nbsd.h,
2419*3d8817e4Smiod	config/te-netware.h, config/te-sparcaout.h, config/te-sun3.h,
2420*3d8817e4Smiod	config/te-tmips.h, config/te-vxworks.h, config/vax-inst.h,
2421*3d8817e4Smiod	config/xtensa-istack.h, config/xtensa-relax.c,
2422*3d8817e4Smiod	config/xtensa-relax.h, doc/fdl.texi
2423*3d8817e4Smiod
2424*3d8817e4Smiod2005-05-05  Nick Clifton  <nickc@redhat.com>
2425*3d8817e4Smiod
2426*3d8817e4Smiod	* config/tc-arm.c (arm_opts): Make -mlittle-endian switch set
2427*3d8817e4Smiod	the target_big_endian variable to false.
2428*3d8817e4Smiod
2429*3d8817e4Smiod2005-05-04  Alan Modra  <amodra@bigpond.net.au>
2430*3d8817e4Smiod
2431*3d8817e4Smiod	* config/obj-ecoff.c (ecoff_frob_file_before_fix): Correct section
2432*3d8817e4Smiod	list traversal.  Use bfd_section_list_prepend.
2433*3d8817e4Smiod	* config/tc-mmix.c (mmix_frob_file): Don't needlessly iterate
2434*3d8817e4Smiod	over the section list.
2435*3d8817e4Smiod	* config/tc-xtensa.c (xtensa_remove_section): Delete.
2436*3d8817e4Smiod	(xtensa_insert_section): Delete.
2437*3d8817e4Smiod	(xtensa_move_seg_list_to_beginning): Use bfd_section_list_remove
2438*3d8817e4Smiod	and bfd_section_list_prepend.
2439*3d8817e4Smiod	(xtensa_reorder_seg_list): Use bfd_section_list_remove and
2440*3d8817e4Smiod	bfd_section_list_insert_after.
2441*3d8817e4Smiod
2442*3d8817e4Smiod2005-05-03  Nick Clifton  <nickc@redhat.com>
2443*3d8817e4Smiod
2444*3d8817e4Smiod	* config/obj-ecoff.c (ecoff_frob_file_before_fix): Fix invocations
2445*3d8817e4Smiod	of bfd_section_list... macros.
2446*3d8817e4Smiod	* config/tc-mmix.c (mmix_frob_file): Likewise.
2447*3d8817e4Smiod	* config/tc-xtensa.c (xtensa_remove_section): Likewise.
2448*3d8817e4Smiod	(xtensa_insert_section): Likewise.
2449*3d8817e4Smiod
2450*3d8817e4Smiod	* macro.c (macro_hash): Remove static.
2451*3d8817e4Smiod	* macro.h (macro_hash): Provide an external declaration.
2452*3d8817e4Smiod
2453*3d8817e4Smiod2005-05-02  H.J. Lu  <hongjiu.lu@intel.com>
2454*3d8817e4Smiod
2455*3d8817e4Smiod	* write.c (write_object_file): Use bfd_section_double_list_remove
2456*3d8817e4Smiod	to remove sections.
2457*3d8817e4Smiod
2458*3d8817e4Smiod2005-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
2459*3d8817e4Smiod
2460*3d8817e4Smiod	* doc/Makefile.am (gasver.texi): Correct quoting.
2461*3d8817e4Smiod	* doc/Makefile.in: Regenerated.
2462*3d8817e4Smiod
2463*3d8817e4Smiod2005-04-29  Ralf Corsepius <ralf.corsepius@rtems.org>
2464*3d8817e4Smiod
2465*3d8817e4Smiod	* configure.tgt: Add h8300*-*-rtemscoff.
2466*3d8817e4Smiod	Switch h8300*-*-rtems* to elf.
2467*3d8817e4Smiod
2468*3d8817e4Smiod2005-04-29  H.J. Lu  <hongjiu.lu@intel.com>
2469*3d8817e4Smiod
2470*3d8817e4Smiod	* hash.c: Undo the last change.
2471*3d8817e4Smiod	* hash.h: Likewise.
2472*3d8817e4Smiod
2473*3d8817e4Smiod2005-04-29  Daniel Jacobowitz  <dan@codesourcery.com>
2474*3d8817e4Smiod
2475*3d8817e4Smiod	* doc/Makefile.am (gasver.texi): Depend on bfd/configure instead
2476*3d8817e4Smiod	of Makefile.
2477*3d8817e4Smiod	(DISTCLEANFILES): Remove.
2478*3d8817e4Smiod	(MAINTAINERCLEANFILES): Add asconfig.texi.
2479*3d8817e4Smiod	* aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
2480*3d8817e4Smiod
2481*3d8817e4Smiod2005-04-29  Ben Elliston  <bje@au.ibm.com>
2482*3d8817e4Smiod
2483*3d8817e4Smiod	* Makefile.am (GAS_CFILES): Remove bignum-copy.c.
2484*3d8817e4Smiod	(GENERIC_OBJS): Likewise, remove bignum-copy.o.
2485*3d8817e4Smiod	(bignum-copy.o): Remove.
2486*3d8817e4Smiod	* Makefile.in: Regenerate.
2487*3d8817e4Smiod	* makefile.vms (OBJS): Remove bignum-copy.obj.
2488*3d8817e4Smiod	* symbols.h (local_symbol_make): Remove declaration.
2489*3d8817e4Smiod	(verify_symbol_chain_2): Likewise.
2490*3d8817e4Smiod	* symbols.c (local_symbol_make): Make static.
2491*3d8817e4Smiod	(max_indent_level): Likewise.
2492*3d8817e4Smiod	(verify_symbol_chain_2): Remove.
2493*3d8817e4Smiod	* macro.c (macro_hash): Make static.
2494*3d8817e4Smiod	* messages.c (fprint_value): Remove.
2495*3d8817e4Smiod	* read.h (get_absolute_expr): Remove.
2496*3d8817e4Smiod	(emit_leb128_expr): Likewise.
2497*3d8817e4Smiod	(do_s_func): Likewise.
2498*3d8817e4Smiod	* read.c (do_s_func): Make static.
2499*3d8817e4Smiod	(emit_leb128_expr): Likewise.
2500*3d8817e4Smiod	(get_absolute_expr): Likewise.
2501*3d8817e4Smiod	* as.h (as_howmuch): Remove declaration.
2502*3d8817e4Smiod	(fprint_value): Likewise.
2503*3d8817e4Smiod	* as.c (myname): Make static.
2504*3d8817e4Smiod	* input-scrub.c (as_howmuch): Remove.
2505*3d8817e4Smiod	(as_1_char): Likewise.
2506*3d8817e4Smiod	* input-file.h (input_file_is_open): Remove.
2507*3d8817e4Smiod	* input-file.c (input_file_is_open): Likewise.
2508*3d8817e4Smiod	* expr.h (expr_build_unary): Remove declaration.
2509*3d8817e4Smiod	(expr_build_binary): Likewise.
2510*3d8817e4Smiod	* expr.c (expr_build_unary): Remove.
2511*3d8817e4Smiod	(expr_build_binary): Likewise.
2512*3d8817e4Smiod	* hash.h (hash_replace): Remove declaration.
2513*3d8817e4Smiod	(hash_delete): Likewise.
2514*3d8817e4Smiod	* hash.c (hash_replace): Remove.
2515*3d8817e4Smiod	(hash_delete): Likewise.
2516*3d8817e4Smiod	* bignum-copy.c (bignum_copy): Move from here ..
2517*3d8817e4Smiod	* config/tc-vax.c (bignum_copy): .. to here.
2518*3d8817e4Smiod	* bignum.h (LOG_TO_BASE_2_OF_10): Remove.
2519*3d8817e4Smiod	(bignum_copy): Remove extern declaration.
2520*3d8817e4Smiod	* sb.h (string_count): Remove extern declaration.
2521*3d8817e4Smiod	(sb_build, sb_add_buffer, sb_print, sb_print_at): Likewise.
2522*3d8817e4Smiod	(sb_name): Likewise.
2523*3d8817e4Smiod	* sb.c (dsize): Replace preprocessor macro with static int.
2524*3d8817e4Smiod	(string_count): Make static.
2525*3d8817e4Smiod	(sb_build, sb_add_buffer, sb_print, sb_print_at): Likewise.
2526*3d8817e4Smiod	(sb_name): Likewise.
2527*3d8817e4Smiod	* config/obj-coff.c (dim_index): Make static.
2528*3d8817e4Smiod	* config/tc-i386.c (GOT_symbol): Likewise.
2529*3d8817e4Smiod	(output_invalid_buf): Likewise.
2530*3d8817e4Smiod	* doc/internals.texi (Warning and error messages): Remove the
2531*3d8817e4Smiod	prototype for fprint_value.
2532*3d8817e4Smiod
2533*3d8817e4Smiod2005-04-27  Ben Elliston  <bje@au.ibm.com>
2534*3d8817e4Smiod
2535*3d8817e4Smiod	* link.cmd: Remove.
2536*3d8817e4Smiod
2537*3d8817e4Smiod2005-04-26  H.J. Lu  <hongjiu.lu@intel.com>
2538*3d8817e4Smiod
2539*3d8817e4Smiod	* config/obj-multi.h (FAKE_LABEL_NAME): Defined.
2540*3d8817e4Smiod
2541*3d8817e4Smiod	* read.c (pseudo_set): Disallow symbol set to common symbol.
2542*3d8817e4Smiod
2543*3d8817e4Smiod	PR 857
2544*3d8817e4Smiod	* write.c (write_object_file): Report common symbol name when
2545*3d8817e4Smiod	disallowing local symbol set to common symbol.
2546*3d8817e4Smiod	(adjust_reloc_syms): Disallow local symbol set to undefined
2547*3d8817e4Smiod	symbol.
2548*3d8817e4Smiod
2549*3d8817e4Smiod2005-04-25  Jan Beulich  <jbeulich@novell.com>
2550*3d8817e4Smiod
2551*3d8817e4Smiod	* macro.c (macro_expand_body): Replace locals indicator parameters
2552*3d8817e4Smiod	with actual macro_entry. New local variables macro_line and err.
2553*3d8817e4Smiod	Don't return when encountering an error, just record the fact.
2554*3d8817e4Smiod	Detect local symbol name colliding with parameter. Track line number
2555*3d8817e4Smiod	inside of macro expansion.
2556*3d8817e4Smiod	(do_formals): Move local variable name to wider scope. Check
2557*3d8817e4Smiod	parameter of the same name doesn't already exist. In MRI mode, also
2558*3d8817e4Smiod	check it doesn't collide with the argument count pseudo-parameter).
2559*3d8817e4Smiod	(define_macro): Add file and line number parameters. Remove local
2560*3d8817e4Smiod	variable namestr. New local variable error. Initialize macro_entry
2561*3d8817e4Smiod	members file, line, and name. Don't return when encountering an
2562*3d8817e4Smiod	error, just record the fact. Use %s in some diagnostics for read.c
2563*3d8817e4Smiod	to insert the macro name. Free macro_entry on error.
2564*3d8817e4Smiod	(macro_expand): Pass macro_entry to macro_epand_body. Don't return
2565*3d8817e4Smiod	when encountering an error, just record the fact.
2566*3d8817e4Smiod	(expand_irp): Don't return when encountering an error, just record
2567*3d8817e4Smiod	the fact.
2568*3d8817e4Smiod	* macro.h (macro_struct): New members name, file, and line.
2569*3d8817e4Smiod	(define_macro): Add file and line number parameters.
2570*3d8817e4Smiod	* read.c (s_macro): Pass file and line to define_macro. Tag warning
2571*3d8817e4Smiod	regarding pseudo-op redefinition with the file/line that macro
2572*3d8817e4Smiod	definition started at.
2573*3d8817e4Smiod
2574*3d8817e4Smiod2005-04-22  Bob Wilson  <bob.wilson@acm.org>
2575*3d8817e4Smiod
2576*3d8817e4Smiod	* config/tc-xtensa.c (LOOKAHEAD_ALIGNER): Delete macro.
2577*3d8817e4Smiod	(future_alignment_required): Remove ifdefs that use it.
2578*3d8817e4Smiod
2579*3d8817e4Smiod2005-04-22  Bob Wilson  <bob.wilson@acm.org>
2580*3d8817e4Smiod
2581*3d8817e4Smiod	* config/tc-xtensa.c (xg_get_build_instr_size): Remove.
2582*3d8817e4Smiod	(xg_is_narrow_insn, xg_expand_narrow): Remove.  Merge into...
2583*3d8817e4Smiod	(xg_is_single_relaxable_insn): ...here.  Add "targ" and "narrow_only"
2584*3d8817e4Smiod	parameters.
2585*3d8817e4Smiod	(xg_assembly_relax, xg_find_narrowest_format, relaxation_requirements,
2586*3d8817e4Smiod	convert_frag_narrow): Use new version of xg_is_single_relaxable_insn.
2587*3d8817e4Smiod
2588*3d8817e4Smiod2005-04-21  Christian Groessler  <chris@groessler.org>
2589*3d8817e4Smiod
2590*3d8817e4Smiod	* config/tc-z8k.c (md_assemble): Fix buffer overrun in operand[]
2591*3d8817e4Smiod	array.
2592*3d8817e4Smiod
2593*3d8817e4Smiod2005-04-20  H.J. Lu  <hongjiu.lu@intel.com>
2594*3d8817e4Smiod
2595*3d8817e4Smiod	* config/obj-aout.h (S_IS_EXTERN): Removed.
2596*3d8817e4Smiod	* config/obj-bout.h (S_IS_EXTERN): Likewise.
2597*3d8817e4Smiod	* config/obj-coff.h (S_IS_EXTERN): Likewise.
2598*3d8817e4Smiod	* symbols.c (S_IS_EXTERN): Likewise.
2599*3d8817e4Smiod	* symbols.h (S_IS_EXTERN): Likewise.
2600*3d8817e4Smiod
2601*3d8817e4Smiod	* config/tc-alpha.c (tc_gen_reloc): Replace S_IS_EXTERN with
2602*3d8817e4Smiod	S_IS_EXTERNAL.
2603*3d8817e4Smiod	* config/tc-d10v.c (md_apply_fix3): Likewise.
2604*3d8817e4Smiod	* config/tc-ia64.c (ia64_fix_adjustable): Likewise.
2605*3d8817e4Smiod	* config/tc-iq2000.c (iq2000_fix_adjustable): Likewise.
2606*3d8817e4Smiod	* config/tc-m32r.c (m32r_fix_adjustable): Likewise.
2607*3d8817e4Smiod	* config/tc-mmix.c (mmix_adjust_symtab): Likewise.
2608*3d8817e4Smiod	* config/tc-sh64.c (shmedia_frob_file_before_adjust): Likewise.
2609*3d8817e4Smiod	(shmedia_md_convert_frag): Likewise.
2610*3d8817e4Smiod	* symbols.c (print_symbol_value_1): Likewise.
2611*3d8817e4Smiod	* write.c (write_object_file): Likewise.
2612*3d8817e4Smiod
2613*3d8817e4Smiod2005-04-20  Nick Clifton  <nickc@redhat.com>
2614*3d8817e4Smiod
2615*3d8817e4Smiod	* config/tc-xtensa.c (get_aligned_diff): Change type of
2616*3d8817e4Smiod	branch_align to offsetT so that its signedness matches that of
2617*3d8817e4Smiod	target_size.
2618*3d8817e4Smiod
2619*3d8817e4Smiod	* config/tc-mips.c (macro): Use sprintf_vma to convert a > 32 bit
2620*3d8817e4Smiod	number into a readable string.
2621*3d8817e4Smiod	(load_register): Likewise.
2622*3d8817e4Smiod
2623*3d8817e4Smiod2005-04-20  Andreas Schwab  <schwab@suse.de>
2624*3d8817e4Smiod
2625*3d8817e4Smiod	* config/tc-ia64.c (specify_resource): Initialize all of tmpl.
2626*3d8817e4Smiod
2627*3d8817e4Smiod2005-04-19  David S. Miller  <davem@davemloft.net>
2628*3d8817e4Smiod
2629*3d8817e4Smiod	* config/tc-sparc.c (md_assemble): If sparc_ip gives us a
2630*3d8817e4Smiod	NULL insn, exit early.  Remove now spurious NULL checks.
2631*3d8817e4Smiod	(sparc_ip): Use as_bad for unknown opcode errors, set *pinsn
2632*3d8817e4Smiod	to NULL and exit.
2633*3d8817e4Smiod
2634*3d8817e4Smiod2005-04-19  Jan Beulich  <jbeulich@novell.com>
2635*3d8817e4Smiod
2636*3d8817e4Smiod	* symbols.h (symbol_find_base): Remove prototype.
2637*3d8817e4Smiod	* symbols.c (save_symbol_name): Remove code section conditional upon
2638*3d8817e4Smiod	STRIP_UNDERSCORE.
2639*3d8817e4Smiod	(symbol_find): Remove.
2640*3d8817e4Smiod	(symbol_find_base): Rename to symbol_find.
2641*3d8817e4Smiod	* subsegs.c (section_symbol): Replace use of symbol_find_base with
2642*3d8817e4Smiod	symbol_find.
2643*3d8817e4Smiod	* config/obj-coff.c (tag_insert): Remove code section conditional
2644*3d8817e4Smiod	upon STRIP_UNDERSCORE.
2645*3d8817e4Smiod	(obj_coff_def): Likewise.
2646*3d8817e4Smiod	(obj_coff_endef): Replace use of symbol_find_base with symbol_find.
2647*3d8817e4Smiod	(coff_frob_symbol): Likewise.
2648*3d8817e4Smiod	(yank_symbols): Likewise.
2649*3d8817e4Smiod	(c_section_symbol): Likewise.
2650*3d8817e4Smiod	* config/obj-coff.h (DO_NOT_STRIP): Remove.
2651*3d8817e4Smiod	* config/tc-arm.c (symbol_locate): Remove code section conditional
2652*3d8817e4Smiod	upon STRIP_UNDERSCORE.
2653*3d8817e4Smiod	* config/tc-h8300.h (DO_NOT_STRIP): Remove.
2654*3d8817e4Smiod	* config/tc-h8500.h (DO_NOT_STRIP): Remove.
2655*3d8817e4Smiod	* config/tc-sh.h (DO_NOT_STRIP): Remove.
2656*3d8817e4Smiod	* config/tc-w65.h (DO_NOT_STRIP): Remove.
2657*3d8817e4Smiod	* config/tc-z8k.h (DO_NOT_STRIP): Remove.
2658*3d8817e4Smiod
2659*3d8817e4Smiod2005-04-19  Andreas Schwab  <schwab@suse.de>
2660*3d8817e4Smiod
2661*3d8817e4Smiod	* config/tc-ia64.c (md_assemble): Fix error message for wrong
2662*3d8817e4Smiod	access to application registers.
2663*3d8817e4Smiod
2664*3d8817e4Smiod2005-04-19  Jan Beulich  <jbeulich@novell.com>
2665*3d8817e4Smiod
2666*3d8817e4Smiod	* config/te-sysv32.h: Remove.
2667*3d8817e4Smiod	* Makefile.am (TARG_ENV_HFILES): Remove reference to
2668*3d8817e4Smiod	config/te-sysv32.h.
2669*3d8817e4Smiod	* Makefile.in (TARG_ENV_HFILES): Likewise.
2670*3d8817e4Smiod
2671*3d8817e4Smiod2005-04-19  Jan Beulich  <jbeulich@novell.com>
2672*3d8817e4Smiod
2673*3d8817e4Smiod	PR/847
2674*3d8817e4Smiod	* config/tc-ia64.c (ia64_canonicalize_symbol_name): Re-allow zero-
2675*3d8817e4Smiod	length symbols.
2676*3d8817e4Smiod
2677*3d8817e4Smiod2005-04-18  Mark Kettenis  <kettenis@gnu.org>
2678*3d8817e4Smiod
2679*3d8817e4Smiod	* config/tc-i386.c (md_begin): Allow hyphens in mnemonics.
2680*3d8817e4Smiod
2681*3d8817e4Smiod2005-04-18  Maciej W. Rozycki  <macro@linux-mips.org>
2682*3d8817e4Smiod
2683*3d8817e4Smiod	* config/tc-mips.c (normalize_constant_expr): Don't check for
2684*3d8817e4Smiod	HAVE_32BIT_GPRS.
2685*3d8817e4Smiod	(check_absolute_expr): Only call normalize_constant_expr() if
2686*3d8817e4Smiod	HAVE_32BIT_GPRS.
2687*3d8817e4Smiod	(mips_ip): Likewise.
2688*3d8817e4Smiod
2689*3d8817e4Smiod	* config/tc-mips.c (check_absolute_expr): Fix formatting.
2690*3d8817e4Smiod
2691*3d8817e4Smiod2005-04-18  Jan Beulich  <jbeulich@novell.com>
2692*3d8817e4Smiod
2693*3d8817e4Smiod	* macro.c (free_token): New, freeing all the memory associated with a
2694*3d8817e4Smiod	macro.
2695*3d8817e4Smiod	(do_formals): Move initializers to ...
2696*3d8817e4Smiod	(define_macro): ... here.
2697*3d8817e4Smiod	(delete_macro): Convert passed in name to lower case. Warn when
2698*3d8817e4Smiod	purging macro that doesn't exist. Use hash_jam instead of hash_delete.
2699*3d8817e4Smiod
2700*3d8817e4Smiod2005-04-15  Maciej W. Rozycki  <macro@linux-mips.org>
2701*3d8817e4Smiod
2702*3d8817e4Smiod	* config/tc-mips.c (normalize_constant_expr): Fix formatting.
2703*3d8817e4Smiod
2704*3d8817e4Smiod2005-04-15  Jan Beulich  <jbeulich@novell.com>
2705*3d8817e4Smiod
2706*3d8817e4Smiod	* config/obj-elf.c (obj_elf_struct): New.
2707*3d8817e4Smiod	(elf_pseudo_table). Use it for .offset and .struct.
2708*3d8817e4Smiod
2709*3d8817e4Smiod2005-04-14  Bob Wilson  <bob.wilson@acm.org>
2710*3d8817e4Smiod	    Sterling Augustine  <sterling@tensilica.com>
2711*3d8817e4Smiod
2712*3d8817e4Smiod	* config/tc-xtensa.c (get_aligned_diff): Handle target_size larger
2713*3d8817e4Smiod	than the section alignment.
2714*3d8817e4Smiod
2715*3d8817e4Smiod2005-04-14  Bob Wilson  <bob.wilson@acm.org>
2716*3d8817e4Smiod	    H.J. Lu  <hongjiu.lu@intel.com>
2717*3d8817e4Smiod
2718*3d8817e4Smiod	* config/tc-xtensa.h (struct xtensa_frag_type): Add lit_frchain field.
2719*3d8817e4Smiod	* config/tc-xtensa.c (xg_translate_sysreg_op,
2720*3d8817e4Smiod	xtensa_translate_old_userregs_ops,
2721*3d8817e4Smiod	xtensa_find_unaligned_branch_targets,
2722*3d8817e4Smiod	xtensa_find_unaligned_loops, xtensa_fix_close_loop_end_frags,
2723*3d8817e4Smiod	relax_frag_add_nop): Support 64-bit host.
2724*3d8817e4Smiod	(xtensa_mark_literal_pool_location, xtensa_move_literals): Use
2725*3d8817e4Smiod	tc_frag_data lit_frchain and lit_seg fields instead of fr_var.
2726*3d8817e4Smiod
2727*3d8817e4Smiod2005-04-14  Mark Kettenis  <kettenis@gnu.org>
2728*3d8817e4Smiod
2729*3d8817e4Smiod	* configure.tgt: Add support for OpenBSD/sparc ELF.
2730*3d8817e4Smiod
2731*3d8817e4Smiod	* configure.tgt: Set emulation for mips-*-openbsd*.
2732*3d8817e4Smiod	Remove broken mips-dec-openbsd* config.
2733*3d8817e4Smiod	* configure.in: Set default ABI for mips64-*-openbsd*.
2734*3d8817e4Smiod	* configure: Regenerate.
2735*3d8817e4Smiod
2736*3d8817e4Smiod2005-04-14  Maciej W. Rozycki  <macro@linux-mips.org>
2737*3d8817e4Smiod
2738*3d8817e4Smiod	* config/tc-mips.c (macro) [ldd_std]: Don't attempt the GP
2739*3d8817e4Smiod	optimization for constant addresses.
2740*3d8817e4Smiod
2741*3d8817e4Smiod2005-04-14  Nick Clifton  <nickc@redhat.com>
2742*3d8817e4Smiod
2743*3d8817e4Smiod	* as.c (main): Move parse_args before symbol_begin and frag_init
2744*3d8817e4Smiod	so that the hash table size can be set before it is used.
2745*3d8817e4Smiod	* hash.c: Use an unsigned long type for the size of the hash
2746*3d8817e4Smiod	tables.
2747*3d8817e4Smiod	* hash.h (set_gas_hash_table_size): Update the prototype.
2748*3d8817e4Smiod
2749*3d8817e4Smiod2005-04-14  Alan Modra  <amodra@bigpond.net.au>
2750*3d8817e4Smiod
2751*3d8817e4Smiod	* Makefile.am (NO_WERROR): Define.  Use instead of -Wno-error.
2752*3d8817e4Smiod	* acinclude.m4: Include ../bfd/warning.m4.
2753*3d8817e4Smiod	* configure.in: Invoke AM_BINUTILS_WARNINGS.
2754*3d8817e4Smiod	* Makefile.in: Regenerate.
2755*3d8817e4Smiod	* configure: Regenerate.
2756*3d8817e4Smiod	* doc/Makefile.in: Regenerate.
2757*3d8817e4Smiod
2758*3d8817e4Smiod2005-04-13  Maciej W. Rozycki  <macro@linux-mips.org>
2759*3d8817e4Smiod
2760*3d8817e4Smiod	* config/tc-mips.c (IS_ZEXT_32BIT_NUM): New macro.
2761*3d8817e4Smiod	(normalize_address_expr): New function to sign-extend address
2762*3d8817e4Smiod	offsets that fit into 32 bits in 32-bit mode.
2763*3d8817e4Smiod	(macro_build_ldst_constoffset): Use normalize_address_expr()
2764*3d8817e4Smiod	instead of a handcoded sequence.
2765*3d8817e4Smiod	(load_register): Likewise.  Report oversized numbers in a useful
2766*3d8817e4Smiod	way.
2767*3d8817e4Smiod	(macro) [ld_st, ldd_std]: Reject all oversized offsets, not only
2768*3d8817e4Smiod	for constant addresses.  Report oversized numbers in a useful way.
2769*3d8817e4Smiod	(mips_ip): Use normalize_address_expr() for addresses.
2770*3d8817e4Smiod
2771*3d8817e4Smiod2005-04-12  Mark Kettenis  <kettenis@gnu.org>
2772*3d8817e4Smiod
2773*3d8817e4Smiod	* config/tc-i386.c (output_insn): Handle VIA PadLock instructions
2774*3d8817e4Smiod	similar to other instructions now that they're marked as ImmExt.
2775*3d8817e4Smiod
2776*3d8817e4Smiod2005-04-12  Nick Clifton  <nickc@redhat.com>
2777*3d8817e4Smiod
2778*3d8817e4Smiod	* hash.c (DEFAULT_SIZE): Delete.  Replace with:
2779*3d8817e4Smiod	(gas_hash_table_size): New static variable.
2780*3d8817e4Smiod	(set_gas_hash_table_size): New function:  Records a requested size
2781*3d8817e4Smiod	for the hash tables.
2782*3d8817e4Smiod	(get_gas_hash_table_size): New function: Return a prime number
2783*3d8817e4Smiod	near the requested size of the hash table.
2784*3d8817e4Smiod	(hash_new): Use get_gas_hash_table_size.
2785*3d8817e4Smiod	* hash.h: Add a prototype for set_gas_hash_table_size.
2786*3d8817e4Smiod	* as.c (show_usage): Add description of new switches: --hash-size
2787*3d8817e4Smiod	and --reduce-memory-overheads.
2788*3d8817e4Smiod	(option_values): Add OPTION_HASH_TABLE_SIZE and
2789*3d8817e4Smiod	OPTION_REDUCE_MEMORY_OVERHEADS.
2790*3d8817e4Smiod	(std_longpopts): Add entries for the new options.
2791*3d8817e4Smiod	(parse_args): Handle the new options.
2792*3d8817e4Smiod	* Makefile.am: Add a dependency of as.c on hash.h.
2793*3d8817e4Smiod	* Makefile.in: Regenerate.
2794*3d8817e4Smiod	* doc/as.texinfo: Document the new switches.
2795*3d8817e4Smiod	* NEWS: Mention the new switches.
2796*3d8817e4Smiod
2797*3d8817e4Smiod2005-04-12  Nick Clifton  <nickc@redhat.com>
2798*3d8817e4Smiod
2799*3d8817e4Smiod	PR gas/818
2800*3d8817e4Smiod	* config/tc-hppa.c (pre_defined_registers): Fix %farg[0-3]
2801*3d8817e4Smiod	synonyms.
2802*3d8817e4Smiod
2803*3d8817e4Smiod2005-04-12  Alan Modra  <amodra@bigpond.net.au>
2804*3d8817e4Smiod
2805*3d8817e4Smiod	* Makefile.am: Run "make dep-am".
2806*3d8817e4Smiod	* Makefile.in: Regenerate.
2807*3d8817e4Smiod
2808*3d8817e4Smiod2005-04-11  Sterling Augustine  <sterling@tensilica.com>
2809*3d8817e4Smiod	    Bob Wilson  <bob.wilson@acm.org>
2810*3d8817e4Smiod
2811*3d8817e4Smiod	* config/tc-xtensa.c (check_t1_t2_reads_and_writes): Fix typo.
2812*3d8817e4Smiod
2813*3d8817e4Smiod2005-04-11  Mark Kettenis  <kettenis@gnu.org>
2814*3d8817e4Smiod
2815*3d8817e4Smiod	* configure.tgt (generic_target): Add support for OpenBSD/i386 ELF.
2816*3d8817e4Smiod
2817*3d8817e4Smiod2005-04-11  Jan Beulich  <jbeulich@novell.com>
2818*3d8817e4Smiod
2819*3d8817e4Smiod	* NEWS: Mention these changes and their effects.
2820*3d8817e4Smiod	* macro.c (get_token): Use is_name_beginner/is_part_of_name/
2821*3d8817e4Smiod	is_name_ender.
2822*3d8817e4Smiod	(check_macro): Likewise.
2823*3d8817e4Smiod	(buffer_and_nest): Likewise. Permit multiple labels. Don't discard
2824*3d8817e4Smiod	labels together with the closing pseudo-op.
2825*3d8817e4Smiod	(macro_expand_body): Adjust comment. Range-check input before use.
2826*3d8817e4Smiod	Adjust mis-spelled diagnostic. Use is_name_beginner.
2827*3d8817e4Smiod	* read.c (try_macro): New.
2828*3d8817e4Smiod	(read_a_source_file): New static variable last_eol. Don't list
2829*3d8817e4Smiod	macro expansion lines more than once. Call try_macro.
2830*3d8817e4Smiod	(s_macro): Set section of line_label to absolute instead of undefined.
2831*3d8817e4Smiod	* doc/as.texinfo: Add information on the caveats of these changes.
2832*3d8817e4Smiod
2833*3d8817e4Smiod2005-04-11  Alan Modra  <amodra@bigpond.net.au>
2834*3d8817e4Smiod
2835*3d8817e4Smiod	* symbols.c (symbol_X_add_number): Change return type to "offsetT *".
2836*3d8817e4Smiod	* symbols.h (symbol_X_add_number): Update prototype.
2837*3d8817e4Smiod
2838*3d8817e4Smiod2005-04-10  Eric Christopher  <echristo@redhat.com>
2839*3d8817e4Smiod
2840*3d8817e4Smiod	* symbols.c (symbol_X_add_number): Fix warning.
2841*3d8817e4Smiod
2842*3d8817e4Smiod2005-04-10  H.J. Lu  <hongjiu.lu@intel.com>
2843*3d8817e4Smiod
2844*3d8817e4Smiod	* config/tc-m68k.c (md_begin): Support 64bit host.
2845*3d8817e4Smiod	(get_num): Support 64bit BFD on 32bit host.
2846*3d8817e4Smiod
2847*3d8817e4Smiod2005-04-10  H.J. Lu  <hongjiu.lu@intel.com>
2848*3d8817e4Smiod
2849*3d8817e4Smiod	* config/tc-mips.c (md_apply_fix3): Fix typos in BFD_RELOC_64.
2850*3d8817e4Smiod
2851*3d8817e4Smiod2005-04-09  Alan Modra  <amodra@bigpond.net.au>
2852*3d8817e4Smiod
2853*3d8817e4Smiod	* read.c (assign_symbol): Remove const from parm.  Fix xcalloc
2854*3d8817e4Smiod	call.  Don't do the COFF hacks for multi-emulation gas.  Move
2855*3d8817e4Smiod	demand_empty_rest_of_line back to caller.
2856*3d8817e4Smiod	(s_set, equals): demand_empty_rest_of_line here.
2857*3d8817e4Smiod
2858*3d8817e4Smiod	PR gas/827
2859*3d8817e4Smiod	* as.h (rs_dummy): Define.
2860*3d8817e4Smiod	* symbols.c (symbol_X_add_number): New function.
2861*3d8817e4Smiod	* symbols.h (symbol_X_add_number): Declare.
2862*3d8817e4Smiod	* stabs.c (aout_process_stab): Tidy symbol frag setting.
2863*3d8817e4Smiod	* read.c (assign_symbol): New function, split out from s_set.
2864*3d8817e4Smiod	Use symbol_find_or_make.  Leave fr_type of dummy frag as rs_dummy.
2865*3d8817e4Smiod	Fix COFF hacks for multi-emulation gas.
2866*3d8817e4Smiod	(s_set): Call assign_symbol.  Remove "register" keyword.
2867*3d8817e4Smiod	(set_zero_frag): New function.
2868*3d8817e4Smiod	(pseudo_set): Always check for assignment to section syms.
2869*3d8817e4Smiod	Always set segment and frag of symbol, and likewise extern for
2870*3d8817e4Smiod	aout/bout.  Handle assignment of sym=sym+/-const specially.  Don't
2871*3d8817e4Smiod	special case exp.X_add_number non-zero for O_symbol expressions.
2872*3d8817e4Smiod	(equals): Use assign_symbol.
2873*3d8817e4Smiod
2874*3d8817e4Smiod2005-04-08  Bob Wilson  <bob.wilson@acm.org>
2875*3d8817e4Smiod
2876*3d8817e4Smiod	* config/tc-xtensa.c (xtensa_create_xproperty_segments): Skip
2877*3d8817e4Smiod	SEC_MERGE sections.
2878*3d8817e4Smiod
2879*3d8817e4Smiod2005-04-06  H.J. Lu  <hongjiu.lu@intel.com>
2880*3d8817e4Smiod
2881*3d8817e4Smiod	* config/tc-i386.c (tc_gen_reloc): Don't turn
2882*3d8817e4Smiod	BFD_RELOC_X86_64_32S into BFD_RELOC_32.
2883*3d8817e4Smiod
2884*3d8817e4Smiod2005-04-06  Nick Clifton  <nickc@redhat.com>
2885*3d8817e4Smiod
2886*3d8817e4Smiod	* po/rw.po: New translation: Kinyarwanda
2887*3d8817e4Smiod	* configure.in (ALL_LINGUAS): Add rw
2888*3d8817e4Smiod	* configure: Regenerate.
2889*3d8817e4Smiod
2890*3d8817e4Smiod2005-04-05  Sterling Augustine  <sterling@tensilica.com>
2891*3d8817e4Smiod	    Bob Wilson  <bob.wilson@acm.org>
2892*3d8817e4Smiod
2893*3d8817e4Smiod	* config/tc-xtensa.c (branch_align_power): New.
2894*3d8817e4Smiod	(xtensa_find_unaligned_branch_targets, get_aligned_diff,
2895*3d8817e4Smiod	future_alignment_required): Use branch_align_power to check section
2896*3d8817e4Smiod	alignment as well as xtensa_fetch_width when aligning branch targets.
2897*3d8817e4Smiod
2898*3d8817e4Smiod2005-04-05  Bob Wilson  <bob.wilson@acm.org>
2899*3d8817e4Smiod
2900*3d8817e4Smiod	* config/tc-xtensa.c: Warning fixes throughout.
2901*3d8817e4Smiod	(xtensa_fetch_width): Change to unsigned.
2902*3d8817e4Smiod	(assemble_nop, xtensa_find_unaligned_branch_targets,
2903*3d8817e4Smiod	xtensa_find_unaligned_loops, xg_assemble_vliw_tokens,
2904*3d8817e4Smiod	is_narrow_branch_guaranteed_in_range, xtensa_fix_close_loop_end_frags,
2905*3d8817e4Smiod	min_bytes_to_other_loop_end, unrelaxed_frag_min_size,
2906*3d8817e4Smiod	unrelaxed_frag_max_size, xtensa_fix_short_loop_frags,
2907*3d8817e4Smiod	count_insns_to_loop_end, unrelaxed_frag_min_insn_count,
2908*3d8817e4Smiod	get_text_align_max_fill_size, get_text_align_nop_count,
2909*3d8817e4Smiod	get_text_align_nth_nop_size, get_noop_aligned_address,
2910*3d8817e4Smiod	get_aligned_diff, convert_frag_align_next_opcode,
2911*3d8817e4Smiod	convert_frag_immed_finish_loop, xtensa_create_property_segments,
2912*3d8817e4Smiod	xtensa_create_xproperty_segments, xt_block_aligned_size): Clean up
2913*3d8817e4Smiod	types, avoiding size_t and using offsetT and addressT appropriately.
2914*3d8817e4Smiod	(get_text_align_power): Clean up types.  Avoid incorrect bound.
2915*3d8817e4Smiod	(get_text_align_fill_size): Clean up types.  Restructure for clarity.
2916*3d8817e4Smiod
2917*3d8817e4Smiod2005-04-04  H.J. Lu  <hongjiu.lu@intel.com>
2918*3d8817e4Smiod
2919*3d8817e4Smiod	* config/tc-ia64.c (start_unwind_section): Undo the change
2920*3d8817e4Smiod	of 2004-08-18.
2921*3d8817e4Smiod	(generate_unwind_image, dot_endp): Likewise.
2922*3d8817e4Smiod
2923*3d8817e4Smiod2005-04-01 David Mosberger  <davidm@hpl.hp.com>
2924*3d8817e4Smiod
2925*3d8817e4Smiod	* config/tc-ia64.c (ia64_handle_align): Move le_nop and
2926*3d8817e4Smiod	le_nop_stop arrays and initializers to file scope.
2927*3d8817e4Smiod	(md_begin): When generating code for anything other than
2928*3d8817e4Smiod	Itanium 1, use MMI instead of MFI NOP bundles as a filler.
2929*3d8817e4Smiod
2930*3d8817e4Smiod2005-04-01  Jan Beulich  <jbeulich@novell.com>
2931*3d8817e4Smiod
2932*3d8817e4Smiod	* config/tc-i386.c (output_imm): Also set sign flag for 64-bit push
2933*3d8817e4Smiod	immediates.
2934*3d8817e4Smiod
2935*3d8817e4Smiod2005-04-01  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
2936*3d8817e4Smiod
2937*3d8817e4Smiod	* NEWS: Mention [fdgh]_floating.
2938*3d8817e4Smiod	* config/atof-vax.c: Fix some whitespace.
2939*3d8817e4Smiod	* config/tc-vax.c (md_pseudo_table): Add "[fdgh]_floating".
2940*3d8817e4Smiod
2941*3d8817e4Smiod2005-04-01  Nick Clifton  <nickc@redhat.com>
2942*3d8817e4Smiod
2943*3d8817e4Smiod	* configure.in: Add a check for <unistd.h> providing a prototype
2944*3d8817e4Smiod	for getopt() which is compatible with the one in
2945*3d8817e4Smiod	include/getopt.h.  If so then define HAVE_DECL_GETOPT.
2946*3d8817e4Smiod	* configure: Regenerate.
2947*3d8817e4Smiod	* config.in (HAVE_DECL_GETOPT): Add.
2948*3d8817e4Smiod
2949*3d8817e4Smiod2005-04-01  Jan Beulich  <jbeulich@novell.com>
2950*3d8817e4Smiod
2951*3d8817e4Smiod	* config/tc-i386.c (s_bss): Call obj_elf_section_change_hook.
2952*3d8817e4Smiod
2953*3d8817e4Smiod2005-04-01  Jan Beulich  <jbeulich@novell.com>
2954*3d8817e4Smiod
2955*3d8817e4Smiod	* config/tc-i386.c (md_apply_fix3): Also handle BFD_RELOC_X86_64_32S.
2956*3d8817e4Smiod	(tc_gen_reloc): Handle BFD_RELOC_X86_64_32S in the default case.
2957*3d8817e4Smiod
2958*3d8817e4Smiod2005-03-30  Julian Brown  <julian@codesourcery.com>
2959*3d8817e4Smiod
2960*3d8817e4Smiod	* config/tc-arm.c (arm_adjust_symtab): Rename
2961*3d8817e4Smiod	bfd_elf32_is_arm_mapping_symbol_name to bfd_is_arm_mapping_symbol_name.
2962*3d8817e4Smiod
2963*3d8817e4Smiod2005-03-30  Julian Brown  <julian@codesourcery.com>
2964*3d8817e4Smiod
2965*3d8817e4Smiod	* config/tc-arm.c (mapping_state): Change documentation in function
2966*3d8817e4Smiod	comment to cross-reference spec instead. Change type of mapping symbols
2967*3d8817e4Smiod	to BSF_NO_TYPE.
2968*3d8817e4Smiod	(arm_adjust_symtab): Don't change type of mapping symbols here.
2969*3d8817e4Smiod
2970*3d8817e4Smiod2005-03-30  Aaron W. LaFramboise  <aaron98wiridge9@aaronwl.com>
2971*3d8817e4Smiod
2972*3d8817e4Smiod	* as.h [NEED_DECLARATION_FFS] (ffs): Prototype and alphabetize.
2973*3d8817e4Smiod	* config.in: Regenerate.
2974*3d8817e4Smiod	* configure: Regenerate.
2975*3d8817e4Smiod	* configure.in: Check for ffs decl and alphabetize.
2976*3d8817e4Smiod
2977*3d8817e4Smiod2005-03-29  Daniel Jacobowitz  <dan@codesourcery.com>
2978*3d8817e4Smiod	    Phil Blundell  <philb@gnu.org>
2979*3d8817e4Smiod
2980*3d8817e4Smiod	* config/tc-arm.c (arm_parse_reloc): Add TLS relocations.
2981*3d8817e4Smiod	(md_apply_fix3): Mark TLS symbols.
2982*3d8817e4Smiod	(tc_gen_reloc): Handle TLS relocations.
2983*3d8817e4Smiod	(arm_fix_adjustable): Ignore TLS relocations.
2984*3d8817e4Smiod	(s_arm_elf_cons): Support expressions after decorated symbols.
2985*3d8817e4Smiod
2986*3d8817e4Smiod2005-03-29  Julian Brown  <julian@codesourcery.com>
2987*3d8817e4Smiod
2988*3d8817e4Smiod	* config/tc-arm.c (marked_pr_dependency): New bitmap, bit N indicates
2989*3d8817e4Smiod	whether personality routine index N has been output for this section.
2990*3d8817e4Smiod	(mapping_state): tc_segment_info_data now struct not enum.
2991*3d8817e4Smiod	(arm_elf_change_section): Likewise, and marked_pr_dependency is now
2992*3d8817e4Smiod	handled on section change.
2993*3d8817e4Smiod	(create_unwind_entry): Previous code to output dependency removed.
2994*3d8817e4Smiod	(s_arm_unwind_fnend): Output dependency if it hasn't been done already
2995*3d8817e4Smiod	for this section.
2996*3d8817e4Smiod	* config/tc-arm.h (TC_SEGMENT_INFO_TYPE): Redefined as struct
2997*3d8817e4Smiod	arm_segment_info_type.
2998*3d8817e4Smiod	(arm_segment_info_type): New struct.
2999*3d8817e4Smiod
3000*3d8817e4Smiod2005-03-28  Sterling Augustine  <sterling@tensilica.com>
3001*3d8817e4Smiod	    Bob Wilson  <bob.wilson@acm.org>
3002*3d8817e4Smiod
3003*3d8817e4Smiod	* config/tc-xtensa.c (do_align_targets): Update comment.
3004*3d8817e4Smiod	(xtensa_frob_label): Compute "freq" before possibly switching frags.
3005*3d8817e4Smiod	Insert a LOOP_END frag before every loop target, and do not overload
3006*3d8817e4Smiod	DESIRE_ALIGN_IF_TARGET frags with loop end information.
3007*3d8817e4Smiod	(xg_assemble_vliw_tokens): Use do_align_targets.
3008*3d8817e4Smiod	(xtensa_fix_target_frags): Remove code to convert a
3009*3d8817e4Smiod	DESIRE_ALIGN_IF_TARGET frag to a LOOP_END frag when there is a
3010*3d8817e4Smiod	negatable branch at the end of a loop.
3011*3d8817e4Smiod	(frag_can_negate_branch): Delete.
3012*3d8817e4Smiod
3013*3d8817e4Smiod2005-03-28  David Mosberger  <davidm@hpl.hp.com>
3014*3d8817e4Smiod	    H.J. Lu  <hongjiu.lu@intel.com>
3015*3d8817e4Smiod
3016*3d8817e4Smiod	PR 803
3017*3d8817e4Smiod	NEWS: Mention "-mtune=[itanium1|itanium2]".
3018*3d8817e4Smiod
3019*3d8817e4Smiod	* config/tc-ia64.c (md): Add tune.
3020*3d8817e4Smiod	(md_parse_option): Accepted "-mtune=[itanium1|itanium2]".
3021*3d8817e4Smiod	(md_show_usage): Add "-mtune=[itanium1|itanium2]".
3022*3d8817e4Smiod	(extra_goodness): Prefer M- and I-unit NOPs for itanium2. F and
3023*3d8817e4Smiod	B unit NOPs are discouraged for McKinley-derived cores.
3024*3d8817e4Smiod	(md_begin): Don't hardcode the "extra_goodness()" function in
3025*3d8817e4Smiod	the comment...
3026*3d8817e4Smiod	(ia64_init): Set md.tune to itanium2.
3027*3d8817e4Smiod
3028*3d8817e4Smiod	* doc/as.texinfo: Add -mtune=[itanium1|itanium2]".
3029*3d8817e4Smiod	* doc/c-ia64.texi: Likewise.
3030*3d8817e4Smiod
3031*3d8817e4Smiod2005-03-27  Ian Lance Taylor  <ian@airs.com>
3032*3d8817e4Smiod
3033*3d8817e4Smiod	* config/obj-coff.c (coff_frob_symbol): When crashing because of a
3034*3d8817e4Smiod	bad C_EFCN symbol, print its name.
3035*3d8817e4Smiod
3036*3d8817e4Smiod2005-03-25  Bob Wilson  <bob.wilson@acm.org>
3037*3d8817e4Smiod
3038*3d8817e4Smiod	* config/tc-xtensa.c (use_longcalls): Delete.
3039*3d8817e4Smiod	(xg_symbolic_immeds_fit): Check for direct calls and return TRUE if
3040*3d8817e4Smiod	the use_longcalls flag is set.  Do this before checking the segment.
3041*3d8817e4Smiod	(xg_expand_assembly_insn): Rearrange to use new do_expand flag.  Never
3042*3d8817e4Smiod	expand direct calls at this point.
3043*3d8817e4Smiod	(xtensa_set_frag_assembly_state): Set use_longcalls flag.
3044*3d8817e4Smiod	(xtensa_find_unmarked_state_frags): Likewise.
3045*3d8817e4Smiod	(md_assemble): Do not disable longcalls by setting is_specific_opcode.
3046*3d8817e4Smiod	(xg_assemble_vliw_tokens): Switch frags when use_longcalls changes.
3047*3d8817e4Smiod	(convert_frag_immed): Remove unnecessary check of is_specific_opcode.
3048*3d8817e4Smiod	* config/tc-xtensa.h (xtensa_frag_type): Add use_longcalls flag.
3049*3d8817e4Smiod
3050*3d8817e4Smiod2005-03-25  Hans-Peter Nilsson  <hp@bitrange.com>
3051*3d8817e4Smiod
3052*3d8817e4Smiod	* config/tc-mmix.c, config/tc-mmix.h: Convert to ISO C90.
3053*3d8817e4Smiod
3054*3d8817e4Smiod2005-03-25  Hans-Peter Nilsson  <hp@axis.com>
3055*3d8817e4Smiod
3056*3d8817e4Smiod	* config/tc-cris.h: Convert to ISO C90.
3057*3d8817e4Smiod	* config/tc-cris.c: Ditto.
3058*3d8817e4Smiod	(md_estimate_size_before_relax): Remove obsolete comment for
3059*3d8817e4Smiod	parameter "segment_type".
3060*3d8817e4Smiod	(md_begin): Document reason for cast of hash_insert argument.
3061*3d8817e4Smiod	(md_atof): Correct type of parameter "type".
3062*3d8817e4Smiod
3063*3d8817e4Smiod2005-03-24  Nick Clifton  <nickc@redhat.com>
3064*3d8817e4Smiod
3065*3d8817e4Smiod	* write.h (bit_fix_new): Remove redundant prototype.
3066*3d8817e4Smiod	* config/atof-ieee.c: Convert to ISO-C90 and fix formatting.
3067*3d8817e4Smiod	* config/obj-aout.c: Convert to ISO-C90 and fix formatting.
3068*3d8817e4Smiod	* config/obj-aout.h: Convert to ISO-C90 and fix formatting.
3069*3d8817e4Smiod	* config/obj-bout.c: Convert to ISO-C90 and fix formatting.
3070*3d8817e4Smiod	* config/obj-bout.h: Convert to ISO-C90 and fix formatting.
3071*3d8817e4Smiod	* config/obj-ecoff.c: Convert to ISO-C90 and fix formatting.
3072*3d8817e4Smiod	* config/obj-ecoff.h: Convert to ISO-C90 and fix formatting.
3073*3d8817e4Smiod	* config/obj-som.c: Convert to ISO-C90 and fix formatting.
3074*3d8817e4Smiod	* config/obj-som.h: Convert to ISO-C90 and fix formatting.
3075*3d8817e4Smiod	* config/tc-a29k.c: Convert to ISO-C90 and fix formatting.
3076*3d8817e4Smiod	* config/tc-a29k.h: Convert to ISO-C90 and fix formatting.
3077*3d8817e4Smiod	* config/tc-alpha.c: Convert to ISO-C90 and fix formatting.
3078*3d8817e4Smiod	* config/tc-alpha.h: Convert to ISO-C90 and fix formatting.
3079*3d8817e4Smiod	* config/tc-arc.c: Convert to ISO-C90 and fix formatting.
3080*3d8817e4Smiod	* config/tc-arc.h: Convert to ISO-C90 and fix formatting.
3081*3d8817e4Smiod	* config/tc-d10v.c: Convert to ISO-C90 and fix formatting.
3082*3d8817e4Smiod	* config/tc-d10v.h: Convert to ISO-C90 and fix formatting.
3083*3d8817e4Smiod	* config/tc-d30v.c: Convert to ISO-C90 and fix formatting.
3084*3d8817e4Smiod	* config/tc-d30v.h: Convert to ISO-C90 and fix formatting.
3085*3d8817e4Smiod	* config/tc-dlx.c: Convert to ISO-C90 and fix formatting.
3086*3d8817e4Smiod	* config/tc-dlx.h: Convert to ISO-C90 and fix formatting.
3087*3d8817e4Smiod	* config/tc-fr30.c: Convert to ISO-C90 and fix formatting.
3088*3d8817e4Smiod	* config/tc-fr30.h: Convert to ISO-C90 and fix formatting.
3089*3d8817e4Smiod	* config/tc-h8500.c: Convert to ISO-C90 and fix formatting.
3090*3d8817e4Smiod	* config/tc-h8500.h: Convert to ISO-C90 and fix formatting.
3091*3d8817e4Smiod	* config/tc-i370.c: Convert to ISO-C90 and fix formatting.
3092*3d8817e4Smiod	* config/tc-i370.h: Convert to ISO-C90 and fix formatting.
3093*3d8817e4Smiod	* config/tc-i960.c: Convert to ISO-C90 and fix formatting.
3094*3d8817e4Smiod	* config/tc-ip2k.c: Convert to ISO-C90 and fix formatting.
3095*3d8817e4Smiod	* config/tc-ip2k.h: Convert to ISO-C90 and fix formatting.
3096*3d8817e4Smiod	* config/tc-m32r.c: Convert to ISO-C90 and fix formatting.
3097*3d8817e4Smiod	* config/tc-m32r.h: Convert to ISO-C90 and fix formatting.
3098*3d8817e4Smiod	* config/tc-m88k.c: Convert to ISO-C90 and fix formatting.
3099*3d8817e4Smiod	* config/tc-m88k.h: Convert to ISO-C90 and fix formatting.
3100*3d8817e4Smiod	* config/tc-mcore.c: Convert to ISO-C90 and fix formatting.
3101*3d8817e4Smiod	* config/tc-mcore.h: Convert to ISO-C90 and fix formatting.
3102*3d8817e4Smiod	* config/tc-mn10200.c: Convert to ISO-C90 and fix formatting.
3103*3d8817e4Smiod	* config/tc-ns32k.c: Convert to ISO-C90 and fix formatting.
3104*3d8817e4Smiod	* config/tc-ns32k.h: Convert to ISO-C90 and fix formatting.
3105*3d8817e4Smiod	* config/tc-openrisc.c: Convert to ISO-C90 and fix formatting.
3106*3d8817e4Smiod	* config/tc-openrisc.h: Convert to ISO-C90 and fix formatting.
3107*3d8817e4Smiod	* config/tc-or32.c: Convert to ISO-C90 and fix formatting.
3108*3d8817e4Smiod	* config/tc-or32.h: Convert to ISO-C90 and fix formatting.
3109*3d8817e4Smiod	* config/tc-pdp11.h: Convert to ISO-C90 and fix formatting.
3110*3d8817e4Smiod	* config/tc-pj.c: Convert to ISO-C90 and fix formatting.
3111*3d8817e4Smiod	* config/tc-pj.h: Convert to ISO-C90 and fix formatting.
3112*3d8817e4Smiod	* config/tc-tahoe.c: Convert to ISO-C90 and fix formatting.
3113*3d8817e4Smiod	* config/tc-tic80.c: Convert to ISO-C90 and fix formatting.
3114*3d8817e4Smiod	* config/tc-tic80.h: Convert to ISO-C90 and fix formatting.
3115*3d8817e4Smiod	* config/tc-v850.c: Convert to ISO-C90 and fix formatting.
3116*3d8817e4Smiod	* config/tc-v850.h: Convert to ISO-C90 and fix formatting.
3117*3d8817e4Smiod	* config/tc-w65.c: Convert to ISO-C90 and fix formatting.
3118*3d8817e4Smiod	* config/tc-w65.h: Convert to ISO-C90 and fix formatting.
3119*3d8817e4Smiod	* config/tc-xstormy16.c: Convert to ISO-C90 and fix formatting.
3120*3d8817e4Smiod	* config/tc-xstormy16.h: Convert to ISO-C90 and fix formatting.
3121*3d8817e4Smiod
3122*3d8817e4Smiod2005-03-23  Jim Blandy  <jimb@redhat.com>
3123*3d8817e4Smiod
3124*3d8817e4Smiod	* config/tc-arm.c (arm_adjust_symtab): Fetch elf_sym's binding
3125*3d8817e4Smiod	attributes properly.
3126*3d8817e4Smiod
3127*3d8817e4Smiod2005-03-23  Mike Frysinger  <vapier@gentoo.org>
3128*3d8817e4Smiod	    Nick Clifton  <nickc@redhat.com>
3129*3d8817e4Smiod
3130*3d8817e4Smiod	* configure.tgt: Accept any C library to accompany a GNU Linux
3131*3d8817e4Smiod	implementation, not just the GNU C library.
3132*3d8817e4Smiod	* configure.in: Likewise.
3133*3d8817e4Smiod	* configure: Regenerate.
3134*3d8817e4Smiod
3135*3d8817e4Smiod2005-03-23  Nick Clifton  <nickc@redhat.com>
3136*3d8817e4Smiod
3137*3d8817e4Smiod	* config/tc-tic30.c: Convert to ISO C90 formatting.
3138*3d8817e4Smiod	* config/tc-tic30.h: Convert to ISO C90 formatting.
3139*3d8817e4Smiod	* config/tc-pdp11.c: Convert to ISO C90 formatting.
3140*3d8817e4Smiod	* config/atof-vax.c: Convert to ISO C90 formatting.
3141*3d8817e4Smiod
3142*3d8817e4Smiod2005-03-21  Maciej W. Rozycki  <macro@mips.com>
3143*3d8817e4Smiod
3144*3d8817e4Smiod	* config/tc-mips.c (mips_frob_file): Sort BFD_RELOC_MIPS16_LO16
3145*3d8817e4Smiod	relocations correctly as well.
3146*3d8817e4Smiod	(mips_fix_adjustable): Don't make BFD_RELOC_MIPS16_LO16
3147*3d8817e4Smiod	relocations in mergeable sections section-relative either.
3148*3d8817e4Smiod
3149*3d8817e4Smiod2005-03-21  Bob Wilson  <bob.wilson@acm.org>
3150*3d8817e4Smiod
3151*3d8817e4Smiod	* config/tc-xtensa.c (md_apply_fix3): Recognize XTENSA_PLT relocations.
3152*3d8817e4Smiod
3153*3d8817e4Smiod2005-03-21  Nick Clifton  <nickc@redhat.com>
3154*3d8817e4Smiod
3155*3d8817e4Smiod	* config/tc-sh.c (sh_elf_final_processing): Fix compile time
3156*3d8817e4Smiod	warning by providing a prototype for sh_symbian_find_elf_flags.
3157*3d8817e4Smiod
3158*3d8817e4Smiod	* cgen.c (gas_cgen_parse_operand): Fix typo introduced by
3159*3d8817e4Smiod	previous delta.
3160*3d8817e4Smiod
3161*3d8817e4Smiod2005-03-21  Alan Modra  <amodra@bigpond.net.au>
3162*3d8817e4Smiod
3163*3d8817e4Smiod	* configure.tgt: Handle setting of bfd_gas for fmt=multi targets
3164*3d8817e4Smiod	along with other formats that set bfd_gas.  Remove unnecessary
3165*3d8817e4Smiod	setting of bfd_gas.  Delete strongarm cases in generic_target
3166*3d8817e4Smiod	switch.
3167*3d8817e4Smiod
3168*3d8817e4Smiod2005-03-21  Alan Modra  <amodra@bigpond.net.au>
3169*3d8817e4Smiod
3170*3d8817e4Smiod	PR gas/780
3171*3d8817e4Smiod	* config/tc-m68k.c (TRUNC, SEXT): Define.
3172*3d8817e4Smiod	(issbyte, isubyte, issword, isuword, isbyte, isword): Use the above.
3173*3d8817e4Smiod	(m68k_ip): Truncate or sign extend expressions as appropriate.
3174*3d8817e4Smiod	(get_num): Likewise.
3175*3d8817e4Smiod	(md_apply_fix3): Use SEXT.
3176*3d8817e4Smiod
3177*3d8817e4Smiod2005-03-21  Alan Modra  <amodra@bigpond.net.au>
3178*3d8817e4Smiod
3179*3d8817e4Smiod	* Makefile.am (OBJ_FORMAT_CFILES): Prune config/obj-vms.c.
3180*3d8817e4Smiod	(OBJ_FORMAT_HFILES): Prune config/obj-vms.h.
3181*3d8817e4Smiod	(obj-vms.o): Delete rule.
3182*3d8817e4Smiod	Run "make dep-am".
3183*3d8817e4Smiod	* Makefile.in: Regenerate.
3184*3d8817e4Smiod	* aclocal.m4: Regenerate.
3185*3d8817e4Smiod	* doc/Makefile.in: Regenerate.
3186*3d8817e4Smiod	* po/POTFILES.in: Regenerate.
3187*3d8817e4Smiod
3188*3d8817e4Smiod2005-03-18  C Jaiprakash  <cjaiprakash@noida.hcltech.com>
3189*3d8817e4Smiod
3190*3d8817e4Smiod	* config/tc-m68k.c (m68k_elf_final_processing): Set file specific
3191*3d8817e4Smiod	flag for coldfire v4e.
3192*3d8817e4Smiod
3193*3d8817e4Smiod2005-03-17  Bob Wilson  <bob.wilson@acm.org>
3194*3d8817e4Smiod
3195*3d8817e4Smiod	* config/tc-xtensa.c (xg_apply_tentative_value): Rename to
3196*3d8817e4Smiod	xg_apply_fix_value and return a value to indicate success.
3197*3d8817e4Smiod	(md_pcrel_from): Skip check of fx_done.  Return 0 if not PC-relative.
3198*3d8817e4Smiod	(xtensa_force_relocation): Remove checks for VTABLE relocs.
3199*3d8817e4Smiod	(xtensa_validate_fix_sub): New.
3200*3d8817e4Smiod	(xtensa_fix_adjustable): Remove check for external or weak symbols.
3201*3d8817e4Smiod	(tc_gen_reloc): Move code to handle difference of symbols and code to
3202*3d8817e4Smiod	apply tentative fix values to ...
3203*3d8817e4Smiod	(md_apply_fix3): ...here.  Enable standard overflow checks for simple
3204*3d8817e4Smiod	8, 16, and 32 bit relocations.  Apply fixes for slot-specific
3205*3d8817e4Smiod	relocations when linkrelax flag is not set.
3206*3d8817e4Smiod	* config/tc-xtensa.h (xtensa_validate_fix_sub): Add prototype.
3207*3d8817e4Smiod	(TC_FORCE_RELOCATION_SUB_SAME, TC_VALIDATE_FIX_SUB): Define.
3208*3d8817e4Smiod
3209*3d8817e4Smiod2005-03-17  Jan Beulich  <jbeulich@novell.com>
3210*3d8817e4Smiod
3211*3d8817e4Smiod	* config/tc-i386.c (i386_scale): Beautify error message.
3212*3d8817e4Smiod	(Intel syntax comments): Update.
3213*3d8817e4Smiod	(struct intel_parser_s): Add fields in_offset, in_bracket, and
3214*3d8817e4Smiod	next_operand.
3215*3d8817e4Smiod	(intel_e04_1, intel_e05_1, intel_e05_1, intel_e09_1, intel_e10_1):
3216*3d8817e4Smiod	Remove declarations.
3217*3d8817e4Smiod	(intel_bracket_expr): Declare.
3218*3d8817e4Smiod	(i386_intel_operand): Initialize new intel_parser fields. Wrap most
3219*3d8817e4Smiod	of the function body in a loop allowing to split an operand into two.
3220*3d8817e4Smiod	Replace calls to malloc and checks of it returning non-NULL with
3221*3d8817e4Smiod	calls to xmalloc/xstrdup.
3222*3d8817e4Smiod	(intel_expr): SHORT no longer handled here. Add comment indicating
3223*3d8817e4Smiod	comparison ops need implementation.
3224*3d8817e4Smiod	(intel_e04, intel_e04_1): Combine, replace recursion with loop.
3225*3d8817e4Smiod	Check right operand of - does not specify a register when parsing
3226*3d8817e4Smiod	the address of a memory reference.
3227*3d8817e4Smiod	(intel_e05, intel_e05_1): Combine, replace recursion with loop.
3228*3d8817e4Smiod	Check operands do not specify a register when parsing the address of
3229*3d8817e4Smiod	a memory reference.
3230*3d8817e4Smiod	(intel_e06, intel_e06_1): Likewise.
3231*3d8817e4Smiod	(intel_e09, intel_e09_1): Combine, replace recursion with loop. Also
3232*3d8817e4Smiod	handle SHORT as well as unary + and -. Don't accept : except for
3233*3d8817e4Smiod	segment overrides or in direct far jump/call insns.
3234*3d8817e4Smiod	(intel_brack_expr): New.
3235*3d8817e4Smiod	(intel_e10, intel_e10_1): Combine, replace recursion with loop. Use
3236*3d8817e4Smiod	intel_brack_expr.
3237*3d8817e4Smiod	(intel_e11): Replace chain of if/else-if by switch, alloing fall-
3238*3d8817e4Smiod	through in certain cases. Use intel_brack_expr. Add new diagnostics.
3239*3d8817e4Smiod	Allow symbolic constants as register scale value.
3240*3d8817e4Smiod	(intel_get_token): Replace call to malloc and check of return value
3241*3d8817e4Smiod	with call to xmalloc. Change handling for FLAT to match MASM's.
3242*3d8817e4Smiod	(intel_putback_token): Don't try to back up/free current token if
3243*3d8817e4Smiod	that is T_NIL.
3244*3d8817e4Smiod
3245*3d8817e4Smiod2005-03-16  Daniel Jacobowitz  <dan@codesourcery.com>
3246*3d8817e4Smiod
3247*3d8817e4Smiod	* configure.tgt: Set emulation for arm-*-eabi*.
3248*3d8817e4Smiod	* config/tc-arm.c (meabi_flags): Check EABI_DEFAULT.
3249*3d8817e4Smiod	* config/te-armeabi.h: New file.
3250*3d8817e4Smiod	* config/te-armlinuxeabi.h (EABI_DEFAULT): Define.
3251*3d8817e4Smiod	* config/te-symbian.h: Include "te-armeabi.h".
3252*3d8817e4Smiod
3253*3d8817e4Smiod2005-03-16  Nick Clifton  <nickc@redhat.com>
3254*3d8817e4Smiod
3255*3d8817e4Smiod	* cgen.c (gas_cgen_parse_operand): Copy opinfo parameter into a
3256*3d8817e4Smiod	local variable in case it is clobbered by the setjmp.
3257*3d8817e4Smiod
3258*3d8817e4Smiod2005-03-16  Nick Clifton  <nickc@redhat.com>
3259*3d8817e4Smiod	    Ben Elliston  <bje@au.ibm.com>
3260*3d8817e4Smiod
3261*3d8817e4Smiod	* configure.in (werror): New switch: Add -Werror to the
3262*3d8817e4Smiod	compiler command line.  Enabled by default.  Disable via
3263*3d8817e4Smiod	--disable-werror.
3264*3d8817e4Smiod	* configure: Regenerate.
3265*3d8817e4Smiod
3266*3d8817e4Smiod2005-03-16  Nick Clifton  <nickc@redhat.com>
3267*3d8817e4Smiod
3268*3d8817e4Smiod	* config/obj-coff.h: Convert to ISO C90 formatting.
3269*3d8817e4Smiod	* config/obj-coff.c: Convert to ISO C90 formatting.
3270*3d8817e4Smiod
3271*3d8817e4Smiod2005-03-15  Zack Weinberg  <zack@codesourcery.com>
3272*3d8817e4Smiod
3273*3d8817e4Smiod	* config/tc-arm.c (do_mla): Rename to do_mlas, take second
3274*3d8817e4Smiod	is_mls parameter; do not diagnose Rm==Rd when is_mls.
3275*3d8817e4Smiod	(do_mla, do_mls, five_bit_unsigned_immediate, bfci_lsb_and_width)
3276*3d8817e4Smiod	(do_bfc, do_bfi, do_bfx, do_rbit, do_mov16, do_ldsttv4): New functions.
3277*3d8817e4Smiod	(insns): Add ARMv6T2 instructions:
3278*3d8817e4Smiod	bfc bfi mls movw movt rbit sbfx ubfx ldrht ldrsht ldrsbt strht.
3279*3d8817e4Smiod	(arm_archs): Add V6T2 variants.
3280*3d8817e4Smiod
3281*3d8817e4Smiod2005-03-15  Nick Clifton  <nickc@redhat.com>
3282*3d8817e4Smiod
3283*3d8817e4Smiod	* NEWS: Add cutoff for changes in 2.16 release.
3284*3d8817e4Smiod
3285*3d8817e4Smiod2005-03-15  Jan Beulich  <jbeulich@novell.com>
3286*3d8817e4Smiod
3287*3d8817e4Smiod	* expr.c (operand): Merge handling of unary + into that for unary
3288*3d8817e4Smiod	-, !, and ~.
3289*3d8817e4Smiod
3290*3d8817e4Smiod2005-03-14  Eric Christopher  <echristo@redhat.com>
3291*3d8817e4Smiod
3292*3d8817e4Smiod	* config/tc-mips.c: Include dw2gencfi.h.
3293*3d8817e4Smiod	(mips_cfi_frame_initial_instructions): New.
3294*3d8817e4Smiod	* config/tc-mips.h (TARGET_USE_CFIPOP): Define.
3295*3d8817e4Smiod	(tc_cfi_frame_initial_instructions): Ditto.
3296*3d8817e4Smiod	(DWARF2_DEFAULT_RETURN_COLUMN): Ditto.
3297*3d8817e4Smiod	(DWARF2_CIE_DATA_ALIGNMENT): Ditto.
3298*3d8817e4Smiod	* Makefile.am: Update dependencies.
3299*3d8817e4Smiod	* Makefile.in: Regenerate.
3300*3d8817e4Smiod
3301*3d8817e4Smiod2005-03-15  Alan Modra  <amodra@bigpond.net.au>
3302*3d8817e4Smiod
3303*3d8817e4Smiod	* po/es.po: Commit new Spanish translation.
3304*3d8817e4Smiod
3305*3d8817e4Smiod2005-03-14  Alan Modra  <amodra@bigpond.net.au>
3306*3d8817e4Smiod
3307*3d8817e4Smiod	* po/tr.po: Commit new Turkish translation.
3308*3d8817e4Smiod
3309*3d8817e4Smiod2005-03-12  Zack Weinberg  <zack@codesourcery.com>
3310*3d8817e4Smiod
3311*3d8817e4Smiod	* config/tc-arm.c (tinsns): Add ARMv6K instructions sev, wfe,
3312*3d8817e4Smiod	wfi, yield.
3313*3d8817e4Smiod
3314*3d8817e4Smiod2005-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
3315*3d8817e4Smiod
3316*3d8817e4Smiod	* config-gas.com: Mark vax-vms as obsolete.
3317*3d8817e4Smiod	* configure.in: Remove fmt=vms support.
3318*3d8817e4Smiod	* config.in: Regenerate.
3319*3d8817e4Smiod	* configure: Regenerate.
3320*3d8817e4Smiod	* config/obj-vms.h, config/obj-vms.c, config/vms-conf.h: Remove.
3321*3d8817e4Smiod
3322*3d8817e4Smiod2005-03-10  Sterling Augustine  <sterling@tensilica.com>
3323*3d8817e4Smiod	    Bob Wilson  <bob.wilson@acm.org>
3324*3d8817e4Smiod
3325*3d8817e4Smiod	* config/tc-xtensa.c (finish_vinsn): Include the last instruction slot
3326*3d8817e4Smiod	when checking if xg_resolve_literals needs to be called.
3327*3d8817e4Smiod	* config/tc-xtensa.h: Fix spelling typo in a comment.
3328*3d8817e4Smiod
3329*3d8817e4Smiod2005-03-10  Jan Beulich  <jbeulich@novell.com>
3330*3d8817e4Smiod
3331*3d8817e4Smiod	* config/tc-tic54x.h (tic54x_macro_info): Change parameter type.
3332*3d8817e4Smiod	* config/tc-tic54x.c (tic54x_macro_info): Likewise. Replace hand-
3333*3d8817e4Smiod	crafted structure declarations with the types from macro.h.
3334*3d8817e4Smiod
3335*3d8817e4Smiod2005-03-09  Richard Sandiford  <rsandifo@redhat.com>
3336*3d8817e4Smiod
3337*3d8817e4Smiod	* config/tc-mips.c (s_cpsetup): Use '__gnu_local_gp' instead of '_gp'
3338*3d8817e4Smiod	for -mno-shared optimization.
3339*3d8817e4Smiod
3340*3d8817e4Smiod2005-03-09  Richard Sandiford  <rsandifo@redhat.com>
3341*3d8817e4Smiod
3342*3d8817e4Smiod	* config/tc-mips.c (MAX_VR4130_NOPS, MAX_DELAY_NOPS): New macros.
3343*3d8817e4Smiod	(MAX_NOPS): Bump to 4.
3344*3d8817e4Smiod	(mips_fix_vr4130): New variable.
3345*3d8817e4Smiod	(nops_for_vr4130): New function.
3346*3d8817e4Smiod	(nops_for_insn): Use MAX_DELAY_NOPS rather than MAX_NOPS.  Use
3347*3d8817e4Smiod	nops_for_vr4130 if working around VR4130 errata.
3348*3d8817e4Smiod	(OPTION_FIX_VR4130, OPTION_NO_FIX_VR4130): New macros.
3349*3d8817e4Smiod	(md_longopts): Add -mfix-vr4130 and -mno-fix-vr4130.
3350*3d8817e4Smiod	(md_parse_option): Handle them.
3351*3d8817e4Smiod	(md_show_usage): Print them.
3352*3d8817e4Smiod	* doc/c-mips.texi: Document -mfix-vr4130 and -mno-fix-vr4130.
3353*3d8817e4Smiod
3354*3d8817e4Smiod2005-03-09  Richard Sandiford  <rsandifo@redhat.com>
3355*3d8817e4Smiod
3356*3d8817e4Smiod	* config/tc-mips.c (append_insn): Remove cop_interlocks test from
3357*3d8817e4Smiod	branch delay code.
3358*3d8817e4Smiod
3359*3d8817e4Smiod2005-03-09  Richard Sandiford  <rsandifo@redhat.com>
3360*3d8817e4Smiod
3361*3d8817e4Smiod	* config/tc-mips.h (mips_flush_pending_output): Delete.
3362*3d8817e4Smiod	(mips_emit_delays): Declare.
3363*3d8817e4Smiod	(md_flush_pending_output): Use mips_emit_delays.
3364*3d8817e4Smiod	* config/tc-mips.c (mips_no_prev_insn): Remove parameter; always forget
3365*3d8817e4Smiod	the previous instructions.
3366*3d8817e4Smiod	(md_begin, append_insn, md_parse_option): Update callers.
3367*3d8817e4Smiod	(mips_emit_delay): Remove parameter.  Move INSNS != 0 code to
3368*3d8817e4Smiod	start_noreorder.
3369*3d8817e4Smiod	(mips_align, s_change_sec, s_cons, s_float_cons, s_gpword)
3370*3d8817e4Smiod	(s_gpdword): Update callers.
3371*3d8817e4Smiod	(start_noreorder, end_noreorder): New functions.
3372*3d8817e4Smiod	(macro, macro2, mips16_macro, s_mipsset): Use them instead of
3373*3d8817e4Smiod	manipulating mips_opts or prev_nop_frag directly.
3374*3d8817e4Smiod	(mips_flush_pending_output): Delete.
3375*3d8817e4Smiod
3376*3d8817e4Smiod2005-03-09  Richard Sandiford  <rsandifo@redhat.com>
3377*3d8817e4Smiod
3378*3d8817e4Smiod	* config/tc-mips.c (mips_move_labels): New function, taken from...
3379*3d8817e4Smiod	(append_insn, mips_emit_delays): ...here.
3380*3d8817e4Smiod
3381*3d8817e4Smiod2005-03-09  Richard Sandiford  <rsandifo@redhat.com>
3382*3d8817e4Smiod
3383*3d8817e4Smiod	* config/tc-mips.c (MAX_NOPS): New macro.
3384*3d8817e4Smiod	(history): Resize to 1 + MAX_NOPS.
3385*3d8817e4Smiod	(fix_vr4120_class): New enumeration.
3386*3d8817e4Smiod	(vr4120_conflicts): New variable.
3387*3d8817e4Smiod	(init_vr4120_conflicts): New function.
3388*3d8817e4Smiod	(md_begin): Call it.
3389*3d8817e4Smiod	(insn_uses_reg): Constify first argument.
3390*3d8817e4Smiod	(classify_vr4120_insn, insns_between, nops_for_insn, nops_for_sequence)
3391*3d8817e4Smiod	(nops_for_insn_or_target): New functions.
3392*3d8817e4Smiod	(append_insn): Use the new nops_for_* functions instead of inline
3393*3d8817e4Smiod	delay checks.  Generalize prev_nop_frag handling to handle an
3394*3d8817e4Smiod	arbitrary history length.  Insert nops into the history buffer
3395*3d8817e4Smiod	once the number of nops in prev_nop_frag is fixed.
3396*3d8817e4Smiod	(emit_delays): Use nops_for_insn instead of inline delay checks.
3397*3d8817e4Smiod
3398*3d8817e4Smiod2005-03-09  Richard Sandiford  <rsandifo@redhat.com>
3399*3d8817e4Smiod
3400*3d8817e4Smiod	* config/tc-mips.c (append_insn): Remove now-redundant nops != 0
3401*3d8817e4Smiod	check from branch delay code.  Remove unnecessary check for branches.
3402*3d8817e4Smiod
3403*3d8817e4Smiod2005-03-09  Richard Sandiford  <rsandifo@redhat.com>
3404*3d8817e4Smiod
3405*3d8817e4Smiod	* config/tc-mips.c (dummy_opcode): Delete.
3406*3d8817e4Smiod	(nop_insn, mips16_nop_insn): New variables.
3407*3d8817e4Smiod	(NOP_INSN): New macro.
3408*3d8817e4Smiod	(insn_length, create_insn, install_insn, move_insn, add_fixed_insn)
3409*3d8817e4Smiod	(add_relaxed_insn, insert_into_history, emit_nop): New functions.
3410*3d8817e4Smiod	(md_begin): Initialize nop_insn and mips16_nop_insn.
3411*3d8817e4Smiod	(append_insn): Use the new emit_nop function to add nops, recording
3412*3d8817e4Smiod	them in the history buffer.  Use add_fixed_insn or add_relaxed_insn
3413*3d8817e4Smiod	to reserve room for the instruction and install_insn to install the
3414*3d8817e4Smiod	final form.  Use insert_into_history to record the instruction in
3415*3d8817e4Smiod	the history buffer.  Use move_insn to do delay slot filling.
3416*3d8817e4Smiod	(mips_emit_delays): Use add_fixed_insn instead of the emit_nop macro.
3417*3d8817e4Smiod	(macro_build, mips16_macro_build, macro_build_lui, mips_ip)
3418*3d8817e4Smiod	(mips16_ip): Use create_insn to initialize mips_cl_insns.
3419*3d8817e4Smiod
3420*3d8817e4Smiod2005-03-09  Richard Sandiford  <rsandifo@redhat.com>
3421*3d8817e4Smiod
3422*3d8817e4Smiod	* config/tc-mips.c (INSERT_BITS, EXTRACT_BITS, INSERT_OPERAND)
3423*3d8817e4Smiod	(EXTRACT_OPERAND, MIPS16_INSERT_OPERAND, MIPS16_EXTRACT_OPERAND): New.
3424*3d8817e4Smiod	(insn_uses_reg, reg_needs_delay, append_insn, macro_build)
3425*3d8817e4Smiod	(mips16_macro_build, macro_build_lui, mips16_macro, mips_ip)
3426*3d8817e4Smiod	(mips16_ip): Use the new macros instead of explicit masks and shifts.
3427*3d8817e4Smiod
3428*3d8817e4Smiod2005-03-09  Richard Sandiford  <rsandifo@redhat.com>
3429*3d8817e4Smiod
3430*3d8817e4Smiod	* config/tc-mips.c (mips_cl_insn): Replace the valid_p, delay_slot_p
3431*3d8817e4Smiod	and extended_p fields with a single fixed_p field.
3432*3d8817e4Smiod	(append_insn, mips_no_prev_insn): Adjust accordingly.
3433*3d8817e4Smiod
3434*3d8817e4Smiod2005-03-09  Richard Sandiford  <rsandifo@redhat.com>
3435*3d8817e4Smiod
3436*3d8817e4Smiod	* config/tc-mips.c (mips_cl_insn): Replace reloc_type array with
3437*3d8817e4Smiod	a single mips16_absolute_jump_p bit.
3438*3d8817e4Smiod	(append_insn): Adjust accordingly.
3439*3d8817e4Smiod
3440*3d8817e4Smiod2005-03-09  Richard Sandiford  <rsandifo@redhat.com>
3441*3d8817e4Smiod
3442*3d8817e4Smiod	* config/tc-mips.h (mips_cl_insn): Move definition to...
3443*3d8817e4Smiod	* config/tc-mips.c (mips_cl_insn): ...here.  Add new fields:
3444*3d8817e4Smiod	frag, where, fixp, reloc_type, valid_p, noreorder_p, delay_slot_p
3445*3d8817e4Smiod	and extended_p.
3446*3d8817e4Smiod	(history): New variable.
3447*3d8817e4Smiod	(prev_insn, prev_prev_insn, prev_insn_valid, prev_insn_frag)
3448*3d8817e4Smiod	(prev_insn_where, prev_insn_reloc_type, prev_insn_fixp)
3449*3d8817e4Smiod	(prev_insn_is_delay_slot, prev_insn_unreordered, prev_insn_extended)
3450*3d8817e4Smiod	(prev_prev_insn_unreordered): Delete.
3451*3d8817e4Smiod	(reg_needs_delay, append_insn, mips_no_prev_insn, mips_emit_delays)
3452*3d8817e4Smiod	(macro_start): Replace uses of prev_insn* with the equivalent history[]
3453*3d8817e4Smiod	field.
3454*3d8817e4Smiod
3455*3d8817e4Smiod2005-03-08  Daniel Jacobowitz  <dan@codesourcery.com>
3456*3d8817e4Smiod
3457*3d8817e4Smiod	* doc/Makefile.am: Update as.info dependencies.
3458*3d8817e4Smiod	* aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
3459*3d8817e4Smiod
3460*3d8817e4Smiod2005-03-08  Jan Beulich  <jbeulich@novell.com>
3461*3d8817e4Smiod
3462*3d8817e4Smiod	* doc/as.texinfo: Add sentence to indicate redefining a macro is an
3463*3d8817e4Smiod	error, and point to .purgem documentation if someone really needs
3464*3d8817e4Smiod	re-definitions.
3465*3d8817e4Smiod	* NEWS: Mention macro redefinition is now an error.
3466*3d8817e4Smiod
3467*3d8817e4Smiod2005-03-08  Jan Beulich  <jbeulich@novell.com>
3468*3d8817e4Smiod
3469*3d8817e4Smiod	* config/tc-ia64.c (emit_one_bundle): Track last slot user insn was
3470*3d8817e4Smiod	emitted to. Add more precise diagnostics for non-fitting insns based
3471*3d8817e4Smiod	on that. Eliminate now superfluous special casing of MLX. Clear out
3472*3d8817e4Smiod	slot information when dropping an insn.
3473*3d8817e4Smiod
3474*3d8817e4Smiod2005-03-08  Jan Beulich  <jbeulich@novell.com>
3475*3d8817e4Smiod
3476*3d8817e4Smiod	* config/tc-ia64.c (parse_section_name): Rename to...
3477*3d8817e4Smiod	(cross_section): In addition to separating the name from the rest of
3478*3d8817e4Smiod	the arguments, also carry out the operation.
3479*3d8817e4Smiod	(dot_xdata): Use cross_section.
3480*3d8817e4Smiod	(dot_float_cons): Likewise.
3481*3d8817e4Smiod	(dot_xstringer): Likewise.
3482*3d8817e4Smiod	(dot_xdata_ua): Likewise.
3483*3d8817e4Smiod	(dot_float_cons_ua): Likewise. Pass float_cons, not stmt_float_cons.
3484*3d8817e4Smiod
3485*3d8817e4Smiod2005-03-05  Alan Modra  <amodra@bigpond.net.au>
3486*3d8817e4Smiod
3487*3d8817e4Smiod	* po/gas.pot: Regenerate.
3488*3d8817e4Smiod
3489*3d8817e4Smiod2005-03-04  David Daney  <ddaney@avtrex.com>
3490*3d8817e4Smiod
3491*3d8817e4Smiod	* config/tc-mips.c (macro_build_lui): Use '__gnu_local_gp'
3492*3d8817e4Smiod	instead of '_gp' for -mno-shared optimization.
3493*3d8817e4Smiod	(s_cpload): Ditto.
3494*3d8817e4Smiod	(s_abicalls): Document it in the comment.
3495*3d8817e4Smiod	(md_show_usage): Document the -mno-shared option.
3496*3d8817e4Smiod
3497*3d8817e4Smiod2005-03-04  Richard Sandiford  <rsandifo@redhat.com>
3498*3d8817e4Smiod
3499*3d8817e4Smiod	* config/tc-mips.c (mips_set_options): Add sym32 field.
3500*3d8817e4Smiod	(mips_opts): Initialize it.
3501*3d8817e4Smiod	(HAVE_32BIT_ADDRESSES): Set to true if pointers are 32 bits wide.
3502*3d8817e4Smiod	(HAVE_64BIT_ADDRESSES): Redefine as !HAVE_32BIT_ADDRESSES.
3503*3d8817e4Smiod	(HAVE_32BIT_SYMBOLS, HAVE_64BIT_SYMBOLS): New macros.
3504*3d8817e4Smiod	(load_address): Use HAVE_64BIT_SYMBOLS instead of HAVE_64BIT_ADDRESSES
3505*3d8817e4Smiod	when deciding whether to use a symbolic %highest/%higher expansion.
3506*3d8817e4Smiod	(macro): Likewise.  Remove o64/n32 linux hack.  Always use
3507*3d8817e4Smiod	ADDRESS_ADD*_INSN for address addition in the expansion of "dla"
3508*3d8817e4Smiod	and "la".  Handle constants separately from symbolic expressions in
3509*3d8817e4Smiod	the "ld_st:" case, using 64-bit arithmetic if HAVE_64BIT_ADDRESSES
3510*3d8817e4Smiod	and using load_register to load the high part of the address.
3511*3d8817e4Smiod	(OPTION_MSYM32, OPTION_NO_MSYM32): New macros.
3512*3d8817e4Smiod	(OPTION_ELF_BASE): Bump by 2.
3513*3d8817e4Smiod	(md_longopts): Add entries for -msym32 and -mno-sym32.
3514*3d8817e4Smiod	(md_parse_option): Handle them.
3515*3d8817e4Smiod	(usage): Document them.
3516*3d8817e4Smiod	(s_mipsset): Handle ".set sym32" and ".set nosym32".
3517*3d8817e4Smiod	(s_cpload, s_cpsetup): Use HAVE_64BIT_SYMBOLS instead of
3518*3d8817e4Smiod	HAVE_64BIT_ADDRESSES to detect 64-bit values of "_gp".
3519*3d8817e4Smiod	* doc/c-mips.texi: Document ".set sym32", ".set nosym32",
3520*3d8817e4Smiod	-msym32 and -mno-sym32.
3521*3d8817e4Smiod
3522*3d8817e4Smiod2005-03-03  Thiemo Seufer  <seufer@csv.ica.uni-stuttgart.de>
3523*3d8817e4Smiod
3524*3d8817e4Smiod	* config/tc-mips.c (load_address): Implement GP optimization
3525*3d8817e4Smiod	for 64bit address space non-PIC. Fix formatting.
3526*3d8817e4Smiod	(macro): Likewise. Simplify code.
3527*3d8817e4Smiod	(md_parse_option): Don't bail out if -G 0 is set for PIC code.
3528*3d8817e4Smiod	(mips_after_parse_args): Simplify code.
3529*3d8817e4Smiod
3530*3d8817e4Smiod2005-03-03  Nick Clifton  <nickc@redhat.com>
3531*3d8817e4Smiod
3532*3d8817e4Smiod	* expr.c (operand): Remove redundant code enclosed by #ifdef
3533*3d8817e4Smiod	RELAX_PAREN_GROUPING....#endif.
3534*3d8817e4Smiod
3535*3d8817e4Smiod	* config/tc-mn10200.c (tc_gen_reloc): Handle the case where the
3536*3d8817e4Smiod	reloc is the difference of two symbols defined in the same
3537*3d8817e4Smiod	section.
3538*3d8817e4Smiod
3539*3d8817e4Smiod	* config/tc-iq2000.c (line_comment_chars): Include the # character
3540*3d8817e4Smiod	as otherwise this breaks #APP/#NO_APP processing.
3541*3d8817e4Smiod
3542*3d8817e4Smiod2005-03-03  Ramana Radhakrishnan  <ramana.radhakrishnan@codito.com>
3543*3d8817e4Smiod
3544*3d8817e4Smiod	* config/tc-arc.c(md_assemble): Remove dead code for handling
3545*3d8817e4Smiod	immediate indexing of ld and st .
3546*3d8817e4Smiod
3547*3d8817e4Smiod2005-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
3548*3d8817e4Smiod	    Joseph Myers  <joseph@codesourcery.com>
3549*3d8817e4Smiod
3550*3d8817e4Smiod	* config/tc-mips.c (percent_op): Add %tlsgd, %tlsldm, %dtprel_hi,
3551*3d8817e4Smiod	%dtprel_lo, %tprel_hi, %tprel_lo, and %gottprel.
3552*3d8817e4Smiod	(parse_relocation): Check for a word break after a relocation
3553*3d8817e4Smiod	operator.
3554*3d8817e4Smiod	(md_apply_fix3): Handle TLS relocations, and mark thread-local
3555*3d8817e4Smiod	symbols.
3556*3d8817e4Smiod
3557*3d8817e4Smiod2005-03-02  Alan Modra  <amodra@bigpond.net.au>
3558*3d8817e4Smiod
3559*3d8817e4Smiod	* config/tc-ppc.c (ppc_fix_adjustable <ELF>): Remove bogus checks.
3560*3d8817e4Smiod
3561*3d8817e4Smiod2005-03-02  Jan Beulich  <jbeulich@novell.com>
3562*3d8817e4Smiod
3563*3d8817e4Smiod	* as.c (main): Use unlink_if_ordinary instead of unlink.
3564*3d8817e4Smiod	* messages.c (as_fatal): Likewise.
3565*3d8817e4Smiod
3566*3d8817e4Smiod2005-03-02  Jan Beulich  <jbeulich@novell.com>
3567*3d8817e4Smiod
3568*3d8817e4Smiod	* config/tc-i386.c (build_modrm_byte): Add lock prefix for cr8...15
3569*3d8817e4Smiod	accesses.
3570*3d8817e4Smiod	(parse_register): Allow cr8...15 in all modes.
3571*3d8817e4Smiod
3572*3d8817e4Smiod2005-03-02  Jan Beulich  <jbeulich@novell.com>
3573*3d8817e4Smiod
3574*3d8817e4Smiod	* config/tc-i386.c (intel_e11): If not followed by T_PTR, treat T_BYTE
3575*3d8817e4Smiod	etc. like normal symbol references (T_ID).
3576*3d8817e4Smiod
3577*3d8817e4Smiod2005-03-02  Alan Modra  <amodra@bigpond.net.au>
3578*3d8817e4Smiod
3579*3d8817e4Smiod	* symbols.c (fb_label_name): Fix silly thinko in last change.
3580*3d8817e4Smiod
3581*3d8817e4Smiod2005-03-02  Alan Modra  <amodra@bigpond.net.au>
3582*3d8817e4Smiod
3583*3d8817e4Smiod	* expr.c (integer_constant): Remove TARGET_WORD_SIZE hack.
3584*3d8817e4Smiod	* config/tc-m68k.h (TARGET_WORD_SIZE): Delete.
3585*3d8817e4Smiod
3586*3d8817e4Smiod	* symbols.c (fb_label_name): Allow an augend of 2 for mmix.
3587*3d8817e4Smiod
3588*3d8817e4Smiod2005-03-01  Ramana Radhakrishnan  <ramana.radhakrishnan@codito.com>
3589*3d8817e4Smiod
3590*3d8817e4Smiod	PR gas/708
3591*3d8817e4Smiod	* config/tc-arc.c (md_assemble): Initialize suffix for extension
3592*3d8817e4Smiod	suffixes also.
3593*3d8817e4Smiod
3594*3d8817e4Smiod2005-03-01  Alan Modra  <amodra@bigpond.net.au>
3595*3d8817e4Smiod
3596*3d8817e4Smiod	* config/obj-coff.c (fixup_segment): Delete sy_mri_common assertion.
3597*3d8817e4Smiod
3598*3d8817e4Smiod	* as.h (assert): Warning fix.
3599*3d8817e4Smiod	* expr.c (expr): Correct assertion.
3600*3d8817e4Smiod	* read.c (s_comm_internal): Remove assertion.
3601*3d8817e4Smiod	* write.c (relax_segment): Enable vma assertion only for BFD_ASSEMBLER.
3602*3d8817e4Smiod	(fixup_segment): Remove assertion.
3603*3d8817e4Smiod	* config/tc-dlx.c (machine_ip): Remove untrue assertions.
3604*3d8817e4Smiod	(md_apply_fix3): Likewise.
3605*3d8817e4Smiod	* config/tc-i370.c (md_begin): Correct assertion.
3606*3d8817e4Smiod	(i370_macro): Warning fix for assertion.
3607*3d8817e4Smiod
3608*3d8817e4Smiod2005-03-01  Alan Modra  <amodra@bigpond.net.au>
3609*3d8817e4Smiod
3610*3d8817e4Smiod	* configure.in (AC_C_BIGENDIAN): Invoke.
3611*3d8817e4Smiod	* configure: Regenerate.
3612*3d8817e4Smiod	* write.c (write_object_file <!BFD_ASSEMBLER>): Don't use sizeof
3613*3d8817e4Smiod	host variable to set string header size.
3614*3d8817e4Smiod	* config/obj-aout.c (obj_header_append): Don't use host structs.
3615*3d8817e4Smiod	(obj_symbol_to_chars): Likewise.
3616*3d8817e4Smiod	(obj_emit_strings): Likewise.  Use the passed in output pointer.
3617*3d8817e4Smiod	* config/obj-aout.h (H_GET_FILE_SIZE): Include H_GET_LINENO_SIZE.
3618*3d8817e4Smiod	* config/obj-bout.c (obj_emit_relocations): Use md_reloc_size,
3619*3d8817e4Smiod	not sizeof host struct.
3620*3d8817e4Smiod	(obj_header_append, obj_symbol_to_chars): Don't use host structs.
3621*3d8817e4Smiod	(obj_emit_strings): Likewise.
3622*3d8817e4Smiod	* config/obj-bout.h (EXEC_BYTES_SIZE): Define.
3623*3d8817e4Smiod	(N_TXTOFF, H_GET_FILE_SIZE, H_GET_HEADER_SIZE): Use instead of
3624*3d8817e4Smiod	sizeof host struct.
3625*3d8817e4Smiod	(H_SET_SYMBOL_TABLE_SIZE): Hard code sym size rather than using
3626*3d8817e4Smiod	sizeof host struct.
3627*3d8817e4Smiod	(host_number_to_chars): Define.
3628*3d8817e4Smiod	* config/obj-hp300.c (hp300_header_append): Don't use sizeof
3629*3d8817e4Smiod	host internal struct to set header sizes.
3630*3d8817e4Smiod	* config/tc-i960.c (md_number_to_field): Warning fix.
3631*3d8817e4Smiod	(md_ri_to_chars): Use host byte order.
3632*3d8817e4Smiod	(get_cdisp, md_apply_fix3): Warning fix.
3633*3d8817e4Smiod	* config/tc-m68k.c (md_assemble): Don't use sizeof host short.
3634*3d8817e4Smiod
3635*3d8817e4Smiod2005-02-28  Ramana Radhakrishnan  <ramana.radhakrishnan@codito.com>
3636*3d8817e4Smiod
3637*3d8817e4Smiod	* doc/c-arc.texi: Update documentation about ARC's extension
3638*3d8817e4Smiod	instructions.
3639*3d8817e4Smiod
3640*3d8817e4Smiod2005-02-27  Svein E. Seldal  <svein@dev.seldal.com>
3641*3d8817e4Smiod
3642*3d8817e4Smiod	* config/tc-tic4x.c (tic4x_gen_to_words): Changed mail
3643*3d8817e4Smiod	address for myself.
3644*3d8817e4Smiod
3645*3d8817e4Smiod2005-02-23  Alan Modra  <amodra@bigpond.net.au>
3646*3d8817e4Smiod
3647*3d8817e4Smiod	* cgen.c: Warning fixes.
3648*3d8817e4Smiod	* config/tc-arc.c: Likewise.
3649*3d8817e4Smiod	* config/tc-arm.c: Likewise.
3650*3d8817e4Smiod	* config/tc-avr.c: Likewise.
3651*3d8817e4Smiod	* config/tc-d10v.c: Likewise.
3652*3d8817e4Smiod	* config/tc-d30v.c: Likewise.
3653*3d8817e4Smiod	* config/tc-frv.c: Likewise.
3654*3d8817e4Smiod	* config/tc-frv.h: Likewise.
3655*3d8817e4Smiod	* config/tc-h8300.c: Likewise.
3656*3d8817e4Smiod	* config/tc-h8500.c: Likewise.
3657*3d8817e4Smiod	* config/tc-i370.c: Likewise.
3658*3d8817e4Smiod	* config/tc-i960.c: Likewise.
3659*3d8817e4Smiod	* config/tc-ia64.c: Likewise.
3660*3d8817e4Smiod	* config/tc-ip2k.c: Likewise.
3661*3d8817e4Smiod	* config/tc-m68hc11.c: Likewise.
3662*3d8817e4Smiod	* config/tc-maxq.c: Likewise.
3663*3d8817e4Smiod	* config/tc-mcore.c: Likewise.
3664*3d8817e4Smiod	* config/tc-mips.c: Likewise.
3665*3d8817e4Smiod	* config/tc-msp430.c: Likewise.
3666*3d8817e4Smiod	* config/tc-pj.c: Likewise.
3667*3d8817e4Smiod	* config/tc-ppc.c: Likewise.
3668*3d8817e4Smiod	* config/tc-ppc.h: Likewise.
3669*3d8817e4Smiod	* config/tc-s390.c: Likewise.
3670*3d8817e4Smiod	* config/tc-sh.c: Likewise.
3671*3d8817e4Smiod	* config/tc-sh64.c: Likewise.
3672*3d8817e4Smiod	* config/tc-tic4x.c: Likewise.
3673*3d8817e4Smiod	* config/tc-tic80.c: Likewise.
3674*3d8817e4Smiod	* config/tc-v850.c: Likewise.
3675*3d8817e4Smiod	* config/tc-vax.c: Likewise.
3676*3d8817e4Smiod	* config/tc-w65.c: Likewise.
3677*3d8817e4Smiod	* config/tc-xstormy16.c: Likewise.
3678*3d8817e4Smiod	* config/tc-z8k.c: Likewise.
3679*3d8817e4Smiod
3680*3d8817e4Smiod2005-02-22  Catherine Moore  <clm@cm00re.com>
3681*3d8817e4Smiod
3682*3d8817e4Smiod	* read.c (read_a_source_file): Reinstate TC_EQUAL_IN_INSN test.
3683*3d8817e4Smiod	* doc/internals.texi (TC_EQUAL_IN_INSN): Reinstate.
3684*3d8817e4Smiod
3685*3d8817e4Smiod2005-02-22  Eric Christopher  <echristo@redhat.com>
3686*3d8817e4Smiod
3687*3d8817e4Smiod	* config/tc-mips.c (struct proc): Change isym to
3688*3d8817e4Smiod	func_sym. New member func_end_sym.
3689*3d8817e4Smiod	(s_mips_ent): Update.
3690*3d8817e4Smiod	(s_mips_end): Ditto. Add code to compute function size.
3691*3d8817e4Smiod
3692*3d8817e4Smiod2005-02-22  Alan Modra  <amodra@bigpond.net.au>
3693*3d8817e4Smiod
3694*3d8817e4Smiod	* read.c: Warning fixes.
3695*3d8817e4Smiod	* config/obj-elf.c: Likewise.
3696*3d8817e4Smiod
3697*3d8817e4Smiod2005-02-22  Maciej W. Rozycki  <macro@mips.com>
3698*3d8817e4Smiod
3699*3d8817e4Smiod	* config/tc-mips.c (append_insn): Call dwarf2_emit_insn() before
3700*3d8817e4Smiod	emitting insn.
3701*3d8817e4Smiod
3702*3d8817e4Smiod2005-02-21  H.J. Lu  <hongjiu.lu@intel.com>
3703*3d8817e4Smiod
3704*3d8817e4Smiod	* config/obj-coff.c (obj_coff_section): Replace SEC_SHARED with
3705*3d8817e4Smiod	SEC_COFF_SHARED.
3706*3d8817e4Smiod
3707*3d8817e4Smiod	* config/tc-tic54x.c (tic54x_bss): Replace SEC_BLOCK with
3708*3d8817e4Smiod	SEC_TIC54X_BLOCK.
3709*3d8817e4Smiod	(demand_empty_rest_of_line): Likewise.
3710*3d8817e4Smiod	(tic54x_sblock): Likewise.
3711*3d8817e4Smiod	(tic54x_clink): Replace with SEC_CLINK with SEC_TIC54X_CLINK.
3712*3d8817e4Smiod
3713*3d8817e4Smiod2005-02-21  Alan Modra  <amodra@bigpond.net.au>
3714*3d8817e4Smiod
3715*3d8817e4Smiod	* read.c (address_bytes): New function.
3716*3d8817e4Smiod	(TC_ADDRESS_BYTES): Default for BSD_ASSEMBLER to address_bytes.
3717*3d8817e4Smiod	(potable): Add "dc.a".
3718*3d8817e4Smiod	(cons_worker): Handle "dc.a".
3719*3d8817e4Smiod	* doc/internals.texi (TC_ADDRESS_BYTES): Document.
3720*3d8817e4Smiod
3721*3d8817e4Smiod2005-02-21  Alan Modra  <amodra@bigpond.net.au>
3722*3d8817e4Smiod
3723*3d8817e4Smiod	* input-file.c (input_file_open): Rearrange to avoid warning.
3724*3d8817e4Smiod
3725*3d8817e4Smiod2005-02-19  Alan Modra  <amodra@bigpond.net.au>
3726*3d8817e4Smiod
3727*3d8817e4Smiod	* config/tc-hppa.h (TC_EQUAL_IN_INSN): Delete.
3728*3d8817e4Smiod	* read.c (read_a_source_file): Remove TC_EQUAL_IN_INSN test.
3729*3d8817e4Smiod	* doc/internals.texi (TC_EQUAL_IN_INSN): Delete.
3730*3d8817e4Smiod
3731*3d8817e4Smiod2005-02-18  Thiemo Seufer  <seufer@csv.ica.uni-stuttgart.de>
3732*3d8817e4Smiod
3733*3d8817e4Smiod	* config/tc-mips.c (macro_build_ldst_constoffset): Fail on $at
3734*3d8817e4Smiod	uses after .set noat.
3735*3d8817e4Smiod	(load_address): Likewise.
3736*3d8817e4Smiod	(macro): Likewise. Don't try to avoid $at use by sacrificing
3737*3d8817e4Smiod	the target register before it is stored, it won't work.
3738*3d8817e4Smiod
3739*3d8817e4Smiod2005-02-17  James E Wilson  <wilson@specifixinc.com>
3740*3d8817e4Smiod
3741*3d8817e4Smiod	* config/tc-ia64.c (emit_one_bundle): Stop filling a bundle if we
3742*3d8817e4Smiod	see an instruction that specifies a template.
3743*3d8817e4Smiod
3744*3d8817e4Smiod2005-02-18  Alan Modra  <amodra@bigpond.net.au>
3745*3d8817e4Smiod
3746*3d8817e4Smiod	* config/tc-openrisc.c (openrisc_relax_frag): Delete unused function.
3747*3d8817e4Smiod	* config/tc-sparc.c (sparc_ip): Make op_exp static to silence warnings.
3748*3d8817e4Smiod	* config/tc-tic80.c (build_insn): Init insn[1] to silence warning.
3749*3d8817e4Smiod
3750*3d8817e4Smiod2005-02-17  H.J. Lu  <hongjiu.lu@intel.com>
3751*3d8817e4Smiod
3752*3d8817e4Smiod	* NEWS: Mention "-mhint.b=[ok|warning|error]".
3753*3d8817e4Smiod
3754*3d8817e4Smiod	* config/tc-ia64.c (md): Add hint_b.
3755*3d8817e4Smiod	(emit_one_bundle): Handle md.hint_b for "hint".
3756*3d8817e4Smiod	(md_parse_option): Accepted "-mhint.b=[ok|warning|error]".
3757*3d8817e4Smiod	(md_show_usage): Add "-mhint.b=[ok|warning|error]".
3758*3d8817e4Smiod	(ia64_init): Set md.hint_b to error.
3759*3d8817e4Smiod	(md_assemble): Handle md.hint_b for "hint.b".
3760*3d8817e4Smiod
3761*3d8817e4Smiod	* doc/as.texinfo: Add "-mhint.b=[ok|warning|error]".
3762*3d8817e4Smiod	* doc/c-ia64.texi: Likewise.
3763*3d8817e4Smiod
3764*3d8817e4Smiod2005-02-17  Alan Modra  <amodra@bigpond.net.au>
3765*3d8817e4Smiod
3766*3d8817e4Smiod	* tc.h (struct relax_type, relax_typeS): Move from here..
3767*3d8817e4Smiod	* as.h: ..to here.  Make rlx_forward and rlx_backward an offsetT.
3768*3d8817e4Smiod	* ecoff.c (ecoff_new_file): Add appfile param.
3769*3d8817e4Smiod	* ecoff.h (ecoff_new_file): Likewise.
3770*3d8817e4Smiod	* itbl-lex.h: New file.
3771*3d8817e4Smiod	* itbl-lex.l: Include itbl-lex.h.
3772*3d8817e4Smiod	* itbl-parse.y: Likewise.
3773*3d8817e4Smiod	(insntbl_line, yyparse, yylex): Move to itbl-lex.h.
3774*3d8817e4Smiod	* read.c (s_app_file_string): Mark appfile possibly unused.
3775*3d8817e4Smiod	* subsegs.c (seg_not_empty_p): Make sec possibly unused.
3776*3d8817e4Smiod	* subsegs.h (struct seg_info_trash): Delete.
3777*3d8817e4Smiod	(seg_info): Use segment_info_type instead.
3778*3d8817e4Smiod	* config/obj-coff.c (struct filename_list): Make filename const char *.
3779*3d8817e4Smiod	* config/obj-ecoff.h (obj_app_file): Pass app to ecoff_new_file.
3780*3d8817e4Smiod	* config/obj-elf.c (elf_file_symbol): Similarly.
3781*3d8817e4Smiod	* config/tc-a29k.c (md_apply_fix3): Make val a valueT.  Don't use
3782*3d8817e4Smiod	signed right shift.
3783*3d8817e4Smiod	* config/tc-arc.c (md_operand): Warning fix.
3784*3d8817e4Smiod	* config/tc-arm.c (arm_parse_reloc): Only define when OBJ_ELF.
3785*3d8817e4Smiod	(md_begin): Rearrange #if defined OBJ_COFF || defined OBJ_ELF.
3786*3d8817e4Smiod	* config/tc-cris.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Use do while.
3787*3d8817e4Smiod	* config/tc-frv.c (frv_force_relocation): Warning fix.
3788*3d8817e4Smiod	* config/tc-m68k.c (md_parse_option): Delete unused var.
3789*3d8817e4Smiod	* config/tc-mcore.c (mylog2): Rename from log2 throughout.
3790*3d8817e4Smiod	* config/tc-sparc.c: Likewise.
3791*3d8817e4Smiod	(s_common): Warning fix.
3792*3d8817e4Smiod	* config/tc-mips.c (append_insn): Use unsigned long long expressions.
3793*3d8817e4Smiod	* config/tc-mmix.c (PUSHJSTUB_MAX, PUSHJSTUB_MIN): Define from
3794*3d8817e4Smiod	addressT.
3795*3d8817e4Smiod	* config/tc-s390.c (s390_insn): Delete test of unsigned >= 0.
3796*3d8817e4Smiod	* config/tc-sh.c (sh_cfi_frame_initial_instructions,
3797*3d8817e4Smiod	sh_regname_to_dw2regnum): Only define for OBJ_ELF.
3798*3d8817e4Smiod	* config/tc-tic4x.c (tic4x_insert_reg): Use ISLOWER.
3799*3d8817e4Smiod	(tic4x_do_align): Use TIC_NOP_OPCODE.
3800*3d8817e4Smiod	* config/tc-tic4x.h (TIC_NOP_OPCODE): Rename from NOP_OPCODE.
3801*3d8817e4Smiod	* config/tc-vax.c: Include netinet/in.h.
3802*3d8817e4Smiod	(tc_headers_hook): Formatting.
3803*3d8817e4Smiod	* config/tc-xstormy16.c (md_pcrel_from_section): Correct parens.
3804*3d8817e4Smiod
3805*3d8817e4Smiod2005-02-17  Jan Beulich  <jbeulich@novell.com>
3806*3d8817e4Smiod
3807*3d8817e4Smiod	* config/tc-ia64.c (ia64_parse_name): Don't advance 'name' when
3808*3d8817e4Smiod	parsing inN, locN, outN. Set 'idx' to offset register number starts
3809*3d8817e4Smiod	at. Don't handle numbers with leading zeroes or beyond 95. Remove
3810*3d8817e4Smiod	pointless cast.
3811*3d8817e4Smiod
3812*3d8817e4Smiod2005-02-16  Thiemo Seufer  <seufer@csv.ica.uni-stuttgart.de>
3813*3d8817e4Smiod
3814*3d8817e4Smiod	* config/tc-mips.c (load_address): Fix formatting.
3815*3d8817e4Smiod	(macro): Don't use AT if .set noat is in effect. Fix formatting.
3816*3d8817e4Smiod	Catch macros which are unexpandable without AT. Remove duplicate
3817*3d8817e4Smiod	zeroing of used_at.
3818*3d8817e4Smiod	(macro2): Remove duplicate zeroing of used_at.
3819*3d8817e4Smiod
3820*3d8817e4Smiod2005-02-16  Alan Modra  <amodra@bigpond.net.au>
3821*3d8817e4Smiod
3822*3d8817e4Smiod	* dw2gencfi.c (output_cie, output_fde): Use DW_CFA_nop rather
3823*3d8817e4Smiod	than zero.
3824*3d8817e4Smiod
3825*3d8817e4Smiod2005-02-15  Nigel Stephens  <nigel@mips.com>
3826*3d8817e4Smiod	    Maciej W. Rozycki  <macro@mips.com>
3827*3d8817e4Smiod
3828*3d8817e4Smiod	* config/tc-mips.c (reloc_needs_lo_p): Handle
3829*3d8817e4Smiod	BFD_RELOC_MIPS16_HI16_S.
3830*3d8817e4Smiod	(fixup_has_matching_lo_p): Handle BFD_RELOC_MIPS16_LO16.
3831*3d8817e4Smiod	(append_insn): Add BFD_RELOC_MIPS16_GPREL, BFD_RELOC_MIPS16_HI16_S
3832*3d8817e4Smiod	and BFD_RELOC_MIPS16_LO16 to relocs to suppress overflow
3833*3d8817e4Smiod	complaints on.
3834*3d8817e4Smiod	(mips16_ip): Resolve BFD_RELOC_MIPS16_HI16_S,
3835*3d8817e4Smiod	BFD_RELOC_MIPS16_HI16 and BFD_RELOC_MIPS16_LO16 for constants.
3836*3d8817e4Smiod	Call my_getSmallExpression() to parse percent operators.
3837*3d8817e4Smiod	(percent_op_match, mips_percent_op): Separate definitions.
3838*3d8817e4Smiod	(mips16_percent_op): Define percent operators for the MIPS16 mode.
3839*3d8817e4Smiod	(parse_relocation): Handle the MIPS16 mode using
3840*3d8817e4Smiod	mips16_percent_op.
3841*3d8817e4Smiod	(md_apply_fix3): Handle BFD_RELOC_MIPS16_HI16,
3842*3d8817e4Smiod	BFD_RELOC_MIPS16_HI16_S and BFD_RELOC_MIPS16_LO16.
3843*3d8817e4Smiod
3844*3d8817e4Smiod2005-02-15  Jan Beulich  <jbeulich@novell.com>
3845*3d8817e4Smiod
3846*3d8817e4Smiod	* config/tc-ia64.c (md_apply_fix3): Call ia64_gen_real_reloc_type
3847*3d8817e4Smiod	instead of explicitly dealing with the translation; exclude
3848*3d8817e4Smiod	relocations that are already pcrel, however.
3849*3d8817e4Smiod
3850*3d8817e4Smiod2005-02-15  Jan Beulich  <jbeulich@novell.com>
3851*3d8817e4Smiod
3852*3d8817e4Smiod	* config/tc-ia64.c: Include limits.h (if available).
3853*3d8817e4Smiod	(gr_values[0]): Set path to INT_MAX.
3854*3d8817e4Smiod	(dot_reg_val): Don't allow changing value of r0. Limit range of
3855*3d8817e4Smiod	general registers at r127.
3856*3d8817e4Smiod	(specify_resource): Default resource index is -1. Don't set resource
3857*3d8817e4Smiod	index (in case IA64_RS_RSE) without setting the specific flag.
3858*3d8817e4Smiod	(note_register_values): Check operand is O_constant before tracking
3859*3d8817e4Smiod	input value of moves. Add tracking for dep.z with constant inputs.
3860*3d8817e4Smiod	(print_dependency): Resource index of specific resource may be zero.
3861*3d8817e4Smiod	(check_dependencies): Likewise.
3862*3d8817e4Smiod
3863*3d8817e4Smiod2005-02-15  Jan Beulich  <jbeulich@novell.com>
3864*3d8817e4Smiod
3865*3d8817e4Smiod	* config/tc-ia64.c (parse_operands): New local variables reg1, reg2,
3866*3d8817e4Smiod	reg_class. Check operands and emit diagnostics for illegal use of
3867*3d8817e4Smiod	registers.
3868*3d8817e4Smiod
3869*3d8817e4Smiod2005-02-15  Jan Beulich  <jbeulich@novell.com>
3870*3d8817e4Smiod
3871*3d8817e4Smiod	* config/tc-ia64.c (ia64_gen_real_reloc_type): Define and initialize
3872*3d8817e4Smiod	new variables type, suffix, and width. Handle
3873*3d8817e4Smiod	BFD_RELOC_IA64_DIR(32|64)[LM]SB in FUNC_LT_FPTR_RELATIVE case.
3874*3d8817e4Smiod	Handle BFD_RELOC_IA64_DIR64[LM]SB in FUNC_TP_RELATIVE case. Add
3875*3d8817e4Smiod	FUNC_DTP_MODULE case. Handle BFD_RELOC_IA64_DIR32[LM]SB in
3876*3d8817e4Smiod	FUNC_DTP_RELATIVE case. Return incoming relocation type if
3877*3d8817e4Smiod	BFD_RELOC_IA64_IPLT[LM]SB in FUNC_IPLT_RELOC case. Generate warning
3878*3d8817e4Smiod	if unable to translate relocation type, using the new variables.
3879*3d8817e4Smiod
3880*3d8817e4Smiod2005-02-15  Jan Beulich  <jbeulich@novell.com>
3881*3d8817e4Smiod
3882*3d8817e4Smiod	* config/tc-ia64.h (ia64_symbol_chars): Declare.
3883*3d8817e4Smiod	(ty_symbol_chars): Define.
3884*3d8817e4Smiod	* config/tc-ia64.c (ia64_symbol_chars): Define.
3885*3d8817e4Smiod
3886*3d8817e4Smiod2005-02-15  Jan Beulich  <jbeulich@novell.com>
3887*3d8817e4Smiod
3888*3d8817e4Smiod	* config/tc-ia64.c (ia64_parse_name): Only update next character if
3889*3d8817e4Smiod	input_line_pointer was advanced.
3890*3d8817e4Smiod
3891*3d8817e4Smiod2005-02-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3892*3d8817e4Smiod
3893*3d8817e4Smiod	* config/tc-sh.c (md_apply_fix3): Add parentheses around &
3894*3d8817e4Smiod	within |.
3895*3d8817e4Smiod
3896*3d8817e4Smiod2005-02-13  Jan Beulich  <jbeulich@novell.com>
3897*3d8817e4Smiod
3898*3d8817e4Smiod	* config/tc-ia64.c (md_parse_option): Handle -xnone and -xdebugn.
3899*3d8817e4Smiod	(md_show_usage): Add -xnone, -xdebugn, and -xdebugx. Relocate default
3900*3d8817e4Smiod	indicator.
3901*3d8817e4Smiod	(ia64_init): Set md.detect_dv.
3902*3d8817e4Smiod	(ia64_start_line): New static variable warned. Warn only once when
3903*3d8817e4Smiod	encountering explicit stops in automatic mode.
3904*3d8817e4Smiod	* doc/c-ia64.texi: Describe -xnone, -xdebugn, and -xdebugx.
3905*3d8817e4Smiod	* NEWS: Mention new default mode.
3906*3d8817e4Smiod
3907*3d8817e4Smiod2005-02-13  Jan Beulich  <jbeulich@novell.com>
3908*3d8817e4Smiod
3909*3d8817e4Smiod	* config/tc-ia64.c (dot_rot): Add comment that name strings should
3910*3d8817e4Smiod	be freed when wiping out previous state. Canonicalize names before
3911*3d8817e4Smiod	use. Free name string when detecting redefinition.
3912*3d8817e4Smiod	(dot_pred_rel): Call generic expression parser to process arguments.
3913*3d8817e4Smiod	Handle O_register case for individual predicates and O_subtract for
3914*3d8817e4Smiod	ranges.
3915*3d8817e4Smiod	(ia64_parse_name): Canonicalize name before looking it up in dynamic
3916*3d8817e4Smiod	register hash.
3917*3d8817e4Smiod	(ia64_canonicalize_symbol_name): Strip off all trailing # characters.
3918*3d8817e4Smiod	Warn if multiple found, issue error if resulting symbol name has zero
3919*3d8817e4Smiod	length.
3920*3d8817e4Smiod	(dot_alias): Canonicalize name before use.
3921*3d8817e4Smiod
3922*3d8817e4Smiod2005-02-11  H.J. Lu  <hongjiu.lu@intel.com>
3923*3d8817e4Smiod
3924*3d8817e4Smiod	* config/tc-ia64.c (unwind_diagnostic): Return -1 for warning
3925*3d8817e4Smiod	and 0 for error.
3926*3d8817e4Smiod	(in_procedure): Return -1 for warning.
3927*3d8817e4Smiod	(in_prologue): Likewise.
3928*3d8817e4Smiod	(in_body): Likewise.
3929*3d8817e4Smiod
3930*3d8817e4Smiod2005-02-11  H.J. Lu  <hongjiu.lu@intel.com>
3931*3d8817e4Smiod
3932*3d8817e4Smiod	* config/tc-ia64.c (dot_xdata): Undo the last change.
3933*3d8817e4Smiod	(dot_float_cons): Likewise.
3934*3d8817e4Smiod	(dot_xstringer): Likewise.
3935*3d8817e4Smiod	(dot_xdata_ua): Likewise.
3936*3d8817e4Smiod	(dot_float_cons_ua): Likewise.
3937*3d8817e4Smiod
3938*3d8817e4Smiod2005-02-11  H.J. Lu  <hongjiu.lu@intel.com>
3939*3d8817e4Smiod
3940*3d8817e4Smiod	* NEWS: Mention "-munwind-check=[warning|error]".
3941*3d8817e4Smiod
3942*3d8817e4Smiod	* config/tc-ia64.c (md): Add unwind_check.
3943*3d8817e4Smiod	(unwind_diagnostic): New.
3944*3d8817e4Smiod	(in_procedure): Call unwind_diagnostic when a directive isn't
3945*3d8817e4Smiod	in procedure.
3946*3d8817e4Smiod	(in_prologue): Call unwind_diagnostic when a directive isn't in
3947*3d8817e4Smiod	prologue.
3948*3d8817e4Smiod	(in_body): Call unwind_diagnostic when a directive isn't in
3949*3d8817e4Smiod	body region.
3950*3d8817e4Smiod	(dot_endp): Set md.unwind_check to error before calling
3951*3d8817e4Smiod	in_procedure and restore it after. When the name is missing or
3952*3d8817e4Smiod	couldn't be found, use the one from the last .proc if
3953*3d8817e4Smiod	md.unwind_check isn't error. Warn if md.unwind_check is
3954*3d8817e4Smiod	warning.
3955*3d8817e4Smiod	(md_parse_option): Handle "-munwind-check=[warning|error]".
3956*3d8817e4Smiod	(md_show_usage): Add "-munwind-check=[warning|error]".
3957*3d8817e4Smiod	(ia64_init): Set md.unwind_check to warning.
3958*3d8817e4Smiod
3959*3d8817e4Smiod	* doc/as.texinfo: Add "-munwind-check=[none|warning|error]".
3960*3d8817e4Smiod	* doc/c-ia64.texi: Likewise.
3961*3d8817e4Smiod
3962*3d8817e4Smiod2005-02-11  Jan Beulich  <jbeulich@novell.com>
3963*3d8817e4Smiod
3964*3d8817e4Smiod	* config/tc-ia64.h (LEX_AT): Include LEX_BEGIN_NAME.
3965*3d8817e4Smiod	(LEX_QM): Likewise.
3966*3d8817e4Smiod	(ia64_parse_name): New third parameter.
3967*3d8817e4Smiod	(md_parse_name): Pass third argument.
3968*3d8817e4Smiod	* config/tc-ia64.c (pseudo_func): Placeholders use NULL as name.
3969*3d8817e4Smiod	(md_operand): Handling of '@'-prefixed symbols moved from here...
3970*3d8817e4Smiod	(ia64_parse_name): ...to here.
3971*3d8817e4Smiod
3972*3d8817e4Smiod2005-02-11  Jan Beulich  <jbeulich@novell.com>
3973*3d8817e4Smiod
3974*3d8817e4Smiod	* config/tc-ia64.c (md): Remove last_groups and group_idx.
3975*3d8817e4Smiod	(errata_nop_necessary_p): Remove declaraction and definition.
3976*3d8817e4Smiod	(emit_one_bundle): Don't call errata_nop_necessary_p. Don't
3977*3d8817e4Smiod	update md.group_idx. Don't reset md.last_groups.
3978*3d8817e4Smiod
3979*3d8817e4Smiod2005-02-11  Jan Beulich  <jbeulich@novell.com>
3980*3d8817e4Smiod
3981*3d8817e4Smiod	* config/tc-ia64.c (parse_section_name): Handle non-quoted first
3982*3d8817e4Smiod	argument.
3983*3d8817e4Smiod	(dot_xdata): Free section name after use.
3984*3d8817e4Smiod	(dot_float_cons): Likewise.
3985*3d8817e4Smiod	(dot_xstringer): Likewise.
3986*3d8817e4Smiod	(dot_xdata_ua): Likewise.
3987*3d8817e4Smiod	(dot_float_cons_ua): Likewise.
3988*3d8817e4Smiod	(md_pseudo_table): Add xdata16 and xdata16.ua.
3989*3d8817e4Smiod
3990*3d8817e4Smiod2005-02-10  H.J. Lu  <hongjiu.lu@intel.com>
3991*3d8817e4Smiod
3992*3d8817e4Smiod	* doc/all.texi: Add IA64.
3993*3d8817e4Smiod	* doc/as.texinfo: Likewise.
3994*3d8817e4Smiod
3995*3d8817e4Smiod	* doc/c-ia64.texi: Fix typos.
3996*3d8817e4Smiod
3997*3d8817e4Smiod2005-02-10  Julian Brown  <julian@codesourcery.com>
3998*3d8817e4Smiod
3999*3d8817e4Smiod	* config/tc-arm.c (do_t_ldmstm): Change BFD_RELOC_NONE to
4000*3d8817e4Smiod	BFD_RELOC_UNUSED.
4001*3d8817e4Smiod	(do_t_push_pop): Likewise.
4002*3d8817e4Smiod	(md_assemble): Likewise.
4003*3d8817e4Smiod	(md_apply_fix3): Handle BFD_RELOC_NONE correctly, make
4004*3d8817e4Smiod	BFD_RELOC_UNUSED same as previous meaning of BFD_RELOC_NONE.
4005*3d8817e4Smiod	(create_unwind_entry): Output dependency on the required personality
4006*3d8817e4Smiod	routines.
4007*3d8817e4Smiod
4008*3d8817e4Smiod2005-02-07  Nathan Sidwell  <nathan@codesourcery.com>
4009*3d8817e4Smiod
4010*3d8817e4Smiod	* as.h (seg_not_empty_p): Return int, not bfd_boolean.
4011*3d8817e4Smiod	* subsegs.c (seg_not_empty_p): Likewise.
4012*3d8817e4Smiod
4013*3d8817e4Smiod2005-02-07  Inderpreet Singh <inderpreetb@noida.hcltech.com>
4014*3d8817e4Smiod
4015*3d8817e4Smiod	* config/tc-maxq.c (md_estimate_size_before_relax): Correct the
4016*3d8817e4Smiod	relative jump calculation.
4017*3d8817e4Smiod	<md_convert_frag) : Likewise.
4018*3d8817e4Smiod	<output_disp): Likewise.
4019*3d8817e4Smiod
4020*3d8817e4Smiod2005-02-07  Hans-Peter Nilsson  <hp@axis.com>
4021*3d8817e4Smiod
4022*3d8817e4Smiod	* write.c (write_object_file): Recognize warning-symbol construct
4023*3d8817e4Smiod	and skip object- and target- handling for the second symbol.
4024*3d8817e4Smiod
4025*3d8817e4Smiod2005-02-02  Jan Beulich  <jbeulich@novell.com>
4026*3d8817e4Smiod
4027*3d8817e4Smiod	* config/tc-ia64.c (dot_pred_rel): Update comment. Handle @-prefixed
4028*3d8817e4Smiod	designators along with quoted ones. Free copy of quoted designator
4029*3d8817e4Smiod	when done.
4030*3d8817e4Smiod
4031*3d8817e4Smiod2005-02-01  Ben Elliston  <bje@au.ibm.com>
4032*3d8817e4Smiod
4033*3d8817e4Smiod	* config/atof-ieee.c, config/obj-coff.c, config/obj-elf.c,
4034*3d8817e4Smiod	config/obj-ieee.c, config/obj-som.c, config/obj-vms.c,
4035*3d8817e4Smiod	config/tc-a29k.c, config/tc-alpha.c, config/tc-arc.c,
4036*3d8817e4Smiod	config/tc-arm.c, config/tc-d30v.c, config/tc-dlx.c,
4037*3d8817e4Smiod	config/tc-fr30.c, config/tc-h8300.c, config/tc-h8500.c,
4038*3d8817e4Smiod	config/tc-i370.c, config/tc-i386.c, config/tc-i960.c,
4039*3d8817e4Smiod	config/tc-ia64.c, config/tc-m32r.c, config/tc-m32r.h,
4040*3d8817e4Smiod	config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-mips.c,
4041*3d8817e4Smiod	config/tc-mn10200.c, config/tc-msp430.c, config/tc-ns32k.c,
4042*3d8817e4Smiod	config/tc-openrisc.c, config/tc-or32.c, config/tc-pdp11.c,
4043*3d8817e4Smiod	config/tc-pj.c, config/tc-sparc.h, config/tc-tic54x.c,
4044*3d8817e4Smiod	config/tc-tic80.c, config/tc-v850.c, config/tc-w65.c,
4045*3d8817e4Smiod	config/tc-xtensa.c, config/tc-z8k.c, config/xtensa-relax.c: Remove
4046*3d8817e4Smiod	#if 0'd code throughout.
4047*3d8817e4Smiod
4048*3d8817e4Smiod2005-01-31  Nick Clifton  <nickc@redhat.com>
4049*3d8817e4Smiod
4050*3d8817e4Smiod	* as.c (parse_args): Bump copyright date reported by --version to
4051*3d8817e4Smiod	2005.
4052*3d8817e4Smiod
4053*3d8817e4Smiod2005-01-31  Nick Clifton  <nickc@redhat.com>
4054*3d8817e4Smiod
4055*3d8817e4Smiod	* configure.tgt: Remove obsolete targets m68k-lynxos, sparc-lynxos
4056*3d8817e4Smiod	and vax-vms.
4057*3d8817e4Smiod
4058*3d8817e4Smiod2005-01-31  Jan Beulich  <jbeulich@novell.com>
4059*3d8817e4Smiod
4060*3d8817e4Smiod	* macro.c (buffer_and_nest): Allow 'from' being NULL; handle anything
4061*3d8817e4Smiod	that can end with .endr in that case. Make requiring/permitting
4062*3d8817e4Smiod	pseudo-ops without leading dot closer to the logic in read.c serving
4063*3d8817e4Smiod	the same purpose.
4064*3d8817e4Smiod	(expand_irp): Don't pass a mnemonic to buffer_and_nest as it will be
4065*3d8817e4Smiod	ignored.
4066*3d8817e4Smiod
4067*3d8817e4Smiod2005-01-31  Jan Beulich  <jbeulich@novell.com>
4068*3d8817e4Smiod
4069*3d8817e4Smiod	* macro.c (do_formals): Adjust to no longer accept empty parameter
4070*3d8817e4Smiod	names.
4071*3d8817e4Smiod	(define_macro): Adjust to no longer accept empty macro name, garbage
4072*3d8817e4Smiod	following the parameters, or macros that were previously defined.
4073*3d8817e4Smiod	* read.c (s_bad_end): Declare.
4074*3d8817e4Smiod	(potable): Add endm. Handler for endr and endm is s_bad_end.
4075*3d8817e4Smiod	(s_bad_end): Rename from s_bad_endr. Adjust to handle both .endm
4076*3d8817e4Smiod	and .endr.
4077*3d8817e4Smiod	* read.h (s_bad_endr): Remove.
4078*3d8817e4Smiod
4079*3d8817e4Smiod2005-01-31  Jan Beulich  <jbeulich@novell.com>
4080*3d8817e4Smiod
4081*3d8817e4Smiod	* config/tc-ia64.c (parse_operands): Parse all specified operands,
4082*3d8817e4Smiod	immediately discarding (but counting) those exceeding the maximum
4083*3d8817e4Smiod	possible amount. Track whether output and input operand counts ever
4084*3d8817e4Smiod	matched, and use this to better indicate which of the operands/
4085*3d8817e4Smiod	operand types was wrong; specifically don't default to pointing to
4086*3d8817e4Smiod	the first operand.
4087*3d8817e4Smiod
4088*3d8817e4Smiod2005-01-31  Jan Beulich  <jbeulich@novell.com>
4089*3d8817e4Smiod
4090*3d8817e4Smiod	* config/tc-ia64.c (unwind): Remove proc_end (now an automatic
4091*3d8817e4Smiod	variable in dot_endp). Add body and insn. Make prologue,
4092*3d8817e4Smiod	prologue_mask, body, and insn bitfields.
4093*3d8817e4Smiod	(fixup_unw_records): Remove spurious new-lines from end of diagnostic
4094*3d8817e4Smiod	messages.
4095*3d8817e4Smiod	(in_procedure, in_prologue, in_body): New.
4096*3d8817e4Smiod	(dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save,
4097*3d8817e4Smiod	dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata,
4098*3d8817e4Smiod	dot_unwentry, dot_altrp, dot_savemem, dot_saveg, dot_savef, dot_saveb,
4099*3d8817e4Smiod	dot_savegf, dot_spill, dot_spillreg, dot_spillmem, dot_spillreg_p,
4100*3d8817e4Smiod	dot_spillmem_p, dot_label_state, dot_copy_state, dot_unwabi,
4101*3d8817e4Smiod	dot_personality): Use the appropriate one of the above.
4102*3d8817e4Smiod	(dot_proc): Clear unwind.proc_start; set to current location only if
4103*3d8817e4Smiod	none of the entry points were valid. Check for non-zero-length entry
4104*3d8817e4Smiod	point names. Check that entry points aren't defined, yet. Clear
4105*3d8817e4Smiod	unwind.prologue, unwind.body, and unwind.insn.
4106*3d8817e4Smiod	(dot_body): Call in_procedure. Check that first directive in procedure
4107*3d8817e4Smiod	had no insns emitted before. Set unwind.body.
4108*3d8817e4Smiod	(dot_prologue): Call in_procedure. Check that not already in prologue.
4109*3d8817e4Smiod	Check that first directive in procedure had no insns emitted before.
4110*3d8817e4Smiod	Clear unwind.body.
4111*3d8817e4Smiod	(dot_endp): Call in_procedure. Declare proc_end. Check for non-zero-
4112*3d8817e4Smiod	length entry point names. Check that entry points became defined.
4113*3d8817e4Smiod	(md_assemble): Set unwind.insn once unwind.proc_start is defined.
4114*3d8817e4Smiod
4115*3d8817e4Smiod2005-01-31  Jan Beulich  <jbeulich@novell.com>
4116*3d8817e4Smiod
4117*3d8817e4Smiod	* config/tc-ia64.c (emit_one_bundle): Snapshot manual bundling state
4118*3d8817e4Smiod	before actually using it. Don't generate an error in manual bundling
4119*3d8817e4Smiod	mode when looking at an insn requiring slot 2 but not yet at slot 2.
4120*3d8817e4Smiod	Don't generate an error in manual bundling mode when looking at an
4121*3d8817e4Smiod	insn required to be last in its group but the required slot hasn't
4122*3d8817e4Smiod	been reached, yet. Allow conversion from MII to MI;I for bundle
4123*3d8817e4Smiod	consisting of only 2 insns with the stop between them. Suppress
4124*3d8817e4Smiod	various meaningless errors resulting from detecting earlier ones.
4125*3d8817e4Smiod
4126*3d8817e4Smiod2005-01-31  Jan Beulich  <jbeulich@novell.com>
4127*3d8817e4Smiod
4128*3d8817e4Smiod	* config/tc-ia64.c (parse_operands): Also handle alloc without first
4129*3d8817e4Smiod	input being ar.pfs.
4130*3d8817e4Smiod
4131*3d8817e4Smiod2005-01-28  Christian Groessler  <chris@groessler.org>
4132*3d8817e4Smiod
4133*3d8817e4Smiod	* config/tc-z8k.c (md_assemble): Improve error detection.
4134*3d8817e4Smiod
4135*3d8817e4Smiod2005-01-28  Jan Beulich  <jbeulich@novell.com>
4136*3d8817e4Smiod
4137*3d8817e4Smiod	* config/tc-ia64.c (ia64_estimate_size_before_relax): Allocate space
4138*3d8817e4Smiod	for personality routine pointer only if there is one.
4139*3d8817e4Smiod	(ia64_convert_frag): Likewise.
4140*3d8817e4Smiod	(generate_unwind_image): Likewise.
4141*3d8817e4Smiod
4142*3d8817e4Smiod2005-01-27  Christian Groessler  <chris@groessler.org>
4143*3d8817e4Smiod
4144*3d8817e4Smiod	* config/tc-z8k.c (INSERT): Remove, not used anywhere.
4145*3d8817e4Smiod	(md_apply_fix3): Make relative branches out of range an error
4146*3d8817e4Smiod	instead of a warning.  Display correct line number for out of
4147*3d8817e4Smiod	range branches/calls/memory accesses.
4148*3d8817e4Smiod
4149*3d8817e4Smiod2005-01-27  Nathan Sidwell  <nathan@codesourcery.com>
4150*3d8817e4Smiod
4151*3d8817e4Smiod	* dwarf2dbg.c (dwarf2_finish): Correct logic for determining when
4152*3d8817e4Smiod	to emit .debug_line and other debug sections.
4153*3d8817e4Smiod	* as.h (seg_not_empty_p): Declare.
4154*3d8817e4Smiod	* subsegs.c (seg_not_empty_p): New predicate.
4155*3d8817e4Smiod
4156*3d8817e4Smiod2005-01-27  Andrew Cagney  <cagney@gnu.org>
4157*3d8817e4Smiod
4158*3d8817e4Smiod	* configure: Regenerate to track ../gettext.m4 change.
4159*3d8817e4Smiod
4160*3d8817e4Smiod2005-01-27  Jan Beulich  <jbeulich@novell.com>
4161*3d8817e4Smiod
4162*3d8817e4Smiod	* config/tc-ia64.c (emit_one_bundle): Change "?imbf??" to "?ibmfxx".
4163*3d8817e4Smiod
4164*3d8817e4Smiod2005-01-27  Jan Beulich  <jbeulich@novell.com>
4165*3d8817e4Smiod
4166*3d8817e4Smiod	* config/tc-ia64.c (emit_one_bundle): Add late resolution of move
4167*3d8817e4Smiod	to/from application registers dynamic insns.
4168*3d8817e4Smiod	(md_assemble): Defer resolution of move to/from application registers
4169*3d8817e4Smiod	dynamic insns when they can be issued on either the I- or M-units.
4170*3d8817e4Smiod
4171*3d8817e4Smiod2005-01-25  Alexandre Oliva  <aoliva@redhat.com>
4172*3d8817e4Smiod
4173*3d8817e4Smiod	* config/tc-frv.c (md_apply_fix3): Mark TLS symbols as such.
4174*3d8817e4Smiod	2004-12-10  Alexandre Oliva  <aoliva@redhat.com>
4175*3d8817e4Smiod	* config/tc-frv.c (frv_pic_ptr): Add tlsmoff support.
4176*3d8817e4Smiod	2004-11-10  Alexandre Oliva  <aoliva@redhat.com>
4177*3d8817e4Smiod	* cgen.c (gas_cgen_parse_operand): Handle
4178*3d8817e4Smiod	CGEN_PARSE_OPERAND_SYMBOLIC.
4179*3d8817e4Smiod	* config/tc-frv.c (md_cgen_lookup_reloc): Handle TLS relocations.
4180*3d8817e4Smiod	(frv_force_relocation): Likewise.  Fix handling of PIC
4181*3d8817e4Smiod	relocations.
4182*3d8817e4Smiod	(md_apply_fix3): Likewise.
4183*3d8817e4Smiod
4184*3d8817e4Smiod2005-01-21  Ben Elliston  <bje@au.ibm.com>
4185*3d8817e4Smiod
4186*3d8817e4Smiod	* as.h: Remove #if 0'd code.
4187*3d8817e4Smiod	* atof-generic.c (atof_generic): Likewise.
4188*3d8817e4Smiod	* ecoff.c (ecoff_directive_frame): Likewise.
4189*3d8817e4Smiod	* frags.h (FRAG_APPEND_1_CHAR): Likewise.
4190*3d8817e4Smiod	* itbl-ops.c (itbl_add_reg): Likewise.
4191*3d8817e4Smiod	* listing.c (calc_hex): Likewise.
4192*3d8817e4Smiod	* read.c (MASK_CHAR): Likewise.
4193*3d8817e4Smiod	* subsegs.c (subsegs_print_statistics): Likewise.
4194*3d8817e4Smiod	* symbols.c (indent): Likewise.
4195*3d8817e4Smiod	* write.c (write_relocs): Likewise.
4196*3d8817e4Smiod	(write_object_file): Likewise.
4197*3d8817e4Smiod	(relax_frag): Likewise.
4198*3d8817e4Smiod
4199*3d8817e4Smiod2005-01-20  Nick Clifton  <nickc@redhat.com>
4200*3d8817e4Smiod
4201*3d8817e4Smiod	* as.c (std_longopts): Add an entry for "--a" in order to prevent
4202*3d8817e4Smiod	getopt_long_only() from considering -a as an abbreviation for
4203*3d8817e4Smiod	--alternate.
4204*3d8817e4Smiod	(parse_args): Fix the parsing of -a=<file>.
4205*3d8817e4Smiod
4206*3d8817e4Smiod2005-01-20  Alan Modra  <amodra@bigpond.net.au>
4207*3d8817e4Smiod
4208*3d8817e4Smiod	PR gas/684
4209*3d8817e4Smiod	* read.c (s_incbin): Adjust default count for skip.  Check validity
4210*3d8817e4Smiod	of count and skip rigorously.
4211*3d8817e4Smiod
4212*3d8817e4Smiod2005-01-19  Fred Fish  <fnf@specifixinc.com>
4213*3d8817e4Smiod
4214*3d8817e4Smiod	* config/tc-mips.c (dummy_opcode): Add init for new struct member.
4215*3d8817e4Smiod
4216*3d8817e4Smiod2005-01-19  Richard Sandiford  <rsandifo@redhat.com>
4217*3d8817e4Smiod
4218*3d8817e4Smiod	* read.c (convert_to_bignum): New function, split out from...
4219*3d8817e4Smiod	(emit_expr): ...here.  Handle the case where X_add_number is
4220*3d8817e4Smiod	positive and the input value is negative.
4221*3d8817e4Smiod	(output_big_sleb128): Fix setting of continuation bit.  Check whether
4222*3d8817e4Smiod	the final byte needs to be sign-extended.  Fix size-shrinking loop.
4223*3d8817e4Smiod	(emit_leb128_expr): When generating a signed leb128, see whether the
4224*3d8817e4Smiod	sign of an O_constant's X_add_number matches the sign of the input
4225*3d8817e4Smiod	value.  Use a bignum if not.
4226*3d8817e4Smiod
4227*3d8817e4Smiod2005-01-17  Andrew Stubbs  <andrew.stubbs@st.com>
4228*3d8817e4Smiod
4229*3d8817e4Smiod	* tc-sh.c (md_begin,md_parse_option): Change arch_sh1_up to
4230*3d8817e4Smiod	arch_sh_up in order to match the external name and make the
4231*3d8817e4Smiod	testsuite's job easier.
4232*3d8817e4Smiod
4233*3d8817e4Smiod2005-01-14  H.J. Lu  <hongjiu.lu@intel.com>
4234*3d8817e4Smiod
4235*3d8817e4Smiod	PR 659
4236*3d8817e4Smiod	* config/tc-i386.c (i386_scale): Disallow 0 scale.
4237*3d8817e4Smiod
4238*3d8817e4Smiod2005-01-12  Nick Clifton  <nickc@redhat.com>
4239*3d8817e4Smiod
4240*3d8817e4Smiod	* config/tc-iq2000.c (s_iq2000_set): Fix thinko parsing
4241*3d8817e4Smiod	ignored_arguments array.
4242*3d8817e4Smiod
4243*3d8817e4Smiod2005-01-10  H.J. Lu  <hongjiu.lu@intel.com>
4244*3d8817e4Smiod
4245*3d8817e4Smiod	* write.c (write_object_file): Disallow a symbol equated to
4246*3d8817e4Smiod	common symbol.
4247*3d8817e4Smiod
4248*3d8817e4Smiod2005-01-10  Inderpreet Singh <inderpreetb@noida.hcltech.com>
4249*3d8817e4Smiod
4250*3d8817e4Smiod	* tc-maxq.c: Replace constants 10 and 20 with bfd_mach_maxq10 and
4251*3d8817e4Smiod	bfd_mach_maxq20.
4252*3d8817e4Smiod	(md_pseudo_table): Add new pseudo ops for maxq10 and maxq20.
4253*3d8817e4Smiod	(maxq_target): New function: Set the machine type.
4254*3d8817e4Smiod
4255*3d8817e4Smiod2005-01-06  Paul Brook  <paul@codesourcery.com>
4256*3d8817e4Smiod
4257*3d8817e4Smiod	* config/tc-arm.c (FPU_DEFAULT): Define for TE_VXWORKS.
4258*3d8817e4Smiod	(md_begin): Handle TE_VXWORKS for FP defaults.
4259*3d8817e4Smiod	(md_apply_fix3): Correct rela offsets.
4260*3d8817e4Smiod	(elf32_arm_target_format): Add VxWorks targets.
4261*3d8817e4Smiod
4262*3d8817e4Smiod2005-01-06  Paul Brook  <paul@codesourcery.com>
4263*3d8817e4Smiod
4264*3d8817e4Smiod	* configure.tgt: Set em=vxworks for *-*-vxworks.
4265*3d8817e4Smiod	* config/te-vxworks.h: New File.
4266*3d8817e4Smiod
4267*3d8817e4Smiod2005-01-06  Paul Brook  <paul@codesourcery.com>
4268*3d8817e4Smiod
4269*3d8817e4Smiod	* config/tc-arm.c (arm_cpus): Correct arch field for arm1026ej-s.
4270*3d8817e4Smiod
4271*3d8817e4Smiod2005-01-04  Dmitry Diky  <diwil@spec.ru>
4272*3d8817e4Smiod
4273*3d8817e4Smiod	* config/tc-msp430.c (md_apply_fix3): Fix offset calculation for
4274*3d8817e4Smiod	global label.
4275*3d8817e4Smiod
4276*3d8817e4Smiod2005-01-03  David Mosberger  <davidm@hpl.hp.com>
4277*3d8817e4Smiod
4278*3d8817e4Smiod	* config/tc-ia64.c (md): Add member "loc_directive_seen".
4279*3d8817e4Smiod	(dot_loc): New function.
4280*3d8817e4Smiod	(md_pseudo_table): Add entry to map .loc to dot_loc().
4281*3d8817e4Smiod	(emit_one_bundle): Only call dwarf2_gen_line_info() if we have
4282*3d8817e4Smiod	seen a .loc directive or we're generating DWARF2 debug info for
4283*3d8817e4Smiod	assembly source.
4284*3d8817e4Smiod
4285*3d8817e4SmiodFor older changes see ChangeLog-2004
4286*3d8817e4Smiod
4287*3d8817e4SmiodLocal Variables:
4288*3d8817e4Smiodmode: change-log
4289*3d8817e4Smiodleft-margin: 8
4290*3d8817e4Smiodfill-column: 74
4291*3d8817e4Smiodversion-control: never
4292*3d8817e4SmiodEnd:
4293