ChangeLog revision 107492
1107492Sobrien2002-11-20  Alan Modra  <amodra@bigpond.net.au>
2107492Sobrien
3107492Sobrien	* write.c (adjust_reloc_syms): Don't reduce SEC_MERGE fixups with
4107492Sobrien	fx_subsy non-NULL.
5107492Sobrien
6107492Sobrien2002-11-19  Richard Henderson  <rth@redhat.com>
7107492Sobrien
8107492Sobrien	* config/obj-elf.c (obj_elf_visibility): Overwrite only the
9107492Sobrien	visibility portion of st_other.
10107492Sobrien
11107492Sobrien2002-11-19  Luke Deller <luked@cse.unsw.edu.au>
12107492Sobrien
13107492Sobrien	* config/tc-alpha.c (s_alpha_prologue): as_bad when sym is NULL.
14107492Sobrien
15107492Sobrien2002-11-13  Alan Modra  <amodra@bigpond.net.au>
16107492Sobrien
17107492Sobrien	Merge from mainline.
18107492Sobrien	2002-09-04  Alan Modra  <amodra@bigpond.net.au>
19107492Sobrien	* config/tc-ppc.c (PPC_HIGHER, PPC_HIGHEST): Fix warning.
20107492Sobrien	(md_parse_option): No -a64 without BFD64.
21107492Sobrien	(ppc_set_cpu): Select appropriate cpu when ppc_obj64.
22107492Sobrien	(ppc_arch): Use bfd_mach_rs6k for bfd_arch_rs6000.
23107492Sobrien
24107492Sobrien2002-11-06  Richard Henderson  <rth@redhat.com>
25107492Sobrien
26107492Sobrien        * config/tc-alpha.c (alpha_validate_fix): Move code ...
27107492Sobrien        (alpha_fix_adjustable): ... here.
28107492Sobrien        * config/tc-alpha.h (TC_VALIDATE_FIX): Remove.
29107492Sobrien
30107492Sobrien2002-11-05  H.J. Lu <hjl@gnu.org>
31107492Sobrien
32107492Sobrien	* config/tc-mips.c (support_64bit_objects): Check *l before it
33107492Sobrien	is freed.
34107492Sobrien
35107492Sobrien2002-10-31  David O'Brien  <obrien@FreeBSD.org>
36107492Sobrien
37107492Sobrien	* config/tc-ia64.c: Cast dwarf2_directive_file to int.
38107492Sobrien	* config/tc-sparc.c: Likewise.
39107492Sobrien	* config/tc-alpha.c: Cast s_alpha_file to int.
40107492Sobrien	* config/tc-alpha.h (TC_INIT_FIX_DATA): info is of type struct
41107492Sobrien	alpha_reloc_tag.
42107492Sobrien
43107492Sobrien2002-10-30  Daniel Jacobowitz  <drow@mvista.com>
44107492Sobrien
45107492Sobrien	* configure.in: Update ARM CPU patterns.
46107492Sobrien	* configure: Regenerated.
47107492Sobrien
48107492Sobrien2002-10-30  Daniel Jacobowitz  <drow@mvista.com>
49107492Sobrien
50107492Sobrien	* po/gas.pot: Regenerated.
51107492Sobrien
52107492Sobrien2002-10-29  Daniel Jacobowitz  <drow@mvista.com>
53107492Sobrien
54107492Sobrien	* itbl-lex.l: Use #include <> for generated headers.
55107492Sobrien	* itbl-ops.c: Likewise.
56107492Sobrien
57107492Sobrien2002-08-24  Andreas Schwab  <schwab@suse.de>
58107492Sobrien
59107492Sobrien	* config/tc-m68k.c (tc_m68k_fix_adjustable): Don't adjust symbols
60107492Sobrien	in merge sections.
61107492Sobrien
62107492Sobrien2002-10-28  Daniel Jacobowitz  <drow@mvista.com>
63107492Sobrien
64107492Sobrien	* doc/gasp.texi: Fix typo in last typo fix.
65107492Sobrien
66107492Sobrien2002-10-28  Daniel Jacobowitz  <drow@mvista.com>
67107492Sobrien
68107492Sobrien	Merge from mainline:
69107492Sobrien	2002-10-21  Richard Sandiford  <rsandifo@redhat.com>
70107492Sobrien	* config/tc-mips.c (mips_need_elf_addend_fixup): Return true
71107492Sobrien	for relocs against symbols in a merged section.
72107492Sobrien
73107492Sobrien	Thu Oct 10 14:31:30 2002  J"orn Rennecke <joern.rennecke@superh.com>
74107492Sobrien	* config/tc-sh.c (assemble_ppi): Initialize reg_x / reg_y / reg_n
75107492Sobrien	inside loop.
76107492Sobrien
77107492Sobrien2002-10-17  Johannes Stezenbach  <js@convergence.de>
78107492Sobrien
79107492Sobrien	* itbl-parse.y (entry): Provide empty action.
80107492Sobrien
81107492Sobrien2002-10-14  Momchil Velikov  <velco@fadata.bg>
82107492Sobrien
83107492Sobrien	* config/tc-v850.c (CHECK_): Remove token pasting operator.
84107492Sobrien
85107492Sobrien2002-10-11  David O'Brien  <obrien@FreeBSD.org>
86107492Sobrien
87107492Sobrien	* gas/gasp.texi: Fix typo in noting that gasp is now deprecated.
88107492Sobrien
89104834Sobrien2002-10-11  Michel Six  <msix@ccr.jussieu.fr>
90104834Sobrien	    Alan Modra  <amodra@bigpond.net.au>
91104834Sobrien
92104834Sobrien	* config/tc-i386.c (output_jump): Set fx_signed for loop/jcxz.
93104834Sobrien	(md_estimate_size_before_relax): Likewise for 8 bit branches.
94104834Sobrien
95104834Sobrien2002-09-24  Alan Modra  <amodra@bigpond.net.au>
96104834Sobrien
97104834Sobrien	* config/tc-i386.c (process_operands): Warn about "lea" segment
98104834Sobrien	overrides.
99104834Sobrien
100104834Sobrien2002-09-23  Daniel Jacobowitz  <drow@mvista.com>
101104834Sobrien
102104834Sobrien	Merge from mainline:
103104834Sobrien	2002-09-22  Mark Elbrecht  <snowball3@softhome.net>
104104834Sobrien	* write.c: Delete set_segment_vma and prototype. Update all callers.
105104834Sobrien
106104834Sobrien	2002-09-19  Jakub Jelinek  <jakub@redhat.com>
107104834Sobrien	* config/tc-i386.c (tc_i386_fix_adjustable): Handle
108104834Sobrien	BFD_RELOC_386_TLS_IE and BFD_RELOC_386_TLS_GOTIE.
109104834Sobrien	(BFD_RELOC_386_TLS_IE, BFD_RELOC_386_TLS_GOTIE): Define to 0
110104834Sobrien	if not defined.
111104834Sobrien	(lex_got): Handle @GOTNTPOFF and @INDNTPOFF.
112104834Sobrien	(md_apply_fix3, tc_gen_reloc): Handle BFD_RELOC_386_TLS_IE and
113104834Sobrien	BFD_RELOC_386_TLS_GOTIE.
114104834Sobrien
115104834Sobrien	2002-09-16  Chris Demetriou  <cgd@broadcom.com>
116104834Sobrien	* config/tc-mips.c (IS_SEXT_32BIT_NUM): Move closer to top of file.
117104834Sobrien	(IS_SEXT_16BIT_NUM): New macro.
118104834Sobrien	(macro_build_ldst_constoffset): New function, to build a set of
119104834Sobrien	instructions to do a load or store from a constant offset relative
120104834Sobrien	to a given register.
121104834Sobrien	(macro, s_cprestore): Use macro_build_ldst_constoffset to implement
122104834Sobrien	.cprestore pseudo-op.
123104834Sobrien
124104834Sobrien	2002-09-16  Elias Athanasopoulos  <eathan@otenet.gr>
125104834Sobrien	* dwarf2dbg.c (out_debug_abbrev): Add support for the DW_AT_name field.
126104834Sobrien	(out_debug_info): Likewise.
127104834Sobrien
128104834Sobrien	2002-09-13  Nick Clifton  <nickc@redhat.com>
129104834Sobrien	* config/tc-ppc.c (md_assemble): Do not count FAKE operands
130104834Sobrien	when deciding if any operands have been skipped.
131104834Sobrien
132104834Sobrien	2002-09-11  Jakub Jelinek  <jakub@redhat.com>
133104834Sobrien	* config/tc-i386.c (md_apply_fix3): Allow addend for
134104834Sobrien	BFD_RELOC_386_TLS_LDO_32, BFD_RELOC_386_TLS_LE and
135104834Sobrien	BFD_RELOC_386_TLS_LE_32.
136104834Sobrien
137104834Sobrien	2002-09-11  Nick Clifton  <nickc@redhat.com>
138104834Sobrien	* po/tr.po: Updated Turkish translation.
139104834Sobrien
140104834Sobrien	2002-09-04  Nick Clifton  <nickc@redhat.com>
141104834Sobrien	* config/tc-ppc.c (md_begin): Do not insert non-BookE32
142104834Sobrien	instructions into the hash table if the target cpu is the BookE32.
143104834Sobrien
144104834Sobrien	2002-08-20  Richard Sandiford  <rsandifo@redhat.com>
145104834Sobrien	* config/tc-mips.c (macro2): Implement rotates by zero using shifts
146104834Sobrien	by zero.
147104834Sobrien
148104834Sobrien	2002-08-15  Alexandre Oliva  <aoliva@redhat.com>
149104834Sobrien	* config/tc-mips.c (macro_build_jalr): Make sure we generate
150104834Sobrien	the fix-up against on the right frag.
151104834Sobrien	(s_cpsetup): Likewise.  Parse third argument as expression, to
152104834Sobrien	handle global symbols and forward/backward labels correctly.
153104834Sobrien
154104834Sobrien	2002-08-14  Nick Clifton  <nickc@redhat.com>
155104834Sobrien	* read.c (stringer): Catch attempts to create strings in the abs
156104834Sobrien	section.
157104834Sobrien
158104834Sobrien	2002-08-12  Richard Sandiford  <rsandifo@redhat.com>
159104834Sobrien	* config/tc-mips.c (mips_ip): Don't work out the value of
160104834Sobrien	constant %hi()s here.
161104834Sobrien
162104834Sobrien	2002-08-10  Alan Modra  <amodra@bigpond.net.au>
163104834Sobrien	* config/tc-i386.c (tc_i386_fix_adjustable): Test OUTPUT_FLAVOR
164104834Sobrien	for ELF, and don't bother checking ELF relocs when non-ELF.
165104834Sobrien	(i386_immediate): Allow absolute_section expressions for aout.
166104834Sobrien	(i386_displacement): Likewise.  Also test bfd_is_com_section.
167104834Sobrien	(md_estimate_size_before_relax): Test OUTPUT_FLAVOR for ELF.
168104834Sobrien	(md_apply_fix3): Hack for bfd_install_relocation when fx_pcrel,
169104834Sobrien	not when fx_addsy.  Remove dead code.
170104834Sobrien
171104834Sobrien	2002-08-06  George France <france@handhelds.org>
172104834Sobrien	* config/tc-alpha.c (cpu_types): Enabled ev67, ev68,  -m21264a
173104834Sobrien	and m21264b processor names and cpu types.
174104834Sobrien	* doc/c-alpha.texi: Documented new types.
175104834Sobrien
176104834Sobrien	2002-08-06  Alan Modra  <amodra@bigpond.net.au>
177104834Sobrien	* config/tc-ppc.c (md_apply_fix3): Adjust 16 bit XCOFF reloc offset.
178104834Sobrien
179104834Sobrien	2002-08-03  Jakub Jelinek  <jakub@redhat.com>
180104834Sobrien	* config/tc-i386.c (output_insn): Save frag_now and frag_now_fix ()
181104834Sobrien	at start of insn, pass it to output_disp and output_imm.
182104834Sobrien	(output_disp): Added arguments.  If _GLOBAL_OFFSET_TABLE_ is seen
183104834Sobrien	in displacement for R_386_32 reloc, use R_386_GOTPC and compute
184104834Sobrien	properly addend.
185104834Sobrien	(output_imm): Added arguments.  Compute properly addend for
186104834Sobrien	R_386_GOTPC.
187104834Sobrien	(md_apply_fix3): Remove R_386_GOTPC handling.
188104834Sobrien
189104834Sobrien	2002-07-31  Momchil Velikov  <velco@fadata.bg>
190104834Sobrien	* config/tc-v850.c (md_assemble): Fix range check for immediate
191104834Sobrien	operand.
192104834Sobrien
193104834Sobrien	2002-07-04  Bruno Haible  <bruno@clisp.org>
194104834Sobrien	* config/tc-i386.h (ELF_TARGET_FORMAT): New macro.
195104834Sobrien	(TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf32-i386".
196104834Sobrien	* config/tc-i386.c (i386_target_format): Likewise.
197104834Sobrien	* config/tc-alpha.h (ELF_TARGET_FORMAT): New macro.
198104834Sobrien	(TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf64-alpha".
199104834Sobrien
200104834Sobrien2002-08-26  Alan Modra  <amodra@bigpond.net.au>
201104834Sobrien
202104834Sobrien	* config/tc-w65.c (md_section_align): Fix typo.
203104834Sobrien	(md_parse_option): Return 0, not 1.
204104834Sobrien
205104834Sobrien2002-08-20  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
206104834Sobrien
207104834Sobrien	* config/tc-mips.c (macro): Handle a register plus a 16-bit
208104834Sobrien	immediate offset in "dla" and "la" expansions.
209104834Sobrien
210104834Sobrien2002-08-01  Daniel Jacobowitz  <drow@mvista.com>
211104834Sobrien
212104834Sobrien	Merge from mainline:
213104834Sobrien	2002-08-01  Richard Sandiford  <rsandifo@redhat.com>
214104834Sobrien	* config/tc-mips.c (tc_gen_reloc): Extend GP-relative addend
215104834Sobrien	handling to BFD_RELOC_MIPS16_GPREL.
216104834Sobrien
217104834Sobrien2002-08-01  H.J. Lu  <hjl@gnu.org>
218104834Sobrien	    Daniel Jacobowitz  <drow@mvista.com>
219104834Sobrien
220104834Sobrien	* dwarf2dbg.c (dwarf2_finish): Don't emit unreferenced
221104834Sobrien	.debug_line section unless it has line information.
222104834Sobrien
223104834Sobrien2002-07-31  Daniel Jacobowitz  <drow@mvista.com>
224104834Sobrien
225104834Sobrien	Merge from mainline:
226104834Sobrien	2002-07-30  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
227104834Sobrien	* tc-mips.c (load_address): Don't clobber $at when loading a
228104834Sobrien	64-bit address in non-PIC code if noat is in effect.
229104834Sobrien	(macro): Likewise.
230104834Sobrien
231104834Sobrien	2002-07-30  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
232104834Sobrien	* config/tc-mips.c (macro): Use codes 6 and 7 in trap instructions
233104834Sobrien	used in division/multiply macro expansions similarly to how they
234104834Sobrien	are used in the variants with break instructions.
235104834Sobrien	(macro2): Likewise.
236104834Sobrien
237104834Sobrien2002-07-26  Alan Modra  <amodra@bigpond.net.au>
238104834Sobrien
239104834Sobrien	* config/tc-ppc.c (ppc_set_cpu): Use PPC_OPCODE_64 as the default
240104834Sobrien	rather than PPC_OPCODE_32 for powerpc64*.
241104834Sobrien
242104834Sobrien2002-07-25  Nick Clifton  <nickc@redhat.com>
243104834Sobrien
244104834Sobrien	* po/es.po: Updated Spanish translation.
245104834Sobrien	* po/fr.po: Updated French translation.
246104834Sobrien
247104834Sobrien2002-07-24  Nick Clifton  <nickc@redhat.com>
248104834Sobrien
249104834Sobrien	* po/sv.po: Updated Swedish translation.
250104834Sobrien	* po/es.po: Updated Spanish translation.
251104834Sobrien
252104834Sobrien2002-07-23  Daniel Jacobowitz  <drow@mvista.com>
253104834Sobrien
254104834Sobrien	* po/gas.pot: Regenerated.
255104834Sobrien
256104834Sobrien2002-07-23  Nick Clifton  <nickc@redhat.com>
257104834Sobrien
258104834Sobrien	* po/fr.po: Updated French translation.
259104834Sobrien
260104834Sobrien2002-07-16  Moritz Jodeit  <moritz@jodeit.org>
261104834Sobrien
262104834Sobrien	* config/tc-z8k.c (build_bytes): Correct order of memset args.
263104834Sobrien
264104834Sobrien2002-07-16  Nick Clifton  <nickc@cambridge.redhat.com>
265104834Sobrien
266104834Sobrien	* NEWS: Add 'Changes in 2.13'.
267104834Sobrien
268104834Sobrien2002-07-15  Matt Fredette  <fredette@netbsd.org>
269104834Sobrien
270104834Sobrien	* config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define if TE_NetBSD.
271104834Sobrien
272104834Sobrien2002-07-12  Alan Modra  <amodra@bigpond.net.au>
273104834Sobrien
274104834Sobrien	* config/tc-i386.c (process_suffix): Merge CODE_64BIT JumpByte
275104834Sobrien	case with non CODE_64BIT case.  Don't warn on "qword ptr" if
276104834Sobrien	not CODE_64BIT.
277104834Sobrien
278104834Sobrien2002-07-11  Alan Modra  <amodra@bigpond.net.au>
279104834Sobrien
280104834Sobrien	* config/tc-ppc.c (ppc_elf_frob_symbol): Delete.
281104834Sobrien	(ppc_frob_file_before_adjust): New function.
282104834Sobrien	* config/tc-ppc.h (tc_frob_symbol): Don't define.
283104834Sobrien	(ppc_elf_frob_symbol): Don't declare.
284104834Sobrien	(tc_frob_file_before_adjust): Define.
285104834Sobrien	(ppc_frob_file_before_adjust): Declare.
286104834Sobrien
287104834Sobrien	* config/tc-ppc.c (md_pseudo_table): Warning fix.
288104834Sobrien	(ppc_cpu): Make it unsigned long to agree with struct powerpc_opcode
289104834Sobrien	flags.
290104834Sobrien	(ppc_size): Delete.
291104834Sobrien	(ppc_xcoff64): Rename to ppc_obj64.
292104834Sobrien	(md_parse_option <m>): Encode old ppc_size value in ppc_cpu.
293104834Sobrien	(ppc_set_cpu): Set PPC_OPCODE_32 too.
294104834Sobrien	(ppc_arch): Use ppc_obj64 instead of ppc_size to select bfd_mach_ppc64
295104834Sobrien	or bfd_mach_ppc.
296104834Sobrien	(ppc_target_format): Use ppc_obj64 to select format.
297104834Sobrien	(md_begin): Adjust for PPC_OPCODE_32/64 in ppc_cpu.
298104834Sobrien	(ppc_insert_operand): Use ppc_obj64 instead of ppc_size.
299104834Sobrien	(ppc_elf_suffix): Likewise.  Don't depend on BFD_DEFAULT_TARGET_SIZE.
300104834Sobrien	(tc_frob_symbol): Likewise.
301104834Sobrien	(md_assemble): Use ppc_obj64 instead of ppc_size.  Don't depend on
302104834Sobrien	BFD_DEFAULT_TARGET_SIZE.
303104834Sobrien	(ppc_tc): Likewise.
304104834Sobrien	(ppc_is_toc_sym): Likewise.
305104834Sobrien	(md_apply_fix3): Likewise.
306104834Sobrien	* config/tc-ppc.h (TC_FORCE_RELOCATION): Don't depend on
307104834Sobrien	BFD_DEFAULT_TARGET_SIZE.
308104834Sobrien	(ELF_TC_SPECIAL_SECTIONS): Likewise.
309104834Sobrien	(tc_frob_symbol): Likewise.
310104834Sobrien
311104834Sobrien2002-07-09  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
312104834Sobrien
313104834Sobrien	* config/tc-mips.c (macro_build): Handle MIPS16 insns.
314104834Sobrien	(mips_ip): Likewise.
315104834Sobrien
316104834Sobrien2002-07-09  Alan Modra  <amodra@bigpond.net.au>
317104834Sobrien
318104834Sobrien	* config/tc-i386.c (md_pseudo_table <file>): Warning fix.
319104834Sobrien	(BFD_RELOC_8, BFD_RELOC_8_PCREL): Define for non-BFD.
320104834Sobrien	(md_apply_fix3): Formatting.  Remove redundant test.
321104834Sobrien	(tc_gen_reloc): Remove redundant code.
322104834Sobrien	(tc_i386_force_relocation): Delete.  Movy body of function to..
323104834Sobrien	* config/tc-i386.h (TC_FORCE_RELOCATION): .. here.
324104834Sobrien
325104834Sobrien2002-07-09  Federico G. Schwindt <fgsch@olimpo.com.br>
326104834Sobrien
327104834Sobrien	* configure.in: Add hppa-*-openbsd* target, change
328104834Sobrien	alpha*-*-openbsd* format to elf, and use elf for sparc-*-openbsd*
329104834Sobrien	with sparc64 cpu.
330104834Sobrien	* configure: Regenerate.
331104834Sobrien
332104834Sobrien2002-07-08  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
333104834Sobrien
334104834Sobrien	* config/tc-mips.c (macro): Shift the 32-bit address range
335104834Sobrien	accessible with a lone "lui" down by 32768.
336104834Sobrien
337104834Sobrien2002-07-08  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
338104834Sobrien
339104834Sobrien	* config/tc-mips.c (load_address): Use non-trapping "daddu"
340104834Sobrien	instead of "dadd" in address calculations.
341104834Sobrien	(macro): Likewise.
342104834Sobrien
343104834Sobrien2002-07-08  Alan Modra  <amodra@bigpond.net.au>
344104834Sobrien
345104834Sobrien	* config/tc-i386.c (process_suffix): Remove intel mode movsx and
346104834Sobrien	movzx fudges.
347104834Sobrien	(md_assemble): Instead, zap the suffix here.
348104834Sobrien
349104834Sobrien2002-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
350104834Sobrien
351104834Sobrien	* NEWS: Remove next release number until the release is actually
352104834Sobrien	upon us.
353104834Sobrien
354104834Sobrien2002-07-03  Alan Modra  <amodra@bigpond.net.au>
355104834Sobrien
356104834Sobrien	* Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
357104834Sobrien	Run "make dep-am".
358104834Sobrien	* Makefile.in: Regenerate.
359104834Sobrien
360104834Sobrien2002-07-02  Martin Schwidefsky  <schwidefsky@de.ibm.com>
361104834Sobrien
362104834Sobrien	* config/tc-s390.c (tc_s390_fix_adjustable): Prevent any adjustment
363104834Sobrien	to symbols in merge sections, even non pc-relative ones.
364104834Sobrien
365104834Sobrien2002-06-29  Stephane Carrez  <stcarrez@nerim.fr>
366104834Sobrien
367104834Sobrien	* config/tc-m68hc11.h (m68hc11_listing_header): Fix warning.
368104834Sobrien
369104834Sobrien2002-06-29  Stephane Carrez  <stcarrez@nerim.fr>
370104834Sobrien
371104834Sobrien	* config/tc-m68hc11.h (ELF_TC_SPECIAL_SECTIONS): New sections
372104834Sobrien	.softregs and .eeprom.
373104834Sobrien
374104834Sobrien2002-06-28  David O'Brien  <obrien@FreeBSD.org>
375104834Sobrien
376104834Sobrien	* NEWS: Note the next release is 2.13.
377104834Sobrien
378104834Sobrien2002-06-26  Nick Clifton  <nickc@cambridge.redhat.com>
379104834Sobrien
380104834Sobrien	* po/tr.po: New translation imported.
381104834Sobrien
382104834Sobrien2002-06-26  Elias Athanasopoulos  <eathan@otenet.gr>
383104834Sobrien
384104834Sobrien	* ecoff.c: (get_tag): Replace strcpy with xstrdup.
385104834Sobrien	(ecoff_directive_def): Likewise.
386104834Sobrien	(ecoff_directive_tag): Likewise.
387104834Sobrien	* listing.c (file_info): Likewise.
388104834Sobrien	* hash.c (what): Likewise.
389104834Sobrien
390104834Sobrien2002-06-25  H.J. Lu <hjl@gnu.org>
391104834Sobrien
392104834Sobrien	* Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
393104834Sobrien	* Makefile.in: Regenerated.
394104834Sobrien
395104834Sobrien2002-06-19  Dhananjay R. Deshpande <dhananjayd@kpit.com>
396104834Sobrien
397104834Sobrien	* config/tc-sh.c (get_specific): Revert 2002-05-01 change.
398104834Sobrien	(assemble_ppi): Generate warning if the same register is used
399104834Sobrien	twice as destination in the same padd / pmuls instruction.
400104834Sobrien
401104834Sobrien2002-06-18  Dave Brolley  <brolley@redhat.com>
402104834Sobrien
403104834Sobrien	From Catherine Moore, Michael Meissner, Richard Sandiford, Dave Brolley
404104834Sobrien	* po/POTFILES.in: Add tc-frv.c, tc-frv.h.
405104834Sobrien	* configure.in: Support frv-*-*.
406104834Sobrien	* Makefile.am (CPU_TYPES): Add frv.
407104834Sobrien	(TARGET_CPU_CFILES): Add tc-frv.c.
408104834Sobrien	(TARGET_CPU_HFILES): Add tc-frv.h.
409104834Sobrien	(DEPTC_frv_coff): New variable.
410104834Sobrien	(DEPTC_frv_elf): New variable.
411104834Sobrien	(DEPOBJ_frv_coff): New variable.
412104834Sobrien	(DEPOBJ_frv_elf): New variable.
413104834Sobrien	(DEP_frv_coff): New variable.
414104834Sobrien	(DEP_frv_elf): New variable.
415104834Sobrien	* tc-frv.c: New file.
416104834Sobrien	* tc-frv.h: New file.
417104834Sobrien
418104834Sobrien2002-06-17  Catherine Moore <clm@redhat.com>
419104834Sobrien
420104834Sobrien	* config/obj-elf.h (TARGET_SYMBOL_FIELDS): Conditionally define.
421104834Sobrien
422104834Sobrien2002-06-17  J"orn Rennecke <joern.rennecke@superh.com>
423104834Sobrien
424104834Sobrien	* config/tc-sh.c (assemble_ppi): Initialize reg_n.
425104834Sobrien
426104834Sobrien2002-06-17  Tom Rix <trix@redhat.com>
427104834Sobrien
428104834Sobrien	* config/tc-i370.h (tc_comment_chars): Define for i370-elf.
429104834Sobrien
430104834Sobrien2002-06-14  H.J. Lu  <hjl@gnu.org>
431104834Sobrien	    Daniel Jacobowitz  <drow@mvista.com>
432104834Sobrien
433104834Sobrien	* dwarf2dbg.h (dwarf2_directive_file): Return char *.
434104834Sobrien	* dwarf2dbg.c (dwarf2_directive_file): Return filename.
435104834Sobrien	* config/tc-mips.c (s_mips_file): Call s_app_file_string
436104834Sobrien	and new_logical_line for the first .file directive.
437104834Sobrien	* read.c (s_app_file_string): New function.
438104834Sobrien	(s_app_file): Call it.
439104834Sobrien	* read.h (s_app_file_string): Add declaration.
440104834Sobrien
441104834Sobrien2002-06-14  Daniel Jacobowitz  <drow@mvista.com>
442104834Sobrien
443104834Sobrien	* configure.in: Remove MIPS_STABS_ELF.
444104834Sobrien	* configure: Regenerated.
445104834Sobrien	* config.in: Regenerated.
446104834Sobrien	* config/obj-elf.h (ECOFF_DEBUGGING): Define to mips_flag_mdebug
447104834Sobrien	for MIPS targets.
448104834Sobrien	* config/tc-mips.c (mips_pseudo_table): Remove #ifdef around
449104834Sobrien	".extern".
450104834Sobrien	(pdr_seg): Declare unconditionally.
451104834Sobrien	(md_begin): Always generate .pdr unless ECOFF_DEBUGGING or not ELF.
452104834Sobrien	(s_mips_end): Likewise.  Generate stabs function markers.
453104834Sobrien	(s_mips_ent): Generate stabs function markers.
454104834Sobrien	(s_mips_frame): Always generate .pdr unless ECOFF_DEBUGGING or not
455104834Sobrien	ELF.
456104834Sobrien	(s_mips_mask): Likewise.
457104834Sobrien	(mips_flag_mdebug): New.
458104834Sobrien	(md_longopts): Add "mdebug" and "no-mdebug".
459104834Sobrien	(md_parse_options): Add OPTION_MDEBUG and OPTION_NO_MDEBUG.
460104834Sobrien	(mips_after_parse_args): Set mips_flag_mdebug.
461104834Sobrien	* doc/as.texinfo: Add "-mdebug" and "-no-mdebug" for MIPS.
462104834Sobrien
463104834Sobrien2002-06-13  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
464104834Sobrien
465104834Sobrien	* config/tc-mips.c (md_apply_fix3): Don't subtract the symbol's
466104834Sobrien	value twice for RELA relocations.
467104834Sobrien
468104834Sobrien2002-06-12  Ben Elliston  <bje@redhat.com>
469104834Sobrien
470104834Sobrien	* symbols.c (resolve_symbol_value): Initialise final_val.
471104834Sobrien
472104834Sobrien	* subsegs.c (subsegs_print_statistics): Cast frchp to void *.
473104834Sobrien
474104834Sobrien2002-06-11  Tom Rix  <trix@redhat.com>
475104834Sobrien
476104834Sobrien	* config/tc-ppc.c (ppc_subseg_align): Delete.
477104834Sobrien	(ppc_change_csect): Default csect align is 2.
478104834Sobrien	* config/tc-ppc.h (SUB_SEGMENT_ALIGN): Delete
479104834Sobrien
480104834Sobrien2002-06-09  Marek Michalkiewicz  <marekm@amelek.gda.pl>
481104834Sobrien
482104834Sobrien	* config/tc-avr.c (mcu_types): Update.
483104834Sobrien
484104834Sobrien2002-06-08  Matt Thomas  <matt@3am-software.com>
485104834Sobrien
486104834Sobrien	* configure.in (vax-*-netbsdelf*, vax-*-netbsdaout*)
487104834Sobrien	(vax-*-netbsd*): New targets.
488104834Sobrien	* configure: Regenerate.
489104834Sobrien	* config/aout_gnu.h (enum machine_type): Add M_VAX4K_NETBSD.
490104834Sobrien	* config/tc-vax.c: Add support for ELF and PIC.
491104834Sobrien	(flag_want_pic): New flag.
492104834Sobrien	(float_cons): Fix prototype.
493104834Sobrien	(md_apply_fix3): Adjust for BFD_ASSEMBLER.
494104834Sobrien	(md_assemble): Introduce a new is_absolute local, and use it
495104834Sobrien	rather than repeating the test.  Make fatal errors actually
496104834Sobrien	fatal by using as_fatal as appropriate.  Adjust for BFD_ASSEMBLER.
497104834Sobrien	Add support for ELF.  Add support for PIC.
498104834Sobrien	(md_convert_frag): Adjust for BFD_ASSEMBLER.
499104834Sobrien	(tc_aout_fix_to_chars): Only include if OBJ_AOUT and not
500104834Sobrien	BFD_ASSEMBLER.
501104834Sobrien	(vax_reg_parse): Make the % register prefix mandatory for ELF,
502104834Sobrien	optional for a.out, and not allowed for VMS.  Adjust all callers.
503104834Sobrien	(md_create_short_jump): Add ATTRIBUTE_UNUSED to unused arguments.
504104834Sobrien	(md_create_long_jump): Likewise.
505104834Sobrien	(md_undefined_symbol): Likewise.
506104834Sobrien	(md_section_align): Likewise.
507104834Sobrien	(md_shortopts): Allow -k and -K for ELF.
508104834Sobrien	(md_parse_option): Set flag_want_pic if -k or -K.
509104834Sobrien	(tc_headers_hook): New function if OBJ_AOUT and not BFD_ASSEMBLER.
510104834Sobrien	(tc_gen_reloc): New function if BFD_ASSEMBLER.
511104834Sobrien	* config/tc-vax.h (tc_headers_hook): Remove.
512104834Sobrien	(TARGET_FORMAT): Set according to object format and target
513104834Sobrien	environment.
514104834Sobrien	(BFD_ARCH, TARGET_ARCH): Define.
515104834Sobrien	(NO_RELOC): Adjust for BFD_ASSEMBLER.
516104834Sobrien	(TC_RELOC_RTSYM_LOC_FIXUP, TC_FIX_ADJUSTABLE)
517104834Sobrien	(tc_fix_adjustable): Define if BFD_ASSEMBLER.
518104834Sobrien	* config/vax-inst.h (VAX_JSB, VAX_CALLS, VAX_CALLG): Define.
519104834Sobrien
520104834Sobrien2002-06-08  Alan Modra  <amodra@bigpond.net.au>
521104834Sobrien
522104834Sobrien	* Makefile.am: Run "make dep-am".
523104834Sobrien	* Makefile.in: Regenerate.
524104834Sobrien
525104834Sobrien	* as.c: Replace CONST with const.
526104834Sobrien	* write.c: Likewise.
527104834Sobrien	* config/obj-coff.c: Likewise.
528104834Sobrien	* config/tc-a29k.c: Likewise.
529104834Sobrien	* config/tc-arm.c: Likewise.
530104834Sobrien	* config/tc-dlx.c: Likewise.
531104834Sobrien	* config/tc-h8300.c: Likewise.
532104834Sobrien	* config/tc-h8500.c: Likewise.
533104834Sobrien	* config/tc-i370.c: Likewise.
534104834Sobrien	* config/tc-i860.c: Likewise.
535104834Sobrien	* config/tc-i960.c: Likewise.
536104834Sobrien	* config/tc-m68hc11.c: Likewise.
537104834Sobrien	* config/tc-m68k.c: Likewise.
538104834Sobrien	* config/tc-m88k.c: Likewise.
539104834Sobrien	* config/tc-mcore.c: Likewise.
540104834Sobrien	* config/tc-mips.c: Likewise.
541104834Sobrien	* config/tc-ns32k.c: Likewise.
542104834Sobrien	* config/tc-pdp11.c: Likewise.
543104834Sobrien	* config/tc-pj.c: Likewise.
544104834Sobrien	* config/tc-s390.c: Likewise.
545104834Sobrien	* config/tc-sh.c: Likewise.
546104834Sobrien	* config/tc-sparc.c: Likewise.
547104834Sobrien	* config/tc-tahoe.c: Likewise.
548104834Sobrien	* config/tc-tic80.c: Likewise.
549104834Sobrien	* config/tc-v850.c: Likewise.
550104834Sobrien	* config/tc-vax.c: Likewise.
551104834Sobrien	* config/tc-w65.c: Likewise.
552104834Sobrien	* config/tc-z8k.c: Likewise.
553104834Sobrien
554104834Sobrien2002-06-08  Daniel Jacobowitz  <drow@mvista.com>
555104834Sobrien
556104834Sobrien	Based on patch from Matt Green:
557104834Sobrien	* config/obj-elf.h (ECOFF_DEBUGGING): Make configurable.
558104834Sobrien	* config/tc-mips.c (s_mips_file): Renamed from s_file.
559104834Sobrien	(s_mips_loc): New function.
560104834Sobrien	(mips_nonecoff_pseudo_table): Call them.
561104834Sobrien	(append_insn): Call dwarf2_emit_insn.
562104834Sobrien
563104834Sobrien2002-06-08  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
564104834Sobrien
565104834Sobrien	* config/tc-mips.c (mips_opts): Fix comment, all ASE fields are set
566104834Sobrien	to -1.
567104834Sobrien	(file_ase_mips16): New veriable.
568104834Sobrien	(mips_eabi64): Remove.
569104834Sobrien	(CPU_HAS_MIPS16): New define.
570104834Sobrien	(CPU_HAS_MDMX): Fix data type.
571104834Sobrien	(md_begin): Code cleanup. Use file_ase_mips16.
572104834Sobrien	(mips_elf_final_processing): Handle mips16 header flag.
573104834Sobrien	Handle EABI flag without intermediate variable.
574104834Sobrien
575104834Sobrien2002-06-08  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
576104834Sobrien
577104834Sobrien	* doc/as.texinfo: Update MIPS documentation.
578104834Sobrien
579104834Sobrien2002-06-08  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
580104834Sobrien
581104834Sobrien	* config/tc-mips.c: Add define for $zero register.
582104834Sobrien	(md_begin): Add $zero as alias name for $0.
583104834Sobrien	(insn_uses_reg): Use ZERO define.
584104834Sobrien	(mips_ip): Add $zero as alias name for $0.
585104834Sobrien	(mips16_ip): Likewise.
586104834Sobrien	(s_cplocal): Demand empty rest of input line.
587104834Sobrien	(tc_get_register): Likewise. Add support for $kt0, kt1 register
588104834Sobrien	names. Use ZERO define. Fix input_line_pointer progress.
589104834Sobrien
590104834Sobrien2002-06-07  Alan Modra  <amodra@bigpond.net.au>
591104834Sobrien
592104834Sobrien	* symbols.c: Replace CONST by const throughout.
593104834Sobrien	(symbol_find_exact): Split out from..
594104834Sobrien	(symbol_find_base): ..here.
595104834Sobrien	* symbols.h: Replace CONST by const throughout.
596104834Sobrien	(symbol_find_exact): Declare.
597104834Sobrien	* config/obj-elf.c: #include "struc-symbol.h".
598104834Sobrien	(elf_frob_file): If group name matches an exported symbol, use that
599104834Sobrien	symbol for the signature and ".group" as the section name.
600104834Sobrien
601104834Sobrien2002-06-06  J"orn Rennecke <joern.rennecke@superh.com>
602104834Sobrien
603104834Sobrien	* config/tc-sh.c (parse_at): @(symbol,pc) is A_DISP_PC again,
604104834Sobrien	but warn about it.
605104834Sobrien	* testsuite/gas/sh/pcrel.s: Also test @(symbol,pc).
606104834Sobrien	* testsuite/gas/sh/pcrel.d: Update.
607104834Sobrien	* testsuite/gas/sh/pcrel.l: New file.
608104834Sobrien
609104834Sobrien2002-06-06  Daniel Jacobowitz  <drow@mvista.com>
610104834Sobrien
611104834Sobrien	* tc-mips.c (mips_after_parse_args): Always set mips_opts.ase_mips3d
612104834Sobrien	and mips_opts.ase_mdmx if they are uninitialized.
613104834Sobrien
614104834Sobrien2002-06-06  John David Anglin  <dave@hiauly1.hia.nrc.ca>
615104834Sobrien
616104834Sobrien	* gas/config/tc-hppa.c (pa_ip): Replace "L$0\001" with FAKE_LABEL_NAME.
617104834Sobrien	(hppa_force_relocation): Check if a stub just before the start symbol
618104834Sobrien	of the last call_info is reachable before forcing relocation.  Fix
619104834Sobrien	typo.
620104834Sobrien
621104834Sobrien2002-06-04  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
622104834Sobrien
623104834Sobrien	* config/tc-mips.c (mips_after_parse_args): New function.
624104834Sobrien	(md_begin): Move processing of defaults to mips_after_parse_args.
625104834Sobrien	config/tc-mips.h (md_after_parse_args): Define.
626104834Sobrien
627104834Sobrien2002-06-04  Jason Thorpe  <thorpej@wasabisystems.com>
628104834Sobrien
629104834Sobrien	* configure.in (sh5*): Set cpu_type to sh64 and endian to big.
630104834Sobrien	(sh5le*, sh64le*): Set cpu_type to sh64 and endian to little.
631104834Sobrien	(sh5*-*-netbsd*, sh64*-*-netbsd*): New targets.
632104834Sobrien	* configure: Regenerate.
633104834Sobrien	* config/tc-sh64.c (sh64_target_format): Add support for NetBSD
634104834Sobrien	environment.
635104834Sobrien
636104834Sobrien2002-06-04  Jason Thorpe  <thorpej@wasabisystems.com>
637104834Sobrien
638104834Sobrien	* config/tc-sh64.h (MD_PCREL_FROM_SECTION): Undef before redefining.
639104834Sobrien
640104834Sobrien2002-06-04  Alan Modra  <amodra@bigpond.net.au>
641104834Sobrien
642104834Sobrien	* config/obj-elf.c (obj_elf_change_section): Set and check elf
643104834Sobrien	linkonce flag.  Print all warnings.
644104834Sobrien	(obj_elf_section): Parse ",comdat" for groups.
645104834Sobrien	(elf_frob_file): Set SEC_LINK_ONCE on COMDAT groups.  Check
646104834Sobrien	consistency of comdat flag.
647104834Sobrien
648104834Sobrien2002-06-02  Richard Henderson  <rth@redhat.com>
649104834Sobrien
650104834Sobrien	* config/tc-alpha.c (alpha_adjust_symtab_relocs): Fix thinko
651104834Sobrien	with LITERALs without sequence numbers.
652104834Sobrien
653104834Sobrien2002-06-01  Richard Henderson  <rth@redhat.com>
654104834Sobrien
655104834Sobrien	* config/tc-alpha.c: Move LITUSE constants to "elf/alpha.h".
656104834Sobrien	Rename them LITUSE_ALPHA_*.
657104834Sobrien
658104834Sobrien2002-05-31  Shrinivas Atre <ShrinivasA@kpit.com>
659104834Sobrien
660104834Sobrien	* config/tc-h8300.c (get_operand): Allow stm.l and ldm.l insns to
661104834Sobrien	accept parentheses enclosed register lists.
662104834Sobrien
663104834Sobrien2002-05-31  Alan Modra  <amodra@bigpond.net.au>
664104834Sobrien
665104834Sobrien	* Makefile.am: Run "make dep-am".
666104834Sobrien	* Makefile.in: Regenerate.
667104834Sobrien	* po/POTFILES.in: Regenerate.
668104834Sobrien
669104834Sobrien2002-05-31  Graeme Peterson  <gp@qnx.com>
670104834Sobrien
671104834Sobrien	* configure.in: Add i386-*-nto-qnx*.
672104834Sobrien	* configure: Regenerate.
673104834Sobrien
674104834Sobrien2002-05-31  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
675104834Sobrien
676104834Sobrien	* config/tc-mips.c (mips_ip): Use unsigned long values for
677104834Sobrien	warning output.
678104834Sobrien
679104834Sobrien2002-05-31  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
680104834Sobrien
681104834Sobrien	* config/tc-mips.c (s_cpsetup): Fix initialization of
682104834Sobrien	mips_cpreturn_register and mips_cpreturn_offset.
683104834Sobrien
684104834Sobrien2002-05-31  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
685104834Sobrien
686104834Sobrien	* config/tc-mips.c (s_cpsetup): Fix comment.
687104834Sobrien
688104834Sobrien2002-05-31  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
689104834Sobrien
690104834Sobrien	* config/tc-mips.c (md_begin): Add $ra as alias name for $31.
691104834Sobrien	(mips_ip): Likewise.
692104834Sobrien	(mips16_ip): Likewise.
693104834Sobrien	(tc_get_register): Likewise.
694104834Sobrien
695104834Sobrien2002-05-30  Chris G. Demetriou  <cgd@broadcom.com>
696104834Sobrien	    Ed Satterthwaite  <ehs@broadcom.com>
697104834Sobrien
698104834Sobrien	* config/tc-mips.c (mips_set_options): New "ase_mdmx" member.
699104834Sobrien	(mips_opts): Initialize "ase_mdmx" member.
700104834Sobrien	(file_ase_mdmx): New variable.
701104834Sobrien	(CPU_HAS_MDMX): New macro.
702104834Sobrien	(md_begin): Initialize mips_opts.ase_mdmx and file_ase_mdmx
703104834Sobrien	based on command line options and configuration defaults.
704104834Sobrien	(macro_build): Note in comment that use of MDMX in macros is
705104834Sobrien	not currently allowed.
706104834Sobrien	(validate_mips_insn): Add support for the "O", "Q", "X", "Y", and
707104834Sobrien	"Z" MDMX operand types.
708104834Sobrien	(mips_ip): Accept MDMX instructions if mips_opts.ase_mdmx is set,
709104834Sobrien	and add support for the "O", "Q", "X", "Y", and "Z" MDMX operand
710104834Sobrien	types.
711104834Sobrien	(OPTION_MDMX, OPTION_NO_MDMX, md_longopts, md_parse_option):
712104834Sobrien	Add support for "-mdmx" and "-no-mdmx" options.
713104834Sobrien	(OPTION_ELF_BASE): Move to accomodate new options.
714104834Sobrien	(s_mipsset): Support ".set mdmx" and ".set nomdmx".
715104834Sobrien	(mips_elf_final_processing): Set MDMX ASE ELF header flag if
716104834Sobrien	file_ase_mdmx was set.
717104834Sobrien	* doc/as.texinfo: Document -mdmx and -no-mdmx options.
718104834Sobrien	* doc/c-mips.texi: Likewise, and document ".set mdmx" and ".set
719104834Sobrien	nomdmx" directives.
720104834Sobrien
721104834Sobrien2002-05-31  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
722104834Sobrien
723104834Sobrien	* config/tc-mips.c (OPTION_NO_M7000_HILO_FIX): Rename to
724104834Sobrien	OPTION_MNO_7000_HILO_FIX. Add alternate "mno-fix7000"
725104834Sobrien	command line switch conforming to gcc conventions.
726104834Sobrien	* doc/c-mips.texi: Document -mno-fix7000 instead of no-mfix-7000.
727104834Sobrien
728104834Sobrien2002-05-31  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
729104834Sobrien
730104834Sobrien	* config/tc-mips.c (macro_build_jalr): New Function.
731104834Sobrien	(md_begin): NewABI uses big GOTs.
732104834Sobrien	(macro_build): Recognize BFD_RELOC_MIPS_GOT_DISP,
733104834Sobrien	BFD_RELOC_MIPS_GOT_PAGE, BFD_RELOC_MIPS_GOT_OFST as valid.
734104834Sobrien	(load_address): Add some NewABI PIC support.
735104834Sobrien	(macro): Likewise.
736104834Sobrien	(md_apply_fix): Special handling for BFD_RELOC_MIPS_JALR.
737104834Sobrien	(tc_gen_reloc): Don't encode NewABI vtables in REL relocations.
738104834Sobrien
739104834Sobrien2002-05-31  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
740104834Sobrien
741104834Sobrien	* config/tc-mips.c (load_address): Use mips_gp_register instead
742104834Sobrien	of hardcoded value. Remove dbl parameter, use HAVE_32BIT_ADDRESSES
743104834Sobrien	instead.
744104834Sobrien	(macro): Use mips_gp_register instead of hardcoded value.
745104834Sobrien
746104834Sobrien2002-05-30  Richard Henderson  <rth@redhat.com>
747104834Sobrien
748104834Sobrien	* expr.h (operatorT): Add O_md17..O_md32.
749104834Sobrien	* config/tc-alpha.c (O_lituse_tlsgd, O_lituse_tlsldm, O_tlsgd,
750104834Sobrien	O_tlsldm, O_gotdtprel, O_dtprelhi, O_dtprello, O_dtprel, O_gottprel,
751104834Sobrien	O_tprelhi, O_tprello, O_tprel): New.
752104834Sobrien	(USER_RELOC_P, alpha_reloc_op_tag, debug_exp): Include them.
753104834Sobrien	(DUMMY_RELOC_LITUSE_TLSGD, DUMMY_RELOC_LITUSE_TLSLDM): New.
754104834Sobrien	(LITUSE_TLSGD, LITUSE_TLSLDM): New.
755104834Sobrien	(struct alpha_reloc_tag): Add master, saw_tlsgd, saw_tlsld,
756104834Sobrien	saw_lu_tlsgd, saw_lu_tlsldm.  Make multi_section_p a bit field.
757104834Sobrien	(md_apply_fix3): Handle TLS relocations.
758104834Sobrien	(alpha_force_relocation, alpha_fix_adjustable): Likewise.
759104834Sobrien	(alpha_adjust_symtab_relocs): Sort LITERAL relocs after the
760104834Sobrien	associated TLS reloc.  Check lituse_tls relocs match up.
761104834Sobrien	(emit_insn): Handle TLS relocations.
762104834Sobrien	(ldX_op): Remove.
763104834Sobrien
764104834Sobrien	* doc/c-alpha.texi: Add docs for tls relocations.
765104834Sobrien
766104834Sobrien2002-05-30  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
767104834Sobrien
768104834Sobrien	* config/tc-mips.c (mips_gprel_offset): New variable.
769104834Sobrien	(s_gpvalue): Use it.
770104834Sobrien
771104834Sobrien2002-05-30  Diego Novillo  <dnovillo@redhat.com>
772104834Sobrien
773104834Sobrien	* gas/config/tc-d10v.c (check_resource_conflict): Only check
774104834Sobrien	write-write conflicts.
775104834Sobrien	(md_assemble): Reformat introductory comment.
776104834Sobrien	(parallel_ok): Prevent packing only if the first
777104834Sobrien	instruction cannot be packed.
778104834Sobrien
779104834Sobrien2002-05-30  Jason Eckhardt <jle@redhat.com>
780104834Sobrien	    Tom Rix <trix@redhat.com>
781104834Sobrien
782104834Sobrien	* config/tc-d10v.c (build_insn): Check for immediates.
783104834Sobrien
784104834Sobrien2002-05-28  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
785104834Sobrien
786104834Sobrien	* config/tc-mips.c: Replace GP in comments by $gp.
787104834Sobrien	(mips_big_got): Initialize.
788104834Sobrien	(mips_trap): Initialize.
789104834Sobrien	(load_address): Use mips_gp_register instead of hardcoded value.
790104834Sobrien	Remove dbl parameter, use HAVE_32BIT_ADDRESSES instead.
791104834Sobrien	(macro): Use mips_gp_register instead of hardcoded value.
792104834Sobrien	(macro2): Change load_address calls.
793104834Sobrien	(md_pcrel_from): Comment formatting.
794104834Sobrien	(s_cpload): Use mips_gp_register instead of hardcoded value.
795104834Sobrien	(s_cprestore): Likewise. Comment formatting.
796104834Sobrien	(s_gpword): Fix data type.
797104834Sobrien	(s_cpadd): Use mips_gp_register instead of hardcoded value.
798104834Sobrien	(nopic_need_relax): Replace GP in comments by $gp.
799104834Sobrien	(mips_elf_final_processing): Better comment.
800104834Sobrien
801104834Sobrien2002-05-28  Kuang Hwa Lin <kuang@sbcglobal.net>
802104834Sobrien
803104834Sobrien	* configure.in: Add DLX configuraton
804104834Sobrien	* Makefile.am: Add DLX configuraton
805104834Sobrien	* configure: Regenerate.
806104834Sobrien	* Makefile.in: Regenerate.
807104834Sobrien	* config/tc-dlx.c: New file.
808104834Sobrien	* config/tc-dlx.h: New files.
809104834Sobrien	* NEWS: Mention new support.
810104834Sobrien
811104834Sobrien2002-05-27  Nick Clifton  <nickc@cambridge.redhat.com>
812104834Sobrien
813104834Sobrien	* config/obj-coff.c (write_object_file): Add missing semicolon.
814104834Sobrien
815104834Sobrien2002-05-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
816104834Sobrien
817104834Sobrien	* config/tc-mips.c (mips_emit_delays): Replace magic constant for RA
818104834Sobrien	by the define. Remove superfluous check of mips_opts.mips16.
819104834Sobrien	(append_insn): Likewise. Canonicalize variable increments.
820104834Sobrien	(macro_build): Canonicalize variable increments.
821104834Sobrien	(macro_build_lui): Likewise.
822104834Sobrien	(load_register): Likewise.
823104834Sobrien	(load_address): Move pointer initialization.
824104834Sobrien	(macro): Move pointer to a more local scope. Canonicalize variable
825104834Sobrien	increments. Better comments. Replace magic constant for RA by the
826104834Sobrien	define.
827104834Sobrien	(macro2): Replace magic constant for RA by the define. Canonicalize
828104834Sobrien	variable increments.
829104834Sobrien	(mips_ip): Canonicalize variable increments.
830104834Sobrien	(mips16_ip): Replace magic constant for RA by the define.
831104834Sobrien	(my_getSmallParser): Canonicalize variable increments/decrements.
832104834Sobrien	(my_getPercentOp): Likewise.
833104834Sobrien	(my_getSmallExpression): Likewise.
834104834Sobrien	(s_align): Likewise.
835104834Sobrien	(s_mipsset): Likewise.
836104834Sobrien	(s_cpsetup): Likewise.
837104834Sobrien	(s_insn): Remove superfluous check of mips_opts.mips16.
838104834Sobrien	(s_mips_stab): Likewise.
839104834Sobrien	(mips_handle_align): Canonicalize variable increments.
840104834Sobrien	(s_mips_ent): Likewise.
841104834Sobrien	(s_mips_end): Add comment.
842104834Sobrien
843104834Sobrien2002-05-26  Jason Thorpe  <thorpej@wasabisystems.com>
844104834Sobrien
845104834Sobrien	* configure.in: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
846104834Sobrien	* configure: Regenerate.
847104834Sobrien
848104834Sobrien2002-05-25  Alan Modra  <amodra@bigpond.net.au>
849104834Sobrien
850104834Sobrien	* Makefile.am (OBJS): Depend on ansidecl.h and fopen-same.h.
851104834Sobrien	* Makefile.in: Regenerate.
852104834Sobrien	* dep-in.sed: Reorder to match OBJS in Makefile.am.
853104834Sobrien	* configure.in (ALL_OBJ_DEPS): Add symcat.h when need_bfd.
854104834Sobrien	* configure: Regenerate.
855104834Sobrien	* as.h: Use #include "" instead of <> for local header files.
856104834Sobrien	* flonum-konst.c: Likewise.
857104834Sobrien	* flonum-mult.c: Likewise.
858104834Sobrien	* gasp.c: Likewise.
859104834Sobrien	* listing.c: Likewise.
860104834Sobrien	* config/tc-ia64.h: Likewise.
861104834Sobrien	* config/tc-v850.h: Likewise.
862104834Sobrien
863104834Sobrien2002-05-24  TAMURA Kent <kent@netbsd.org>
864104834Sobrien
865104834Sobrien	* configure.in: Add a target for i386-netbsdpe.
866104834Sobrien	* configure: Regenerate.
867104834Sobrien
868104834Sobrien2002-05-23  Jakub Jelinek  <jakub@redhat.com>
869104834Sobrien
870104834Sobrien	* config/obj-elf.c (elf_common): Renamed from obj_elf_common.
871104834Sobrien	(obj_elf_common): Call elf_common.
872104834Sobrien	(obj_elf_tls_common): New function.
873104834Sobrien	(elf_pseudo_tab): Support .tls_common.
874104834Sobrien	(special_sections): Add .tdata and .tbss.
875104834Sobrien	(obj_elf_change_section): Set SEC_THREAD_LOCAL for SHF_TLS
876104834Sobrien	sections.
877104834Sobrien	(obj_elf_parse_section_letters): Support T in section flags (SHF_TLS).
878104834Sobrien	(obj_elf_parse_section_letters): Include T in error message.
879104834Sobrien	* config/tc-ppc.c (ppc_section_letter): Likewise.
880104834Sobrien	* config/tc-alpha.c (alpha_elf_section_letter): Likewise.
881104834Sobrien	(tc_gen_reloc): Handle SEC_THREAD_LOCAL the same way as
882104834Sobrien	SEC_MERGE.
883104834Sobrien	* config/tc-sparc.c (md_apply_fix3): Likewise.
884104834Sobrien	* config/tc-i386.c (tc_i386_fix_adjustable): Add TLS relocs.
885104834Sobrien	Define them if not BFD_ASSEMBLER.
886104834Sobrien	(lex_got): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF, @DTPOFF
887104834Sobrien	and @NTPOFF.
888104834Sobrien	(md_apply_fix3): Add TLS relocs.
889104834Sobrien	* config/tc-ia64.c (enum reloc_func): Add FUNC_DTP_MODULE,
890104834Sobrien	FUNC_DTP_RELATIVE, FUNC_TP_RELATIVE, FUNC_LT_DTP_MODULE,
891104834Sobrien	FUNC_LT_DTP_RELATIVE, FUNC_LT_TP_RELATIVE.
892104834Sobrien	(pseudo_func): Support @dtpmod(), @dtprel() and @tprel().
893104834Sobrien	(ia64_elf_section_letter): Include T in error message.
894104834Sobrien	(md_begin): Support TLS operators.
895104834Sobrien	(md_operand): Likewise.
896104834Sobrien	(ia64_gen_real_reloc_type): Support TLS relocs.
897104834Sobrien	* testsuite/gas/i386/tlspic.s: New file.
898104834Sobrien	* testsuite/gas/i386/tlsd.s: New file.
899104834Sobrien	* testsuite/gas/i386/tlsnopic.s: New file.
900104834Sobrien	* testsuite/gas/i386/tlsd.d: New file.
901104834Sobrien	* testsuite/gas/i386/tlsnopic.d: New file.
902104834Sobrien	* testsuite/gas/i386/tlspic.d: New file.
903104834Sobrien	* testsuite/gas/i386/i386.exp: Add tlsd, tlsnopic and tlspic tests.
904104834Sobrien	* testsuite/gas/ia64/tls.s: New file.
905104834Sobrien	* testsuite/gas/ia64/tls.d: New file.
906104834Sobrien	* testsuite/gas/ia64/ia64.exp: Add tls test.
907104834Sobrien	* write.c (adjust_reloc_syms): Don't change symbols in
908104834Sobrien	SEC_THREAD_LOCAL sections to STT_SECTION + addend.
909104834Sobrien
910104834Sobrien2002-05-23  Nick Clifton  <nickc@cambridge.redhat.com>
911104834Sobrien
912104834Sobrien	* config/tc-arm.c (md_apply_fix3): For the Thumb BLX reloc
913104834Sobrien	round the relocation up rather than down.
914104834Sobrien
915104834Sobrien2002-05-23  Nick Clifton  <nickc@cambridge.redhat.com>
916104834Sobrien
917104834Sobrien	* config/obj-coff.c (obj_coff_section): Silently ignore an 'a'
918104834Sobrien	flag.
919104834Sobrien	* doc/as.texinfo: Document that the COFF version of .section
920104834Sobrien	ignores the 'a' flag.
921104834Sobrien
922104834Sobrien2002-05-23  Alan Modra  <amodra@bigpond.net.au>
923104834Sobrien
924104834Sobrien	* config/tc-alpha.c (assemble_tokens): Protect use of
925104834Sobrien	ALPHA_RELOC_TABLE with #ifdef RELOC_OP_P.
926104834Sobrien
927104834Sobrien	* write.c (size_seg): Check adjustment to last frag.
928104834Sobrien	(SUB_SEGMENT_ALIGN): If HANDLE_ALIGN defined, pad out last frag to
929104834Sobrien	section alignment.
930104834Sobrien	* config/obj-coff.c (SUB_SEGMENT_ALIGN): Likewise.
931104834Sobrien	* config/obj-ieee.c (SUB_SEGMENT_ALIGN): Likewise.
932104834Sobrien	(write_object_file): Invoke md_do_align if available, and use
933104834Sobrien	frag_align_code on text sections.
934104834Sobrien	* config/obj-vms.h (SUB_SEGMENT_ALIGN): Now two args.
935104834Sobrien	* config/tc-m88k.h (SUB_SEGMENT_ALIGN): Likewise.
936104834Sobrien	* config/tc-ppc.h (SUB_SEGMENT_ALIGN): Likewise.
937104834Sobrien	* config/tc-sh.h (SUB_SEGMENT_ALIGN): Likewise.
938104834Sobrien	* config/tc-i386.h (SUB_SEGMENT_ALIGN): Likewise.  Define for
939104834Sobrien	BFD_ASSEMBLER too.
940104834Sobrien
941104834Sobrien2002-05-22  H.J. Lu <hjl@gnu.org>
942104834Sobrien
943104834Sobrien	* dwarf2dbg.c (dwarf2_directive_loc): Call listing_source_file
944104834Sobrien	for source file.
945104834Sobrien
946104834Sobrien2002-05-22  Nick Clifton  <nickc@cambridge.redhat.com>
947104834Sobrien
948104834Sobrien	* config/tc-arm.c (arm_s_section): Enable for COFF builds as well
949104834Sobrien	as ELF builds.
950104834Sobrien
951104834Sobrien2002-05-22  H.J. Lu <hjl@gnu.org>
952104834Sobrien
953104834Sobrien	* dwarf2dbg.c (dwarf2_emit_insn): Emit only one line symbol
954104834Sobrien	for one .loc for compiler.
955104834Sobrien
956104834Sobrien2002-05-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
957104834Sobrien
958104834Sobrien	* config/tc-mips.c (macro): Relax warning, it's toot strict for
959104834Sobrien	embedded-PIC.
960104834Sobrien
961104834Sobrien2002-05-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
962104834Sobrien
963104834Sobrien	* config/tc-mips.c (macro2): Add 64 bit drol, dror macros.
964104834Sobrien	Optimize the rotate by zero case.
965104834Sobrien
966104834Sobrien2002-05-21  Nick Clifton  <nickc@cambridge.redhat.com>
967104834Sobrien
968104834Sobrien	* configure.in: Remove accidental enabling of bfd_gas=yes for
969104834Sobrien	sh-coff targets.
970104834Sobrien	* configure: Regenerate.
971104834Sobrien
972104834Sobrien2002-05-18  Kazu Hirata  <kazu@cs.umass.edu>
973104834Sobrien
974104834Sobrien	* app.c: Fix formatting.
975104834Sobrien	* as.c: Likewise.
976104834Sobrien	* ehopt.c: Likewise.
977104834Sobrien	* expr.c: Likewise.
978104834Sobrien	* input-file.c: Likewise.
979104834Sobrien	* listing.c: Likewise.
980104834Sobrien	* macro.h: Likewise.
981104834Sobrien	* stabs.c: Likewise.
982104834Sobrien	* symbols.c: Likewise.
983104834Sobrien
984104834Sobrien2002-05-17  Alan Modra  <amodra@bigpond.net.au>
985104834Sobrien
986104834Sobrien	* config/obj-generic.c: Delete file.
987104834Sobrien	* config/obj-generic.h: Likewise.
988104834Sobrien
989104834Sobrien2002-05-16  Marek Michalkiewicz  <marekm@amelek.gda.pl>
990104834Sobrien
991104834Sobrien	* config/tc-avr.c (mcu_types): Update for new devices.
992104834Sobrien
993104834Sobrien2002-05-15  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
994104834Sobrien
995104834Sobrien	* config/tc-mips.c (macro): Warn about wrong la/dla use.
996104834Sobrien
997104834Sobrien2002-05-15  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
998104834Sobrien
999104834Sobrien	* config/tc_mips.c (s_cpsetup): Fix completely bogus code which had
1000104834Sobrien	worked sometimes by accident. Fix copy&paste comment.
1001104834Sobrien
1002104834Sobrien2002-05-15  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1003104834Sobrien
1004104834Sobrien	* config/tc-mips.c (md_begin): Fix .reginfo and .MIPS.option section
1005104834Sobrien	alignment for NewABI. Let n32 use .reginfo. Remove useless casts.
1006104834Sobrien	(mips_elf_final_processing): Let n32 use .reginfo.
1007104834Sobrien
1008104834Sobrien2002-05-15  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1009104834Sobrien
1010104834Sobrien	* config/tc-mips.c (append_insn): Fix too small range of variable.
1011104834Sobrien
1012104834Sobrien2002-05-14  Nick Clifton  <nickc@cambridge.redhat.com>
1013104834Sobrien
1014104834Sobrien	* config/tc-arm.c (arm_cleanup): Remove redundant call to
1015104834Sobrien	listing_prev_line().
1016104834Sobrien
101799461Sobrien2002-05-13  Nick Clifton  <nickc@cambridge.redhat.com>
101899461Sobrien
1019104834Sobrien	* config/tc-arm.c (md_assemble): Remove redundant call to
1020104834Sobrien	listing_prev().
1021104834Sobrien
1022104834Sobrien	* dwarf2dbg.c (dwarf2_emit_insn): Do not reset
1023104834Sobrien	loc_directive_seen.
1024104834Sobrien
102599461Sobrien	* stabs.c (s_stab_generic): Fix grammatical error in warning
102699461Sobrien	message.
102799461Sobrien
1028104834Sobrien2002-05-13  Alan Modra  <amodra@bigpond.net.au>
1029104834Sobrien
1030104834Sobrien	* write.c (subsegs_finish): Don't specially align last subseg.
1031104834Sobrien
103299461Sobrien2002-05-11  Nick Clifton  <nickc@cambridge.redhat.com>
103399461Sobrien
103499461Sobrien	* stabs.c (s_stab_generic): Warn about a description field that is
103599461Sobrien	too big.
103699461Sobrien
103799461Sobrien	* config/obj-coff.c: Fix compile time warnings when compiling
103899461Sobrien	without BFD_ASSEMBLER defined.
103999461Sobrien	Fix formatting.
104099461Sobrien
104199461Sobrien	* config/tc-sh.c (md_pcrel_from): Define for use with sh-hms
104299461Sobrien	target.
104399461Sobrien	(md_pcrel_from_section): Use md_pcrel_from().
104499461Sobrien
1045104834Sobrien2002-05-11  Bruno Haible  <bruno@clisp.org>
1046104834Sobrien
1047104834Sobrien	* dwarf2dbg.c (dwarf2_emit_insn): Use the 'current' struct filled
1048104834Sobrien	by dwarf2_directive_loc, instead of calling dwarf2_where.
1049104834Sobrien
1050104834Sobrien2002-05-11  Kazu Hirata  <kazu@cs.umass.edu>
1051104834Sobrien
1052104834Sobrien	* config/obj-coff.h: Fix formatting.
1053104834Sobrien	* config/tc-mcore.c: Likewise.
1054104834Sobrien	* config/tc-mn10300.c: Likewise.
1055104834Sobrien	* config/tc-openrisc.c: Likewise.
1056104834Sobrien	* config/tc-or32.c: Likewise.
1057104834Sobrien	* config/tc-pdp11.c: Likewise.
1058104834Sobrien	* config/tc-ppc.c: Likewise.
1059104834Sobrien	* config/tc-ppc.h: Likewise.
1060104834Sobrien	* config/tc-sh64.c: Likewise.
1061104834Sobrien	* config/tc-sh.c: Likewise.
1062104834Sobrien	* config/tc-tic54x.c: Likewise.
1063104834Sobrien	* config/tc-xstormy16.c: Likewise.
1064104834Sobrien	* config/tc-xstormy16.h: Likewise.
1065104834Sobrien
1066104834Sobrien2002-05-09  Kazu Hirata  <kazu@cs.umass.edu>
1067104834Sobrien
1068104834Sobrien	* config/obj-coff.c: Fix formatting.
1069104834Sobrien	* config/obj-elf.c: Likewise.
1070104834Sobrien	* config/tc-alpha.c: Likewise.
1071104834Sobrien	* config/tc-arm.c: Likewise.
1072104834Sobrien	* config/tc-d10v.c: Likewise.
1073104834Sobrien	* config/tc-d30v.c: Likewise.
1074104834Sobrien	* config/tc-h8300.c: Likewise.
1075104834Sobrien	* config/tc-hppa.c: Likewise.
1076104834Sobrien
107799461Sobrien2002-05-09  Alan Modra  <amodra@bigpond.net.au>
107899461Sobrien
107999461Sobrien	* config/tc-i386.c (md_estimate_size_before_relax) Don't lose
108099461Sobrien	reloc when no_cond_jump_promotion.
108199461Sobrien
1082104834Sobrien2002-05-08  Jim Wilson  <wilson@redhat.com>
1083104834Sobrien
108499461Sobrien	* config/tc-i960.c (md_estimate_size_before_relax): Return size of
108599461Sobrien	current variable part of frag.
108699461Sobrien
1087104834Sobrien2002-05-08  Kazu Hirata  <kazu@cs.umass.edu>
108899461Sobrien
1089104834Sobrien	* config/tc-mmix.c: Fix formatting.
1090104834Sobrien	* config/tc-mmix.h: Likewise.
109199461Sobrien
1092104834Sobrien2002-05-08  Alan Modra  <amodra@bigpond.net.au>
109399461Sobrien
1094104834Sobrien	* configure: Regenerate.
1095104834Sobrien
1096104834Sobrien2002-05-07  Kazu Hirata  <kazu@cs.umass.edu>
1097104834Sobrien
1098104834Sobrien	* config/tc-m68k.c: Fix formatting.
1099104834Sobrien
1100104834Sobrien2002-05-07  Federico G. Schwindt <fgsch@olimpo.com.br>
1101104834Sobrien
1102104834Sobrien	* Makefile.am: Honour DESTDIR.
1103104834Sobrien	* Makefile.in: Regenerate.
1104104834Sobrien
1105104834Sobrien2002-05-06  Kazu Hirata  <kazu@cs.umass.edu>
1106104834Sobrien
1107104834Sobrien	* config/tc-ia64.c: Fix formatting.
1108104834Sobrien	* config/tc-ia64.h: Likewise.
1109104834Sobrien
1110104834Sobrien2002-05-04  Kazu Hirata  <kazu@cs.umass.edu>
1111104834Sobrien
1112104834Sobrien	* config/tc-mips.c: Fix formatting.
1113104834Sobrien	* config/tc-s390.c: Likewise.
1114104834Sobrien	* config/tc-s390.h: Likewise.
1115104834Sobrien
111699461Sobrien2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
111799461Sobrien
111899461Sobrien	* config/tc-s390.c (md_gather_operands): Emit dwarf2 line-number
111999461Sobrien	information for instructions.
112099461Sobrien
1121104834Sobrien2002-05-02  Kazu Hirata  <kazu@cs.umass.edu>
1122104834Sobrien
1123104834Sobrien	* as.h: Fix formatting.
1124104834Sobrien	* cgen.c: Likewise.
1125104834Sobrien	* cgen.h: Likewise.
1126104834Sobrien	* dwarf2dbg.c: Likewise.
1127104834Sobrien	* frags.h: Likewise.
1128104834Sobrien	* gasp.c: Likewise.
1129104834Sobrien	* macro.c: Likewise.
1130104834Sobrien	* read.c: Likewise.
1131104834Sobrien	* stabs.c: Likewise.
1132104834Sobrien	* symbols.c: Likewise.
1133104834Sobrien
1134104834Sobrien2002-05-02  Alan Modra  <amodra@bigpond.net.au>
1135104834Sobrien
1136104834Sobrien	* app.c (mri_pseudo): Only declare for TC_M68K.
1137104834Sobrien
1138104834Sobrien	* config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL.
1139104834Sobrien	(ppc_elf_validate_fix): Replace BFD_RELOC_32_BASEREL with
1140104834Sobrien	BFD_RELOC_16_BASEREL.
1141104834Sobrien	(md_assemble): Likewise.
1142104834Sobrien	(md_apply_fix3): Likewise.
1143104834Sobrien
114499461Sobrien2002-05-02  Nick Clifton  <nickc@cambridge.redhat.com>
114599461Sobrien
114699461Sobrien	* config/tc-arm.c (thumb_add_sub): Do not convert a subtract of
114799461Sobrien	zero into an add of zero - it is not the same.
114899461Sobrien
1149104834Sobrien2002-05-01  Arati Dikey <aratid@kpit.com>
115099461Sobrien
1151104834Sobrien	* tc-sh.c (get_specific): Generate warning if the same
1152104834Sobrien	destination register is used in parallel instructions.
115399461Sobrien
1154104834Sobrien2002-05-01  Andrew Macleod  <amacleod@cygnus.com>
115599461Sobrien
1156104834Sobrien	* config/tc-i386.c (extra_symbol_chars): Add '[' to the list.
115799461Sobrien
1158104834Sobrien2002-05-01  Alan Modra  <amodra@bigpond.net.au>
115999461Sobrien
1160104834Sobrien	* write.c (cvt_frag_to_fill): Set fr_offset to zero on .org
1161104834Sobrien	backwards to prevent cascading errors.
116299461Sobrien
1163104834Sobrien2002-04-30  Mark Mitchell  <mark@codesourcery.com>
1164104834Sobrien
1165104834Sobrien	* configure.in: Add support for powerpc-*-windiss.
1166104834Sobrien	* configure: Regenerated.
1167104834Sobrien
1168104834Sobrien2002-04-28  Alan Modra  <amodra@bigpond.net.au>
1169104834Sobrien
1170104834Sobrien	* config/tc-s390.c (md_parse_option): Formatting.
1171104834Sobrien
1172104834Sobrien	* config/tc-i386.c: Formatting fixes, add missing space in error
1173104834Sobrien	message.
1174104834Sobrien
1175104834Sobrien2002-04-24  Christian Groessler <chris@groessler.org>
1176104834Sobrien
1177104834Sobrien	* config/tc-z8k.c (build_bytes): Add support for new cases:
1178104834Sobrien	CLASS_IGNORE and ARG_NIM4.
1179104834Sobrien	(md_assemble): Prevent destruction of input_line_pointer if
1180104834Sobrien	get_operands returns failure.
1181104834Sobrien
1182104834Sobrien2002-04-24  Chris G. Demetriou  <cgd@broadcom.com>
1183104834Sobrien
1184104834Sobrien	* config/tc-mips.c (macro_build): Do _not_ allow MIPS-3D
1185104834Sobrien	instructions to be generated by macros.
1186104834Sobrien
118799461Sobrien2002-04-24  Andreas Schwab  <schwab@suse.de>
118899461Sobrien
118999461Sobrien	* config/tc-i386.c (output_jump, output_disp)
119099461Sobrien	(md_estimate_size_before_relax): Don't set fx_pcrel_adjust any
119199461Sobrien	more.
119299461Sobrien	(md_apply_fix3): Remember addend value for rela relocations.
119399461Sobrien	(tc_gen_reloc): Correctly compute pc-relative relocation addend.
119499461Sobrien
1195104834Sobrien2002-04-22  Chris Demetriou  <cgd@broadcom.com>
1196104834Sobrien
1197104834Sobrien	* config/tc-mips.c (macro_build): Add close-parenthesis missing
1198104834Sobrien	from previous change.
1199104834Sobrien
1200104834Sobrien2002-04-22  Eric Christopher  <echristo@redhat.com>
1201104834Sobrien
1202104834Sobrien	* config/tc-mips.c (macro_build): Add warning if macro instructions
1203104834Sobrien	are expanded into a branch delay slot.
1204104834Sobrien
1205104834Sobrien2002-04-17  Geoffrey Keating  <geoffk@redhat.com>
1206104834Sobrien
1207104834Sobrien	* dwarf2dbg.c (dwarf2_gen_line_info): Do emit duplicate line
1208104834Sobrien	numbers, gdb relies on them to detect the start of the prologue.
1209104834Sobrien
1210104834Sobrien2002-04-17  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1211104834Sobrien
1212104834Sobrien	* config/tc-s390.c (tc_s390_fix_adjustable): Prevent adjustments to
1213104834Sobrien	symbols in merge sections.
1214104834Sobrien
1215104834Sobrien2002-04-16  Alan Modra  <amodra@bigpond.net.au>
1216104834Sobrien
1217104834Sobrien	* as.c (main): Don't reference _bfd_chunksize.
1218104834Sobrien
1219104834Sobrien2002-04-15  Tom Rix  <trix@redhat.com>
1220104834Sobrien
1221104834Sobrien	* config/tc-d10v.c (d10v_fix_adjustable): Prevent adjustments to
1222104834Sobrien	symbols in merge sections.
1223104834Sobrien
1224104834Sobrien2002-04-11  Richard Sandiford  <rsandifo@redhat.com>
1225104834Sobrien
1226104834Sobrien	* doc/invoke.texi (TC_LARGEST_EXPONENT_IS_NORMAL): Document.
1227104834Sobrien	* config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): Add an
1228104834Sobrien	argument for the precision.
1229104834Sobrien	(gen_to_words): Update accordingly.
1230104834Sobrien
123194536Sobrien2002-04-10  Alan Modra  <amodra@bigpond.net.au>
123294536Sobrien
123394536Sobrien	* as.c (parse_args <OPTION_VERSION>): Use VERSION is
123494536Sobrien	BFD_VERSION_STRING unavailable.
123594536Sobrien	* config/tc-i386.c (INLINE): Define (for non-BFD assembler).
123694536Sobrien
1237104834Sobrien2002-04-09  J"orn Rennecke <joern.rennecke@superh.com>
1238104834Sobrien
1239104834Sobrien	* config/tc-sh.h (TC_FIX_ADJUSTABLE): Disable adjusting if
1240104834Sobrien	symbol_used_in_reloc_p is true.
1241104834Sobrien
1242104834Sobrien	* config/tc-sh.c (md_apply_fix3): Don't zero relocations on big
1243104834Sobrien	endian hosts.
1244104834Sobrien
124594536Sobrien2002-04-04  Alan Modra  <amodra@bigpond.net.au>
124694536Sobrien
124794536Sobrien	* dep-in.sed: Cope with absolute paths.
124894536Sobrien	* Makefile.am (dep.sed): Subst TOPDIR.
124994536Sobrien	Run "make dep-am".
125094536Sobrien	* Makefile.in: Regenerate.
125194536Sobrien
1252104834Sobrien2002-04-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1253104834Sobrien
1254104834Sobrien	* config/tc-mips.c (mips16_macro_build): Cast type mismatch.
1255104834Sobrien	(mips_ip): Remove unused variable.
1256104834Sobrien	(md_apply_fix3): Cast signed/unsignes mismatches. Replace
1257104834Sobrien	unsigned char with bfd_byte.
1258104834Sobrien	(s_file): Remove unused variable.
1259104834Sobrien	(s_mips_ent): Likewise.
1260104834Sobrien
1261104834Sobrien2002-04-03  Tom Rix  <trix@redhat.com>
1262104834Sobrien
1263104834Sobrien	* config/tc-d10v.c (d10v_insert_operand): Fix warning in as_bad_where.
1264104834Sobrien	(build_insn): Same.
1265104834Sobrien	(find_opcode): Fix warning in as_warn.
1266104834Sobrien	* config/tc-d10v.h: Update Copyright.
1267104834Sobrien
1268104834Sobrien2002-04-03  Alan Matsuoka <alanm@redhat.com>
1269104834Sobrien	    Tom Rix  <trix@redhat.com>
1270104834Sobrien
1271104834Sobrien	From Jeff Knaggs <jknaggs@redhat.com>
1272104834Sobrien	* config/tc-d10v.c (check_resource_conflict): New function to
1273104834Sobrien	check for resource conflicts.
1274104834Sobrien
1275104834Sobrien	From Jason Eckhardt  <jle@redhat.com>
1276104834Sobrien	* config/tc-d10v.c (build_insn): Check for unresolved imm4 or
1277104834Sobrien	imm3 fields.
1278104834Sobrien	* config/tc-d10v.c (find_opcode): Emit a warning if one of the
1279104834Sobrien	reserved control registers is used.
1280104834Sobrien	* config/tc-d10v.c (build_insn): Check for unresolved imm4 or
1281104834Sobrien	imm3 fields.
1282104834Sobrien
1283104834Sobrien	From 2001-03-28  Diego Novillo  <dnovillo@redhat.com>
1284104834Sobrien	* tc-d10v.c (parallel_ok): Prevent packing only if the first
1285104834Sobrien	instruction cannot be packed.
1286104834Sobrien
1287104834Sobrien	From 2001-03-30  Diego Novillo  <dnovillo@redhat.com>
1288104834Sobrien	* gas/config/tc-d10v.c (check_resource_conflict): Only check
1289104834Sobrien	write-write conflicts.
1290104834Sobrien	(md_assemble): Reformat introductory comment.
1291104834Sobrien	* opcodes/d10v-opc.c (d10v_opcodes): `btsti' does not modify its
1292104834Sobrien	arguments.
1293104834Sobrien
1294104834Sobrien2002-04-03  Alan Modra  <amodra@bigpond.net.au>
1295104834Sobrien
1296104834Sobrien	* symbols.c (resolve_symbol_value <O_uminus, O_bit_not,
1297104834Sobrien	O_logical_not>): Derive final_seg from add_symbol.
1298104834Sobrien	<O_multiply..O_logical_or>: More final_seg twiddles.
1299104834Sobrien
130094536Sobrien2002-04-01  Jessica Han  <jessica@cup.hp.com>
130194536Sobrien
130294536Sobrien	* config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc
130394536Sobrien	in 32-bit mode.
130494536Sobrien
1305104834Sobrien2002-03-27  Andreas Schwab  <schwab@suse.de>
130694536Sobrien
1307104834Sobrien	* config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of
1308104834Sobrien	field for pc-relative fixups.
1309104834Sobrien	(output_disp): Likewise.
1310104834Sobrien	(md_estimate_size_before_relax): Likewise.
1311104834Sobrien	(tc_gen_reloc): Subtract fx_pcrel_adjust instead of fx_size for
1312104834Sobrien	pc-relative fixups in 64bit mode.
1313104834Sobrien
1314104834Sobrien2002-03-22  Alan Modra  <amodra@bigpond.net.au>
1315104834Sobrien
1316104834Sobrien	* config/te-aix5.h: Typo fix.
1317104834Sobrien
1318104834Sobrien2002-03-21  Alan Modra  <amodra@bigpond.net.au>
1319104834Sobrien
132094536Sobrien	* Makefile.am: Run "make dep-am".
132194536Sobrien	* Makefile.in: Regenerate.
132294536Sobrien	* doc/Makefile.in: Regenerate.
132394536Sobrien
1324104834Sobrien2002-03-20  Albert Chin-A-Young  <china@thewrittenword.com>
1325104834Sobrien
1326104834Sobrien	* config/tc-arm.c (vfp_dp_reg_required_here): Fix typo
1327104834Sobrien	(vfp_sp_reg_pos -> vfp_dp_reg_pos).
1328104834Sobrien
1329104834Sobrien2002-03-18  Alexandre Oliva  <aoliva@redhat.com>
1330104834Sobrien
1331104834Sobrien	* config/tc-mips.c (md_estimate_size_before_relax): Do not modify
1332104834Sobrien	the EXTENDED bit here; report the estimate according to the
1333104834Sobrien	current size.
1334104834Sobrien
1335104834Sobrien2002-03-18  Tom Rix  <trix@redhat.com>
1336104834Sobrien
1337104834Sobrien	* configure.in: Add AIX 5 support.
1338104834Sobrien	* config/tc-ppc.c (ppc_target_format): Add AIX 5 64 bit target.
1339104834Sobrien	* config/te-aix5.h: New file. AIX 5 support.
1340104834Sobrien	* configure: Regenerate.
1341104834Sobrien
1342104834Sobrien2002-03-18  Nick Clifton  <nickc@cambridge.redhat.com>
1343104834Sobrien
1344104834Sobrien	* po/fr.po: Updated version.
1345104834Sobrien
1346104834Sobrien2002-03-16  Andreas Jaeger  <aj@suse.de>
1347104834Sobrien
1348104834Sobrien	* doc/c-mips.texi (Machine Dependencies): Add new node.
1349104834Sobrien
1350104834Sobrien2002-03-15  Chris G. Demetriou  <cgd@broadcom.com>
1351104834Sobrien
1352104834Sobrien	* config/tc-mips.c (mips_set_options): New "ase_mips3d" member.
1353104834Sobrien	(mips_opts): Initialize "ase_mips3d" member.
1354104834Sobrien	(file_ase_mips3d): New variable.
1355104834Sobrien	(CPU_HAS_MIPS3D): New macro.
1356104834Sobrien	(md_begin): Initialize mips_opts.ase_mips3d and file_ase_mips3d
1357104834Sobrien	based on command line options and configuration defaults.
1358104834Sobrien	(macro_build, mips_ip): Accept MIPS-3D instructions if
1359104834Sobrien	mips_opts.ase_mips3d is set.
1360104834Sobrien	(OPTION_MIPS3D, OPTION_NO_MIPS3D, md_longopts, md_parse_option):
1361104834Sobrien	Add support for "-mips3d" and "-no-mips3d" options.
1362104834Sobrien	(OPTION_ELF_BASE): Move to accomodate new options.
1363104834Sobrien	(s_mipsset): Support ".set mips3d" and ".set nomips3d".
1364104834Sobrien	(mips_elf_final_processing): Add a comment indicating that a
1365104834Sobrien	MIPS-3D ASE ELF header flag should be set, when one exists.
1366104834Sobrien	* doc/as.texinfo: Document -mips3d and -no-mips3d options.
1367104834Sobrien	* doc/c-mips.texi: Likewise, and document ".set mips3d" and ".set
1368104834Sobrien	nomips3d" directives.
1369104834Sobrien
1370104834Sobrien2002-03-14  Hans-Peter Nilsson  <hp@bitrange.com>
1371104834Sobrien
1372104834Sobrien	* config/tc-mmix.c (md_estimate_size_before_relax): Don't consider
1373104834Sobrien	a weak symbol in same section to be within reach.
1374104834Sobrien
1375104834Sobrien2002-03-13  Nick Clifton  <nickc@cambridge.redhat.com>
1376104834Sobrien
1377104834Sobrien	* po/fr.po: Updated version.
1378104834Sobrien
1379104834Sobrien2002-03-12  Andreas Schwab  <schwab@suse.de>
1380104834Sobrien
138194536Sobrien	* config/tc-ia64.c (fixup_unw_records): Clear region when seeing a
138294536Sobrien	body record so that an error is given for misplaced .save
138394536Sobrien	pseudo-ops.
138494536Sobrien
1385104834Sobrien2002-03-09  Alan Modra  <amodra@bigpond.net.au>
1386104834Sobrien
138794536Sobrien	* config/tc-i386.h (REX_OPCODE): Define.
138894536Sobrien	(REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): Define.
138994536Sobrien	(rex_byte): typedef to int.
139094536Sobrien	* config/tc-i386.c: Group prototypes and vars together.
139194536Sobrien	Formatting fixes.  Remove occurrences of "register" keyword.
139294536Sobrien	(true): Delete.
139394536Sobrien	(false): Delete.
139494536Sobrien	(mode_from_disp_size): Add INLINE keyword to prototype.
139594536Sobrien	(fits_in_signed_byte): Likewise.
139694536Sobrien	(fits_in_unsigned_byte): Likewise.
139794536Sobrien	(fits_in_unsigned_word): Likewise.
139894536Sobrien	(fits_in_signed_word): Likewise.
139994536Sobrien	(fits_in_unsigned_long): Likewise.
140094536Sobrien	(fits_in_signed_long): Likewise.
140194536Sobrien	(type_names): Constify.
140294536Sobrien	(intel_float_operand): Constify param.
140394536Sobrien	(add_prefix): Use REX_OPCODE.
140494536Sobrien	(md_assemble): Likewise.  Modify for changed rex_byte.
140594536Sobrien	(parse_insn): Split out of md_assemble.
140694536Sobrien	(parse_operands): Likewise.
140794536Sobrien	(swap_operands): Likewise.
140894536Sobrien	(optimize_imm): Likewise.
140994536Sobrien	(optimize_disp): Likewise.
141094536Sobrien	(match_template): Likewise.
141194536Sobrien	(check_string): Likewise.
141294536Sobrien	(process_suffix): Likewise.
141394536Sobrien	(check_byte_reg): Likewise.
141494536Sobrien	(check_long_reg): Likewise.
141594536Sobrien	(check_qword_reg): Likewise.
141694536Sobrien	(check_word_reg): Likewise.
141794536Sobrien	(finalize_imm): Likewise.
141894536Sobrien	(process_operands): Likewise.
141994536Sobrien	(build_modrm_byte): Likewise.
142094536Sobrien	(output_insn): Likewise.
142194536Sobrien	(output_branch): Likewise.
142294536Sobrien	(output_jump): Likewise.
142394536Sobrien	(output_interseg_jump): Likewise.
142494536Sobrien	(output_disp): Likewise.
142594536Sobrien	(output_imm): Likewise.
142694536Sobrien
1427104834Sobrien2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
1428104834Sobrien
1429104834Sobrien	* doc/as.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
1430104834Sobrien
1431104834Sobrien2002-03-06  Alan Modra  <amodra@bigpond.net.au>
1432104834Sobrien
143394536Sobrien	* config/tc-i386.c (tc_gen_reloc): Don't attempt to handle 8 byte
143494536Sobrien	relocs except when BFD64.
1435104834Sobrien
143694536Sobrien	* write.c (number_to_chars_bigendian): Don't abort when N is
143794536Sobrien	larger than sizeof (VAL).
143894536Sobrien	(number_to_chars_littleendian): Likewise.
143994536Sobrien
1440104834Sobrien2002-03-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1441104834Sobrien
144294536Sobrien	* config/tc-hppa.c (md_apply_fix3): Add cast.
144394536Sobrien	(hppa_fix_adjustable): Adjust list of selectors using e_lrsel and
144494536Sobrien	e_rrsel.
144594536Sobrien
1446104834Sobrien2002-03-05  Paul Koning  <pkoning@equallogic.com>
1447104834Sobrien
1448104834Sobrien	* tc-pdp11.c: Use VAX float format support for PDP-11 target.
1449104834Sobrien	(parse_ac5): New function for parsing float regs in float operand.
1450104834Sobrien	(parse_expression): Remove attempt to make literals be octal.
1451104834Sobrien	(parse_op_no_deferred): Support float literals.
1452104834Sobrien	(parse_op): Reject attempts to refer to float regs.
1453104834Sobrien	(parse_fop): New function, like parse_op but for float operand.
1454104834Sobrien	(md_assemble): Add cases to parse float operands.  Also fix
1455104834Sobrien	IMM3, IMM6, IMM8 cases to pick up the operand from the right spot.
1456104834Sobrien
1457104834Sobrien2002-03-04  H.J. Lu <hjl@gnu.org>
1458104834Sobrien
145994536Sobrien	* config/obj-elf.c (special_section): Add .init_array,
146094536Sobrien	.fini_array and .preinit_array.
1461104834Sobrien
146294536Sobrien	* config/tc-ia64.h (ELF_TC_SPECIAL_SECTIONS): Remove
146394536Sobrien	.init_array and .fini_array.
146494536Sobrien
1465104834Sobrien2002-03-01  Jakub Jelinek  <jakub@redhat.com>
1466104834Sobrien
146794536Sobrien	* config/obj-elf.c (elf_copy_symbol_attributes): Don't copy
146894536Sobrien	visibility.
146994536Sobrien	(obj_frob_symbol): Copy visibility.
147094536Sobrien
147192828Sobrien2002-02-28  Jakub Jelinek  <jakub@redhat.com>
147292828Sobrien
147392828Sobrien	* config/tc-alpha.c (s_alpha_text): Use obj_elf_text for OBJ_ELF, not
147492828Sobrien	s_text.
147592828Sobrien	(s_alpha_data): Use obj_elf_data for OBJ_ELF, not s_data.
147692828Sobrien
1477104834Sobrien2002-02-27  Nick Clifton  <nickc@cambridge.redhat.com>
1478104834Sobrien
1479104834Sobrien	* po/es.po: Updated.
1480104834Sobrien
148192828Sobrien2002-02-26  Chris Demetriou  <cgd@broadcom.com>
148292828Sobrien
148392828Sobrien	* config/tc-mips.c (mips_need_elf_addend_fixup): For embedded-PIC
148492828Sobrien	only, undo the changes made on 2001-06-08, with the
148592828Sobrien	effect being that common or extern symbols are
148692828Sobrien	adjusted for embedded-PIC, but weak symbols are not.
148792828Sobrien	(md_estimate_size_before_relax: Likewise, with the effect
148892828Sobrien	that extern symbols are treated the same as weak symbols
148992828Sobrien	only if not embedded-PIC.
149092828Sobrien	(mips_fix_adjustable) Likewise, with the effect that
149192828Sobrien	weak or extern symbols are not adjusted for embedded-PIC.
149292828Sobrien	(md_apply_fix3): Tweak so that the case where value is zero
149392828Sobrien	is handled more correctly for embedded-PIC code.
149492828Sobrien
149592828Sobrien2002-02-26  Nick Clifton  <nickc@cambridge.redhat.com>
149692828Sobrien
1497104834Sobrien	* doc/as.texinfo (Overview): Add missing @ifset IA64
1498104834Sobrien
149992828Sobrien	* configure.in (LINGUAS): Add es.po.
150092828Sobrien	* configure: Regenerate.
150192828Sobrien	* po/es.po: New file.
150292828Sobrien
150392828Sobrien2002-02-25  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
150492828Sobrien
150592828Sobrien	* config/tc-mips.c (set_at): Fix handling of 64bit register loads.
150692828Sobrien	(macro): Likewise. Fix la/dla address expansions for EMBEDDED_PIC
150792828Sobrien	and NO_PIC cases. Code cleanup.
150892828Sobrien	(macro2): Fix handling of 64bit register loads.
150992828Sobrien
1510104834Sobrien2002-02-25  David Mosberger  <davidm@hpl.hp.com>
1511104834Sobrien
1512104834Sobrien	* doc/as.texinfo: Add entry for IA64.
1513104834Sobrien	* doc/c-ia64.texi: New file.
1514104834Sobrien
151592828Sobrien2002-02-25  Alan Modra  <amodra@bigpond.net.au>
151692828Sobrien
1517104834Sobrien	* config/tc-hppa.c: Update copyright date.
1518104834Sobrien
1519104834Sobrien	* doc/c-ppc.texi (PowerPC-Opts): Add -mpower4, -maltivec and -m7400
152092828Sobrien	Remove references to chip manufacturers.
152192828Sobrien	* config/tc-ppc.c (md_parse_option): Handle -mpower4 option.
152292828Sobrien	Correct comments.
152392828Sobrien	(md_show_usage): Remove references to chip manufacturers.  Mention
152492828Sobrien	-mpower4.
152592828Sobrien	(md_begin): Test power4 opcode flag bits.
152692828Sobrien
152792828Sobrien2002-02-22  David Mosberger  <davidm@hpl.hp.com>
152892828Sobrien
152992828Sobrien	* config/tc-ia64.c (dot_restore): Issue error message of epilogue
153092828Sobrien	count exceeds prologue count.
153192828Sobrien	(md_show_usage): Describe -mconstant-gp and -mauto-pic.
153292828Sobrien	(unwind.label_prologue_count): New member.
153392828Sobrien
153492828Sobrien	Based on a patch by Hans Boehm <hboehm@hpl.hp.com>:
153592828Sobrien
153692828Sobrien	(get_saved_prologue_count): New function.
153792828Sobrien	(save_prologue_count): New function.
153892828Sobrien	(free_saved_prologue_count): New function.
153992828Sobrien	(dot_label_state): Record state label by calling save_prologue_count().
154092828Sobrien	(dot_copy_state): Restore prologue count by calling
154192828Sobrien	get_saved_prologue_count().
154292828Sobrien	(generate_unwind_image): Free up list of saved prologue
154392828Sobrien	counts by calling free_saved_prologue_counts().
154492828Sobrien
1545104834Sobrien2002-02-22  Nick Clifton  <nickc@cambridge.redhat.com>
154691041Sobrien
1547104834Sobrien	* config/tc-tic54x.c: Add missing prototypes and remove ANSI style
1548104834Sobrien	function declarations.
1549104834Sobrien
1550104834Sobrien2002-02-21  Nick Clifton  <nickc@cambridge.redhat.com>
1551104834Sobrien
1552104834Sobrien	* NEWS: Note that GASP is now deprecated.
1553104834Sobrien	* Makefile.am: Do not build gasp-new by default.
1554104834Sobrien	* Makefile.in: Regenerate.
1555104834Sobrien	* doc/Makefile.am: Do not install gasp.info.
1556104834Sobrien	* doc/Makefile.in: Regenerate.
1557104834Sobrien	* gas/gasp.texi: Note that gasp is now deprecated.
1558104834Sobrien
1559104834Sobrien2002-02-20  Nick Clifton  <nickc@cambridge.redhat.com>
1560104834Sobrien
1561104834Sobrien	* NEWS: Mark 2.12 branch.
1562104834Sobrien
1563104834Sobrien2002-02-19  Tom Tromey  <tromey@redhat.com>
1564104834Sobrien
1565104834Sobrien	* config/tc-xstormy16.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
1566104834Sobrien
1567104834Sobrien2002-02-19  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1568104834Sobrien
156991041Sobrien	* config/tc-mips.c (md_parse_option): Complain about invalid -mabi
157091041Sobrien	option input.
157191041Sobrien
1572104834Sobrien2002-02-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1573104834Sobrien
1574104834Sobrien	* config/tc-s390.c (md_parse_option): Add switches -m31 and -m64.
1575104834Sobrien	Make bit size independent of architecture switch.
1576104834Sobrien	(md_begin): Add warning for -m64 with -Aesa.
1577104834Sobrien	(s390_md_end): Use renamed architecture defines.
1578104834Sobrien
157991041Sobrien2002-02-18  Daniel Jacobowitz  <drow@mvista.com>
158091041Sobrien
158191041Sobrien	* config/obj-coff.h: Check !target_big_endian, not shl, for coff-sh.
158291041Sobrien
158391041Sobrien2002-02-16  Nick Clifton  <nickc@cambridge.redhat.com>
158491041Sobrien
158591041Sobrien	* doc/as.texinfo (Machine Dependencies): Fix typo: MMIX used
158691041Sobrien	instead of CRIS.
158791041Sobrien
158891041Sobrien2002-02-15  Chris Demetriou  <cgd@broadcom.com>
158991041Sobrien
1590104834Sobrien	* config/tc-mips.c (md_estimate_size_before_relax): Really
159191041Sobrien	make sure we treat weak like extern only for ELF.  (Fixes
159291041Sobrien	patch from 2001-07-25.)
159391041Sobrien
159491041Sobrien2002-02-15  Ben Elliston  <bje@redhat.com>
159591041Sobrien
159691041Sobrien	* doc/as.texinfo: Add duplicate directory entry so that "info gas"
159791041Sobrien	works as expected.
159891041Sobrien
159991041Sobrien2002-02-15  Hans-Peter Nilsson  <hp@bitrange.com>
160091041Sobrien
160191041Sobrien	* NEWS: Mention support for MMIX.
160291041Sobrien
160391041Sobrien2002-02-13  Chris Demetriou  <cgd@broadcom.com>
160491041Sobrien
160591041Sobrien	* config/tc-mips.c (mips_need_elf_addend_fixup): Restructure into
160691041Sobrien	a sequence of indpendent 'if' statements for easier debugging
160791041Sobrien	and future modification.
160891041Sobrien
160991041Sobrien2002-02-13  Matt Fredette  <fredette@netbsd.org>
161091041Sobrien
161191041Sobrien	* config/tc-m68k.c (md_show_usage): No longer display a
161291041Sobrien	hard-coded "68020" for the default CPU, instead display the
161391041Sobrien	canonical name of the true, configured default CPU.
161491041Sobrien	(m68k_elf_final_processing): Mark objects for sub-68020
161591041Sobrien	CPUs with the new EF_M68000 flag.
161691041Sobrien
161791041Sobrien2002-02-13  Andreas Schwab  <schwab@suse.de>
161891041Sobrien
161991041Sobrien	* config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
162091041Sobrien	pc-relative relocations to merge sections in 64-bit mode.
162191041Sobrien
1622104834Sobrien2002-02-13  Ben Elliston  <bje@redhat.com>
1623104834Sobrien
1624104834Sobrien	* NEWS: Document floating point number handling in gasp.
1625104834Sobrien	* gasp.c: Include <assert.h> and "xregex.h".
1626104834Sobrien	(is_flonum): New function.
1627104834Sobrien	(chew_flownum): Likewise.
1628104834Sobrien	(change_base): Consume flonums from the input, where possible.
1629104834Sobrien	* doc/gasp.texi (Constants): Document floating point numbers.
1630104834Sobrien
1631104834Sobrien2002-02-12  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1632104834Sobrien
1633104834Sobrien	* config/tc-hppa.c (hppa_fix_adjustable): Don't adjust final types
1634104834Sobrien	that implicitly use LR and RR selectors.
1635104834Sobrien
163691041Sobrien2002-02-12  Alexandre Oliva  <aoliva@redhat.com>
163791041Sobrien
163891041Sobrien	* config/tc-mn10300.c (other_registers): Added `epsw'.  Mark `pc'
163991041Sobrien	and `epsw' as available on AM33 and above only.
164091041Sobrien	(other_register_name): Add logic to handle machine type encoded in
164191041Sobrien	reg_number.
164291041Sobrien
164391041Sobrien2002-02-11  Tom Rix  <trix@redhat.com>
164491041Sobrien
164594536Sobrien	* config/tc-ppc.c (md_apply_fix3): Check for insert fop invalid for
164691041Sobrien	xcoff64.
164791041Sobrien
1648104834Sobrien2002-06-11  Alexandre Oliva  <aoliva@redhat.com>
164991041Sobrien
165091041Sobrien	* config/tc-sparc.c (U0x80000000, U0xffffffff): New constants.
165191041Sobrien	Use all over.
165291041Sobrien
1653104834Sobrien2002-02-11  Jan Hubicka  <jh@suse.cz>
1654104834Sobrien
1655104834Sobrien	* i386.c (md_assemble): Support 32bit address prefix.
1656104834Sobrien	(i386_displacement): Likewise.
1657104834Sobrien	(i386_index_check): Accept 32bit addressing in 64bit mode.
1658104834Sobrien
165991041Sobrien2002-02-11  Alexandre Oliva  <aoliva@redhat.com>
166091041Sobrien
166191041Sobrien	* config/tc-sh.c (dot): Removed unused function.
166291041Sobrien
1663104834Sobrien2002-02-11  Alan Modra  <amodra@bigpond.net.au>
1664104834Sobrien
1665104834Sobrien	* Makefile.am: "make dep-am".
1666104834Sobrien	* Makefile.in: Regenerate.
1667104834Sobrien	* aclocal.m4: Regenerate.
1668104834Sobrien	* config.in: Regenerate.
1669104834Sobrien	* configure: Regenerate.
1670104834Sobrien	* doc/Makefile.in: Regenerate.
1671104834Sobrien
167291041Sobrien2002-02-10  Richard Henderson  <rth@redhat.com>
167391041Sobrien
167491041Sobrien	* doc/c-alpha.texi: New file.
167591041Sobrien	* doc/Makefile.am (CPU_DOCS): Add it.
167691041Sobrien	* doc/all.texi, doc/as.texinfo: Add hooks for Alpha.
167791041Sobrien
167891041Sobrien2002-02-09  Richard Henderson  <rth@redhat.com>
167991041Sobrien
168091041Sobrien	* config/tc-alpha.c (O_samegp): New.
168191041Sobrien	(USER_RELOC_P): Include it.
168291041Sobrien	(alpha_reloc_op_tag, debug_exp, find_macro_match): Add it.
168391041Sobrien	(md_apply_fix3): Handle BFD_RELOC_ALPHA_BRSGP.
168491041Sobrien	(alpha_force_relocation, alpha_fix_adjustable): Likewise.
168591041Sobrien	(alpha_validate_fix): New.
168691041Sobrien	* config/tc-alpha.h (TC_VALIDATE_FIX): New.
168791041Sobrien
168891041Sobrien2002-02-09  Hans-Peter Nilsson  <hp@axis.com>
168991041Sobrien
169091041Sobrien	* doc/c-cris.texi: New.
169191041Sobrien	* doc/all.texi: @set CRIS.
169291041Sobrien	* doc/as.texinfo: Ditto.  Add CRIS gas manpage option overview.
169391041Sobrien	Include c-cris.texi.
169491041Sobrien	* doc/Makefile.am (CPU_DOCS): Add c-cris.texi
169591041Sobrien	* doc/Makefile.in: Regenerate.
169691041Sobrien
169791041Sobrien2002-02-08  Chris Demetriou  <cgd@broadcom.com>
169891041Sobrien
169991041Sobrien	* config/tc-mips.c (IS_SEXT_32BIT_NUM): New macro to
170091041Sobrien	determine if a number is a sign-extended 32-bit number.
170191041Sobrien	(load_register): Use IS_SEXT_32BIT_NUM.
170291041Sobrien	(macro): Check if load/store macro handling is using a
170391041Sobrien	constant 32-bit address on 64-bit address systems, and if
170491041Sobrien	so optimize the generation of that address.
170591041Sobrien
170691041Sobrien2002-02-08  Richard Henderson  <rth@redhat.com>
170791041Sobrien
170891041Sobrien	* config/tc-alpha.c (alpha_force_relocation): Don't assert that
170991041Sobrien	we've eliminated all foreign relocation types yet.
171091041Sobrien	(alpha_fix_adjustable): Likewise.
171191041Sobrien
171291041Sobrien2002-02-08  Alexandre Oliva  <aoliva@redhat.com>
171391041Sobrien
171491041Sobrien	Contribute sh64-elf.
171591041Sobrien	2002-02-08  Alexandre Oliva  <aoliva@redhat.com>
171691041Sobrien		    Stephen Clarke <Stephen.Clarke@st.com>
171791041Sobrien	* doc/c-sh64.texi: Fix citation of SH64 architecture manual.
171891041Sobrien	2002-01-31  Alexandre Oliva  <aoliva@redhat.com>
171991041Sobrien	* config/tc-sh.c (md_relax_table): Added default sizes for
172091041Sobrien	non-PC-relative UNDEF_MOVI, and relaxation sequences for
172191041Sobrien	MOVI_16, MOVI_32 and MOVI_48.
172291041Sobrien	* config/tc-sh64.c (shmedia_md_apply_fix3): Fix warning.
172391041Sobrien	(shmedia_md_convert_frag): Handle non-PC-relative UNDEF_MOVI
172491041Sobrien	and MOVI_16.
172591041Sobrien	(shmedia_md_estimate_size_before_relax): Remove redundant
172691041Sobrien	blocks.	 Set fragP->fr_var even if relaxation type unchanged.
172791041Sobrien	Retain UNDEF_MOVI until expression decays to number.
172891041Sobrien	2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
172991041Sobrien	* config/tc-sh64.c (shmedia_init_reloc): Handle new SHmedia PIC
173091041Sobrien	relocation types.  Take fixP->fx_addnumber into account too.
173191041Sobrien	(shmedia_md_apply_fix): Likewise.
173291041Sobrien	(shmedia_md_convert_frag): Likewise.
173391041Sobrien	(shmedia_build_Mytes): Likewise.
173491041Sobrien	(sh64_consume_datalabel): Complain about nested datalabel.
173591041Sobrien	Support PIC relocs.  Call sh_parse_name.
173691041Sobrien	* config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Extend definition
173791041Sobrien	in tc-sh.h to SHmedia reloc types.
173891041Sobrien	* config/tc-sh.c (SH64PCRELPLT, MOVI_PLT, MOVI_GOTOFF,
173991041Sobrien	MOVI_GOTPC): New relaxation constants.
174091041Sobrien	(md_relax_table): Introduce relaxation directives for PIC-related
174191041Sobrien	constants.
174291041Sobrien	(sh_PIC_related_p): Handle datalabel.
174391041Sobrien	(sh_check_fixup): Choose SH5 PIC relocations.
174491041Sobrien	(sh_cons_fix_new): Added BDF_RELOC_64.
174591041Sobrien	(md_apply_fix3, sh_parse_name): Handle GOTPLT.
174691041Sobrien	2002-01-18  Alexandre Oliva  <aoliva@redhat.com>
174791041Sobrien	* config/tc-sh64.c (sh64_max_mem_for_rs_align_code): If the
174891041Sobrien	current ISA is SHmedia, get 7 bytes.
174991041Sobrien	2001-11-28  Nick Clifton  <nickc@cambridge.redhat.com>
175091041Sobrien	* config/tc-sh.c (md_apply_fix3): Treat shmedia_md_apply_fix3 as a
175191041Sobrien	void function.
175291041Sobrien	* config/tc-sh64.c (shmedia_apply_fix): Rename to
175391041Sobrien	shmedia_apply_fix3 and make void.
175491041Sobrien	2001-05-17  Alexandre Oliva  <aoliva@redhat.com>
175591041Sobrien	* config/tc-sh64.c (s_sh64_abi): Remove unused arguments passed to
175691041Sobrien	as_bad.
175791041Sobrien	2001-04-12  Alexandre Oliva  <aoliva@redhat.com>
175891041Sobrien	* config/tc-sh64.h (md_parse_name): Take &c as argument.
175991041Sobrien	2001-03-14  DJ Delorie	<dj@redhat.com>
176091041Sobrien	* doc/Makefile.am (CPU_DOCS): Added c-sh64.texi
176191041Sobrien	* doc/Makefile.in(CPU_DOCS): Ditto.
176291041Sobrien	* doc/c-sh64.texi: New file.
176391041Sobrien	* doc/as.texinfo: Add SH64 support.
176491041Sobrien	2001-03-13  DJ Delorie	<dj@redhat.com>
176591041Sobrien	* config/tc-sh64.c (shmedia_get_operands): Rename A_RESV_Fx to
176691041Sobrien	A_REUSE_PREV so that its purpose is more obvious.
176791041Sobrien	(shmedia_build_Mytes): Ditto.
176891041Sobrien	2001-03-07  DJ Delorie	<dj@redhat.com>
176991041Sobrien	* config/tc-sh64.c (sh64_vtable_entry): New, strip datalabels
177091041Sobrien	before processing.
177191041Sobrien	(sh64_vtable_inherit): Ditto.
177291041Sobrien	(strip_datalabels): New, strip "datalabel" from given line.
177391041Sobrien	* config/tc-sh.c (md_pseudo_table): Add sh64-specific vtable
177491041Sobrien	pseudos.
177591041Sobrien	2001-03-06  Hans-Peter Nilsson	<hpn@cygnus.com>
177691041Sobrien	* config/tc-sh64.c (shmedia_md_assemble): Move dwarf2_emit_insn
177791041Sobrien	call ...
177891041Sobrien	(shmedia_build_Mytes): ... to here.
177991041Sobrien	2001-03-06  DJ Delorie	<dj@redhat.com>
178091041Sobrien	* config/tc-sh.c: Remove sh64-specific uaquad now that there
178191041Sobrien	is a generic one.
178291041Sobrien	2001-01-21  Hans-Peter Nilsson	<hpn@cygnus.com>
178391041Sobrien	* config/tc-sh64.h (DWARF2_LINE_MIN_INSN_LENGTH): Override.
178491041Sobrien	* config/tc-sh64.c (shmedia_md_assemble): Offset recorded insn
178591041Sobrien	address by one in call to dwarf2_emit_insn.
178691041Sobrien	2001-01-13  Hans-Peter Nilsson	<hpn@cygnus.com>
178791041Sobrien	Implement ".abi" pseudo and correct .cranges descriptors.  Correct
178891041Sobrien	alignment handling broken by imported changes.
178991041Sobrien	* config/tc-sh64.h (HANDLE_ALIGN): Override definition in tc-sh.h.
179091041Sobrien	(sh64_handle_align): Declare.
179191041Sobrien	(MAX_MEM_FOR_RS_ALIGN_CODE): Override definition in tc-sh.h.
179291041Sobrien	(sh64_max_mem_for_rs_align_code): Declare.
179391041Sobrien	(enum sh64_isa_values): Moved here from tc-sh64.c.
179491041Sobrien	(md_do_align): Define.
179591041Sobrien	(sh64_do_align): Declare.
179691041Sobrien	(struct sh64_tc_frag_data): New.
179791041Sobrien	(TC_FRAG_TYPE): Change to struct sh64_tc_frag_data.  Users
179891041Sobrien	changed.
179991041Sobrien	(TC_FRAG_INIT): Change to set new datatype.
180091041Sobrien	(struct sh64_segment_info_type): Rename member
180191041Sobrien	last_flushed_location to last_contents_mark.  All users changed.
180291041Sobrien	(md_elf_section_change_hook, TC_CONS_FIX_NEW): Do not define.
180391041Sobrien	(shmedia_elf_new_section, sh64_tc_cons_fix_new): Do not prototype.
180491041Sobrien	* config/tc-sh.c (md_pseudo_table): Add ".abi".
180591041Sobrien	(sh_elf_cons) [HAVE_SH64]: Call sh64_update_contents_mark instead
180691041Sobrien	of unsetting seen_insn.
180791041Sobrien	(md_assemble) [HAVE_SH64] <before new SHcompact sequence>: Also
180891041Sobrien	call sh64_update_contents_mark.
180991041Sobrien	(sh_handle_align): Remove HAVE_SH64-conditioned code.
181091041Sobrien	* config/tc-sh64.c (sh64_isa_mode): Correct type from boolean to
181191041Sobrien	enum sh64_isa_values.
181291041Sobrien	(sh64_set_contents_type): Drop segT parameter.	All callers changed.
181391041Sobrien	(emitting_crange): Boolean guard moved to file scope from function
181491041Sobrien	scope in sh64_set_contents_type.
181591041Sobrien	(s_sh64_abi): New.
181691041Sobrien	(sh64_update_contents_mark): New; most split out from
181791041Sobrien	sh64_flush_pending_output.
181891041Sobrien	(shmedia_md_end): Call sh64_update_contents_mark.  Set
181991041Sobrien	sh64_isa_mode to sh64_isa_sh5_guard unless sh64_isa_unspecified.
182091041Sobrien	(sh64_do_align): New function.
182191041Sobrien	(sh64_max_mem_for_rs_align_code): New function.
182291041Sobrien	(sh64_handle_align): Rename from shmedia_do_align.  Make
182391041Sobrien	non-static.  Add head comment.	Emit zero bytes for n bytes modulo
182491041Sobrien	four.  Change return-type to void.
182591041Sobrien	(shmedia_elf_new_section): Remove.
182691041Sobrien	(shmedia_md_assemble): Call sh64_update_contents_mark.
182791041Sobrien	(s_sh64_mode): Ditto.  Do not call md_flush_pending_output.  Make
182891041Sobrien	new frag.  Call sh64_update_contents_mark after making the new
182991041Sobrien	frag.
183091041Sobrien	(sh64_flush_pending_output): Just call sh64_update_contents_mark
183191041Sobrien	and sh_flush_pending_output.
183291041Sobrien	(sh64_flag_output): Also call md_flush_pending_output, but add
183391041Sobrien	condition on not emitting_crange.
183491041Sobrien	(sh64_tc_cons_fix_new): Remove.
183591041Sobrien	2001-01-12  Nick Clifton  <nickc@redhat.com>
183691041Sobrien	* config/tc-sh64.c (shmedia_do_align): Fix to work with new
183791041Sobrien	alignment handling scheme imported from sourceware.
183891041Sobrien	2001-01-12  Hans-Peter Nilsson	<hpn@cygnus.com>
183991041Sobrien	* config/tc-sh64.h (TARGET_FORMAT): Define.
184091041Sobrien	(sh64_target_format): Prototype.
184191041Sobrien	* config/tc-sh64.c (sh64_target_mach): New function.
184291041Sobrien	2001-01-07  Hans-Peter Nilsson	<hpn@cygnus.com>
184391041Sobrien	* config/tc-sh64.c (shmedia_md_end): When equating a symbol, use
184491041Sobrien	zero_address_frag instead of copying the frag of the symbol.
184591041Sobrien	(shmedia_frob_file_before_adjust): Ditto.
184691041Sobrien	(shmedia_md_apply_fix) <case BFD_RELOC_SH_IMM_MEDLOW16>: Cast mask
184791041Sobrien	to valueT to remove signedness.
184891041Sobrien	(shmedia_md_convert_frag): Add parameter final.	 Rename parameter
184991041Sobrien	headers to output_bfd.	Do not evaluate symbols if final is false;
185091041Sobrien	do emit fixups.
185191041Sobrien	(shmedia_md_estimate_size_before_relax) <case C (MOVI_IMM_32,
185291041Sobrien	UNDEF_MOVI) et al>: If symbol cannot be modified to be PC-relative
185391041Sobrien	to the current frag, call shmedia_md_convert_frag to emit fixups
185491041Sobrien	and make frag_wane neutralize the frag.	 Update comments.
185591041Sobrien	* config/tc-sh.c (md_convert_frag): Change caller of
185691041Sobrien	shmedia_md_convert_frag.
185791041Sobrien	2001-01-06  Hans-Peter Nilsson	<hpn@cygnus.com>
185891041Sobrien	* config/tc-sh64.h: Tweak comments and correct formatting.
185991041Sobrien	* config/tc-sh64.c: Ditto.
186091041Sobrien	(shmedia_md_convert_frag) <PT/PTA/PTB 32, 48 and 64 bit
186191041Sobrien	expansion, MOVI pcrel expansion>: Fix thinko calculating offset
186291041Sobrien	for the no-relocation case.
186391041Sobrien	(shmedia_check_limits): Fix range check being off-by-one for PTA.
186491041Sobrien	* config/tc-sh.c: Ditto.  Add proper comments to #ifdef/#ifndef
186591041Sobrien	wrappers.
186691041Sobrien	(SH64PCREL16_F): Increment for proper max-PTA handling.	 Update
186791041Sobrien	comment.
186891041Sobrien	(SH64PCREL16_M, MOVI_16_M): Correct range thinko.
186991041Sobrien	(SH64PCREL48_M, MOVI_48_M): Similar; don't count in length of
187091041Sobrien	expansion.
187191041Sobrien	(SH64PCREL32_M, MOVI_32_M): Ditto; handle overflowing expression.
187291041Sobrien	Correct comment.
187391041Sobrien	2001-01-05  Hans-Peter Nilsson	<hpn@cygnus.com>
187491041Sobrien	* config/tc-sh64.c (shmedia_md_apply_fix) <second switch, case
187591041Sobrien	BFD_RELOC_SH_PT_16>: Set lowest bit in field to be relocated to 1.
187691041Sobrien	(shmedia_md_convert_frag) <case C (SH64PCREL16_32, SH64PCREL16) et
187791041Sobrien	al>: Set lowest bit of field to relocate to 1 and rest to empty,
187894536Sobrien	if reloc is emitted.
187991041Sobrien	2000-12-31  Hans-Peter Nilsson	<hpn@cygnus.com>
188091041Sobrien	New options plus bugfixes.
188191041Sobrien	* config/tc-sh.c (md_longopts): New options "-no-expand" and
188291041Sobrien	"-expand-pt32".
188391041Sobrien	(md_parse_option): Handle new options.
188491041Sobrien	(md_show_usage): Add blurb for new options.
188591041Sobrien	* config/tc-sh64.c (SHMEDIA_BFD_RELOC_PT): New macro.
188691041Sobrien	(sh64_expand, sh64_pt32): New variables.
188791041Sobrien	(shmedia_init_reloc): Handle BFD_RELOC_SH_PT_16.
188891041Sobrien	(shmedia_md_apply_fix): Hold original fixP->fx_r_type in
188991041Sobrien	orig_fx_r_type.	 Change SHMEDIA_BFD_RELOC_PT into
189091041Sobrien	BFD_RELOC_SH_PT_16.  Handle BFD_RELOC_SH_PT_16 as pc-relative.
189191041Sobrien	<resolved previously-pc-relative relocs>: Handle
189291041Sobrien	SHMEDIA_BFD_RELOC_PT and BFD_RELOC_SH_PT_16.
189391041Sobrien	(shmedia_md_convert_frag) <case C (SH64PCREL16PT_64, SH64PCREL16),
189491041Sobrien	case C (SH64PCREL16PT_32, SH64PCREL16)>: Modify to PTB if operand
189591041Sobrien	points to SHcompact code.
189691041Sobrien	<case C (SH64PCREL16_32, SH64PCREL16), case C (SH64PCREL16_64,
189791041Sobrien	SH64PCREL16)>: Check that ISA of what operand points at and
189891041Sobrien	PTA/PTB matches, or emit error.
189991041Sobrien	(shmedia_check_limits): Handle BFD_RELOC_SH_PT_16 and
190091041Sobrien	SHMEDIA_BFD_RELOC_PT.
190191041Sobrien	(shmedia_immediate_op): If pcrel, emit fixup also for constant
190291041Sobrien	operand.
190391041Sobrien	(shmedia_build_Mytes) <case A_IMMS16>: Also check sh64_expand in
190491041Sobrien	condition for MOVI expansion.
190591041Sobrien	<case A_PCIMMS16BY4>: Handle expansion to 32 bits only, if
190691041Sobrien	sh64_pt32.  Emit only a BFD_RELOC_SH_PT_16 fixup if not
190791041Sobrien	sh64_expand.
190891041Sobrien	<case A_PCIMMS16BY4_PT>: Likewise, but emit a SHMEDIA_BFD_RELOC_PT
190991041Sobrien	fixup.
191091041Sobrien	(sh64_target_format): Error-check setting of sh64_pt32 and
191191041Sobrien	sh64_expand.  Fix typo in check for sh64_shcompact_const_crange.
191291041Sobrien	(shmedia_md_pcrel_from_section): Handle BFD_RELOC_SH_PT_16 and
191391041Sobrien	SHMEDIA_BFD_RELOC_PT as coming from SHmedia code.
191491041Sobrien	2000-12-31  Hans-Peter Nilsson	<hpn@cygnus.com>
191591041Sobrien	* config/tc-sh64.c: Improve comments.
191691041Sobrien	(shmedia_md_convert_frag): Remove inactive is_pt_variant code.	Do
191791041Sobrien	not say the linker will check correctness of PTA/PTB expansion.
191891041Sobrien	(shmedia_md_end): Make non-static.
191991041Sobrien	* config/tc-sh64.h (md_end): Define to shmedia_md_end.	Add
192091041Sobrien	prototype.
192191041Sobrien	* config/tc-sh.c (sh_finalize): Remove.
192291041Sobrien	* config/tc-sh.h (md_end): Do not define.
192391041Sobrien	Remove prototype for sh_finalize.
192491041Sobrien	2000-12-30  Hans-Peter Nilsson	<hpn@cygnus.com>
192591041Sobrien	* config/tc-sh64.c (shmedia_frob_section_type): Use a struct
192691041Sobrien	sh64_section_data container when storing section type in tdata
192791041Sobrien	field in elf_section_data.
192891041Sobrien	* config/tc-sh.c (sh_elf_final_processing): Change from EF_SH64 to
192991041Sobrien	EF_SH5.
193091041Sobrien	* Makefile.am: Update dependencies.
193191041Sobrien	* Makefile.in: Regenerate.
193291041Sobrien	2000-12-22  Hans-Peter Nilsson	<hpn@cygnus.com>
193391041Sobrien	* config/tc-sh64.c (shmedia_md_assemble): Don't protect
193491041Sobrien	dwarf2_emit_insn call with test on debug_type.
193591041Sobrien	2000-12-19  Hans-Peter Nilsson	<hpn@cygnus.com>
193691041Sobrien	* config/tc-sh64.c (sh64_set_contents_type): Make contents-type
193791041Sobrien	CRT_SH5_ISA32 sticky for 64-bit.
193891041Sobrien	2000-12-18  Hans-Peter Nilsson	<hpn@cygnus.com>
193991041Sobrien	Generate .crange sections when switching ISA mode or emitting
194091041Sobrien	constants in same section as code.
194191041Sobrien	* config/tc-sh64.c: Reformat structure definitions.
194291041Sobrien	(sh64_end_of_assembly, sh64_mix, sh64_shcompact_const_crange): New
194391041Sobrien	variables.
194491041Sobrien	(sh64_set_contents_type): Rename from sh64_init_section.  Rewrite
194591041Sobrien	to emit a .cranges descriptor when contents type changes.  Only
194691041Sobrien	emit error if changing contents type and -no-mix is in effect.
194791041Sobrien	(sh64_emit_crange, sh64_flush_last_crange, sh64_flag_output,
194891041Sobrien	sh64_flush_pending_output, sh64_tc_cons_fix_new): New functions.
194991041Sobrien	(shmedia_md_end): Set sh64_end_of_assembly.  Pass
195091041Sobrien	sh64_flush_last_crange over sections.
195191041Sobrien	When checking main symbol of datalabel symbol, check for
195291041Sobrien	STO_SH5_ISA32, not ISA type of section in definition.
195391041Sobrien	(shmedia_frob_file_before_adjust): Check main symbol for
195491041Sobrien	STO_SH5_ISA32; don't check ISA type of section in definition.
195591041Sobrien	(shmedia_frob_section_type): Adjust for .cranges; set section flag
195691041Sobrien	to SHF_SH5_ISA32_MIXED or SHF_SH5_ISA32 according to whether
195791041Sobrien	.cranges entries have been output.
195891041Sobrien	(shmedia_elf_new_section): Just call md_flush_pending_output.
195991041Sobrien	(shmedia_md_assemble): Do not emit a BFD_RELOC_SH_SHMEDIA_CODE
196091041Sobrien	fix.  Do not set tc_segment_info_data.in_code for section.  Call
196191041Sobrien	sh64_set_contents_type for SHmedia code.
196291041Sobrien	(s_sh64_mode): Do not call sh64_init_section or set seen_insn to
196391041Sobrien	false.	Call md_flush_pending_output.
196491041Sobrien	(sh64_target_format): Check that -no-mix and
196591041Sobrien	-shcompact-const-crange are used in sane combination with other
196691041Sobrien	options.
196791041Sobrien	(shmedia_md_pcrel_from_section): Check type of fix for how to
196891041Sobrien	adjust pc-relative.
196991041Sobrien	(sh64_consume_datalabel): Check symbol for having STO_SH5_ISA32,
197091041Sobrien	not ISA type of section in definition.
197191041Sobrien	* config/tc-sh64.h (struct sh64_segment_info_type): Rewrite to
197291041Sobrien	hold contents-type state.
197391041Sobrien	(md_flush_pending_output): Redefine to sh64_flush_pending_output.
197491041Sobrien	(sh64_flush_pending_output): Declare.
197591041Sobrien	(TC_CONS_FIX_NEW): Define to sh64_tc_cons_fix_new.
197691041Sobrien	(sh64_tc_cons_fix_new): Declare.
197791041Sobrien	* config/tc-sh.c (sh_elf_cons) [HAVE_SH64]: Unset seen_insn and
197891041Sobrien	call sh64_flag_output.
197991041Sobrien	(md_assemble) [HAVE_SH64]: Do not emit BFD_RELOC_SH_CODE.  Just
198091041Sobrien	call sh64_set_contents_type to mark SHcompact code and set
198191041Sobrien	seen_insn.
198291041Sobrien	(md_longopts): New options "-no-mix" and
198391041Sobrien	"-shcompact-const-crange".
198491041Sobrien	(md_parse_option): Handle new options.
198591041Sobrien	(md_show_usage): Add blurb for new options.
198691041Sobrien	(md_number_to_chars) [HAVE_SH64]: Call sh64_flag_output.
198791041Sobrien	2000-12-15  Hans-Peter Nilsson	<hpn@cygnus.com>
198891041Sobrien	* config/tc-sh64.c: Delete investigated and obsolete fixme:s.
198991041Sobrien	(sh64_last_insn_frag): New.
199091041Sobrien	(shmedia_md_convert_frag): Use tc_frag_data field of incoming frag
199191041Sobrien	to get frag for insn opcode for generating fixups; do not assume it
199291041Sobrien	is the same frag.
199391041Sobrien	(shmedia_build_Mytes): Set sh64_last_insn_frag after growing frag
199491041Sobrien	for new insn.
199591041Sobrien	* config/tc-sh64.h (ELF_TC_SPECIAL_SECTIONS): Define for .cranges
199691041Sobrien	section.
199791041Sobrien	(TC_FRAG_TYPE): Define as fragS *.
199891041Sobrien	(TC_FRAG_INIT): Define to set tc_frag_data to sh64_last_insn_frag.
199991041Sobrien	(sh64_last_insn_frag): Declare.
200091041Sobrien	(sh64_consume_datalabel): Fix typo; check for seginfo != NULL,
200191041Sobrien	not == NULL before dereferencing.
200291041Sobrien	2000-12-12  Hans-Peter Nilsson	<hpn@cygnus.com>
200391041Sobrien	Get rid of BFD section flag and EF_SH64_ABI64.
200491041Sobrien	* config/tc-sh64.c (shmedia_frob_section_type): Use
200591041Sobrien	elf_section_data (sec)->tdata, not a specific BFD section flag, to
200691041Sobrien	communicate the section as containing SHmedia code.  Describe why.
200791041Sobrien	* config/tc-sh.c (sh_elf_final_processing): Tweak comment.  Set
200891041Sobrien	EF_SH64 regardless of ABI.
200991041Sobrien	* config/tc-sh64.c (shmedia_md_apply_fix): Decapitalize "invalid"
201091041Sobrien	in error message.  Handle resolved expressions for
201191041Sobrien	BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
201291041Sobrien	BFD_RELOC_SH_IMMS10BY4 and BFD_RELOC_64.
201391041Sobrien	(shmedia_check_limits): Handle BFD_RELOC_64.
201491041Sobrien	(sh64_adjust_symtab): Do not decrement the GAS symbol value for
201591041Sobrien	a STO_SH5_ISA32 symbol, only the BFD value.
201691041Sobrien	2000-12-11  Ben Elliston  <bje@redhat.com>
201791041Sobrien	* config/tc-sh64.c: Call dwarf2_emit_insn, not the defunct
201891041Sobrien	dwarf2_generate_asm_lineno.
201991041Sobrien	2000-12-11  Hans-Peter Nilsson	<hpn@cygnus.com>
202091041Sobrien	Handle PC-relative MOVI expansions with assembler relaxation.
202191041Sobrien	Generate PC-relative relocs from 16-bit PC-relative expressions.
202291041Sobrien	* config/tc-sh64.c (SHMEDIA_MD_PCREL_FROM_FIX): Break out from...
202391041Sobrien	(shmedia_md_pcrel_from_section): ...here.
202491041Sobrien	(shmedia_md_apply_fix): Handle fixups for 16-bit operands that has
202591041Sobrien	turned completely resolved.  Adjust relocation type for 16-bit
202691041Sobrien	immediate operands that has turned PC-relative.	 Adjust back for
202791041Sobrien	MD_PCREL_FROM_SECTION being applied twice.
202891041Sobrien	(shmedia_md_convert_frag): Always emit reloc for expression with
202991041Sobrien	global or weak symbol.	Handle relaxation result for PC-relative
203091041Sobrien	expressions.
203191041Sobrien	(shmedia_md_estimate_size_before_relax): An expression with a weak
203291041Sobrien	or global symbol can not be relaxed.  Break out tests for
203391041Sobrien	relaxable symbol into variable sym_relaxable.
203491041Sobrien	<cases C (MOVI_IMM_64, UNDEF_MOVI) and C (MOVI_IMM_32,
203591041Sobrien	UNDEF_MOVI)>: Break out any PC-relative expression and change
203691041Sobrien	relaxation type.
203791041Sobrien	(shmedia_build_Mytes): CSE &operands->operands[j] into variable
203891041Sobrien	opjp.
203991041Sobrien	<case A_IMMS16>: Fix typo for initial minor relaxation type of
204091041Sobrien	MOVI expansion.	 If X_op_symbol of the immediate expression is
204191041Sobrien	set, make an expression symbol for the argument to frag_var.
204291041Sobrien	* config/tc-sh.c (MOVI_IMM_32_PCREL, MOVI_IMM_64_PCREL): New
204391041Sobrien	relaxations.
204491041Sobrien	(END): Adjust for new relaxations.
204591041Sobrien	(md_relax_table): Add entries for new relaxations.
204691041Sobrien	2000-12-07  Ben Elliston  <bje@redhat.com>
204791041Sobrien	* config/tc-sh64.c (shmedia_parse_reg): Initialize variable len.
204891041Sobrien	2000-12-07  Hans-Peter Nilsson	<hpn@cygnus.com>
204991041Sobrien	* config/tc-sh64.c (shmedia_md_convert_frag): Correct all MOVI and
205091041Sobrien	SHORI operand offsets in PT/PTA/PTB expansions.
205191041Sobrien	2000-12-05  Hans-Peter Nilsson	<hpn@cygnus.com>
205291041Sobrien	Implement DataLabel semantics.
205391041Sobrien	* config/tc-sh.c (sh_frob_file) [HAVE_SH64]: Call
205491041Sobrien	shmedia_frob_file_before_adjust.
205591041Sobrien	* config/tc-sh64.c [! OBJ_ELF]: Emit #error.
205691041Sobrien	(DATALABEL_SUFFIX): Define.
205791041Sobrien	(shmedia_md_end) <before adjusting STO_SH5_ISA32 symbols>: Walk
205891041Sobrien	symbol list to update "datalabel" symbols to their main symbol
205991041Sobrien	counterparts.
206091041Sobrien	(shmedia_frob_file_before_adjust): New.
206191041Sobrien	(sh64_adjust_symtab): For remaining datalabel symbols, set to
206291041Sobrien	undefined and set STT_DATALABEL.
206391041Sobrien	(sh64_frob_label): Initialize TC symbol field.
206491041Sobrien	(sh64_consume_datalabel): Actually implement semantics.	 New
206591041Sobrien	parameter operandf, call it instead of expression.
206691041Sobrien	(sh64_exclude_symbol): New.
206791041Sobrien	* config/tc-sh64.h (md_parse_name): Pass on the function operand
206891041Sobrien	to sh64_consume_datalabel.
206991041Sobrien	(tc_symbol_new_hook): Define to tc_frob_symbol.
207091041Sobrien	(TC_SYMFIELD_TYPE): Define to symbolS *.
207191041Sobrien	(tc_frob_symbol): Define to call sh64_exclude_symbol.
207291041Sobrien	2000-12-01  Hans-Peter Nilsson	<hpn@cygnus.com>
207391041Sobrien	* config/tc-sh64.c (shmedia_init_reloc): Tweak comment for default
207491041Sobrien	case.
207591041Sobrien	(shmedia_md_assemble): Call dwarf2_generate_asm_lineno if
207691041Sobrien	generating dwarf2 debug information.
207791041Sobrien	2000-11-30  Hans-Peter Nilsson	<hpn@cygnus.com>
207891041Sobrien	* config/tc-sh64.c (sh64_target_format): Use elf64-sh64l and
207991041Sobrien	elf64-sh64 for the 64-bit ABI.
208091041Sobrien	* config/tc-sh.c (md_show_usage): Tweak usage output for -abi=*
208191041Sobrien	option.
208291041Sobrien	2000-11-29  Hans-Peter Nilsson	<hpn@cygnus.com>
208391041Sobrien	* config/tc-sh.c: Remove conditionalizing on HAVE_SH64 for
208491041Sobrien	case-insensitivity.
208591041Sobrien	2000-11-27  Hans-Peter Nilsson	<hpn@cygnus.com>
208691041Sobrien	* config/tc-sh64.c: Tweak comments, formatting and error messages.
208791041Sobrien	(enum sh64_abi_values): New type.
208891041Sobrien	(enum sh64_isa_values): New type.
208991041Sobrien	(sh64_isa_mode): Replace shmedia_mode.	All referers changed.
209091041Sobrien	(seen_shcompact_mode, seen_shmedia_mode): Delete.
209191041Sobrien	(sh64_abi): Replace shmedia_64.
209291041Sobrien	(shmedia_md_convert_frag) <C (MOVI_IMM_64, MOVI_64),
209391041Sobrien	C (MOVI_IMM_32, MOVI_32)>: Correct register number handling.
209491041Sobrien	(s_sh64_mode): Check validity for this target.
209591041Sobrien	(sh64_target_format): Initialize defaults for ISA and ABI.
209691041Sobrien	Fallback to old object format if no SH64 ISA or ABI has been
209791041Sobrien	specified.
209891041Sobrien	* config/tc-sh.c (md_parse_option): Check combinations for errors.
209991041Sobrien	(sh_elf_final_processing): Change to have EF_SH64_ABI64 for 64-bit
210091041Sobrien	ABI and EF_SH64 for 32-bit ABI, if SH64 options are specified.
210191041Sobrien	* config/tc-sh64.h: Fix typo in comment.
210291041Sobrien	2000-11-25  Hans-Peter Nilsson	<hpn@cygnus.com>
210391041Sobrien	* config/tc-sh64.c (shmedia_md_estimate_size_before_relax)
210491041Sobrien	<PT fixups for absolute values>: Size will be longest, not
210591041Sobrien	shortest.
210691041Sobrien	(shmedia_md_convert_frag): Disable PTB-warning machinery.  Correct
210791041Sobrien	all MOVI and SHORI operand offsets in PT/PTA/PTB expansions.
210891041Sobrien	* config/tc-sh.c (parse_reg) [HAVE_SH64]: Add local variables l0
210991041Sobrien	and l1 to hold lowercase of two first characters.  Change all
211091041Sobrien	remaining TO_LOWER to tolower.
211191041Sobrien	* config/tc-sh64.c (TO_LOWER): Delete.
211291041Sobrien	(shmedia_find_cooked_opcode): Use tolower, not TO_LOWER.
211391041Sobrien	(md_parse_name): Define.
211491041Sobrien	(sh64_consume_datalabel): Declare.
211591041Sobrien	(DOLLAR_DOT): Define.
211691041Sobrien	* config/tc-sh64.c (shmedia_parse_exp): New.
211791041Sobrien	(sh64_consume_datalabel): New; just ignoring datalabel semantics.
211891041Sobrien	(shmedia_parse_reg): Remove const from src
211991041Sobrien	parameter.
212091041Sobrien	(shmedia_get_operands): Ditto for args parameter and ptr variable.
212191041Sobrien	(shmedia_md_assemble): Ditto for op_end variable.
212291041Sobrien	(shmedia_get_operand): Ditto for ptr parameter and src variable.
212391041Sobrien	Use shmedia_parse_exp, not parse_exp.
212491041Sobrien	* config/tc-sh64.c (shmedia_parse_reg): Add shmedia_arg_type
212591041Sobrien	parameter.  All callers changed.
212691041Sobrien	(shmedia_get_operand): Add shmedia_arg_type parameter.	All
212791041Sobrien	callers changed.
212891041Sobrien	(shmedia_parse_reg): Put first two character in local variables.
212991041Sobrien	Use tolower, not TO_LOWER.  If no register is found and argtype
213091041Sobrien	indicates a control register, scan shmedia_creg_table
213191041Sobrien	case-insensitive.
213291041Sobrien	2000-11-24  Hans-Peter Nilsson	<hpn@cygnus.com>
213391041Sobrien	* Makefile.am (CPU_TYPES): Add sh64.
213491041Sobrien	(TARGET_CPU_CFILES): Add config/tc-sh64.c.
213591041Sobrien	(TARGET_CPU_HFILES): Add config/tc-sh64.h.
213691041Sobrien	Regenerate dependencies.
213791041Sobrien	* Makefile.in: Regenerate.
213891041Sobrien	* configure.in: Add support for sh64-*-elf*.
213991041Sobrien	* configure: Regenerate.
214091041Sobrien	* config/tc-sh64.h: New.
214191041Sobrien	* config/tc-sh64.c: New.
214291041Sobrien	* config/tc-sh.c (md_pseudo_table) [HAVE_SH64]: New pseudos
214391041Sobrien	.mode, .isa and .uaquad.
214491041Sobrien	[HAVE_SH64] (SH64PCREL16_32, SH64PCREL16_64, SH64PCREL16PT_32,
214591041Sobrien	SH64PCREL16PT_64, MOVI_IMM_32, MOVI_IMM_64): Define.
214691041Sobrien	[HAVE_SH64] (END): Define as 10.
214791041Sobrien	[HAVE_SH64] (UNDEF_SH64PCREL, SH64PCREL16, SH64PCREL32,
214891041Sobrien	SH64PCREL48, SH64PCREL64, UNDEF_MOVI, MOVI_16, MOVI_32, MOVI_48,
214991041Sobrien	MOVI_64): Define.
215091041Sobrien	[HAVE_SH64] (SH64PCREL16_F, SH64PCREL16_M, SH64PCREL16_LENGTH,
215191041Sobrien	SH64PCREL32_F, SH64PCREL32_M, SH64PCREL32_LENGTH, SH64PCREL48_F,
215291041Sobrien	SH64PCREL48_M, SH64PCREL48_LENGTH, SH64PCREL64_LENGTH,
215391041Sobrien	MOVI_16_LENGTH, MOVI_32_LENGTH, MOVI_48_LENGTH, MOVI_64_LENGTH):
215491041Sobrien	Define.
215591041Sobrien	(md_relax_table) [HAVE_SH64]: Provide relaxations for SHmedia.
215691041Sobrien	(md_begin) [HAVE_SH64]: Call shmedia_md_begin.
215791041Sobrien	(parse_reg) [HAVE_SH64]: Parse register names case-insensitive.
215891041Sobrien	(md_assemble) [HAVE_SH64]: Call shmedia_md_assemble if assembling
215991041Sobrien	SHmedia instructions.  Handle state-change after switching to
216091041Sobrien	SHcompact.
216191041Sobrien	(md_longopts) [HAVE_SH64]: New options --isa=* and --abi=*.
216291041Sobrien	(md_parse_option) [HAVE_SH64]: Parse new options.
216391041Sobrien	(md_show_usage) [HAVE_SH64]: Show usage of new options.
216491041Sobrien	(md_convert_frag) [HAVE_SH64] <default>: Call
216591041Sobrien	shmedia_md_convert_frag instead of abort.
216691041Sobrien	(sh_force_relocation) [HAVE_SH64]: Also force relocation for
216791041Sobrien	BFD_RELOC_SH_SHMEDIA_CODE.
216891041Sobrien	(sh_elf_final_processing) [HAVE_SH64]: Set flags identifying
216991041Sobrien	SHcompact or SHmedia code.
217091041Sobrien	(md_apply_fix) [HAVE_SH64] <default>: Return result from calling
217191041Sobrien	shmedia_md_apply_fix instead of abort.
217291041Sobrien	(md_estimate_size_before_relax) [HAVE_SH64] <default>: Return
217391041Sobrien	result from calling shmedia_md_estimate_size_before_relax instead
217491041Sobrien	of calling abort.
217591041Sobrien	(sh_do_align) [HAVE_SH64]: If shmedia_mode, let shmedia_do_align
217691041Sobrien	do the work.
217791041Sobrien	(tc_gen_reloc) [HAVE_SH64]: For unrecognized relocs, call
217891041Sobrien	shmedia_init_reloc and do nothing more if it returns non-zero.
217991041Sobrien	(sh_finalize) [HAVE_SH64]: Call shmedia_md_end.
218091041Sobrien	* po/POTFILES.in: Regenerate.
218191041Sobrien	* po/gas.pot: Regenerate.
218291041Sobrien
218391041Sobrien2002-02-06  Alexandre Oliva  <aoliva@redhat.com>
218491041Sobrien
218591041Sobrien	* config/tc-sh.c (parse_at): Install the correct version of
218691041Sobrien	2002-02-04's patch.
218794536Sobrien
218891041Sobrien	* config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't
218991041Sobrien	assume fixP->fx_subsy is non-NULL.
219091041Sobrien
219191041Sobrien2002-02-04  Alexandre Oliva  <aoliva@redhat.com>
219291041Sobrien
219391041Sobrien	* config/tc-sh.c (parse_at): Set arg type of @(expr,pc) to
219491041Sobrien	A_DISP_PC_ABS, and adjust it by -4.
219591041Sobrien	(get_specific): Accept A_DISP_PC_ABS where A_DISP_PC is
219691041Sobrien	expected.
219791041Sobrien	(build_Mytes): Mark PCRELIMM fix-ups as pc-relative only if
219891041Sobrien	the operand type is not A_DISP_PC_ABS.
219991041Sobrien
220091041Sobrien2002-02-04  Hans-Peter Nilsson  <hp@bitrange.com>
220191041Sobrien
220291041Sobrien	* config/tc-mmix.c (tc_gen_reloc): Don't try and take the value of
220391041Sobrien	common and weak symbols.  Handle common and weak symbols as
220491041Sobrien	undefined symbols with regards to GREG handling and merging.
220591041Sobrien	(mmix_frob_file): Ditto.
220691041Sobrien
220791041Sobrien2002-02-02  Jason Thorpe  <thorpej@wasabisystems.com>
220891041Sobrien
220991041Sobrien	* configure.in (hppa-*-netbsd*): New target.
221091041Sobrien	* configure: Regenerate.
221191041Sobrien	* config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD.
221291041Sobrien
221391041Sobrien2002-02-02  Alan Modra  <amodra@bigpond.net.au>
221491041Sobrien
221591041Sobrien	* config/tc-v850.c: Add missing prototypes amd use old-style
221691041Sobrien	function definitions.
221791041Sobrien	(AREA_ZDA, AREA_SDA, AREA_TDA): Delete.
221891041Sobrien	(sdata_section tdata_section, zdata_section, sbss_section,
221991041Sobrien	tbss_section, zbss_section, rosdata_section, rozdata_section,
222091041Sobrien	scommon_section, tcommon_section, zcommon_section,
222191041Sobrien	call_table_data_section, call_table_text_section): Delete.
222291041Sobrien	(v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss,
222391041Sobrien	v850_zbss, v850_bss, v850_rosdata, v850_rozdata,
222491041Sobrien	v850_call_table_data, v850_call_table_text): Delete.
222591041Sobrien	(struct v850_seg_entry): New.
222691041Sobrien	(v850_seg_table): New.
222791041Sobrien	(SDATA_SECTION TDATA_SECTION, ZDATA_SECTION, SBSS_SECTION,
222891041Sobrien	TBSS_SECTION, ZBSS_SECTION, BSS_SECTION, ROSDATA_SECTION,
222991041Sobrien	ROZDATA_SECTION, SCOMMON_SECTION, TCOMMON_SECTION, ZCOMMON_SECTION,
223091041Sobrien	CALL_TABLE_DATA_SECTION, CALL_TABLE_TEXT_SECTION): Define.
223191041Sobrien	(do_v850_seg): New.
223291041Sobrien	(v850_seg): New.
223391041Sobrien	(v850_comm): Use do_v850_seg and v850_seg_table.  Simplify
223491041Sobrien	recording of alignment.
223591041Sobrien	(md_pseudo_table): Use v850_seg.
223691041Sobrien	(md_begin): Don't init .call_table_data and .call_table_text here.
223791041Sobrien	Set v850_seg_table bss entry.
223891041Sobrien
223991041Sobrien2002-02-01  Hans-Peter Nilsson  <hp@bitrange.com>
224091041Sobrien
224191041Sobrien	Support on-demand global register allocation by passing on
224291041Sobrien	base-plus-offset relocs to the linker.
224391041Sobrien	* config/tc-mmix.c: Tweak and fix typos in comments.
224494536Sobrien	(allocate_undefined_gregs_in_linker): New variable.
224591041Sobrien	(OPTION_LINKER_ALLOCATED_GREGS): New option macro.
224691041Sobrien	(md_longopts): Add --linker-allocated-gregs.
224791041Sobrien	(md_parse_option) <case 'x'>: Imply --linker-allocated-gregs.
224891041Sobrien	<case OPTION_LINKER_ALLOCATED_GREGS>: New.
224991041Sobrien	(md_show_usage): Update text for -x.  Add text for
225091041Sobrien	--linker-allocated-gregs.
225191041Sobrien	(tc_gen_reloc): Derive default value for addend from val and
225291041Sobrien	baddsy.  Use addsec and bfd_is_abs_section in more places.  Don't
225391041Sobrien	emit error for BFD_RELOC_MMIX_BASE_PLUS_OFFSET without suitable
225491041Sobrien	GREG if allocate_undefined_gregs_in_linker.
225591041Sobrien	* doc/as.texinfo (Overview) <Target MMIX options>: Add
225691041Sobrien	--linker-allocated-gregs.
225791041Sobrien	* doc/c-mmix.texi (MMIX-Opts): Add blurb about
225891041Sobrien	--linker-allocated-gregs.  Mention that it's implied by -x.
225991041Sobrien	(MMIX-Pseudos) <GREG>: Mention when and how a GREG can be omitted.
226091041Sobrien	(MMIX-mmixal): Clarify dated comparison and location of MMIXware.
226191041Sobrien
226291041Sobrien	* config/tc-mmix.h (md_parse_name): Use ISUPPER, not isupper.
226391041Sobrien
226491041Sobrien2002-02-01  Alan Modra  <amodra@bigpond.net.au>
226591041Sobrien
226691041Sobrien	* Makefile.am: Run "make dep-am"
226791041Sobrien	* Makefile.in: Regenerate.
226891041Sobrien
226991041Sobrien2002-01-31  Ivan Guzvinec  <ivang@opencores.org>
227091041Sobrien
227191041Sobrien	* config/tc-or32.c: New file.
227291041Sobrien	* config/tc-or32.h: New file.
227391041Sobrien	* configure.in: Add support for or32 targets.
227491041Sobrien	* configure: Regenerate.
227591041Sobrien	* config/obj-coff.c: Add support for or32 targets.
227691041Sobrien	* config/obj-coff.h: Add support for or32 targets.
227791041Sobrien	* Makefile.am: Add support for or32 targets.
227891041Sobrien	* Makefile.in: Regenerate.
227991041Sobrien	* NEWS: Mention support for OpenRISC.
228091041Sobrien	* doc/Makefile.in: Regenerate.
228191041Sobrien	* po/POTFILES.in: Regenerate.
228291041Sobrien	* po/gas.pot: Regenerate.
228391041Sobrien
228491041Sobrien2002-01-30  Richard Sandiford  <rsandifo@redhat.com>
228591041Sobrien
228691041Sobrien	* config/tc-sh.c (parse_reg): Fix end-of-word check for is, ix, iy
228791041Sobrien	and mod.
228891041Sobrien
228991041Sobrien2002-01-29  Chris Demetriou  <cgd@broadcom.com>
229091041Sobrien
229191041Sobrien	* config/tc-mips.c (tc_gen_reloc): Arrange for
229291041Sobrien	BFD_RELOC_PCREL_HI16_S relocations to be output relative to
229391041Sobrien	their LO16 parts, even for ELF.
229491041Sobrien
229591041Sobrien2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
229691041Sobrien
229791041Sobrien	* config/tc-i386.c: Protect definitions of true and false
229891041Sobrien	from redefinition.
229991041Sobrien
230091041Sobrien2002-01-28  Jakub Jelinek  <jakub@redhat.com>
230191041Sobrien
230291041Sobrien	* config/obj-elf.c (elf_frob_file_before_adjust): Remove symbols
230391041Sobrien	made because of .weak, if they are neither defined nor used in any
230491041Sobrien	way.
230591041Sobrien
230691041Sobrien2002-01-27  Daniel Jacobowitz  <drow@mvista.com>
230791041Sobrien
230891041Sobrien	* configure: Regenerated.
230991041Sobrien
231091041Sobrien2002-01-26  Hans-Peter Nilsson  <hp@bitrange.com>
231191041Sobrien
231291041Sobrien	* doc/Makefile.am (install): Depend on install-info.
231391041Sobrien	* doc/Makefile.in: Regenerate.
231491041Sobrien
231589857Sobrien2002-01-26  Nick Clifton <nick@redhat.com>
231685815Sobrien
231789857Sobrien	* po/fr.po: Updated version
231885815Sobrien
231989857Sobrien2002-01-24  Kazu Hirata  <kazu@hxi.com>
232085815Sobrien
232189857Sobrien	* config/tc-h8300.c (check_operand): Don't print a warning
232289857Sobrien	when a valid 24-bit address is given to a 16-bit address
232389857Sobrien	operand.
232485815Sobrien
232589857Sobrien2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
232685815Sobrien
232789857Sobrien	* config/tc-sh.c (sh_elf_suffix): Removed.
232889857Sobrien	(sh_PIC_related_p, sh_check_fixup, sh_cons_fix_new,
232989857Sobrien	sh_end_of_match, sh_parse_name): New functions.
233089857Sobrien	(sh_elf_cons): Simplify.
233189857Sobrien	(parse_exp): Reject misplaced PIC operands.
233289857Sobrien	(md_undefined_symbol): Simplify.
233389857Sobrien	(sh_fix_adjustable): Let @GOTOFF be adjusted.
233489857Sobrien	(md_apply_fix3): Write @PLT and @GOTOFF addends in place.
233589857Sobrien	(tc_gen_reloc): Move fixp subsy absolute value into addnumber.
233689857Sobrien	Complain if subsy remains at the end.
233789857Sobrien	* config/tc-sh.h (sh_parse_name, sh_cons_fix_new): Declare.
233889857Sobrien	(md_parse_name, TC_CONS_FIX_NEW, O_PIC_reloc): Define.
233985815Sobrien
234089857Sobrien2002-01-22  Alexandre Oliva  <aoliva@redhat.com>
234185815Sobrien
234289857Sobrien	* config/tc-mn10300.c (xr_registers): Move `pc'...
234389857Sobrien	(other_registers): ... here.
234485815Sobrien
234589857Sobrien2002-01-22  Alan Modra  <amodra@bigpond.net.au>
234685815Sobrien
234789857Sobrien	* Makefile.am: Run "make dep-am".
234878828Sobrien	* Makefile.in: Regenerate.
234989857Sobrien	* gas/po/POTFILES.in: Regenerate.
235078828Sobrien
235189857Sobrien2002-01-21  DJ Delorie  <dj@redhat.com>
235278828Sobrien
235389857Sobrien	* config/obj-coff.c (obj_coff_init_stab_section): Make the
235489857Sobrien	stabstr_name allocation permanent, as it will be referenced from
235589857Sobrien	the section hash.
235678828Sobrien
235789857Sobrien2002-01-21  Jason Thorpe  <thorpej@wasabisystems.com>
235878828Sobrien
235989857Sobrien	* configure.in (ia64-*-netbsd*): New target.
236094536Sobrien	* configure: Regenerate.
236178828Sobrien
236289857Sobrien2002-01-21  Hans-Peter Nilsson  <hp@bitrange.com>
236378828Sobrien
236489857Sobrien	* doc/as.texinfo (Overview) <Target ARM options>: Add missing {}
236589857Sobrien	to @dots call.
236689857Sobrien	<Detailed description, ARM options>: Ditto.
236789857Sobrien	* doc/c-arm.texi (ARM Options): Ditto.
236878828Sobrien
236989857Sobrien2002-01-18  Richard Earnshaw  <rearnsha@arm.com>
237078828Sobrien
237189857Sobrien	* tc-arm.c (do_xsc_mia, do_xsc_mar, do_xsc_mra): Renamed from
237289857Sobrien	do_mia, do_mar and do_mra respectively.
237389857Sobrien	(do_mav_*): Renamed from do_c_*.
237489857Sobrien	(mav_reg_required_here, mav_parse_offset): Renamed from
237589857Sobrien	cirrus_reg_required_here and cirrus_parse_offset respectively.
237689857Sobrien	(MAV_MODE?): Renamed from CIRRUS_MODE?.
237778828Sobrien
237889857Sobrien2002-01-18  Richard Earnshaw  <rearnsha@arm.com>
237989857Sobrien	    Keith Walker  <keith.walker@arm.com>
238078828Sobrien
238189857Sobrien	* tc-arm.c (ARM_EXT_V5J, ARM_ARCH_V5TEJ): Define.
238289857Sobrien	(insns): Add pattern for bxj instruction.
238389857Sobrien	(do_bxj): New function.
238489857Sobrien	(arm_cpus): Add arm926ej.
238589857Sobrien	(arm_archs): Add armv5tej.
238678828Sobrien
238789857Sobrien2002-01-18  Richard Earnshaw  <rearnsha@arm.com>
238878828Sobrien
238989857Sobrien	* doc/c-arm.texi: Add new fpe options to list of supported flags.
239078828Sobrien
239189857Sobrien2002-01-19  Keith Walker  <keith.walker@arm.com>
239278828Sobrien
239389857Sobrien	* tc-arm.c (arm_fpus): Add fpe2 and fpe3.
239478828Sobrien
239589857Sobrien2002-01-18  Richard Earnshaw  <rearnsha@arm.com>
239678828Sobrien
239789857Sobrien	* NEWS: Mention new ARM command-line options and VFP support.
239878828Sobrien
239994536Sobrien	* config/tc-arm.c (ARM_CEXT_XSCALE): Replaces ARM_EXT_XSCALE.  All
240089857Sobrien	uses changed.
240189857Sobrien	(ARM_CEXT_MAVERICK): Similarly.
240289857Sobrien	(ARM_ANY): Now means any core instruction.
240389857Sobrien	(CPU_DEFAULT): Default to ARM_ANY.
240489857Sobrien	(uses_apcs_26, atcps, support_interwork, uses_apcs_float)
240589857Sobrien	(pic_code): Declare for all object types.  Make type int.
240689857Sobrien	(legacy_cpu, legacy_fpu, mcpu_cpu_opt, mcpu_fpu_opt, march_cpu_opt)
240789857Sobrien	(march_fpu_opt, mfpu_opt): Declare.
240889857Sobrien	(md_longopts): Tidy up conditional definitions.
240989857Sobrien	(arm_opts, arm_cpus, arm_archs, arm_fpus, arm_extensions)
241089857Sobrien	(arm_long_opts): New tables.
241189857Sobrien	(arm_parse_cpu, arm_parse_arch, arm_parse_fpu): New functions.
241289857Sobrien	(arm_parse_extension): New function.
241389857Sobrien	(md_parse_option): Rewrite using new table-driven system.
241489857Sobrien	(md_show_usage): Use new table-driven system.
241589857Sobrien	(md_begin): Calculate cpu_variant from command line option data.
241689857Sobrien	* doc/as.texinfo (ARM ISA options): Docuement new ARM-specific
241789857Sobrien	command-line options.
241889857Sobrien	* doc/c-arm.texi: Likewise.
241978828Sobrien
242089857Sobrien2002-01-18  Andreas Jaeger  <aj@suse.de>
242178828Sobrien
242289857Sobrien	* as.c (parse_args): Update year.
242378828Sobrien
242489857Sobrien2002-01-17  Timothy Wall  <twall@alum.mit.edu>
242578828Sobrien
242689857Sobrien	* config/tc-tic54x.c (encode_address): Add a more informative
242789857Sobrien	warning about incorrect syntax.
242878828Sobrien
242989857Sobrien2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
243078828Sobrien
243189857Sobrien	* po/gas.pot: Regenerate.
243278828Sobrien
243389857Sobrien2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
243478828Sobrien
243589857Sobrien	* macro.c (get_any_string): Add no-c-format comment to prevent
243689857Sobrien	confusion when translating string.
243789857Sobrien	* gasp.c (get_any_string): Add no-c-format comment to prevent
243889857Sobrien	confusion when translating string.
243978828Sobrien
244089857Sobrien2002-01-16  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
244189857Sobrien	    Johannes Stezenbach <js@convergence.de>
244289857Sobrien	* config/tc-mips.c (percent_op): Ensure longer percent_op's are
244389857Sobrien	matched before the shorter ones.
244489857Sobrien	(my_getSmallParser): Fix handling of nested parentheses in
244589857Sobrien	percent_op's. Code cleanup.
244689857Sobrien	(my_getPercentOp): New function, code from my_getSmallParser.
244789857Sobrien	(my_getSmallExpression): Fix handling of closing parentheses.
244889857Sobrien	Code cleanup. Better comments.
244978828Sobrien
245089857Sobrien2002-01-16  Nick Clifton <nickc@redhat.com>
245178828Sobrien
245289857Sobrien	po/tr.po: New file: Turkish translation.
245389857Sobrien	configure.in (LINGUAS): Add "tr".
245477298Sobrien	configure: Regenerate.
245538889Sjdp
245689857Sobrien2002-01-15  Richard Earnshaw  <rearnsha@arm.com>
245738889Sjdp
245889857Sobrien	Support for VFP instructions
245989857Sobrien	* tc-arm.c (CP_WB_OK, CP_NO_WB): New defines.
246089857Sobrien	(cp_address_required_here): New argument wb_ok.  When false, do not
246189857Sobrien	accept write-back forms of addressing.  Change all callers.
246289857Sobrien	(FPU_VFP_EXT_NONE, FPU_VFP_EXT_V1xD, FPU_VFP_VFP_V1)
246389857Sobrien	(FPU_VFP_EXT_V2): Define.
246489857Sobrien	(FPU_ARCH_VFP, FPU_ARCH_VFP_V1xD, FPU_ARCH_VFP_V1, FPU_ARCH_VFP_V2):
246589857Sobrien	Define in terms of above.
246689857Sobrien	(vfp_dp_reg_pos, vfp_sp_reg_pos, vfp_ldstm_type): New enums.
246789857Sobrien	(vfp_reg): New struct.
246889857Sobrien	(vfp_regs): New array of registers.
246989857Sobrien	(insns): Add VFP instructions.
247089857Sobrien	(sn_table): New array of VFP single-precision register names.
247189857Sobrien	(dn_table): New array of VFP double-precision register names.
247289857Sobrien	(all_reg_maps): Add the new register tables.
247389857Sobrien	(arm_reg_type): Add new values for above.  Increase RET_TYPE_MAX.
247489857Sobrien	(vfp_sp_reg_required_here, vfp_dp_reg_required_here, do_vfp_sp_monadic)
247589857Sobrien	(do_vfp_dp_monadic, do_vfp_sp_dyadic, do_vfp_dp_dyadic)
247689857Sobrien	(do_vfp_reg_from_sp, do_vfp_sp_reg2, do_vfp_sp_from_reg)
247789857Sobrien	(do_vfp_reg_from_dp, do_vfp_reg2_from_dp, do_vfp_dp_from_reg)
247889857Sobrien	(do_vfp_dp_from_reg2, vfp_psr_parse, vfp_psr_required_here)
247989857Sobrien	(do_vfp_reg_from_ctrl, do_vfp_ctrl_from_reg, do_vfp_sp_ldst)
248089857Sobrien	(do_vfp_dp_ldst, vfp_sp_reg_list, vfp_dp_reg_list, vfp_sp_ldstm)
248189857Sobrien	(vfp_dp_ldstm, do_vfp_sp_ldstmia, do_vfp_sp_ldstmdb, do_vfp_ldstmia)
248289857Sobrien	(do_vfp_dp_ldstmdb, do_vfp_xp_ldstmia, do_vfp_xp_ldstmdb)
248389857Sobrien	(do_vfp_sp_compare_z, do_vfp_dp_compare_z, do_vfp_dp_sp_cvt)
248489857Sobrien	(do_vfp_sp_dp_cvt): New functions.
248589857Sobrien	(md_begin): Set soft-float flag for appropriate VFP work.
248689857Sobrien	(md_atof): Handle VFP-format doubles.
248789857Sobrien	(md_parse_option): Handle VFP command-line options.
248889857Sobrien	(md_show_usage): Display VFP command-line options.
248938889Sjdp
249089857Sobrien2002-01-15  Richard Earnshaw  <rearnsha@arm.com>
249138889Sjdp
249289857Sobrien	* tc-arm.c (md_parse_option): Tidy up setting of cpu_variant for
249389857Sobrien	various command line options.
249438889Sjdp
249589857Sobrien2002-01-15  Nick Clifton  <nickc@cambridge.redhat.com>
249638889Sjdp
249789857Sobrien	* config/tc-xstormy16.c: (xstormy16_fix_adjustable): Do not fix
249889857Sobrien	vtinherit relocs.
249989857Sobrien	(xstormy16_md_apply_fix3): Do not return a value.
250038889Sjdp
250189857Sobrien2002-01-14  Richard Earnshaw  <rearnsha@arm.com>
250238889Sjdp
250389857Sobrien	* tc-arm.c (md_longopts): On targets that aren't bi-endian, support
250489857Sobrien	the -EL/-EB option that matches the target's endianness.
250577298Sobrien	(md_parse_option): Likewise.
250638889Sjdp
250789857Sobrien2002-01-14  Richard Earnshaw  <rearnsha@arm.com>
250838889Sjdp
250989857Sobrien	* tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option
251089857Sobrien	is not dependent on ARM_BI_ENDIAN.
251138889Sjdp
251289857Sobrien2002-01-14  Richard Earnshaw  <rearnsha@arm.com>
251338889Sjdp
251489857Sobrien	* tc-arm.c (all error messages): Normalize capitalization of messages.
251538889Sjdp
251689857Sobrien	* tc-arm.h (md_operand): Delete define.
251789857Sobrien	* tc-arm.c (in_my_get_expression): New static variable.
251889857Sobrien	(my_get_expression): Set and clear it.
251989857Sobrien	(md_operand): New function.  If called from my_get_expression
252089857Sobrien	put the error in inst.error.
252189857Sobrien	(output_inst): Now takes argument of instruction being assembled.
252289857Sobrien	Print it out with any error message.
252389857Sobrien	(do_ldst, do_ldstv4, thumb_load_store): Fault attempt to use a store
252489857Sobrien	with '=' syntax.
252589857Sobrien	(end_of_line): Don't update inst.error if it is already set.
252638889Sjdp
252789857Sobrien2002-01-11  Richard Earnshaw  <rearnsha@arm.com>
252838889Sjdp
252989857Sobrien	* tc-arm.c ((do_ldst): Fix handling an immediate expression pseudo
253089857Sobrien	op that can be translated into a mvn instruction.
253138889Sjdp
253289857Sobrien2002-01-11  Steve Ellcey  <sje@cup.hp.com>
253338889Sjdp
253489857Sobrien	* gas/config/tc-ia64.h (MD_FLAGS_DEFAULT): New Macro for
253589857Sobrien	setting default md.flags.
253689857Sobrien	(SHT_INIT_ARRAY): New elf special section used by HP-UX.
253789857Sobrien	(SHT_FINI_ARRAY): New elf special section used by HP-UX.
253889857Sobrien	* gas/config/tc-ia64.c (setup_unwind_header): Add support
253989857Sobrien	for 32 bit unwind info blocks.
254089857Sobrien	(generate_unwind_image): Add support for different types
254189857Sobrien	of unwind images (32 bits and/or big-endian).
254289857Sobrien	(ia64_init): Use MD_FLAGS_DEFAULT to set md.flags.
254389857Sobrien	(ia64_target_format): Add support for hpux target formats.
254489857Sobrien	(ia64_gen_real_reloc_type): Add support for FUNC_IPLT_RELOC.
254589857Sobrien	(ia64_elf_section_type): Add support for SHT_INIT_ARRAY and
254689857Sobrien	SHT_FINI_ARRAY elf section types.
254738889Sjdp
254889857Sobrien2002-01-10  Richard Earnshaw  <rearnsha@arm.com>
254938889Sjdp
255089857Sobrien	* tc-arm.c (struct reg_entry): Move before prototypes.
255189857Sobrien	(int_register, cp_register, fp_register): Delete.
255289857Sobrien	(reg_table): Delete.  Replaced with ...
255389857Sobrien	(rn_table, cp_table, cn_table, fn_table, mav_mvf_table)
255489857Sobrien	(mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table)
255589857Sobrien	(mav_dspsc_table): ... one table per register set.
255689857Sobrien	(arm_reg_hsh): Delete.
255789857Sobrien	(struct reg_map): New structure.
255889857Sobrien	(all_reg_maps): New array.
255989857Sobrien	(enum arm_reg_type): New enums.
256089857Sobrien	(build_reg_hsh): New function.
256189857Sobrien	(insert_reg_alias): Use hash table passed by caller.  Adjust all
256289857Sobrien	callers.
256389857Sobrien	(create_register_alias): New function, split out from ...
256489857Sobrien	(md_assemble): ... here.
256589857Sobrien	(md_begin): Build new register hash tables.
256689857Sobrien	(arm_reg_parse): New argument for the hash table to search.  Adjust all
256789857Sobrien	callers.
256889857Sobrien	(arm_reg_parse_any): New function.
256989857Sobrien	(co_proc_number): Look up the processor number in the processor hash
257089857Sobrien	table.
257189857Sobrien	(cirrus_regtype): Delete.
257289857Sobrien	(cirrus_register, cirrus_mvf_register, cirrus_mvd_register)
257389857Sobrien	(cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register)
257489857Sobrien	(ARM_EXT_MAVERICKsc_register): Delete.
257589857Sobrien	(do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete.
257689857Sobrien	(do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New
257789857Sobrien	functions.
257889857Sobrien	(do_c_triple_4, do_c_triple_5): Delete.
257989857Sobrien	(do_c_triple_4[ab], do_c_triple_5[a-h]): New functions.
258089857Sobrien	(do_c_quad_6): Delete.
258189857Sobrien	(do_c_quad_6[ab]): New functions.
258289857Sobrien	(do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework
258389857Sobrien	arguments to use new register parsing methods.
258489857Sobrien	(cirrus_reg_required_here): Likewise.
258589857Sobrien	(insns): Reclassify cirrus maverick worker functions.
258689857Sobrien	(cirrus_valid_reg): Delete.
258738889Sjdp
258889857Sobrien2002-01-07  Jason Thorpe  <thorpej@wasabisystems.com>
258938889Sjdp
259089857Sobrien	* configure.in (sh*le): Set cpu_type=sh and endian=little.
259189857Sobrien	(sh*-*-netbsdelf*): New target.
259260484Sobrien	* configure: Regenerate.
259389857Sobrien	* tc-sh.h: Update copyright years.
259489857Sobrien	(TARGET_FORMAT): Add version for TE_NetBSD.
259538889Sjdp
259689857Sobrien2002-01-07  Nick Clifton  <nickc@cambridge.redhat.com>
259738889Sjdp
259889857Sobrien	* read.c (emit_expr): Do not allow 'size' or 'nbytes' to go
259989857Sobrien	negative.
260038889Sjdp
260189857Sobrien2002-01-06  Alan Modra  <amodra@bigpond.net.au>
260238889Sjdp
260389857Sobrien	* config/tc-m68k.h (md_prepare_relax_scan): Rewrite.
260489857Sobrien	* config/tc-m68k.c (md_relax_table): Add md_prepare_relax_scan comment.
260538889Sjdp
260689857Sobrien2002-01-05  Daniel Jacobowitz  <drow@mvista.com>
260738889Sjdp
260889857Sobrien	* tc-mips.c (mips_cprestore_valid): New flag.
260989857Sobrien	(mips_frame_reg_valid): New flag.
261089857Sobrien	(macro) [M_JAL_2]: Check both flags.
261189857Sobrien	[M_JAL_A]: Likewise.
261289857Sobrien	(s_cprestore): Set mips_cprestore_valid.
261389857Sobrien	(tc_get_register): If setting mips_frame_reg, set
261489857Sobrien	mips_frame_reg_valid and clear mips_cprestore_valid.
261589857Sobrien	(s_mips_ent): Clear both flags.
261689857Sobrien	(s_mips_end): Clear both flags.
261738889Sjdp
261889857Sobrien2002-01-05  Alan Modra  <amodra@bigpond.net.au>
261938889Sjdp
262089857Sobrien	* write.c (write_object_file): Make use of bfd_section_list_remove.
262189857Sobrien	* config/obj-ecoff.c (ecoff_frob_file): Likewise.
262289857Sobrien	* config/tc-mmix.c (mmix_frob_file): Likewise.
262338889Sjdp
262489857Sobrien2002-01-04  Jason Thorpe  <thorpej@wasabisystems.com>
262538889Sjdp
262689857Sobrien	* configure.in (i386-*-netbsdelf*): Collapse target into...
262789857Sobrien	(i386-*-netbsd*): ...this.  Add support for x86-64.
262860484Sobrien	* configure: Regenerated.
262933965Sjdp
263089857Sobrien2002-01-03  matthew green  <mrg@redhat.com>
263133965Sjdp
263289857Sobrien	* config/tc-ppc.c (md_parse_option): BookE is not Motorola specific.
263333965Sjdp
263489857Sobrien2002-01-02  Nick Clifton  <nickc@cambridge.redhat.com>
263533965Sjdp
263689857Sobrien	* config/tc-m68k.c (md_estimate_size_before_relax): Test for a
263789857Sobrien	NULL frag link.
263833965Sjdp
263989857SobrienFor older changes see ChangeLog-0001
264089857Sobrien
264189857SobrienLocal Variables:
264289857Sobrienmode: change-log
264389857Sobrienleft-margin: 8
264489857Sobrienfill-column: 74
264589857Sobrienversion-control: never
264689857SobrienEnd:
2647