1130561Sobrien2003-12-29  Paul Brook  <paul@codesourcery.com>
2130561Sobrien
3130561Sobrien	* gas/config/tc-arm.c (arm_cpus): Add 926ejs and 1026ejs.
4130561Sobrien	* gas/doc/c-arm.texi: Document them.
5130561Sobrien
6130561Sobrien2003-23-12  Paul Brook  <paul@codesourcery.com>
7130561Sobrien
8130561Sobrien	* config/tc-arm.c (arm_archs): Add armv6.
9130561Sobrien	* doc/c-arm.texi: Document -march=armv6.
10130561Sobrien
11130561Sobrien2003-12-20  Nick Clifton  <nickc@redhat.com>
12130561Sobrien
13130561Sobrien	* config/tc-ppc.c (md_apply_fix3): Handle the case where a
14130561Sobrien	.byte directive generates a pc-relative relocation.
15130561Sobrien
16130561Sobrien2003-12-19  Nick Clifton  <nickc@redhat.com>
17218822Sdim	    Andreas Schwab  <schwab@suse.de>
18130561Sobrien
19130561Sobrien	* messages.c (as_perror): Save errno around library calls.
20130561Sobrien	* input-file.c [BFD_ASSEMBLER]: Set the BFD error to
21130561Sobrien	bfd_error_system_call before each call to as_perror.
22130561Sobrien	(input_file_open): Simplify the error reporting code to just use
23130561Sobrien	as_perror().
24130561Sobrien	* output-file.c (output_file_create) [BFD_ASSEMBLER]: Set the BFD
25130561Sobrien	error to bfd_error_system_call before calling as_perror.
26130561Sobrien	(output_file_close) [BFD_ASSEMBLER]: Likewise.
27130561Sobrien	(output_file_append) [BFD_ASSEMBLER]: Likewise.
28130561Sobrien	* listing.c (listing_print) [BFD_ASSEMBLER]: Likewise.
29130561Sobrien
30130561Sobrien2003-12-19  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
31130561Sobrien
32218822Sdim	Add m32r-linux and PIC support.  Add new ABI that uses RELA.
33218822Sdim	* configure.in: Add m32r-linux targets.
34130561Sobrien	* configure: Regenerate.
35218822Sdim	* config/tc-m32r.c (md_parse_option): Add -KPIC option.
36218822Sdim	(tc_gen_reloc): Added.
37218822Sdim	(debug_sym, md_estimate_size_before_relax, md_convert_frag,
38218822Sdim	md_pcrel_from_section, m32r_fix_adjustable): Changed for PIC.
39218822Sdim	* config/tc-m32r.h (tc_gen_reloc, EXTERN_FORCE_RELOC): Undefined.
40218822Sdim	(TC_HANDLES_FX_DONE, TC_FIX_ADJUSTABLE, TC_RELOC_RTSYM_LOC_FIXUP):
41130561Sobrien	Defined.
42130561Sobrien	* doc/c-m32r.texi: Document -KPIC option.
43130561Sobrien	* NEWS: Mention the support m32r Linux and PIC.
44130561Sobrien
45130561Sobrien2003-12-18  Nick Clifton  <nickc@redhat.com>
46130561Sobrien
47130561Sobrien	* input-file.c (input_file_open): Remove call to stat().
48130561Sobrien	Add a check for getc() failing, and catch the case where the
49130561Sobrien	failure is due to an attempt to read a directory.
50130561Sobrien
51130561Sobrien2003-12-18  Richard Sandiford  <rsandifo@redhat.com>
52130561Sobrien
53130561Sobrien	* config/tc-mips.c (mips_need_elf_addend_fixup): Delete.
54130561Sobrien	(md_apply_fix3): Remove bfd_install_relocation workarounds.
55130561Sobrien	(tc_gen_reloc): Likewise. Factor handling of pc-relative relocations
56130561Sobrien	and treat fx_addnumber as relative to the relocation address.
57130561Sobrien
58130561Sobrien2003-12-18  Richard Sandiford  <rsandifo@redhat.com>
59130561Sobrien
60130561Sobrien	* config/tc-mips.c (s_change_section): When parsing the MIPS-specific
61130561Sobrien	.section syntax, map SHT_MIPS_DWARF to SHT_PROGBITS.
62130561Sobrien
63130561Sobrien2003-12-17  Mark Mitchell  <mark@codesourcery.com>
64130561Sobrien
65130561Sobrien	* config/tc-arm.c (arm_archs): Change "armv6" to "armv6j".
66130561Sobrien	* doc/c-arm.texi (ARM Options): Likewise.
67130561Sobrien
68130561Sobrien2003-12-17  Nick Clifton  <nickc@redhat.com>
69130561Sobrien
70130561Sobrien	* config/tc-m32r.c (error_explicit_parallel_conflicts): Rename
71218822Sdim	to 'ignore_parallel_conflicts'.
72218822Sdim	(md_longopts): Change option names as well.
73218822Sdim	(md_parse_option): Separate the warn_explicit and ignore
74218822Sdim	parallel conflicts options.
75218822Sdim	(md_show_usage): Update descriptions of these options.
76218822Sdim	(first_writes_to_seconds_operands): Do not run this check if
77218822Sdim	ignoring parallel conflicts.
78218822Sdim	(assemble_two_insns): Remove code that checked
79218822Sdim	error_explicit_parallel_conflicts.
80218822Sdim	* doc/c-m32r.texi: Update descriptions of the options.
81218822Sdim
82130561Sobrien2003-12-16  Dmitry Semyonov  <Dmitry.Semyonov@oktet.ru>
83130561Sobrien
84130561Sobrien	* tc-arm.c (do_adr): Do not adjust pc by -8 if TE_WINCE is
85130561Sobrien	defined.
86130561Sobrien	(do_adrl): Likewise.
87130561Sobrien
88130561Sobrien2003-12-15  Christian Groessler  <chris@groessler.org>
89130561Sobrien
90130561Sobrien	* config/tc-z8k.c (struct z8k_exp): Remove, not used anywhere.
91130561Sobrien	(ctrl_table): Add "flags" keyword and some comments.
92130561Sobrien	(flag_table): Convert to uppercase.
93130561Sobrien	(get_flags_operand): Be case insensitive.
94130561Sobrien	(get_interrupt_operand): Be case insensitive.  Support notation
95130561Sobrien	where the inperrupt arguments are separated by commas.
96130561Sobrien	(get_operands): Check whether get_flags_operand consumed all
97130561Sobrien	arguments.  Return failure if get_ctrl_operand didn't recognize a
98130561Sobrien	valid control register.
99130561Sobrien	(get_specific): Add case CLASS_CTRL: Test for valid control
100130561Sobrien	register for ldctlb opcode.
101130561Sobrien	(build_bytes): Check for valid control registers.
102130561Sobrien
103130561Sobrien2003-12-15  Nick Clifton  <nickc@redhat.com>
104130561Sobrien
105130561Sobrien	* config/obj-aout.c (obj_crawl_symbol_chain): Skip defined
106130561Sobrien	symbols which resolve to symbolic values.
107130561Sobrien
108130561Sobrien2003-12-13  Alan Modra  <amodra@bigpond.net.au>
109130561Sobrien
110130561Sobrien	* config/obj-elf.c: Convert to C90, remove unneeded prototypes and
111130561Sobrien	casts.  Formatting.
112130561Sobrien	* config/obj-elf.h: Remove PARAMS.
113130561Sobrien
114130561Sobrien	* read.c (s_lcomm_internal): Make global.
115130561Sobrien	* read.h (s_lcomm_internal): Declare.
116130561Sobrien	* config/obj-elf.c (elf_pseudo_table): Handle lcomm.
117130561Sobrien	(obj_elf_lcomm): New function.
118130561Sobrien
119130561Sobrien2003-12-13  Alan Modra  <amodra@bigpond.net.au>
120130561Sobrien
121130561Sobrien	* read.c: Remove unneeded prototypes.
122130561Sobrien	(s_comm): Split out code to..
123130561Sobrien	(s_comm_internal): ..here.  Tidy error returns.  Rearrange so that
124130561Sobrien	"name" from input line may be used in more places.  Merge code
125130561Sobrien	testing for valid size from elf_common.  Merge code from
126130561Sobrien	s_lcomm_internal.  Call comm_parse_extra.
127130561Sobrien	(bss_alloc): New function, split out of s_lcomm_internal and
128130561Sobrien	elf_common.
129130561Sobrien	(parse_align): Likewise.
130130561Sobrien	(s_lcomm_internal): Rewrite.
131130561Sobrien	(s_lcomm, s_lcomm_bytes): Use s_comm_internal.
132130561Sobrien	* read.h (bss_alloc, parse_align, s_comm_internal): Declare.
133130561Sobrien	* config/obj-elf.c (elf_common): Split out code to..
134130561Sobrien	(elf_common_parse): ..here.  Remove code common to s_comm_internal,
135130561Sobrien	parse_align and bss_alloc.  Rearrange and Tidy.
136130561Sobrien	* config/tc-alpha.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Define.
137130561Sobrien
138130561Sobrien2003-12-10  Zack Weinberg  <zack@codesourcery.com>
139130561Sobrien
140130561Sobrien	* tc-ppc.c (md_assemble): Rewrite comment about optional operands
141130561Sobrien	to indicate that 'all or none' is also handled.  Pluralize a
142130561Sobrien	word in another comment.
143130561Sobrien
144130561Sobrien2003-12-10  Paul Brook  <paul@codesourcery.com>
145130561Sobrien
146130561Sobrien	* config/tc-arm.c (FPU_MAVERICK): Define.
147130561Sobrien	(FPU_ARCH_MAVERICK): Define.
148130561Sobrien	(arm_float_abi): Define.
149130561Sobrien	(mfloat_abi_opt): New variable.
150130561Sobrien	(md_begin): Use them.
151130561Sobrien	(arm_opts): Add msoft-float and mhard-float.
152130561Sobrien	(arm_cpus): Use FPU_ARCH_MAVERICK.
153130561Sobrien	(arm_fpus): Add maverick.
154130561Sobrien	(arm_float_abis): Add.
155130561Sobrien	(arm_parse_float_abi): New function.
156130561Sobrien	(arm_long_options): Add mfloat-abi.
157130561Sobrien	* doc/as.texinfo: Document -mfloat-abi=.
158130561Sobrien	* doc/c-arm.text: Ditto. Menution -fpu=maverick.
159130561Sobrien
160130561Sobrien2003-12-09  Paul Brook  <paul@codesourcery.com>
161130561Sobrien
162130561Sobrien	* config/tc-arm.c (do_umaal): Fix typo.
163130561Sobrien
164130561Sobrien2003-12-06  Kazu Hirata  <kazu@cs.umass.edu>
165130561Sobrien
166130561Sobrien	* dwarf2dbg.c: Convert to ISO-C.
167130561Sobrien	* write.c: Likewise.
168130561Sobrien	* write.h: Likewise.
169130561Sobrien
170130561Sobrien2003-12-06  Richard Sandiford  <rsandifo@redhat.com>
171130561Sobrien
172130561Sobrien	* config/tc-mips.c (macro): Switch misordered call to frag_grow()
173130561Sobrien	and setting of tc_fr_offset.
174130561Sobrien
175130561Sobrien2003-12-05  Ricardo Anguiano <anguiano@codesourcery.com>
176130561Sobrien	    Mark Mitchell  <mark@codesourcery.com>
177130561Sobrien	    Richard Earnshaw  <rearnsha@arm.com>
178130561Sobrien
179130561Sobrien	Add V6 support.
180130561Sobrien	* config/tc-arm.c (ARM_EXT_V6): New macro.
181130561Sobrien	(ARM_ARCH_V6): Likewise.
182130561Sobrien	(SHIFT_IMMEDIATE): Likewise.
183130561Sobrien	(SHIFT_LSL_OR_ASR_IMMEDIATE): Likewise.
184130561Sobrien	(SHIFT_ASR_IMMEDIATE): Likewise.
185130561Sobrien	(SHIFT_LSL_IMMMEDIATE): Likewise.
186130561Sobrien	(do_cps): New function.
187130561Sobrien	(do_cpsi): Likewise.
188130561Sobrien	(do_ldrex): Likewise.
189130561Sobrien	(do_pkhbt): Likewise.
190130561Sobrien	(do_pkhtb): Likewise.
191130561Sobrien	(do_qadd16): Likewise.
192130561Sobrien	(do_rev): Likewise.
193130561Sobrien	(do_rfe): Likewise.
194130561Sobrien	(do_sxtah): Likewise.
195130561Sobrien	(do_sxth): Likewise.
196130561Sobrien	(do_setend): Likewise.
197130561Sobrien	(do_smlad): Likewise.
198130561Sobrien	(do_smlald): Likewise.
199130561Sobrien	(do_smmul): Likewise.
200130561Sobrien	(do_ssat): Likewise.
201130561Sobrien	(do_usat): Likewise.
202130561Sobrien	(do_srs): Likewise.
203130561Sobrien	(do_ssat16): Likewise.
204130561Sobrien	(do_usat16): Likewise.
205130561Sobrien	(do_strex): Likewise.
206130561Sobrien	(do_umaal): Likewise.
207130561Sobrien	(do_cps_mode): Likewise.
208130561Sobrien	(do_cps_flags): Likewise.
209130561Sobrien	(do_endian_specifier): Likewise.
210130561Sobrien	(do_pkh_core): Likewise.
211130561Sobrien	(do_sat): Likewise.
212130561Sobrien	(do_sat16): Likewise.
213130561Sobrien	(insns): Add V6 instructions.
214130561Sobrien	(do_t_cps): New function.
215130561Sobrien	(do_t_cpy): Likewise.
216130561Sobrien	(do_t_setend): Likewise.
217130561Sobrien	(THUMB_CPY): New macro.
218130561Sobrien	(tinsns): Add V6 instructions.
219130561Sobrien	(decode_shift): Handle V6 restricted-shift options.
220130561Sobrien	(thumb_mov_compare): Support CPY.
221130561Sobrien	(arm_cores): Add arm1136js and arm1136jfs.
222130561Sobrien	(arm_archs): Add armv6.
223130561Sobrien	(arm_fpus): Add arm1136jfs.
224130561Sobrien	* doc/c-arm.texi (ARM Options): Mention arm1136js, arm1136jfs, and
225130561Sobrien	armv6 options.
226130561Sobrien
227130561Sobrien2003-12-06  Christian Groessler  <chris@groessler.org>
228130561Sobrien
229130561Sobrien	* config/tc-z8k.c (parse_reg): Be case insensitive when checking
230130561Sobrien	register names.
231130561Sobrien	(get_ctrl_operand): Be case insensitive when checking ctrl names.
232130561Sobrien
233130561Sobrien2003-12-05  Nick Clifton  <nickc@redhat.com>
234130561Sobrien
235130561Sobrien	* config/tc-sh.c (md_show_usage): Fix compilation errors
236130561Sobrien	introduced by the previous delta.
237130561Sobrien
238130561Sobrien2003-12-03  Alexandre Oliva  <aoliva@redhat.com>
239130561Sobrien
240130561Sobrien	* config/tc-sh.c: Add support for sh4a and no-fpu variants.
241130561Sobrien	* testsuite/gas/sh/basic.exp: Call tests for sh4a.
242130561Sobrien	* testsuite/gas/sh/{err-sh4a-fp.s, err-sh4a.s,
243130561Sobrien	err-sh4al-dsp.s, sh4a-dsp.d, sh4a-dsp.s, sh4a-fp.d,
244130561Sobrien	sh4a-fp.s, sh4a.d, sh4a.s, sh4al-dsp.d, sh4al-dsp.s:
245130561Sobrien	New files, tests for sh4a and related variants.
246130561Sobrien
247130561Sobrien2003-12-05  Michael Snyder  <msnyder@redhat.com>
248130561Sobrien
249130561Sobrien	* config/tc-sh.c (md_show_usage): Mention new -isa options.
250130561Sobrien	* doc/c-sh.texi: Document new -isa options.
251130561Sobrien	* doc/c-sh64.texi: Ditto.
252130561Sobrien	* NEWS: Mention new support for sh4a.
253130561Sobrien
254130561Sobrien2003-12-03  H.J. Lu  <hongjiu.lu@intel.com>
255130561Sobrien
256130561Sobrien	* config/tc-alpha.c (s_alpha_end): Don't crash if there is no
257130561Sobrien	matching .ent.
258130561Sobrien
259130561Sobrien2003-12-04  Alan Modra  <amodra@bigpond.net.au>
260130561Sobrien
261130561Sobrien	* tc.h (md_pcrel_from): Don't declare if defined as a macro.
262130561Sobrien
263130561Sobrien2003-12-03  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
264130561Sobrien
265130561Sobrien	* config/tc-m32r.h : Add support for new machine m32r2.
266130561Sobrien	* config/tc-m32r.c : Likewise.
267130561Sobrien	Add new command line switches and directives to allow endian-ness
268130561Sobrien	to be selected and some warnings to be turned into errors.
269130561Sobrien	(line_separator_chars) : Use '!'.
270130561Sobrien	* doc/c-m32r.texi: Document new switches and directives.
271130561Sobrien	* NEWS: Mention new support.
272130561Sobrien
273130561Sobrien2003-12-03  Dave Airlie  <airlied@linux.ie>
274130561Sobrien
275130561Sobrien	* configure.in: Likewise.
276130561Sobrien	* configure: Regenerate.
277130561Sobrien	* config/tc-vax.c (md_shortopts): Add 'Q'.
278130561Sobrien	(md_parse_option): Ignore 'Q' for now.
279130561Sobrien
280130561Sobrien2003-12-02  Kazu Hirata  <kazu@cs.umass.edu>
281130561Sobrien
282130561Sobrien	* messages.c: Convert to ISO-C.
283130561Sobrien	* obj.h: Likewise.
284130561Sobrien	* output-file.c: Likewise.
285130561Sobrien	* output-file.h: Likewise.
286130561Sobrien	* sb.c: Likewise.
287130561Sobrien	* sb.h: Likewise.
288130561Sobrien	* stabs.c: Likewise.
289130561Sobrien	* subsegs.c: Likewise.
290130561Sobrien	* subsegs.h: Likewise.
291130561Sobrien	* tc.h: Likewise.
292130561Sobrien
293130561Sobrien2003-12-02  Kazu Hirata  <kazu@cs.umass.edu>
294130561Sobrien
295130561Sobrien	* config/obj-elf.c: Remove ARGSUSED.
296130561Sobrien
297130561Sobrien2003-12-02  Alan Modra  <amodra@bigpond.net.au>
298130561Sobrien
299130561Sobrien	* Makefile.am: Run "make dep-am".
300130561Sobrien	* Makefile.in: Regenerate.
301130561Sobrien
302130561Sobrien2003-11-30  Kazu Hirata  <kazu@cs.umass.edu>
303130561Sobrien
304130561Sobrien	* symbols.c: Convert to ISO-C.
305130561Sobrien	* symbols.h: Likewise.
306130561Sobrien
307130561Sobrien2003-11-28  Christian Groessler  <chris@groessler.org>
308130561Sobrien
309130561Sobrien	* config/tc-z8k.c: Convert to ISO-C.
310130561Sobrien	* config/tc-z8k.h: Likewise.
311130561Sobrien
312130561Sobrien2003-11-27  Kazu Hirata  <kazu@cs.umass.edu>
313130561Sobrien
314130561Sobrien	* read.c: Convert to ISO-C.
315130561Sobrien	* read.h: Likewise.
316130561Sobrien
317130561Sobrien2003-11-27  Nick Clifton  <nickc@redhat.com>
318130561Sobrien
319130561Sobrien	* config/tc-sh.c (sh_elf_cons): If md_cons_align is defined
320130561Sobrien	call it to make sure that the constants that are going to be
321130561Sobrien	emitted are correctly aligned.
322130561Sobrien
323130561Sobrien2003-11-27  Alexandre Oliva  <aoliva@redhat.com>
324130561Sobrien
325130561Sobrien	* config/tc-frv.c (md_pcrel_from_section): Don't adjust when
326130561Sobrien	referencing symbol in a different section.
327130561Sobrien
328130561Sobrien2003-11-26  Christian Groessler  <chris@groessler.org>
329130561Sobrien
330130561Sobrien	* config/tc-z8k.c (s_segm): Fix indentation.
331130561Sobrien	(md_apply_fix3): Likewise.
332130561Sobrien	(cc_names): Add alias names for the names generated by the
333130561Sobrien	disassembler.
334130561Sobrien	(get_cc_operand): Be case insensitive.
335130561Sobrien	(get_operands): Improve error handling for cc operands.
336130561Sobrien	(check_operand): Not used, remove.
337130561Sobrien	(md_assemble): Remove unused variable prev_opcode.  Skip
338130561Sobrien	whitespace until end-of-line only.  Restore *op_end after call to
339130561Sobrien	hash_find.
340130561Sobrien
341130561Sobrien2003-11-26  Nick Clifton  <nickc@redhat.com>
342130561Sobrien
343130561Sobrien	* config/tc-h8300.c (get_operand): Allow er4-er7 for ldm/stm
344130561Sobrien	instructions on the H8SX.
345130561Sobrien
346130561Sobrien2003-11-25  Kazu Hirata  <kazu@cs.umass.edu>
347130561Sobrien
348130561Sobrien	* config/tc-h8300.c (h8_exp): Remove.
349130561Sobrien
350130561Sobrien2003-11-25  Asgari Jinia  <asgarij@kpitcummins.com>
351130561Sobrien
352130561Sobrien	* config/tc-h8300.c (md_assemble): Check operands validity for
353130561Sobrien	ldm/stm.
354130561Sobrien	(get_operand): Check register pair's validity as per technical
355130561Sobrien	note TN-H8*-193A/E from Renesas for H8s and for H8Sx manual.
356130561Sobrien
357130561Sobrien2003-11-24  Kazu Hirata  <kazu@cs.umass.edu>
358130561Sobrien
359130561Sobrien	* listing.c: Convert to ISO-C.
360130561Sobrien	* listing.h: Likewise.
361130561Sobrien	* macro.c: Likewise.
362130561Sobrien	* macro.h: Likewise.
363130561Sobrien
364130561Sobrien2003-11-24  Jakub Jelinek  <jakub@redhat.com>
365130561Sobrien
366130561Sobrien	* app.c (do_scrub_chars): Add PUT (ch) and ch = GET ()
367130561Sobrien	when transitioning from states 14 or 15 to 0 or 1.
368130561Sobrien
369130561Sobrien2003-11-23  Kazu Hirata  <kazu@cs.umass.edu>
370130561Sobrien
371130561Sobrien	* hash.c: Convert to ISO-C.
372130561Sobrien	* hash.h: Likewise.
373130561Sobrien	* input-file.c: Likewise.
374130561Sobrien	* input-file.h: Likewise.
375130561Sobrien	* input-scrub.c: Likewise.
376130561Sobrien	* itbl-ops.c: Likewise.
377130561Sobrien	* itbl-ops.h: Likewise.
378130561Sobrien
379130561Sobrien2003-11-23  Kazu Hirata  <kazu@cs.umass.edu>
380130561Sobrien
381130561Sobrien	* config/tc-h8300.c (Hmode): Make it global.
382130561Sobrien	(Smode): Likewise.
383130561Sobrien	(Nmode): Likewise.
384130561Sobrien	(SXmode): Likewise.
385130561Sobrien
386130561Sobrien2003-11-22  Kazu Hirata  <kazu@cs.umass.edu>
387130561Sobrien
388130561Sobrien	* ehopt.c: Convert to ISO-C.
389130561Sobrien	* emul.h: Likewise.
390130561Sobrien	* expr.c: Likewise.
391130561Sobrien	* expr.h: Likewise.
392130561Sobrien	* flonum-copy.c: Likewise.
393130561Sobrien	* flonum-mult.c: Likewise.
394130561Sobrien	* flonum.h: Likewise.
395130561Sobrien	* frags.c: Likewise.
396130561Sobrien	* frags.h: Likewise.
397130561Sobrien
398130561Sobrien2003-11-22  Alan Modra  <amodra@bigpond.net.au>
399130561Sobrien
400130561Sobrien	* doc/c-ppc.texi (PowerPC-Pseudo): Add section.
401130561Sobrien
402130561Sobrien	* app.c (do_scrub_chars): Revert 2003-04-23 and 2003-04-22.
403130561Sobrien
404130561Sobrien2003-11-21  Kazu Hirata  <kazu@cs.umass.edu>
405130561Sobrien
406130561Sobrien	* ecoff.c: Convert to ISO-C.
407130561Sobrien	* ecoff.h: Likewise.
408130561Sobrien
409130561Sobrien2003-11-22  Alan Modra  <amodra@bigpond.net.au>
410130561Sobrien
411130561Sobrien	* config/tc-ppc.c (parse_cpu): New function, broken out from..
412130561Sobrien	(md_parse_option): ..here.
413130561Sobrien	(ppc_setup_opcodes): New function, broken out from..
414130561Sobrien	(md_begin): ..here.
415130561Sobrien	(ppc_machine): Implement .machine pseudo op.
416130561Sobrien
417130561Sobrien2003-11-20  Kazu Hirata  <kazu@cs.umass.edu>
418130561Sobrien
419130561Sobrien	* depend.c: Convert to ISO-C.
420130561Sobrien	* dwarf2dbg.c: Likewise.
421130561Sobrien	* dwarf2dbg.h: Likewise.
422130561Sobrien
423130561Sobrien2003-11-20  Kazu Hirata  <kazu@cs.umass.edu>
424130561Sobrien
425130561Sobrien	* app.c: Convert to ISO-C.
426130561Sobrien	* as.h: Likewise.
427130561Sobrien	* atof-generic.c: Likewise.
428130561Sobrien	* bignum-copy.c: Likewise.
429130561Sobrien	* bignum.h: Likewise.
430130561Sobrien	* cgen.c: Likewise.
431130561Sobrien	* cgen.h: Likewise.
432130561Sobrien	* cond.c: Likewise.
433130561Sobrien
434130561Sobrien2003-11-20  DJ Delorie  <dj@redhat.com>
435130561Sobrien
436130561Sobrien	* config/tc-sh64.c (shmedia_frob_section): Only frob elf32
437130561Sobrien	sections.
438130561Sobrien
439130561Sobrien2003-11-19  Kazu Hirata  <kazu@cs.umass.edu>
440130561Sobrien
441130561Sobrien	* config/tc-h8300.c: Make some functions and global
442130561Sobrien	variables static appropriately.
443130561Sobrien
444130561Sobrien2003-11-19  Kazu Hirata  <kazu@cs.umass.edu>
445130561Sobrien
446130561Sobrien	* config/obj-ieee.c: Remove duplicate prototypes.
447130561Sobrien	* config/tc-h8300.c: Likewise.
448130561Sobrien
449130561Sobrien2003-11-19  Kazu Hirata  <kazu@cs.umass.edu>
450130561Sobrien
451130561Sobrien	* config/tc-h8300.c: Convert to ISO-C.
452130561Sobrien	* config/tc-h8300.h: Likewise.
453130561Sobrien
454130561Sobrien2003-11-19  Kazu Hirata  <kazu@cs.umass.edu>
455130561Sobrien
456130561Sobrien	* config/tc-mcore.h: Remove prototypes already in tc.h.
457130561Sobrien	* config/tc-tic4x.c: Likewise.
458130561Sobrien
459130561Sobrien2003-11-19  Kazu Hirata  <kazu@cs.umass.edu>
460130561Sobrien
461130561Sobrien	* config/tc-arc.c: Remove a local prototype of atof_ieee.
462130561Sobrien	* config/tc-ip2k.c: Likewise.
463130561Sobrien	* config/tc-iq2000.c: Likewise.
464130561Sobrien	* config/tc-tic30.c: Remove a comment.
465130561Sobrien
466130561Sobrien2003-11-19  Bob Wilson  <bob.wilson@acm.org>
467130561Sobrien
468130561Sobrien	* config/tc-xtensa.c (xg_emit_insn): Include "dwarf2dbg.h" and add
469130561Sobrien	call to dwarf2_emit_insn.
470130561Sobrien
471130561Sobrien2003-11-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
472130561Sobrien
473130561Sobrien	* config/tc-mips.c (macro): Handle new macros: "lca" and "dlca"
474130561Sobrien	for loading addresses using CALL relocations.
475130561Sobrien	Don't emit CALL relocations when a base register is used.
476130561Sobrien
477130561Sobrien2003-11-15  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
478130561Sobrien
479130561Sobrien	* config/tc-mips.c: Formatting fixes.
480130561Sobrien
481130561Sobrien2003-11-14  Ben Elliston  <bje@wasabisystems.com>
482130561Sobrien
483130561Sobrien	* config/tc-arm.c (arm_elf_change_section): Not static.
484130561Sobrien
485130561Sobrien2003-11-13  Nick Clifton  <nickc@redhat.com>
486130561Sobrien
487130561Sobrien	* tc-arm.c (mapping_state): New function.  Emit a mapping
488130561Sobrien	symbol if necessary.
489130561Sobrien	(arm_elf_change_section): New function.  Intercept section
490130561Sobrien	changes and generate mapping symbols.
491130561Sobrien	(s_bss): Likewise.
492130561Sobrien	(s_arm_elf_cons): Likewise.
493130561Sobrien	(opcode_select): Choose the correct mapping state.
494130561Sobrien	(md_assemble): Likewise.
495130561Sobrien	* tc-arm.h (md_elf_section_change_hook): Define.
496130561Sobrien	* doc/c-arm.texi (ARM Mapping Symbols): New node.
497130561Sobrien	* NEWS: Mention new feature.
498130561Sobrien
499130561Sobrien2003-11-12  Daniel Jacobowitz  <drow@mvista.com>
500130561Sobrien
501130561Sobrien	* Makefile.am (install, install-info, RECURSIVE_TARGETS): Define.
502130561Sobrien	* doc/Makefile.am (install-info): Define.
503130561Sobrien
504130561Sobrien	* aclocal.m4: Regenerate.
505130561Sobrien	* Makefile.in: Regenerate.
506130561Sobrien	* doc/Makefile.in: Regenerate.
507130561Sobrien
508130561Sobrien2003-11-11  Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
509130561Sobrien
510130561Sobrien	* configure.in: Add support for arm-wince-pe target.
511130561Sobrien	* configure: Regenerate.
512130561Sobrien
513130561Sobrien2003-11-11  Jan Hubicka  <jh@suse.cz>
514130561Sobrien
515130561Sobrien	* config/tc-i386.c (tc_i386_fix_adjustable):
516130561Sobrien
517130561Sobrien2003-11-10  Alan Modra  <amodra@bigpond.net.au>
518130561Sobrien
519130561Sobrien	* config/tc-ia64.c (ia64_handle_align): Remove bogus be_nop.
520130561Sobrien
521130561Sobrien2003-11-10  Alan Modra  <amodra@bigpond.net.au>
522130561Sobrien
523130561Sobrien	* README: Update bug report address.  Move bug reporting info to
524130561Sobrien	binutils/README.
525130561Sobrien
526130561Sobrien2003-11-07  Christian Groessler  <chris@groessler.org>
527130561Sobrien
528130561Sobrien	* doc/c-z8k.texi: Document command-line options.  Fix byte
529130561Sobrien	register names.  Document '.z8001' and '.z8002' directives.
530130561Sobrien	Extend addressing modes documentation.
531130561Sobrien
532130561Sobrien2003-11-07  Jonathan R. Grant  <jg-binutils@jguk.org>
533130561Sobrien
534130561Sobrien	* input-file.c (input_file_open): Use "No such file" error
535130561Sobrien	message.
536130561Sobrien
537130561Sobrien2003-11-06  Pete Gonzalez  <pgonzalez@bluel.com>
538130561Sobrien
539130561Sobrien	* config/tc-arm.texi (struct reg_entry): Add new field 'builtin'.
540130561Sobrien	(rn_table, iwmmxt_table, cp_table, cn_table, fn_table, sn_table,
541130561Sobrien	dn_table, mav_mvf_table, mac_mvd_table, mav_mvfx_table,
542130561Sobrien	mav_mvax_table, mav_dspc_table): Initialise new field.
543130561Sobrien	(insert_reg_alias): Initialise new field.
544130561Sobrien	(md_pseudo_table): Add "unreq" entry.
545130561Sobrien	(s_unreq): New function: Undo the effects of a previous .req.
546130561Sobrien	* doc/c-arm.texi: Document new pseudo op.
547130561Sobrien	* NEWS: Mention new feature.
548130561Sobrien
549130561Sobrien2003-11-06  Bruno Rohee  <bruno@rohee.com>
550130561Sobrien
551130561Sobrien	* config/obj-vms.c: Fix "the the" typo.
552130561Sobrien	* doc/c-arm.texi: Likewise.
553130561Sobrien
554130561Sobrien2003-11-06  Nick Clifton  <nickc@redhat.com>
555130561Sobrien
556130561Sobrien	* config/obj-vms.c: Convert to ISO-C.
557130561Sobrien
558130561Sobrien2003-11-05  Alan Modra  <amodra@bigpond.net.au>
559130561Sobrien
560130561Sobrien	* config/tc-ppc.h (TC_FORCE_RELOCATION): Only define for ELF and XCOFF.
561130561Sobrien
562130561Sobrien2003-10-31  Christian Groessler  <chris@groessler.org>
563130561Sobrien
564130561Sobrien	* config/tc-i860.c (md_pcrel_from): Fix typo in comment.
565130561Sobrien
566130561Sobrien2003-10-29  Phil Edwards  <phil@codesourcery.com>
567130561Sobrien
568130561Sobrien	* configure.in (arm-*-vxworks, i386-*-vxworks, mips-*-vxworks,
569130561Sobrien	ppc-*-vxworks, ppc-*-windiss):  Remove separate outdated stanzas.
570130561Sobrien	(*-*-vxworks, *-*-windiss):  Use common stanzas, all ELF.
571130561Sobrien	* configure:  Regenerated.
572130561Sobrien
573130561Sobrien2003-10-27  Kazu Hirata  <kazu@cs.umass.edu>
574130561Sobrien
575130561Sobrien	* ChangeLog: Fix typos.
576130561Sobrien	* ChangeLog-9295: Likewise.
577130561Sobrien	* as.c: Fix comment typos.
578130561Sobrien	* as.h: Likewise.
579130561Sobrien	* atof-generic.c: Likewise.
580130561Sobrien	* bit_fix.h: Likewise.
581130561Sobrien	* frags.h: Likewise.
582130561Sobrien	* hash.c: Likewise.
583130561Sobrien	* input-file.c: Likewise.
584130561Sobrien	* input-scrub.c: Likewise.
585130561Sobrien	* itbl-ops.c: Likewise.
586130561Sobrien	* itbl-parse.y: Likewise.
587130561Sobrien	* listing.c: Likewise.
588130561Sobrien	* macro.h: Likewise.
589130561Sobrien	* read.c: Likewise.
590130561Sobrien	* sb.c: Likewise.
591130561Sobrien	* sb.h: Likewise.
592130561Sobrien	* symbols.c: Likewise.
593130561Sobrien	* symbols.h: Likewise.
594130561Sobrien
595130561Sobrien2003-10-27  Stephane Carrez  <stcarrez@nerim.fr>
596130561Sobrien
597130561Sobrien	* config/tc-m68hc11.c: Convert to ISO C90.
598130561Sobrien	* config/tc-m68hc11.h: Likewise.
599130561Sobrien
600130561Sobrien2003-10-26  Kazu Hirata  <kazu@cs.umass.edu>
601130561Sobrien
602130561Sobrien	* doc/c-sh64.texi: Fix a typo.
603130561Sobrien
604130561Sobrien2003-10-26  Kazu Hirata  <kazu@cs.umass.edu>
605130561Sobrien
606130561Sobrien	* doc/c-alpha.texi: Fix typos.
607130561Sobrien	* doc/c-ia64.texi: Likewise.
608130561Sobrien	* doc/c-mmix.texi: Likewise.
609130561Sobrien	* doc/c-sh64.texi: Likewise.
610130561Sobrien	* doc/c-xtensa.texi: Likewise.
611130561Sobrien	* doc/internals.texi: Likewise.
612130561Sobrien
613130561Sobrien2003-10-24  H.J. Lu  <hongjiu.lu@intel.com>
614130561Sobrien
615130561Sobrien	* config/obj-elf.c (obj_elf_change_section): Allow SHF_ALLOC
616130561Sobrien	for .interp, .strtab and .symtab. Use specified section
617130561Sobrien	attributes.
618130561Sobrien
619130561Sobrien2003-10-22  Andreas Schwab  <schwab@suse.de>
620130561Sobrien	    H.J. Lu  <hongjiu.lu@intel.com>
621130561Sobrien	    Jim Wilson <wilson@specifixinc.com>
622130561Sobrien
623130561Sobrien	* config/tc-ia64.c (update_qp_mutex): New.
624130561Sobrien	(note_register_values): Properly handle one of PRs in compare
625130561Sobrien	is PR0. Don't add a mutex relation for .and.orcm/.or.andcm.
626130561Sobrien	Clear mutex relation for .none/.unc. Don't clear mutex relation
627130561Sobrien	on predicated compare.
628130561Sobrien
629130561Sobrien2003-10-21  Wouter van Heyst <wouter@vidicode.nl>
630130561Sobrien
631130561Sobrien	* config/tc-arm.c (all_reg_maps): Correct text describing Maverick
632130561Sobrien	register requirements.
633130561Sobrien	(md_begin): Remove F_SOFT_FLOAT if enabling MAVERICK FP.
634130561Sobrien
635130561Sobrien2003-10-21  Peter Barada  <pbarada@mail.wm.sps.mot.com>
636130561Sobrien	    Bernardo Innocenti  <bernie@develer.com>
637130561Sobrien
638130561Sobrien	* config/tc-m68k.c: Add MCF528x (MCFv4) support.
639130561Sobrien	* config/m68k-parse.h: Likewise.
640130561Sobrien	* NEWS: Mention the new support.
641130561Sobrien	* doc/c-m68k.texi: Document new processor selection switch.
642130561Sobrien
643130561Sobrien2003-10-19  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
644130561Sobrien
645130561Sobrien	* config/tc-mips.c (normalize_constant_expr): New function to fix sign
646130561Sobrien	extensions broken by gas' expression evaluation of constants.
647130561Sobrien	(check_absolute_expr): Use it.
648130561Sobrien	(mips_ip): Likewise.
649130561Sobrien
650130561Sobrien2003-10-18  Hans-Peter Nilsson  <hp@bitrange.com>
651130561Sobrien
652130561Sobrien	Generate BFD_RELOC_MMIX_PUSHJ_STUBBABLE for PUSHJ when possible.
653130561Sobrien	* doc/c-mmix.texi (MMIX-Opts): Document --no-pushj-stubs and
654130561Sobrien	--no-stubs.
655130561Sobrien	* config/tc-mmix.c: Include limits.h.  Expand on mmix_relax_table
656130561Sobrien	comment.
657130561Sobrien	(expand_op, mmix_next_semicolon_is_eoln): Fix head comment.
658130561Sobrien	(pushj_stubs): New variable.
659130561Sobrien	(OPTION_NOPUSHJSTUBS, STATE_PUSHJSTUB, PUSHJSTUB_MIN)
660130561Sobrien	(PUSHJSTUB_MAX): New macros.
661130561Sobrien	(md_longopts): New options "--no-pushj-stubs" and synonym
662130561Sobrien	"--no-stubs".
663130561Sobrien	(mmix_relax_table): Handle new entry for STATE_PUSHJSTUB.
664130561Sobrien	(md_parse_option): Handle OPTION_NOPUSHJSTUBS.
665130561Sobrien	(md_estimate_size_before_relax): Modify STATE_PUSHJ state for
666130561Sobrien	PUSHJ stub relaxation.
667130561Sobrien	(md_convert_frag): Handle STATE_PUSHJSTUB.
668130561Sobrien	(md_apply_fix3): Handle BFD_RELOC_MMIX_PUSHJ_STUBBABLE.
669130561Sobrien	(tc_gen_reloc): Ditto.
670130561Sobrien	(mmix_md_relax_frag): Handle PUSHJ stub relaxation.
671130561Sobrien	* config/tc-mmix.h (TC_SEGMENT_INFO_TYPE): Define.
672130561Sobrien	(struct mmix_segment_info_type): New.
673130561Sobrien
674130561Sobrien2003-10-17  Paul Dale  <pauli@snapgear.com>
675130561Sobrien	    Bernardo Innocenti  <bernie@develer.com>
676130561Sobrien
677130561Sobrien	* config/tc-m68k.c (make_pcrel_absolute): Enforce
678130561Sobrien	PC-relative jumps with --pcrel.
679130561Sobrien	(md_convert_frag_1): Likewise.
680130561Sobrien	(md_create_long_jump): Likewise.
681130561Sobrien
682130561Sobrien2003-10-17  Shrinivas Atre  <shrinivasa@KPITCummins.com>
683130561Sobrien
684130561Sobrien	* config/tc-h8300.c (PSIZE): Correct for Normal mode.
685130561Sobrien	(get_operand): Accept both 16 bit 32 bit registers as pointer
686130561Sobrien	registers, when operating in Normal mode.
687130561Sobrien	(fix_operand_size): Make default address size 16 for Normal mode.
688130561Sobrien
689130561Sobrien2003-10-17  Ian Lance Taylor  <ian@wasabisystems.com>
690130561Sobrien
691130561Sobrien	* config/tc-arm.c (do_iwmmxt_byte_addr): Reject control
692130561Sobrien	registers.
693130561Sobrien	(do_iwmmxt_word_addr): With a control register, reject conditional
694130561Sobrien	execution and reject a non-word size.
695130561Sobrien
696130561Sobrien2003-10-16  Peter Bergner  <bergner@vnet.ibm.com>
697130561Sobrien
698130561Sobrien	* configure.in: Set em=linux for ppc-*-linux-gnu* target.
699130561Sobrien	* configure: Regenerate.
700130561Sobrien
701130561Sobrien2003-10-15  Alan Modra  <amodra@bigpond.net.au>
702130561Sobrien
703130561Sobrien	* doc/as.texinfo (Align): Correct list of byte targets.
704130561Sobrien
705130561Sobrien2003-10-15  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
706130561Sobrien
707130561Sobrien	* config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro):
708130561Sobrien	Fix indentation. Better error message.
709130561Sobrien
710130561Sobrien2003-10-14  Bob Wilson  <bob.wilson@acm.org>
711130561Sobrien
712130561Sobrien	* config/tc-xtensa.c (xtensa_create_property_segments): Remove bfd
713130561Sobrien	argument in call to xtensa_get_property_section_name.  Formatting.
714130561Sobrien
715130561Sobrien2003-10-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
716130561Sobrien
717130561Sobrien	* config/tc-sh.h (sh_coff_reloc_mangle): Delete an extra
718130561Sobrien	parenthesis.
719130561Sobrien
720130561Sobrien2003-10-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
721130561Sobrien
722130561Sobrien	* config/tc-sh.c: Convert to ISO C90.  Remove unnecessary
723130561Sobrien	prototypes and casts.
724130561Sobrien	* config/tc-sh.h: Likewise.
725130561Sobrien	* config/tc-sh64.c: Likewise.
726130561Sobrien	* config/tc-sh64.h: Likewise.
727130561Sobrien
728130561Sobrien2003-10-08  Dave Brolley  <brolley@redhat.com>
729130561Sobrien
730130561Sobrien	* config/tc-frv.c (fr550_check_insn_acc_range): New function.
731130561Sobrien	(fr550_check_acc_range): New function.
732130561Sobrien	(md_assemble): Call fr550_check_acc_range.
733130561Sobrien
734130561Sobrien2003-10-08  Dave Brolley  <brolley@redhat.com>
735130561Sobrien
736130561Sobrien	* config/tc-frv.c: Handle DEFAULT_CPU_FR550.
737130561Sobrien	(md_parse_option): Handle OPTION_CPU==fr550.
738130561Sobrien	(md_show_usage): Document fr550.
739130561Sobrien
740130561Sobrien2003-10-08  Philippe De Muyter  <phdm@macqel.be>
741130561Sobrien
742130561Sobrien	* as.c (use_gnu_debug_info_extensions) : New variable.
743130561Sobrien	(parse_args) : Accept new --gstabs+ option, and set
744130561Sobrien	`use_gnu_debug_info_extensions'.
745130561Sobrien	(show_usage) : Document --gstabs+ option.
746130561Sobrien	* as.h (use_gnu_debug_info_extensions) : New extern declaration.
747130561Sobrien	* stabs.c (stabs_generate_asm_file) : If
748130561Sobrien	`use_gnu_debug_info_extensions' is set, add the compilation
749130561Sobrien	directory to the stabs debug info.
750130561Sobrien	* doc/as.texinfo : Document --gstabs+ option.
751130561Sobrien	* NEWS: Mention new feature.
752130561Sobrien
753130561Sobrien2003-10-06  Matt Thomas  <matt@3am-software.com>
754130561Sobrien
755130561Sobrien	Switch NetBSD/hppa to use Linux PA-RISC ELF ABI and
756130561Sobrien	assembler syntax.
757130561Sobrien
758130561Sobrien	* tc-hppa.c: Add "%farg[0-3]", "%fret", "%t[1-4]", "%tf[1-4]"
759130561Sobrien	register names.  Change all "defined (TE_LINUX)" to
760130561Sobrien	"(defined (TE_LINUX) || defined (TE_NETBSD))".
761130561Sobrien
762130561Sobrien	* tc-hppa.h: Make NetBSD use "elfXX-hppa-linux" bfd target.
763130561Sobrien	Remove NetBSD's use of LABELS_WITHOUT_COLONS.
764130561Sobrien
765130561Sobrien2003-10-06  Robert Millan  <robertmh@gnu.org>
766130561Sobrien
767130561Sobrien	* configure.in: Match GNU/KNetBSD with new knetbsd*-gnu triplet.
768130561Sobrien	* configure: Regenerate.
769130561Sobrien
770130561Sobrien2003-10-05  Nick Clifton  <nickc@redhat.com>
771130561Sobrien
772130561Sobrien	* as.c (parse_args): Revert patch to change handling of -f
773130561Sobrien	option.  Its behaviour is mandated by the POSIX 2 spec.
774130561Sobrien
775130561Sobrien2003-10-04  Christian Groessler  <chris@groessler.org>
776130561Sobrien
777130561Sobrien	* tc-z8k.c (newfix): Tell fix_new_exp about pc relativeness.
778130561Sobrien	(md_apply_fix3): Fix R_JR, R_DISP7, and R_CALLR cases.
779130561Sobrien	(md_pcrel_from): This function now gets called. Supply return
780130561Sobrien	value.
781130561Sobrien
782130561Sobrien2003-10-04  Nick Clifton  <nickc@redhat.com>
783130561Sobrien
784130561Sobrien	* as.c: Convert to ISO C90.
785130561Sobrien
786130561Sobrien2003-10-04  Nick Clifton  <nickc@redhat.com>
787130561Sobrien
788130561Sobrien	* as.c (std_shortopts): Remove 'f'.
789130561Sobrien	(std_longopts): Add 'f'.  Doing this prevents -f<foo> being
790130561Sobrien	acecpted as an alias for -f.
791130561Sobrien
792130561Sobrien2003-10-04  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
793130561Sobrien
794130561Sobrien	* config/obj-coff.c (obj_coff_section [BEF_ASSEMBLER]):
795130561Sobrien	Make 'r' mean readonly data.
796130561Sobrien
797130561Sobrien2003-10-01  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
798130561Sobrien
799130561Sobrien	* config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro):
800130561Sobrien	Unbreak overflow checks.
801130561Sobrien
802130561Sobrien2003-10-01  Chris Demetriou  <cgd@broadcom.com>
803130561Sobrien
804130561Sobrien	* config/tc-mips.c (s_cpreturn): Correct errors in comment.
805130561Sobrien
806130561Sobrien2003-10-01  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
807130561Sobrien
808130561Sobrien	* config/tc-mips.c (macro_build_ldst_constoffset): Fix sign extension
809130561Sobrien	tests.
810130561Sobrien	(load_register): Likewise.
811130561Sobrien	(macro): Likewise.
812130561Sobrien
813130561Sobrien2003-09-30  Chris Demetriou  <cgd@broadcom.com>
814130561Sobrien
815130561Sobrien	* config/tc-mips.c (mips_ip): Capitalize first word of
816130561Sobrien	existing condition code warning, and add condition code
817130561Sobrien	warnings for .ps instructions, and for bc1any[24][tf].
818130561Sobrien
819130561Sobrien2003-09-30  Chris Demetriou  <cgd@broadcom.com>
820130561Sobrien
821130561Sobrien	* NEWS: Mention support for MIPS64 Release 2.
822130561Sobrien
823130561Sobrien2003-09-30  Chris Demetriou  <cgd@broadcom.com>
824130561Sobrien
825130561Sobrien	* NEWS: Add an indication of the cutoff for 2.14.
826130561Sobrien
827130561Sobrien2003-09-30  Chris Demetriou  <cgd@broadcom.com>
828130561Sobrien
829130561Sobrien	* configure.in (mipsisa64r2, mipsisa64r2el, mipsisa64r2*): New CPUs.
830130561Sobrien	* configure: Regenerate.
831130561Sobrien	* config/tc-mips.c (imm2_expr): New variable.
832130561Sobrien	(md_assemble, mips16_ip): Initialize imm2_expr.
833130561Sobrien	(ISA_HAS_64BIT_REGS, ISA_HAS_DROR, ISA_HAS_ROR): Add ISA_MIPS64R2.
834130561Sobrien	(macro_build): Handle +A, +B, +C, +E, +F, +G, and +H format operands.
835130561Sobrien	(macro): Handle M_DEXT and M_DINS.
836130561Sobrien	(validate_mips_insn): Handle +E, +F, +G, +H, and +I format operands.
837130561Sobrien	(mips_ip): Likewise.
838130561Sobrien	(OPTION_MIPS64R2): New define.
839130561Sobrien	(md_longopts): New entry for -mips64r2 (OPTION_MIPS64R2).
840130561Sobrien	OPTION_ASE_BASE): Increase to compensate for OPTION_MIPS64R2.
841130561Sobrien	(md_parse_option): Handle OPTION_MIPS64R2.
842130561Sobrien	(s_mipsset): Handle setting "mips64r2" ISA.
843130561Sobrien	(mips_cpu_info_table): Add mips64r2.
844130561Sobrien	(md_show_usage): Document -mips64r2 option.
845130561Sobrien	* doc/as.texinfo: Docuemnt -mips64r2 option.
846130561Sobrien	* doc/c-mips.texi: Likewise.
847130561Sobrien
848130561Sobrien2003-09-27  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
849130561Sobrien
850130561Sobrien	* config/tc-hppa.c (pa_ip): Check for invalid 64-bit conditions.
851130561Sobrien
852130561Sobrien2003-09-26  Matt Thomas  <matt@3am-software.com>
853130561Sobrien
854130561Sobrien	* config/tc-vax.c (md_shortopts): Fix a typo.  Remove 'K'.
855130561Sobrien	(OPTION_PIC): Define.
856130561Sobrien	(md_longopts): Add "pic" option.
857130561Sobrien	(md_parse_option): Change 'K' to OPTION_PIC.
858130561Sobrien
859130561Sobrien2003-09-23  Alan Modra  <alan@modra.org>
860130561Sobrien
861130561Sobrien	* config/obj-elf.c (obj_elf_change_section): Adjust for
862130561Sobrien	_bfd_elf_get_sec_type_attr changes.  Allow SHF_MERGE and SHF_STRINGS
863130561Sobrien	to be set when defaults are not.  Don't set attr from defaults if
864130561Sobrien	old_sec.
865130561Sobrien
866130561Sobrien2003-09-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
867130561Sobrien
868130561Sobrien	* config/tc-mips.c (macro_build_ldst_constoffset): Don't silently
869130561Sobrien	truncate values which won't fit im 32 bits.
870130561Sobrien	(load_register): Likewise.
871130561Sobrien	(macro): Likewise.
872130561Sobrien
873130561Sobrien2003-09-17  Dmitry Diky <diwil@mail.ru>
874130561Sobrien
875130561Sobrien	* config/tc-msp430.c (MAX_OP_LEN): Set to 256.
876130561Sobrien	(msp430_operands): Remove redundant l2[16] within switch-case.
877130561Sobrien
878130561Sobrien2003-09-16  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
879130561Sobrien
880130561Sobrien	* configure.in: Handle arm-*-rtems* and thumb-*rtems*.
881130561Sobrien	* configure: Regenerate.
882130561Sobrien
883130561Sobrien2003-09-14  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
884130561Sobrien
885130561Sobrien	* config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): Remove.
886130561Sobrien	(macro_build_ldst_constoffset): Sign-extend 32-bit constants. Change
887130561Sobrien	the function prototype.
888130561Sobrien	(load_register): Likewise. Simplify the checks for sign-extended
889130561Sobrien	constants.
890130561Sobrien	(macro): Likewise. Fix code generation for 64-bit address constants
891130561Sobrien	outside the 32-bit compatibility space. Adjust
892130561Sobrien	macro_build_ldst_constoffset calls.
893130561Sobrien	(s_cprestore): Adjust macro_build_ldst_constoffset call.
894130561Sobrien
895130561Sobrien2003-09-11  Bob Wilson  <bob.wilson@acm.org>
896130561Sobrien
897130561Sobrien	* config/tc-xtensa.c (insn_labels, free_insn_labels, saved_insn_labels,
898130561Sobrien	literal_syms): New global variables.
899130561Sobrien	(xtensa_define_label, add_target_symbol, xtensa_find_label,
900130561Sobrien	map_over_defined_symbols, is_loop_target_label,
901130561Sobrien	xtensa_mark_target_fragments, xtensa_move_frag_symbol,
902130561Sobrien	xtensa_move_frag_symbols, defined_symbols, branch_targets): Delete.
903130561Sobrien	(xtensa_begin_directive): Call md_flush_pending_output.  Move symbols
904130561Sobrien	from insn_labels to saved_insn_labels when entering a literal region.
905130561Sobrien	(xtensa_end_directive): Call md_flush_pending_output.  Restore
906130561Sobrien	insn_labels list when leaving a literal region.
907130561Sobrien	(xtensa_literal_position): Call xtensa_clear_insn_labels.
908130561Sobrien	(xtensa_literal_pseudo): Add check to disallow .literal inside a
909130561Sobrien	literal region.  Move insn_labels to saved_insn_labels and then restore
910130561Sobrien	insn_labels on exit.
911130561Sobrien	(xg_add_branch_and_loop_targets): Replace add_target_symbol calls with
912130561Sobrien	code to set is_loop_target or is_branch_target flag on the symbol
913130561Sobrien	(xtensa_create_literal_symbol): Call xtensa_add_literal_sym.
914130561Sobrien	(xtensa_add_literal_sym, xtensa_add_insn_label,
915130561Sobrien	xtensa_clear_insn_labels): New functions.
916130561Sobrien	(xtensa_move_labels): Remove old_frag and old_offset arguments.  Add
917130561Sobrien	loops_ok argument.  Rewrite to use insn_labels list instead of
918130561Sobrien	calling xtensa_find_label and to check the is_loop_target flag on
919130561Sobrien	symbols when loops_ok is false.
920130561Sobrien	(xtensa_frob_label): Remove call to xtensa_define_label.  Add call
921130561Sobrien	to either xtensa_add_literal_sym or xtensa_add_insn_label.  Adjust
922130561Sobrien	call to xtensa_move_labels.  Propagate is_branch_target and
923130561Sobrien	is_loop_target flags from symbols to frags.
924130561Sobrien	(xtensa_flush_pending_output): Call xtensa_clear_insn_labels.
925130561Sobrien	(md_assemble): Use xtensa_move_labels with loops_ok = FALSE when
926130561Sobrien	aligning a loop instruction.  Adjust call to xtensa_move_labels for
927130561Sobrien	aligning entry instructions.  Add call to xtensa_clear_insn_labels.
928130561Sobrien	(xtensa_end): Remove call to xtensa_mark_target_fragments.
929130561Sobrien	(xtensa_move_literals): Replace xtensa_move_frag_symbols call with
930130561Sobrien	code to use new literal_syms list.
931130561Sobrien	* config/tc-xtensa.h (xtensa_symfield_type): Add is_loop_target and
932130561Sobrien	is_branch_target flags.
933130561Sobrien
934130561Sobrien2003-09-09  Bob Wilson  <bob.wilson@acm.org>
935130561Sobrien
936130561Sobrien	* config/tc-xtensa.c (xtensa_mark_literal_pool_location): Remove
937130561Sobrien	"move_labels" argument and corresponding call to xtensa_move_labels.
938130561Sobrien	(md_assemble): Add a separate call to xtensa_move_labels and remove
939130561Sobrien	argument for call to xtensa_mark_literal_pool_location.
940130561Sobrien	(xtensa_literal_position, xtensa_switch_to_literal_fragment): Fix
941130561Sobrien	calls to xtensa_mark_literal_pool_location.
942130561Sobrien	(xtensa_create_local_symbol): Delete and inline the code into...
943130561Sobrien	(xtensa_create_literal_symbol): ...here.
944130561Sobrien	(xtensa_frob_label): Combine conditionals.
945130561Sobrien	(expression_maybe_register, xtensa_symbol_new_hook,
946130561Sobrien	fix_new_exp_in_seg): Use symbol_get_tc.
947130561Sobrien
948130561Sobrien2003-09-09  Bob Wilson  <bob.wilson@acm.org>
949130561Sobrien
950130561Sobrien	* config/tc-xtensa.c (xtensa_literal_pseudo): Remove code for
951130561Sobrien	combining identical literals.
952130561Sobrien	(expression_maybe_register): Remove call to find_lit_sym_translation.
953130561Sobrien	(is_duplicate_expression, cache_literal, is_duplicate_literal,
954130561Sobrien	add_lit_sym_translation, find_lit_sym_translation): Delete.
955130561Sobrien
956130561Sobrien2003-09-07  Nick Clifton  <nickc@redhat.com>
957130561Sobrien
958130561Sobrien	* doc/as.texinfo (Comments): Comment character for PPC is #.
959130561Sobrien
960130561Sobrien2003-09-06  Stephane Carrez  <stcarrez@nerim.fr>
961130561Sobrien
962130561Sobrien	PR savannah/4358:
963130561Sobrien	* config/tc-m68hc11.c (s_m68hc11_relax): Use 2 for size to avoid
964130561Sobrien	overflow complain.
965130561Sobrien
966130561Sobrien2003-09-05  Richard Sandiford  <rsandifo@redhat.com>
967130561Sobrien
968130561Sobrien	* config/tc-frv.c (md_pcrel_from_section): Heed TC_FORCE_RELOCATION.
969130561Sobrien
970130561Sobrien2003-09-04  Nick Clifton  <nickc@redhat.com>
971130561Sobrien
972130561Sobrien	* config/tc-v850.c (set_machine): Accept v850e1 machine number.
973130561Sobrien	(md_pseudo_table): Add .v850e1 pseudo op.
974130561Sobrien	(md_show_usage): Document -mv850e1 switch.
975130561Sobrien	(md_parse_option): Accept -mv850e1 switch.
976130561Sobrien	(md_begin): Allow TARGET_CPU to be v850e1.
977130561Sobrien	* doc/c-v850.texi: Document -mv850e1 switch and .v850e1 pseudo op.
978130561Sobrien	* NEWS: Mention support for v850e1.
979130561Sobrien
980130561Sobrien2003-09-04  Alan Modra  <amodra@bigpond.net.au>
981130561Sobrien
982130561Sobrien	* config/tc-ppc.c (md_parse_option): Add PPC_OPCODE_ANY to existing
983130561Sobrien	ppc_cpu selection rather than replacing.
984130561Sobrien	(ppc_set_cpu): Ignore and preserve PPC_OPCODE_ANY in ppc_cpu.
985130561Sobrien	(md_begin): When PPC_OPCODE_ANY, insert all opcodes in ppc_hash.
986130561Sobrien
987130561Sobrien2003-09-03  Robert Millan  <robertmh@gnu.org>
988130561Sobrien
989130561Sobrien	* configure.in: Match GNU/KFreeBSD with new kfreebsd*-gnu
990130561Sobrien	triplet.
991130561Sobrien	* configure: Regenerate.
992130561Sobrien
993130561Sobrien2003-09-02  Daniel Jacobowitz  <drow@mvista.com>
994130561Sobrien
995130561Sobrien	* configure.in: Update AC_PREREQ to 2.57.  Use AC_CONFIG_FILES
996130561Sobrien	and AC_CONFIG_COMMANDS instead of the three-argument AC_OUTPUT.
997130561Sobrien	Specify AC_CONFIG_AUX_DIR.
998130561Sobrien	* aclocal.m4: Regenerated with aclocal-1.7.
999130561Sobrien	* configure: Regenerated with autoconf 2.57.
1000130561Sobrien	* Makefile.in, doc/Makefile.in: Regenerated with automake-1.7.
1001130561Sobrien
1002130561Sobrien2003-08-29  Jakub Jelinek  <jakub@redhat.com>
1003130561Sobrien
1004130561Sobrien	* dw2gencfi.c (cfi_pseudo_table): Add cfi_window_save.
1005130561Sobrien	(dot_cfi, output_cfi_insn): Handle DW_CFA_GNU_window_save.
1006130561Sobrien	(output_cie): Don't use DW_EH_PE_pcrel if neither DIFF_EXPR_OK
1007130561Sobrien	nor tc_cfi_emit_pcrel_expr are defined.
1008130561Sobrien	(output_fde): Use tc_cfi_emit_pcrel_expr if available and
1009130561Sobrien	DIFF_EXPR_OK is not defined.
1010130561Sobrien	* config/tc-sparc.h (TARGET_USE_CFIPOP): Define.
1011130561Sobrien	(tc_cfi_frame_initial_instructions, tc_regname_to_dw2regnum,
1012130561Sobrien	tc_cfi_emit_pcrel_expr): Define.
1013130561Sobrien	(sparc_cfi_frame_initial_instructions, sparc_regname_to_dw2regnum,
1014130561Sobrien	sparc_cfi_emit_pcrel_expr): New prototypes.
1015130561Sobrien	(sparc_cie_data_alignment): New decl.
1016130561Sobrien	(DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Define.
1017130561Sobrien	* config/tc-sparc.c: Include dw2gencfi.h.
1018130561Sobrien	(sparc_cie_data_alignment): New variable.
1019130561Sobrien	(md_begin): Initialize it.
1020130561Sobrien	(sparc_cfi_frame_initial_instructions): New function.
1021130561Sobrien	(sparc_regname_to_dw2regnum): Likewise.
1022130561Sobrien	(sparc_cfi_emit_pcrel_expr): Likewise.
1023130561Sobrien	* doc/as.texinfo: Document .cfi_window_save.
1024130561Sobrien
1025130561Sobrien	* config/tc-sparc.c (s_common): Cast last argument to long and
1026130561Sobrien	change format string to shut up warning.
1027130561Sobrien
1028130561Sobrien2003-08-25  Jason Eckhardt  <jle@rice.edu>
1029130561Sobrien
1030130561Sobrien	* doc/c-i860.texi: Update text about relocatable address expansions.
1031130561Sobrien
1032130561Sobrien2003-08-24  Jason Eckhardt  <jle@rice.edu>
1033130561Sobrien
1034130561Sobrien	* config/tc-i860.c (md_assemble): Use isrc2 from the original
1035130561Sobrien	instruction when expanding E_ADDR.
1036130561Sobrien
1037130561Sobrien2003-08-21  Nick Clifton  <nickc@redhat.com>
1038130561Sobrien
1039130561Sobrien	* po/tr.po: Updated Turkish translation.
1040130561Sobrien
1041130561Sobrien2003-08-20  Alan Modra  <amodra@bigpond.net.au>
1042130561Sobrien
1043130561Sobrien	* config/tc-ppc.c (md_parse_option): Add PPC_OPCODE_ISEL and
1044130561Sobrien	PPC_OPCODE_RFMCI to -m440 selected ppc_cpu.
1045130561Sobrien
1046130561Sobrien2003-08-19  Nick Clifton  <nickc@redhat.com>
1047130561Sobrien
1048130561Sobrien	* config/tc-arm.c (cp_address_required_here): Add code to handle
1049130561Sobrien	unindexed addressing mode.
1050130561Sobrien
1051130561Sobrien2003-08-19  Alan Modra  <amodra@bigpond.net.au>
1052130561Sobrien
1053130561Sobrien	* config/tc-ppc.c (md_parse_option): Handle -m440.
1054130561Sobrien	(md_show_usage): Add -m440.
1055130561Sobrien	(md_apply_fix3): Warning fix.
1056130561Sobrien	* doc/c-ppc.texi: Document -m440.
1057130561Sobrien
1058130561Sobrien2003-08-16  Benjamin Kalytta  <bkausbk@web.de>
1059130561Sobrien
1060130561Sobrien	* read.c (s_print): Check for NULL.
1061130561Sobrien
1062130561Sobrien2003-08-16  Alan Modra  <amodra@bigpond.net.au>
1063130561Sobrien
1064130561Sobrien	* write.c (fixup_segment): When handling an expression involving
1065130561Sobrien	the subtraction of two symbols in the same segment, don't clear
1066130561Sobrien	fx_pcrel except for TC_M68K.
1067130561Sobrien
1068130561Sobrien2003-08-14  Alan Modra  <amodra@bigpond.net.au>
1069130561Sobrien
1070130561Sobrien	* config/tc-i386.h: Remove BFD_ASSEMBLER tests and all !BFD_ASSEMBLER
1071130561Sobrien	code.
1072130561Sobrien	* config/tc-i386.c: Likewise.
1073130561Sobrien	(RELOC_ENUM): Don't define.  Replace throughout with enum.
1074130561Sobrien
1075130561Sobrien	* dep-in.sed: Remove libintl.h.  Ignore include/fopen-*.h
1076130561Sobrien	* Makefile.am (POTFILES.in): Unset LC_COLLATE.
1077130561Sobrien	Run "make dep-am".
1078130561Sobrien	* Makefile.in: Regenerate.
1079130561Sobrien
1080130561Sobrien2003-08-08  Andreas Schwab  <schwab@suse.de>
1081130561Sobrien
1082130561Sobrien	* config/tc-m68k.h (TARGET_USE_CFIPOP)
1083130561Sobrien	(DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT)
1084130561Sobrien	(tc_regname_to_dw2regnum, tc_cfi_frame_initial_instructions):
1085130561Sobrien	Define.
1086130561Sobrien	* config/tc-m68k.c: Include "dw2gencfi.h".
1087130561Sobrien	(tc_m68k_regname_to_dw2regnum)
1088130561Sobrien	(tc_m68k_frame_initial_instructions): New functions.
1089130561Sobrien
1090130561Sobrien2003-08-08 Dmitry Diky <diwil@mail.ru>
1091130561Sobrien
1092130561Sobrien	* config/tc-msp430.c: Add xW42 and xE42 parts. Sort MPU list
1093130561Sobrien	according to gcc order.
1094130561Sobrien
1095130561Sobrien2003-08-07  Jason Eckhardt  <jle@rice.edu>
1096130561Sobrien
1097130561Sobrien	* config/tc-i860.c (i860_check_label): New function.
1098130561Sobrien	* config/tc-i860.h (i860_check_label): New prototype.
1099130561Sobrien	(tc_check_label): Define macro as i860_check_label.
1100130561Sobrien
1101130561Sobrien2003-08-06  Jason Eckhardt  <jle@rice.edu>
1102130561Sobrien
1103130561Sobrien	* config/tc-i860.c (s_align_wrapper): New function and prototype.
1104130561Sobrien	(md_pseudo_table): Change s_align_bytes to s_align_wrapper, remove
1105130561Sobrien	surrounding OBJ_ELF ifdef, and re-format slightly.
1106130561Sobrien	* doc/c-i860.texi: Document the special .align syntax available
1107130561Sobrien	in Intel mode.
1108130561Sobrien
1109130561Sobrien2003-08-06  Jason Eckhardt  <jle@rice.edu>
1110130561Sobrien
1111130561Sobrien	* config/tc-i860.c (i860_handle_align): New function.
1112130561Sobrien	* config/tc-i860.h (HANDLE_ALIGN): Define macro.
1113130561Sobrien	(MAX_MEM_FOR_RS_ALIGN_CODE): Define macro.
1114130561Sobrien
1115130561Sobrien2003-08-06  Jason Eckhardt  <jle@rice.edu>
1116130561Sobrien
1117130561Sobrien	* config/tc-i860.c (i860_process_insn): Check that instructions
1118130561Sobrien	with their dual-bit set are 8-byte aligned.
1119130561Sobrien
1120130561Sobrien2003-08-06  Nick Clifton  <nickc@redhat.com>
1121130561Sobrien
1122130561Sobrien	* po/fr.po: Updated French translation.
1123130561Sobrien
1124130561Sobrien2003-08-05  Jason Eckhardt  <jle@rice.edu>
1125130561Sobrien
1126130561Sobrien	* config/tc-i860.c (i860_process_insn): Don't handle dual-bit
1127130561Sobrien	setting during flop argument parsing.  Instead, do it after
1128130561Sobrien	instruction is fully parsed.
1129130561Sobrien
1130130561Sobrien2003-08-05  Jason Eckhardt  <jle@rice.edu>
1131130561Sobrien
1132130561Sobrien	* doc/c-i860.texi: Mention that .dual, .enddual, and .atmp
1133130561Sobrien	directives are only available in Intel syntax mode.
1134130561Sobrien
1135130561Sobrien2003-08-05  Jason Eckhardt  <jle@rice.edu>
1136130561Sobrien
1137130561Sobrien	* config/tc-i860.c (s_dual): Accept .dual directive only in
1138130561Sobrien	the Intel syntax mode.
1139130561Sobrien	(s_enddual): Likewise for .enddual.
1140130561Sobrien	(s_atmp): Likewise for .atmp.
1141130561Sobrien
1142130561Sobrien2003-08-04  Alan Modra  <amodra@bigpond.net.au>
1143130561Sobrien
1144130561Sobrien	* config/tc-i386.c (i386_intel_operand): Always call i386_index_check
1145130561Sobrien	for memory operands.  Pass the full operand_string to i386_index_check.
1146130561Sobrien
1147130561Sobrien2003-08-01  Jason Eckhardt  <jle@rice.edu>
1148130561Sobrien
1149130561Sobrien	* config/tc-i860.c: Remove SYNTAX_SVR4 macro and occurrences.
1150130561Sobrien	(target_intel_syntax): Declare variable.
1151130561Sobrien	(OPTION_INTEL_SYNTAX): Declare macro.
1152130561Sobrien	(md_longopts): Add option -mintel-syntax.
1153130561Sobrien	(md_parse_option): Set target_intel_syntax.
1154130561Sobrien	(md_show_usage): Add -mintel-syntax usage.
1155130561Sobrien	(md_begin): Set reg_prefix based on target_intel_syntax.
1156130561Sobrien	(i860_process_insn): Skip register prefix only if there is one.
1157130561Sobrien	Parse relocatable expressions in either Intel or AT&T syntax based
1158130561Sobrien	on target_intel_syntax instead of the SYNTAX_SVR4 macro.
1159130561Sobrien	* doc/c-i860.texi: Document -mintel-syntax option and give blurb
1160130561Sobrien	about the differences in syntax.
1161130561Sobrien
1162130561Sobrien2003-08-01  Dmitry Diky  <diwil@mail.ru>
1163130561Sobrien
1164130561Sobrien	* config/tc-msp430.c (msp430_srcoperand): Extend 'push' bug workaround
1165130561Sobrien	to all arches.
1166130561Sobrien
1167130561Sobrien2003-07-30  J"orn Rennecke <joern.rennecke@superh.com>
1168130561Sobrien
1169130561Sobrien	* config/tc-sh.c (md_assemble): For branches, check & update
1170130561Sobrien	valid_arch here.
1171130561Sobrien
1172130561Sobrien2003-07-30  Jason Eckhardt  <jle@rice.edu>
1173130561Sobrien
1174130561Sobrien	* config/tc-i860.c: Convert to ISO C90.
1175130561Sobrien
1176130561Sobrien2003-07-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1177130561Sobrien
1178130561Sobrien	* read.c (s_space): Revert 2003-07-28 change.
1179130561Sobrien
1180130561Sobrien2003-07-30  Alan Modra  <amodra@bigpond.net.au>
1181130561Sobrien
1182130561Sobrien	* config/obj-elf.c (obj_elf_change_section): Allow "x" for .note*.
1183130561Sobrien
1184130561Sobrien2003-07-29  Alan Modra  <amodra@bigpond.net.au>
1185130561Sobrien
1186130561Sobrien	* config/tc-sh.c (tc_gen_reloc): Test for R_SH_IND12W only when ELF.
1187130561Sobrien
1188130561Sobrien2003-07-29  Jakub Jelinek  <jakub@redhat.com>
1189130561Sobrien
1190130561Sobrien	* config/tc-ppc.c (md_apply_fix3): Fix check for lq insns.
1191130561Sobrien
1192130561Sobrien2003-07-28  H.J. Lu  <hongjiu.lu@intel.com>
1193130561Sobrien
1194130561Sobrien	* config/obj-elf.c (obj_elf_section_type): Also accept "note".
1195130561Sobrien
1196130561Sobrien2003-07-28  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1197130561Sobrien
1198130561Sobrien	* read.c (s_space): Don't warn about .space 0.
1199130561Sobrien
1200130561Sobrien2003-07-28  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1201130561Sobrien
1202130561Sobrien	* config/tc-mips.c (mips_flag_pdr): Define.
1203130561Sobrien	(md_begin) [OBJ_ELF]: Use it to control .pdr creation.
1204130561Sobrien	(s_mips_end) [OBJ_ELF]: Likewise.
1205130561Sobrien	(md_longopts) [OBJ_ELF]: Define OPTION_PDR, OPTION_NO_PDR.
1206130561Sobrien	(md_parse_option) [OBJ_ELF]: Handle them.
1207130561Sobrien	(md_show_usage) [OBJ_ELF]: Document -mpdr, -mno-pdr.
1208130561Sobrien
1209130561Sobrien	* doc/c-mips.texi (MIPS Opts): Document -mpdr, -mno-pdr.
1210130561Sobrien	* doc/as.texinfo (Overview) [MIPS]: Likewise.
1211130561Sobrien
1212130561Sobrien2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>
1213130561Sobrien
1214130561Sobrien	* config/obj-elf.c (obj_elf_change_section): Update
1215130561Sobrien	elf_section_type and elf_section_flags only when they are
1216130561Sobrien	specified.
1217130561Sobrien
1218130561Sobrien2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>
1219130561Sobrien
1220130561Sobrien	* config/obj-elf.c (obj_elf_change_section): Always set section
1221130561Sobrien	type and flags.
1222130561Sobrien
1223130561Sobrien2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>
1224130561Sobrien
1225130561Sobrien	* config/obj-elf.c (special_sections): Removed.
1226130561Sobrien	(obj_elf_change_section): Call _bfd_elf_get_sec_type_attr. Set
1227130561Sobrien	elf_section_type and elf_section_flags.
1228130561Sobrien	(elf_frob_file): Set SHT_GROUP.
1229130561Sobrien
1230130561Sobrien	* config/obj-elf.h (obj_sec_set_private_data): New.
1231130561Sobrien
1232130561Sobrien	* config/tc-alpha.h (ELF_TC_SPECIAL_SECTIONS): Removed.
1233130561Sobrien	* config/tc-ia64.h: Likewise.
1234130561Sobrien	* config/tc-m32r.h: Likewise.
1235130561Sobrien	* config/tc-m68hc11.h: Likewise.
1236130561Sobrien	* config/tc-mcore.h: Likewise.
1237130561Sobrien	* config/tc-mips.h: Likewise.
1238130561Sobrien	* config/tc-ppc.h: Likewise.
1239130561Sobrien	* config/tc-sh64.h: Likewise.
1240130561Sobrien	* config/tc-v850.h: Likewise.
1241130561Sobrien	* config/tc-xtensa.h: Likewise.
1242130561Sobrien
1243130561Sobrien	* config/tc-v850.h (SHF_V850_GPREL): Removed.
1244130561Sobrien	(SHF_V850_EPREL): Likewise.
1245130561Sobrien	(SHF_V850_R0REL): Likewise.
1246130561Sobrien
1247130561Sobrien	* subsegs.c (subseg_get): Call obj_sec_set_private_data if it
1248130561Sobrien	is defined.
1249130561Sobrien
1250130561Sobrien2003-07-24  Stephane Carrez  <stcarrez@nerim.fr>
1251130561Sobrien
1252130561Sobrien	* config/tc-m68hc11.h (DWARF2_ADDR_SIZE): Use 32-bit address for
1253130561Sobrien	debugging symbols so that we handle page memory correctly.
1254130561Sobrien
1255130561Sobrien2003-07-24  Nick Clifton  <nickc@redhat.com>
1256130561Sobrien
1257130561Sobrien	* po/fr.po: Updated French translation.
1258130561Sobrien
1259130561Sobrien2003-07-23  Daniel Jacobowitz  <drow@mvista.com>
1260130561Sobrien
1261130561Sobrien	* config/tc-arm.c (arm_archs): Add iwmmxt.
1262130561Sobrien
1263130561Sobrien2003-07-22  H.J. Lu <hongjiu.lu@intel.com>
1264130561Sobrien
1265130561Sobrien	* read.c (do_parse_cons_expression): Mark nbytes unused to
1266130561Sobrien	silence gcc.
1267130561Sobrien
1268130561Sobrien2003-07-22  Alexandre Oliva  <aoliva@redhat.com>
1269130561Sobrien
1270130561Sobrien	* config/tc-h8300.c (get_specific): No PCREL8 encoding for bsr/bc
1271130561Sobrien	or bsr/bs.
1272130561Sobrien
1273130561Sobrien	* config/tc-h8300.c (md_assemble): Make sure characters after
1274130561Sobrien	slash and dot are lower-case.
1275130561Sobrien
1276130561Sobrien2003-07-17  Nick Clifton  <nickc@redhat.com>
1277130561Sobrien
1278130561Sobrien	* po/es.po: New Spanish translation.
1279130561Sobrien	* po/tr.po: New Turkish translation.
1280130561Sobrien	* po/opcodes.pot: Regenerate.
1281130561Sobrien
1282130561Sobrien2003-07-16  Alan Modra  <amodra@bigpond.net.au>
1283130561Sobrien
1284130561Sobrien	* dwarf2dbg.c (get_frag_fix): Revert 2001-11-15 change.
1285130561Sobrien	(generic_dwarf2_emit_offset): Don't define function when
1286130561Sobrien	TC__DWARF2_EMIT_OFFSET is defined.
1287130561Sobrien
1288130561Sobrien2003-07-15  Richard Sandiford  <rsandifo@redhat.com>
1289130561Sobrien
1290130561Sobrien	* config/tc-mips.c (hilo_interlocks): True for CPU_RM7000.
1291130561Sobrien	(mips_cpu_info_table): Add rm7000 and rm9000 entries.
1292130561Sobrien	* doc/c-mips.texi: Document -march=rm9000.
1293130561Sobrien
1294130561Sobrien2003-07-15  Alan Modra  <amodra@bigpond.net.au>
1295130561Sobrien
1296130561Sobrien	* config/tc-v850.c (md_assemble): When no reloc, create pcrel fixups
1297130561Sobrien	only for V850_OPERAND_DISP operands.
1298130561Sobrien
1299130561Sobrien2003-07-15  Alan Modra  <amodra@bigpond.net.au>
1300130561Sobrien
1301130561Sobrien	* frags.c (frag_more): Move segment checks to..
1302130561Sobrien	(frag_alloc_check): ..here.  New function.
1303130561Sobrien	(frag_append_1_char): Call frag_alloc_check.
1304130561Sobrien
1305130561Sobrien2003-07-14  Nick Clifton  <nickc@redhat.com>
1306130561Sobrien
1307130561Sobrien	* po/tr.po: Update with latest version.
1308130561Sobrien	* po/POTFILES.in: Regenerate.
1309130561Sobrien	* po/gas.pot: Regenerate.
1310130561Sobrien	* configure: Regenerate.
1311130561Sobrien
1312130561Sobrien2003-07-14  Nick Clifton  <nickc@redhat.com>
1313130561Sobrien
1314130561Sobrien	* config/tc-ip2k.c: Remove inclusion of <ctype.h>
1315130561Sobrien	* config/tc-tic4x.c: Replace inclusion of <ctype.h> with
1316130561Sobrien	"safe-ctype.h" and update use of macros.
1317130561Sobrien	* Makefile.am: Update dependencies.
1318130561Sobrien	* Makefile.in: Regenerate.
1319130561Sobrien
1320130561Sobrien2003-07-11  Alan Modra  <amodra@bigpond.net.au>
1321130561Sobrien
1322130561Sobrien	* po/gas.pot: Regenerate.
1323130561Sobrien
1324130561Sobrien2003-07-10  Jakub Jelinek  <jakub@redhat.com>
1325130561Sobrien
1326130561Sobrien	* config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): Define always.
1327130561Sobrien	(TARGET_USE_CFIPOP, tc_cfi_frame_initial_instructions,
1328130561Sobrien	tc_regname_to_dw2regnum, DWARF2_DEFAULT_RETURN_COLUMN,
1329130561Sobrien	DWARF2_CIE_DATA_ALIGNMENT): Define.
1330130561Sobrien	(ppc_cfi_frame_initial_instructions, tc_ppc_regname_to_dw2regnum): New
1331130561Sobrien	prototypes.
1332130561Sobrien	(ppc_cie_data_alignment): Declare.
1333130561Sobrien	* config/tc-ppc.c: Include dw2gencfi.h.
1334130561Sobrien	(ppc_cie_data_alignment): Define.
1335130561Sobrien	(md_begin): Initialize ppc_cie_data_alignment.
1336130561Sobrien	(ppc_cfi_frame_initial_instructions, tc_ppc_regname_to_dw2regnum): New
1337130561Sobrien	functions.
1338130561Sobrien	* config/tc-s390.h (DWARF2_LINE_MIN_INSN_LENGTH): Define always.
1339130561Sobrien	(TARGET_USE_CFIPOP, tc_cfi_frame_initial_instructions,
1340130561Sobrien	tc_regname_to_dw2regnum, DWARF2_DEFAULT_RETURN_COLUMN,
1341130561Sobrien	DWARF2_CIE_DATA_ALIGNMENT): Define.
1342130561Sobrien	(s390_cfi_frame_initial_instructions, tc_s390_regname_to_dw2regnum):
1343130561Sobrien	New prototypes.
1344130561Sobrien	(s390_cie_data_alignment): Declare.
1345130561Sobrien	* config/tc-s390.c: Include dw2gencfi.h.
1346130561Sobrien	(s390_cie_data_alignment): Define.
1347130561Sobrien	(md_begin): Initialize s390_cie_data_alignment.
1348130561Sobrien	(s390_cfi_frame_initial_instructions, tc_s390_regname_to_dw2regnum):
1349130561Sobrien	New functions.
1350130561Sobrien
1351130561Sobrien2003-07-10  Alexandre Oliva  <aoliva@redhat.com>
1352130561Sobrien
1353130561Sobrien	2002-12-12  Alexandre Oliva  <aoliva@redhat.com>
1354130561Sobrien	* config/tc-mn10300.h (EXTERN_FORCE_RELOC): Don't define to zero.
1355130561Sobrien	2001-05-09  Alexandre Oliva  <aoliva@redhat.com>
1356130561Sobrien	* configure.in (am33_2.0, mn10300-*-linux*): Added.
1357130561Sobrien	* configure: Rebuilt.
1358130561Sobrien	* config/tc-mn10300.h (TARGET_FORMAT) [TE_LINUX]: Define to
1359130561Sobrien	elf32-am33lin.
1360130561Sobrien	* config/tc-mn10300.c (md_begin) [TE_LINUX]: Choose AM33/2.0
1361130561Sobrien	by default.
1362130561Sobrien
1363130561Sobrien2003-07-09  Alexandre Oliva  <aoliva@redhat.com>
1364130561Sobrien
1365130561Sobrien	2003-02-25  Alexandre Oliva  <aoliva@redhat.com>
1366130561Sobrien	* config/tc-mn10300.c (mn10300_check_fixup): Set GOT_PCREL type
1367130561Sobrien	for subtracts from GLOBAL_OFFSET_TABLE that could not be
1368130561Sobrien	simplified.
1369130561Sobrien	2002-07-18  Alexandre Oliva  <aoliva@redhat.com>
1370130561Sobrien	* config/tc-mn10300.c (mn10300_check_fixup): Accept subtracts that
1371130561Sobrien	could not be simplified.
1372130561Sobrien	(tc_gen_reloc): Turn an absolute fx_subsy into part of fx_offset.
1373130561Sobrien	2001-11-04  Alexandre Oliva  <aoliva@redhat.com>
1374130561Sobrien	* config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't adjust
1375130561Sobrien	BDF_RELOC_MN10300_GOT32.
1376130561Sobrien	* config/tc-mn10300.c (mn10300_fix_adjustable): If
1377130561Sobrien	TC_RELOC_RTSYM_LOC_FIXUP doesn't hold, it's not adjustable.
1378130561Sobrien	2001-05-09  Alexandre Oliva  <aoliva@redhat.com>
1379130561Sobrien	* config/tc-mn10300.c (mn10300_parse_name): Don't return a
1380130561Sobrien	symbol if we know its value.
1381130561Sobrien	2001-05-09  Alexandre Oliva  <aoliva@redhat.com>
1382130561Sobrien	* config/tc-mn10300.h (GLOBAL_OFFSET_TABLE_NAME): Remove
1383130561Sobrien	duplicate underscore prefix.
1384130561Sobrien	2001-05-09  Alexandre Oliva  <aoliva@redhat.com>
1385130561Sobrien	* config/tc-mn10300.c (mn10300_parse_name): Store relocation
1386130561Sobrien	type in X_md, not X_add_number.  Zero X_add_number.
1387130561Sobrien	(mn10300_check_fixup): Extract relocation type from X_md.
1388130561Sobrien	* config/tc-mn10300.h: Update comment.
1389130561Sobrien	2001-04-14  Alexandre Oliva  <aoliva@redhat.com>
1390130561Sobrien	* config/tc-mn10300.h (O_GOTOFF, O_PLT, O_GOT): Replace with...
1391130561Sobrien	(O_PIC_reloc): this.
1392130561Sobrien	* config/tc-mn10300.c (mn10300_PIC_related_p): Use it.
1393130561Sobrien	(mn10300_check_fixup): Likewise.
1394130561Sobrien	(mn10300_parse_name): Set X_add_number to relocation type.
1395130561Sobrien	* config/tc-mn10300.h (DIFF_EXPR_OK, GLOBAL_OFFSET_TABLE_NAME,
1396130561Sobrien	TC_RELOC_RTSYM_LOC_FIXUP, md_parse_name, TC_CONS_FIX_NEW,
1397130561Sobrien	O_GOTOFF, O_PLT, O_GOT): Define.
1398130561Sobrien	* config/tc-mn10300.c (mn10300_PIC_related_p): New fn.
1399130561Sobrien	(mn10300_check_fixup): New fn.
1400130561Sobrien	(md_assemble): Call it.  Check for PIC-related relocs.
1401130561Sobrien	(mn10300_cons_fix_new): Likewise.  New fn.
1402130561Sobrien	(mn10300_end_of_match): New fn.
1403130561Sobrien	(mn10300_md_parse_name_cont): New fn.
1404130561Sobrien
1405130561Sobrien2003-07-09  Alexandre Oliva  <aoliva@redhat.com>
1406130561Sobrien
1407130561Sobrien	2000-05-25  Alexandre Oliva  <aoliva@cygnus.com>
1408130561Sobrien	* config/tc-mn10300.c (mn10300_insert_operand): Negate negative
1409130561Sobrien	accumulator's shift.
1410130561Sobrien	2000-05-08  Alexandre Oliva  <aoliva@cygnus.com>
1411130561Sobrien	* config/tc-mn10300.c (md_relax_table, md_convert_frag,
1412130561Sobrien	md_assemble, md_estimate_size_before_relax): Handle fbCC.
1413130561Sobrien	2000-04-20  Alexandre Oliva  <aoliva@cygnus.com>
1414130561Sobrien	* config/tc-mn10300.c (HAVE_AM33): Redefine in terms of
1415130561Sobrien	HAVE_AM33_2.
1416130561Sobrien	2000-04-03  Alexandre Oliva  <aoliva@cygnus.com>
1417130561Sobrien	* config/tc-mn10300.c (md_pseudo_table): Use AM33_2 constant.
1418130561Sobrien	(HAVE_AM33): Match AM33_2 too.
1419130561Sobrien	(HAVE_AM33_2): New macro.
1420130561Sobrien	(md_assemble): Use it.  Match 2.0 registers only if HAVE_AM33_2.
1421130561Sobrien	2000-04-01  Alexandre Oliva  <aoliva@cygnus.com>
1422130561Sobrien	* config/tc-mn10300.c (md_pseudo_table): Added `am33_2'.
1423130561Sobrien	(float_registers, double_registers): New variables.
1424130561Sobrien	(float_register_name, double_register_name): New functions.
1425130561Sobrien	(md_assemble): Recognize FP registers.  Implement FMT_D3.
1426130561Sobrien	(mn10300_insert_operand): Support FP registers.
1427130561Sobrien
1428130561Sobrien2003-07-08  Chris Demetriou  <cgd@broadcom.com>
1429130561Sobrien
1430130561Sobrien	* config/tc-mips.c (mips_validate_fix): Do not warn about branch
1431130561Sobrien	target being a global symbol if not compiling SVR4 PIC code.
1432130561Sobrien
1433130561Sobrien2003-07-07  Nick Clifton  <nickc@redhat.com>
1434130561Sobrien
1435130561Sobrien	* doc/c-m32r.texi (M32R-Directives): New node.  Document the
1436130561Sobrien	.high, .shigh and .low directives.
1437130561Sobrien
1438130561Sobrien2003-07-07  Richard Sandiford  <rsandifo@redhat.com>
1439130561Sobrien
1440130561Sobrien	* config/tc-h8300.c (h8300sxnmode): Add prototype.
1441130561Sobrien	(DSYMMODE): Remove.
1442130561Sobrien	(parse_exp): Replace expressionS argument with a h8_op.  Parse the
1443130561Sobrien	operand size as well.
1444130561Sobrien	(skip_colonthing): Remove unused expression argument.  Tighten checks
1445130561Sobrien	for 2-digit sizes.
1446130561Sobrien	(colonmod24): Remove.
1447130561Sobrien	(get_mova_operands): Combine calls to parse_exp and skip_colonthing.
1448130561Sobrien	(get_operand): Likewise.  Use the standard code to read the size of
1449130561Sobrien	pc-relative operands.
1450130561Sobrien	(fix_operand_size): Include the size-guessing logic that used to be
1451130561Sobrien	in colonmod24 and get_operand.  Don't apply dd:2 optimizations to
1452130561Sobrien	offsets with a symbolic component.
1453130561Sobrien
1454130561Sobrien2003-07-04  Nick Clifton  <nickc@redhat.com>
1455130561Sobrien
1456130561Sobrien	* config/tc-i386.c (tc_x86_regname_to_dw2regnum): Use ARRAY_SIZE
1457130561Sobrien	macro to compute size of selected register name array.
1458130561Sobrien
1459130561Sobrien2003-07-01  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1460130561Sobrien
1461130561Sobrien	* config/tc-s390.c (md_parse_option): Add cpu type z990.
1462130561Sobrien	(md_begin): Add minimal cpu type logic for instructions with different
1463130561Sobrien	binary format depending on the cpu.
1464130561Sobrien	(md_assemble): Remove check for minimal cpu.
1465130561Sobrien	(s390_insert_operand): Add support for long displacements.
1466130561Sobrien	(md_gather_operands): Likewise.
1467130561Sobrien	(tc_s390_fix_adjustable): Likewise.
1468130561Sobrien	(tc_s390_force_relocation): Likewise.
1469130561Sobrien	(md_apply_fix3): Likewise.
1470130561Sobrien
1471130561Sobrien2003-06-30  Chris Demetriou  <cgd@broadcom.com>
1472130561Sobrien
1473130561Sobrien	* config/tc-mips.c (s_mipsset): Implement -march= handling
1474130561Sobrien	differently.
1475130561Sobrien
1476130561Sobrien2003-06-30  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1477130561Sobrien
1478130561Sobrien	* config/tc-mips.c: Convert to ISO C90 prototypes. Remove unnecessary
1479130561Sobrien	prototypes and casts. Replace PTR with void *. Reformat.
1480130561Sobrien	* config/tc-mips.h: Likewise.
1481130561Sobrien
1482130561Sobrien2003-06-30  Alan Modra  <amodra@bigpond.net.au>
1483130561Sobrien
1484130561Sobrien	* config/tc-ia64.c (note_register_values): Warning fix.
1485130561Sobrien	* config/tc-mips.c (append_insn): Likewise.
1486130561Sobrien
1487130561Sobrien2003-06-29  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1488130561Sobrien
1489130561Sobrien	* config/tc-mips.c (mips_set_options,mips_opts): Support for
1490130561Sobrien	.set arch=FOO.
1491130561Sobrien	(file_mips_arch): Rename mips_arch.
1492130561Sobrien	(mips_arch_info,mips_tune_info): Remove.
1493130561Sobrien	(hilo_interlocks,gpr_interlocks,cop_interlocks): Use mips_opts.arch.
1494130561Sobrien	(mips_cpu_info_from_arch): New function.
1495130561Sobrien	(md_begin): Use file_mips_arch.
1496130561Sobrien	(macro_build,macro,mips_ip): Use mips_opts.arch.
1497130561Sobrien	(mips_set_architecture): Init file_mips_arch and mips_opts.arch.
1498130561Sobrien	(mips_after_parse_args): Remove mips_arch_info and mips_tune_info.
1499130561Sobrien	Use file_mips_arch.
1500130561Sobrien	(s_mipsset): Support for .set arch=FOO.
1501130561Sobrien	(mips_cpu_info_table): Fix typo.
1502130561Sobrien
1503130561Sobrien2003-06-26  H.J. Lu <hongjiu.lu@intel.com>
1504130561Sobrien
1505130561Sobrien	* config/tc-i386.c (md_assemble): Declare "exp" before "if".
1506130561Sobrien
1507130561Sobrien2003-06-25  Richard Sandiford  <rsandifo@redhat.com>
1508130561Sobrien
1509130561Sobrien	* config/tc-h8300.c (get_specific): Allow ':8' to be used for
1510130561Sobrien	unsigned 8-bit operands.
1511130561Sobrien
1512130561Sobrien2003-06-24  Nick Clifton  <nickc@redhat.com>
1513130561Sobrien
1514130561Sobrien	* read.c (s_comm): Change error message to assume an unsigned size
1515130561Sobrien	has been passed to .comm.
1516130561Sobrien	* config/tc-sparc.c (s_common): Likewise.
1517130561Sobrien	* write.c (write_contents): Replace 'unsigned long' with
1518130561Sobrien	'addressT' and 'long' with offsetT in order to allow computations
1519130561Sobrien	with very large values to work for 64-bit addressed targets.
1520130561Sobrien	(relax_and_size_all_segments): Likewise.
1521130561Sobrien	(relax_frag): Likewise.
1522130561Sobrien	(relax_segment): Likewise.
1523130561Sobrien
1524130561Sobrien2003-06-23  Mark Mitchell  <mark@codesourcery.com>
1525130561Sobrien
1526130561Sobrien	* config/tc-ppc.c (ppc_cleanup): Use bytes to count APUinfo slots.
1527130561Sobrien
1528130561Sobrien2003-06-23  H.J. Lu <hongjiu.lu@intel.com>
1529130561Sobrien
1530130561Sobrien	* gas/config/tc-i386.c (md_assemble): Support Intel Precott New
1531130561Sobrien	Instructions.
1532130561Sobrien
1533130561Sobrien	* gas/config/tc-i386.h (CpuPNI): New.
1534130561Sobrien	(CpuUnknownFlags): Add CpuPNI.
1535130561Sobrien
1536130561Sobrien2003-06-23    <davidm@hpl.hp.com>
1537130561Sobrien
1538130561Sobrien	* config/tc-ia64.c (pseudo_func): Add ABI constants for linux,
1539130561Sobrien	freebsd, openvms, and nsk (non-stop kernel).
1540130561Sobrien
1541130561Sobrien2003-06-22  Jason Thorpe  <thorpej@wasabisystems.com>
1542130561Sobrien
1543130561Sobrien	* config/tc-ns32k.c (md_begin): Initialize inst_hash_table after
1544130561Sobrien	all locals have been declared.
1545130561Sobrien
1546130561Sobrien2003-06-21  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1547130561Sobrien
1548130561Sobrien	* config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN): Remove
1549130561Sobrien	special handling for n32 ABI.
1550130561Sobrien	(macro): Likewise.
1551130561Sobrien
1552130561Sobrien2003-06-19  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1553130561Sobrien
1554130561Sobrien	* config/tc-mips.c (s_cpsetup,s_cprestore,s_cpreturn): Revert
1555130561Sobrien	2003-06-11 change.
1556130561Sobrien
1557130561Sobrien2003-06-19  Christian Groessler  <chris@groessler.org>
1558130561Sobrien
1559130561Sobrien	* config/tc-z8k.c (parse_reg): Invalid registers generate an error
1560130561Sobrien	now, not only a warning.  Add some more checks to detect invalid
1561130561Sobrien	registers.
1562130561Sobrien	(get_operand): For CLASS_IR remember register size in mode struct.
1563130561Sobrien	(get_specific): Handle new CLASS_IRO type.  Add register size
1564130561Sobrien	checks for CLASS_IR and CLASS_IRO.
1565130561Sobrien	(md_apply_fix3): Fix undefined usage of buf.
1566130561Sobrien
1567130561Sobrien2003-06-19  Alan Modra  <amodra@bigpond.net.au>
1568130561Sobrien
1569130561Sobrien	* config/tc-ppc.c (ppc_csect): Pass alignment to ppc_change_csect.
1570130561Sobrien	(ppc_change_csect): Add align param.  Align frag at start of csect.
1571130561Sobrien	(ppc_section, ppc_named_section): Adjust ppc_change_csect calls.
1572130561Sobrien	(ppc_frob_section): Align vma.
1573130561Sobrien
1574130561Sobrien2003-06-18  Jakub Jelinek  <jakub@redhat.com>
1575130561Sobrien
1576130561Sobrien	* dw2gencfi.c (EH_FRAME_ALIGNMENT): Define if not defined.
1577130561Sobrien	(output_cie): Don't pad.
1578130561Sobrien	(output_fde): Add align argument.  Pad to align if not 0.
1579130561Sobrien	(cfi_finish): Set .eh_frame alignment to EH_FRAME_ALIGNMENT.
1580130561Sobrien	Pad just last FDE to EH_FRAME_ALIGNMENT.
1581130561Sobrien
1582130561Sobrien2003-06-18  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1583130561Sobrien
1584130561Sobrien	* config/tc-s390.c (init_default_arch): Make current_mode_mask
1585130561Sobrien	dependent on s390_arch_size and current_cpu dependent on
1586130561Sobrien	current_mode_mask.
1587130561Sobrien
1588130561Sobrien2003-06-18  Svein E. Seldal  <Svein.Seldal@solidas.com>
1589130561Sobrien
1590130561Sobrien	* configure.in: Add c4x as an architecture variant to tic4x.
1591130561Sobrien	* configure: Regenerate.
1592130561Sobrien	* Makefile.in: Regenerate.
1593130561Sobrien	* doc/Makefile.in: Regenerate.
1594130561Sobrien
1595130561Sobrien2003-06-18  Alan Modra  <amodra@bigpond.net.au>
1596130561Sobrien
1597130561Sobrien	* config/tc-ppc.c (ppc_elf_suffix): Don't remove symbols other than
1598130561Sobrien	".TOC." from PPC64_TOC relocs.
1599130561Sobrien
1600130561Sobrien2003-06-17  Alan Modra  <amodra@bigpond.net.au>
1601130561Sobrien
1602130561Sobrien	* config/tc-ppc.c (md_apply_fix3): Allow BRTAKEN, BRNTAKEN relocs.
1603130561Sobrien
1604130561Sobrien2003-06-16  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1605130561Sobrien
1606130561Sobrien	* config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN,
1607130561Sobrien	ADDRESS_LOAD_INSN,ADDRESS_STORE_INSN): New macros.
1608130561Sobrien	(macro_build_ldst_constoffset,load_address,macro,s_cpsetup,
1609130561Sobrien	s_cprestore,s_cpadd): Use them.
1610130561Sobrien
1611130561Sobrien2003-06-16  Hans-Peter Nilsson  <hp@axis.com>
1612130561Sobrien
1613130561Sobrien	* configure.in: Add specific case for cris-*-linux-gnu* with
1614130561Sobrien	em=linux.
1615130561Sobrien	* configure: Regenerate.
1616130561Sobrien	* config/tc-cris.c (DEFAULT_CRIS_AXIS_LINUX_GNU): New macro, TRUE
1617130561Sobrien	if TE_LINUX defined, else FALSE.
1618130561Sobrien	(bfd_boolean demand_register_prefix): Set default from
1619130561Sobrien	DEFAULT_CRIS_AXIS_LINUX_GNU.
1620130561Sobrien	(symbols_have_leading_underscore): Similar.
1621130561Sobrien	* config/tc-cris.h (LOCAL_LABELS_DOLLAR): Define to 1.
1622130561Sobrien
1623130561Sobrien2003-06-13  Richard Earnshaw  <rearnsha@arm.com>
1624130561Sobrien
1625130561Sobrien	* tc-arm.c (FPU_DEFAULT, case TE_LINUX): Default to FPU_ARCH_FPA.
1626130561Sobrien	(FPU_DEFAULT, case TE_NetBSD): Default to FPU_ARCH_VFP for ELF,
1627130561Sobrien	FPU_ARCH_FPA for AOUT.
1628130561Sobrien	(md_begin): Don't try to guess the floating point architecture from
1629130561Sobrien	the CPU if the OS ABI (Linux, NetBSD) mandates a particular form.
1630130561Sobrien
1631130561Sobrien2003-06-13  Robert Millan  <zeratul2@wanadoo.es>
1632130561Sobrien
1633130561Sobrien	* configure.in: Add i386-netbsd-gnu target.
1634130561Sobrien	* configure: Regenerate.
1635130561Sobrien
1636130561Sobrien2003-06-12  Tom Tromey  <tromey@redhat.com>
1637130561Sobrien
1638130561Sobrien	* doc/as.texinfo (Comm): Added @node.  Moved before CFI
1639130561Sobrien	directives node.
1640130561Sobrien
1641130561Sobrien2003-06-12  Richard Sandiford  <rsandifo@redhat.com>
1642130561Sobrien
1643130561Sobrien	* config/tc-mips.c (append_insn): In a compound relocation, take the
1644130561Sobrien	field width from the final (outermost) operator.
1645130561Sobrien
1646130561Sobrien2003-06-11  Richard Henderson  <rth@redhat.com>
1647130561Sobrien
1648130561Sobrien	* dw2gencfi.c (struct cfi_escape_data): New.
1649130561Sobrien	(cfi_add_CFA_nop): Remove.
1650130561Sobrien	(CFI_escape, dot_cfi_escape): New.
1651130561Sobrien	(dot_cfi): Remove nop.
1652130561Sobrien	(cfi_pseudo_table): Remove nop; add escape.
1653130561Sobrien	(output_cfi_insn): Likewise.
1654130561Sobrien	(select_cie_for_fde): Stop on escape.
1655130561Sobrien	* dw2gencfi.h (cfi_add_CFA_nop): Remove.
1656130561Sobrien	* read.c, read.h (do_parse_cons_expression): New.
1657130561Sobrien	* doc/as.texinfo (.cfi_escape): New.
1658130561Sobrien
1659130561Sobrien2003-06-11  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1660130561Sobrien
1661130561Sobrien	* config/tc-mips.c (s_cpsetup): Use mips_frame_reg instead of SP.
1662130561Sobrien	(s_cprestore): Likewise.
1663130561Sobrien	(s_cpreturn): Likewise.
1664130561Sobrien
1665130561Sobrien2003-06-11  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1666130561Sobrien
1667130561Sobrien	* config/tc-mips.c (tc_gen_reloc): Initialize retval amd reloc
1668130561Sobrien	with zeros.
1669130561Sobrien
1670130561Sobrien2003-06-11  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1671130561Sobrien
1672130561Sobrien	* config/tc-mips.c (md_pcrel_from): Return actual pcrel address.
1673130561Sobrien	(md_apply_fix3): Ignore non-special relocations. Remove superfluous
1674130561Sobrien	exceptions from size assert. Remove most of the addend fixup
1675130561Sobrien	specialcasing. Remove value, use valP directly. simplify fx_addnumber
1676130561Sobrien	handling. Remove zero addend specialcases.
1677130561Sobrien	(tc_gen_reloc): Use appropriate value for reloc2 addend. Remove
1678130561Sobrien	the addend fixup specialcase.
1679130561Sobrien	* config/tc-mips.h (MD_APPLY_SYM_VALUE): Define as 0.
1680130561Sobrien
1681130561Sobrien2003-06-11  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1682130561Sobrien
1683130561Sobrien	* write.c (write_relocs): Use xcalloc. Fix relocs initialization
1684130561Sobrien	in the RELOC_EXPANSION_POSSIBLE case.
1685130561Sobrien
1686130561Sobrien2003-06-11  Alan Modra  <amodra@bigpond.net.au>
1687130561Sobrien
1688130561Sobrien	* config/tc-i960.c (line_comment_chars): Add '#'.
1689130561Sobrien	* config/tc-mn10200.c (tc_gen_reloc): Don't ignore fx_subsy.
1690130561Sobrien
1691130561Sobrien2003-06-11  H.J. Lu <hongjiu.lu@intel.com>
1692130561Sobrien
1693130561Sobrien	* po/Make-in (DESTDIR): New.
1694130561Sobrien	(install-data-yes): Support $(DESTDIR).
1695130561Sobrien	(uninstall): Likewise.
1696130561Sobrien
1697130561Sobrien2003-06-11  Alan Modra  <amodra@bigpond.net.au>
1698130561Sobrien
1699130561Sobrien	* Makefile.am: Run "make dep-am".
1700130561Sobrien	* Makefile.in: Regenerate.
1701130561Sobrien	* po/POTFILES.in: Regenerate.
1702130561Sobrien
1703130561Sobrien2003-06-10  Doug Evans  <dje@sebabeach.org>
1704130561Sobrien
1705130561Sobrien	* cgen.c (gas_cgen_finish_insn): CGEN_INSN_RELAX renamed to
1706130561Sobrien	CGEN_INSN_RELAXED.
1707130561Sobrien	* config/tc-fr30.c (md_estimate_size_before_relax): Ditto.
1708130561Sobrien	* config/tc-m32r.c (md_estimate_size_before_relax): Ditto.
1709130561Sobrien	* config/tc-openrisc.c (md_estimate_size_before_relax): Ditto.
1710130561Sobrien
1711130561Sobrien2003-06-10  Alan Modra  <amodra@bigpond.net.au>
1712130561Sobrien	    Gary Hade <garyhade@us.ibm.com>
1713130561Sobrien
1714130561Sobrien	* config/tc-ppc.c (md_assemble): Handle PPC_OPERAND_DQ.
1715130561Sobrien	(md_apply_fix3): Special case lq insn.
1716130561Sobrien
1717130561Sobrien2003-06-10  Richard Sandiford  <rsandifo@redhat.com>
1718130561Sobrien
1719130561Sobrien	* config/tc-h8300.c (get_rtsl_operands): Accept unbracketed register
1720130561Sobrien	lists.  Allow single-register ranges.
1721130561Sobrien
1722130561Sobrien2003-06-10  Richard Sandiford  <rsandifo@redhat.com>
1723130561Sobrien
1724130561Sobrien	* config/tc-h8300.c (h8300sxnmode): New.
1725130561Sobrien	(md_pseudo_table): Add .h8300sxn entry.
1726130561Sobrien
1727130561Sobrien2003-06-09  H.J. Lu <hongjiu.lu@intel.com>
1728130561Sobrien
1729130561Sobrien	* NEWS: Updated for the new -n option for the i386 assembler.
1730130561Sobrien
1731130561Sobrien	* config/tc-i386.c (optimize_align_code): New.
1732130561Sobrien	(md_shortopts): Add 'n'.
1733130561Sobrien	(md_parse_option): Handle 'n'.
1734130561Sobrien	(md_show_usage): Add '-n'.
1735130561Sobrien
1736130561Sobrien	* config/tc-i386.h (optimize_align_code): Declared.
1737130561Sobrien	(md_do_align): Optimize code alignment only if optimize_align_code
1738130561Sobrien	is not 0.
1739130561Sobrien
1740130561Sobrien	* doc/as.texinfo: Add the new -n option.
1741130561Sobrien
1742130561Sobrien	* doc/c-i386.texi: Document the new -n option.
1743130561Sobrien
1744130561Sobrien2003-06-07  Richard Henderson  <rth@redhat.com>
1745130561Sobrien
1746130561Sobrien	* doc/as.texinfo: Document .cfi_rel_offset.
1747130561Sobrien
1748130561Sobrien	* dw2gencfi.c (struct cfa_save_data, cfa_save_stack): New.
1749130561Sobrien	(cfi_add_CFA_offset): Detect invalid offsets.
1750130561Sobrien	(cfi_add_CFA_remember_state): Save cur_cfa_offset.
1751130561Sobrien	(cfi_add_CFA_restore_state): Restore it.
1752130561Sobrien	(CFI_rel_offset): New.
1753130561Sobrien	(cfi_pseudo_table): Add it.
1754130561Sobrien	(dot_cfi): Handle it.
1755130561Sobrien
1756130561Sobrien2003-06-07  H.J. Lu <hongjiu.lu@intel.com>
1757130561Sobrien
1758130561Sobrien	* app.c (do_scrub_chars): Add states 14 and 15 to handle
1759130561Sobrien	predicate for ia64.
1760130561Sobrien
1761130561Sobrien2003-06-05  Michael Snyder  <msnyder@redhat.com>
1762130561Sobrien
1763130561Sobrien	* config/tc-h8sx.c (get_specific): Distinguish h8h from h8s ops.
1764130561Sobrien	(build_bytes): Ditto.
1765130561Sobrien
1766130561Sobrien2003-06-05  Richard Sandiford  <rsandifo@redhat.com>
1767130561Sobrien
1768130561Sobrien	* config/tc-h8sx.c (DMODE): Remove.
1769130561Sobrien	(colonmod24): Don't choose a default if the operand is a 16-bit
1770130561Sobrien	constant integer.
1771130561Sobrien	(fix_operand_size): New function.
1772130561Sobrien	(md_assemble): Use it to choose between @(d:2, ERn) and @(d:16,ERn).
1773130561Sobrien	Adjust @(d:2,ERn) operands before choosing the specific opcodes.
1774130561Sobrien
1775130561Sobrien2003-06-05  Michal Ludvig  <mludvig@suse.cz>
1776130561Sobrien
1777130561Sobrien	* dw2gencfi.c (cfi_add_CFA_insn, cfi_add_CFA_insn_reg)
1778130561Sobrien	(cfi_add_CFA_insn_reg_reg, cfi_add_CFA_insn_reg_offset): New.
1779130561Sobrien	(cfi_add_CFA_offset, cfi_add_CFA_def_cfa)
1780130561Sobrien	(cfi_add_CFA_register, cfi_add_CFA_def_cfa_register)
1781130561Sobrien	(cfi_add_CFA_def_cfa_offset): Use cfi_add_CFA_insn_*().
1782130561Sobrien	(cfi_add_CFA_restore, cfi_add_CFA_undefined)
1783130561Sobrien	(cfi_add_CFA_same_value, cfi_add_CFA_remember_state)
1784130561Sobrien	(cfi_add_CFA_restore_state, cfi_add_CFA_nop): New.
1785130561Sobrien	(cfi_pseudo_table): New directives .cfi_return_column,
1786130561Sobrien	.cfi_restore, .cfi_undefined, .cfi_same_value,
1787130561Sobrien	.cfi_remember_state, .cfi_restore_state, .cfi_nop.
1788130561Sobrien	(dot_cfi, output_cfi_insn): Handle new directives.
1789130561Sobrien	* dw2gencfi.h (cfi_add_CFA_restore, cfi_add_CFA_undefined)
1790130561Sobrien	(cfi_add_CFA_same_value, cfi_add_CFA_remember_state)
1791130561Sobrien	(cfi_add_CFA_restore_state, cfi_add_CFA_nop): New prototypes.
1792130561Sobrien
1793130561Sobrien2003-06-04  Richard Henderson  <rth@redhat.com>
1794130561Sobrien
1795130561Sobrien	* dw2gencfi.c (output_cfi_insn): Fix typo for negative offsets.
1796130561Sobrien
1797130561Sobrien	* dw2gencfi.c (cfi_finish): Set .eh_frame read-only.
1798130561Sobrien
1799130561Sobrien2003-06-04  Richard Henderson  <rth@redhat.com>
1800130561Sobrien
1801130561Sobrien	* config/tc-alpha.c (s_alpha_usepv): New.
1802130561Sobrien	(md_pseudo_table): Add it.
1803130561Sobrien	(alpha_cfi_frame_initial_instructions): New.
1804130561Sobrien	* config/tc-alpha.h (TARGET_USE_CFIPOP): New.
1805130561Sobrien	(tc_cfi_frame_initial_instructions): New.
1806130561Sobrien	* doc/c-alpha.texi: Document .usepv.
1807130561Sobrien
1808130561Sobrien2003-06-04  Jakub Jelinek  <jakub@redhat.com>
1809130561Sobrien
1810130561Sobrien	* as.c (show_usage): Document --execstack and --noexecstack.
1811130561Sobrien	(parse_args): Add --execstack and --noexecstack.
1812130561Sobrien	(main): Create .note.GNU-stack section if --execstack or
1813130561Sobrien	--noexecstack was given on comand line, set its SHF_EXECINSTR bit.
1814130561Sobrien	* as.h (flag_execstack, flag_noexecstack): New.
1815130561Sobrien
1816130561Sobrien2003-06-03  Chris Demetriou  <cgd@broadcom.com>
1817130561Sobrien
1818130561Sobrien	* config/tc-mips.c: (OPTION_ARCH_BASE, OPTION_ASE_BASE)
1819130561Sobrien	(OPTION_COMPAT_ARCH_BASE, OPTION_FIX_BASE)
1820130561Sobrien	(OPTION_MISC_BASE): New defines.
1821130561Sobrien	(OPTION_BREAK, OPTION_CONSTRUCT_FLOATS, OPTION_EB, OPTION_EL)
1822130561Sobrien	(OPTION_ELF_BASE, OPTION_FIX_VR4122, OPTION_FP32, OPTION_FP64)
1823130561Sobrien	(OPTION_GP32, OPTION_GP64, OPTION_M3900, OPTION_M4010, OPTION_M4100)
1824130561Sobrien	(OPTION_M4650, OPTION_M7000_HILO_FIX, OPTION_MARCH, OPTION_MDMX)
1825130561Sobrien	(OPTION_MEMBEDDED_PIC, OPTION_MIPS1, OPTION_MIPS16, OPTION_MIPS2)
1826130561Sobrien	(OPTION_MIPS3, OPTION_MIPS32, OPTION_MIPS32R2, OPTION_MIPS3D)
1827130561Sobrien	(OPTION_MIPS4, OPTION_MIPS5, OPTION_MIPS64)
1828130561Sobrien	(OPTION_MNO_7000_HILO_FIX, OPTION_MTUNE, OPTION_NO_CONSTRUCT_FLOATS)
1829130561Sobrien	(OPTION_NO_FIX_VR4122, OPTION_NO_M3900, OPTION_NO_M4010)
1830130561Sobrien	(OPTION_NO_M4100, OPTION_NO_M4650, OPTION_NO_MDMX, OPTION_NO_MIPS16)
1831130561Sobrien	(OPTION_NO_MIPS3D, OPTION_NO_RELAX_BRANCH, OPTION_RELAX_BRANCH)
1832130561Sobrien	(OPTION_TRAP): Redefine in terms of new defines.
1833130561Sobrien	(md_longopts): Reorder entries.
1834130561Sobrien
1835130561Sobrien2003-05-14  Michael Snyder  <msnyder@redhat.com>
1836130561Sobrien	From Bernd Schmidt  <bernds@redhat.com>
1837130561Sobrien	and Michael Snyder  <msnyder@redhat.com>
1838130561Sobrien	and Alexandre Oliva <aoliva@redhat.com>
1839130561Sobrien	* config/tc-h8300.c: Add insns and addressing modes for h8300sx.
1840130561Sobrien	* config/tc-h8300.h: Ditto.
1841130561Sobrien
1842130561Sobrien2003-06-03  Nick Clifton  <nickc@redhat.com>
1843130561Sobrien
1844130561Sobrien	* tc-v850.c (tc-gen_reloc): Translate BFD_RELOC_32 into
1845130561Sobrien	BFD_RELOC_32_PCREL if the reloc is pc-relative.  Do this
1846130561Sobrien	before calling bfd_reloc_type_lookup.
1847130561Sobrien
1848130561Sobrien2003-06-02  Alan Modra  <amodra@bigpond.net.au>
1849130561Sobrien
1850130561Sobrien	* read.c (emit_expr): Set dot_value.
1851130561Sobrien	* dw2gencfi.c (output_fde): Remove pcrel reloc hack.
1852130561Sobrien
1853130561Sobrien2003-06-02  Alan Modra  <amodra@bigpond.net.au>
1854130561Sobrien
1855130561Sobrien	* macro.c (sub_actual): Don't lose string if it turns out that
1856130561Sobrien	&string wasn't an arg.
1857130561Sobrien
1858130561Sobrien2003-05-31  Richard Henderson  <rth@redhat.com>
1859130561Sobrien
1860130561Sobrien	* dw2gencfi.c (output_fde): Use fix_new to emit pc-relative reloc.
1861130561Sobrien	(cfi_finish): Set flag_traditional_format around .eh_frame data.
1862130561Sobrien
1863130561Sobrien2003-05-29  Richard Henderson  <rth@redhat.com>
1864130561Sobrien
1865130561Sobrien	* config/tc-alpha.c (alpha_cur_ent_sym): Remove.
1866130561Sobrien	(all_frame_data, plast_frame_data, cur_frame_data): New.
1867130561Sobrien	(s_alpha_ent): Record data for dwarf2 cfi.
1868130561Sobrien	(s_alpha_end, s_alpha_mask, s_alpha_frame, s_alpha_prologue): Likewise.
1869130561Sobrien	(alpha_elf_md_end): Emit dwarf2 cfi for ecoff unwind directives.
1870130561Sobrien	* config/tc-alpha.h (md_end): New.
1871130561Sobrien	(DWARF2_DEFAULT_RETURN_COLUMN): New.
1872130561Sobrien	(DWARF2_CIE_DATA_ALIGNMENT): New.
1873130561Sobrien
1874130561Sobrien2003-05-29  Nick Clifton  <nickc@redhat.com>
1875130561Sobrien
1876130561Sobrien	* configure.in: Add i386-*-freebsd* entry.
1877130561Sobrien	* configure: Regenerate.
1878130561Sobrien
1879130561Sobrien2003-05-29  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
1880130561Sobrien
1881130561Sobrien	* config/tc-m32r.c: Amend comment to refer to Renesas
1882130561Sobrien
1883130561Sobrien2003-05-27  Richard Henderson  <rth@redhat.com>
1884130561Sobrien
1885130561Sobrien	* expr.c (make_expr_symbol): Fold FAKE_LABEL_NAME use into the
1886130561Sobrien	symbol_create call.
1887130561Sobrien	(current_location): Use symbol_temp_new_now.
1888130561Sobrien	* stabs.c (s_stab_generic): Use symbol_temp_new.
1889130561Sobrien	* symbols.c (temp_label_name): Remove.
1890130561Sobrien	(symbol_temp_new, symbol_temp_make): Use FAKE_LABEL_NAME.
1891130561Sobrien
1892130561Sobrien2003-05-27  Richard Henderson  <rth@redhat.com>
1893130561Sobrien
1894130561Sobrien	* dw2gencfi.c, dw2gencfi.h: Rewrite from scratch.
1895130561Sobrien	* as.c (main): Always call cfi_finish.
1896130561Sobrien	* config/tc-i386.c (x86_dwarf2_return_column): New.
1897130561Sobrien	(x86_cie_data_alignment): New.
1898130561Sobrien	(md_begin): Set them.
1899130561Sobrien	(tc_x86_cfi_init): Remove.
1900130561Sobrien	(tc_x86_regname_to_dw2regnum): Fix 32-bit register numbers;
1901130561Sobrien	return int, not unsigned long; don't as_bad here.
1902130561Sobrien	(tc_x86_frame_initial_instructions): Streamline; use
1903130561Sobrien	updated api.
1904130561Sobrien	* config/tc-i386.h (tc_cfi_init): Remove.
1905130561Sobrien	(DWARF2_DEFAULT_RETURN_COLUMN): New.
1906130561Sobrien	(DWARF2_CIE_DATA_ALIGNMENT): New.
1907130561Sobrien
1908130561Sobrien2003-05-27  Richard Henderson  <rth@redhat.com>
1909130561Sobrien
1910130561Sobrien	* symbols.c (temp_label_name): New.
1911130561Sobrien	(symbol_temp_new, symbol_temp_new_now, symbol_temp_make): New.
1912130561Sobrien	(symbol_set_value_now): New.
1913130561Sobrien	* symbols.h: Prototype them.
1914130561Sobrien	* dwarf2dbg.c: Use them.
1915130561Sobrien	(fake_label_name, symbol_new_now, set_symbol_value_now): Remove.
1916130561Sobrien
1917130561Sobrien2003-05-23  Jason Eckhardt  <jle@rice.edu>
1918130561Sobrien
1919130561Sobrien	* config/tc-i860.c (target_xp): Declare variable.
1920130561Sobrien	(OPTION_XP): Declare macro.
1921130561Sobrien	(md_longopts): Add option -mxp.
1922130561Sobrien	(md_parse_option): Set target_xp.
1923130561Sobrien	(md_show_usage): Add -mxp usage.
1924130561Sobrien	(i860_process_insn): Recognize XP registers bear, ccr, p0-p3.
1925130561Sobrien	(md_assemble): Don't try expansions if XP_ONLY is set.
1926130561Sobrien	* doc/c-i860.texi: Document -mxp option and i860XP support.
1927130561Sobrien
1928130561Sobrien2003-05-23  Eric Christopher  <echristo@redhat.com>
1929130561Sobrien
1930130561Sobrien	* config/tc-mips.c (macro_build_jalr): Warning patrol.
1931130561Sobrien
1932130561Sobrien2003-05-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1933130561Sobrien
1934130561Sobrien	* config/tc-mips.c (append_insn): Use actual relocation size for new
1935130561Sobrien	fixp's.	Don't relax overflow checking for partial_inplace relocations.
1936130561Sobrien	Use the actual relocation type in combined relocs, not just the type
1937130561Sobrien	of the first one.
1938130561Sobrien	(macro_build_jalr): Use actual relocation size for new fix.
1939130561Sobrien	(s_cpsetup, s_gpdword): Likewise.
1940130561Sobrien
1941130561Sobrien2003-05-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1942130561Sobrien
1943130561Sobrien	* config/tc-mips.c (macro): Don't use uninitialized tempreg.
1944130561Sobrien
1945130561Sobrien2003-05-22  Nick Clifton  <nickc@redhat.com>
1946130561Sobrien
1947130561Sobrien	* config/tc-xstormy16.c (md_pcrel_from_section): Do not produce
1948130561Sobrien	section relative offsets for relocs that will not be based on the
1949130561Sobrien	section symbol.
1950130561Sobrien	(xstormy16_md_apply_fix3): Remove previous patch to this
1951130561Sobrien	function.
1952130561Sobrien
1953130561Sobrien2003-05-07  Eric Christopher  <echristo@redhat.com>
1954130561Sobrien
1955130561Sobrien	* config/tc-mips.c (mips_abicalls): New variable.
1956130561Sobrien	(md_parse_option): Use.
1957130561Sobrien	(s_option): Ditto.
1958130561Sobrien	(s_abicalls): Ditto.
1959130561Sobrien	(mips_elf_final_processing): Set EF_MIPS_PIC and
1960130561Sobrien	EF_MIPS_CPIC dependent on above.
1961130561Sobrien
1962130561Sobrien2003-05-21  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1963130561Sobrien
1964130561Sobrien	* tc-hppa.c (hppa_symbol_chars): Remove `,' and `!'.
1965130561Sobrien
1966130561Sobrien2003-05-21  Nick Clifton  <nickc@redhat.com>
1967130561Sobrien
1968130561Sobrien	* config/obj-elf.c: Include dwarf2dbg.h.
1969130561Sobrien	(elf_pseudo_tab): Add .file and .loc.
1970130561Sobrien	* config/tc-arc.c (md_pseudo_table): Remove .file and .loc.
1971130561Sobrien	* config/tc-arm.c: Likewise.
1972130561Sobrien	* config/tc-h8300.c: Likewise.
1973130561Sobrien	* config/tc-hppa.c: Likewise.
1974130561Sobrien	* config/tc-ia64.c: Likewise.
1975130561Sobrien	* config/tc-m68hc11.c: Likewise.
1976130561Sobrien	* config/tc-m68k.c: Likewise.
1977130561Sobrien	* config/tc-mmix.c: Likewise.
1978130561Sobrien	* config/tc-mn10300.c: Likewise.
1979130561Sobrien	* config/tc-ppc.c: Likewise.
1980130561Sobrien	* config/tc-sh.c: Likewise.
1981130561Sobrien	* config/tc-sparc.c: Likewise.
1982130561Sobrien	* config/tc-v850.c: Likewise.
1983130561Sobrien	* config/tc-frv.c: Likewise, and remove redundant inclusion of
1984130561Sobrien	dwarf2dbg.h.
1985130561Sobrien	* config/tc-ip2k.c: Likewise.
1986130561Sobrien	* config/tc-iq2000.c: Likewise.
1987130561Sobrien	* config/tc-xstormy16.c: Likewise.
1988130561Sobrien	* config/tc-xtensa.c: Likewise.
1989130561Sobrien	* Makefile.am: Regenerate dependencies.
1990130561Sobrien	* Makefile.in: Regenerate.
1991130561Sobrien	* aclocal.m4: Regenerate.
1992130561Sobrien	* config.in: Regenerate.
1993130561Sobrien	* configure: Regenerate.
1994130561Sobrien	* po/POTFILES.in: Regenerate.
1995130561Sobrien	* po/gas.pot: Regenerate.
1996130561Sobrien
1997130561Sobrien2003-05-21  Nick Clifton  <nickc@redhat.com>
1998130561Sobrien
1999130561Sobrien	* dw2gencfi.c (cfi_get_label): Use symbol_make for non
2000130561Sobrien	BFD_ASSEMBLER targets.
2001130561Sobrien	(cfi_startproc): Change type of saved_seg and cfi_seg to segT.
2002130561Sobrien	(dot_cfi_endproc): Only call bfd_set_section_flags for targets
2003130561Sobrien	defining BFD_ASSEMBLER.
2004130561Sobrien
2005130561Sobrien2003-05-20  Michal Ludvig  <mludvig@suse.cz>
2006130561Sobrien
2007130561Sobrien	* as.c (main): Remove tc_cfi_init().
2008130561Sobrien	* dw2gencfi.c (cfi_parse_arg): Allow regnames beginning
2009130561Sobrien	with '%'.
2010130561Sobrien	(cfi_pseudo_table): Add "cfi_register" entry.
2011130561Sobrien	(cfi_make_insn): Handle CFA_register.
2012130561Sobrien	(cfi_output_insn): Ditto.
2013130561Sobrien	(dot_cfi): Ditto.
2014130561Sobrien	(cfi_get_label): Add 'simple' modifier to .cfi_startproc.
2015130561Sobrien	(dot_cfi_endproc): Reuse already emitted CIEs.
2016130561Sobrien	* testsuite/gas/cfi/cfi-i386.d: New pattern.
2017130561Sobrien	* testsuite/gas/cfi/cfi-x86-64.d: Ditto.
2018130561Sobrien
2019130561Sobrien2003-05-20  Nick Clifton  <nickc@redhat.com>
2020130561Sobrien
2021130561Sobrien	* config/tc-xstormy16.c: Include dwarf2dbg.h.
2022130561Sobrien	(md_pseudo_table): Add entries for .loc and .line.
2023130561Sobrien
2024130561Sobrien2003-05-20  Alan Modra  <amodra@bigpond.net.au>
2025130561Sobrien
2026130561Sobrien	* dw2gencfi.c (cfi_parse_arg): Only use tc_regname_to_dw2regnum if
2027130561Sobrien	defined.
2028130561Sobrien	(dot_cfi_endproc): Avoid C99 construct.
2029130561Sobrien
2030130561Sobrien2003-05-20  Michal Ludvig  <mludvig@suse.cz>
2031130561Sobrien
2032130561Sobrien	* dw2gencfi.c, dw2gencfi.h: New files.
2033130561Sobrien	* config/tc-i386.c (tc_x86_cfi_init): New function.
2034130561Sobrien	* config/tc-i386.h (TARGET_USE_CFIPOP, tc_cfi_init): New defines.
2035130561Sobrien	* as.c (parse_args): Set verbose flag on --verbose.
2036130561Sobrien	(main): Call tc_cfi_init()/cfi_finish().
2037130561Sobrien	* as.h (verbose): New external variable.
2038130561Sobrien	* read.c (pobegin): Insert CFI pops to the list.
2039130561Sobrien	* symbols.c (local_symbol_make): Make symbol external.
2040130561Sobrien	* symbols.h (local_symbol_make): New prototype.
2041130561Sobrien	* Makefile.am: Add dw2gencfi.[ch] files.  Run "make dep-am".
2042130561Sobrien	* Makefile.in: Regenerate.
2043130561Sobrien	* doc/as.texinfo: Added node "CFI directives" with description of
2044130561Sobrien	all implemented .cfi_* directives.
2045130561Sobrien	* doc/Makefile.in: Regenerate.
2046130561Sobrien	* po/POTFILES.in: Regenerate.
2047130561Sobrien
2048130561Sobrien2003-05-19  Svein E. Seldal  <Svein.Seldal@solidas.com>
2049130561Sobrien
2050130561Sobrien	* config/tc-tic4x.c (md_assemble): Added support for one-line parallel
2051130561Sobrien	insns.
2052130561Sobrien	* config/tc-tic4x.h: Added DOUBLEBAR_PARALLEL definition
2053130561Sobrien
2054130561Sobrien2003-05-18  Jason Eckhardt  <jle@rice.edu>
2055130561Sobrien
2056130561Sobrien	* config/tc-i860.c (i860_process_insn): Initialize fc after
2057130561Sobrien	each opcode mismatch.
2058130561Sobrien
2059130561Sobrien2003-05-16  Kelley Cook  <kelleycook@wideopenwest.com>
2060130561Sobrien
2061130561Sobrien	* configure.in: Accept i[3-7]86 variants.
2062130561Sobrien	* configure: Regenerate.
2063130561Sobrien
2064130561Sobrien2003-05-15  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2065130561Sobrien
2066130561Sobrien	* config/tc-mips.h: Fix comment formatting.
2067130561Sobrien
2068130561Sobrien2003-05-13  Hans-Peter Nilsson  <hp@axis.com>
2069130561Sobrien
2070130561Sobrien	* read.c (old_buffer, old_input, old_limit): Remove variables.
2071130561Sobrien	(read_a_source_file): Delete label contin.
2072130561Sobrien	<handling #APP/#NO_APP>: Use an "sb" to push #APP expansion into
2073130561Sobrien	input as with macros, instead of in separate old_* variables.
2074130561Sobrien	Zero-terminate string being scrubbed.
2075130561Sobrien
2076130561Sobrien2003-05-12  Nick Clifton  <nickc@redhat.com>
2077130561Sobrien
2078130561Sobrien	* config/tc-xstormy16.c (skipping_fptr): New local variable.
2079130561Sobrien	(md_assemble): Reset skipping_fptr.
2080130561Sobrien	(md_operand): If @fptr() is followed by a minus sign, set
2081130561Sobrien	skipping_fptr and ignore the fptr.  If skipping_fptr is set and an
2082130561Sobrien	@fptr is detected, ignore it and reset skipping_fptr.
2083130561Sobrien
2084130561Sobrien2003-05-11  Jason Eckhardt  <jle@rice.edu>
2085130561Sobrien
2086130561Sobrien	* config/tc-i860.c (MAX_FIXUPS): Define.
2087130561Sobrien	(struct i860_fi fi[]): New struct.
2088130561Sobrien	(struct i860_it the_insn): Add above as member and move fields
2089130561Sobrien	exp, reloc, pcrel and fup into i860_fi.
2090130561Sobrien	(md_assemble): Replace all instances of exp, reloc, pcrel
2091130561Sobrien	and fup with fi[].exp, fi[].reloc, fi[].pcrel, fi[].fup.
2092130561Sobrien	Add a loop to possibly emit multiple fix-ups for each insn.
2093130561Sobrien	(i860_process_insn): Likewise.
2094130561Sobrien	(i860_get_expression): Likewise.
2095130561Sobrien	(md_apply_fix3): Use a bitwise check for OP_IMM_U5, not equality.
2096130561Sobrien
2097130561Sobrien2003-05-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2098130561Sobrien
2099130561Sobrien	* config/tc-s390.c (s390_target_format): Always call init_default_arch.
2100130561Sobrien
2101130561Sobrien2003-05-07  H.J. Lu <hongjiu.lu@intel.com>
2102130561Sobrien
2103130561Sobrien	* config/tc-ia64.c (alias_hash): New.
2104130561Sobrien	(alias_name_hash): New.
2105130561Sobrien	(secalias_hash): New.
2106130561Sobrien	(secalias_name_hash): New.
2107130561Sobrien	(md_pseudo_table): Add "secalias".
2108130561Sobrien	(md_begin): Initialize alias_hash, alias_name_hash,
2109130561Sobrien	secalias_hash and secalias_name_hash.
2110130561Sobrien	(struct alias): New.
2111130561Sobrien	(dot_alias): Implement .alias and .secalias directives.
2112130561Sobrien	(do_alias): New.
2113130561Sobrien	(ia64_adjust_symtab): New.
2114130561Sobrien	(do_secalias): New.
2115130561Sobrien	(ia64_frob_file): New.
2116130561Sobrien
2117130561Sobrien	* config/tc-ia64.h (ia64_adjust_symtab): New.
2118130561Sobrien	(tc_adjust_symtab): Defined.
2119130561Sobrien	(ia64_frob_file): New.
2120130561Sobrien	(tc_frob_file): Defined.
2121130561Sobrien
2122130561Sobrien2003-05-07  Dmitry Diky  <diwil@mail.ru>
2123130561Sobrien
2124130561Sobrien	* tc-msp430.c: Add missing lines to known cpus list.
2125130561Sobrien
2126130561Sobrien2003-05-06  Alexandre Oliva  <aoliva@redhat.com>
2127130561Sobrien
2128130561Sobrien	* configure.in (MIPS_DEFAULT_ABI): AC_DEFINE.
2129130561Sobrien	* config/tc-mips.c (mips_after_parse_args): Set mips_abi to it.
2130130561Sobrien	* config.in, configure: Rebuilt.
2131130561Sobrien
2132130561Sobrien2003-05-05  H.J. Lu <hjl@gnu.org>
2133130561Sobrien
2134130561Sobrien	* config/tc-mips.c (tc_gen_reloc): Add addend just once if
2135130561Sobrien	howto->partial_inplace is false.
2136130561Sobrien
2137130561Sobrien2003-05-05  Daniel Jacobowitz  <drow@mvista.com>
2138130561Sobrien
2139130561Sobrien	* config/tc-mips.c (mips_need_elf_addend_fixup): Remove
2140130561Sobrien	symbol_used_in_reloc_p check.
2141130561Sobrien	(md_apply_fix3): Remove check for howto->pcrel_offset.
2142130561Sobrien
2143130561Sobrien2003-05-03  H.J. Lu <hjl@gnu.org>
2144130561Sobrien
2145130561Sobrien	* config/obj-elf.c (obj_elf_parse_section_letters): Make it a
2146130561Sobrien	fatal error for unknown section attribute.
2147130561Sobrien
2148130561Sobrien	* config/tc-alpha.c (alpha_elf_section_letter): Return -1 for
2149130561Sobrien	unknown section attribute.
2150130561Sobrien	* config/tc-ia64.c (ia64_elf_section_letter): Likewise.
2151130561Sobrien	* config/tc-ppc.c (ppc_section_letter): Likewise.
2152130561Sobrien
2153130561Sobrien	* config/tc-ia64.c (ia64_elf_section_letter): Handle 'o'.
2154130561Sobrien	(ia64_elf_section_type): Accept "unwind".
2155130561Sobrien
2156130561Sobrien2003-05-02  H.J. Lu <hjl@gnu.org>
2157130561Sobrien
2158130561Sobrien	* read.h (demand_copy_string): New.
2159130561Sobrien
2160130561Sobrien	* config/tc-alpha.c (demand_copy_string): Removed.
2161130561Sobrien
2162130561Sobrien2003-05-02  Michael Snyder  <msnyder@redhat.com>
2163130561Sobrien
2164130561Sobrien	* write.h (FAKE_LABEL_NAME): Allow override
2165130561Sobrien	(for targets that like eg. a leading dot in a local label).
2166130561Sobrien
2167130561Sobrien2003-05-02  Nick Clifton  <nickc@redhat.com>
2168130561Sobrien
2169130561Sobrien	* config/tc-xstormy16.c (xstormy16_md_apply_fix3): Do not bias the
2170130561Sobrien	addend with the symbol's value for pc-relative relocations against
2171130561Sobrien	a defined symbol - this will be done automatically.
2172130561Sobrien
2173130561Sobrien2003-05-01  H.J. Lu <hjl@gnu.org>
2174130561Sobrien
2175130561Sobrien	* config/obj-elf.c (obj_elf_type): Accept "notype" and
2176130561Sobrien	"STT_NOTYPE".
2177130561Sobrien
2178130561Sobrien2003-05-01  H.J. Lu <hjl@gnu.org>
2179130561Sobrien
2180130561Sobrien	* config/tc-ia64.h (tc_canonicalize_section_name): New.
2181130561Sobrien
2182130561Sobrien	* config/obj-elf.c (obj_elf_section_name): Call
2183130561Sobrien	tc_canonicalize_section_name if it is defined.
2184130561Sobrien
2185130561Sobrien2003-05-01  H.J. Lu <hjl@gnu.org>
2186130561Sobrien
2187130561Sobrien	* config/tc-ia64.c (ia64_check_label): New.
2188130561Sobrien	* config/tc-ia64.h (tc_check_label): New.
2189130561Sobrien
2190130561Sobrien	* read.c (read_a_source_file): Call tc_check_label after
2191130561Sobrien	creating a user-defined label if defined.
2192130561Sobrien
2193130561Sobrien2003-05-02  Alan Modra  <amodra@bigpond.net.au>
2194130561Sobrien
2195130561Sobrien	* config/tc-ppc.c (md_show_usage): Mention -a32, -a64, -l, -le, -b,
2196130561Sobrien	-be and split strings to below 509 bytes in length.
2197130561Sobrien
2198130561Sobrien2003-05-01  Christian Groessler <chris@groessler.org>
2199130561Sobrien
2200130561Sobrien	* expr.h: Fix comments in operatorT typedef.
2201130561Sobrien	* config/tc-z8k.c: Add 2003 to copyright message.
2202130561Sobrien	Fold s_segm() and s_unseg() into one function s_segm(parm) which
2203130561Sobrien	decides by the parameter.
2204130561Sobrien	(md_begin): Don't set linkrelax.  Only set Z8002 default if no
2205130561Sobrien	command line argument was given to select the intended
2206130561Sobrien	architecure.
2207130561Sobrien	(get_interrupt_operand): Warn if NOP type code is emitted.
2208130561Sobrien	(newfix): New parameter 'size', forward it to 'fix_new_exp'.
2209130561Sobrien	(apply_fix): Call newfix with additional 'size' parameter.
2210130561Sobrien	(build_bytes): Remove unused variable 'nib'.  Detect overflow in
2211130561Sobrien	4 bit immediate arguments.
2212130561Sobrien	(md_longopts): Add 'linkrelax' option.
2213130561Sobrien	(md_parse_option): Adapt to new s_segm function.  Set 'linkrelax'
2214130561Sobrien	variable when 'linkrelax' command line option is specified.
2215130561Sobrien	(md_show_usage): Display 'linkrelax' option.
2216130561Sobrien	(md_apply_fix3): Fix cases R_IMM4L, R_JR, and R_IMM8.  Add cases
2217130561Sobrien	R_CALLR and R_REL16.
2218130561Sobrien	* config/tc-z8k.h: Undef WARN_SIGNED_OVERFLOW_WORD.
2219130561Sobrien
2220130561Sobrien2003-04-30  H.J. Lu <hjl@gnu.org>
2221130561Sobrien
2222130561Sobrien	* config/tc-ia64.c (ia64_number_to_chars): New function pointer.
2223130561Sobrien	(ia64_float_to_chars): Likewise.
2224130561Sobrien	(dot_byteorder): Set target_big_endian, ia64_number_to_chars
2225130561Sobrien	and ia64_float_to_chars by tc_segment_info_data.endian from
2226130561Sobrien	the current segment if byteorder == -1.
2227130561Sobrien	(md_begin): Call dot_byteorder to set target_big_endian.
2228130561Sobrien	(md_atof): Call ia64_float_to_chars to convert floating point.
2229130561Sobrien	(ia64_float_to_chars_bigendian): New function.
2230130561Sobrien	(ia64_float_to_chars_littleendian): Likewise.
2231130561Sobrien	(ia64_elf_section_change_hook): Likewise.
2232130561Sobrien
2233130561Sobrien	* config/tc-ia64.h (ia64_number_to_chars): New.
2234130561Sobrien	(md_number_to_chars): Changed to (*ia64_number_to_chars)
2235130561Sobrien	(ia64_elf_section_change_hook): New.
2236130561Sobrien	(md_elf_section_change_hook): Defined.
2237130561Sobrien	(ia64_segment_info_type): New struct.
2238130561Sobrien	(TC_SEGMENT_INFO_TYPE): Defined.
2239130561Sobrien
2240130561Sobrien2003-04-30  H.J. Lu <hjl@gnu.org>
2241130561Sobrien
2242130561Sobrien	* config/tc-ia64.c (md_section_align): Deleted.
2243130561Sobrien
2244130561Sobrien	* config/tc-ia64.h (SUB_SEGMENT_ALIGN): New.
2245130561Sobrien	(md_section_align): New.
2246130561Sobrien
2247130561Sobrien2003-04-30  H.J. Lu <hjl@gnu.org>
2248130561Sobrien
2249130561Sobrien	* config/tc-ia64.c (stmt_float_cons): Fix alignment for real10
2250130561Sobrien	and add real16.
2251130561Sobrien	(md_pseudo_table): Add "xreal16", "xreal16.ua", "real16" and
2252130561Sobrien	"real16.ua".
2253130561Sobrien	(md_atof): Add 6 byte padding of zero for real16.
2254130561Sobrien
2255130561Sobrien2003-04-29  Nick Clifton  <nickc@redhat.com>
2256130561Sobrien
2257130561Sobrien	* config/obj-elf.c (obj_elf_symver): Skip whitespace before the
2258130561Sobrien	start of a version name.
2259130561Sobrien
2260130561Sobrien2003-04-28  Chris Demetriou  <cgd@broadcom.com>
2261130561Sobrien
2262130561Sobrien	* configure.in (mips-*-*n*bsd*): Replace with...
2263130561Sobrien	(mips-*-netbsd*, mips-*-openbsd*): These.
2264130561Sobrien	* configure: Regenerate.
2265130561Sobrien
2266130561Sobrien2003-04-28  H.J. Lu <hjl@gnu.org>
2267130561Sobrien
2268130561Sobrien	* config/tc-hppa.c (hppa_symbol_chars): New.
2269130561Sobrien	* config/tc-hppa.h (tc_symbol_chars): Likewise.
2270130561Sobrien
2271130561Sobrien2003-04-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2272130561Sobrien
2273130561Sobrien	* config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define again.
2274130561Sobrien
2275130561Sobrien2003-04-25  Chris Demetriou  <cgd@broadcom.com>
2276130561Sobrien
2277130561Sobrien	* NEWS: Belatedly mention support for MIPS32 Release 2.
2278130561Sobrien
2279130561Sobrien2003-04-24  Eric Christopher  <echristo@redhat.com>
2280130561Sobrien
2281130561Sobrien	* config/tc-mips.c (nopic_need_relax): Revert previous
2282130561Sobrien	change.
2283130561Sobrien
2284130561Sobrien2003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
2285130561Sobrien
2286130561Sobrien	* config/tc-h8300.h (DWARF2_LINE_MIN_INSN_LENGTH): New
2287130561Sobrien	* config/tc-h8300.c (dwarf2dbg.h): Include
2288130561Sobrien	(md_pseudo_table): Handle .loc and .file
2289130561Sobrien	(md_assemble): Call dwarf2_emit_insn if BFD_ASSEMBLER.
2290130561Sobrien	* Makefile.am: Add dependency on dwarf2dbg.h for h8300 targets.
2291130561Sobrien	* Makefile.in: Regenerate.
2292130561Sobrien
2293130561Sobrien2003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
2294130561Sobrien
2295130561Sobrien	* config/tc-h8300.c (Nmode, h8300hnmode, h8300snmode): New.
2296130561Sobrien	(md_pseudo_table): Add h8300hn, h8300sn.
2297130561Sobrien	* config/tc-h8300.h (COFF_MAGIC): Handle h8300hn, h8300sn.
2298130561Sobrien	* doc/c-h8300.texi : Add documentation for new machine directives.
2299130561Sobrien
2300130561Sobrien2003-04-24  Nick Clifton  <nickc@redhat.com>
2301130561Sobrien
2302130561Sobrien	* config/tc-ppc.c (ppc_symbol_chars): Define.
2303130561Sobrien	* config/tc-ppc.h (tc_symbol_chars): Define.
2304130561Sobrien
2305130561Sobrien2003-04-23  J"orn Rennecke <joern.rennecke@superh.com>
2306130561Sobrien
2307130561Sobrien	* config/tc-sh.c: Amend comment to refer to SuperH.
2308130561Sobrien	* config/tc-sh.h: Likewise.
2309130561Sobrien	(LISTING_HEADER): Amend to refer to SuperH.
2310130561Sobrien	* config/tc-sh64.c: Change comment to refer to SuperH.
2311130561Sobrien	* config/tc-sh64.h (LISTING_HEADER): Change to refer to SuperH.
2312130561Sobrien	* doc/as.texinfo [SH, GENERIC]: Amend / Change to refer to SuperH.
2313130561Sobrien	* doc/c-sh.texi: Amend to refer to SuperH.
2314130561Sobrien	Add SuperH architecture documentation references.
2315130561Sobrien	* doc/c-sh64.texi: Change to refer to SuperH.
2316130561Sobrien
2317130561Sobrien2003-04-23  H.J. Lu <hjl@gnu.org>
2318130561Sobrien
2319130561Sobrien	* app.c (do_scrub_chars): More checks for valid labels.
2320130561Sobrien
2321130561Sobrien2003-04-22  H.J. Lu <hjl@gnu.org>
2322130561Sobrien
2323130561Sobrien	* app.c (do_scrub_chars): Check for valid label.
2324130561Sobrien
2325130561Sobrien2003-04-22  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
2326130561Sobrien
2327130561Sobrien	* doc/as.texinfo: Replace references to Mitsubishi M32R with
2328130561Sobrien	references to Renesas M32R.
2329130561Sobrien	* doc/c-m32r.texi: Likewise.
2330130561Sobrien
2331130561Sobrien2003-04-21  Richard Henderson  <rth@redhat.com>
2332130561Sobrien
2333130561Sobrien	* dwarf2dbg.c (get_filenum): Skip as-yet unassigned file numbers.
2334130561Sobrien	(out_file_list): Assign non-null filename after generating error.
2335130561Sobrien
2336130561Sobrien2003-04-18  Jakub Jelinek  <jakub@redhat.com>
2337130561Sobrien
2338130561Sobrien	* ehopt.c (check_eh_frame): For aug_size == 0
2339130561Sobrien	in state_seeing_aug_size state skip the state_skipping_aug
2340130561Sobrien	state.
2341130561Sobrien
2342130561Sobrien2003-04-15  Rohit Kumar Srivastava <rohits@kpitcummins.com>
2343130561Sobrien
2344130561Sobrien	* doc/c-h8300.texi: Replace occurrances of 'Hitachi' with
2345130561Sobrien	'Renesas'.
2346130561Sobrien	* doc/c-h8500.texi: Likewise.
2347130561Sobrien	* doc/c-sh.texi: Likewise.
2348130561Sobrien	* doc/c-sh64.texi: Likewise.
2349130561Sobrien	* doc/h8.texi: Likewise.
2350130561Sobrien	* config/tc-h8300.c: Likewise.
2351130561Sobrien	* config/tc-h8300.h: Likewise.
2352130561Sobrien	* config/tc-h8500.c: Likewise.
2353130561Sobrien	* config/tc-h8500.h: Likewise.
2354130561Sobrien	* config/tc-sh.c: Likewise.
2355130561Sobrien	* config/tc-sh.h: Likewise.
2356130561Sobrien	* config/tc-sh64.c: Likewise.
2357130561Sobrien	* config/tc-sh64.h: Likewise.
2358130561Sobrien
2359130561Sobrien2003-04-10  Alexandre Oliva  <aoliva@redhat.com>
2360130561Sobrien
2361130561Sobrien	* config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): New.
2362130561Sobrien	* config/tc-mips.c: Use signed add for n32 address arithmetic.
2363130561Sobrien	(append_insn): When filling delay slots with instructions
2364130561Sobrien	that have fixups that tc_gen_reloc might consider modifyable
2365130561Sobrien	in variant frags, start a new frag.
2366130561Sobrien	(load_address): Generate GOT_DISP with of without offset
2367130561Sobrien	depending on whether symbol is local.  For -xgot, use
2368130561Sobrien	GOT_PAGE/GOT_OFST or GOT_HI16/GOT_LO16.
2369130561Sobrien	(macro) <M_DLA_AB, M_LA_AB>: Likewise.
2370130561Sobrien	<M_JAL_A>: In NewABI, use CALL16 or GOT_DISP for small got,
2371130561Sobrien	CALL_HI16/CALL_LO16 or GOT_PAGE/GOT_OFST for big got.
2372130561Sobrien	<ld_st>: In NewABI with small got, always use
2373130561Sobrien	GOT_PAGE/GOT_OFST, with the latter in the load/store
2374130561Sobrien	instruction.  With big got, use GOT_HI16/GOT_LO16 or
2375130561Sobrien	GOT_PAGE/GOT_OFST.
2376130561Sobrien	(tc_gen_reloc): Adjust variant frags with GOT_DISP in NewABI.
2377130561Sobrien	Add tc_frag_data.tc_fr_offset to addends.  Decay CALL16,
2378130561Sobrien	GOT_OFST and GOT_DISP to GOT_DISP in NewABI.
2379130561Sobrien	(md_convert_frag): Use memmove for safe copying of overlapping
2380130561Sobrien	regions.
2381130561Sobrien
2382130561Sobrien2003-04-09  Stephane Carrez  <stcarrez@nerim.fr>
2383130561Sobrien
2384130561Sobrien	* doc/c-m68hc11.texi (M68HC11-Opts): Document -m68hcs12, -mshort,
2385130561Sobrien	-mlong, -mshort-double and -mlong-double options; use table @code.
2386130561Sobrien	(M68HC11-Syntax): Update to document 68HC12 operands.
2387130561Sobrien	(M68HC11-Modifiers): New section for operand modifiers.
2388130561Sobrien	(M68HC11-Directives): New section for specific assembler directives.
2389130561Sobrien	(M68HC11-Branch): Fix Overfull hbox error.
2390130561Sobrien
2391130561Sobrien2003-04-09  Alexandre Oliva  <aoliva@redhat.com>
2392130561Sobrien
2393130561Sobrien	* config/tc-mips.c (macro): Add comments explaining the rationale
2394130561Sobrien	for Chris' change.
2395130561Sobrien
2396130561Sobrien2003-04-09  Chris Demetriou  <cgd@broadcom.com>
2397130561Sobrien
2398130561Sobrien	* config/tc-mips.c (macro): Put back `+ 0x8000' in test for 64-bit
2399130561Sobrien	constant address that Alexandre took out by accident.  Reject
2400130561Sobrien	64-bit addresses that are not sign extensions of 32 bits only if
2401130561Sobrien	we don't support 64-bit address constants.
2402130561Sobrien
2403130561Sobrien2003-04-09  Alan Modra  <amodra@bigpond.net.au>
2404130561Sobrien
2405130561Sobrien	* config/tc-ppc.c (md_apply_fix3): Generate ADDR16 relocs.
2406130561Sobrien
2407130561Sobrien2003-04-08  Nick Clifton  <nickc@redhat.com>
2408130561Sobrien
2409130561Sobrien	* as.c (perform_an_assembly_pass): If using cgen, call
2410130561Sobrien	gas_cgen_begin.
2411130561Sobrien	* cgen.c (gas_cgen_begin): New function.  If
2412130561Sobrien	flag_signed_overflow_ok is set call cgen_set_signed_overflow_ok
2413130561Sobrien	otherwise call cgen_clear_signed_overflow_ok.
2414130561Sobrien	* cgen.h: Prototype gas_cgen_begin.
2415130561Sobrien
2416130561Sobrien2003-04-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2417130561Sobrien
2418130561Sobrien	* write.c (write_relocs): Remove unused variable.
2419130561Sobrien
2420130561Sobrien2003-04-06  Chris Demetriou  <cgd@broadcom.com>
2421130561Sobrien
2422130561Sobrien	* config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): New.
2423130561Sobrien	(macro): Use new macro to decide whether to emit constant address
2424130561Sobrien	as 32 or 64 bits if addresses are 32-bit wide but registers are
2425130561Sobrien	64-bit wide.
2426130561Sobrien
2427130561Sobrien2003-04-05  Stephane Carrez  <stcarrez@nerim.fr>
2428130561Sobrien
2429130561Sobrien	* config/tc-m68hc11.c (M6811_OP_CALL_ADDR): New internal define.
2430130561Sobrien	(M6811_OP_PAGE_ADDR): New internal define.
2431130561Sobrien	(get_operand): New modifier %page and %addr to obtain page and
2432130561Sobrien	address part of a far-function.
2433130561Sobrien	(fixup8): Use BFD_RELOC_M68HC11_PAGE for a %page modifier; don't
2434130561Sobrien	complain on overflow for the BFD_RELOC_M68HC11_PAGE and truncation
2435130561Sobrien	relocs.
2436130561Sobrien	(fixup16): Use BFD_RELOC_M68HC11_LO16 for a %addr modifier.
2437130561Sobrien	(find_opcode): Add comment.
2438130561Sobrien	(md_estimate_size_before_relax): Force relocation of
2439130561Sobrien	STATE_UNDEXED_OFFSET types when the symbol is not absolute.
2440130561Sobrien	(tc_m68hc11_fix_adjustable): Check for BFD_RELOC_M68HC11_LO16
2441130561Sobrien	instead of BFD_RELOC_LO16; temporarily make the BFD_RELOC_32
2442130561Sobrien	on the symbol itself so that DWARF2 strings are merged correctly.
2443130561Sobrien
2444130561Sobrien2003-04-04  Svein E. Seldal  <Svein.Seldal@solidas.com>
2445130561Sobrien
2446130561Sobrien	* config/obj-coff.h (TARGET_FORMAT): Namespace cleanup, changed
2447130561Sobrien	default tic4x target format to 'coff2-tic4x'.
2448130561Sobrien	* config/tc-tic4x.c: Namespace cleanup. Replace s/c4x/tic4x/ and
2449130561Sobrien	s/c3x/tic3x/
2450130561Sobrien	* config/tc-tic4x.h: Ditto
2451130561Sobrien
2452130561Sobrien2003-04-03  Nick Clifton  <nickc@redhat.com>
2453130561Sobrien
2454130561Sobrien	* NEWS: Mention support for Xtensa architecture.
2455130561Sobrien
2456130561Sobrien2003-04-02  Philip Blundell  <philb@gnu.org>
2457130561Sobrien
2458130561Sobrien	* config/tc-arm.c (arm_force_relocation): Return 0 for OFFSET_IMM.
2459130561Sobrien
2460130561Sobrien2003-04-02  Chris Demetriou  <cgd@broadcom.com>
2461130561Sobrien
2462130561Sobrien	* config/tc-mips.c (macro2): Adjust implementation of
2463130561Sobrien	M_ULH, M_ULHU, M_ULW, and M_ULD so that they work properly
2464130561Sobrien	in the case where the source and destination registers
2465130561Sobrien	are the same.
2466130561Sobrien
2467130561Sobrien2003-04-01  Bob Wilson  <bob.wilson@acm.org>
2468130561Sobrien
2469130561Sobrien	* Makefile.am (CPU_TYPES): Add xtensa.
2470130561Sobrien	(TARGET_CPU_CFILES): Add config/tc-xtensa.c.
2471130561Sobrien	(TARGET_CPU_HFILES): Add config/tc-xtensa.h.
2472130561Sobrien	(xtensa-relax.o): New target.
2473130561Sobrien	Run "make dep-am".
2474130561Sobrien	* Makefile.in: Regenerate.
2475130561Sobrien	* configure.in: Handle xtensa-*-*.  Add xtensa-relax.o to
2476130561Sobrien	extra_objects for xtensa targets.
2477130561Sobrien	* configure: Regenerate.
2478130561Sobrien	* write.c (write_object_file): Add new md_post_relax_hook.
2479130561Sobrien	* config/tc-xtensa.c: New file.
2480130561Sobrien	* config/tc-xtensa.h: Likewise.
2481130561Sobrien	* config/xtensa-istack.h: Likewise.
2482130561Sobrien	* config/xtensa-relax.c: Likewise.
2483130561Sobrien	* config/xtensa-relax.h: Likewise.
2484130561Sobrien	* doc/Makefile.am (CPU_DOCS): Add c-xtensa.texi.
2485130561Sobrien	* doc/Makefile.in: Regenerate.
2486130561Sobrien	* doc/all.texi: Set new XTENSA variable.
2487130561Sobrien	* doc/as.texinfo: Set new Xtensa variable.  Describe
2488130561Sobrien	Xtensa-specific options.  Define line comment character for
2489130561Sobrien	Xtensa.  Add Xtensa processors to list of ELF targets where
2490130561Sobrien	alignment is specified in bytes.  Add new Xtensa-Dependent node.
2491130561Sobrien	Add acknowledgements for those contributing to the Xtensa port.
2492130561Sobrien	* doc/internals.texi: Describe new md_post_relax_hook.
2493130561Sobrien	* doc/c-xtensa.texi: New file.
2494130561Sobrien
2495130561Sobrien2003-04-01  Nick Clifton  <nickc@redhat.com>
2496130561Sobrien	    Richard Earnshaw  <rearnsha@arm.com>
2497130561Sobrien
2498130561Sobrien	* config/tc-arm.c: Remove presence of (r) and (tm) symbols.
2499130561Sobrien	(ARM_ARCH_IWMMXT): Simplify.
2500130561Sobrien	(insns): Place iwmmx instructions in correct place in table.
2501130561Sobrien	(arm_add_note): New function: Add a note entry to a .note section.
2502130561Sobrien	(md_begin): Make the default architecture be unknown.
2503130561Sobrien	Suppress the creation of an arm note section.
2504130561Sobrien
2505130561Sobrien2003-03-26  Eric Christopher  <echristo@redhat.com>
2506130561Sobrien
2507130561Sobrien	* config/tc-mips.c (nopic_need_relax): Check for S_IS_EXTERN.
2508130561Sobrien
2509130561Sobrien2003-03-25  Stan Cox   <scox@redhat.com>
2510130561Sobrien	    Nick Clifton  <nickc@redhat.com>
2511130561Sobrien
2512130561Sobrien	Contribute support for Intel's iWMMXt chip - an ARM variant:
2513130561Sobrien
2514130561Sobrien	* config/tc-arm.c: (ARM_CEXT_IWMMXT, ARM_ARCH_IWMMXT, WR_PREFIX,
2515130561Sobrien	WC_PREFIX, REG_TYPE_IWMMXT): New constants.
2516130561Sobrien	(enum wreg_type, enum iwmmxt_insn_type): New types.
2517130561Sobrien	(wr_register, wc_register, wcg_register): New macros.
2518130561Sobrien	(iwmmxt_table): New variable.
2519130561Sobrien	(wreg_required_here, do_iwmmxt_byte_addr, do_iwmmxt_tandc,
2520130561Sobrien	do_iwmmxt_tbcst, do_iwmmxt_textrc, do_iwmmxt_textrm,
2521130561Sobrien	do_iwmmxt_tinsr, do_iwmmxt_tmcr, do_iwmmxt_tmcrr, do_iwmmxt_tmia,
2522130561Sobrien	do_iwmmxt_tmovmsk, do_iwmmxt_tmrc, do_iwmmxt_tmrrc,
2523130561Sobrien	do_iwmmxt_torc, do_iwmmxt_waligni, do_iwmmxt_wmov,
2524130561Sobrien	do_iwmmxt_word_addr, do_iwmmxt_wrwr, do_iwmmxt_wrwrwcg,
2525130561Sobrien	do_iwmmxt_wrwrwr, do_iwmmxt_wshufh, do_iwmmxt_wzero,
2526130561Sobrien	cp_byte_address_offset, cp_byte_address_required_here,
2527130561Sobrien	check_iwmmxt_insn): New	functions.
2528130561Sobrien	(asm_opcode_insns): Add iWMMXt instructions.
2529130561Sobrien	(md_begin): Set the mach value for iWMMXt targets.  Create a note
2530130561Sobrien	section to identify iwmmxt binaries.
2531130561Sobrien	(md_apply_fix3): Handle BFD_RELOC_ARM_CP_OFF_IMM_S2.
2532130561Sobrien	* doc/c-arm.texi: Document the support for the iWMMXt.
2533130561Sobrien	* NEWS: Mention new support.
2534130561Sobrien
2535130561Sobrien2003-03-24  Daniel N�ri  <dne@mayonnaise.net>
2536130561Sobrien
2537130561Sobrien	* doc/as.texinfo: Rename the all occurances of C54X to TIC54X.
2538130561Sobrien	* doc/all.texi: Likewise.
2539130561Sobrien	* doc/c-tic54x.texi: Likewise.
2540130561Sobrien
2541130561Sobrien2003-03-21  Andreas Schwab  <schwab@suse.de>
2542130561Sobrien
2543130561Sobrien	* config/tc-ia64.c (generate_unwind_image): Fix type of unw_rec to
2544130561Sobrien	avoid aliasing issue.
2545130561Sobrien
2546130561Sobrien2003-03-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2547130561Sobrien
2548130561Sobrien	* config/tc-s390.c (s390_arch_size): Initialize to zero.
2549130561Sobrien	(current_arch_mask): Rename to current_mode_mask.
2550130561Sobrien	(current_arch_requested): Remove variable.
2551130561Sobrien	(current_cpu): New variable.
2552130561Sobrien	(init_default_arch): Set defaults values for s390_arch_size,
2553130561Sobrien	current_mode_mask and current_cpu.
2554130561Sobrien	(md_parse_option): New options -mesa, -mzarch and -march={g5,g6,z900}.
2555130561Sobrien	(md_begin): Replace current_arch_mask by current_cpu.
2556130561Sobrien	(md_assemble): Adapt check and error message to current_mode_mask and
2557130561Sobrien	current_cpu.
2558130561Sobrien
2559130561Sobrien2003-03-09  James E Wilson  <wilson@tuliptree.org>
2560130561Sobrien
2561130561Sobrien	* macro.c (buffer_and_nest): Store more to sb instead of '\n'.
2562130561Sobrien	* read.c (get_line_sb): Return end of line character or '\n' if
2563130561Sobrien	it is zero or non-existent.
2564130561Sobrien
2565130561Sobrien2003-03-12  Alexandre Oliva  <aoliva@redhat.com>
2566130561Sobrien
2567130561Sobrien	* config/tc-mips.c (mips_validate_fix): New function.
2568130561Sobrien	* config/tc-mips.h (TC_VALIDATE_FIX): Define.
2569130561Sobrien	(mips_validate_fix): Declare.
2570130561Sobrien
2571130561Sobrien2003-03-12  Alexandre Oliva  <aoliva@redhat.com>
2572130561Sobrien
2573130561Sobrien	* Reverted 2003-03-02's patch.
2574130561Sobrien
2575130561Sobrien2003-03-11  Steve Ellcey  <sje@cup.hp.com>
2576130561Sobrien
2577130561Sobrien	* dwarf2dbg.c (generic_dwarf2_emit_offset): New.
2578130561Sobrien	(TC_DWARF2_EMIT_OFFSET): Provide default.
2579130561Sobrien	(out_debug_aranges, out_debug_info): Use it.
2580130561Sobrien	* config/tc-ia64.c (ia64_dwarf2_emit_offset): New.
2581130561Sobrien	(ia64_cons_fix_new): Move FUNC_DTP_RELATIVE handling ...
2582130561Sobrien	(ia64_gen_real_reloc_type): ... here.
2583130561Sobrien	* config/tc-ia64.h (TC_DWARF2_EMIT_OFFSET): New.
2584130561Sobrien
2585130561Sobrien2003-03-09  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2586130561Sobrien
2587130561Sobrien	* config/tc-mips.c (s_mips_end): Remove !BFD_ASSEMBLER case.
2588130561Sobrien	(s_mips_ent): Likewise.
2589130561Sobrien
2590130561Sobrien2003-03-04  Dmitry Diky  <diwil@mail.ru>
2591130561Sobrien
2592130561Sobrien	* config/tc-msp430.c (mcu_types): Add recently announced x1122
2593130561Sobrien	and x1123 devices, add missed x437.
2594130561Sobrien	(md_show_usage): Sort device list.
2595130561Sobrien
2596130561Sobrien2003-03-03  J"orn Rennecke <joern.rennecke@superh.com>
2597130561Sobrien
2598130561Sobrien	* config/tc-sh.c (sh_dsp): Replace with preset_target_arch.
2599130561Sobrien	(md_begin): Use preset_target_arch.
2600130561Sobrien	(md_longopts): Make isa option unconditional.
2601130561Sobrien	(md_parse_option): Make OPTION_DSP and OPTION_ISA sh4 / any
2602130561Sobrien	set preset_target_arch.
2603130561Sobrien	(md_apply_fix3): If BFD_ASSEMBLER, adjust SWITCH_TABLE fixups
2604130561Sobrien	by -S_GET_VALUE  (fixP->fx_subsy).
2605130561Sobrien	(tc_gen_reloc): For SWITCH_TABLE fixups, the symbol is fixp->fx_subsy,
2606130561Sobrien	and the addend is 0.
2607130561Sobrien	Adjust addend of R_SH_IND12W relocations by fixp->fx_offset - 4.
2608130561Sobrien	* config/tc-sh.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
2609130561Sobrien
2610130561Sobrien2003-03-02  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2611130561Sobrien
2612130561Sobrien	* config/tc-mips.c (append_insn): Add handling of
2613130561Sobrien	BFD_RELOC_MIPSEMB_16_PCREL_S2. Avoid emitting unneeded
2614130561Sobrien	BFD_RELOC_16_PCREL_S2 relocs and add earlier warnings about
2615130561Sobrien	misaligned address and reange overflow.
2616130561Sobrien	(macro_build): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. Add
2617130561Sobrien	earlier warnings about misaligned address and reange overflow.
2618130561Sobrien	(mips_ip): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2.
2619130561Sobrien	(md_apply_fix): Likewise. Fix warning output.
2620130561Sobrien	(tc_gen_reloc): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2.
2621130561Sobrien	Allow BFD_RELOC_16_PCREL_S2 for all ABIs.
2622130561Sobrien	(md_convert_frag): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2.
2623130561Sobrien
2624130561Sobrien2003-02-21  Nick Clifton  <nickc@redhat.com>
2625130561Sobrien
2626130561Sobrien	* NEWS: Mention availability of test generator program.
2627130561Sobrien
2628130561Sobrien2003-02-21  Miles Bader  <miles@gnu.org>
2629130561Sobrien
2630130561Sobrien	* config/tc-v850.c (system_registers): Add v850e debug registers.
2631130561Sobrien	(system_register_name): Accept up to 27 (the last v850e sys register).
2632130561Sobrien
2633130561Sobrien2003-02-21  Bob Wilson  <bob.wilson@acm.org>
2634130561Sobrien
2635130561Sobrien	* doc/as.texinfo: Define new COFF-ELF variable to conditionalize text
2636130561Sobrien	relevant to both COFF and ELF.  Fix obvious typos and texinfo bugs.
2637130561Sobrien	Capitalize section headings consistently.  Format index entries more
2638130561Sobrien	consistently.  Unconditionalize text about whether text and data
2639130561Sobrien	sections are alterable.  Use @ifnottex for alternatives to @tex output
2640130561Sobrien	so that HTML works.  Clean up COFF vs. ELF descriptions of .section,
2641130561Sobrien	.size and .type directives.  Be more polite about bad bug reports.
2642130561Sobrien	Move FDL into a separate file.
2643130561Sobrien	* doc/fdl.texi: New file.
2644130561Sobrien
2645130561Sobrien2003-02-21  Richard Sandiford  <rsandifo@redhat.com>
2646130561Sobrien
2647130561Sobrien	* config/tc-mips.c (prev_reloc_op_frag): New variable.
2648130561Sobrien	(macro): Check it to decide whether a new frag is needed.
2649130561Sobrien	(my_getSmallExpression): Set it.
2650130561Sobrien
2651130561Sobrien2003-02-20  jmc  <jmc@prioris.mini.pw.edu.pl>
2652130561Sobrien
2653130561Sobrien	* cgen.c: Fix typo: intial -> initial.
2654130561Sobrien
2655130561Sobrien2003-02-19  Jie Zhang  <zhangjie@magima.com.cn>
2656130561Sobrien
2657130561Sobrien	* app.c (do_scrub_chars): Handle '||' in two states.
2658130561Sobrien
2659130561Sobrien2003-02-13  Alan Modra  <amodra@bigpond.net.au>
2660130561Sobrien
2661130561Sobrien	* write.c (TC_FORCE_RELOCATION_SUB_SAME): Revert last change.
2662130561Sobrien	* config/tc-s390.h (TC_FORCE_RELOCATION_SUB_SAME): Define.
2663130561Sobrien
2664130561Sobrien2003-02-11  Uwe Stieber  <uwe@wwws.de>
2665130561Sobrien
2666130561Sobrien	* configure.in: Add support for kaOS as cross build target system.
2667130561Sobrien	* configure: Regenerated.
2668130561Sobrien
2669130561Sobrien2003-02-10  Nick Clifton  <nickc@redhat.com>
2670130561Sobrien
2671130561Sobrien	* config/tc-arm.c (md_begin): If the Maverick co-processor is
2672130561Sobrien	selected, set the EF_ARM_MAVERICK_FLOAT flag and
2673130561Sobrien	bfd_mach_arm_ep9312 machine number.
2674130561Sobrien
2675130561Sobrien2003-02-08  Richard Sandiford  <rsandifo@redhat.com>
2676130561Sobrien
2677130561Sobrien	* config/tc-mips.c (reloc_needs_lo_p): New function.
2678130561Sobrien	(fixup_has_matching_lo_p): New function.
2679130561Sobrien	(append_insn): Use reloc_needs_lo_p to check whether a relocation
2680130561Sobrien	might need a matching %lo().  Reuse the head of mips_hi_fixup_list
2681130561Sobrien	if that fixup already has a matching %lo().  Don't call frag_wane here.
2682130561Sobrien	(macro): Call frag_wane here if the last unmatched hi was in the
2683130561Sobrien	current frag.
2684130561Sobrien	(pic_need_relax): New function, split out from...
2685130561Sobrien	(md_estimate_size_before_relax): ...here.
2686130561Sobrien	(mips_frob_file): Use reloc_needs_lo_p.  Use pic_need_relax to test
2687130561Sobrien	whether BFD_RELOC_MIPS_GOT16 fixups refer to global symbols.
2688130561Sobrien
2689130561Sobrien2003-02-07  Richard Sandiford  <rsandifo@redhat.com>
2690130561Sobrien
2691130561Sobrien	* config/tc-mips.c (my_getSmallExpression): Rework bracket handling.
2692130561Sobrien
2693130561Sobrien2003-02-06  Alan Modra  <amodra@bigpond.net.au>
2694130561Sobrien
2695130561Sobrien	* config/tc-ppc.c (ppc_elf_suffix): Undo part of last change so that
2696130561Sobrien	x@toc+off works.
2697130561Sobrien
2698130561Sobrien2003-02-05  Alan Modra  <amodra@bigpond.net.au>
2699130561Sobrien
2700130561Sobrien	* config/tc-ppc.c (mapping): Handle new TLS reloc specs.
2701130561Sobrien	(ppc_elf_suffix): Don't warn for x+off@got when ppc64 and don't
2702130561Sobrien	accept x@got+off etc.
2703130561Sobrien	(md_assemble): Handle TLS relocs.
2704130561Sobrien	(ppc_force_relocation): Force for all TLS relocs.
2705130561Sobrien	(ppc_fix_adjustable): Likewise.
2706130561Sobrien	(md_apply_fix3): Handle TLS relocs.
2707130561Sobrien
2708130561Sobrien2003-02-04  Alan Modra  <amodra@bigpond.net.au>
2709130561Sobrien
2710130561Sobrien	* config/obj-elf.c (obj_elf_change_section): Set SEC_LINK_ONCE and
2711130561Sobrien	SEC_LINK_DUPLICATES_DISCARD directly rather than using elf_linkonce_p.
2712130561Sobrien
2713130561Sobrien2003-02-02  Richard Sandiford  <rsandifo@redhat.com>
2714130561Sobrien
2715130561Sobrien	* config/tc-mips.c (enum small_ex_type): Remove.
2716130561Sobrien	(imm_unmatched_hi): Remove.
2717130561Sobrien	(md_assemble): Remove use of imm_unmatched_hi.  Remove the last
2718130561Sobrien	argument from calls to append_insn.
2719130561Sobrien	(append_insn): Remove unmatched_hi parameter; check reloc_type[0]
2720130561Sobrien	instead.
2721130561Sobrien	(macro_build): Update append_insn calls.
2722130561Sobrien	(mips16_macro_build, macro_build_lui): Likewise.
2723130561Sobrien	(mips_ip): Rework handling of small expressions.  Move explicit
2724130561Sobrien	relocation handling into my_getSmallExpression.  Assume that the
2725130561Sobrien	value of 'o' operands is zero if there is only one bracketed
2726130561Sobrien	expression left.
2727130561Sobrien	(percent_op): Make constant.  Record the BFD relocation code
2728130561Sobrien	associated with each operator.
2729130561Sobrien	(my_getSmallParser, my_getPercentOp): Remove.
2730130561Sobrien	(parse_relocation): New function.
2731130561Sobrien	(my_getSamllExpression): Rework.  Fill in relocations here
2732130561Sobrien	rather than in mips_ip.
2733130561Sobrien
2734130561Sobrien2003-01-29  Nick Clifton  <nickc@redhat.com>
2735130561Sobrien
2736130561Sobrien	* config/tc-i386.c (line_comment_chars): Add '#'.  This makes the
2737130561Sobrien	assembler's handling of # <linenum> "<filename>" directives work.
2738130561Sobrien
2739130561Sobrien2003-01-28  Jakub Jelinek  <jakub@redhat.com>
2740130561Sobrien
2741130561Sobrien	* dwarf2dbg.c: Include filenames.h.
2742130561Sobrien	(struct file_entry): Make filename const char *.
2743130561Sobrien	(dirs, dirs_in_use, dirs_allocated): New variables.
2744130561Sobrien	(get_filenum): Add NUM argument.  Build directory table.
2745130561Sobrien	(dwarf2_where): Adjust caller.
2746130561Sobrien	(dwarf2_directive_file): Use get_filenum to allocate
2747130561Sobrien	slot in file and directory tables.
2748130561Sobrien	(dwarf2_directive_loc): Recreate full filename from
2749130561Sobrien	directory and filename part if needed for listing.
2750130561Sobrien	(out_file_list): Output directory table.
2751130561Sobrien	Output main source file dirname before its filename.
2752130561Sobrien
2753130561Sobrien2003-01-28    Dmitry Diky <diwil@mail.ru>
2754130561Sobrien
2755130561Sobrien	* config/tc-msp430.c: Replace occurences of 'tolower' with
2756130561Sobrien	'TOLOWER'.
2757130561Sobrien
2758130561Sobrien2003-01-27  David Mosberger  <davidm@hpl.hp.com>
2759130561Sobrien
2760130561Sobrien	* config/tc-ia64.c (dot_vframesp): Correct error message.
2761130561Sobrien	(dot_vframepsp): Ditto.
2762130561Sobrien
2763130561Sobrien2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
2764130561Sobrien
2765130561Sobrien	* configure.in (em): Set to irix on all Irix systems.
2766130561Sobrien	* configure: Rebuilt.
2767130561Sobrien	* config/te-irix.h: New file.
2768130561Sobrien	* config/tc-mips.c (mips_dwarf2_format): Use TE_IRIX to decide
2769130561Sobrien	whether to use Irix-specific 64-bit format.
2770130561Sobrien
2771130561Sobrien2003-01-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2772130561Sobrien
2773130561Sobrien	* config/tc-s390.c (s390_elf_cons): Avoid designated initializers.
2774130561Sobrien
2775130561Sobrien2003-01-25  Jakub Jelinek  <jakub@redhat.com>
2776130561Sobrien
2777130561Sobrien	* config/tc-sparc.c (sparc_ip): Handle TLS % operators.
2778130561Sobrien	(tc_gen_reloc): Handle TLS relocs.
2779130561Sobrien	(sparc_cons, cons_fix_new_sparc): Handle %r_tls_dtpoff.
2780130561Sobrien	* config/tc-sparc.h (tc_fix_adjustable): Don't adjust TLS
2781130561Sobrien	relocs.
2782130561Sobrien	* config/obj-elf.c (obj_elf_section_word): Handle tls.
2783130561Sobrien	(obj_elf_type): Handle tls_object.
2784130561Sobrien
2785130561Sobrien2003-01-24  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2786130561Sobrien
2787130561Sobrien	* config/tc-s390.c (s390_tls_suffix): New function.
2788130561Sobrien	(elf_suffix_type): Add suffix enums for TLS relocations.
2789130561Sobrien	(s390_elf_suffix): Add suffix strings for TLS relocations.
2790130561Sobrien	(s390_elf_cons): Map new lenght/elf suffix combinations for TLS to
2791130561Sobrien	bfd relocations.
2792130561Sobrien	(md_gather_operands): Map new instruction operand/elf suffix
2793130561Sobrien	combinations for TLS to bfd relocations.
2794130561Sobrien	(tc_s390_fix_adjustable): Add new TLS relocations.
2795130561Sobrien	(tc_s390_force_relocation): Likewise.
2796130561Sobrien	(md_apply_fix3): Likewise.
2797130561Sobrien
2798130561Sobrien2003-01-24  Alan Modra  <amodra@bigpond.net.au>
2799130561Sobrien
2800130561Sobrien	* as.h: Update copyright date.
2801130561Sobrien	* symbols.c: Likewise.
2802130561Sobrien	* config/tc-d10v.h: Likewise.
2803130561Sobrien	* config/tc-fr30.h: Likewise.
2804130561Sobrien	* config/tc-i960.h: Likewise.
2805130561Sobrien	* config/tc-mips.h: Likewise.
2806130561Sobrien
2807130561Sobrien	* config/tc-hppa.h (DIFF_EXPR_OK): Define.
2808130561Sobrien	(MD_APPLY_SYM_VALUE): Move.
2809130561Sobrien
2810130561Sobrien2003-01-23  Nick Clifton  <nickc@redhat.com>
2811130561Sobrien
2812130561Sobrien	* NEWS: Announce sh2e support.
2813130561Sobrien
2814130561Sobrien	Add sh2e support:
2815130561Sobrien	2002-04-02  Alexandre Oliva  <aoliva@redhat.com>
2816130561Sobrien	* config/tc-sh.c (md_show_usage): Added sh2e next to sh3e.
2817130561Sobrien	(sh_elf_final_processing): Handle arch_sh2e.
2818130561Sobrien
2819130561Sobrien2003-01-23  Alan Modra  <amodra@bigpond.net.au>
2820130561Sobrien
2821130561Sobrien	* symbols.c (S_FORCE_RELOC): Add "strict" param.
2822130561Sobrien	* symbols.h (S_FORCE_RELOC): Likewise.
2823130561Sobrien	* config/obj-aout.h (S_FORCE_RELOC): Likewise.
2824130561Sobrien	* config/obj-bout.h (S_FORCE_RELOC): Likewise.
2825130561Sobrien	* config/obj-coff.h (S_FORCE_RELOC): Likewise.
2826130561Sobrien	* config/obj-ieee.h (S_FORCE_RELOC): Likewise.
2827130561Sobrien	* config/obj-vms.h (S_FORCE_RELOC): Likewise.
2828130561Sobrien	* write.c (generic_force_reloc): New function.
2829130561Sobrien	(TC_FORCE_RELOCATION): Use it here instead of S_FORCE_RELOC.
2830130561Sobrien	(TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too.
2831130561Sobrien	(adjust_reloc_syms): Adjust S_FORCE_RELOC call.
2832130561Sobrien	* as.h (generic_force_reloc): Declare.
2833130561Sobrien	* doc/internals.texi (S_FORCE_RELOC): Update.
2834130561Sobrien	(TC_FORCE_RELOCATION_SUB_SAME): Update.
2835130561Sobrien
2836130561Sobrien	* config/tc-alpha.c (alpha_force_relocation): Adjust to use
2837130561Sobrien	generic_force_reloc.
2838130561Sobrien	(alpha_fix_adjustable): Likewise.
2839130561Sobrien	* config/tc-arm.c (arm_force_relocation): Likewise.
2840130561Sobrien	* config/tc-cris.c (md_cris_force_relocation): Likewise.
2841130561Sobrien	* config/tc-frv.c (frv_force_relocation): Likewise.
2842130561Sobrien	* config/tc-i386.c (md_apply_fix3): Likewise.
2843130561Sobrien	* config/tc-ia64.c (ia64_force_relocation): Likewise.
2844130561Sobrien	* config/tc-ip2k.c (ip2k_force_relocation): Likewise.
2845130561Sobrien	* config/tc-m32r.c (m32r_force_relocation): Likewise.
2846130561Sobrien	* config/tc-m68hc11.c (tc_m68hc11_force_relocation): Likewise.
2847130561Sobrien	* config/tc-mcore.c (mcore_force_relocation): Likewise.
2848130561Sobrien	* config/tc-mips.c (mips_force_relocation): Likewise.
2849130561Sobrien	* config/tc-mmix.c (mmix_force_relocation): Likewise.
2850130561Sobrien	* config/tc-ppc.c (ppc_force_relocation): Likewise.
2851130561Sobrien	* config/tc-s390.c (tc_s390_force_relocation): Likewise.
2852130561Sobrien	* config/tc-sh.c (sh_force_relocation): Likewise.
2853130561Sobrien	(md_pcrel_from_section): Likewise.
2854130561Sobrien	* config/tc-sparc.c (tc_gen_reloc): Likewise.
2855130561Sobrien	* config/tc-v850.c (v850_force_relocation): Likewise.
2856130561Sobrien	* config/tc-xstormy16.c (xstormy16_force_relocation): Likewise.
2857130561Sobrien	* config/tc-i386.h (TC_FORCE_RELOCATION): Likewise.
2858130561Sobrien	* config/tc-mcore.h (TC_FORCE_RELOCATION): Likewise.
2859130561Sobrien	* config/tc-sparc.h (tc_fix_adjustable): Likewise.
2860130561Sobrien
2861130561Sobrien	* config/tc-d10v.c (d10v_force_relocation): Delete.
2862130561Sobrien	* config/tc-d10v.h (TC_FORCE_RELOCATION): Don't define.
2863130561Sobrien	* config/tc-dlx.c (md_dlx_force_relocation): Delete.
2864130561Sobrien	* config/tc-dlx.h (TC_FORCE_RELOCATION): Don't define.
2865130561Sobrien	* config/tc-fr30.c (fr30_force_relocation): Delete.
2866130561Sobrien	* config/tc-fr30.h (TC_FORCE_RELOCATION): Don't define.
2867130561Sobrien	* config/tc-mn10300.c (mn10300_force_relocation): Delete.
2868130561Sobrien	* config/tc-mn10300.h (TC_FORCE_RELOCATION): Don't define.
2869130561Sobrien	(TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too.
2870130561Sobrien	* config/tc-i960.h (TC_FORCE_RELOCATION_SUB_SAME): Likewise.
2871130561Sobrien	* config/tc-hppa.c (hppa_force_relocation): Adjust S_FORCE_RELOC call.
2872130561Sobrien	* config/tc-mips.c (RELAX_BRANCH_TOOFAR): Warning fix.
2873130561Sobrien	* config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Don't define.
2874130561Sobrien	* config/tc-openrisc.c (openrisc_force_relocation): Delete.
2875130561Sobrien	* config/tc-openrisc.h (TC_FORCE_RELOCATION): Don't define.
2876130561Sobrien	* config/tc-sparc.c (elf32_sparc_force_relocation): Delete.
2877130561Sobrien	* config/tc-sparc.h (TC_FORCE_RELOCATION): Don't define for ELF.
2878130561Sobrien	* config/tc-i386.c (i386_force_relocation): Delete.
2879130561Sobrien	* config/tc-i386.h (TC_FORCE_RELOCATION): Don't define for
2880130561Sobrien	BFD_ASSEMBLER.
2881130561Sobrien	(EXTERN_FORCE_RELOC): Fix TE_PE and STRICT_PE_FORMAT nesting.
2882130561Sobrien	* config/tc-m68k.h (TC_FORCE_RELOCATION): Don't define.
2883130561Sobrien	* config/tc-pj.h (TC_FORCE_RELOCATION): Don't define.
2884130561Sobrien	* config/tc-sh.h (TC_FORCE_RELOCATION_SUB_ABS): Don't call
2885130561Sobrien	S_FORCE_RELOC.
2886130561Sobrien	(TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too.
2887130561Sobrien	* config/tc-sh64.h (TC_FORCE_RELOCATION_SUB_SAME): Likewise.
2888130561Sobrien
2889130561Sobrien2003-01-23  Alan Modra  <amodra@bigpond.net.au>
2890130561Sobrien
2891130561Sobrien	* config/tc-sh64.c (shmedia_frob_section_type): Adjust for changed
2892130561Sobrien	sh64_elf_section_data.
2893130561Sobrien	* config/tc-sh64.h: Include elf32-sh64.h.
2894130561Sobrien	* config/tc-m68hc11.c: Don't include stdio.h.
2895130561Sobrien	(md_show_usage): Fix missing continuation.
2896130561Sobrien	* Makefile.am: Run "make dep-am".
2897130561Sobrien	* Makefile.in: Regenerate.
2898130561Sobrien
2899130561Sobrien2003-01-22  Nick Clifton  <nickc@redhat.com>
2900130561Sobrien
2901130561Sobrien	* as.h: Include fopen-bin.h not fopen-same.h for mingw32 hosts.
2902130561Sobrien
2903130561Sobrien2003-01-21  Fabio Alemagna  <falemagn@aros.org>
2904130561Sobrien
2905130561Sobrien	* configure.in: Handle *-*-aros*.
2906130561Sobrien	* configure:	Regenerated from configure.in.
2907130561Sobrien
2908130561Sobrien2003-01-20  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2909130561Sobrien
2910130561Sobrien	* config/tc-s390.c (elf_suffix_type): Add suffix enums for gotoff,
2911130561Sobrien	gotplt and pltoff relocations.
2912130561Sobrien	(s390_elf_suffix): Add suffix strings for gotoff, gotplt and pltoff.
2913130561Sobrien	(s390_elf_cons): Map new lenght/elf suffix combinations for gotoff,
2914130561Sobrien	gotplt and pltoff to bfd relocations.
2915130561Sobrien	(md_gather_operands): Map new instruction operand/elf suffix
2916130561Sobrien	combinations to bfd relocations.
2917130561Sobrien	(tc_s390_fix_adjustable): Add new gotoff, gotplt and pltoff relocations
2918130561Sobrien	to the list of unadjustable relocations.
2919130561Sobrien	(tc_s390_force_relocation): Always emit relocations for gotoff, gotplt
2920130561Sobrien	and pltoff relocations.
2921130561Sobrien	(md_apply_fix3): Add the new relocations.
2922130561Sobrien
2923130561Sobrien2003-01-20  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2924130561Sobrien
2925130561Sobrien	* config/tc-s390.c (md_apply_fix3): Emit error message for relocations
2926130561Sobrien	with a subsy symbol.
2927130561Sobrien
2928130561Sobrien2003-01-17  Stephane Carrez  <stcarrez@nerim.fr>
2929130561Sobrien
2930130561Sobrien	* config/tc-m68hc11.c (tc_m68hc11_fix_adjustable): Prevent adjustment
2931130561Sobrien	of relocs for memory bank addressing.
2932130561Sobrien
2933130561Sobrien2003-01-17  Stephane Carrez  <stcarrez@nerim.fr>
2934130561Sobrien
2935130561Sobrien	* config/tc-m68hc11.c (md_show_usage): Update usage.
2936130561Sobrien	(md_parse_option): Recognize -m68hcs12.
2937130561Sobrien	(m68hc11_elf_final_processing): Set EF_M68HCS12_MACH flag to identify
2938130561Sobrien	HCS12.
2939130561Sobrien	* doc/as.texinfo (Overview): Document new option -m68hcs12.
2940130561Sobrien
2941130561Sobrien2003-01-16  Jakub Jelinek  <jakub@redhat.com>
2942130561Sobrien
2943130561Sobrien	* config/tc-ia64.c (ia64_cons_fix_new): Handle @dtprel() in data.
2944130561Sobrien
2945130561Sobrien2003-01-16  Alan Modra  <amodra@bigpond.net.au>
2946130561Sobrien
2947130561Sobrien	* Makefile.am: Run "make dep-am".
2948130561Sobrien	* Makefile.in: Regenerate.
2949130561Sobrien	* po/POTFILES.in: Regenerate.
2950130561Sobrien
2951130561Sobrien2003-01-11  Alan Modra  <amodra@bigpond.net.au>
2952130561Sobrien
2953130561Sobrien	* read.c (get_absolute_expr): New, split out from..
2954130561Sobrien	(get_absolute_expression): ..here.
2955130561Sobrien	* read.h (get_absolute_expr): Declare.
2956130561Sobrien	* config/obj-elf.c (elf_common): Use offsetT for "temp" and "size".
2957130561Sobrien	Trim size to arch bits_per_address, and test for negative input
2958130561Sobrien	via get_absolute_expr.
2959130561Sobrien
2960130561Sobrien2003-01-07  DJ Delorie  <dj@redhat.com>
2961130561Sobrien
2962130561Sobrien	* config/tc-xstormy16.c (md_cgen_lookup_reloc): Adjust value based
2963130561Sobrien	on operand type.
2964130561Sobrien	(xstormy16_md_apply_fix3): Use adjustment.
2965130561Sobrien
2966130561Sobrien2003-01-02  Ben Elliston  <bje@redhat.com>
2967130561Sobrien
2968130561Sobrien	* configure.in: Add iq2000-elf target.
2969130561Sobrien	* configure: Regenerate.
2970130561Sobrien	* config/tc-iq2000.c: New file.
2971130561Sobrien	* config/tc-iq2000.h: Likewise.
2972130561Sobrien	* po/gas.pot: Regenerate.
2973130561Sobrien
2974130561Sobrien2003-01-02  Chris Demetriou  <cgd@broadcom.com>
2975130561Sobrien
2976130561Sobrien	* config/tc-mips.c: Update copyright years to include 2003.
2977130561Sobrien	(mips_ip): Fix indentation of "+A", "+B", and "+C" handling.
2978130561Sobrien	Additionally, clean up their code slightly and clean up their
2979130561Sobrien	comments some more.
2980130561Sobrien
2981130561Sobrien	* doc/c-mips.texi: Add MIPS32r2 to ".set mipsN" documentation.
2982130561Sobrien
2983130561Sobrien2003-01-01  Daniel Jacobowitz  <drow@mvista.com>
2984130561Sobrien
2985130561Sobrien	* doc/Makefile.am (as.1): Depend on "asconfig.texi gasver.texi
2986130561Sobrien	$(CPU_DOCS)".
2987130561Sobrien	* doc/Makefile.in: Regenerate.
2988130561Sobrien
2989130561Sobrien2003-01-01  John David Anglin  <dave.anglin@nrc.ca>
2990130561Sobrien
2991130561Sobrien	* config/obj-elf.c (special_sections): Work around HP's incorrect usage
2992130561Sobrien	of .init and .fini sections for array initializers and finalizers.
2993130561Sobrien
2994130561Sobrien2002-12-31  Chris Demetriou  <cgd@broadcom.com>
2995130561Sobrien
2996130561Sobrien	* config/tc-mips.c (validate_mips_insn, mips_ip): Recognize
2997130561Sobrien	the "+D" operand, which will be used only by the disassembler.
2998130561Sobrien
2999130561Sobrien2002-12-30  Chris Demetriou  <cgd@broadcom.com>
3000130561Sobrien
3001130561Sobrien	* configure.in: Recognize mipsisa32r2, mipsisa32r2el, and
3002130561Sobrien	CPU variants.
3003130561Sobrien	* configure: Regenerate.
3004130561Sobrien	* config/tc-mips.c (ISA_HAS_DROR, ISA_HAS_ROR): New defines.
3005130561Sobrien	(macro_build): Handle "K" operand.
3006130561Sobrien	(macro2): Use ISA_HAS_DROR and ISA_HAS_ROR in the places where
3007130561Sobrien	CPU_HAS_DROR and CPU_HAS_ROR are currently used.
3008130561Sobrien	(mips_ip): New variable "lastpos", and implement "+A", "+B",
3009130561Sobrien	and "+C" operands for MIPS32 Release 2 ins/ext instructions.
3010130561Sobrien	Implement "K" operand for MIPS32 Release 2 rdhwr instruction.
3011130561Sobrien	(validate_mips_insn): Implement "+" as a way to extend the
3012130561Sobrien	allowed operands, and implement "K", "+A", "+B", and "+C"
3013130561Sobrien	operands.
3014130561Sobrien	(OPTION_MIPS32R2): New define.
3015130561Sobrien	(md_longopts): Add entry for OPTION_MIPS32R2.
3016130561Sobrien	(OPTION_ELF_BASE): Adjust to accommodate OPTIONS_MIPS32R2.
3017130561Sobrien	(md_parse_option): Handle OPTION_MIPS32R2.
3018130561Sobrien	(s_mipsset): Reimplement handling of ".set mipsN" options
3019130561Sobrien	and add support for ".set mips32r2".
3020130561Sobrien	(mips_cpu_info_table): Add entry for "mips32r2" (MIPS32 Release 2).
3021130561Sobrien	(md_show_usage): Document "-mips32r2" option.
3022130561Sobrien	* doc/as.texinfo: Document "-mips32r2" option.
3023130561Sobrien	* doc/c-mips.texi: Likewise.
3024130561Sobrien
3025130561Sobrien2002-12-30  Dmitry Diky  <diwil@mail.ru>
3026130561Sobrien
3027130561Sobrien	* configure.in: Add msp430 target.
3028130561Sobrien	* configure: Regenerate.
3029130561Sobrien	* Makefile.am: Add msp430 target.
3030130561Sobrien	* Makefile.in: Regenerate.
3031130561Sobrien	* config/tc-msp430.c: New file: msp430 assembler.
3032130561Sobrien	* config/tc-msp430.h: New file: target macros for msp430.
3033130561Sobrien	* doc/Makefile.am: Add msp430 target.
3034130561Sobrien	* doc/Makefile.in: Regenerate.
3035130561Sobrien	* doc/as.texinfo: Include msp430 documenation.
3036130561Sobrien	* doc/all.texi: Enable msp430 documentation.
3037130561Sobrien	* doc/c-msp430.texi: New file: document msp430 specific features
3038130561Sobrien	of the assembler.
3039130561Sobrien
3040130561Sobrien2002-12-25  Alexandre Oliva  <aoliva@redhat.com>
3041130561Sobrien
3042130561Sobrien	* dwarf2dbg.c (DWARF2_ADDR_SIZE): New macro.
3043130561Sobrien	(dwarf2_finish): Use it.
3044130561Sobrien	* doc/internals.texi (DWARF2_ADDR_SIZE): Document it.
3045130561Sobrien	* config/tc-mips.h (DWARF2_ADDR_SIZE): Override.
3046130561Sobrien
3047130561Sobrien2002-12-20  DJ Delorie  <dj@redhat.com>
3048130561Sobrien
3049130561Sobrien	* config/tc-xstormy16.c (md_cgen_lookup_reloc): Support
3050130561Sobrien	BFD_RELOC_XSTORMY16_12.
3051130561Sobrien
3052130561Sobrien2002-12-19  Alan Modra  <amodra@bigpond.net.au>
3053130561Sobrien
3054130561Sobrien	* doc/as.texinfo (Invoking): Typo fix.
3055130561Sobrien	* config/tc-tic54x.c (encode_operand): Comment typo fix.
3056130561Sobrien
3057130561Sobrien2002-12-18  Kazu Hirata  <kazu@cs.umass.edu>
3058130561Sobrien
3059130561Sobrien	* doc/c-alpha.texi: Fix typos.
3060130561Sobrien	* doc/c-arm.texi: Likewise.
3061130561Sobrien	* doc/c-d10v.texi: Likewise.
3062130561Sobrien	* doc/c-i370.texi: Likewise.
3063130561Sobrien	* doc/c-i960.texi: Likewise.
3064130561Sobrien	* doc/c-ia64.texi: Likewise.
3065130561Sobrien	* doc/c-mmix.texi: Likewise.
3066130561Sobrien	* doc/c-ns32k.texi: Likewise.
3067130561Sobrien	* doc/c-pdp11.texi: Likewise.
3068130561Sobrien	* doc/c-pj.texi: Likewise.
3069130561Sobrien	* doc/c-sh64.texi: Likewise.
3070130561Sobrien	* doc/c-sparc.texi: Likewise.
3071130561Sobrien	* doc/c-tic54x.texi: Likewise.
3072130561Sobrien	* doc/c-v850.texi: Likewise.
3073130561Sobrien	* doc/c-vax.texi: Likewise.
3074130561Sobrien	* doc/internals.texi: Likewise.
3075130561Sobrien
3076130561Sobrien2002-12-18  Chris Demetriou  <cgd@broadcom.com>
3077130561Sobrien
3078130561Sobrien	* config/tc-mips.c (macro): In M_DROL, M_DROR, M_ROL, and M_ROR,
3079130561Sobrien	use hardware rotate ops as appropriate.  In M_DROL_I, M_DROR_I,
3080130561Sobrien	M_ROL_I, and M_ROR_I, simplify code, clean up warnings, and
3081130561Sobrien	arrange not to issue warnings about use of AT when AT is not
3082130561Sobrien	actually used.
3083130561Sobrien
3084130561Sobrien2002-12-17  Nick Clifton  <nickc@redhat.com>
3085130561Sobrien
3086130561Sobrien	* as.c (std_longopts): Duplicate --keep-locals entry in order to
3087130561Sobrien	prevent it being confused with -k.
3088130561Sobrien
3089130561Sobrien2002-12-16  Andrew MacLeod  <amacleod@redhat.com>
3090130561Sobrien
3091130561Sobrien	* config/tc-xstormy16.c (md_cgen_lookup_reloc): If a relocation
3092130561Sobrien	has already been set up, use it.
3093130561Sobrien
3094130561Sobrien2002-12-16  Kazu Hirata  <kazu@cs.umass.edu>
3095130561Sobrien
3096130561Sobrien	* ChangeLog-9295: Fix a typo.
3097130561Sobrien	* README: Likewise.
3098130561Sobrien	* config/tc-d10v.c: Fix a comment typo.
3099130561Sobrien	* config/tc-dlx.c: Likewise.
3100130561Sobrien	* config/tc-h8300.h: Likewise.
3101130561Sobrien	* config/tc-h8500.h: Likewise.
3102130561Sobrien	* config/tc-mips.c: Likewise.
3103130561Sobrien	* config/tc-s390.c: Likewise.
3104130561Sobrien	* config/tc-sh.h: Likewise.
3105130561Sobrien	* config/tc-tic80.h: Likewise.
3106130561Sobrien	* config/tc-w65.h: Likewise.
3107130561Sobrien	* config/tc-z8k.c: Likewise.
3108130561Sobrien	* config/tc-z8k.h: Likewise.
3109130561Sobrien	* testsuite/gas/h8300/cmpsi2.s: Likewise.
3110130561Sobrien
3111130561Sobrien2002-12-16  Alan Modra  <amodra@bigpond.net.au>
3112130561Sobrien
3113130561Sobrien	* config/tc-d30v.c (check_range): Warning fixes, formatting.
3114130561Sobrien	Simplify sign extension.  Remove redundant unsigned < 0 test.
3115130561Sobrien	* config/tc-i960.c (md_ri_to_chars): Prototype.
3116130561Sobrien	* config/tc-mcore.c (md_pseudo_table): Fix typo.
3117130561Sobrien	(dump_literals): Init brarsym, and test later instead of isforce.
3118130561Sobrien
3119130561Sobrien	* config/tc-ns32k.c (encode_operand): Constify operandsP and suffixP.
3120130561Sobrien	(parse): Constify line and lineptr.
3121130561Sobrien	(md_begin): Calculate endop here.
3122130561Sobrien
3123130561Sobrien2002-12-13  Alan Modra  <amodra@bigpond.net.au>
3124130561Sobrien
3125130561Sobrien	* config/obj-vms.c: Formatting.  Include fnctl.h.
3126130561Sobrien	(Create_VMS_Object_File): Fix creat call for sane unix systems.
3127130561Sobrien	(Object_Record_Offset): Make it a size_t.
3128130561Sobrien	(Flush_VMS_Object_Record_Buffer): Fix signed/unsigned warning.
3129130561Sobrien	(VMS_TBT_Routine_End <Size>): Make var unsigned long.
3130130561Sobrien	(VMS_Fix_Indirect_Reference <Offset>): Make arg addressT.
3131130561Sobrien	(synthesize_data_segment <data_size>): Remove ATTRIBUTE_UNUSED.
3132130561Sobrien	(vms_fixup_data_section <data_size>): Add here instead.
3133130561Sobrien	* config/e-criself.c: Fix typo in last change.
3134130561Sobrien
3135130561Sobrien2002-12-13  Alan Modra  <amodra@bigpond.net.au>
3136130561Sobrien
3137130561Sobrien	* write.c (write_object_file): Fix signed/unsigned warning.
3138130561Sobrien	* config/e-crisaout.c (crisaout_bfd_name): Prototype.
3139130561Sobrien	* config/e-criself.c (criself_bfd_name): Prototype.
3140130561Sobrien	* config/obj-aout.c (s_sect): Remove unused function.
3141130561Sobrien	* config/obj-bout.c (obj_bout_line <ignore>): Add ATTRIBUTE_UNUSED.
3142130561Sobrien	* config/obj-coff.c (coff_last_bf): Don't declare for OBJ_XCOFF.
3143130561Sobrien	(fixup_mdeps <h>): Add ATTRIBUTE_UNUSED.
3144130561Sobrien	* config/obj-ecoff.c (ecoff_frob_file <addr>): Likewise.
3145130561Sobrien	* config/obj-vms.c (setup_basic_type <spnt>): Likewise.
3146130561Sobrien	(VMS_RSYM_Parse <Current_Routine>): Likewise.
3147130561Sobrien	(vms_fixup_text_section <text_siz>): Likewise.
3148130561Sobrien	(synthesize_data_segment <data_size>): Likewise.
3149130561Sobrien	(vms_fixup_xtors_section <sect_no>): Likewise.
3150130561Sobrien	(structure_count): Don't use implicit int type.
3151130561Sobrien	* config/tc-a29k.c (insert_sreg): Prototype.
3152130561Sobrien	(define_some_regs): Prototype, make static.
3153130561Sobrien	(parse_operand): Likewise.
3154130561Sobrien	(md_parse_option <c,arg>): Add ATTRIBUTE_UNUSED.
3155130561Sobrien	(md_show_usage <stream>): Likewise.
3156130561Sobrien	(md_section_align <segment>): Likewise.
3157130561Sobrien	(md_convert_frag <all args>): Likewise.
3158130561Sobrien	(md_estimate_size_before_relax <all args>): Likewise.
3159130561Sobrien	(md_apply_fix3): Don't cast valP pointer type.  Fix bogus >>='s.
3160130561Sobrien	* config/tc-arm.c (arm_validate_fix): Only for OBJ_COFF or OBJ_ELF.
3161130561Sobrien	* config/tc-d30v.c (md_parse_option <arg>): Add ATTRIBUTE_UNUSED.
3162130561Sobrien	(md_undefined_symbol <name>): Likewise.
3163130561Sobrien	(md_convert_frag <all args>): Likewise.
3164130561Sobrien	(write_long <opcode>): Likewise.
3165130561Sobrien	(tc_gen_reloc <seg>): Likewise.
3166130561Sobrien	(md_estimate_size_before_relax <all args>): Likewise.
3167130561Sobrien	(md_apply_fix3 <seg>): Likewise.
3168130561Sobrien	(s_d30v_align <ignore>): Likewise.
3169130561Sobrien	(build_insn): Correct format string.
3170130561Sobrien	(md_apply_fix3): Likewise.
3171130561Sobrien	* config/tc-fr30.c (md_parse_option <c,arg>): Add ATTRIBUTE_UNUSED.
3172130561Sobrien	(md_undefined_symbol <name>): Likewise.
3173130561Sobrien	(md_convert_frag <all args>): Likewise.
3174130561Sobrien	(md_cgen_lookup_reloc <insn>): Likewise.
3175130561Sobrien	(md_begin): Delete unused vars.
3176130561Sobrien	(md_assemble): Likewise.
3177130561Sobrien	(md_estimate_size_before_relax): Likewise.
3178130561Sobrien	(fr30_relax_frag): #if 0 out, seems unused.
3179130561Sobrien	(md_atof): Remove declaration of atof_ieee.
3180130561Sobrien	(restore_colon): Prototype.
3181130561Sobrien	* config/tc-frv.c (frv_insert_vliw_insn): Prototype.
3182130561Sobrien	(frv_find_in_vliw): Likewise.
3183130561Sobrien	(frv_debug_tomcat): Likewise.
3184130561Sobrien	(frv_adjust_vliw_count): Likewise.
3185130561Sobrien	(frv_tomcat_shuffle): Likewise.
3186130561Sobrien	(frv_tomcat_analyze_vliw_chains): Likewise.  Correct args to
3187130561Sobrien	frv_find_in_vliw call.
3188130561Sobrien	(md_atof): Remove declaration of atof_ieee.
3189130561Sobrien	* config/tc-h8500.c (cons): Delete declaration.
3190130561Sobrien	(md_begin <opcode>): Constify.
3191130561Sobrien	(displacement_size, immediate_size, absolute_size): Remove.
3192130561Sobrien	(build_relaxable_instruction <operand>): Add ATTRIBUTE_UNUSED.
3193130561Sobrien	(tc_crawl_symbol_chain <headers>): Likewise.
3194130561Sobrien	(md_undefined_symbol <name>): Likewise.
3195130561Sobrien	(tc_headers_hook <headers>): Likewise.
3196130561Sobrien	(md_parse_option <c,arg>): Likewise.
3197130561Sobrien	(md_show_usage <stream>): Likewise.
3198130561Sobrien	(md_convert_frag <headers, seg>): Likewise.
3199130561Sobrien	(tc_coff_symbol_emit_hook <ignore>): Likewise.
3200130561Sobrien	(md_atof): Remove declaration of atof_ieee.
3201130561Sobrien	(tc_aout_fix_to_chars): Remove unused function.
3202130561Sobrien	(parse_reg): Prototype.
3203130561Sobrien	(parse_exp): Prototype.
3204130561Sobrien	(skip_colonthing): Prototype.  Use &&, not & in logical expressions.
3205130561Sobrien	(parse_reglist): Prototype.
3206130561Sobrien	(get_operand): Prototype.
3207130561Sobrien	(get_operands): Prototype.
3208130561Sobrien	(get_specific): Prototype.  Make "this_index" signed.
3209130561Sobrien	(check): Prototype, make static.
3210130561Sobrien	(insert): Prototype
3211130561Sobrien	(build_relaxable_instruction): Prototype, make static.
3212130561Sobrien	(build_bytes): Prototype.
3213130561Sobrien	(wordify_scb): Prototype.
3214130561Sobrien	* config/tc-h8500.h (start_label): Declare.
3215130561Sobrien	(tc_coff_sizemachdep): Declare.
3216130561Sobrien	* config/tc-i370.c (i370_ebcdic <unused>): Add ATTRIBUTE_UNUSED.
3217130561Sobrien	(i370_rmode <unused>): Likewise.
3218130561Sobrien	(i370_csect <unused>): Likewise.
3219130561Sobrien	(i370_dc <unused>): Likewise.
3220130561Sobrien	(i370_ds <unused>): Likewise.
3221130561Sobrien	(i370_elf_lcomm <unused>): Likewise.
3222130561Sobrien	(i370_ltorg <ignore>): Likewise.
3223130561Sobrien	(i370_using <ignore>): Likewise.
3224130561Sobrien	(i370_drop <ignore>): Likewise.
3225130561Sobrien	(i370_byte <ignore>): Likewise.
3226130561Sobrien	(i370_tc <ignore>): Likewise.
3227130561Sobrien	(md_estimate_size_before_relax <fragp, seg>): Likewise.
3228130561Sobrien	(md_convert_frag <all args>): Likewise.
3229130561Sobrien	(md_undefined_symbol <name>): Likewise.
3230130561Sobrien	(md_pcrel_from_section <sec>): Likewise.
3231130561Sobrien	(tc_gen_reloc <seg>): Likewise.
3232130561Sobrien	(i370_section_letter): #if 0 unused functions.
3233130561Sobrien	(i370_section_word, i370_section_type, i370_section_flags): Likewise.
3234130561Sobrien	(symbol_locate): Prototype.
3235130561Sobrien	* config/tc-i860.c (md_atof): Remove declaration of atof_ieee.
3236130561Sobrien	(md_number_to_disp, md_number_to_field): Remove.
3237130561Sobrien	(md_apply_fix3): Correct format string and cast "fup".
3238130561Sobrien	* config/tc-i960.c (md_convert_frag): Add ATTRIBUTE_UNUSED to args.
3239130561Sobrien	(s_endian <ignore>): Likewise.
3240130561Sobrien	(md_undefined_symbol <name>): Likewise.
3241130561Sobrien	(tc_crawl_symbol_chain <headers>): Likewise.
3242130561Sobrien	(tc_set_bal_of_call): Likewise.
3243130561Sobrien	(tc_coff_symbol_emit_hook <symbolP>): Likewise.
3244130561Sobrien	(i960_handle_align <fragp>): Likewise.
3245130561Sobrien	(i960_validate_fix <this_segment_type>): Likewise
3246130561Sobrien	(tc_gen_reloc <section>): Likewise.
3247130561Sobrien	(tc_coff_symbol_emit_hook): Only define for OBJ_COFF.
3248130561Sobrien	(struct memS, struct regop): Forward declare.
3249130561Sobrien	(brcnt_emit, brlab_next, cobr_fmt, ctrl_fmt, emit, get_args,
3250130561Sobrien	get_cdisp, get_ispec, get_regnum, i_scan, mem_fmt, mema_to_memb,
3251130561Sobrien	parse_expr, parse_ldconst, parse_memop, parse_po, parse_regop,
3252130561Sobrien	reg_fmt, relax_cobr, s_leafproc, s_sysproc, shift_ok, syntax,
3253130561Sobrien	targ_has_sfr, targ_has_iclass, tc_bfd_fix2rtype): Prototype.
3254130561Sobrien	(md_chars_to_number, md_number_to_imm): Make static, prototype.
3255130561Sobrien	(md_number_to_field): Likewise.
3256130561Sobrien	(md_number_to_disp): Remove unused function.
3257130561Sobrien	(md_atof): Remove declaration of atof_ieee.
3258130561Sobrien	(md_apply_fix3): Correct md_number_to_imm call.
3259130561Sobrien	* config/tc-ip2k.c (md_assemble): Warning fix.
3260130561Sobrien	* config/tc-m32r.c (md_parse_option <arg>): Add ATTRIBUTE_UNUSED.
3261130561Sobrien	(fill_insn <ignore>): Likewise.
3262130561Sobrien	(debug_sym <ignore>): Likewise.
3263130561Sobrien	(md_undefined_symbol <name>): Likewise.
3264130561Sobrien	(m32r_scomm <ignore>): Likewise.
3265130561Sobrien	(md_convert_frag <abfd>): Likewise.
3266130561Sobrien	(md_cgen_lookup_reloc <insn>): Likewise.
3267130561Sobrien	(m32r_record_hi16 <seg>): Likewise.
3268130561Sobrien	(md_estimate_size_before_relax): #if 0 old_fr_fix.
3269130561Sobrien	(allow_m32rx): Prototype.
3270130561Sobrien	(first_writes_to_seconds_operands): Prototype.
3271130561Sobrien	(writes_to_pc): Prototype.
3272130561Sobrien	(can_make_parallel): Prototype.
3273130561Sobrien	(make_parallel): Prototype.
3274130561Sobrien	(target_make_parallel): Prototype.
3275130561Sobrien	(assemble_two_insns): Prototype.
3276130561Sobrien	(m32r_record_hi16): Prototype.
3277130561Sobrien	(md_atof): Remove declaration of atof_ieee.
3278130561Sobrien	* config/tc-m32r.h (m32r_fix_adjustable): Declare.
3279130561Sobrien	(m32r_force_relocation): Prototype.
3280130561Sobrien	(m32r_elf_section_change_hook): Prototype.
3281130561Sobrien	* config/tc-m68k.c (tc_gen_reloc <section>): Add ATTRIBUTE_UNUSED.
3282130561Sobrien	(md_show_usage): Fix signed/unsigned warning.
3283130561Sobrien	* config/tc-m88k.c (get_reg): Make reg_prefix param unsigned.
3284130561Sobrien	(calcop): Ditto for reg_prefix var.
3285130561Sobrien	(hexval): Add cast to fix signed/unsigned warning.
3286130561Sobrien	(md_number_to_disp): Delete unused function.
3287130561Sobrien	(md_number_to_field): Likewise.
3288130561Sobrien	(float_cons, cons, s_globl, s_space, s_set, s_lcomm): Remove decl.
3289130561Sobrien	(match_name): Prototype.
3290130561Sobrien	(get_bf2): Prototype.
3291130561Sobrien	(get_bf_offset_expression): Prototype.
3292130561Sobrien	* config/tc-mcore.c (mcore_s_literals <ignore>): Add ATTRIBUTE_UNUSED.
3293130561Sobrien	(md_undefined_symbol <ignore>): Likewise.
3294130561Sobrien	(md_create_short_jump <all args>): Likewise.
3295130561Sobrien	(md_create_long_jump <all args>): Likewise.
3296130561Sobrien	(md_convert_frag <abfd, sec>): Likewise.
3297130561Sobrien	(md_apply_fix3 <segment>): Likewise.
3298130561Sobrien	(md_section_align <segment>): Likewise.
3299130561Sobrien	(md_pcrel_from_section <sec>): Likewise.
3300130561Sobrien	(tc_gen_reloc <section>): Likewise.
3301130561Sobrien	(reg_m, reg_n, immediate): Delete unused vars.
3302130561Sobrien	(dump_literals): Fix signed/unsigned warning.
3303130561Sobrien	(enter_literal): Likewise.
3304130561Sobrien	(parse_imm): Likewise.  Also fix format string.
3305130561Sobrien	(parse_mem): Remove unused var.
3306130561Sobrien	(md_assemble <LS>): Abort on unexpected inst.
3307130561Sobrien	(md_atof): Remove declaration of atof_ieee.
3308130561Sobrien	(md_parse_option): Remove unused vars.
3309130561Sobrien	(md_apply_fix3): Fix format strings, cast args.
3310130561Sobrien	(tc_gen_reloc): Delete unused var.
3311130561Sobrien	* config/tc-mcore.h (tc_coff_sizemachdep): Declare.
3312130561Sobrien	* config/tc-mn10200.c (md_parse_option <c, arg>): Add ATTRIBUTE_UNUSED.
3313130561Sobrien	(md_undefined_symbol <name>): Likewise.
3314130561Sobrien	(md_convert_frag <abfd>): Likewise.
3315130561Sobrien	(tc_gen_reloc <seg>): Likewise.
3316130561Sobrien	(check_operand <insn>): Likewise.
3317130561Sobrien	(md_convert_frag): Fix format strings.
3318130561Sobrien	(tc_gen_reloc): Delete fx_addsy - fx_subsy code.
3319130561Sobrien	* config/tc-openrisc.c (ignore_pseudo): Prototype.
3320130561Sobrien	(md_atof): Remove declaration of atof_ieee.
3321130561Sobrien	* config/tc-or32.c (parse_operand): Prototype non-BFD too.
3322130561Sobrien	(md_apply_fix3): Fix bogus >>='s.
3323130561Sobrien	(md_undefined_symbol): Delete unused var.
3324130561Sobrien	* config/tc-pj.c (little, big, parse_exp_save_ilp): Prototype.
3325130561Sobrien	(c_to_r, ipush_code, fake_opcode, alias): Likewise.
3326130561Sobrien	(fake_opcode): Adjust for pj_opc_int_t change.
3327130561Sobrien	(md_begin): Likewise.
3328130561Sobrien	(md_assemble): Likewise.
3329130561Sobrien	(ipush_code): Correct parse_exp_save_ilp call.  Test pending_reloc
3330130561Sobrien	instead of non-existent third arg of parse_exp_save_ilp.
3331130561Sobrien	(md_parse_option): Correct "little" and "big" calls.
3332130561Sobrien	* config/tc-sparc.c (s_register): Only declare #ifdef OBJ_ELF.
3333130561Sobrien	(md_apply_fix3 <segment>): Add ATTRIBUTE_UNUSED.
3334130561Sobrien	(tc_gen_reloc <section>): Likewise.
3335130561Sobrien	* config/tc-tic30.c: #include stdarg.h or varargs.h.
3336130561Sobrien	(debug): Rewrite using VA_* macros.
3337130561Sobrien	(md_estimate_size_before_relax): Add ATTRIBUTE_UNUSED to args.
3338130561Sobrien	(md_convert_frag): Likewise.
3339130561Sobrien	(md_parse_option): Likewise.
3340130561Sobrien	(md_show_usage): Likewise.
3341130561Sobrien	(md_undefined_symbol): Likewise.
3342130561Sobrien	(tc_gen_reloc): Likewise.
3343130561Sobrien	(md_operand): Likewise.
3344130561Sobrien	(tc_aout_pre_write_hook): Delete.
3345130561Sobrien	(struct tic30_insn): Make "operands" unsigned.
3346130561Sobrien	(struct tic30_par_insn): Likewise.
3347130561Sobrien	(md_assemble): Likewise for "count", "i" and "numops".
3348130561Sobrien	(tic30_parallel_insn): Likewise for vars here.
3349130561Sobrien	(tic30_operand): Likewise.  Remove useless unsigned >= 0 comparison.
3350130561Sobrien	* config/tc-tic30.h (tc_aout_pre_write_hook): Define as empty.
3351130561Sobrien	* config/tc-tic80.c (obj_coff_section): Delete declaration.
3352130561Sobrien	(md_estimate_size_before_relax): Add ATTRIBUTE_UNUSED on args.
3353130561Sobrien	(md_undefined_symbol): Likewise.
3354130561Sobrien	(md_parse_option): Likewise.
3355130561Sobrien	(md_convert_frag): Likewise.
3356130561Sobrien	(tc_coff_symbol_emit_hook): Likewise.
3357130561Sobrien	(md_atof): Remove declaration of atof_ieee.
3358130561Sobrien	(const_overflow): Warning fixes, tidy.
3359130561Sobrien	(get_operands): Delete unused vars.
3360130561Sobrien	(internal_error_a): Adjust format string to expect a long for arg.
3361130561Sobrien	(find_opcode): Warning fixes, simplify.
3362130561Sobrien	(build_insn): Cast internal_error_a arg.
3363130561Sobrien	(md_begin): Likewise.
3364130561Sobrien	(md_apply_fix3): Likewise.
3365130561Sobrien	(md_assemble): Delete unused var.
3366130561Sobrien	* config/tc-tic80.h (tc_coff_fix2rtype): Prototype.
3367130561Sobrien	* config/tc-z8k.c (cons, obj_coff_section): Delete declarations.
3368130561Sobrien	(whatreg, parse_reg, parse_exp): Make static, prototype.
3369130561Sobrien	(checkfor, regword, regaddr, get_ctrl_operand): Prototype.
3370130561Sobrien	(get_flags_operand, get_interrupt_operand, get_cc_operand): Likewise.
3371130561Sobrien	(get_operand, get_operands, get_specific, newfix): Likewise.
3372130561Sobrien	(apply_fix, build_bytes): Likewise.
3373130561Sobrien	(md_atof): Remove declaration of atof_ieee.
3374130561Sobrien	(tc_aout_fix_to_chars): Delete.
3375130561Sobrien	(md_begin): Constify "opcode".  Don't try to init opcode->idx.
3376130561Sobrien	Fix s_unseg call.
3377130561Sobrien	(md_parse_option): Fix s_segm and s_unseg calls.
3378130561Sobrien
3379130561Sobrien2002-12-12  Alexandre Oliva  <aoliva@redhat.com>
3380130561Sobrien
3381130561Sobrien	* tc-mips.c (RELAX_BRANCH_ENCODE): Remove reloc_s2 argument.
3382130561Sobrien	Adjust callers.
3383130561Sobrien	(RELAX_BRANCH_RELOC_S2): Delete.
3384130561Sobrien	(append_insn): Use only BFD_RELOC_16_PCREL_S2 for branches.
3385130561Sobrien	Do not handle BFD_RELOC_16_PCREL.
3386130561Sobrien	(macro_build, mips_ip): Likewise.
3387130561Sobrien	(md_pcrel_from): Return 4 for undefined symbols regardless of
3388130561Sobrien	mips_pic.
3389130561Sobrien	(md_apply_fix3): Use only BFD_RELOC_16_PCREL_S2 for branches.
3390130561Sobrien	Don't dereference howto if no such relocation is available.
3391130561Sobrien	Do not apply hack for in-place zero addend in NEWABI.
3392130561Sobrien	(md_convert_frag): Use only BFD_RELOC_16_PCREL_S2 for branches.
3393130561Sobrien
3394130561Sobrien2002-12-12  Alexandre Oliva  <aoliva@redhat.com>,
3395130561Sobrien	    Alan Modra  <amodra@bigpond.net.au>
3396130561Sobrien
3397130561Sobrien	* config/tc-mn10300.h (TC_VALIDATE_FIX_SUB): Define.
3398130561Sobrien	(TC_LINKRELAX_FIXUP): Add comments.
3399130561Sobrien
3400130561Sobrien2002-12-12  Alexandre Oliva  <aoliva@redhat.com>
3401130561Sobrien
3402130561Sobrien	* config/tc-mn10300.c (set_arch_mach): Change argument type to
3403130561Sobrien	avoid warnings.
3404130561Sobrien	(r_register_name, xr_register_name): Add prototype declarations.
3405130561Sobrien
3406130561Sobrien2002-12-08  H.J. Lu <hjl@gnu.org>
3407130561Sobrien
3408130561Sobrien	* config/tc-ia64.c (md_apply_fix3): Remove the PCREL hack
3409130561Sobrien	copied from tc-i386.c.
3410130561Sobrien
3411130561Sobrien2002-12-08  Stephane Carrez  <stcarrez@nerim.fr>
3412130561Sobrien
3413130561Sobrien	Fix Bug savannah/1825:
3414130561Sobrien	* config/tc-m68hc11.c (STATE_INDEXED_PCREL): New relax code.
3415130561Sobrien	(md_relax_table): Define specific relax for PC-rel offsets.
3416130561Sobrien	(build_indexed_byte): Use a STATE_INDEXED_PCREL relax code.
3417130561Sobrien	(m68hc11_relax_frag): Handle the new relax code.
3418130561Sobrien	(md_convert_frag): Likewise.
3419130561Sobrien	(md_estimate_size_before_relax): Likewise.
3420130561Sobrien
3421130561Sobrien2002-12-08  Alan Modra  <amodra@bigpond.net.au>
3422130561Sobrien
3423130561Sobrien	* subsegs.c (section_symbol): Use the symbol, not the section, name.
3424130561Sobrien
3425130561Sobrien2002-12-05  Richard Henderson  <rth@redhat.com>
3426130561Sobrien
3427130561Sobrien	* config/ia64.c (enum reloc_func): Add FUNC_LT_RELATIVE_X.
3428130561Sobrien	(ia64_gen_real_reloc_type): Handle it.
3429130561Sobrien	(pseudo_func): Add @ltoffx.
3430130561Sobrien	(md_begin): Build .<ltoffx>.
3431130561Sobrien	(ia64_force_relocation): True for LTOFF22X and LDXMOV.
3432130561Sobrien
3433130561Sobrien2002-12-05  Alan Modra  <amodra@bigpond.net.au>
3434130561Sobrien
3435130561Sobrien	* config/tc-arm.c (arm_force_relocation): Move out of #if OBJ_ELF.
3436130561Sobrien	Move OBJ_COFF TC_FORCE_RELOCATION code here so that COFF handles
3437130561Sobrien	ARM_IMMEDIATE and ARM_ADRL_IMMEDIATE relocs as for ELF.
3438130561Sobrien	* config/tc-arm.h (TC_FORCE_RELOCATION): Define for both ELF and
3439130561Sobrien	COFF to call arm_force_relocation.
3440130561Sobrien
3441130561Sobrien2002-12-04  David Mosberger  <davidm@hpl.hp.com>
3442130561Sobrien
3443130561Sobrien	* config/tc-ia64.c (pseudo_func): Add "@pause" constant for "hint"
3444130561Sobrien	instruction.
3445130561Sobrien	(emit_one_bundle): Handle "hint" instruction.
3446130561Sobrien	(operand_match): Match IA64_OPND_AR_CSD.
3447130561Sobrien
3448130561Sobrien2002-12-04  Alan Modra  <amodra@bigpond.net.au>
3449130561Sobrien
3450130561Sobrien	* dwarf2dbg.c (scale_addr_delta): Correct parameter.  Move prototype
3451130561Sobrien	inside #if.
3452130561Sobrien
3453130561Sobrien2002-12-03  Nick Clifton  <nickc@redhat.com>
3454130561Sobrien
3455130561Sobrien	* config/tc-ppc.c (ppc_cleanup): Do not set SEC_MERGE flag on
3456130561Sobrien	.PPC.EMB.apuinfo sections.
3457130561Sobrien
3458130561Sobrien2002-12-03  Richard Henderson  <rth@redhat.com>
3459130561Sobrien
3460130561Sobrien	* config/tc-ia64.c (operand_match): Add IA64_OPND_LDXMOV case.
3461130561Sobrien
3462130561Sobrien2002-12-03  Alan Modra  <amodra@bigpond.net.au>
3463130561Sobrien
3464130561Sobrien	* config/tc-w65.c (s_longa): Prototype.  Make static, specify int arg.
3465130561Sobrien	(cons, s_align_bytes): Delete declaration.
3466130561Sobrien	(relax): Delete.
3467130561Sobrien	(md_begin): Constify "struct opinfo *" var.  Don't try to make "name"
3468130561Sobrien	strings common.
3469130561Sobrien	(dot): Delete unused function.
3470130561Sobrien	(w65_expression): Remove unused arg.
3471130561Sobrien	(parse_exp): Prototype.  Remove unused arg.  Adjust w65_expression
3472130561Sobrien	call.
3473130561Sobrien	(get_operands): Prototype.  Constify "struct opinfo *" arg.  Fix
3474130561Sobrien	parse_exp call.
3475130561Sobrien	(get_specific): Prototype.  Constify "struct opinfo *" arg and return
3476130561Sobrien	value.
3477130561Sobrien	(check): Remove unused function.
3478130561Sobrien	(build_Mytes): Prototype.  Constify "struct opinfo *" arg.  Abort
3479130561Sobrien	on unhandled switch case.
3480130561Sobrien	(md_assemble): Remove unused op_start, op_end, nlen, p vars.  Constify
3481130561Sobrien	"opcode".
3482130561Sobrien	(tc_crawl_symbol_chain): Delete unused function.
3483130561Sobrien	(tc_headers_hook): Likewise.
3484130561Sobrien	(tc_Nout_fix_to_chars): Likewise.
3485130561Sobrien	(md_undefined_symbol): Add ATTRIBUTE_UNUSED.
3486130561Sobrien	(md_parse_option): Likewise.
3487130561Sobrien	(md_convert_frag): Likewise.
3488130561Sobrien	(tc_coff_symbol_emit_hook): Likewise.
3489130561Sobrien	(md_show_usage): Likewise.
3490130561Sobrien	* config/tc-w65.h (tc_coff_sizemachdep): Declare.
3491130561Sobrien	(TC_PARSE_CONS_EXPRESSION): w65_expression takes one arg.
3492130561Sobrien	(w65_expression): Declare.
3493130561Sobrien
3494130561Sobrien	* po/POTFILES.in: Regenerate.
3495130561Sobrien
3496130561Sobrien	* config/tc-arm.c (arm_force_relocation): Return 0 for ARM_IMMEDIATE
3497130561Sobrien	and ARM_ADRL_IMMEDIATE.
3498130561Sobrien
3499130561Sobrien2002-12-02  Nick Clifton  <nickc@redhat.com>
3500130561Sobrien
3501130561Sobrien	* gasp.c: Delete.  It has been deprecated.
3502130561Sobrien	* NEWS: Mention that gasp has been removed.
3503130561Sobrien	* Makefile.am: Remove references to gasp.
3504130561Sobrien	* makefile.vms: Likewise.
3505130561Sobrien	* mpw-make.sed: Likewise.
3506130561Sobrien	* Makeile.in: Regenerate.
3507130561Sobrien	* doc/gasp.texi: Delete.
3508130561Sobrien	* doc/Makefile.am: Remove references to gasp.texi.
3509130561Sobrien	* doc/Makefile.in: Regenerate.
3510130561Sobrien	* macro.c: Delete references to gasp.
3511130561Sobrien	Remove use of comment_char function parameter as it is no longer
3512130561Sobrien	needed.
3513130561Sobrien	* macro.h: Update prototypes to remove comment_char parameter.
3514130561Sobrien	Fix formatting.
3515130561Sobrien	* read.c (read_a_source_file, s_irp): Remove comment_char
3516130561Sobrien	parameter from invocation of functions in macro.c
3517130561Sobrien
3518130561Sobrien2002-12-02  Hans-Peter Nilsson  <hp@axis.com>
3519130561Sobrien
3520130561Sobrien	* read.c (emit_expr) [!WORKING_DOT_WORD]: Initialize x->use_jump.
3521130561Sobrien
3522130561Sobrien2002-12-01  Stephane Carrez  <stcarrez@nerim.fr>
3523130561Sobrien
3524130561Sobrien	* config/tc-m68hc11.c (md_begin): Fix qsort warning.
3525130561Sobrien	(tc_gen_reloc): Mark section param as not used.
3526130561Sobrien
3527130561Sobrien2002-12-01  Stephane Carrez  <stcarrez@nerim.fr>
3528130561Sobrien
3529130561Sobrien	Fix Bug savannah/1825:
3530130561Sobrien	* config/tc-m68hc11.h (md_relax_frag): Define to support relaxations
3531130561Sobrien	that are not pc-relative.
3532130561Sobrien	(m68hc11_relax_frag): Declare.
3533130561Sobrien
3534130561Sobrien	* config/tc-m68hc11.c (build_indexed_byte): Use a frag_var to handle
3535130561Sobrien	the offsetable indexed addressing modes (n,r).
3536130561Sobrien	(build_insn): Cleanup some locals.
3537130561Sobrien	(m68hc11_relax_frag): New function imported from tc-cris.c to handle
3538130561Sobrien	relaxation of difference between two symbols of same section.
3539130561Sobrien	(md_convert_frag): For INDEXED_OFFSET relaxs, use the displacement
3540130561Sobrien	only when this is a PC-relative operand and the offset is not absolute.
3541130561Sobrien	(md_estimate_size_before_relax): Convert the INDEXED_OFFSET,UNDEF frag
3542130561Sobrien	to INDEXED_OFFSET,STATE_BITS5 when the symbol is absolute; this will
3543130561Sobrien	be handled by m68hc11_relax_frag.
3544130561Sobrien
3545130561Sobrien2002-12-01  Stephane Carrez  <stcarrez@nerim.fr>
3546130561Sobrien
3547130561Sobrien	* config/tc-m68hc11.c (elf_flags): Set default ABI to gcc default
3548130561Sobrien	(32-bit int, 64-bit double).
3549130561Sobrien	(md_longopts): New options -mshort, -mlong, -mshort-double and
3550130561Sobrien	-mlong-double to control the ABI.
3551130561Sobrien	(md_show_usage): Update.
3552130561Sobrien	(md_parse_option): Handle new options.
3553130561Sobrien	* doc/as.texinfo (Overview): Document new options for HC11/HC12.
3554130561Sobrien
3555130561Sobrien2002-12-01  Nathan Sidwell  <nathan@codesourcery.com>
3556130561Sobrien
3557130561Sobrien	* symbols.c (report_op_error): New function, broken out of ...
3558130561Sobrien	(resolve_symbol_value): ... here. Use for both monadic and dyadic
3559130561Sobrien	operators.
3560130561Sobrien
3561130561Sobrien2002-11-30  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3562130561Sobrien
3563130561Sobrien	* config/tc-sh.c (md_apply_fix3): Take account of fx_offset
3564130561Sobrien	for BFD_RELOC_32_PLT_PCREL.
3565130561Sobrien
3566130561Sobrien2002-11-30  Alan Modra  <amodra@bigpond.net.au>
3567130561Sobrien
3568130561Sobrien	* dwarf2dbg.c, write.c, config/obj-aout.c, config/obj-coff.c,
3569130561Sobrien	config/obj-ecoff.c, config/obj-elf.c, config/obj-som.c,
3570130561Sobrien	config/tc-arm.c, config/tc-arm.h, config/tc-avr.c, config/tc-cris.c,
3571130561Sobrien	config/tc-d10v.c, config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h,
3572130561Sobrien	config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.c, config/tc-fr30.h,
3573130561Sobrien	config/tc-frv.c, config/tc-frv.h, config/tc-hppa.c, config/tc-i370.c,
3574130561Sobrien	config/tc-i386.c, config/tc-i386.h, config/tc-m32r.c,
3575130561Sobrien	config/tc-m68hc11.c, config/tc-mcore.c, config/tc-mcore.h,
3576130561Sobrien	config/tc-mips.c, config/tc-mips.h, config/tc-mn10200.c,
3577130561Sobrien	config/tc-mn10300.c, config/tc-mn10300.h, config/tc-openrisc.c,
3578130561Sobrien	config/tc-openrisc.h, config/tc-ppc.c, config/tc-s390.c,
3579130561Sobrien	config/tc-sh.c, config/tc-sh.h, config/tc-sh64.c, config/tc-tic54x.c,
3580130561Sobrien	config/tc-v850.c, config/tc-v850.h, config/tc-xstormy16.c,
3581130561Sobrien	config/tc-xstormy16.h: Replace boolean with bfd_boolean, true with
3582130561Sobrien	TRUE, false with FALSE.  Simplify comparisons of bfd_boolean vars with
3583130561Sobrien	TRUE/FALSE.  Formatting.
3584130561Sobrien
3585130561Sobrien2002-11-29  Nick Clifton  <nickc@redhat.com>
3586130561Sobrien
3587130561Sobrien	* config/tc-arm.c (do_t_bkpt): If no operand is specified,
3588130561Sobrien	assume a value of zero.
3589130561Sobrien	(do_bkpt): Likewise.
3590130561Sobrien
3591130561Sobrien2002-11-29  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3592130561Sobrien
3593130561Sobrien	* config/tc-sh.c (md_apply_fix3): Call S_SET_THREAD_LOCAL
3594130561Sobrien	for TLS relocations.
3595130561Sobrien
3596130561Sobrien2002-11-29  Jakub Jelinek  <jakub@redhat.com>
3597130561Sobrien
3598130561Sobrien	* config/tc-ia64.c (md_apply_fix3): Add default case.
3599130561Sobrien
3600130561Sobrien2002-11-28  Jakub Jelinek  <jakub@redhat.com>
3601130561Sobrien
3602130561Sobrien	* symbols.c (S_SET_THREAD_LOCAL): New function.
3603130561Sobrien	* symbols.h (S_SET_THREAD_LOCAL): New prototype.
3604130561Sobrien	* config/tc-i386.c (md_apply_fix3): Call S_SET_THREAD_LOCAL
3605130561Sobrien	for TLS relocations.
3606130561Sobrien	* config/tc-ia64.c (md_apply_fix3): Likewise.
3607130561Sobrien	* config/tc-alpha.c (md_apply_fix3): Likewise.
3608130561Sobrien
3609130561Sobrien2002-11-28  Jakub Jelinek  <jakub@redhat.com>
3610130561Sobrien
3611130561Sobrien	* write.c (subsegs_finish): For SEC_MERGE sections pad last fragment
3612130561Sobrien	to entsize.
3613130561Sobrien
3614130561Sobrien2002-11-26  DJ Delorie  <dj@redhat.com.
3615130561Sobrien
3616130561Sobrien	* dwarf2dbg.c (scale_addr_delta): New.
3617130561Sobrien	(size_inc_line_addr): Use it.
3618130561Sobrien	(emit_inc_line_addr): Use it.
3619130561Sobrien
3620130561Sobrien2002-11-26  Hans-Peter Nilsson  <hp@axis.com>
3621130561Sobrien
3622130561Sobrien	* config/tc-cris.c (cris_relax_frag): Fix typo in comment.
3623130561Sobrien	(md_assemble): Don't pass on branches to constants as relaxable.
3624130561Sobrien	Tweak comment.
3625130561Sobrien
3626130561Sobrien2002-11-25  Svein E. Seldal  <Svein.Seldal@solidas.com>
3627130561Sobrien
3628130561Sobrien	* config/tc-tic4x.c (c4x_operands_match): Bugfix in direct mode
3629130561Sobrien
3630130561Sobrien2002-11-21  Randolph Chung  <randolph@tausq.org>
3631130561Sobrien
3632130561Sobrien	* config/tc-hppa.h (tc_frob_symbol): Frob undefined unused symbols
3633130561Sobrien	only if they have default visibility.
3634130561Sobrien
3635130561Sobrien2002-11-21  Richard Henderson  <rth@redhat.com>
3636130561Sobrien
3637130561Sobrien	* config/tc-alpha.c (alpha_fix_adjustable): Remove redundant
3638130561Sobrien	S_IS_DEFINED test.
3639130561Sobrien
3640130561Sobrien2002-11-21  Alan Modra  <amodra@bigpond.net.au>
3641130561Sobrien
3642130561Sobrien	* config/tc-mcore.c (mcore_pool_count): New function.
3643130561Sobrien	(mcore_cons, mcore_float_cons, mcore_stringer, mcore_fill): Use it.
3644130561Sobrien
3645130561Sobrien2002-11-20  Klee Dienes  <kdienes@apple.com>
3646130561Sobrien
3647130561Sobrien	* config/tc-mcore.c (md_begin): Use a const iterator.  Don't
3648130561Sobrien	coalesce the name fields to use the same pointer.
3649130561Sobrien
3650130561Sobrien	* config/tc-sh.c (md_begin): Use a const iterator.  Don't coalesce
3651130561Sobrien	the name fields to use the same pointer.
3652130561Sobrien	(get_specific): Check for opcodes with the same name using strcmp
3653130561Sobrien	as well as comparing the pointer.
3654130561Sobrien
3655130561Sobrien2002-11-20  Alan Modra  <amodra@bigpond.net.au>
3656130561Sobrien
3657130561Sobrien	* write.c (adjust_reloc_syms): Don't reduce SEC_MERGE fixups with
3658130561Sobrien	fx_subsy non-NULL.
3659130561Sobrien
3660130561Sobrien2002-11-19  Richard Henderson  <rth@redhat.com>
3661130561Sobrien
3662130561Sobrien	* config/obj-elf.c (obj_elf_visibility): Overwrite only the
3663130561Sobrien	visibility portion of st_other.
3664130561Sobrien
3665130561Sobrien2002-11-19  Klee Dienes  <kdienes@apple.com>
3666130561Sobrien
3667130561Sobrien	* config/tc-h8300.c (struct h8_instruction): New type, used to
3668130561Sobrien	wrap h8_opcodes with length, noperands, idx, and size fields
3669130561Sobrien	(computed at run-time).
3670130561Sobrien	(h8_instructions): New variable.
3671130561Sobrien	(md_begin): Allocate the storage for h8_instructions.  Fill
3672130561Sobrien	h8_instructions with pointers to the appropriate opcode and the
3673130561Sobrien	correct value for the additional fields.
3674130561Sobrien	(clever_message): Update to use h8_instructions instead of
3675130561Sobrien	h8_opcodes.
3676130561Sobrien	(build_bytes): Ditto.
3677130561Sobrien	(get_specific): Ditto.
3678130561Sobrien	(md_assemble): Ditto.
3679130561Sobrien
3680130561Sobrien2002-11-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3681130561Sobrien
3682130561Sobrien	* config/tc-s390.c (tc_s390_fix_adjustable): Re-add patch to prevent
3683130561Sobrien	adjustments to symbols in merge sections.
3684130561Sobrien
3685130561Sobrien2002-11-19  Luke Deller <luked@cse.unsw.edu.au>
3686130561Sobrien
3687130561Sobrien	* config/tc-alpha.c (s_alpha_prologue): as_bad when sym is NULL.
3688130561Sobrien
3689130561Sobrien2002-11-18  Kevin Buettner  <kevinb@redhat.com>
3690130561Sobrien
3691130561Sobrien	* dwarf2dbg.h (dwarf2_format): New enum.
3692130561Sobrien	* dwarf2dbg.c (DWARF2_FORMAT): Provide default definition.
3693130561Sobrien	(out_debug_line, out_debug_info): Add code for handling 64-bit
3694130561Sobrien	DWARF 2 formats.
3695130561Sobrien	* config/tc-mips.h (mips_dwarf2_format): Declare.
3696130561Sobrien	* config/tc-mips.c (mips_dwarf2_format): New function.
3697130561Sobrien	* doc/internals.texi (DWARF2_FORMAT): Document.
3698130561Sobrien
3699130561Sobrien2002-11-18  Alexandre Oliva  <aoliva@redhat.com>
3700130561Sobrien
3701130561Sobrien	* config/tc-mips.c (s_change_section): Make sure input buffer
3702130561Sobrien	is not accessed past the end.  Don't hand
3703130561Sobrien	obj_elf_change_section a pointer into the input buffer.
3704130561Sobrien
3705130561Sobrien2002-11-18  Alexandre Oliva  <aoliva@redhat.com>, Chris Demetriou  <cgd@broadcom.com>
3706130561Sobrien
3707130561Sobrien	* config/tc-mips.c (tc_gen_reloc): Fix typo in handling of
3708130561Sobrien	GOT_LO16 on NEWABI.
3709130561Sobrien
3710130561Sobrien2002-11-18  Svein E. Seldal  <Svein.Seldal@solidas.com>
3711130561Sobrien
3712130561Sobrien	* config/tc-tic4x.c: Fixed proper commandline
3713130561Sobrien	parameters. Added support for new opcode-list format. General
3714130561Sobrien	error message fixups.
3715130561Sobrien	(c4x_inst_add): Reject insn not for our CPU
3716130561Sobrien	(md_begin): Added matrix for setting the proper opcode-level &
3717130561Sobrien	device-flags according to cpu type and revision. Rewrite the
3718130561Sobrien	opcode hasher.
3719130561Sobrien	(c4x_operand_parse): Fix opcode bug
3720130561Sobrien	(c4x_operands_match): New function argument. Added dry-run
3721130561Sobrien	mechanism, that is optional error generation. Added constraint 'i'
3722130561Sobrien	and 'j'.
3723130561Sobrien	(c4x_insn_check): Added new function for post-verification of the
3724130561Sobrien	generated insn.
3725130561Sobrien	(md_assemble): Check all opcodes before croaking because of an
3726130561Sobrien	argument mismatch. Need this to be able to fully support
3727130561Sobrien	ortogonally arguments.
3728130561Sobrien	(md_parse_options): Revised commandprompt swicthes and added new
3729130561Sobrien	ones.
3730130561Sobrien	(md_show_usage): Complete rewrite of printout.
3731130561Sobrien
3732130561Sobrien2002-11-16  Svein E. Seldal  <Svein.Seldal@solidas.com>
3733130561Sobrien
3734130561Sobrien	* config/tc-tic4x.c: Remove c4x_pseudo_ignore function.
3735130561Sobrien	  (c4x_operands_match): Added check for 8-bits LDF insn. Give
3736130561Sobrien	  warning when using constant direct bigger than 2^16. Add the new
3737130561Sobrien	  arguments.
3738130561Sobrien
3739130561Sobrien2002-11-11  Christopher Faylor  <cgf@redhat.com>
3740130561Sobrien
3741130561Sobrien	* configure.in: Use .gdbinit under Cygwin.
3742130561Sobrien	* configure: Regenerate.
3743130561Sobrien
3744130561Sobrien2002-11-11  Christopher Faylor  <cgf@redhat.com>
3745130561Sobrien
3746130561Sobrien	* config/tc-i386.h (EXTERN_FORCE_RELOC): Define only if
3747130561Sobrien	STRICT_PE_FORMAT.
3748130561Sobrien
3749130561Sobrien2002-11-11  Svein E. Seldal  <Svein.Seldal@solidas.com>
3750130561Sobrien
3751130561Sobrien	* config/tc-tic4x.c: Declare as many functions as possible as
3752130561Sobrien	static. Maintenance on the general indenting. Removed unnecessary
3753130561Sobrien	pseudo-ops and added new ones. Removed obsoleted c4x_pseudo_ignore
3754130561Sobrien	function. Add support for new DSP, TMS320VC33. Fix bug for
3755130561Sobrien	converting flonum constants.
3756130561Sobrien	(c4x_do_align): Add proper align handling. Setup align to insert
3757130561Sobrien	NOP's.
3758130561Sobrien	(c4x_gen_to_words): Support for extended TI type floats.
3759130561Sobrien	(md_atof): Proper dumping of multiple-word littlenums.
3760130561Sobrien	(c4x_atof): Added support for extended TI type floats.
3761130561Sobrien	(c4x_stringer): Added new function to handle compact strings.
3762130561Sobrien	(c4x_emit_char): Added new function argument to handle custom
3763130561Sobrien	length inserts, like single-byte strings.
3764130561Sobrien	* config/tc-tic4x.h: Add proper align handling with NOP's.
3765130561Sobrien	* Makefile.am: Added tic4x dependecy
3766130561Sobrien	* Makefile.in: Regenerate
3767130561Sobrien
3768130561Sobrien2002-11-11  Hans-Peter Nilsson  <hp@bitrange.com>
3769130561Sobrien
3770130561Sobrien	* macro.c (get_any_string): Correct logic for not going beyond end
3771130561Sobrien	of in->ptr[].
3772130561Sobrien
3773130561Sobrien2002-11-10  Hans-Peter Nilsson  <hp@bitrange.com>
3774130561Sobrien
3775130561Sobrien	* config/tc-mmix.c (get_putget_operands): Mark both possible
3776130561Sobrien	operands as invalid at beginning.
3777130561Sobrien
3778130561Sobrien	* config/tc-mmix.c (md_convert_frag) <case STATE_GREG_DEF>:
3779130561Sobrien	Initialize target of fixup to zero.
3780130561Sobrien
3781130561Sobrien2002-11-07  Alexandre Oliva  <aoliva@redhat.com>
3782130561Sobrien
3783130561Sobrien	* config/tc-mips.c (macro_build_lui): _gp_disp is not special on
3784130561Sobrien	NEWABI, but we should still emit HI16_S for non-PIC n32.
3785130561Sobrien
3786130561Sobrien2002-11-06  Richard Henderson  <rth@redhat.com>
3787130561Sobrien
3788130561Sobrien	* config/tc-alpha.c (alpha_validate_fix): Move code ...
3789130561Sobrien	(alpha_fix_adjustable): ... here.
3790130561Sobrien	* config/tc-alpha.h (TC_VALIDATE_FIX): Remove.
3791130561Sobrien
3792130561Sobrien2002-11-07  Eric Kohl  <ekohl@rz-online.de>
3793130561Sobrien
3794130561Sobrien	* config/te-pe.h (LEX_AT): Accept at-sign (@) as first character
3795130561Sobrien	of a label.
3796130561Sobrien
3797130561Sobrien2002-11-05  H.J. Lu <hjl@gnu.org>
3798130561Sobrien
3799130561Sobrien	* config/tc-mips.c (support_64bit_objects): Check *l before it
3800130561Sobrien	is freed.
3801130561Sobrien
3802130561Sobrien2002-11-04  Danny Smith  <dannysmith@users.sourceforge.net>
3803130561Sobrien
3804130561Sobrien	* config/obj-coff.c (obj-coff-section): Set SEC_DATA and
3805130561Sobrien	SEC_LOAD flags for sections marked as 's'.
3806130561Sobrien
3807130561Sobrien2002-11-01  Alan Modra  <amodra@bigpond.net.au>
3808130561Sobrien
3809130561Sobrien	* write.c (TC_FORCE_RELOCATION_SUB_ABS): Default to zero.
3810130561Sobrien	(TC_FORCE_RELOCATION_SUB_LOCAL): Likewise when DIFF_EXPR_OK.
3811130561Sobrien	* doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS): Document changed
3812130561Sobrien	default.
3813130561Sobrien
3814130561Sobrien	* dep-in.sed: Fix typo.
3815130561Sobrien
3816130561Sobrien2002-10-30  Daniel Jacobowitz  <drow@mvista.com>
3817130561Sobrien
3818130561Sobrien	* configure.in: Update ARM CPU patterns.
3819130561Sobrien	* configure: Regenerated.
3820130561Sobrien
3821130561Sobrien2002-10-29  Daniel Jacobowitz  <drow@mvista.com>
3822130561Sobrien
3823130561Sobrien	* itbl-lex.l: Use #include <> for generated headers.
3824130561Sobrien	* itbl-ops.c: Likewise.
3825130561Sobrien
3826130561Sobrien2002-10-28  Daniel Jacobowitz  <drow@mvista.com>
3827130561Sobrien
3828130561Sobrien	* doc/gasp.texi: Fix typo in deprecation note.
3829130561Sobrien
3830130561Sobrien2002-10-23  Nick Clifton  <nickc@redhat.com>
3831130561Sobrien
3832130561Sobrien	* config/tc-arm.c (tc_gen_reloc): Allow an absolute reference to
3833130561Sobrien	_GLOBAL_TABLE_OFFSET_ to be converted into a GOT reloc.
3834130561Sobrien
3835130561Sobrien2002-10-23  Hans-Peter Nilsson  <hp@bitrange.com>
3836130561Sobrien
3837130561Sobrien	* config/tc-mmix.h (mmix_frob_file_before_adjust): Don't declare.
3838130561Sobrien	(tc_frob_file_before_adjust): Don't define.
3839130561Sobrien	* config/tc-mmix.c (mmix_frob_local_reloc): Remove unused
3840130561Sobrien	function.
3841130561Sobrien	(mmix_frob_file_before_adjust): Remove ineffective function.
3842130561Sobrien
3843130561Sobrien2002-10-23  Hans-Peter Nilsson  <hp@axis.com>
3844130561Sobrien
3845130561Sobrien	* config/tc-cris.c (SIMPLE_EXPR): New macro.
3846130561Sobrien	(cris_relax_frag): New function.
3847130561Sobrien	(md_estimate_size_before_relax) <case ENCODE_RELAX
3848130561Sobrien	(STATE_BASE_PLUS_DISP_PREFIX, STATE_UNDF)>: Pass on unresolved
3849130561Sobrien	expressions that will become absolute expressions to relaxation.
3850130561Sobrien	(md_convert_frag) <case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX,
3851130561Sobrien	STATE_WORD)>: Expect only absolute expressions.  Use the symbol
3852130561Sobrien	value, not distance to symbol.
3853130561Sobrien	<case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX, STATE_BYTE)>:
3854130561Sobrien	Ditto.  Correct placement of fixup.
3855130561Sobrien	(md_assemble): Use SIMPLE_EXPR when dissecting expressions.
3856130561Sobrien	(gen_bdap): Ditto.
3857130561Sobrien	* config/tc-cris.h (cris_relax_frag): Declare.
3858130561Sobrien	(md_relax_frag): Define.
3859130561Sobrien
3860130561Sobrien2002-10-22  Alan Modra  <amodra@bigpond.net.au>
3861130561Sobrien
3862130561Sobrien	* config/obj-elf.c (special_sections): Use correct types for init
3863130561Sobrien	array sections.
3864130561Sobrien	(obj_elf_change_section): Don't mess with init array section type.
3865130561Sobrien
3866130561Sobrien2002-10-21  Richard Sandiford  <rsandifo@redhat.com>
3867130561Sobrien
3868130561Sobrien	* config/tc-mips.c (mips_need_elf_addend_fixup): Return true
3869130561Sobrien	for relocs against symbols in a merged section.
3870130561Sobrien
3871130561Sobrien2002-10-18  Alexandre Oliva  <aoliva@redhat.com>
3872130561Sobrien
3873130561Sobrien	* config/tc-mips.c (md_begin): Add $fcc registers to the symbol
3874130561Sobrien	table as register names.
3875130561Sobrien
3876130561Sobrien2002-10-18  Ulrich Weigand  <uweigand@de.ibm.com>
3877130561Sobrien
3878130561Sobrien	* config/tc-s390.c (md_parse_option): Set s390_arch_size to 32
3879130561Sobrien	for option -m31.
3880130561Sobrien
3881130561Sobrien2002-10-18  Svein E. Seldal  <Svein.Seldal@solidas.com>
3882130561Sobrien
3883130561Sobrien	* expr.c (operand): Add support for n.nn flonums.
3884130561Sobrien
3885130561Sobrien2002-10-17  Johannes Stezenbach  <js@convergence.de>
3886130561Sobrien
3887130561Sobrien	* itbl-parse.y (entry): Provide empty action.
3888130561Sobrien
3889130561Sobrien2002-10-16  Alan Modra  <amodra@bigpond.net.au>
3890130561Sobrien
3891130561Sobrien	* configure.in (BFDVER_H): Set and subst.
3892130561Sobrien	* dep-in.sed: Replace bfdver.h with $(BFDVER_H).
3893130561Sobrien	* Makefile.am: Run "make dep-am".
3894130561Sobrien	(BFDVER_H): Define.
3895130561Sobrien	* configure: Regenerate.
3896130561Sobrien	* Makefile.in: Regenerate.
3897130561Sobrien	* doc/Makefile.in: Regenerate.
3898130561Sobrien
3899130561Sobrien2002-10-15  Alan Modra  <amodra@bigpond.net.au>
3900130561Sobrien
3901130561Sobrien	* config/tc-i386.h (EXTERN_FORCE_RELOC): Define.
3902130561Sobrien	(MD_APPLY_SYM_VALUE): Define for PE too.
3903130561Sobrien
3904130561Sobrien2002-10-14  Alan Modra  <amodra@bigpond.net.au>
3905130561Sobrien
3906130561Sobrien	* Makefile.am: Run "make dep-am".
3907130561Sobrien	(CPU_OBJ_VALID): sh64 coff is invalid.
3908130561Sobrien	* as.c: #include "bfdver.h".
3909130561Sobrien	* Makefile.in: Regenerate.
3910130561Sobrien	* config.in: Regenerate.
3911130561Sobrien
3912130561Sobrien2002-10-14  Momchil Velikov  <velco@fadata.bg>
3913130561Sobrien
3914130561Sobrien	* config/tc-v850.c (CHECK_): Remove token pasting operator.
3915130561Sobrien
3916130561Sobrien2002-10-14  Richard Sandiford  <rsandifo@redhat.com>
3917130561Sobrien
3918130561Sobrien	* configure.in (mips64vr-elf, mips64vrel-elf): New config.
3919130561Sobrien	* configure: Regenerate.
3920130561Sobrien
3921130561Sobrien2002-10-13  Eric Christopher  <echristo@redhat.com>
3922130561Sobrien	    Alexandre Oliva  <aoliva@redhat.com>
3923130561Sobrien
3924130561Sobrien	* config/tc-mips.c (s_gpdword): New function.
3925130561Sobrien	(mips_pseudo_table): Add .gpdword.
3926130561Sobrien	(mips_need_elf_addend_fixup): never for NEWABI.
3927130561Sobrien	(md_apply_fix3): Don't mark BFD_RELOC64 after GPREL16 or
3928130561Sobrien	GPREL32 as done.
3929130561Sobrien	(s_cpadd): Generate .cpadd on NEWABI.
3930130561Sobrien
3931130561Sobrien2002-10-12  Elias Athanasopoulos  <eathan@otenet.gr>
3932130561Sobrien
3933130561Sobrien	* config/tc-ppc.c (ppc_cleanup): Make 'i' unsigned int.
3934130561Sobrien
3935130561Sobrien2002-10-12  Alexandre Oliva  <aoliva@redhat.com>
3936130561Sobrien
3937130561Sobrien	* config/tc-mips.h (mips_relax_frag): Take segment as argument.
3938130561Sobrien	(md_relax_frag): Adjust macro.
3939130561Sobrien	* config/tc-mips.c (mips_relax_branch): New variable.
3940130561Sobrien	(RELAX_BRANCH_ENCODE, RELAX_BRANCH_P, RELAX_BRANCH_LIKELY,
3941130561Sobrien	RELAX_BRANCH_LINK, RELAX_BRANCH_TOOBAR): New.
3942130561Sobrien	(RELAX_MIPS16_P): Adjust.
3943130561Sobrien	(append_insn): Emit branch to non-constant in a frag_var if
3944130561Sobrien	branch-relaxation is desirable and possible.
3945130561Sobrien	(OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH): New options.
3946130561Sobrien	(OPTION_ELF_BASE): Adjust.
3947130561Sobrien	(md_parse_option): Handle new options.
3948130561Sobrien	(md_apply_fix3): Update comment on EMBEDDED_PIC conditional
3949130561Sobrien	branch relaxation.
3950130561Sobrien	(relaxed_branch_length): New function.
3951130561Sobrien	(md_estimate_size_before_relax): Handle branch frags.
3952130561Sobrien	(mips_relax_frag): Likewise.
3953130561Sobrien	(md_convert_frag): Handle branch frags.  Warn if branch is
3954130561Sobrien	relaxed.
3955130561Sobrien
3956130561Sobrien2002-10-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3957130561Sobrien
3958130561Sobrien	* config/tc-sh.c (sh_force_relocation): Make sure TLS relocs get
3959130561Sobrien	emitted.
3960130561Sobrien	(md_apply_fix3): Add TLS relocs.
3961130561Sobrien	(sh_parse_name): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF and
3962130561Sobrien	@DTPOFF.
3963130561Sobrien
3964130561Sobrien2002-10-11  Michel Six  <msix@ccr.jussieu.fr>
3965130561Sobrien	    Alan Modra  <amodra@bigpond.net.au>
3966130561Sobrien
3967130561Sobrien	* config/tc-i386.c (output_jump): Set fx_signed for loop/jcxz.
3968130561Sobrien	(md_estimate_size_before_relax): Likewise for 8 bit branches.
3969130561Sobrien
3970130561SobrienThu Oct 10 14:31:30 2002  J"orn Rennecke <joern.rennecke@superh.com>
3971130561Sobrien
3972130561Sobrien	* config/tc-sh.c (assemble_ppi): Initialize reg_x / reg_y / reg_n
3973130561Sobrien	inside loop.
3974130561Sobrien
3975130561Sobrien2002-10-09  Richard Shann <richard.shann@superh.com>
3976130561Sobrien	    Stephen Clarke <stephen.clarke@superh.com>
3977130561Sobrien
3978130561Sobrien	* config/tc-sh64.c (sh64_target_format): Add support for sh64
3979130561Sobrien	Linux environment.
3980130561Sobrien
3981130561Sobrien2002-10-03  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3982130561Sobrien
3983130561Sobrien	* contig/tc-sh.c (sh_local_pcrel): New.
3984130561Sobrien	(sh_force_relocation): Use sh_local_pcrel.
3985130561Sobrien	(md_pcrel_from_section): Check the relocation type whether it
3986130561Sobrien	should be resolved locally. Use S_FORCE_RELOC.
3987130561Sobrien
3988130561Sobrien2002-10-01  Alan Modra  <amodra@bigpond.net.au>
3989130561Sobrien
3990130561Sobrien	* config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define.
3991130561Sobrien	(TC_FORCE_RELOCATION): Tidy arg.
3992130561Sobrien
3993130561Sobrien2002-09-30  Gavin Romig-Koch  <gavin@redhat.com>
3994130561Sobrien	    Ken Raeburn  <raeburn@cygnus.com>
3995130561Sobrien	    Aldy Hernandez  <aldyh@redhat.com>
3996130561Sobrien	    DJ Delorie  <dj@redhat.com>
3997130561Sobrien	    Michael Meissner  <meissner@redhat.com>
3998130561Sobrien	    Eric Christopher  <echristo@redhat.com>
3999130561Sobrien	    Richard Sandiford  <rsandifo@redhat.com>
4000130561Sobrien
4001130561Sobrien	* doc/c-mips.texi: Add entries for -march=vr4120,vr4130,vr4181,
4002130561Sobrien	vr5400 and vr5500.  Add entry for -mfix-vr4122-bugs.
4003130561Sobrien	* config/tc-mips.c (CPU_HAS_DROR, CPU_HAS_ROR): New macros.
4004130561Sobrien	(hilo_interlocks): True for CPU_VR5500.
4005130561Sobrien	(gpr_interlocks, cop_interlocks): True for CPU_VR5400 and CPU_VR5500.
4006130561Sobrien	(mips_fix_vr4122_bugs): New.
4007130561Sobrien	(append_insn): Work around 4122 errors if mips_fix_vr4122_bugs.
4008130561Sobrien	(mips_emit_delays): Likewise.
4009130561Sobrien	(macro2) [M_DROLI]: Use dror or dror32 if CPU_HAS_DROR.
4010130561Sobrien	[M_ROLI]: Likewise ror if CPU_HAS_ROR.
4011130561Sobrien	(validate_mips_insn, mips_ip): Handle '[', ']', 'e' and '%'.
4012130561Sobrien	(OPTION_FIX_VR4122, OPTION_NO_FIX_VR4122): New options.
4013130561Sobrien	(md_longopts): Add -mfix-vr4122-bugs and -no-mfix-vr4122-bugs.
4014130561Sobrien	(OPTION_ELF_BASE): Bump.
4015130561Sobrien	(md_parse_option): Handle the new options.
4016130561Sobrien	(mips_cpu_info_table): Add entries for vr4120, vr4130, vr4181,
4017130561Sobrien	vr5400 and vr5500.
4018130561Sobrien
4019130561Sobrien2002-09-29  H.J. Lu <hjl@gnu.org>
4020130561Sobrien
4021130561Sobrien	* config/tc-mips.c (md_apply_fix3): Subtract the symbol value
4022130561Sobrien	twice if howto->pcrel_offset is true.
4023130561Sobrien
4024130561Sobrien2002-09-28  Matt Thomas  <matt@3am-software.com>
4025130561Sobrien	    Jason Thorpe  <thorpej@wasabisystems.com>
4026130561Sobrien
4027130561Sobrien	* config/tc-vax.c (md_estimate_size_before_relax): Only try to
4028130561Sobrien	convert undefined references to GOT32/PLT32 if PIC code is
4029130561Sobrien	requested.  Fix comment.
4030130561Sobrien
4031130561Sobrien2002-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4032130561Sobrien
4033130561Sobrien	* config/tc-sh.c (sh_force_relocation): Return 0 for
4034130561Sobrien	some PC relative relocations when not relaxing.
4035130561Sobrien
4036130561Sobrien2002-09-26  Jakub Jelinek  <jakub@redhat.com>
4037130561Sobrien
4038130561Sobrien	* config/tc-i386.c (tc_i386_fix_adjustable): Add x86-64 TLS relocs.
4039130561Sobrien	Define them if not BFD_ASSEMBLER.
4040130561Sobrien	(lex_got): Handle @tlsgd, @dtpoff and @tpoff in 64-bit mode, add
4041130561Sobrien	@tlsld.
4042130561Sobrien	(md_apply_fix3): No addend for BFD_RELOC_X86_64_TLSGD,
4043130561Sobrien	BFD_RELOC_X86_64_TLSLD and BFD_RELOC_X86_64_GOTTPOFF.
4044130561Sobrien	(tc_gen_reloc): Handle x86-64 TLS relocs.
4045130561Sobrien
4046130561Sobrien2002-09-27  Alan Modra  <amodra@bigpond.net.au>
4047130561Sobrien
4048130561Sobrien	* config/tc-avr.c (md_apply_fix3): Reinstate code handling pcrel
4049130561Sobrien	fixups to current or absolute section.
4050130561Sobrien
4051130561Sobrien2002-09-26  Jim Wilson  <wilson@redhat.com>
4052130561Sobrien
4053130561Sobrien	* config/tc-v850.c (v850_offset): Use frag_var instead of frag_now_fix
4054130561Sobrien	and frag_more.
4055130561Sobrien
4056130561Sobrien2002-09-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4057130561Sobrien
4058130561Sobrien	* config/tc-mips.c (CPU_HAS_MIPS16): Add mips-lsi-elf as MIPS16
4059130561Sobrien	capable configuration.
4060130561Sobrien	(macro_build): Check for MIPS16 capability, not for actual MIPS16 code
4061130561Sobrien	generation.
4062130561Sobrien	(mips_ip): Likewise.
4063130561Sobrien
4064130561Sobrien2002-09-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4065130561Sobrien
4066130561Sobrien	* config/tc-mips.c (append_insn): Fix jump overflow check.
4067130561Sobrien
4068130561Sobrien2002-09-24  Alan Modra  <amodra@bigpond.net.au>
4069130561Sobrien
4070130561Sobrien	* config/tc-i386.c (process_operands): Warn about "lea" segment
4071130561Sobrien	overrides.
4072130561Sobrien
4073130561Sobrien2002-09-22  Mark Elbrecht  <snowball3@softhome.net>
4074130561Sobrien
4075130561Sobrien	* write.c: Delete set_segment_vma and prototype. Update all callers.
4076130561Sobrien
4077130561Sobrien2002-09-21  Alan Modra  <amodra@bigpond.net.au>
4078130561Sobrien
4079130561Sobrien	* config/tc-i386.c (md_apply_fix3): Replace S_IS_EXTERNAL,
4080130561Sobrien	S_IS_WEAK etc. with S_FORCE_RELOC call.  Correct comment.
4081130561Sobrien	Rename "fseg" to "sym_seg".
4082130561Sobrien	* Makefile.am: Run "make dep-am".
4083130561Sobrien	* Makefile.in: Regenerate.
4084130561Sobrien	* doc/Makefile.in: Regenerate.
4085130561Sobrien
4086130561Sobrien2002-09-20  Nick Clifton  <nickc@redhat.com>
4087130561Sobrien
4088130561Sobrien	* symbols.c (colon): Do not allow symbols to be created in the
4089130561Sobrien	absolute section if WORKING_DOT_WORD is not defined and
4090130561Sobrien	new_broken_words would require a new frag to be created.
4091130561Sobrien
4092130561Sobrien2002-09-20  Alan Modra  <amodra@bigpond.net.au>
4093130561Sobrien
4094130561Sobrien	* expr.c (expr): Simplify foo-foo here.
4095130561Sobrien	(clean_up_expression): Remove O_subtract code.
4096130561Sobrien
4097130561Sobrien	* write.h (struct fix): Add fx_dot_value.
4098130561Sobrien	(dot_value): Declare.
4099130561Sobrien	* write.c (dot_value): New var.
4100130561Sobrien	(fix_new_internal): Save dot_value as fx_dot_value.
4101130561Sobrien	(fixup_segment): Adjust fx_offset using fx_dot_value.
4102130561Sobrien	* expr.c (expr): Update dot_value.
4103130561Sobrien
4104130561Sobrien2002-09-19  Jakub Jelinek  <jakub@redhat.com>
4105130561Sobrien
4106130561Sobrien	* config/tc-i386.c (tc_i386_fix_adjustable): Handle
4107130561Sobrien	BFD_RELOC_386_TLS_IE and BFD_RELOC_386_TLS_GOTIE.
4108130561Sobrien	(BFD_RELOC_386_TLS_IE, BFD_RELOC_386_TLS_GOTIE): Define to 0
4109130561Sobrien	if not defined.
4110130561Sobrien	(lex_got): Handle @GOTNTPOFF and @INDNTPOFF.
4111130561Sobrien	(md_apply_fix3, tc_gen_reloc): Handle BFD_RELOC_386_TLS_IE and
4112130561Sobrien	BFD_RELOC_386_TLS_GOTIE.
4113130561Sobrien
4114130561Sobrien2002-09-19  Richard Henderson  <rth@redhat.com>
4115130561Sobrien
4116130561Sobrien	* config/tc-alpha.c (md_pcrel_from): Only adjust special for
4117130561Sobrien	branch type relocs.
4118130561Sobrien	(alpha_force_relocation): Don't special-case branch type relocs.
4119130561Sobrien
4120130561Sobrien2002-09-19  Nick Clifton  <nickc@redhat.com>
4121130561Sobrien
4122130561Sobrien	* config/tc-m68k.c (select_control_regs): Handle situation where
4123130561Sobrien	architecture has not yet been selected.
4124130561Sobrien
4125130561Sobrien2002-09-18  Chris Demetriou  <cgd@broadcom.com>
4126130561Sobrien
4127130561Sobrien	* config/tc-mips.c (IS_SEXT_32BIT_NUM): Move closer to top of file.
4128130561Sobrien	(IS_SEXT_16BIT_NUM): New macro.
4129130561Sobrien	(macro_build_ldst_constoffset): New function, to build a set of
4130130561Sobrien	instructions to do a load or store from a constant offset relative
4131130561Sobrien	to a given register.
4132130561Sobrien	(macro, s_cprestore): Use macro_build_ldst_constoffset to implement
4133130561Sobrien	.cprestore pseudo-op.
4134130561Sobrien
4135130561Sobrien2002-09-18  Chris Demetriou  <cgd@broadcom.com>
4136130561Sobrien
4137130561Sobrien	* config/tc-mips.c (md_apply_fix3): Just return for BFD_RELOC_8.
4138130561Sobrien
4139130561Sobrien2002-09-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4140130561Sobrien
4141130561Sobrien	* config/tc-mips.c (s_change_section): Fix parsing. Code cleanup.
4142130561Sobrien
4143130561Sobrien2002-09-17  Stan Cox  <scox@redhat.com>
4144130561Sobrien
4145130561Sobrien	* tc-mips.c (load_address): Use BFD_RELOC_MIPS_GOT_DISP for newabi.
4146130561Sobrien	(macro): Likewise for la.  Likewise for ld.
4147130561Sobrien	(mips_after_parse_args): Make -xgot optional, not the default.
4148130561Sobrien	(md_apply_fix3): Allow composite relocation to set up gp.
4149130561Sobrien	(tc_gen_reloc): Allow relaxing for newabi.
4150130561Sobrien	Relax R_MIPS_CALL16 to R_MIPS_GOT_PAGE/R_MIPS_GOT_OFST if local.
4151130561Sobrien	Relax R_MIPS_GOT16/R_MIPS_LO16 to R_MIPS_GOT_DISP if local.
4152130561Sobrien
4153130561Sobrien2002-09-17  Nick Clifton  <nickc@redhat.com>
4154130561Sobrien
4155130561Sobrien	* config/tc-arm.c (md_apply_fix3): Note that an implemented
4156130561Sobrien	BFD_RELOC_ARM_IMMEDIATE has been done.
4157130561Sobrien	(tc_gen_reloc): Do not issue reloc number of unimplemented
4158130561Sobrien	BFD_RELOC_ARM_IMMEDIATE and BFD_RELOC_ARM_OFFSET_IMM relocs -
4159130561Sobrien	their name is already in the error message - plus remove them
4160130561Sobrien	from the default case.
4161130561Sobrien
4162130561Sobrien	* config/tc-arm.c (do_ldmstm): Warn about unpredictable
4163130561Sobrien	behavior of instructions.
4164130561Sobrien
4165130561Sobrien2002-09-17  Svein E. Seldal  <Svein.Seldal@solidas.com>
4166130561Sobrien
4167130561Sobrien	* config/tc-tic4x.c: Add function declarations and ATTRIBUTE_UNUSED.
4168130561Sobrien	Convert functions to K&R format.
4169130561Sobrien
4170130561Sobrien2002-09-17  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4171130561Sobrien
4172130561Sobrien	* config/tc-mips.c (pdr_seg): Define only for ELF.
4173130561Sobrien	(s_change_section): Remove unused variable. Don't use for nonELF.
4174130561Sobrien
4175130561Sobrien2002-09-17  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4176130561Sobrien
4177130561Sobrien	* config/obj-elf.c (obj_elf_change_section): Move prototype to
4178130561Sobrien	obj-elf.h
4179130561Sobrien	* config/obj-elf.h (obj_elf_change_section): Likewise.
4180130561Sobrien
4181130561Sobrien2002-09-16  Elias Athanasopoulos  <eathan@otenet.gr>
4182130561Sobrien
4183130561Sobrien	* dwarf2dbg.c (out_debug_abbrev): Add support for the DW_AT_name field.
4184130561Sobrien	(out_debug_info): Likewise.
4185130561Sobrien
4186130561Sobrien2002-09-16  Bruno Haible  <bruno@clisp.org>
4187130561Sobrien
4188130561Sobrien	* config/tc-i386.h (ELF_TARGET_FORMAT): New macro.
4189130561Sobrien	(TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf32-i386".
4190130561Sobrien	* config/tc-i386.c (i386_target_format): Likewise.
4191130561Sobrien	* config/tc-alpha.h (ELF_TARGET_FORMAT): New macro.
4192130561Sobrien	(TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf64-alpha".
4193130561Sobrien
4194130561Sobrien2002-09-13  Nick Clifton  <nickc@redhat.com>
4195130561Sobrien
4196130561Sobrien	* config/tc-ppc.c (md_assemble): Do not count FAKE operands
4197130561Sobrien	when deciding if any operands have been skipped.
4198130561Sobrien
4199130561Sobrien2002-09-11  Nick Clifton  <nickc@redhat.com>
4200130561Sobrien
4201130561Sobrien	* NEWS: New TI port supports both C4x and C3x series of DSPs.
4202130561Sobrien
4203130561Sobrien	* po/tr.po: Updated Turkish translation.
4204130561Sobrien
4205130561Sobrien2002-09-11  Jakub Jelinek  <jakub@redhat.com>
4206130561Sobrien
4207130561Sobrien	* config/tc-i386.c (md_apply_fix3): Allow addend for
4208130561Sobrien	BFD_RELOC_386_TLS_LDO_32, BFD_RELOC_386_TLS_LE and
4209130561Sobrien	BFD_RELOC_386_TLS_LE_32.
4210130561Sobrien
4211130561Sobrien2002-09-05  Jeff Law  <law@redhat.com>
4212130561Sobrien
4213130561Sobrien	* config/tc-hppa.c (md_apply_fix3): Don't set fx_done for
4214130561Sobrien	marker relocations such as ENTRY/EXIT.
4215130561Sobrien	* config/tc-hppa.h (MD_APPLY_SYM_VALUE): Definition applies
4216130561Sobrien	to both OBJ_ELF and OBJ_SOM.
4217130561Sobrien
4218130561Sobrien2002-09-05  Alan Modra  <amodra@bigpond.net.au>
4219130561Sobrien
4220130561Sobrien	* doc/internals.texi (md_apply_fix3): Expand.
4221130561Sobrien	(TC_VALIDATE_FIX, TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_ABS,
4222130561Sobrien	TC_FORCE_RELOCATION_LOCAL, TC_FORCE_RELOCATION_SUB_SAME,
4223130561Sobrien	TC_FORCE_RELOCATION_SUB_ABS, TC_FORCE_RELOCATION_SUB_LOCAL,
4224130561Sobrien	TC_VALIDATE_FIX_SUB, MD_APPLY_SYM_VALUE, S_FORCE_RELOC,
4225130561Sobrien	EXTERN_FORCE_RELOC): Document.
4226130561Sobrien	(TC_HANDLES_FX_DONE, obj_fix_adjustable): Remove.
4227130561Sobrien	* as.h: Don't include struc-symbol.h for arc.
4228130561Sobrien	(IS_ELF): Define.
4229130561Sobrien	* cgen.c (gas_cgen_md_apply_fix3): Remove *valP fudges and code to
4230130561Sobrien	subtract absolute symbol.
4231130561Sobrien	* obj.h (struct format_ops): Add frob_file_before_fix.
4232130561Sobrien	* subsegs.c (section_symbol): Set BSF_SECTION_SYM flag.
4233130561Sobrien	* symbols.c (S_FORCE_RELOC): New function.
4234130561Sobrien	* symbols.h (S_FORCE_RELOC): Declare.
4235130561Sobrien	* write.c (TC_FORCE_RELOCATION): Change default.
4236130561Sobrien	(TC_FORCE_RELOCATION_ABS): Define.
4237130561Sobrien	(TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
4238130561Sobrien	(TC_FORCE_RELOCATION_LOCAL): Define this instead.
4239130561Sobrien	(TC_FORCE_RELOCATION_SECTION): Don't define.
4240130561Sobrien	(TC_FORCE_RELOCATION_SUB_SAME): Define this instead.
4241130561Sobrien	(TC_FORCE_RELOCATION_SUB_ABS): Define.
4242130561Sobrien	(TC_FORCE_RELOCATION_SUB_LOCAL): Define.
4243130561Sobrien	(TC_VALIDATE_FIX_SUB): Define.
4244130561Sobrien	(TC_FIX_ADJUSTABLE): Don't define.
4245130561Sobrien	(MD_APPLY_SYM_VALUE): Define this instead.
4246130561Sobrien	(abs_section_sym): New variable.
4247130561Sobrien	(adjust_reloc_syms): Use S_FORCE_RELOC.  Remove obj_fix_adjustable
4248130561Sobrien	call.  Don't symbol_mark_used_in_reloc here.  Simplify link_once tests.
4249130561Sobrien	Don't put the absolute section sym on fixups here.
4250130561Sobrien	(fix_segment): New function.
4251130561Sobrien	(write_relocs): Don't call fixup_segment from here.
4252130561Sobrien	(write_object_file): Instead call tc_frob_file_before_fix,
4253130561Sobrien	obj_frob_file_before_fix, and fix_segment prior to symbol table code.
4254130561Sobrien	Don't output the absolute section symbol.
4255130561Sobrien	(fixup_segment): Rewrite.
4256130561Sobrien	* write.h (abs_section_sym): Declare.
4257130561Sobrien	* config/obj-aout.c (obj_aout_frob_file_before_fix): Rename from
4258130561Sobrien	obj_aout_frob_file.
4259130561Sobrien	(aout_format_ops): Adjust to suit.
4260130561Sobrien	* config/obj-aout.h (obj_frob_file): Don't define.
4261130561Sobrien	(obj_frob_file_before_fix): Define.
4262130561Sobrien	(obj_aout_frob_file_before_fix): Rename from obj_aout_frob_file.
4263130561Sobrien	(S_FORCE_RELOC): Define.
4264130561Sobrien	* config/obj-bout.h (S_FORCE_RELOC): Define.
4265130561Sobrien	* config/obj-coff.c (coff_format_ops): Init new field.
4266130561Sobrien	* config/obj-coff.h: Formatting fixes.
4267130561Sobrien	(obj_sec_sym_ok_for_reloc): Define.
4268130561Sobrien	(S_FORCE_RELOC): Define.
4269130561Sobrien	* config/obj-ecoff.c (ecoff_frob_file_before_fix): Split out ..
4270130561Sobrien	(ecoff_frob_file): .. from here.
4271130561Sobrien	(ecoff_format_ops): Add new function.
4272130561Sobrien	* config/obj-ecoff.h (ecoff_frob_file_before_fix): Declare.
4273130561Sobrien	(obj_frob_file_before_fix): Define.
4274130561Sobrien	* config/obj-elf.c (elf_format_ops): Init new field.
4275130561Sobrien	* config/obj-elf.h (obj_sec_sym_ok_for_reloc): Expand comment.
4276130561Sobrien	* config/obj-ieee.h: Formatting fixes.
4277130561Sobrien	(S_FORCE_RELOC): Define.
4278130561Sobrien	* config/obj-multi.h (obj_frob_file_before_fix): Define.
4279130561Sobrien	* config/obj-vms.h (S_FORCE_RELOC): Define.
4280130561Sobrien	* config/tc-alpha.c (md_apply_fix3): Correct GPDISP comment.
4281130561Sobrien	(alpha_force_relocation): Use S_FORCE_RELOC, and don't return 0
4282130561Sobrien	for BFD_RELOC_32 and BFD_RELOC_64.
4283130561Sobrien	(alpha_fix_adjustable): Remove extern and weak tests.
4284130561Sobrien	(alpha_before_fix): Rename from alpha_adjust_symtab.
4285130561Sobrien	(alpha_adjust_relocs): Rename from alpha_adjust_symtab_relocs.
4286130561Sobrien	* config/tc-alpha.h (struct fix, struct alpha_reloc_tag): Declare.
4287130561Sobrien	(TC_VALIDATE_FIX): Tweak param name.
4288130561Sobrien	(TC_FORCE_RELOCATION, tc_fix_adjustable): Likewise.
4289130561Sobrien	(TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
4290130561Sobrien	(TC_FORCE_RELOCATION_LOCAL): Define this instead.
4291130561Sobrien	(MD_APPLY_SYM_VALUE): Define.
4292130561Sobrien	(tc_adjust_symtab): Don't define.
4293130561Sobrien	(alpha_adjust_symtab): Don't declare.
4294130561Sobrien	(tc_frob_file_before_fix): Define.
4295130561Sobrien	(alpha_before_fix): Declare.
4296130561Sobrien	(TC_INIT_FIX_DATA): Tweak param names.
4297130561Sobrien	* config/tc-arc.c: Include "struc-symbol.h".
4298130561Sobrien	(md_pcrel_from): Remove undefined sym fudge.
4299130561Sobrien	(md_apply_fix3): Remove *valP fudges and code to subtract abs sym.
4300130561Sobrien	Don't set fx_addnumber.
4301130561Sobrien	(tc_gen_reloc): Remove spurious fx_addnumber comment.
4302130561Sobrien	* config/tc-arc.h (MD_APPLY_SYM_VALUE): Define.
4303130561Sobrien	(EXTERN_FORCE_RELOC): Define.
4304130561Sobrien	* config/tc-arm.c (md_apply_fix3 <case BFD_RELOC_ARM_GOTPC>): Remove.
4305130561Sobrien	(tc_gen_reloc): Fudge ARM_GOTPC addend.
4306130561Sobrien	(arm_validate_fix): Return void.
4307130561Sobrien	(arm_fix_adjustable <elf version>): Remove extern and weak tests.
4308130561Sobrien	Add plt and got reloc tests.
4309130561Sobrien	(arm_force_relocation): Call S_FORCE_RELOC.
4310130561Sobrien	* config/tc-arm.h (struct fix): Forward declare.
4311130561Sobrien	(TC_VALIDATE_FIX): No longer set add_symbolP.
4312130561Sobrien	(arm_validate_fix): Adjust declaration.
4313130561Sobrien	(TC_FORCE_RELOCATION <pe version): Call S_FORCE_RELOC.
4314130561Sobrien	(TC_FORCE_RELOCATION): Tweak param name.
4315130561Sobrien	(TC_INIT_FIX_DATA): Likewise.
4316130561Sobrien	(obj_fix_adjustable): Don't define.
4317130561Sobrien	(tc_fix_adjustable): Call arm_fix_adjustable.
4318130561Sobrien	(TC_FIX_ADJUSTABLE): Don't define.
4319130561Sobrien	(MD_APPLY_SYM_VALUE): Define.
4320130561Sobrien	(EXTERN_FORCE_RELOC): Define.
4321130561Sobrien	(TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
4322130561Sobrien	(TC_FORCE_RELOCATION_LOCAL): Define this instead.
4323130561Sobrien	* config/tc-avr.c (md_apply_fix3): Don't cast valP pointer type.
4324130561Sobrien	Remove *valP fudges and code to subtract abs sym.  Don't set
4325130561Sobrien	fx_addnumber.
4326130561Sobrien	* config/tc-avr.h: Formatting.
4327130561Sobrien	(EXTERN_FORCE_RELOC): Define.
4328130561Sobrien	(MD_APPLY_SYM_VALUE): Define.
4329130561Sobrien	* config/tc-cris.c (tc_gen_reloc): Don't use fx_addnumber.
4330130561Sobrien	(md_apply_fix3): Remove code to subtract abs sym.
4331130561Sobrien	(md_cris_force_relocation): Update comment.  Call S_FORCE_RELOC.
4332130561Sobrien	* config/tc-cris.h (TC_FORCE_RELOCATION): Tweak param name.
4333130561Sobrien	(IS_CRIS_PIC_RELOC, tc_fix_adjustable): Likewise.
4334130561Sobrien	(TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
4335130561Sobrien	(TC_FORCE_RELOCATION_LOCAL): Define this instead.
4336130561Sobrien	(tc_fix_adjustable): Remove extern, weak tests.
4337130561Sobrien	* config/tc-d10v.c (tc_gen_reloc): Don't fiddle address of
4338130561Sobrien	BFD_RELOC_VTABLE_INHERIT relocs.  Don't use fx_addnumber.
4339130561Sobrien	(md_apply_fix3): Don't cast valP pointer type.  Remove *valP fudges
4340130561Sobrien	and code to subtract abs sym.
4341130561Sobrien	(d10v_fix_adjustable): Remove extern, weak, SEC_MERGE tests.
4342130561Sobrien	(d10v_force_relocation): Call S_FORCE_RELOC.
4343130561Sobrien	* config/tc-d10v.h: Don't include write.h.
4344130561Sobrien	(struct fix): Instead, forward declare.
4345130561Sobrien	(MD_PCREL_FROM_SECTION): Tweak param names.
4346130561Sobrien	(md_pcrel_from_section): Use "struct fix" instead of "fixS".
4347130561Sobrien	(d10v_fix_adjustable): Likewise.
4348130561Sobrien	(obj_fix_adjustable): Don't define.
4349130561Sobrien	(tc_fix_adjustable): Define.
4350130561Sobrien	(TC_FORCE_RELOCATION): Tweak param name.
4351130561Sobrien	(MD_APPLY_SYM_VALUE): Define.
4352130561Sobrien	(EXTERN_FORCE_RELOC): Define.
4353130561Sobrien	* config/tc-d30v.c (tc_gen_reloc): Don't use fx_addnumber.
4354130561Sobrien	(md_apply_fix3): Don't cast valP pointer type.  Remove *valP fudges
4355130561Sobrien	and code to subtract abs sym.
4356130561Sobrien	* config/tc-d30v.h: Don't include write.h.
4357130561Sobrien	(struct fix): Instead, forward declare.
4358130561Sobrien	(MD_PCREL_FROM_SECTION): Tweak param names.
4359130561Sobrien	(md_pcrel_from_section): Use "struct fix" instead of "fixS".
4360130561Sobrien	(MD_APPLY_SYM_VALUE): Define.
4361130561Sobrien	(EXTERN_FORCE_RELOC): Define.
4362130561Sobrien	* config/tc-dlx.c (md_dlx_force_relocation): Call S_FORCE_RELOC.
4363130561Sobrien	(md_dlx_fix_adjustable): Don't test for NULL fx_addsy.
4364130561Sobrien	(md_apply_fix3): No need to test fx_pcrel before setting fx_done.
4365130561Sobrien	(tc_gen_reloc): Don't fiddle with BFD_RELOC_VTABLE_INHERIT relocs.
4366130561Sobrien	Adjust the address for BFD_RELOC_VTABLE_ENTRY, not the addend.
4367130561Sobrien	Don't use fx_addnumber.
4368130561Sobrien	* config/tc-dlx.h: Don't include write.h.
4369130561Sobrien	(md_convert_frag): We're not alpha twice over.
4370130561Sobrien	(EXTERN_FORCE_RELOC): Define.
4371130561Sobrien	(obj_fix_adjustable): Don't define.
4372130561Sobrien	(tc_fix_adjustable): Define.
4373130561Sobrien	(TC_FIX_ADJUSTABLE): Don't define.
4374130561Sobrien	(MD_APPLY_SYM_VALUE): Define.
4375130561Sobrien	(LOCAL_LABELS_DOLLAR): Undef always.
4376130561Sobrien	* config/tc-fr30.c (fr30_force_relocation): Call S_FORCE_RELOC.
4377130561Sobrien	(fr30_fix_adjustable): Remove extern, weak tests.
4378130561Sobrien	* config/tc-fr30.h (MD_APPLY_SYM_VALUE): Define.
4379130561Sobrien	(obj_fix_adjustable): Don't define.
4380130561Sobrien	(tc_fix_adjustable): Define.
4381130561Sobrien	(struct fix): Forward declare.
4382130561Sobrien	(MD_PCREL_FROM_SECTION): Tweak param name.  Remove duplicate.
4383130561Sobrien	* config/tc-frv.c (frv_force_relocation): Call S_FORCE_RELOC.
4384130561Sobrien	(frv_fix_adjustable): Don't do extern, weak tests.
4385130561Sobrien	* config/tc-frv.h (MD_APPLY_SYM_VALUE): Define.
4386130561Sobrien	(TC_FIX_ADJUSTABLE): Don't define.
4387130561Sobrien	(obj_fix_adjustable): Don't define.
4388130561Sobrien	(tc_fix_adjustable): Define.
4389130561Sobrien	(struct fix): Forward declare.
4390130561Sobrien	(MD_PCREL_FROM_SECTION): Tweak param name.  Remove duplicate.\
4391130561Sobrien	* config/tc-h8300.c (md_apply_fix3): Don't cast valP pointer type.
4392130561Sobrien	* config/tc-h8300.h (struct fix): Forward declare.
4393130561Sobrien	(EXTERN_FORCE_RELOC): Define.
4394130561Sobrien	* config/tc-hppa.c (md_apply_fix3): Remove subtraction of sym value.
4395130561Sobrien	(hppa_fix_adjustable): Don't test extern or weak.  Don't
4396130561Sobrien	symbol_mark_used_in_reloc.
4397130561Sobrien	(hppa_force_relocation): Use S_FORCE_RELOC instead of S_IS_EXTERNAL
4398130561Sobrien	and S_IS_WEAK.
4399130561Sobrien	* config/tc-hppa.h (EXTERN_FORCE_RELOC): Define
4400130561Sobrien	(TC_FORCE_RELOCATION, TC_INIT_FIX_DATA): Tweak param name.
4401130561Sobrien	(TC_FORCE_RELOCATION_SECTION): Don't define.
4402130561Sobrien	(MD_APPLY_SYM_VALUE): Define.
4403130561Sobrien	* config/tc-i370.c (md_apply_fix3): Remove *valP fudges and code
4404130561Sobrien	to subtract abs sym.
4405130561Sobrien	* config/tc-i370.h: Remove ifdef OBJ_ELF tests.
4406130561Sobrien	(MD_APPLY_SYM_VALUE): Define.
4407130561Sobrien	(MD_PCREL_FROM_SECTION): Tweak param name.
4408130561Sobrien	* config/tc-i386.c (tc_i386_fix_adjustable): Remove weak, extern tests.
4409130561Sobrien	(md_apply_fix3): Test fx_addsy, not fx_pcrel.
4410130561Sobrien	(i386_force_relocation): New function.
4411130561Sobrien	* config/tc-i386.h (TC_COFF_FIX2RTYPE): Tweak param name.
4412130561Sobrien	(TC_VALIDATE_FIX): Likewise.
4413130561Sobrien	(TC_FIX_ADJUSTABLE): Don't define.
4414130561Sobrien	(MD_APPLY_SYM_VALUE): Define.
4415130561Sobrien	(TC_FORCE_RELOCATION <elf version>): Call i386_force_relocation.
4416130561Sobrien	(i386_force_relocation): Declare.
4417130561Sobrien	(TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
4418130561Sobrien	(TC_FORCE_RELOCATION_LOCAL): Define this instead.
4419130561Sobrien	(TC_FORCE_RELOCATION <coff version>): Call S_FORCE_RELOC.
4420130561Sobrien	* config/tc-i860.c (md_apply_fix3): Don't cast valP pointer type.
4421130561Sobrien	* config/tc-i860.h (MD_APPLY_SYM_VALUE): Define.
4422130561Sobrien	(EXTERN_FORCE_RELOC): Define.
4423130561Sobrien	* config/tc-i960.c (reloc_callj): Remove declaration.  Return false.
4424130561Sobrien	(md_apply_fix3): Don't cast valP pointer type.  Move code here from
4425130561Sobrien	old fixup_segment.  No need to test fx_pcrel before setting fx_done.
4426130561Sobrien	(i960_validate_fix): Remove add_symbolPP arg and add_symbolP macro.
4427130561Sobrien	Use fx_addsy instead of add_symbolP, as_bad_where instead of as_bad.
4428130561Sobrien	Remove #if 0 code.  Invert return boolean.
4429130561Sobrien	* config/tc-i960.h (TC_COUNT_RELOC): Tweak param name.
4430130561Sobrien	(TC_COFF_FIX2RTYPE, TC_ADJUST_RELOC_COUNT, TC_VALIDATE_FIX): Likewise.
4431130561Sobrien	(tc_headers_hook, tc_coff_fix2rtype): Remove declaration.
4432130561Sobrien	(tc_coff_sizemachdep): Prototype.
4433130561Sobrien	(i960_handle_align): Likewise.
4434130561Sobrien	(i960_validate_fix): Adjust declaration.
4435130561Sobrien	(reloc_callj): Likewise.
4436130561Sobrien	(EXTERN_FORCE_RELOC): Define.
4437130561Sobrien	(TC_FORCE_RELOCATION_SUB_SAME): Define.
4438130561Sobrien	(TC_FORCE_RELOCATION_ABS): Define.
4439130561Sobrien	(TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
4440130561Sobrien	(TC_FORCE_RELOCATION_LOCAL): Define this instead.
4441130561Sobrien	(TC_FIX_ADJUSTABLE): Don't define.
4442130561Sobrien	(MD_APPLY_SYM_VALUE): Define.
4443130561Sobrien	* config/tc-ia64.c (ia64_force_relocation): Call S_FORCE_RELOC.
4444130561Sobrien	* config/tc-ia64.h (MD_APPLY_SYM_VALUE): Define.
4445130561Sobrien	(TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
4446130561Sobrien	(TC_FORCE_RELOCATION_LOCAL): Define this instead.
4447130561Sobrien	* config/tc-ip2k.c (ip2k_force_relocation): Call S_FORCE_RELOC.
4448130561Sobrien	* config/tc-ip2k.h (MD_APPLY_FIX3): Don't define.
4449130561Sobrien	(MD_APPLY_SYM_VALUE): Define.
4450130561Sobrien	(EXTERN_FORCE_RELOC): Define.
4451130561Sobrien	(TC_FORCE_RELOCATION): Tweak param name.
4452130561Sobrien	* config/tc-m32r.c (m32r_force_relocation): Call S_FORCE_RELOC.
4453130561Sobrien	(m32r_fix_adjustable): Don't test extern, weak.
4454130561Sobrien	* config/tc-m32r.h (MD_PCREL_FROM_SECTION): Tweak param name.
4455130561Sobrien	(MD_APPLY_SYM_VALUE): Define.
4456130561Sobrien	(obj_fix_adjustable): Don't define.
4457130561Sobrien	(tc_fix_adjustable): Define.
4458130561Sobrien	(tc_frob_file): Don't define.
4459130561Sobrien	(tc_frob_file_before_fix): Define.
4460130561Sobrien	(EXTERN_FORCE_RELOC): Define.
4461130561Sobrien	* config/tc-m68hc11.c (tc_gen_reloc): Set addend to zero.  Adjust
4462130561Sobrien	BFD_RELOC_VTABLE_ENTRY address.
4463130561Sobrien	(tc_m68hc11_force_relocation): Call S_FORCE_RELOC.
4464130561Sobrien	(tc_m68hc11_fix_adjustable): Don't test relaxable_symbol.
4465130561Sobrien	(md_apply_fix3): Remove *valP fudges and code to subtract abs sym.
4466130561Sobrien	Remove duplicated fx_done code.
4467130561Sobrien	* config/tc-m68hc11.h (MD_APPLY_SYM_VALUE): Define.
4468130561Sobrien	(EXTERN_FORCE_RELOC): Define.
4469130561Sobrien	* config/tc-m68k.c (tc_m68k_fix_adjustable): Don't test
4470130561Sobrien	relaxable_symbol.
4471130561Sobrien	* config/tc-m68k.h (TC_COFF_FIX2RTYPE): Tweak param name.
4472130561Sobrien	(TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
4473130561Sobrien	(TC_FIX_ADJUSTABLE): Don't define.
4474130561Sobrien	(EXTERN_FORCE_RELOC): Define.
4475130561Sobrien	(MD_APPLY_SYM_VALUE): Define.
4476130561Sobrien	(TC_FORCE_RELOCATION): Call S_FORCE_RELOC.
4477130561Sobrien	* config/tc-mcore.c (md_apply_fix3): Don't cast valP pointer type.
4478130561Sobrien	Remove fx_addsy tests.
4479130561Sobrien	(mcore_force_relocation): Call S_FORCE_RELOC.
4480130561Sobrien	(mcore_fix_adjustable): Don't test fx_addsy.
4481130561Sobrien	* config/tc-mcore.h (MD_PCREL_FROM_SECTION): Tweak param name.
4482130561Sobrien	(EXTERN_FORCE_RELOC): Define.
4483130561Sobrien	(obj_fix_adjustable): Don't define.
4484130561Sobrien	(tc_fix_adjustable): Define.
4485130561Sobrien	(MD_APPLY_SYM_VALUE): Define.
4486130561Sobrien	* config/tc-mips.c (enum mips_pic_level): Move to tc-mips.h.
4487130561Sobrien	(mips_pic): No longer static.
4488130561Sobrien	(mips_force_relocation): Call S_FORCE_RELOC.
4489130561Sobrien	(mips_fix_adjustable): Remove extern, weak tests.
4490130561Sobrien	* config/tc-mips.h (enum mips_pic_level): Declare.
4491130561Sobrien	(mips_pic): Declare.
4492130561Sobrien	(tc_frob_file): Don't define.
4493130561Sobrien	(tc_frob_file_before_fix): Define this instead.
4494130561Sobrien	(EXTERN_FORCE_RELOC): Define.
4495130561Sobrien	* config/tc-mmix.c (md_apply_fix3): Replace real_reg_section tests
4496130561Sobrien	with reg_section tests.  Set fx_done instead of calling
4497130561Sobrien	symbol_clear_used_in_reloc on bad relocs.
4498130561Sobrien	(tc_gen_reloc): Zero fx_addsy on bad relocs.
4499130561Sobrien	(mmix_force_relocation): Remove weak sym test.  Call S_FORCE_RELOC.
4500130561Sobrien	(mmix_adjust_symtab): Simplify list handling.  Abort on any
4501130561Sobrien	nonsense.
4502130561Sobrien	* config/tc-mmix.h (tc_fix_adjustable): Remove weak tests.  Check
4503130561Sobrien	BFD_RELOC_MMIX_LOCAL.
4504130561Sobrien	(tc_frob_symbol): Keep user defined syms in reg_section.  Don't punt.
4505130561Sobrien	(EXTERN_FORCE_RELOC): Define.
4506130561Sobrien	(MD_PCREL_FROM_SECTION): Tweak param name.
4507130561Sobrien	(tc_frob_file): Don't define.
4508130561Sobrien	(tc_frob_file_before_fix): Define this instead.
4509130561Sobrien	* config/tc-mn10300.c (mn10300_force_relocation): Call S_FORCE_RELOC.
4510130561Sobrien	Remove SEC_CODE checks.
4511130561Sobrien	(mn10300_fix_adjustable): Remove extern and weak tests.
4512130561Sobrien	* config/tc-mn10300.h (EXTERN_FORCE_RELOC): Define.
4513130561Sobrien	(TC_FORCE_RELOCATION): Tweak param name.
4514130561Sobrien	(obj_fix_adjustable): Don't define.
4515130561Sobrien	(TC_FORCE_RELOCATION_SUB_SAME): Define to handle SEC_CODE.
4516130561Sobrien	* config/tc-ns32k.h (TC_FIX_DATA_PRINT): Tweak param name.
4517130561Sobrien	* config/tc-openrisc.c (openrisc_force_relocation): Call S_FORCE_RELOC.
4518130561Sobrien	(openrisc_fix_adjustable): Don't test fx_addsy.
4519130561Sobrien	* config/tc-openrisc.h (MD_APPLY_SYM_VALUE): Define.
4520130561Sobrien	(obj_fix_adjustable): Don't define.
4521130561Sobrien	(tc_fix_adjustable): Define this instead.
4522130561Sobrien	(MD_PCREL_FROM_SECTION): Remove duplicate. Tweak param name.
4523130561Sobrien	* config/tc-or32.c (md_apply_fix3): Don't cast valP pointer type.
4524130561Sobrien	(tc_gen_reloc): Don't fiddle with BFD_RELOC_VTABLE_INHERIT relocs.
4525130561Sobrien	Adjust the address for BFD_RELOC_VTABLE_ENTRY, not the addend.
4526130561Sobrien	* config/tc-or32.h (EXTERN_FORCE_RELOC): Define.
4527130561Sobrien	(MD_APPLY_SYM_VALUE): Define.
4528130561Sobrien	* config/tc-pj.c (md_apply_fix3): Don't cast valP pointer type.
4529130561Sobrien	Don't subtract symbol value.
4530130561Sobrien	* config/tc-pj.h (md_pcrel_from): Tweak param name.
4531130561Sobrien	(EXTERN_FORCE_RELOC): Define.
4532130561Sobrien	(TC_FORCE_RELOCATION): Call S_FORCE_RELOC.
4533130561Sobrien	(MD_APPLY_SYM_VALUE): Define.
4534130561Sobrien	(obj_fix_adjustable): Don't define.
4535130561Sobrien	(tc_fix_adjustable): Define this instead.
4536130561Sobrien	* config/tc-ppc.c (ppc_frob_symbol <coff version>): Ignore absolute
4537130561Sobrien	section sym.
4538130561Sobrien	(ppc_force_relocation <coff version>): Call S_FORCE_RELOC.
4539130561Sobrien	(ppc_force_relocation <elf version>): New.
4540130561Sobrien	(ppc_fix_adjustable <elf version>): Remove extern and weak tests.
4541130561Sobrien	(md_apply_fix3): Don't subtract symbol values for ELF.  Update
4542130561Sobrien	comments.  Don't subtract fx_subsy as that is already done.
4543130561Sobrien	* config/tc-ppc.h (tc_fix_adjustable): Tweak param name.
4544130561Sobrien	(MD_PCREL_FROM_SECTION): Likewise.
4545130561Sobrien	(TC_FORCE_RELOCATION): Define for both ELF and XCOFF as calling
4546130561Sobrien	ppc_force_relocation.
4547130561Sobrien	(TC_FORCE_RELOCATION_SECTION): Delete.
4548130561Sobrien	(TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
4549130561Sobrien	(TC_FORCE_RELOCATION_LOCAL): Define this instead.
4550130561Sobrien	(MD_APPLY_SYM_VALUE): Define.
4551130561Sobrien	* config/tc-s390.c: #include "dwarf2dbg.h".
4552130561Sobrien	(s390_insn): Remove excess parens.
4553130561Sobrien	(tc_s390_fix_adjustable): Remove extern, weak, SEC_MERGE tests.
4554130561Sobrien	(tc_s390_force_relocation): Call S_FORCE_RELOC.
4555130561Sobrien	(md_apply_fix3): Add ATTRIBUTE_UNUSED on "seg".  Abort when fx_subsy
4556130561Sobrien	non-NULL.  Don't subtract off fx_addsy value.
4557130561Sobrien	* config/tc-s390.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
4558130561Sobrien	(TC_FORCE_RELOCATION, MD_PCREL_FROM_SECTION): Tweak param name.
4559130561Sobrien	(TC_FIX_ADJUSTABLE): Don't define.
4560130561Sobrien	(MD_APPLY_SYM_VALUE): Define.
4561130561Sobrien	* config/tc-sh.c (SWITCH_TABLE_CONS): Move to tc-sh.h.
4562130561Sobrien	(SWITCH_TABLE): Likewise.
4563130561Sobrien	(sh_force_relocation): Call S_FORCE_RELOC.
4564130561Sobrien	(sh_fix_adjustable): Remove "return 1" cases handled by the default.
4565130561Sobrien	Replace TC_RELOC_RTSYM_LOC_FIXUP with reloc type tests.
4566130561Sobrien	(md_apply_fix3 <case BFD_RELOC_32_PLT_PCREL>): Simplify,
4567130561Sobrien	fx_addnumber is zero on entry.  Save val in fx_addnumber.
4568130561Sobrien	(tc_gen_reloc): Don't subtract fx_subsy.
4569130561Sobrien	* config/tc-sh.h (struct fix): Move.
4570130561Sobrien	(obj_fix_adjustable): Don't define.
4571130561Sobrien	(tc_fix_adjustable): Define this instead.
4572130561Sobrien	(TC_FIX_ADJUSTABLE): Don't define.
4573130561Sobrien	(MD_APPLY_SYM_VALUE): Define.
4574130561Sobrien	(SWITCH_TABLE_CONS): Define.
4575130561Sobrien	(SWITCH_TABLE): Define.
4576130561Sobrien	(TC_FORCE_RELOCATION_SUB_SAME): Define.
4577130561Sobrien	(TC_VALIDATE_FIX_SUB): Define.
4578130561Sobrien	(MD_PCREL_FROM_SECTION): Tweak param name.
4579130561Sobrien	(TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
4580130561Sobrien	(TC_FORCE_RELOCATION_LOCAL): Define this instead.
4581130561Sobrien	(TC_FORCE_RELOCATION_SUB_ABS): Define.
4582130561Sobrien	* config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
4583130561Sobrien	(TC_FORCE_RELOCATION_LOCAL): Define this instead.
4584130561Sobrien	(TC_FORCE_RELOCATION_SUB_SAME): Define.
4585130561Sobrien	(TC_VALIDATE_FIX_SUB): Define.
4586130561Sobrien	(MD_PCREL_FROM_SECTION): Tweak param name.
4587130561Sobrien	* config/tc-sparc.c (md_apply_fix3): Don't subtract off symbol value.
4588130561Sobrien	(tc_gen_reloc): Use S_FORCE_RELOC.
4589130561Sobrien	(elf32_sparc_force_relocation): Call S_FORCE_RELOC.
4590130561Sobrien	* config/tc-sparc.h (TC_FORCE_RELOCATION <coff version>): Remove.
4591130561Sobrien	(TC_FORCE_RELOCATION_ABS): Define this instead.
4592130561Sobrien	(TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
4593130561Sobrien	(TC_FORCE_RELOCATION_LOCAL): Define this instead.
4594130561Sobrien	(tc_fix_adjustable): Remove extern and weak tests.  Use S_FORCE_RELOC.
4595130561Sobrien	(MD_APPLY_SYM_VALUE): Define.
4596130561Sobrien	(TC_FIX_DATA_PRINT): Tweak param name.
4597130561Sobrien	* config/tc-tic30.c (USE_STDOUT): Don't define.
4598130561Sobrien	(md_parse_option): Remove stupid debug code.
4599130561Sobrien	(tc_gen_reloc): Don't use fx_addnumber.
4600130561Sobrien	* config/tc-v850.c (v850_fix_adjustable): Remove extern and weak tests.
4601130561Sobrien	(v850_force_relocation): Remove weak test.  Call S_FORCE_RELOC.
4602130561Sobrien	* config/tc-v850.h (obj_fix_adjustable): Don't define.
4603130561Sobrien	(tc_fix_adjustable): Define this instead.
4604130561Sobrien	(TC_FIX_ADJUSTABLE): Don't define.
4605130561Sobrien	(MD_APPLY_SYM_VALUE): Define this instead.
4606130561Sobrien	(TC_FORCE_RELOCATION, MD_PCREL_FROM_SECTION): Tweak param name.
4607130561Sobrien	* config/tc-vax.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
4608130561Sobrien	(TC_FIX_ADJUSTABLE): Don't define.
4609130561Sobrien	(MD_APPLY_SYM_VALUE): Define this instead.
4610130561Sobrien	(tc_fix_adjustable): Remove extern and weak tests.
4611130561Sobrien	* config/tc-w65.h (struct fix): Forward declare.
4612130561Sobrien	* config/tc-xstormy16.c (xstormy16_force_relocation): Call
4613130561Sobrien	S_FORCE_RELOC.
4614130561Sobrien	(xstormy16_fix_adjustable): Remove extern and weak tests.  Don't
4615130561Sobrien	call xstormy16_force_relocation;  Instead test for FPTR16 reloc.
4616130561Sobrien	(xstormy16_md_apply_fix3): Remove *valP fudges and code to subtract
4617130561Sobrien	absolute symbol.
4618130561Sobrien	* config/tc-xstormy16.h (MD_APPLY_FIX3): Don't define.
4619130561Sobrien	(MD_APPLY_SYM_VALUE): Define.
4620130561Sobrien	(obj_fix_adjustable): Don't define.
4621130561Sobrien	(tc_fix_adjustable): Define this instead.
4622130561Sobrien	(MD_PCREL_FROM_SECTION): Remove duplicate.  Tweak param name.
4623130561Sobrien
4624130561Sobrien2002-09-04  Alan Modra  <amodra@bigpond.net.au>
4625130561Sobrien
4626130561Sobrien	* config/tc-ppc.c (ppc_frob_symbol): Formatting, warning fix.
4627130561Sobrien	(ppc_fix_adjustable <coff version>): Cleanup.
4628130561Sobrien
4629130561Sobrien	* config/tc-ppc.c (PPC_HIGHER, PPC_HIGHEST): Fix warning.
4630130561Sobrien	(md_parse_option): No -a64 without BFD64.
4631130561Sobrien	(ppc_set_cpu): Select appropriate cpu when ppc_obj64.
4632130561Sobrien	(ppc_arch): Use bfd_mach_rs6k for bfd_arch_rs6000.
4633130561Sobrien
4634130561Sobrien2002-09-04  Nick Clifton  <nickc@redhat.com>
4635130561Sobrien
4636130561Sobrien	* config/tc-ppc.c (md_begin): Do not insert non-BookE32
4637130561Sobrien	instructions into the hash table if the target cpu is the BookE32.
4638130561Sobrien
4639130561Sobrien2002-08-31  Hans-Peter Nilsson  <hp@bitrange.com>
4640130561Sobrien
4641130561Sobrien	* read.c (do_align): Use ATTRIBUTE_UNUSED_LABEL for label, not
4642130561Sobrien	ATTRIBUTE_UNUSED.
4643130561Sobrien
4644130561Sobrien2000-08-28  Catherine Moore  <clm@redhat.com>
4645130561Sobrien
4646130561Sobrien	* tc-v850.c (v850_relax): Declare.
4647130561Sobrien	(v850_longcode): New routine.
4648130561Sobrien	(v850_handle_align): New routine.
4649130561Sobrien	(md_pseudo_table): Add longcall and longjump.
4650130561Sobrien	(md_parse_option): Check for relax option.
4651130561Sobrien	(tc_gen_reloc): Handle BFD_RELOC_V850_LONGCALL,
4652130561Sobrien	BFD_RELOC_V850_LONGJUMP, and BFD_RELOC_V850_ALIGN.
4653130561Sobrien	(md_apply_fix3): Likewise.
4654130561Sobrien	(v850_force_relocation): Likewise.
4655130561Sobrien	(v850_comm): Change the current section.
4656130561Sobrien	(md_assemble): Ensure that the correct value is put in the
4657130561Sobrien	fixup.
4658130561Sobrien	(v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss,
4659130561Sobrien	v850_zbss, v850_rosdata, v850_rozdata): Fix section book keeping.
4660130561Sobrien	Remove redundant v850ea support.
4661130561Sobrien	* tc-v850.h (HANDLE_ALIGN): Define.
4662130561Sobrien	(v850_handle_align): Declare.
4663130561Sobrien	* doc/c-v850.c: Document -mrelax, .longcall and .longjump.
4664130561Sobrien
4665130561Sobrien2002-08-28  Svein E. Seldal  <Svein.Seldal@solidas.com>
4666130561Sobrien
4667130561Sobrien	* configure.in: Add tic4x-coff* and c4x-coff*-coff-coff targets.
4668130561Sobrien	* configure: Regenerate.
4669130561Sobrien	* NEWS: Mention new port.
4670130561Sobrien
4671130561Sobrien2002-08-28  Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4672130561Sobrien
4673130561Sobrien	* config/obj-coff.c: Add sdef definition.
4674130561Sobrien	* config/obj-coff.h: Add tic4x include file and set
4675130561Sobrien	target format.
4676130561Sobrien	* config/tc-tic4x.c: New file.
4677130561Sobrien	* config/tc-tic4x.h: New file.
4678130561Sobrien
4679130561Sobrien2002-08-28  Alan Modra  <amodra@bigpond.net.au>
4680130561Sobrien
4681130561Sobrien	* write.c (BFD_FAST_SECTION_FILL): Remove unused macro.
4682130561Sobrien	(TC_ADJUST_RELOC_COUNT): Tweak param name.
4683130561Sobrien	(TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_SECTION): Likewise.
4684130561Sobrien	(TC_FIX_ADJUSTABLE, MD_PCREL_FROM_SECTION): Likewise.
4685130561Sobrien	(RELOC_ENUM): Define.
4686130561Sobrien	(fix_new_internal): Use RELOC_ENUM.
4687130561Sobrien	(fix_new, fix_new_exp): Likewise.
4688130561Sobrien	(adjust_reloc_syms): Comment.  Remove unnecessary tests on sym != NULL.
4689130561Sobrien	Replace gotos with continue.
4690130561Sobrien	(write_relocs): Formatting.  Avoid symbol loops in
4691130561Sobrien	RELOC_EXPANSION_POSSIBLE case too.  Report bfd_reloc_outofrange
4692130561Sobrien	errors, and error number in other cases.
4693130561Sobrien	(fixup_segment): Remove param names from prototype.  Rename
4694130561Sobrien	"this_segment_type" to "this_segment".  Update linkrelax comment.
4695130561Sobrien	Remove "size, "place" and "where" local vars.  Formatting.  Update
4696130561Sobrien	"no symbol" comment.  Remove #if 0 and #if 1.
4697130561Sobrien
4698130561Sobrien	* app.c (do_scrub_chars): Don't test IGNORE_NONSTANDARD_ESCAPES.  Tidy.
4699130561Sobrien
4700130561Sobrien2002-08-27  Alan Modra  <amodra@bigpond.net.au>
4701130561Sobrien
4702130561Sobrien	* dwarf2dbg.c: Always include dwarf2dbg.h.
4703130561Sobrien	(dwarf2_directive_file): Adjust dummy version args.
4704130561Sobrien	* ecoff.c (ecoff_directive_weakext): Add ATTRIBUTE_UNUSED.
4705130561Sobrien	* expr.c (clean_up_expression <O_subtract>): Allow subtraction
4706130561Sobrien	when symbol values differ.
4707130561Sobrien	* read.c (do_align): Add ATTRIBUTE_UNUSED to label.
4708130561Sobrien	(pseudo_set <O_subtract>): Remove unnecessary segment test.
4709130561Sobrien	* config/obj-bout.c (obj_pseudo_table): Warning fix.
4710130561Sobrien
4711130561Sobrien2002-08-26  Alan Modra  <amodra@bigpond.net.au>
4712130561Sobrien
4713130561Sobrien	* config/tc-w65.c (md_section_align): Fix typo.
4714130561Sobrien	(md_parse_option): Return 0, not 1.
4715130561Sobrien
4716130561Sobrien2002-08-22  Nick Clifton  <nickc@redhat.com>
4717130561Sobrien
4718130561Sobrien	* doc/as.texinfo (Section): Note that if '@' is a comment
4719130561Sobrien	character then another symbol is used to prefix the section's
4720130561Sobrien	type.
4721130561Sobrien
4722130561Sobrien2002-08-22  Christian Groessler <chris@groessler.org>
4723130561Sobrien
4724130561Sobrien	* config/tc-z8k.c (get_operands): Adjust ptr variable also in
4725130561Sobrien	"case 0" case.
4726130561Sobrien
4727130561Sobrien2002-08-12  Graeme Peterson  <gp@qnx.com>
4728130561Sobrien
4729130561Sobrien	* configure.in: Add support for sh-**-nto* target.
4730130561Sobrien	* configure: Regenerate.
4731130561Sobrien
4732130561Sobrien2002-08-21  Nitin  Gupta  <niting@noida.hcltech.com>
4733130561Sobrien
4734130561Sobrien	* config/tc-h8300.h (TC_LINKRELAX_FIXUP): Define.
4735130561Sobrien
4736130561Sobrien2002-08-21  Elena Zannoni  <ezannoni@redhat.com>
4737130561Sobrien
4738130561Sobrien	* config/tc-ppc.c (ppc_cleanup): Do something only if format
4739130561Sobrien	is ELF.
4740130561Sobrien	(ppc_apuinfo_section_add): Define only if format is ELF.
4741130561Sobrien	(md_assemble): Emit APUinfo section only if format is ELF.
4742130561Sobrien	Fix formatting.
4743130561Sobrien
4744130561Sobrien2002-08-21  Alan Modra  <amodra@bigpond.net.au>
4745130561Sobrien
4746130561Sobrien	* config/tc-arc.c (md_pseudo_table <dwarf2_directive_file>): Cast.
4747130561Sobrien	* config/tc-frv.c: Likewise.
4748130561Sobrien	* config/tc-hppa.c: Likewise.
4749130561Sobrien	* config/tc-ia64.c: Likewise.
4750130561Sobrien	* config/tc-ip2k.c: Likewise.
4751130561Sobrien	* config/tc-m68hc11.c: Likewise.
4752130561Sobrien	* config/tc-m68k.c: Likewise.
4753130561Sobrien	* config/tc-mmix.c: Likewise.
4754130561Sobrien	* config/tc-mn10300.c: Likewise.
4755130561Sobrien	* config/tc-sh.c: Likewise.
4756130561Sobrien	* config/tc-sparc.c: Likewise.
4757130561Sobrien	* config/tc-v850.c: Likewise.
4758130561Sobrien
4759130561Sobrien2002-08-20  Richard Sandiford  <rsandifo@redhat.com>
4760130561Sobrien
4761130561Sobrien	* config/tc-mips.c (macro2): Implement rotates by zero using shifts
4762130561Sobrien	by zero.
4763130561Sobrien
4764130561Sobrien2002-08-19  Elena Zannoni  <ezannoni@redhat.com>
4765130561Sobrien
4766130561Sobrien	From matthew green  <mrg@redhat.com>
4767130561Sobrien
4768130561Sobrien	* config/tc-ppc.c (PPC_OPCODE_CLASSIC): Enable this everywhere
4769130561Sobrien	PPC_OPCODE_PPC is, except for BookE architectures.
4770130561Sobrien	(md_parse_option): Add support for -mspe.
4771130561Sobrien	(md_show_usage): Add -mspe.
4772130561Sobrien	(md_parse_option): Add support for -me500 and
4773130561Sobrien	-me500x2 to generate code for Motorola e500 core complex.
4774130561Sobrien	(md_show_usage): Add -me500 and -me500x2.
4775130561Sobrien
4776130561Sobrien	(PPC_APUINFO_ISEL, PPC_APUINFO_PMR, PPC_APUINFO_RFMCI,
4777130561Sobrien	PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE, PPC_APUINFO_EFS,
4778130561Sobrien	PPC_APUINFO_BRLOCK): New macros.
4779130561Sobrien
4780130561Sobrien	(ppc_cleanup): New function.
4781130561Sobrien	(ppc_apuinfo_section_add): New function.
4782130561Sobrien	(APUID): New macro.
4783130561Sobrien	(md_assemble): Collect info and write the APUinfo section.
4784130561Sobrien
4785130561Sobrien	* config/tc-ppc.h (md_cleanup): Define.
4786130561Sobrien	(ppc_cleanup): Export.
4787130561Sobrien	(ELF_TC_SPECIAL_SECTIONS): Add .PPC.EMB.apuinfo section.
4788130561Sobrien
4789130561Sobrien2002-08-17  Stan Cox  <scox@redhat.com>
4790130561Sobrien
4791130561Sobrien	* config/obj-elf.c (obj_elf_change_section): Make non-static.
4792130561Sobrien	config/tc-mips.c (s_change_section): New function to support
4793130561Sobrien	IRIX .section pseudo-op.
4794130561Sobrien
4795130561Sobrien2002-08-16  Nick Clifton  <nickc@redhat.com>
4796130561Sobrien
4797130561Sobrien	* config/tc-v850.c (md_assemble): Fix assembling of "callt 0x3f".
4798130561Sobrien
4799130561Sobrien2002-08-15  Alexandre Oliva  <aoliva@redhat.com>
4800130561Sobrien
4801130561Sobrien	* config/tc-mips.c (macro_build_jalr): Make sure we generate
4802130561Sobrien	the fix-up against on the right frag.
4803130561Sobrien	(s_cpsetup): Likewise.  Parse third argument as expression, to
4804130561Sobrien	handle global symbols and forward/backward labels correctly.
4805130561Sobrien
4806130561Sobrien2002-08-14  Nick Clifton  <nickc@redhat.com>
4807130561Sobrien
4808130561Sobrien	* read.c (stringer): Catch attempts to create strings in the abs
4809130561Sobrien	section.
4810130561Sobrien
4811130561Sobrien	* config/tc-alpha.c: Fix compiling for COFF targets.
4812130561Sobrien	Some minor formatting tidyups.
4813130561Sobrien
4814130561Sobrien2002-08-13  Stephane Carrez  <stcarrez@nerim.fr>
4815130561Sobrien
4816130561Sobrien	* config/tc-m68hc11.h (MD_PCREL_FROM_SECTION): Remove.
4817130561Sobrien	(TC_HANDLES_FX_DONE): Define to let md_apply_fix3 set fx_done flag
4818130561Sobrien	according to the reloc.
4819130561Sobrien	(tc_fix_adjustable, tc_m68hc11_fix_adjustable): Define.
4820130561Sobrien	(TC_FORCE_RELOCATION): Define.
4821130561Sobrien	(tc_m68hc11_force_relocation): Declare.
4822130561Sobrien
4823130561Sobrien	* config/tc-m68hc11.c (md_pseudo_table): Add relax command.
4824130561Sobrien	(s_m68hc11_relax): New function for relax group.
4825130561Sobrien	(build_insn, build_jump_insn): Emit a M68HC11_RL_JUMP reloc at
4826130561Sobrien	beginning of jump instruction.
4827130561Sobrien	(md_pcrel_from): Rename from md_pcrel_from_section and fix
4828130561Sobrien	address computation.
4829130561Sobrien	(tc-gen_reloc): Update.
4830130561Sobrien	(md_estimate_size_before_relax): Create the BFD_RELOC_16_PCREL as
4831130561Sobrien	PC-relative fixup.
4832130561Sobrien	(tc_m68hc11_force_relocation): New function, handle new relocs.
4833130561Sobrien	(tc_m68hc11_fix_adjustable): New to make sure there are enough
4834130561Sobrien	reloc for the linker relax pass.
4835130561Sobrien	(md_apply_fix3): Handle M68HC11_RL_JUMP, M68HC11_RL_GROUP
4836130561Sobrien	and VTABLE relocs.
4837130561Sobrien
4838130561Sobrien2002-08-13  Stephane Carrez  <stcarrez@nerim.fr>
4839130561Sobrien
4840130561Sobrien	* config/tc-m68hc11.c (m68hc11_elf_final_processing): New function.
4841130561Sobrien	(md_pseudo_table): Add .mode, .far and .interrupt pseudo op.
4842130561Sobrien	(s_m68hc11_mode): New function for .mode pseudo op.
4843130561Sobrien	(s_m68hc11_mark_symbol): New function for .far and .interrupt
4844130561Sobrien	pseudo op.
4845130561Sobrien	* config/tc-m68hc11.h (elf_tc_final_processing): Define.
4846130561Sobrien	(m68hc11_elf_final_processing): Declare.
4847130561Sobrien
4848130561Sobrien2002-08-13  Stephane Carrez  <stcarrez@nerim.fr>
4849130561Sobrien
4850130561Sobrien	* config/tc-m68hc11.c (md_begin): Take into account additional
4851130561Sobrien	page operand for call instruction.
4852130561Sobrien	(print_opcode_format): Likewise.
4853130561Sobrien	(check_range): Likewise for page range checking.
4854130561Sobrien	(get_operand): Don't skip a possible comma in operands.
4855130561Sobrien	(fixup8): Generate BFD_RELOC_M68HC11_PAGE reloc.
4856130561Sobrien	(fixup16): Likwise with BFD_RELOC_M68HC11_LO16.
4857130561Sobrien	(fixup24): New to handle call reloc.
4858130561Sobrien	(build_insn): Handle missing page operand for call instruction.
4859130561Sobrien	(find): Likewise.
4860130561Sobrien	(md_apply_fix3): Take into account new relocs.
4861130561Sobrien	(get_operand): Fix the mode for indexed indirect addressing.
4862130561Sobrien	(build_indexed_byte): Fix post index byte for indexed indirect mode.
4863130561Sobrien
4864130561Sobrien2002-08-12  Richard Sandiford  <rsandifo@redhat.com>
4865130561Sobrien
4866130561Sobrien	* config/tc-mips.c (mips_ip): Don't work out the value of
4867130561Sobrien	constant %hi()s here.
4868130561Sobrien
4869130561Sobrien2002-08-10  Alan Modra  <amodra@bigpond.net.au>
4870130561Sobrien
4871130561Sobrien	* config/tc-i386.c (tc_i386_fix_adjustable): Test OUTPUT_FLAVOR
4872130561Sobrien	for ELF, and don't bother checking ELF relocs when non-ELF.
4873130561Sobrien	(i386_immediate): Allow absolute_section expressions for aout.
4874130561Sobrien	(i386_displacement): Likewise.  Also test bfd_is_com_section.
4875130561Sobrien	(md_estimate_size_before_relax): Test OUTPUT_FLAVOR for ELF.
4876130561Sobrien	(md_apply_fix3): Hack for bfd_install_relocation when fx_pcrel,
4877130561Sobrien	not when fx_addsy.  Remove dead code.
4878130561Sobrien
4879130561Sobrien2002-08-09  Graeme Peterson  <gp@qnx.com>
4880130561Sobrien
4881130561Sobrien	* configure.in: Add support for ppc-*-nto* target.
4882130561Sobrien	* configure: Regenerate.
4883130561Sobrien
4884130561Sobrien2002-08-09  Alan Modra  <amodra@bigpond.net.au>
4885130561Sobrien
4886130561Sobrien	* config/tc-i386.h: Reorganize.
4887130561Sobrien
4888130561Sobrien2002-08-09  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
4889130561Sobrien
4890130561Sobrien	* config/tc-mips.c (macro): Handle a register plus a 16-bit
4891130561Sobrien	immediate offset in "dla" and "la" expansions.
4892130561Sobrien
4893130561Sobrien2002-08-09  Alan Modra  <amodra@bigpond.net.au>
4894130561Sobrien
4895130561Sobrien	* configure.in: bfd_gas=yes for all i386 targets.  Formatting.
4896130561Sobrien	Remove "bfd_gas=yes" from target table when covered later.
4897130561Sobrien	Consolidate some entries.
4898130561Sobrien	* configure: Regenerate
4899130561Sobrien
4900130561Sobrien2002-08-09  Jakub Jelinek  <jakub@redhat.com>
4901130561Sobrien
4902130561Sobrien	* config/tc-i386.c (output_insn): Save frag_now and frag_now_fix ()
4903130561Sobrien	at start of insn, pass it to output_disp and output_imm.
4904130561Sobrien	(output_disp): Added arguments.  If _GLOBAL_OFFSET_TABLE_ is seen
4905130561Sobrien	in displacement for R_386_32 reloc, use R_386_GOTPC and compute
4906130561Sobrien	properly addend.
4907130561Sobrien	(output_imm): Added arguments.  Compute properly addend for
4908130561Sobrien	R_386_GOTPC.
4909130561Sobrien	(md_apply_fix3): Remove R_386_GOTPC handling.
4910130561Sobrien
4911130561Sobrien2002-08-06  George France <france@handhelds.org>
4912130561Sobrien
4913130561Sobrien	* config/tc-alpha.c (cpu_types): Enabled ev67, ev68,  -m21264a
4914130561Sobrien	and m21264b processor names and cpu types.
4915130561Sobrien	* doc/c-alpha.texi: Documented new types.
4916130561Sobrien
4917130561Sobrien2002-08-06  Alan Modra  <amodra@bigpond.net.au>
4918130561Sobrien
4919130561Sobrien	* config/tc-ppc.c (md_apply_fix3): Adjust 16 bit XCOFF reloc offset.
4920130561Sobrien
4921130561Sobrien2002-08-01  Richard Sandiford  <rsandifo@redhat.com>
4922130561Sobrien
4923130561Sobrien	* config/tc-mips.c (tc_gen_reloc): Extend GP-relative addend
4924130561Sobrien	handling to BFD_RELOC_MIPS16_GPREL.
4925130561Sobrien
4926130561Sobrien2002-08-01  Nick Clifton  <nickc@redhat.com>
4927130561Sobrien
4928130561Sobrien	* config/tc-arm.c (add_to_lit_pool): Ensure that offset to literal
4929130561Sobrien	pool is computed using signed arithmetic so that proper sign
4930130561Sobrien	extension is performed if X_add_number is a 64-bit integer.
4931130561Sobrien
4932130561Sobrien2002-08-01  H.J. Lu  <hjl@gnu.org>
4933130561Sobrien	    Daniel Jacobowitz  <drow@mvista.com>
4934130561Sobrien
4935130561Sobrien	* dwarf2dbg.c (dwarf2_finish): Don't emit unreferenced
4936130561Sobrien	.debug_line section unless it has line information.
4937130561Sobrien
4938130561Sobrien2002-07-31  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
4939130561Sobrien
4940130561Sobrien	* config/tc-ns32k.h (md_pcrel_adjust): Supply prototype.
4941130561Sobrien	* config/tc-ns32k.c (convert_iif, md_parse_option, md_show_usage):
4942130561Sobrien	Allow default displacement size to be an option	"--disp-size-default".
4943130561Sobrien	(md_number_to_disp): Make error messages include value. Use %d to
4944130561Sobrien	print integers, not %s.
4945130561Sobrien	(fix_new_ns32k): Conditionally set fx_no_overflow so we don't
4946130561Sobrien	get duplicate messages sometimes.
4947130561Sobrien	(convert_iif): Grow frag to max possible instruction size. Avoid
4948130561Sobrien	creating unnecessary fixes.
4949130561Sobrien	(md_number_to_field) Add prototype.
4950130561Sobrien	(encode_operand, parse, convert_iif, md_fix_pcrel_adjust): Add
4951130561Sobrien	prototypes and make static.
4952130561Sobrien	(struct addr_mode): Make mode and scaled_mode explicitly signed.
4953130561Sobrien	(evaluate_expr): Use resultP argument instead of exprP global.
4954130561Sobrien	(get_addr_mode): Quiten compiler warnings.
4955130561Sobrien	(encode_operand): eliminate unused variables. Quiten compiler
4956130561Sobrien	warnings. Eliminate nul character in format strings.
4957130561Sobrien	(parse): argc is unsigned.
4958130561Sobrien	(reloc): Type cast index to quieten compiler.
4959130561Sobrien	(md_pcrel_adjust, md_apply_fix3): Remove unused variable.
4960130561Sobrien	(md_convert_frag): Note unused parameters. Remove unused
4961130561Sobrien	variables.
4962130561Sobrien	(md_create_long_jump, md_create_short_jump,
4963130561Sobrien	md_undefined_symbol_name, md_section_align, tc_gen_reloc): Note
4964130561Sobrien	unused parameters.
4965130561Sobrien
4966130561Sobrien2002-07-31  Nick Clifton  <nickc@redhat.com>
4967130561Sobrien
4968130561Sobrien	* NEWS: Retroactively add entry for Lars Brinkhoff's contribution
4969130561Sobrien	of the PDP-11 and 2.11BSD a.out support.
4970130561Sobrien
4971130561Sobrien2002-07-31  Momchil Velikov  <velco@fadata.bg>
4972130561Sobrien
4973130561Sobrien	* config/tc-v850.c (md_assemble): Fix range check for immediate
4974130561Sobrien	operand.
4975130561Sobrien
4976130561Sobrien2002-07-30  Chris Demetriou  <cgd@broadcom.com>
4977130561Sobrien
4978130561Sobrien	* config/tc-mips.c (mips_cpu_info_table): Clean up entries related
4979130561Sobrien	to Broadcom SB-1 core support.
4980130561Sobrien
4981130561Sobrien2002-07-31  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4982130561Sobrien
4983130561Sobrien	* config/tc-mips.c (mips_target_format): Fix formatting.
4984130561Sobrien	Add recognition of n32 ABI formats.
4985130561Sobrien
4986130561Sobrien2002-07-30  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
4987130561Sobrien
4988130561Sobrien	* tc-mips.c (load_address): Don't clobber $at when loading a
4989130561Sobrien	64-bit address in non-PIC code if noat is in effect.
4990130561Sobrien	(macro): Likewise.
4991130561Sobrien
4992130561Sobrien2002-07-30  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
4993130561Sobrien
4994130561Sobrien	* config/tc-mips.c (macro): Use codes 6 and 7 in trap instructions
4995130561Sobrien	used in division/multiply macro expansions similarly to how they
4996130561Sobrien	are used in the variants with break instructions.
4997130561Sobrien	(macro2): Likewise.
4998130561Sobrien
4999130561Sobrien2002-07-30  Graeme Peterson  <gp@qnx.com>
5000130561Sobrien
5001130561Sobrien	* configure.in: Add support for arm-*-nto target.
5002130561Sobrien	* configure: Regenerate.
5003130561Sobrien
5004130561Sobrien2002-07-30  Nick Clifton  <nickc@redhat.com>
5005130561Sobrien
5006130561Sobrien	* config/tc-arm.c (struct literal_pool): Add fields to allow
5007130561Sobrien	multiple literal pools to be maintained.
5008130561Sobrien	(find_literal_pool): New function.
5009130561Sobrien	(find_or_make_literal_pool): New function.
5010130561Sobrien	(add_to_literal_pool): Use find_or_make_literal_pool.
5011130561Sobrien	(arm_s_text, arm_s_data, arm_s_section): Remove - no longer
5012130561Sobrien	needed.
5013130561Sobrien	(s_ltorg): Use find_literal_pool.
5014130561Sobrien	(arm_cleanup): Dump all literal pools.
5015130561Sobrien	* doc/c-arm.texi: Document new behaviour of only dumping literal
5016130561Sobrien	pools upon request.
5017130561Sobrien
5018130561Sobrien2002-07-26  Alan Modra  <amodra@bigpond.net.au>
5019130561Sobrien
5020130561Sobrien	* config/tc-ppc.c (ppc_set_cpu): Use PPC_OPCODE_64 as the default
5021130561Sobrien	rather than PPC_OPCODE_32 for powerpc64*.
5022130561Sobrien
5023130561Sobrien2002-07-25  Nick Clifton  <nickc@redhat.com>
5024130561Sobrien
5025130561Sobrien	* po/es.po: Updated Spanish translation.
5026130561Sobrien	* po/fr.po: Updated French translation.
5027130561Sobrien
5028130561Sobrien2002-07-25  Richard Sandiford  <rsandifo@redhat.com>
5029130561Sobrien
5030130561Sobrien	* doc/c-mips.texi: Remove -mcpu.  Document -mabi.
5031130561Sobrien	* configure.in (MIPS_CPU_STRING_DEFAULT): New configuration macro.
5032130561Sobrien	(USE_E_MIPS_ABI_O32, MIPS_DEFAULT_64BIT): New configuration macros.
5033130561Sobrien	* configure, config.in: Regenerate.
5034130561Sobrien	* config/tc-mips.c (file_mips_abi): Rename to mips_abi.
5035130561Sobrien	(mips_set_options): Remove "abi" field.
5036130561Sobrien	(mips_opts): Update accordingly.  Replace all uses of mips_opts.abi
5037130561Sobrien	with mips_abi.
5038130561Sobrien	(mips_cpu): Remove.
5039130561Sobrien	(mips_arch_string, mips_arch_info): New vars.
5040130561Sobrien	(mips_tune_string, mips_tune_info): New vars.
5041130561Sobrien	(ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New macros.
5042130561Sobrien	(HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): Don't check the ABI.
5043130561Sobrien	(mips_isa_to_str, mips_cpu_to_str): Remove.
5044130561Sobrien	(mips_ip): If the selected architecture is a generic ISA rather
5045130561Sobrien	than a processor, only mention the ISA level in error messages.
5046130561Sobrien	(OPTION_MCPU): Remove.
5047130561Sobrien	(OPTION_FP64): New.
5048130561Sobrien	(md_longopts): Add -mfp64, remove -mcpu.
5049130561Sobrien	(mips_set_option_string): New fn.
5050130561Sobrien	(md_parse_option): Make -mipsN update file_mips_isa rather than
5051130561Sobrien	mips_opts.isa.  Use mips_set_option_string to set -march or -mtune.
5052130561Sobrien	Don't let -mgp32 and -mfp32 change the ABI.
5053130561Sobrien	(show): Move to end of file.  Constify string argument.
5054130561Sobrien	(md_show_usage): Move to the end of the file.  Read available
5055130561Sobrien	architectures from mips_cpu_info_table.
5056130561Sobrien	(mips_set_architecture): New fn.
5057130561Sobrien	(mips_after_parse_args): Rework.  Remove -mcpu handling.  -mipsN
5058130561Sobrien	is an alias for -march=mipsN.  Don't change the ABI based on other
5059130561Sobrien	flags.  Infer the register size from the ABI as	well as the
5060130561Sobrien	architecture.  Complain about more conflicting arguments.
5061130561Sobrien	Unify logic with GCC.
5062130561Sobrien	(s_mipsset): Don't change the ABI.
5063130561Sobrien	(mips_elf_final_processing): Check USE_E_MIPS_ABI_O32.
5064130561Sobrien	(mips_cpu_info_table): Remove Generic-MIPS* entries, keeping just
5065130561Sobrien	"mipsN"-type entries.  Remove entries that vary only in the
5066130561Sobrien	manufacturer's prefix, or that have "000" replaced by "k".
5067130561Sobrien	Remove TARGET_CPU entries.  Make r2000 entry use CPU_R3000.
5068130561Sobrien	(mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
5069130561Sobrien	(mips_parse_cpu): New fn.
5070130561Sobrien	(mips_cpu_info_from_name, mips_cpu_info_from_cpu): Remove.
5071130561Sobrien	(mips_cpu_info_from_isa): Minor formatting tweak.
5072130561Sobrien
5073130561Sobrien2002-07-24  Nick Clifton  <nickc@redhat.com>
5074130561Sobrien
5075130561Sobrien	* po/sv.po: Updated Swedish translation.
5076130561Sobrien	* po/es.po: Updated Spanish translation.
5077130561Sobrien
5078130561Sobrien2002-07-23  Alan Modra  <amodra@bigpond.net.au>
5079130561Sobrien
5080130561Sobrien	* Makefile.am: Run "make dep-am".
5081130561Sobrien	* Makefile.in: Regenerate.
5082130561Sobrien	* doc/Makefile.in: Regenerate.
5083130561Sobrien	* config.in: Regenerate.
5084130561Sobrien	* po/POTFILES.in: Regenerate.
5085130561Sobrien
5086130561Sobrien2002-07-23  Nick Clifton  <nickc@redhat.com>
5087130561Sobrien
5088130561Sobrien	* po/fr.po: Updated French translation.
5089130561Sobrien
5090130561Sobrien2002-07-23  Nick Clifton  <nickc@redhat.com>
5091130561Sobrien
5092130561Sobrien	* CONTRIBUTORS: Ken Raeburn is no longer the maintainer for
5093130561Sobrien	GAS.
5094130561Sobrien
5095130561Sobrien2002-07-19  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5096130561Sobrien
5097130561Sobrien	* config/tc-mips.c (mips_need_elf_addend_fixup): Use S_IS_EXTERNAL
5098130561Sobrien	instead of S_IS_EXTERN.
5099130561Sobrien	(md_estimate_size_before_relax): Likewise.
5100130561Sobrien	(mips_fix_adjustable): Likewise.
5101130561Sobrien
5102130561Sobrien2002-07-19  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5103130561Sobrien
5104130561Sobrien	* config/tc-mips.c (mips_pic_level): Remove IRIX4_PIC.
5105130561Sobrien
5106130561Sobrien2002-07-19  Miroslav Tichy <tichm9am@ss1000.ms.mff.cuni.cz>
5107130561Sobrien	    Nick Clifton  <nickc@redhat.com>
5108130561Sobrien
5109130561Sobrien	* cond.c (s_ifdef): Treat a referenced but not yet defined
5110130561Sobrien	symbol as if it were undefined, in exactly the same way as
5111130561Sobrien	.equiv.
5112130561Sobrien
5113130561Sobrien	* doc/as.texinfo: Document that .ifdef, .ifndef and .equiv
5114130561Sobrien	consider referenced bug not yet defined symbols to be
5115130561Sobrien	undefined.
5116130561Sobrien
5117130561Sobrien2002-07-18  Denis Chertykov  <denisc@overta.ru>
5118130561Sobrien	    Frank Ch. Eigler  <fche@redhat.com>
5119130561Sobrien	    Alan Lehotsky  <alehotsky@cygnus.com>
5120130561Sobrien	    John Healy  <jhealy@redhat.com>
5121130561Sobrien	    Jeff Johnston  <jjohnstn@redhat.com>
5122130561Sobrien
5123130561Sobrien	* configure.in: Add ip2k configuraton.
5124130561Sobrien	* configure: Regenerate.
5125130561Sobrien	* Makefile.am: Add ip2k configuraton.
5126130561Sobrien	* Makefile.in: Regenerate.
5127130561Sobrien	* configure: Regenerate.
5128130561Sobrien	* Makefile.in: Regenerate.
5129130561Sobrien	* config/tc-ip2k.c: New file.
5130130561Sobrien	* config/tc-ip2k.h: New files.
5131130561Sobrien	* NEWS: Mention new support.
5132130561Sobrien	* doc/Makefile.am (CPU_DOCS): Add c-ip2k.texi.
5133130561Sobrien	* doc/Makefile.in: Regenerate.
5134130561Sobrien	* doc/all.texi: Set IP2K
5135130561Sobrien	* doc/as.texinfo: Add IP2K description.
5136130561Sobrien	* doc/c-ip2k.texi: New file.
5137130561Sobrien
5138130561Sobrien2002-07-19  Nick Clifton  <nickc@cambridge.redhat.com>
5139130561Sobrien
5140130561Sobrien	* NEWS: Reformat to match style of other NEWS files.
5141130561Sobrien
5142130561Sobrien2002-07-17  Jan Hubicka  <jh@suse.cz>
5143130561Sobrien
5144130561Sobrien	* tc-i386.c (i386_align_code): Implement x86_64 neutral code fillers.
5145130561Sobrien
5146130561Sobrien2002-07-16  Moritz Jodeit  <moritz@jodeit.org>
5147130561Sobrien
5148130561Sobrien	* config/tc-z8k.c (build_bytes): Correct order of memset args.
5149130561Sobrien
5150130561Sobrien2002-07-16  Nick Clifton  <nickc@cambridge.redhat.com>
5151130561Sobrien
5152130561Sobrien	* NEWS: Add 'Changes in 2.13'.
5153130561Sobrien
5154130561Sobrien2002-07-15  Matt Fredette  <fredette@netbsd.org>
5155130561Sobrien
5156130561Sobrien	* config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define if TE_NetBSD.
5157130561Sobrien
5158130561Sobrien2002-07-12  Alan Modra  <amodra@bigpond.net.au>
5159130561Sobrien
5160130561Sobrien	* config/tc-i386.c (process_suffix): Merge CODE_64BIT JumpByte
5161130561Sobrien	case with non CODE_64BIT case.  Don't warn on "qword ptr" if
5162130561Sobrien	not CODE_64BIT.
5163130561Sobrien
5164130561Sobrien2002-07-11  Alan Modra  <amodra@bigpond.net.au>
5165130561Sobrien
5166130561Sobrien	* config/tc-ppc.c (ppc_elf_frob_symbol): Delete.
5167130561Sobrien	(ppc_frob_file_before_adjust): New function.
5168130561Sobrien	* config/tc-ppc.h (tc_frob_symbol): Don't define.
5169130561Sobrien	(ppc_elf_frob_symbol): Don't declare.
5170130561Sobrien	(tc_frob_file_before_adjust): Define.
5171130561Sobrien	(ppc_frob_file_before_adjust): Declare.
5172130561Sobrien
5173130561Sobrien	* config/tc-ppc.c (md_pseudo_table): Warning fix.
5174130561Sobrien	(ppc_cpu): Make it unsigned long to agree with struct powerpc_opcode
5175130561Sobrien	flags.
5176130561Sobrien	(ppc_size): Delete.
5177130561Sobrien	(ppc_xcoff64): Rename to ppc_obj64.
5178130561Sobrien	(md_parse_option <m>): Encode old ppc_size value in ppc_cpu.
5179130561Sobrien	(ppc_set_cpu): Set PPC_OPCODE_32 too.
5180130561Sobrien	(ppc_arch): Use ppc_obj64 instead of ppc_size to select bfd_mach_ppc64
5181130561Sobrien	or bfd_mach_ppc.
5182130561Sobrien	(ppc_target_format): Use ppc_obj64 to select format.
5183130561Sobrien	(md_begin): Adjust for PPC_OPCODE_32/64 in ppc_cpu.
5184130561Sobrien	(ppc_insert_operand): Use ppc_obj64 instead of ppc_size.
5185130561Sobrien	(ppc_elf_suffix): Likewise.  Don't depend on BFD_DEFAULT_TARGET_SIZE.
5186130561Sobrien	(tc_frob_symbol): Likewise.
5187130561Sobrien	(md_assemble): Use ppc_obj64 instead of ppc_size.  Don't depend on
5188130561Sobrien	BFD_DEFAULT_TARGET_SIZE.
5189130561Sobrien	(ppc_tc): Likewise.
5190130561Sobrien	(ppc_is_toc_sym): Likewise.
5191130561Sobrien	(md_apply_fix3): Likewise.
5192130561Sobrien	* config/tc-ppc.h (TC_FORCE_RELOCATION): Don't depend on
5193130561Sobrien	BFD_DEFAULT_TARGET_SIZE.
5194130561Sobrien	(ELF_TC_SPECIAL_SECTIONS): Likewise.
5195130561Sobrien	(tc_frob_symbol): Likewise.
5196130561Sobrien
5197130561Sobrien2002-07-09  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5198130561Sobrien
5199130561Sobrien	* config/tc-mips.c (macro_build): Handle MIPS16 insns.
5200130561Sobrien	(mips_ip): Likewise.
5201130561Sobrien
5202130561Sobrien2002-07-09  Alan Modra  <amodra@bigpond.net.au>
5203130561Sobrien
5204130561Sobrien	* config/tc-i386.c (md_pseudo_table <file>): Warning fix.
5205130561Sobrien	(BFD_RELOC_8, BFD_RELOC_8_PCREL): Define for non-BFD.
5206130561Sobrien	(md_apply_fix3): Formatting.  Remove redundant test.
5207130561Sobrien	(tc_gen_reloc): Remove redundant code.
5208130561Sobrien	(tc_i386_force_relocation): Delete.  Movy body of function to..
5209130561Sobrien	* config/tc-i386.h (TC_FORCE_RELOCATION): .. here.
5210130561Sobrien
5211130561Sobrien2002-07-09  Federico G. Schwindt <fgsch@olimpo.com.br>
5212130561Sobrien
5213130561Sobrien	* configure.in: Add hppa-*-openbsd* target, change
5214130561Sobrien	alpha*-*-openbsd* format to elf, and use elf for sparc-*-openbsd*
5215130561Sobrien	with sparc64 cpu.
5216130561Sobrien	* configure: Regenerate.
5217130561Sobrien
5218130561Sobrien2002-07-08  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
5219130561Sobrien
5220130561Sobrien	* config/tc-mips.c (macro): Shift the 32-bit address range
5221130561Sobrien	accessible with a lone "lui" down by 32768.
5222130561Sobrien
5223130561Sobrien2002-07-08  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
5224130561Sobrien
5225130561Sobrien	* config/tc-mips.c (load_address): Use non-trapping "daddu"
5226130561Sobrien	instead of "dadd" in address calculations.
5227130561Sobrien	(macro): Likewise.
5228130561Sobrien
5229130561Sobrien2002-07-08  Alan Modra  <amodra@bigpond.net.au>
5230130561Sobrien
5231130561Sobrien	* config/tc-i386.c (process_suffix): Remove intel mode movsx and
5232130561Sobrien	movzx fudges.
5233130561Sobrien	(md_assemble): Instead, zap the suffix here.
5234130561Sobrien
5235130561Sobrien2002-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
5236130561Sobrien
5237130561Sobrien	* NEWS: Remove next release number until the release is actually
5238130561Sobrien	upon us.
5239130561Sobrien
5240130561Sobrien2002-07-03  Alan Modra  <amodra@bigpond.net.au>
5241130561Sobrien
5242130561Sobrien	* Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
5243130561Sobrien	Run "make dep-am".
5244130561Sobrien	* Makefile.in: Regenerate.
5245130561Sobrien
5246130561Sobrien2002-07-02  Martin Schwidefsky  <schwidefsky@de.ibm.com>
5247130561Sobrien
5248130561Sobrien	* config/tc-s390.c (tc_s390_fix_adjustable): Prevent any adjustment
5249130561Sobrien	to symbols in merge sections, even non pc-relative ones.
5250130561Sobrien
5251130561Sobrien2002-06-29  Stephane Carrez  <stcarrez@nerim.fr>
5252130561Sobrien
5253130561Sobrien	* config/tc-m68hc11.h (m68hc11_listing_header): Fix warning.
5254130561Sobrien
5255130561Sobrien2002-06-29  Stephane Carrez  <stcarrez@nerim.fr>
5256130561Sobrien
5257130561Sobrien	* config/tc-m68hc11.h (ELF_TC_SPECIAL_SECTIONS): New sections
5258130561Sobrien	.softregs and .eeprom.
5259130561Sobrien
5260130561Sobrien2002-06-28  David O'Brien  <obrien@FreeBSD.org>
5261130561Sobrien
5262130561Sobrien	* NEWS: Note the next release is 2.13.
5263130561Sobrien
5264130561Sobrien2002-06-26  Nick Clifton  <nickc@cambridge.redhat.com>
5265130561Sobrien
5266130561Sobrien	* po/tr.po: New translation imported.
5267130561Sobrien
5268130561Sobrien2002-06-26  Elias Athanasopoulos  <eathan@otenet.gr>
5269130561Sobrien
5270130561Sobrien	* ecoff.c: (get_tag): Replace strcpy with xstrdup.
5271130561Sobrien	(ecoff_directive_def): Likewise.
5272130561Sobrien	(ecoff_directive_tag): Likewise.
5273130561Sobrien	* listing.c (file_info): Likewise.
5274130561Sobrien	* hash.c (what): Likewise.
5275130561Sobrien
5276130561Sobrien2002-06-25  H.J. Lu <hjl@gnu.org>
5277130561Sobrien
5278130561Sobrien	* Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
5279130561Sobrien	* Makefile.in: Regenerated.
5280130561Sobrien
5281130561Sobrien2002-06-19  Dhananjay R. Deshpande <dhananjayd@kpit.com>
5282130561Sobrien
5283130561Sobrien	* config/tc-sh.c (get_specific): Revert 2002-05-01 change.
5284130561Sobrien	(assemble_ppi): Generate warning if the same register is used
5285130561Sobrien	twice as destination in the same padd / pmuls instruction.
5286130561Sobrien
5287130561Sobrien2002-06-18  Dave Brolley  <brolley@redhat.com>
5288130561Sobrien
5289130561Sobrien	From Catherine Moore, Michael Meissner, Richard Sandiford, Dave Brolley
5290130561Sobrien	* po/POTFILES.in: Add tc-frv.c, tc-frv.h.
5291130561Sobrien	* configure.in: Support frv-*-*.
5292130561Sobrien	* Makefile.am (CPU_TYPES): Add frv.
5293130561Sobrien	(TARGET_CPU_CFILES): Add tc-frv.c.
5294130561Sobrien	(TARGET_CPU_HFILES): Add tc-frv.h.
5295130561Sobrien	(DEPTC_frv_coff): New variable.
5296130561Sobrien	(DEPTC_frv_elf): New variable.
5297130561Sobrien	(DEPOBJ_frv_coff): New variable.
5298130561Sobrien	(DEPOBJ_frv_elf): New variable.
5299130561Sobrien	(DEP_frv_coff): New variable.
5300130561Sobrien	(DEP_frv_elf): New variable.
5301130561Sobrien	* tc-frv.c: New file.
5302130561Sobrien	* tc-frv.h: New file.
5303130561Sobrien
5304130561Sobrien2002-06-17  Catherine Moore <clm@redhat.com>
5305130561Sobrien
5306130561Sobrien	* config/obj-elf.h (TARGET_SYMBOL_FIELDS): Conditionally define.
5307130561Sobrien
5308130561Sobrien2002-06-17  J"orn Rennecke <joern.rennecke@superh.com>
5309130561Sobrien
5310130561Sobrien	* config/tc-sh.c (assemble_ppi): Initialize reg_n.
5311130561Sobrien
5312130561Sobrien2002-06-17  Tom Rix <trix@redhat.com>
5313130561Sobrien
5314130561Sobrien	* config/tc-i370.h (tc_comment_chars): Define for i370-elf.
5315130561Sobrien
5316130561Sobrien2002-06-14  H.J. Lu  <hjl@gnu.org>
5317130561Sobrien	    Daniel Jacobowitz  <drow@mvista.com>
5318130561Sobrien
5319130561Sobrien	* dwarf2dbg.h (dwarf2_directive_file): Return char *.
5320130561Sobrien	* dwarf2dbg.c (dwarf2_directive_file): Return filename.
5321130561Sobrien	* config/tc-mips.c (s_mips_file): Call s_app_file_string
5322130561Sobrien	and new_logical_line for the first .file directive.
5323130561Sobrien	* read.c (s_app_file_string): New function.
5324130561Sobrien	(s_app_file): Call it.
5325130561Sobrien	* read.h (s_app_file_string): Add declaration.
5326130561Sobrien
5327130561Sobrien2002-06-14  Daniel Jacobowitz  <drow@mvista.com>
5328130561Sobrien
5329130561Sobrien	* configure.in: Remove MIPS_STABS_ELF.
5330130561Sobrien	* configure: Regenerated.
5331130561Sobrien	* config.in: Regenerated.
5332130561Sobrien	* config/obj-elf.h (ECOFF_DEBUGGING): Define to mips_flag_mdebug
5333130561Sobrien	for MIPS targets.
5334130561Sobrien	* config/tc-mips.c (mips_pseudo_table): Remove #ifdef around
5335130561Sobrien	".extern".
5336130561Sobrien	(pdr_seg): Declare unconditionally.
5337130561Sobrien	(md_begin): Always generate .pdr unless ECOFF_DEBUGGING or not ELF.
5338130561Sobrien	(s_mips_end): Likewise.  Generate stabs function markers.
5339130561Sobrien	(s_mips_ent): Generate stabs function markers.
5340130561Sobrien	(s_mips_frame): Always generate .pdr unless ECOFF_DEBUGGING or not
5341130561Sobrien	ELF.
5342130561Sobrien	(s_mips_mask): Likewise.
5343130561Sobrien	(mips_flag_mdebug): New.
5344130561Sobrien	(md_longopts): Add "mdebug" and "no-mdebug".
5345130561Sobrien	(md_parse_options): Add OPTION_MDEBUG and OPTION_NO_MDEBUG.
5346130561Sobrien	(mips_after_parse_args): Set mips_flag_mdebug.
5347130561Sobrien	* doc/as.texinfo: Add "-mdebug" and "-no-mdebug" for MIPS.
5348130561Sobrien
5349130561Sobrien2002-06-13  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
5350130561Sobrien
5351130561Sobrien	* config/tc-mips.c (md_apply_fix3): Don't subtract the symbol's
5352130561Sobrien	value twice for RELA relocations.
5353130561Sobrien
5354130561Sobrien2002-06-12  Ben Elliston  <bje@redhat.com>
5355130561Sobrien
5356130561Sobrien	* symbols.c (resolve_symbol_value): Initialise final_val.
5357130561Sobrien
5358130561Sobrien	* subsegs.c (subsegs_print_statistics): Cast frchp to void *.
5359130561Sobrien
5360130561Sobrien2002-06-11  Tom Rix  <trix@redhat.com>
5361130561Sobrien
5362130561Sobrien	* config/tc-ppc.c (ppc_subseg_align): Delete.
5363130561Sobrien	(ppc_change_csect): Default csect align is 2.
5364130561Sobrien	* config/tc-ppc.h (SUB_SEGMENT_ALIGN): Delete
5365130561Sobrien
5366130561Sobrien2002-06-09  Marek Michalkiewicz  <marekm@amelek.gda.pl>
5367130561Sobrien
5368130561Sobrien	* config/tc-avr.c (mcu_types): Update.
5369130561Sobrien
5370130561Sobrien2002-06-08  Matt Thomas  <matt@3am-software.com>
5371130561Sobrien
5372130561Sobrien	* configure.in (vax-*-netbsdelf*, vax-*-netbsdaout*)
5373130561Sobrien	(vax-*-netbsd*): New targets.
5374130561Sobrien	* configure: Regenerate.
5375130561Sobrien	* config/aout_gnu.h (enum machine_type): Add M_VAX4K_NETBSD.
5376130561Sobrien	* config/tc-vax.c: Add support for ELF and PIC.
5377130561Sobrien	(flag_want_pic): New flag.
5378130561Sobrien	(float_cons): Fix prototype.
5379130561Sobrien	(md_apply_fix3): Adjust for BFD_ASSEMBLER.
5380130561Sobrien	(md_assemble): Introduce a new is_absolute local, and use it
5381130561Sobrien	rather than repeating the test.  Make fatal errors actually
5382130561Sobrien	fatal by using as_fatal as appropriate.  Adjust for BFD_ASSEMBLER.
5383130561Sobrien	Add support for ELF.  Add support for PIC.
5384130561Sobrien	(md_convert_frag): Adjust for BFD_ASSEMBLER.
5385130561Sobrien	(tc_aout_fix_to_chars): Only include if OBJ_AOUT and not
5386130561Sobrien	BFD_ASSEMBLER.
5387130561Sobrien	(vax_reg_parse): Make the % register prefix mandatory for ELF,
5388130561Sobrien	optional for a.out, and not allowed for VMS.  Adjust all callers.
5389130561Sobrien	(md_create_short_jump): Add ATTRIBUTE_UNUSED to unused arguments.
5390130561Sobrien	(md_create_long_jump): Likewise.
5391130561Sobrien	(md_undefined_symbol): Likewise.
5392130561Sobrien	(md_section_align): Likewise.
5393130561Sobrien	(md_shortopts): Allow -k and -K for ELF.
5394130561Sobrien	(md_parse_option): Set flag_want_pic if -k or -K.
5395130561Sobrien	(tc_headers_hook): New function if OBJ_AOUT and not BFD_ASSEMBLER.
5396130561Sobrien	(tc_gen_reloc): New function if BFD_ASSEMBLER.
5397130561Sobrien	* config/tc-vax.h (tc_headers_hook): Remove.
5398130561Sobrien	(TARGET_FORMAT): Set according to object format and target
5399130561Sobrien	environment.
5400130561Sobrien	(BFD_ARCH, TARGET_ARCH): Define.
5401130561Sobrien	(NO_RELOC): Adjust for BFD_ASSEMBLER.
5402130561Sobrien	(TC_RELOC_RTSYM_LOC_FIXUP, TC_FIX_ADJUSTABLE)
5403130561Sobrien	(tc_fix_adjustable): Define if BFD_ASSEMBLER.
5404130561Sobrien	* config/vax-inst.h (VAX_JSB, VAX_CALLS, VAX_CALLG): Define.
5405130561Sobrien
5406130561Sobrien2002-06-08  Alan Modra  <amodra@bigpond.net.au>
5407130561Sobrien
5408130561Sobrien	* Makefile.am: Run "make dep-am".
5409130561Sobrien	* Makefile.in: Regenerate.
5410130561Sobrien
5411130561Sobrien	* as.c: Replace CONST with const.
5412130561Sobrien	* write.c: Likewise.
5413130561Sobrien	* config/obj-coff.c: Likewise.
5414130561Sobrien	* config/tc-a29k.c: Likewise.
5415130561Sobrien	* config/tc-arm.c: Likewise.
5416130561Sobrien	* config/tc-dlx.c: Likewise.
5417130561Sobrien	* config/tc-h8300.c: Likewise.
5418130561Sobrien	* config/tc-h8500.c: Likewise.
5419130561Sobrien	* config/tc-i370.c: Likewise.
5420130561Sobrien	* config/tc-i860.c: Likewise.
5421130561Sobrien	* config/tc-i960.c: Likewise.
5422130561Sobrien	* config/tc-m68hc11.c: Likewise.
5423130561Sobrien	* config/tc-m68k.c: Likewise.
5424130561Sobrien	* config/tc-m88k.c: Likewise.
5425130561Sobrien	* config/tc-mcore.c: Likewise.
5426130561Sobrien	* config/tc-mips.c: Likewise.
5427130561Sobrien	* config/tc-ns32k.c: Likewise.
5428130561Sobrien	* config/tc-pdp11.c: Likewise.
5429130561Sobrien	* config/tc-pj.c: Likewise.
5430130561Sobrien	* config/tc-s390.c: Likewise.
5431130561Sobrien	* config/tc-sh.c: Likewise.
5432130561Sobrien	* config/tc-sparc.c: Likewise.
5433130561Sobrien	* config/tc-tahoe.c: Likewise.
5434130561Sobrien	* config/tc-tic80.c: Likewise.
5435130561Sobrien	* config/tc-v850.c: Likewise.
5436130561Sobrien	* config/tc-vax.c: Likewise.
5437130561Sobrien	* config/tc-w65.c: Likewise.
5438130561Sobrien	* config/tc-z8k.c: Likewise.
5439130561Sobrien
5440130561Sobrien2002-06-08  Daniel Jacobowitz  <drow@mvista.com>
5441130561Sobrien
5442130561Sobrien	Based on patch from Matt Green:
5443130561Sobrien	* config/obj-elf.h (ECOFF_DEBUGGING): Make configurable.
5444130561Sobrien	* config/tc-mips.c (s_mips_file): Renamed from s_file.
5445130561Sobrien	(s_mips_loc): New function.
5446130561Sobrien	(mips_nonecoff_pseudo_table): Call them.
5447130561Sobrien	(append_insn): Call dwarf2_emit_insn.
5448130561Sobrien
5449130561Sobrien2002-06-08  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5450130561Sobrien
5451130561Sobrien	* config/tc-mips.c (mips_opts): Fix comment, all ASE fields are set
5452130561Sobrien	to -1.
5453130561Sobrien	(file_ase_mips16): New veriable.
5454130561Sobrien	(mips_eabi64): Remove.
5455130561Sobrien	(CPU_HAS_MIPS16): New define.
5456130561Sobrien	(CPU_HAS_MDMX): Fix data type.
5457130561Sobrien	(md_begin): Code cleanup. Use file_ase_mips16.
5458130561Sobrien	(mips_elf_final_processing): Handle mips16 header flag.
5459130561Sobrien	Handle EABI flag without intermediate variable.
5460130561Sobrien
5461130561Sobrien2002-06-08  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5462130561Sobrien
5463130561Sobrien	* doc/as.texinfo: Update MIPS documentation.
5464130561Sobrien
5465130561Sobrien2002-06-08  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5466130561Sobrien
5467130561Sobrien	* config/tc-mips.c: Add define for $zero register.
5468130561Sobrien	(md_begin): Add $zero as alias name for $0.
5469130561Sobrien	(insn_uses_reg): Use ZERO define.
5470130561Sobrien	(mips_ip): Add $zero as alias name for $0.
5471130561Sobrien	(mips16_ip): Likewise.
5472130561Sobrien	(s_cplocal): Demand empty rest of input line.
5473130561Sobrien	(tc_get_register): Likewise. Add support for $kt0, kt1 register
5474130561Sobrien	names. Use ZERO define. Fix input_line_pointer progress.
5475130561Sobrien
5476130561Sobrien2002-06-07  Alan Modra  <amodra@bigpond.net.au>
5477130561Sobrien
5478130561Sobrien	* symbols.c: Replace CONST by const throughout.
5479130561Sobrien	(symbol_find_exact): Split out from..
5480130561Sobrien	(symbol_find_base): ..here.
5481130561Sobrien	* symbols.h: Replace CONST by const throughout.
5482130561Sobrien	(symbol_find_exact): Declare.
5483130561Sobrien	* config/obj-elf.c: #include "struc-symbol.h".
5484130561Sobrien	(elf_frob_file): If group name matches an exported symbol, use that
5485130561Sobrien	symbol for the signature and ".group" as the section name.
5486130561Sobrien
5487130561Sobrien2002-06-06  J"orn Rennecke <joern.rennecke@superh.com>
5488130561Sobrien
5489130561Sobrien	* config/tc-sh.c (parse_at): @(symbol,pc) is A_DISP_PC again,
5490130561Sobrien	but warn about it.
5491130561Sobrien
5492130561Sobrien2002-06-06  Daniel Jacobowitz  <drow@mvista.com>
5493130561Sobrien
5494130561Sobrien	* tc-mips.c (mips_after_parse_args): Always set mips_opts.ase_mips3d
5495130561Sobrien	and mips_opts.ase_mdmx if they are uninitialized.
5496130561Sobrien
5497130561Sobrien2002-06-06  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5498130561Sobrien
5499130561Sobrien	* gas/config/tc-hppa.c (pa_ip): Replace "L$0\001" with FAKE_LABEL_NAME.
5500130561Sobrien	(hppa_force_relocation): Check if a stub just before the start symbol
5501130561Sobrien	of the last call_info is reachable before forcing relocation.  Fix
5502130561Sobrien	typo.
5503130561Sobrien
5504130561Sobrien2002-06-04  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
5505130561Sobrien
5506130561Sobrien	* config/tc-mips.c (mips_after_parse_args): New function.
5507130561Sobrien	(md_begin): Move processing of defaults to mips_after_parse_args.
5508130561Sobrien	config/tc-mips.h (md_after_parse_args): Define.
5509130561Sobrien
5510130561Sobrien2002-06-04  Jason Thorpe  <thorpej@wasabisystems.com>
5511130561Sobrien
5512130561Sobrien	* configure.in (sh5*): Set cpu_type to sh64 and endian to big.
5513130561Sobrien	(sh5le*, sh64le*): Set cpu_type to sh64 and endian to little.
5514130561Sobrien	(sh5*-*-netbsd*, sh64*-*-netbsd*): New targets.
5515130561Sobrien	* configure: Regenerate.
5516130561Sobrien	* config/tc-sh64.c (sh64_target_format): Add support for NetBSD
5517130561Sobrien	environment.
5518130561Sobrien
5519130561Sobrien2002-06-04  Jason Thorpe  <thorpej@wasabisystems.com>
5520130561Sobrien
5521130561Sobrien	* config/tc-sh64.h (MD_PCREL_FROM_SECTION): Undef before redefining.
5522130561Sobrien
5523130561Sobrien2002-06-04  Alan Modra  <amodra@bigpond.net.au>
5524130561Sobrien
5525130561Sobrien	* config/obj-elf.c (obj_elf_change_section): Set and check elf
5526130561Sobrien	linkonce flag.  Print all warnings.
5527130561Sobrien	(obj_elf_section): Parse ",comdat" for groups.
5528130561Sobrien	(elf_frob_file): Set SEC_LINK_ONCE on COMDAT groups.  Check
5529130561Sobrien	consistency of comdat flag.
5530130561Sobrien
5531130561Sobrien2002-06-02  Richard Henderson  <rth@redhat.com>
5532130561Sobrien
5533130561Sobrien	* config/tc-alpha.c (alpha_adjust_symtab_relocs): Fix thinko
5534130561Sobrien	with LITERALs without sequence numbers.
5535130561Sobrien
5536130561Sobrien2002-06-01  Richard Henderson  <rth@redhat.com>
5537130561Sobrien
5538130561Sobrien	* config/tc-alpha.c: Move LITUSE constants to "elf/alpha.h".
5539130561Sobrien	Rename them LITUSE_ALPHA_*.
5540130561Sobrien
5541130561Sobrien2002-05-31  Shrinivas Atre <ShrinivasA@kpit.com>
5542130561Sobrien
5543130561Sobrien	* config/tc-h8300.c (get_operand): Allow stm.l and ldm.l insns to
5544130561Sobrien	accept parentheses enclosed register lists.
5545130561Sobrien
5546130561Sobrien2002-05-31  Alan Modra  <amodra@bigpond.net.au>
5547130561Sobrien
5548130561Sobrien	* Makefile.am: Run "make dep-am".
5549130561Sobrien	* Makefile.in: Regenerate.
5550130561Sobrien	* po/POTFILES.in: Regenerate.
5551130561Sobrien
5552130561Sobrien2002-05-31  Graeme Peterson  <gp@qnx.com>
5553130561Sobrien
5554130561Sobrien	* configure.in: Add i386-*-nto-qnx*.
5555130561Sobrien	* configure: Regenerate.
5556130561Sobrien
5557130561Sobrien2002-05-31  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5558130561Sobrien
5559130561Sobrien	* config/tc-mips.c (mips_ip): Use unsigned long values for
5560130561Sobrien	warning output.
5561130561Sobrien
5562130561Sobrien2002-05-31  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5563130561Sobrien
5564130561Sobrien	* config/tc-mips.c (s_cpsetup): Fix initialization of
5565130561Sobrien	mips_cpreturn_register and mips_cpreturn_offset.
5566130561Sobrien
5567130561Sobrien2002-05-31  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5568130561Sobrien
5569130561Sobrien	* config/tc-mips.c (s_cpsetup): Fix comment.
5570130561Sobrien
5571130561Sobrien2002-05-31  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5572130561Sobrien
5573130561Sobrien	* config/tc-mips.c (md_begin): Add $ra as alias name for $31.
5574130561Sobrien	(mips_ip): Likewise.
5575130561Sobrien	(mips16_ip): Likewise.
5576130561Sobrien	(tc_get_register): Likewise.
5577130561Sobrien
5578130561Sobrien2002-05-30  Chris G. Demetriou  <cgd@broadcom.com>
5579130561Sobrien	    Ed Satterthwaite  <ehs@broadcom.com>
5580130561Sobrien
5581130561Sobrien	* config/tc-mips.c (mips_set_options): New "ase_mdmx" member.
5582130561Sobrien	(mips_opts): Initialize "ase_mdmx" member.
5583130561Sobrien	(file_ase_mdmx): New variable.
5584130561Sobrien	(CPU_HAS_MDMX): New macro.
5585130561Sobrien	(md_begin): Initialize mips_opts.ase_mdmx and file_ase_mdmx
5586130561Sobrien	based on command line options and configuration defaults.
5587130561Sobrien	(macro_build): Note in comment that use of MDMX in macros is
5588130561Sobrien	not currently allowed.
5589130561Sobrien	(validate_mips_insn): Add support for the "O", "Q", "X", "Y", and
5590130561Sobrien	"Z" MDMX operand types.
5591130561Sobrien	(mips_ip): Accept MDMX instructions if mips_opts.ase_mdmx is set,
5592130561Sobrien	and add support for the "O", "Q", "X", "Y", and "Z" MDMX operand
5593130561Sobrien	types.
5594130561Sobrien	(OPTION_MDMX, OPTION_NO_MDMX, md_longopts, md_parse_option):
5595130561Sobrien	Add support for "-mdmx" and "-no-mdmx" options.
5596130561Sobrien	(OPTION_ELF_BASE): Move to accommodate new options.
5597130561Sobrien	(s_mipsset): Support ".set mdmx" and ".set nomdmx".
5598130561Sobrien	(mips_elf_final_processing): Set MDMX ASE ELF header flag if
5599130561Sobrien	file_ase_mdmx was set.
5600130561Sobrien	* doc/as.texinfo: Document -mdmx and -no-mdmx options.
5601130561Sobrien	* doc/c-mips.texi: Likewise, and document ".set mdmx" and ".set
5602130561Sobrien	nomdmx" directives.
5603130561Sobrien
5604130561Sobrien2002-05-31  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5605130561Sobrien
5606130561Sobrien	* config/tc-mips.c (OPTION_NO_M7000_HILO_FIX): Rename to
5607130561Sobrien	OPTION_MNO_7000_HILO_FIX. Add alternate "mno-fix7000"
5608130561Sobrien	command line switch conforming to gcc conventions.
5609130561Sobrien	* doc/c-mips.texi: Document -mno-fix7000 instead of no-mfix-7000.
5610130561Sobrien
5611130561Sobrien2002-05-31  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5612130561Sobrien
5613130561Sobrien	* config/tc-mips.c (macro_build_jalr): New Function.
5614130561Sobrien	(md_begin): NewABI uses big GOTs.
5615130561Sobrien	(macro_build): Recognize BFD_RELOC_MIPS_GOT_DISP,
5616130561Sobrien	BFD_RELOC_MIPS_GOT_PAGE, BFD_RELOC_MIPS_GOT_OFST as valid.
5617130561Sobrien	(load_address): Add some NewABI PIC support.
5618130561Sobrien	(macro): Likewise.
5619130561Sobrien	(md_apply_fix): Special handling for BFD_RELOC_MIPS_JALR.
5620130561Sobrien	(tc_gen_reloc): Don't encode NewABI vtables in REL relocations.
5621130561Sobrien
5622130561Sobrien2002-05-31  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5623130561Sobrien
5624130561Sobrien	* config/tc-mips.c (load_address): Use mips_gp_register instead
5625130561Sobrien	of hardcoded value. Remove dbl parameter, use HAVE_32BIT_ADDRESSES
5626130561Sobrien	instead.
5627130561Sobrien	(macro): Use mips_gp_register instead of hardcoded value.
5628130561Sobrien
5629130561Sobrien2002-05-30  Richard Henderson  <rth@redhat.com>
5630130561Sobrien
5631130561Sobrien	* expr.h (operatorT): Add O_md17..O_md32.
5632130561Sobrien	* config/tc-alpha.c (O_lituse_tlsgd, O_lituse_tlsldm, O_tlsgd,
5633130561Sobrien	O_tlsldm, O_gotdtprel, O_dtprelhi, O_dtprello, O_dtprel, O_gottprel,
5634130561Sobrien	O_tprelhi, O_tprello, O_tprel): New.
5635130561Sobrien	(USER_RELOC_P, alpha_reloc_op_tag, debug_exp): Include them.
5636130561Sobrien	(DUMMY_RELOC_LITUSE_TLSGD, DUMMY_RELOC_LITUSE_TLSLDM): New.
5637130561Sobrien	(LITUSE_TLSGD, LITUSE_TLSLDM): New.
5638130561Sobrien	(struct alpha_reloc_tag): Add master, saw_tlsgd, saw_tlsld,
5639130561Sobrien	saw_lu_tlsgd, saw_lu_tlsldm.  Make multi_section_p a bit field.
5640130561Sobrien	(md_apply_fix3): Handle TLS relocations.
5641130561Sobrien	(alpha_force_relocation, alpha_fix_adjustable): Likewise.
5642130561Sobrien	(alpha_adjust_symtab_relocs): Sort LITERAL relocs after the
5643130561Sobrien	associated TLS reloc.  Check lituse_tls relocs match up.
5644130561Sobrien	(emit_insn): Handle TLS relocations.
5645130561Sobrien	(ldX_op): Remove.
5646130561Sobrien
5647130561Sobrien	* doc/c-alpha.texi: Add docs for tls relocations.
5648130561Sobrien
5649130561Sobrien2002-05-30  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5650130561Sobrien
5651130561Sobrien	* config/tc-mips.c (mips_gprel_offset): New variable.
5652130561Sobrien	(s_gpvalue): Use it.
5653130561Sobrien
5654130561Sobrien2002-05-30  Diego Novillo  <dnovillo@redhat.com>
5655130561Sobrien
5656130561Sobrien	* gas/config/tc-d10v.c (check_resource_conflict): Only check
5657130561Sobrien	write-write conflicts.
5658130561Sobrien	(md_assemble): Reformat introductory comment.
5659130561Sobrien	(parallel_ok): Prevent packing only if the first
5660130561Sobrien	instruction cannot be packed.
5661130561Sobrien
5662130561Sobrien2002-05-30  Jason Eckhardt <jle@redhat.com>
5663130561Sobrien	    Tom Rix <trix@redhat.com>
5664130561Sobrien
5665130561Sobrien	* config/tc-d10v.c (build_insn): Check for immediates.
5666130561Sobrien
5667130561Sobrien2002-05-28  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5668130561Sobrien
5669130561Sobrien	* config/tc-mips.c: Replace GP in comments by $gp.
5670130561Sobrien	(mips_big_got): Initialize.
5671130561Sobrien	(mips_trap): Initialize.
5672130561Sobrien	(load_address): Use mips_gp_register instead of hardcoded value.
5673130561Sobrien	Remove dbl parameter, use HAVE_32BIT_ADDRESSES instead.
5674130561Sobrien	(macro): Use mips_gp_register instead of hardcoded value.
5675130561Sobrien	(macro2): Change load_address calls.
5676130561Sobrien	(md_pcrel_from): Comment formatting.
5677130561Sobrien	(s_cpload): Use mips_gp_register instead of hardcoded value.
5678130561Sobrien	(s_cprestore): Likewise. Comment formatting.
5679130561Sobrien	(s_gpword): Fix data type.
5680130561Sobrien	(s_cpadd): Use mips_gp_register instead of hardcoded value.
5681130561Sobrien	(nopic_need_relax): Replace GP in comments by $gp.
5682130561Sobrien	(mips_elf_final_processing): Better comment.
5683130561Sobrien
5684130561Sobrien2002-05-28  Kuang Hwa Lin <kuang@sbcglobal.net>
5685130561Sobrien
5686130561Sobrien	* configure.in: Add DLX configuraton
5687130561Sobrien	* Makefile.am: Add DLX configuraton
5688130561Sobrien	* configure: Regenerate.
5689130561Sobrien	* Makefile.in: Regenerate.
5690130561Sobrien	* config/tc-dlx.c: New file.
5691130561Sobrien	* config/tc-dlx.h: New files.
5692130561Sobrien	* NEWS: Mention new support.
5693130561Sobrien
5694130561Sobrien2002-05-27  Nick Clifton  <nickc@cambridge.redhat.com>
5695130561Sobrien
5696130561Sobrien	* config/obj-coff.c (write_object_file): Add missing semicolon.
5697130561Sobrien
5698130561Sobrien2002-05-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5699130561Sobrien
5700130561Sobrien	* config/tc-mips.c (mips_emit_delays): Replace magic constant for RA
5701130561Sobrien	by the define. Remove superfluous check of mips_opts.mips16.
5702130561Sobrien	(append_insn): Likewise. Canonicalize variable increments.
5703130561Sobrien	(macro_build): Canonicalize variable increments.
5704130561Sobrien	(macro_build_lui): Likewise.
5705130561Sobrien	(load_register): Likewise.
5706130561Sobrien	(load_address): Move pointer initialization.
5707130561Sobrien	(macro): Move pointer to a more local scope. Canonicalize variable
5708130561Sobrien	increments. Better comments. Replace magic constant for RA by the
5709130561Sobrien	define.
5710130561Sobrien	(macro2): Replace magic constant for RA by the define. Canonicalize
5711130561Sobrien	variable increments.
5712130561Sobrien	(mips_ip): Canonicalize variable increments.
5713130561Sobrien	(mips16_ip): Replace magic constant for RA by the define.
5714130561Sobrien	(my_getSmallParser): Canonicalize variable increments/decrements.
5715130561Sobrien	(my_getPercentOp): Likewise.
5716130561Sobrien	(my_getSmallExpression): Likewise.
5717130561Sobrien	(s_align): Likewise.
5718130561Sobrien	(s_mipsset): Likewise.
5719130561Sobrien	(s_cpsetup): Likewise.
5720130561Sobrien	(s_insn): Remove superfluous check of mips_opts.mips16.
5721130561Sobrien	(s_mips_stab): Likewise.
5722130561Sobrien	(mips_handle_align): Canonicalize variable increments.
5723130561Sobrien	(s_mips_ent): Likewise.
5724130561Sobrien	(s_mips_end): Add comment.
5725130561Sobrien
5726130561Sobrien2002-05-26  Jason Thorpe  <thorpej@wasabisystems.com>
5727130561Sobrien
5728130561Sobrien	* configure.in: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
5729130561Sobrien	* configure: Regenerate.
5730130561Sobrien
5731130561Sobrien2002-05-25  Alan Modra  <amodra@bigpond.net.au>
5732130561Sobrien
5733130561Sobrien	* Makefile.am (OBJS): Depend on ansidecl.h and fopen-same.h.
5734130561Sobrien	* Makefile.in: Regenerate.
5735130561Sobrien	* dep-in.sed: Reorder to match OBJS in Makefile.am.
5736130561Sobrien	* configure.in (ALL_OBJ_DEPS): Add symcat.h when need_bfd.
5737130561Sobrien	* configure: Regenerate.
5738130561Sobrien	* as.h: Use #include "" instead of <> for local header files.
5739130561Sobrien	* flonum-konst.c: Likewise.
5740130561Sobrien	* flonum-mult.c: Likewise.
5741130561Sobrien	* gasp.c: Likewise.
5742130561Sobrien	* listing.c: Likewise.
5743130561Sobrien	* config/tc-ia64.h: Likewise.
5744130561Sobrien	* config/tc-v850.h: Likewise.
5745130561Sobrien
5746130561Sobrien2002-05-24  TAMURA Kent <kent@netbsd.org>
5747130561Sobrien
5748130561Sobrien	* configure.in: Add a target for i386-netbsdpe.
5749130561Sobrien	* configure: Regenerate.
5750130561Sobrien
5751130561Sobrien2002-05-23  Jakub Jelinek  <jakub@redhat.com>
5752130561Sobrien
5753130561Sobrien	* config/obj-elf.c (elf_common): Renamed from obj_elf_common.
5754130561Sobrien	(obj_elf_common): Call elf_common.
5755130561Sobrien	(obj_elf_tls_common): New function.
5756130561Sobrien	(elf_pseudo_tab): Support .tls_common.
5757130561Sobrien	(special_sections): Add .tdata and .tbss.
5758130561Sobrien	(obj_elf_change_section): Set SEC_THREAD_LOCAL for SHF_TLS
5759130561Sobrien	sections.
5760130561Sobrien	(obj_elf_parse_section_letters): Support T in section flags (SHF_TLS).
5761130561Sobrien	(obj_elf_parse_section_letters): Include T in error message.
5762130561Sobrien	* config/tc-ppc.c (ppc_section_letter): Likewise.
5763130561Sobrien	* config/tc-alpha.c (alpha_elf_section_letter): Likewise.
5764130561Sobrien	(tc_gen_reloc): Handle SEC_THREAD_LOCAL the same way as
5765130561Sobrien	SEC_MERGE.
5766130561Sobrien	* config/tc-sparc.c (md_apply_fix3): Likewise.
5767130561Sobrien	* config/tc-i386.c (tc_i386_fix_adjustable): Add TLS relocs.
5768130561Sobrien	Define them if not BFD_ASSEMBLER.
5769130561Sobrien	(lex_got): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF, @DTPOFF
5770130561Sobrien	and @NTPOFF.
5771130561Sobrien	(md_apply_fix3): Add TLS relocs.
5772130561Sobrien	* config/tc-ia64.c (enum reloc_func): Add FUNC_DTP_MODULE,
5773130561Sobrien	FUNC_DTP_RELATIVE, FUNC_TP_RELATIVE, FUNC_LT_DTP_MODULE,
5774130561Sobrien	FUNC_LT_DTP_RELATIVE, FUNC_LT_TP_RELATIVE.
5775130561Sobrien	(pseudo_func): Support @dtpmod(), @dtprel() and @tprel().
5776130561Sobrien	(ia64_elf_section_letter): Include T in error message.
5777130561Sobrien	(md_begin): Support TLS operators.
5778130561Sobrien	(md_operand): Likewise.
5779130561Sobrien	(ia64_gen_real_reloc_type): Support TLS relocs.
5780130561Sobrien	* write.c (adjust_reloc_syms): Don't change symbols in
5781130561Sobrien	SEC_THREAD_LOCAL sections to STT_SECTION + addend.
5782130561Sobrien
5783130561Sobrien2002-05-23  Nick Clifton  <nickc@cambridge.redhat.com>
5784130561Sobrien
5785130561Sobrien	* config/tc-arm.c (md_apply_fix3): For the Thumb BLX reloc
5786130561Sobrien	round the relocation up rather than down.
5787130561Sobrien
5788130561Sobrien2002-05-23  Nick Clifton  <nickc@cambridge.redhat.com>
5789130561Sobrien
5790130561Sobrien	* config/obj-coff.c (obj_coff_section): Silently ignore an 'a'
5791130561Sobrien	flag.
5792130561Sobrien	* doc/as.texinfo: Document that the COFF version of .section
5793130561Sobrien	ignores the 'a' flag.
5794130561Sobrien
5795130561Sobrien2002-05-23  Alan Modra  <amodra@bigpond.net.au>
5796130561Sobrien
5797130561Sobrien	* config/tc-alpha.c (assemble_tokens): Protect use of
5798130561Sobrien	ALPHA_RELOC_TABLE with #ifdef RELOC_OP_P.
5799130561Sobrien
5800130561Sobrien	* write.c (size_seg): Check adjustment to last frag.
5801130561Sobrien	(SUB_SEGMENT_ALIGN): If HANDLE_ALIGN defined, pad out last frag to
5802130561Sobrien	section alignment.
5803130561Sobrien	* config/obj-coff.c (SUB_SEGMENT_ALIGN): Likewise.
5804130561Sobrien	* config/obj-ieee.c (SUB_SEGMENT_ALIGN): Likewise.
5805130561Sobrien	(write_object_file): Invoke md_do_align if available, and use
5806130561Sobrien	frag_align_code on text sections.
5807130561Sobrien	* config/obj-vms.h (SUB_SEGMENT_ALIGN): Now two args.
5808130561Sobrien	* config/tc-m88k.h (SUB_SEGMENT_ALIGN): Likewise.
5809130561Sobrien	* config/tc-ppc.h (SUB_SEGMENT_ALIGN): Likewise.
5810130561Sobrien	* config/tc-sh.h (SUB_SEGMENT_ALIGN): Likewise.
5811130561Sobrien	* config/tc-i386.h (SUB_SEGMENT_ALIGN): Likewise.  Define for
5812130561Sobrien	BFD_ASSEMBLER too.
5813130561Sobrien
5814130561Sobrien2002-05-22  H.J. Lu <hjl@gnu.org>
5815130561Sobrien
5816130561Sobrien	* dwarf2dbg.c (dwarf2_directive_loc): Call listing_source_file
5817130561Sobrien	for source file.
5818130561Sobrien
5819130561Sobrien2002-05-22  Nick Clifton  <nickc@cambridge.redhat.com>
5820130561Sobrien
5821130561Sobrien	* config/tc-arm.c (arm_s_section): Enable for COFF builds as well
5822130561Sobrien	as ELF builds.
5823130561Sobrien
5824130561Sobrien2002-05-22  H.J. Lu <hjl@gnu.org>
5825130561Sobrien
5826130561Sobrien	* dwarf2dbg.c (dwarf2_emit_insn): Emit only one line symbol
5827130561Sobrien	for one .loc for compiler.
5828130561Sobrien
5829130561Sobrien2002-05-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5830130561Sobrien
5831130561Sobrien	* config/tc-mips.c (macro): Relax warning, it's toot strict for
5832130561Sobrien	embedded-PIC.
5833130561Sobrien
5834130561Sobrien2002-05-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5835130561Sobrien
5836130561Sobrien	* config/tc-mips.c (macro2): Add 64 bit drol, dror macros.
5837130561Sobrien	Optimize the rotate by zero case.
5838130561Sobrien
5839130561Sobrien2002-05-21  Nick Clifton  <nickc@cambridge.redhat.com>
5840130561Sobrien
5841130561Sobrien	* configure.in: Remove accidental enabling of bfd_gas=yes for
5842130561Sobrien	sh-coff targets.
5843130561Sobrien	* configure: Regenerate.
5844130561Sobrien
5845130561Sobrien2002-05-18  Kazu Hirata  <kazu@cs.umass.edu>
5846130561Sobrien
5847130561Sobrien	* app.c: Fix formatting.
5848130561Sobrien	* as.c: Likewise.
5849130561Sobrien	* ehopt.c: Likewise.
5850130561Sobrien	* expr.c: Likewise.
5851130561Sobrien	* input-file.c: Likewise.
5852130561Sobrien	* listing.c: Likewise.
5853130561Sobrien	* macro.h: Likewise.
5854130561Sobrien	* stabs.c: Likewise.
5855130561Sobrien	* symbols.c: Likewise.
5856130561Sobrien
5857130561Sobrien2002-05-17  Alan Modra  <amodra@bigpond.net.au>
5858130561Sobrien
5859130561Sobrien	* config/obj-generic.c: Delete file.
5860130561Sobrien	* config/obj-generic.h: Likewise.
5861130561Sobrien
5862130561Sobrien2002-05-16  Marek Michalkiewicz  <marekm@amelek.gda.pl>
5863130561Sobrien
5864130561Sobrien	* config/tc-avr.c (mcu_types): Update for new devices.
5865130561Sobrien
5866130561Sobrien2002-05-15  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5867130561Sobrien
5868130561Sobrien	* config/tc-mips.c (macro): Warn about wrong la/dla use.
5869130561Sobrien
5870130561Sobrien2002-05-15  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5871130561Sobrien
5872130561Sobrien	* config/tc_mips.c (s_cpsetup): Fix completely bogus code which had
5873130561Sobrien	worked sometimes by accident. Fix copy&paste comment.
5874130561Sobrien
5875130561Sobrien2002-05-15  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5876130561Sobrien
5877130561Sobrien	* config/tc-mips.c (md_begin): Fix .reginfo and .MIPS.option section
5878130561Sobrien	alignment for NewABI. Let n32 use .reginfo. Remove useless casts.
5879130561Sobrien	(mips_elf_final_processing): Let n32 use .reginfo.
5880130561Sobrien
5881130561Sobrien2002-05-15  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5882130561Sobrien
5883130561Sobrien	* config/tc-mips.c (append_insn): Fix too small range of variable.
5884130561Sobrien
5885130561Sobrien2002-05-14  Nick Clifton  <nickc@cambridge.redhat.com>
5886130561Sobrien
5887130561Sobrien	* config/tc-arm.c (arm_cleanup): Remove redundant call to
5888130561Sobrien	listing_prev_line().
5889130561Sobrien
5890130561Sobrien2002-05-13  Nick Clifton  <nickc@cambridge.redhat.com>
5891130561Sobrien
5892130561Sobrien	* config/tc-arm.c (md_assemble): Remove redundant call to
5893130561Sobrien	listing_prev().
5894130561Sobrien
5895130561Sobrien	* dwarf2dbg.c (dwarf2_emit_insn): Do not reset
5896130561Sobrien	loc_directive_seen.
5897130561Sobrien
5898130561Sobrien	* stabs.c (s_stab_generic): Fix grammatical error in warning
5899130561Sobrien	message.
5900130561Sobrien
5901130561Sobrien2002-05-13  Alan Modra  <amodra@bigpond.net.au>
5902130561Sobrien
5903130561Sobrien	* write.c (subsegs_finish): Don't specially align last subseg.
5904130561Sobrien
5905130561Sobrien2002-05-11  Nick Clifton  <nickc@cambridge.redhat.com>
5906130561Sobrien
5907130561Sobrien	* stabs.c (s_stab_generic): Warn about a description field that is
5908130561Sobrien	too big.
5909130561Sobrien
5910130561Sobrien	* config/obj-coff.c: Fix compile time warnings when compiling
5911130561Sobrien	without BFD_ASSEMBLER defined.
5912130561Sobrien	Fix formatting.
5913130561Sobrien
5914130561Sobrien	* config/tc-sh.c (md_pcrel_from): Define for use with sh-hms
5915130561Sobrien	target.
5916130561Sobrien	(md_pcrel_from_section): Use md_pcrel_from().
5917130561Sobrien
5918130561Sobrien2002-05-11  Bruno Haible  <bruno@clisp.org>
5919130561Sobrien
5920130561Sobrien	* dwarf2dbg.c (dwarf2_emit_insn): Use the 'current' struct filled
5921130561Sobrien	by dwarf2_directive_loc, instead of calling dwarf2_where.
5922130561Sobrien
5923130561Sobrien2002-05-11  Kazu Hirata  <kazu@cs.umass.edu>
5924130561Sobrien
5925130561Sobrien	* config/obj-coff.h: Fix formatting.
5926130561Sobrien	* config/tc-mcore.c: Likewise.
5927130561Sobrien	* config/tc-mn10300.c: Likewise.
5928130561Sobrien	* config/tc-openrisc.c: Likewise.
5929130561Sobrien	* config/tc-or32.c: Likewise.
5930130561Sobrien	* config/tc-pdp11.c: Likewise.
5931130561Sobrien	* config/tc-ppc.c: Likewise.
5932130561Sobrien	* config/tc-ppc.h: Likewise.
5933130561Sobrien	* config/tc-sh64.c: Likewise.
5934130561Sobrien	* config/tc-sh.c: Likewise.
5935130561Sobrien	* config/tc-tic54x.c: Likewise.
5936130561Sobrien	* config/tc-xstormy16.c: Likewise.
5937130561Sobrien	* config/tc-xstormy16.h: Likewise.
5938130561Sobrien
5939130561Sobrien2002-05-09  Kazu Hirata  <kazu@cs.umass.edu>
5940130561Sobrien
5941130561Sobrien	* config/obj-coff.c: Fix formatting.
5942130561Sobrien	* config/obj-elf.c: Likewise.
5943130561Sobrien	* config/tc-alpha.c: Likewise.
5944130561Sobrien	* config/tc-arm.c: Likewise.
5945130561Sobrien	* config/tc-d10v.c: Likewise.
5946130561Sobrien	* config/tc-d30v.c: Likewise.
5947130561Sobrien	* config/tc-h8300.c: Likewise.
5948130561Sobrien	* config/tc-hppa.c: Likewise.
5949130561Sobrien
5950130561Sobrien2002-05-09  Alan Modra  <amodra@bigpond.net.au>
5951130561Sobrien
5952130561Sobrien	* config/tc-i386.c (md_estimate_size_before_relax) Don't lose
5953130561Sobrien	reloc when no_cond_jump_promotion.
5954130561Sobrien
5955130561Sobrien2002-05-08  Jim Wilson  <wilson@redhat.com>
5956130561Sobrien
5957130561Sobrien	* config/tc-i960.c (md_estimate_size_before_relax): Return size of
5958130561Sobrien	current variable part of frag.
5959130561Sobrien
5960130561Sobrien2002-05-08  Kazu Hirata  <kazu@cs.umass.edu>
5961130561Sobrien
5962130561Sobrien	* config/tc-mmix.c: Fix formatting.
5963130561Sobrien	* config/tc-mmix.h: Likewise.
5964130561Sobrien
5965130561Sobrien2002-05-08  Alan Modra  <amodra@bigpond.net.au>
5966130561Sobrien
5967130561Sobrien	* configure: Regenerate.
5968130561Sobrien
5969130561Sobrien2002-05-07  Kazu Hirata  <kazu@cs.umass.edu>
5970130561Sobrien
5971130561Sobrien	* config/tc-m68k.c: Fix formatting.
5972130561Sobrien
5973130561Sobrien2002-05-07  Federico G. Schwindt <fgsch@olimpo.com.br>
5974130561Sobrien
5975130561Sobrien	* Makefile.am: Honour DESTDIR.
5976130561Sobrien	* Makefile.in: Regenerate.
5977130561Sobrien
5978130561Sobrien2002-05-06  Kazu Hirata  <kazu@cs.umass.edu>
5979130561Sobrien
5980130561Sobrien	* config/tc-ia64.c: Fix formatting.
5981130561Sobrien	* config/tc-ia64.h: Likewise.
5982130561Sobrien
5983130561Sobrien2002-05-04  Kazu Hirata  <kazu@cs.umass.edu>
5984130561Sobrien
5985130561Sobrien	* config/tc-mips.c: Fix formatting.
5986130561Sobrien	* config/tc-s390.c: Likewise.
5987130561Sobrien	* config/tc-s390.h: Likewise.
5988130561Sobrien
5989130561Sobrien2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
5990130561Sobrien
5991130561Sobrien	* config/tc-s390.c (md_gather_operands): Emit dwarf2 line-number
5992130561Sobrien	information for instructions.
5993130561Sobrien
5994130561Sobrien2002-05-02  Kazu Hirata  <kazu@cs.umass.edu>
5995130561Sobrien
5996130561Sobrien	* as.h: Fix formatting.
5997130561Sobrien	* cgen.c: Likewise.
5998130561Sobrien	* cgen.h: Likewise.
5999130561Sobrien	* dwarf2dbg.c: Likewise.
6000130561Sobrien	* frags.h: Likewise.
6001130561Sobrien	* gasp.c: Likewise.
6002130561Sobrien	* macro.c: Likewise.
6003130561Sobrien	* read.c: Likewise.
6004130561Sobrien	* stabs.c: Likewise.
6005130561Sobrien	* symbols.c: Likewise.
6006130561Sobrien
6007130561Sobrien2002-05-02  Alan Modra  <amodra@bigpond.net.au>
6008130561Sobrien
6009130561Sobrien	* app.c (mri_pseudo): Only declare for TC_M68K.
6010130561Sobrien
6011130561Sobrien	* config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL.
6012130561Sobrien	(ppc_elf_validate_fix): Replace BFD_RELOC_32_BASEREL with
6013130561Sobrien	BFD_RELOC_16_BASEREL.
6014130561Sobrien	(md_assemble): Likewise.
6015130561Sobrien	(md_apply_fix3): Likewise.
6016130561Sobrien
6017130561Sobrien2002-05-02  Nick Clifton  <nickc@cambridge.redhat.com>
6018130561Sobrien
6019130561Sobrien	* config/tc-arm.c (thumb_add_sub): Do not convert a subtract of
6020130561Sobrien	zero into an add of zero - it is not the same.
6021130561Sobrien
6022130561Sobrien2002-05-01  Arati Dikey <aratid@kpit.com>
6023130561Sobrien
6024130561Sobrien	* tc-sh.c (get_specific): Generate warning if the same
6025130561Sobrien	destination register is used in parallel instructions.
6026130561Sobrien
6027130561Sobrien2002-05-01  Andrew Macleod  <amacleod@cygnus.com>
6028130561Sobrien
6029130561Sobrien	* config/tc-i386.c (extra_symbol_chars): Add '[' to the list.
6030130561Sobrien
6031130561Sobrien2002-05-01  Alan Modra  <amodra@bigpond.net.au>
6032130561Sobrien
6033130561Sobrien	* write.c (cvt_frag_to_fill): Set fr_offset to zero on .org
6034130561Sobrien	backwards to prevent cascading errors.
6035130561Sobrien
6036130561Sobrien2002-04-30  Mark Mitchell  <mark@codesourcery.com>
6037130561Sobrien
6038130561Sobrien	* configure.in: Add support for powerpc-*-windiss.
6039130561Sobrien	* configure: Regenerated.
6040130561Sobrien
6041130561Sobrien2002-04-28  Alan Modra  <amodra@bigpond.net.au>
6042130561Sobrien
6043130561Sobrien	* config/tc-s390.c (md_parse_option): Formatting.
6044130561Sobrien
6045130561Sobrien	* config/tc-i386.c: Formatting fixes, add missing space in error
6046130561Sobrien	message.
6047130561Sobrien
6048130561Sobrien2002-04-24  Christian Groessler <chris@groessler.org>
6049130561Sobrien
6050130561Sobrien	* config/tc-z8k.c (build_bytes): Add support for new cases:
6051130561Sobrien	CLASS_IGNORE and ARG_NIM4.
6052130561Sobrien	(md_assemble): Prevent destruction of input_line_pointer if
6053130561Sobrien	get_operands returns failure.
6054130561Sobrien
6055130561Sobrien2002-04-24  Chris G. Demetriou  <cgd@broadcom.com>
6056130561Sobrien
6057130561Sobrien	* config/tc-mips.c (macro_build): Do _not_ allow MIPS-3D
6058130561Sobrien	instructions to be generated by macros.
6059130561Sobrien
6060130561Sobrien2002-04-24  Andreas Schwab  <schwab@suse.de>
6061130561Sobrien
6062130561Sobrien	* config/tc-i386.c (output_jump, output_disp)
6063130561Sobrien	(md_estimate_size_before_relax): Don't set fx_pcrel_adjust any
6064130561Sobrien	more.
6065130561Sobrien	(md_apply_fix3): Remember addend value for rela relocations.
6066130561Sobrien	(tc_gen_reloc): Correctly compute pc-relative relocation addend.
6067130561Sobrien
6068130561Sobrien2002-04-22  Chris Demetriou  <cgd@broadcom.com>
6069130561Sobrien
6070130561Sobrien	* config/tc-mips.c (macro_build): Add close-parenthesis missing
6071130561Sobrien	from previous change.
6072130561Sobrien
6073130561Sobrien2002-04-22  Eric Christopher  <echristo@redhat.com>
6074130561Sobrien
6075130561Sobrien	* config/tc-mips.c (macro_build): Add warning if macro instructions
6076130561Sobrien	are expanded into a branch delay slot.
6077130561Sobrien
6078130561Sobrien2002-04-17  Geoffrey Keating  <geoffk@redhat.com>
6079130561Sobrien
6080130561Sobrien	* dwarf2dbg.c (dwarf2_gen_line_info): Do emit duplicate line
6081130561Sobrien	numbers, gdb relies on them to detect the start of the prologue.
6082130561Sobrien
6083130561Sobrien2002-04-17  Martin Schwidefsky  <schwidefsky@de.ibm.com>
6084130561Sobrien
6085130561Sobrien	* config/tc-s390.c (tc_s390_fix_adjustable): Prevent adjustments to
6086130561Sobrien	symbols in merge sections.
6087130561Sobrien
6088130561Sobrien2002-04-16  Alan Modra  <amodra@bigpond.net.au>
6089130561Sobrien
6090130561Sobrien	* as.c (main): Don't reference _bfd_chunksize.
6091130561Sobrien
6092130561Sobrien2002-04-15  Tom Rix  <trix@redhat.com>
6093130561Sobrien
6094130561Sobrien	* config/tc-d10v.c (d10v_fix_adjustable): Prevent adjustments to
6095130561Sobrien	symbols in merge sections.
6096130561Sobrien
6097130561Sobrien2002-04-11  Richard Sandiford  <rsandifo@redhat.com>
6098130561Sobrien
6099130561Sobrien	* doc/invoke.texi (TC_LARGEST_EXPONENT_IS_NORMAL): Document.
6100130561Sobrien	* config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): Add an
6101130561Sobrien	argument for the precision.
6102130561Sobrien	(gen_to_words): Update accordingly.
6103130561Sobrien
6104130561Sobrien2002-04-10  Alan Modra  <amodra@bigpond.net.au>
6105130561Sobrien
6106130561Sobrien	* as.c (parse_args <OPTION_VERSION>): Use VERSION is
6107130561Sobrien	BFD_VERSION_STRING unavailable.
6108130561Sobrien	* config/tc-i386.c (INLINE): Define (for non-BFD assembler).
6109130561Sobrien
6110130561Sobrien2002-04-09  J"orn Rennecke <joern.rennecke@superh.com>
6111130561Sobrien
6112130561Sobrien	* config/tc-sh.h (TC_FIX_ADJUSTABLE): Disable adjusting if
6113130561Sobrien	symbol_used_in_reloc_p is true.
6114130561Sobrien
6115130561Sobrien	* config/tc-sh.c (md_apply_fix3): Don't zero relocations on big
6116130561Sobrien	endian hosts.
6117130561Sobrien
6118130561Sobrien2002-04-04  Alan Modra  <amodra@bigpond.net.au>
6119130561Sobrien
6120130561Sobrien	* dep-in.sed: Cope with absolute paths.
6121130561Sobrien	* Makefile.am (dep.sed): Subst TOPDIR.
6122130561Sobrien	Run "make dep-am".
6123130561Sobrien	* Makefile.in: Regenerate.
6124130561Sobrien
6125130561Sobrien2002-04-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
6126130561Sobrien
6127130561Sobrien	* config/tc-mips.c (mips16_macro_build): Cast type mismatch.
6128130561Sobrien	(mips_ip): Remove unused variable.
6129130561Sobrien	(md_apply_fix3): Cast signed/unsignes mismatches. Replace
6130130561Sobrien	unsigned char with bfd_byte.
6131130561Sobrien	(s_file): Remove unused variable.
6132130561Sobrien	(s_mips_ent): Likewise.
6133130561Sobrien
6134130561Sobrien2002-04-03  Tom Rix  <trix@redhat.com>
6135130561Sobrien
6136130561Sobrien	* config/tc-d10v.c (d10v_insert_operand): Fix warning in as_bad_where.
6137130561Sobrien	(build_insn): Same.
6138130561Sobrien	(find_opcode): Fix warning in as_warn.
6139130561Sobrien	* config/tc-d10v.h: Update Copyright.
6140130561Sobrien
6141130561Sobrien2002-04-03  Alan Matsuoka <alanm@redhat.com>
6142130561Sobrien	    Tom Rix  <trix@redhat.com>
6143130561Sobrien
6144130561Sobrien	From Jeff Knaggs <jknaggs@redhat.com>
6145130561Sobrien	* config/tc-d10v.c (check_resource_conflict): New function to
6146130561Sobrien	check for resource conflicts.
6147130561Sobrien
6148130561Sobrien	From Jason Eckhardt  <jle@redhat.com>
6149130561Sobrien	* config/tc-d10v.c (build_insn): Check for unresolved imm4 or
6150130561Sobrien	imm3 fields.
6151130561Sobrien	* config/tc-d10v.c (find_opcode): Emit a warning if one of the
6152130561Sobrien	reserved control registers is used.
6153130561Sobrien	* config/tc-d10v.c (build_insn): Check for unresolved imm4 or
6154130561Sobrien	imm3 fields.
6155130561Sobrien
6156130561Sobrien	From 2001-03-28  Diego Novillo  <dnovillo@redhat.com>
6157130561Sobrien	* tc-d10v.c (parallel_ok): Prevent packing only if the first
6158130561Sobrien	instruction cannot be packed.
6159130561Sobrien
6160130561Sobrien	From 2001-03-30  Diego Novillo  <dnovillo@redhat.com>
6161130561Sobrien	* gas/config/tc-d10v.c (check_resource_conflict): Only check
6162130561Sobrien	write-write conflicts.
6163130561Sobrien	(md_assemble): Reformat introductory comment.
6164130561Sobrien	* opcodes/d10v-opc.c (d10v_opcodes): `btsti' does not modify its
6165130561Sobrien	arguments.
6166130561Sobrien
6167130561Sobrien2002-04-03  Alan Modra  <amodra@bigpond.net.au>
6168130561Sobrien
6169130561Sobrien	* symbols.c (resolve_symbol_value <O_uminus, O_bit_not,
6170130561Sobrien	O_logical_not>): Derive final_seg from add_symbol.
6171130561Sobrien	<O_multiply..O_logical_or>: More final_seg twiddles.
6172130561Sobrien
6173130561Sobrien2002-04-01  Jessica Han  <jessica@cup.hp.com>
6174130561Sobrien
6175130561Sobrien	* config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc
6176130561Sobrien	in 32-bit mode.
6177130561Sobrien
6178130561Sobrien2002-03-27  Andreas Schwab  <schwab@suse.de>
6179130561Sobrien
6180130561Sobrien	* config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of
6181130561Sobrien	field for pc-relative fixups.
6182130561Sobrien	(output_disp): Likewise.
6183130561Sobrien	(md_estimate_size_before_relax): Likewise.
6184130561Sobrien	(tc_gen_reloc): Subtract fx_pcrel_adjust instead of fx_size for
6185130561Sobrien	pc-relative fixups in 64bit mode.
6186130561Sobrien
6187130561Sobrien2002-03-22  Alan Modra  <amodra@bigpond.net.au>
6188130561Sobrien
6189130561Sobrien	* config/te-aix5.h: Typo fix.
6190130561Sobrien
6191130561Sobrien2002-03-21  Alan Modra  <amodra@bigpond.net.au>
6192130561Sobrien
6193130561Sobrien	* Makefile.am: Run "make dep-am".
6194130561Sobrien	* Makefile.in: Regenerate.
6195130561Sobrien	* doc/Makefile.in: Regenerate.
6196130561Sobrien
6197130561Sobrien2002-03-20  Albert Chin-A-Young  <china@thewrittenword.com>
6198130561Sobrien
6199130561Sobrien	* config/tc-arm.c (vfp_dp_reg_required_here): Fix typo
6200130561Sobrien	(vfp_sp_reg_pos -> vfp_dp_reg_pos).
6201130561Sobrien
6202130561Sobrien2002-03-18  Alexandre Oliva  <aoliva@redhat.com>
6203130561Sobrien
6204130561Sobrien	* config/tc-mips.c (md_estimate_size_before_relax): Do not modify
6205130561Sobrien	the EXTENDED bit here; report the estimate according to the
6206130561Sobrien	current size.
6207130561Sobrien
6208130561Sobrien2002-03-18  Tom Rix  <trix@redhat.com>
6209130561Sobrien
6210130561Sobrien	* configure.in: Add AIX 5 support.
6211130561Sobrien	* config/tc-ppc.c (ppc_target_format): Add AIX 5 64 bit target.
6212130561Sobrien	* config/te-aix5.h: New file. AIX 5 support.
6213130561Sobrien	* configure: Regenerate.
6214130561Sobrien
6215130561Sobrien2002-03-18  Nick Clifton  <nickc@cambridge.redhat.com>
6216130561Sobrien
6217130561Sobrien	* po/fr.po: Updated version.
6218130561Sobrien
6219130561Sobrien2002-03-16  Andreas Jaeger  <aj@suse.de>
6220130561Sobrien
6221130561Sobrien	* doc/c-mips.texi (Machine Dependencies): Add new node.
6222130561Sobrien
6223130561Sobrien2002-03-15  Chris G. Demetriou  <cgd@broadcom.com>
6224130561Sobrien
6225130561Sobrien	* config/tc-mips.c (mips_set_options): New "ase_mips3d" member.
6226130561Sobrien	(mips_opts): Initialize "ase_mips3d" member.
6227130561Sobrien	(file_ase_mips3d): New variable.
6228130561Sobrien	(CPU_HAS_MIPS3D): New macro.
6229130561Sobrien	(md_begin): Initialize mips_opts.ase_mips3d and file_ase_mips3d
6230130561Sobrien	based on command line options and configuration defaults.
6231130561Sobrien	(macro_build, mips_ip): Accept MIPS-3D instructions if
6232130561Sobrien	mips_opts.ase_mips3d is set.
6233130561Sobrien	(OPTION_MIPS3D, OPTION_NO_MIPS3D, md_longopts, md_parse_option):
6234130561Sobrien	Add support for "-mips3d" and "-no-mips3d" options.
6235130561Sobrien	(OPTION_ELF_BASE): Move to accommodate new options.
6236130561Sobrien	(s_mipsset): Support ".set mips3d" and ".set nomips3d".
6237130561Sobrien	(mips_elf_final_processing): Add a comment indicating that a
6238130561Sobrien	MIPS-3D ASE ELF header flag should be set, when one exists.
6239130561Sobrien	* doc/as.texinfo: Document -mips3d and -no-mips3d options.
6240130561Sobrien	* doc/c-mips.texi: Likewise, and document ".set mips3d" and ".set
6241130561Sobrien	nomips3d" directives.
6242130561Sobrien
6243130561Sobrien2002-03-14  Hans-Peter Nilsson  <hp@bitrange.com>
6244130561Sobrien
6245130561Sobrien	* config/tc-mmix.c (md_estimate_size_before_relax): Don't consider
6246130561Sobrien	a weak symbol in same section to be within reach.
6247130561Sobrien
6248130561Sobrien2002-03-13  Nick Clifton  <nickc@cambridge.redhat.com>
6249130561Sobrien
6250130561Sobrien	* po/fr.po: Updated version.
6251130561Sobrien
6252130561Sobrien2002-03-12  Andreas Schwab  <schwab@suse.de>
6253130561Sobrien
6254130561Sobrien	* config/tc-ia64.c (fixup_unw_records): Clear region when seeing a
6255130561Sobrien	body record so that an error is given for misplaced .save
6256130561Sobrien	pseudo-ops.
6257130561Sobrien
6258130561Sobrien2002-03-09  Alan Modra  <amodra@bigpond.net.au>
6259130561Sobrien
6260130561Sobrien	* config/tc-i386.h (REX_OPCODE): Define.
6261130561Sobrien	(REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): Define.
6262130561Sobrien	(rex_byte): typedef to int.
6263130561Sobrien	* config/tc-i386.c: Group prototypes and vars together.
6264130561Sobrien	Formatting fixes.  Remove occurrences of "register" keyword.
6265130561Sobrien	(true): Delete.
6266130561Sobrien	(false): Delete.
6267130561Sobrien	(mode_from_disp_size): Add INLINE keyword to prototype.
6268130561Sobrien	(fits_in_signed_byte): Likewise.
6269130561Sobrien	(fits_in_unsigned_byte): Likewise.
6270130561Sobrien	(fits_in_unsigned_word): Likewise.
6271130561Sobrien	(fits_in_signed_word): Likewise.
6272130561Sobrien	(fits_in_unsigned_long): Likewise.
6273130561Sobrien	(fits_in_signed_long): Likewise.
6274130561Sobrien	(type_names): Constify.
6275130561Sobrien	(intel_float_operand): Constify param.
6276130561Sobrien	(add_prefix): Use REX_OPCODE.
6277130561Sobrien	(md_assemble): Likewise.  Modify for changed rex_byte.
6278130561Sobrien	(parse_insn): Split out of md_assemble.
6279130561Sobrien	(parse_operands): Likewise.
6280130561Sobrien	(swap_operands): Likewise.
6281130561Sobrien	(optimize_imm): Likewise.
6282130561Sobrien	(optimize_disp): Likewise.
6283130561Sobrien	(match_template): Likewise.
6284130561Sobrien	(check_string): Likewise.
6285130561Sobrien	(process_suffix): Likewise.
6286130561Sobrien	(check_byte_reg): Likewise.
6287130561Sobrien	(check_long_reg): Likewise.
6288130561Sobrien	(check_qword_reg): Likewise.
6289130561Sobrien	(check_word_reg): Likewise.
6290130561Sobrien	(finalize_imm): Likewise.
6291130561Sobrien	(process_operands): Likewise.
6292130561Sobrien	(build_modrm_byte): Likewise.
6293130561Sobrien	(output_insn): Likewise.
6294130561Sobrien	(output_branch): Likewise.
6295130561Sobrien	(output_jump): Likewise.
6296130561Sobrien	(output_interseg_jump): Likewise.
6297130561Sobrien	(output_disp): Likewise.
6298130561Sobrien	(output_imm): Likewise.
6299130561Sobrien
6300130561Sobrien2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
6301130561Sobrien
6302130561Sobrien	* doc/as.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
6303130561Sobrien
6304130561Sobrien2002-03-06  Alan Modra  <amodra@bigpond.net.au>
6305130561Sobrien
6306130561Sobrien	* config/tc-i386.c (tc_gen_reloc): Don't attempt to handle 8 byte
6307130561Sobrien	relocs except when BFD64.
6308130561Sobrien
6309130561Sobrien	* write.c (number_to_chars_bigendian): Don't abort when N is
6310130561Sobrien	larger than sizeof (VAL).
6311130561Sobrien	(number_to_chars_littleendian): Likewise.
6312130561Sobrien
6313130561Sobrien2002-03-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6314130561Sobrien
6315130561Sobrien	* config/tc-hppa.c (md_apply_fix3): Add cast.
6316130561Sobrien	(hppa_fix_adjustable): Adjust list of selectors using e_lrsel and
6317130561Sobrien	e_rrsel.
6318130561Sobrien
6319130561Sobrien2002-03-05  Paul Koning  <pkoning@equallogic.com>
6320130561Sobrien
6321130561Sobrien	* tc-pdp11.c: Use VAX float format support for PDP-11 target.
6322130561Sobrien	(parse_ac5): New function for parsing float regs in float operand.
6323130561Sobrien	(parse_expression): Remove attempt to make literals be octal.
6324130561Sobrien	(parse_op_no_deferred): Support float literals.
6325130561Sobrien	(parse_op): Reject attempts to refer to float regs.
6326130561Sobrien	(parse_fop): New function, like parse_op but for float operand.
6327130561Sobrien	(md_assemble): Add cases to parse float operands.  Also fix
6328130561Sobrien	IMM3, IMM6, IMM8 cases to pick up the operand from the right spot.
6329130561Sobrien
6330130561Sobrien2002-03-04  H.J. Lu <hjl@gnu.org>
6331130561Sobrien
6332130561Sobrien	* config/obj-elf.c (special_section): Add .init_array,
6333130561Sobrien	.fini_array and .preinit_array.
6334130561Sobrien
6335130561Sobrien	* config/tc-ia64.h (ELF_TC_SPECIAL_SECTIONS): Remove
6336130561Sobrien	.init_array and .fini_array.
6337130561Sobrien
6338130561Sobrien2002-03-01  Jakub Jelinek  <jakub@redhat.com>
6339130561Sobrien
6340130561Sobrien	* config/obj-elf.c (elf_copy_symbol_attributes): Don't copy
6341130561Sobrien	visibility.
6342130561Sobrien	(obj_frob_symbol): Copy visibility.
6343130561Sobrien
6344130561Sobrien2002-02-28  Jakub Jelinek  <jakub@redhat.com>
6345130561Sobrien
6346130561Sobrien	* config/tc-alpha.c (s_alpha_text): Use obj_elf_text for OBJ_ELF, not
6347130561Sobrien	s_text.
6348130561Sobrien	(s_alpha_data): Use obj_elf_data for OBJ_ELF, not s_data.
6349130561Sobrien
6350130561Sobrien2002-02-27  Nick Clifton  <nickc@cambridge.redhat.com>
6351130561Sobrien
6352130561Sobrien	* po/es.po: Updated.
6353130561Sobrien
6354130561Sobrien2002-02-26  Chris Demetriou  <cgd@broadcom.com>
6355130561Sobrien
6356130561Sobrien	* config/tc-mips.c (mips_need_elf_addend_fixup): For embedded-PIC
6357130561Sobrien	only, undo the changes made on 2001-06-08, with the
6358130561Sobrien	effect being that common or extern symbols are
6359130561Sobrien	adjusted for embedded-PIC, but weak symbols are not.
6360130561Sobrien	(md_estimate_size_before_relax: Likewise, with the effect
6361130561Sobrien	that extern symbols are treated the same as weak symbols
6362130561Sobrien	only if not embedded-PIC.
6363130561Sobrien	(mips_fix_adjustable) Likewise, with the effect that
6364130561Sobrien	weak or extern symbols are not adjusted for embedded-PIC.
6365130561Sobrien	(md_apply_fix3): Tweak so that the case where value is zero
6366130561Sobrien	is handled more correctly for embedded-PIC code.
6367130561Sobrien
6368130561Sobrien2002-02-26  Nick Clifton  <nickc@cambridge.redhat.com>
6369130561Sobrien
6370130561Sobrien	* doc/as.texinfo (Overview): Add missing @ifset IA64
6371130561Sobrien
6372130561Sobrien	* configure.in (LINGUAS): Add es.po.
6373130561Sobrien	* configure: Regenerate.
6374130561Sobrien	* po/es.po: New file.
6375130561Sobrien
6376130561Sobrien2002-02-25  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
6377130561Sobrien
6378130561Sobrien	* config/tc-mips.c (set_at): Fix handling of 64bit register loads.
6379130561Sobrien	(macro): Likewise. Fix la/dla address expansions for EMBEDDED_PIC
6380130561Sobrien	and NO_PIC cases. Code cleanup.
6381130561Sobrien	(macro2): Fix handling of 64bit register loads.
6382130561Sobrien
6383130561Sobrien2002-02-25  David Mosberger  <davidm@hpl.hp.com>
6384130561Sobrien
6385130561Sobrien	* doc/as.texinfo: Add entry for IA64.
6386130561Sobrien	* doc/c-ia64.texi: New file.
6387130561Sobrien
6388130561Sobrien2002-02-25  Alan Modra  <amodra@bigpond.net.au>
6389130561Sobrien
6390130561Sobrien	* config/tc-hppa.c: Update copyright date.
6391130561Sobrien
6392130561Sobrien	* doc/c-ppc.texi (PowerPC-Opts): Add -mpower4, -maltivec and -m7400
6393130561Sobrien	Remove references to chip manufacturers.
6394130561Sobrien	* config/tc-ppc.c (md_parse_option): Handle -mpower4 option.
6395130561Sobrien	Correct comments.
6396130561Sobrien	(md_show_usage): Remove references to chip manufacturers.  Mention
6397130561Sobrien	-mpower4.
6398130561Sobrien	(md_begin): Test power4 opcode flag bits.
6399130561Sobrien
6400130561Sobrien2002-02-22  David Mosberger  <davidm@hpl.hp.com>
6401130561Sobrien
6402130561Sobrien	* config/tc-ia64.c (dot_restore): Issue error message of epilogue
6403130561Sobrien	count exceeds prologue count.
6404130561Sobrien	(md_show_usage): Describe -mconstant-gp and -mauto-pic.
6405130561Sobrien	(unwind.label_prologue_count): New member.
6406130561Sobrien
6407130561Sobrien	Based on a patch by Hans Boehm <hboehm@hpl.hp.com>:
6408130561Sobrien
6409130561Sobrien	(get_saved_prologue_count): New function.
6410130561Sobrien	(save_prologue_count): New function.
6411130561Sobrien	(free_saved_prologue_count): New function.
6412130561Sobrien	(dot_label_state): Record state label by calling save_prologue_count().
6413130561Sobrien	(dot_copy_state): Restore prologue count by calling
6414130561Sobrien	get_saved_prologue_count().
6415130561Sobrien	(generate_unwind_image): Free up list of saved prologue
6416130561Sobrien	counts by calling free_saved_prologue_counts().
6417130561Sobrien
6418130561Sobrien2002-02-22  Nick Clifton  <nickc@cambridge.redhat.com>
6419130561Sobrien
6420130561Sobrien	* config/tc-tic54x.c: Add missing prototypes and remove ANSI style
6421130561Sobrien	function declarations.
6422130561Sobrien
6423130561Sobrien2002-02-21  Nick Clifton  <nickc@cambridge.redhat.com>
6424130561Sobrien
6425130561Sobrien	* NEWS: Note that GASP is now deprecated.
6426130561Sobrien	* Makefile.am: Do not build gasp-new by default.
6427130561Sobrien	* Makefile.in: Regenerate.
6428130561Sobrien	* doc/Makefile.am: Do not install gasp.info.
6429130561Sobrien	* doc/Makefile.in: Regenerate.
6430130561Sobrien	* gas/gasp.texi: Note that gasp is now deprecated.
6431130561Sobrien
6432130561Sobrien2002-02-20  Nick Clifton  <nickc@cambridge.redhat.com>
6433130561Sobrien
6434130561Sobrien	* NEWS: Mark 2.12 branch.
6435130561Sobrien
6436130561Sobrien2002-02-19  Tom Tromey  <tromey@redhat.com>
6437130561Sobrien
6438130561Sobrien	* config/tc-xstormy16.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
6439130561Sobrien
6440130561Sobrien2002-02-19  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
6441130561Sobrien
6442130561Sobrien	* config/tc-mips.c (md_parse_option): Complain about invalid -mabi
6443130561Sobrien	option input.
6444130561Sobrien
6445130561Sobrien2002-02-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
6446130561Sobrien
6447130561Sobrien	* config/tc-s390.c (md_parse_option): Add switches -m31 and -m64.
6448130561Sobrien	Make bit size independent of architecture switch.
6449130561Sobrien	(md_begin): Add warning for -m64 with -Aesa.
6450130561Sobrien	(s390_md_end): Use renamed architecture defines.
6451130561Sobrien
6452130561Sobrien2002-02-18  Daniel Jacobowitz  <drow@mvista.com>
6453130561Sobrien
6454130561Sobrien	* config/obj-coff.h: Check !target_big_endian, not shl, for coff-sh.
6455130561Sobrien
6456130561Sobrien2002-02-16  Nick Clifton  <nickc@cambridge.redhat.com>
6457130561Sobrien
6458130561Sobrien	* doc/as.texinfo (Machine Dependencies): Fix typo: MMIX used
6459130561Sobrien	instead of CRIS.
6460130561Sobrien
6461130561Sobrien2002-02-15  Chris Demetriou  <cgd@broadcom.com>
6462130561Sobrien
6463130561Sobrien	* config/tc-mips.c (md_estimate_size_before_relax): Really
6464130561Sobrien	make sure we treat weak like extern only for ELF.  (Fixes
6465130561Sobrien	patch from 2001-07-25.)
6466130561Sobrien
6467130561Sobrien2002-02-15  Ben Elliston  <bje@redhat.com>
6468130561Sobrien
6469130561Sobrien	* doc/as.texinfo: Add duplicate directory entry so that "info gas"
6470130561Sobrien	works as expected.
6471130561Sobrien
6472130561Sobrien2002-02-15  Hans-Peter Nilsson  <hp@bitrange.com>
6473130561Sobrien
6474130561Sobrien	* NEWS: Mention support for MMIX.
6475130561Sobrien
6476130561Sobrien2002-02-13  Chris Demetriou  <cgd@broadcom.com>
6477130561Sobrien
6478130561Sobrien	* config/tc-mips.c (mips_need_elf_addend_fixup): Restructure into
6479130561Sobrien	a sequence of indpendent 'if' statements for easier debugging
6480130561Sobrien	and future modification.
6481130561Sobrien
6482130561Sobrien2002-02-13  Matt Fredette  <fredette@netbsd.org>
6483130561Sobrien
6484130561Sobrien	* config/tc-m68k.c (md_show_usage): No longer display a
6485130561Sobrien	hard-coded "68020" for the default CPU, instead display the
6486130561Sobrien	canonical name of the true, configured default CPU.
6487130561Sobrien	(m68k_elf_final_processing): Mark objects for sub-68020
6488130561Sobrien	CPUs with the new EF_M68000 flag.
6489130561Sobrien
6490130561Sobrien2002-02-13  Andreas Schwab  <schwab@suse.de>
6491130561Sobrien
6492130561Sobrien	* config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
6493130561Sobrien	pc-relative relocations to merge sections in 64-bit mode.
6494130561Sobrien
6495130561Sobrien2002-02-13  Ben Elliston  <bje@redhat.com>
6496130561Sobrien
6497130561Sobrien	* NEWS: Document floating point number handling in gasp.
6498130561Sobrien	* gasp.c: Include <assert.h> and "xregex.h".
6499130561Sobrien	(is_flonum): New function.
6500130561Sobrien	(chew_flownum): Likewise.
6501130561Sobrien	(change_base): Consume flonums from the input, where possible.
6502130561Sobrien	* doc/gasp.texi (Constants): Document floating point numbers.
6503130561Sobrien
6504130561Sobrien2002-02-12  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6505130561Sobrien
6506130561Sobrien	* config/tc-hppa.c (hppa_fix_adjustable): Don't adjust final types
6507130561Sobrien	that implicitly use LR and RR selectors.
6508130561Sobrien
6509130561Sobrien2002-02-12  Alexandre Oliva  <aoliva@redhat.com>
6510130561Sobrien
6511130561Sobrien	* config/tc-mn10300.c (other_registers): Added `epsw'.  Mark `pc'
6512130561Sobrien	and `epsw' as available on AM33 and above only.
6513130561Sobrien	(other_register_name): Add logic to handle machine type encoded in
6514130561Sobrien	reg_number.
6515130561Sobrien
6516130561Sobrien2002-02-11  Tom Rix  <trix@redhat.com>
6517130561Sobrien
6518130561Sobrien	* config/tc-ppc.c (md_apply_fix3): Check for insert fop invalid for
6519130561Sobrien	xcoff64.
6520130561Sobrien
6521130561Sobrien2002-06-11  Alexandre Oliva  <aoliva@redhat.com>
6522130561Sobrien
6523130561Sobrien	* config/tc-sparc.c (U0x80000000, U0xffffffff): New constants.
6524130561Sobrien	Use all over.
6525130561Sobrien
6526130561Sobrien2002-02-11  Jan Hubicka  <jh@suse.cz>
6527130561Sobrien
6528130561Sobrien	* i386.c (md_assemble): Support 32bit address prefix.
6529130561Sobrien	(i386_displacement): Likewise.
6530130561Sobrien	(i386_index_check): Accept 32bit addressing in 64bit mode.
6531130561Sobrien
6532130561Sobrien2002-02-11  Alexandre Oliva  <aoliva@redhat.com>
6533130561Sobrien
6534130561Sobrien	* config/tc-sh.c (dot): Removed unused function.
6535130561Sobrien
6536130561Sobrien2002-02-11  Alan Modra  <amodra@bigpond.net.au>
6537130561Sobrien
6538130561Sobrien	* Makefile.am: "make dep-am".
6539130561Sobrien	* Makefile.in: Regenerate.
6540130561Sobrien	* aclocal.m4: Regenerate.
6541130561Sobrien	* config.in: Regenerate.
6542130561Sobrien	* configure: Regenerate.
6543130561Sobrien	* doc/Makefile.in: Regenerate.
6544130561Sobrien
6545130561Sobrien2002-02-10  Richard Henderson  <rth@redhat.com>
6546130561Sobrien
6547130561Sobrien	* doc/c-alpha.texi: New file.
6548130561Sobrien	* doc/Makefile.am (CPU_DOCS): Add it.
6549130561Sobrien	* doc/all.texi, doc/as.texinfo: Add hooks for Alpha.
6550130561Sobrien
6551130561Sobrien2002-02-09  Richard Henderson  <rth@redhat.com>
6552130561Sobrien
6553130561Sobrien	* config/tc-alpha.c (O_samegp): New.
6554130561Sobrien	(USER_RELOC_P): Include it.
6555130561Sobrien	(alpha_reloc_op_tag, debug_exp, find_macro_match): Add it.
6556130561Sobrien	(md_apply_fix3): Handle BFD_RELOC_ALPHA_BRSGP.
6557130561Sobrien	(alpha_force_relocation, alpha_fix_adjustable): Likewise.
6558130561Sobrien	(alpha_validate_fix): New.
6559130561Sobrien	* config/tc-alpha.h (TC_VALIDATE_FIX): New.
6560130561Sobrien
6561130561Sobrien2002-02-09  Hans-Peter Nilsson  <hp@axis.com>
6562130561Sobrien
6563130561Sobrien	* doc/c-cris.texi: New.
6564130561Sobrien	* doc/all.texi: @set CRIS.
6565130561Sobrien	* doc/as.texinfo: Ditto.  Add CRIS gas manpage option overview.
6566130561Sobrien	Include c-cris.texi.
6567130561Sobrien	* doc/Makefile.am (CPU_DOCS): Add c-cris.texi
6568130561Sobrien	* doc/Makefile.in: Regenerate.
6569130561Sobrien
6570130561Sobrien2002-02-08  Chris Demetriou  <cgd@broadcom.com>
6571130561Sobrien
6572130561Sobrien	* config/tc-mips.c (IS_SEXT_32BIT_NUM): New macro to
6573130561Sobrien	determine if a number is a sign-extended 32-bit number.
6574130561Sobrien	(load_register): Use IS_SEXT_32BIT_NUM.
6575130561Sobrien	(macro): Check if load/store macro handling is using a
6576130561Sobrien	constant 32-bit address on 64-bit address systems, and if
6577130561Sobrien	so optimize the generation of that address.
6578130561Sobrien
6579130561Sobrien2002-02-08  Richard Henderson  <rth@redhat.com>
6580130561Sobrien
6581130561Sobrien	* config/tc-alpha.c (alpha_force_relocation): Don't assert that
6582130561Sobrien	we've eliminated all foreign relocation types yet.
6583130561Sobrien	(alpha_fix_adjustable): Likewise.
6584130561Sobrien
6585130561Sobrien2002-02-08  Alexandre Oliva  <aoliva@redhat.com>
6586130561Sobrien
6587130561Sobrien	Contribute sh64-elf.
6588130561Sobrien	2002-02-08  Alexandre Oliva  <aoliva@redhat.com>
6589130561Sobrien		    Stephen Clarke <Stephen.Clarke@st.com>
6590130561Sobrien	* doc/c-sh64.texi: Fix citation of SH64 architecture manual.
6591130561Sobrien	2002-01-31  Alexandre Oliva  <aoliva@redhat.com>
6592130561Sobrien	* config/tc-sh.c (md_relax_table): Added default sizes for
6593130561Sobrien	non-PC-relative UNDEF_MOVI, and relaxation sequences for
6594130561Sobrien	MOVI_16, MOVI_32 and MOVI_48.
6595130561Sobrien	* config/tc-sh64.c (shmedia_md_apply_fix3): Fix warning.
6596130561Sobrien	(shmedia_md_convert_frag): Handle non-PC-relative UNDEF_MOVI
6597130561Sobrien	and MOVI_16.
6598130561Sobrien	(shmedia_md_estimate_size_before_relax): Remove redundant
6599130561Sobrien	blocks.  Set fragP->fr_var even if relaxation type unchanged.
6600130561Sobrien	Retain UNDEF_MOVI until expression decays to number.
6601130561Sobrien	2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
6602130561Sobrien	* config/tc-sh64.c (shmedia_init_reloc): Handle new SHmedia PIC
6603130561Sobrien	relocation types.  Take fixP->fx_addnumber into account too.
6604130561Sobrien	(shmedia_md_apply_fix): Likewise.
6605130561Sobrien	(shmedia_md_convert_frag): Likewise.
6606130561Sobrien	(shmedia_build_Mytes): Likewise.
6607130561Sobrien	(sh64_consume_datalabel): Complain about nested datalabel.
6608130561Sobrien	Support PIC relocs.  Call sh_parse_name.
6609130561Sobrien	* config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Extend definition
6610130561Sobrien	in tc-sh.h to SHmedia reloc types.
6611130561Sobrien	* config/tc-sh.c (SH64PCRELPLT, MOVI_PLT, MOVI_GOTOFF,
6612130561Sobrien	MOVI_GOTPC): New relaxation constants.
6613130561Sobrien	(md_relax_table): Introduce relaxation directives for PIC-related
6614130561Sobrien	constants.
6615130561Sobrien	(sh_PIC_related_p): Handle datalabel.
6616130561Sobrien	(sh_check_fixup): Choose SH5 PIC relocations.
6617130561Sobrien	(sh_cons_fix_new): Added BDF_RELOC_64.
6618130561Sobrien	(md_apply_fix3, sh_parse_name): Handle GOTPLT.
6619130561Sobrien	2002-01-18  Alexandre Oliva  <aoliva@redhat.com>
6620130561Sobrien	* config/tc-sh64.c (sh64_max_mem_for_rs_align_code): If the
6621130561Sobrien	current ISA is SHmedia, get 7 bytes.
6622130561Sobrien	2001-11-28  Nick Clifton  <nickc@cambridge.redhat.com>
6623130561Sobrien	* config/tc-sh.c (md_apply_fix3): Treat shmedia_md_apply_fix3 as a
6624130561Sobrien	void function.
6625130561Sobrien	* config/tc-sh64.c (shmedia_apply_fix): Rename to
6626130561Sobrien	shmedia_apply_fix3 and make void.
6627130561Sobrien	2001-05-17  Alexandre Oliva  <aoliva@redhat.com>
6628130561Sobrien	* config/tc-sh64.c (s_sh64_abi): Remove unused arguments passed to
6629130561Sobrien	as_bad.
6630130561Sobrien	2001-04-12  Alexandre Oliva  <aoliva@redhat.com>
6631130561Sobrien	* config/tc-sh64.h (md_parse_name): Take &c as argument.
6632130561Sobrien	2001-03-14  DJ Delorie	<dj@redhat.com>
6633130561Sobrien	* doc/Makefile.am (CPU_DOCS): Added c-sh64.texi
6634130561Sobrien	* doc/Makefile.in(CPU_DOCS): Ditto.
6635130561Sobrien	* doc/c-sh64.texi: New file.
6636130561Sobrien	* doc/as.texinfo: Add SH64 support.
6637130561Sobrien	2001-03-13  DJ Delorie	<dj@redhat.com>
6638130561Sobrien	* config/tc-sh64.c (shmedia_get_operands): Rename A_RESV_Fx to
6639130561Sobrien	A_REUSE_PREV so that its purpose is more obvious.
6640130561Sobrien	(shmedia_build_Mytes): Ditto.
6641130561Sobrien	2001-03-07  DJ Delorie	<dj@redhat.com>
6642130561Sobrien	* config/tc-sh64.c (sh64_vtable_entry): New, strip datalabels
6643130561Sobrien	before processing.
6644130561Sobrien	(sh64_vtable_inherit): Ditto.
6645130561Sobrien	(strip_datalabels): New, strip "datalabel" from given line.
6646130561Sobrien	* config/tc-sh.c (md_pseudo_table): Add sh64-specific vtable
6647130561Sobrien	pseudos.
6648130561Sobrien	2001-03-06  Hans-Peter Nilsson	<hpn@cygnus.com>
6649130561Sobrien	* config/tc-sh64.c (shmedia_md_assemble): Move dwarf2_emit_insn
6650130561Sobrien	call ...
6651130561Sobrien	(shmedia_build_Mytes): ... to here.
6652130561Sobrien	2001-03-06  DJ Delorie	<dj@redhat.com>
6653130561Sobrien	* config/tc-sh.c: Remove sh64-specific uaquad now that there
6654130561Sobrien	is a generic one.
6655130561Sobrien	2001-01-21  Hans-Peter Nilsson	<hpn@cygnus.com>
6656130561Sobrien	* config/tc-sh64.h (DWARF2_LINE_MIN_INSN_LENGTH): Override.
6657130561Sobrien	* config/tc-sh64.c (shmedia_md_assemble): Offset recorded insn
6658130561Sobrien	address by one in call to dwarf2_emit_insn.
6659130561Sobrien	2001-01-13  Hans-Peter Nilsson	<hpn@cygnus.com>
6660130561Sobrien	Implement ".abi" pseudo and correct .cranges descriptors.  Correct
6661130561Sobrien	alignment handling broken by imported changes.
6662130561Sobrien	* config/tc-sh64.h (HANDLE_ALIGN): Override definition in tc-sh.h.
6663130561Sobrien	(sh64_handle_align): Declare.
6664130561Sobrien	(MAX_MEM_FOR_RS_ALIGN_CODE): Override definition in tc-sh.h.
6665130561Sobrien	(sh64_max_mem_for_rs_align_code): Declare.
6666130561Sobrien	(enum sh64_isa_values): Moved here from tc-sh64.c.
6667130561Sobrien	(md_do_align): Define.
6668130561Sobrien	(sh64_do_align): Declare.
6669130561Sobrien	(struct sh64_tc_frag_data): New.
6670130561Sobrien	(TC_FRAG_TYPE): Change to struct sh64_tc_frag_data.  Users
6671130561Sobrien	changed.
6672130561Sobrien	(TC_FRAG_INIT): Change to set new datatype.
6673130561Sobrien	(struct sh64_segment_info_type): Rename member
6674130561Sobrien	last_flushed_location to last_contents_mark.  All users changed.
6675130561Sobrien	(md_elf_section_change_hook, TC_CONS_FIX_NEW): Do not define.
6676130561Sobrien	(shmedia_elf_new_section, sh64_tc_cons_fix_new): Do not prototype.
6677130561Sobrien	* config/tc-sh.c (md_pseudo_table): Add ".abi".
6678130561Sobrien	(sh_elf_cons) [HAVE_SH64]: Call sh64_update_contents_mark instead
6679130561Sobrien	of unsetting seen_insn.
6680130561Sobrien	(md_assemble) [HAVE_SH64] <before new SHcompact sequence>: Also
6681130561Sobrien	call sh64_update_contents_mark.
6682130561Sobrien	(sh_handle_align): Remove HAVE_SH64-conditioned code.
6683130561Sobrien	* config/tc-sh64.c (sh64_isa_mode): Correct type from boolean to
6684130561Sobrien	enum sh64_isa_values.
6685130561Sobrien	(sh64_set_contents_type): Drop segT parameter.	All callers changed.
6686130561Sobrien	(emitting_crange): Boolean guard moved to file scope from function
6687130561Sobrien	scope in sh64_set_contents_type.
6688130561Sobrien	(s_sh64_abi): New.
6689130561Sobrien	(sh64_update_contents_mark): New; most split out from
6690130561Sobrien	sh64_flush_pending_output.
6691130561Sobrien	(shmedia_md_end): Call sh64_update_contents_mark.  Set
6692130561Sobrien	sh64_isa_mode to sh64_isa_sh5_guard unless sh64_isa_unspecified.
6693130561Sobrien	(sh64_do_align): New function.
6694130561Sobrien	(sh64_max_mem_for_rs_align_code): New function.
6695130561Sobrien	(sh64_handle_align): Rename from shmedia_do_align.  Make
6696130561Sobrien	non-static.  Add head comment.	Emit zero bytes for n bytes modulo
6697130561Sobrien	four.  Change return-type to void.
6698130561Sobrien	(shmedia_elf_new_section): Remove.
6699130561Sobrien	(shmedia_md_assemble): Call sh64_update_contents_mark.
6700130561Sobrien	(s_sh64_mode): Ditto.  Do not call md_flush_pending_output.  Make
6701130561Sobrien	new frag.  Call sh64_update_contents_mark after making the new
6702130561Sobrien	frag.
6703130561Sobrien	(sh64_flush_pending_output): Just call sh64_update_contents_mark
6704130561Sobrien	and sh_flush_pending_output.
6705130561Sobrien	(sh64_flag_output): Also call md_flush_pending_output, but add
6706130561Sobrien	condition on not emitting_crange.
6707130561Sobrien	(sh64_tc_cons_fix_new): Remove.
6708130561Sobrien	2001-01-12  Nick Clifton  <nickc@redhat.com>
6709130561Sobrien	* config/tc-sh64.c (shmedia_do_align): Fix to work with new
6710130561Sobrien	alignment handling scheme imported from sourceware.
6711130561Sobrien	2001-01-12  Hans-Peter Nilsson	<hpn@cygnus.com>
6712130561Sobrien	* config/tc-sh64.h (TARGET_FORMAT): Define.
6713130561Sobrien	(sh64_target_format): Prototype.
6714130561Sobrien	* config/tc-sh64.c (sh64_target_mach): New function.
6715130561Sobrien	2001-01-07  Hans-Peter Nilsson	<hpn@cygnus.com>
6716130561Sobrien	* config/tc-sh64.c (shmedia_md_end): When equating a symbol, use
6717130561Sobrien	zero_address_frag instead of copying the frag of the symbol.
6718130561Sobrien	(shmedia_frob_file_before_adjust): Ditto.
6719130561Sobrien	(shmedia_md_apply_fix) <case BFD_RELOC_SH_IMM_MEDLOW16>: Cast mask
6720130561Sobrien	to valueT to remove signedness.
6721130561Sobrien	(shmedia_md_convert_frag): Add parameter final.  Rename parameter
6722130561Sobrien	headers to output_bfd.	Do not evaluate symbols if final is false;
6723130561Sobrien	do emit fixups.
6724130561Sobrien	(shmedia_md_estimate_size_before_relax) <case C (MOVI_IMM_32,
6725130561Sobrien	UNDEF_MOVI) et al>: If symbol cannot be modified to be PC-relative
6726130561Sobrien	to the current frag, call shmedia_md_convert_frag to emit fixups
6727130561Sobrien	and make frag_wane neutralize the frag.  Update comments.
6728130561Sobrien	* config/tc-sh.c (md_convert_frag): Change caller of
6729130561Sobrien	shmedia_md_convert_frag.
6730130561Sobrien	2001-01-06  Hans-Peter Nilsson	<hpn@cygnus.com>
6731130561Sobrien	* config/tc-sh64.h: Tweak comments and correct formatting.
6732130561Sobrien	* config/tc-sh64.c: Ditto.
6733130561Sobrien	(shmedia_md_convert_frag) <PT/PTA/PTB 32, 48 and 64 bit
6734130561Sobrien	expansion, MOVI pcrel expansion>: Fix thinko calculating offset
6735130561Sobrien	for the no-relocation case.
6736130561Sobrien	(shmedia_check_limits): Fix range check being off-by-one for PTA.
6737130561Sobrien	* config/tc-sh.c: Ditto.  Add proper comments to #ifdef/#ifndef
6738130561Sobrien	wrappers.
6739130561Sobrien	(SH64PCREL16_F): Increment for proper max-PTA handling.  Update
6740130561Sobrien	comment.
6741130561Sobrien	(SH64PCREL16_M, MOVI_16_M): Correct range thinko.
6742130561Sobrien	(SH64PCREL48_M, MOVI_48_M): Similar; don't count in length of
6743130561Sobrien	expansion.
6744130561Sobrien	(SH64PCREL32_M, MOVI_32_M): Ditto; handle overflowing expression.
6745130561Sobrien	Correct comment.
6746130561Sobrien	2001-01-05  Hans-Peter Nilsson	<hpn@cygnus.com>
6747130561Sobrien	* config/tc-sh64.c (shmedia_md_apply_fix) <second switch, case
6748130561Sobrien	BFD_RELOC_SH_PT_16>: Set lowest bit in field to be relocated to 1.
6749130561Sobrien	(shmedia_md_convert_frag) <case C (SH64PCREL16_32, SH64PCREL16) et
6750130561Sobrien	al>: Set lowest bit of field to relocate to 1 and rest to empty,
6751130561Sobrien	if reloc is emitted.
6752130561Sobrien	2000-12-31  Hans-Peter Nilsson	<hpn@cygnus.com>
6753130561Sobrien	New options plus bugfixes.
6754130561Sobrien	* config/tc-sh.c (md_longopts): New options "-no-expand" and
6755130561Sobrien	"-expand-pt32".
6756130561Sobrien	(md_parse_option): Handle new options.
6757130561Sobrien	(md_show_usage): Add blurb for new options.
6758130561Sobrien	* config/tc-sh64.c (SHMEDIA_BFD_RELOC_PT): New macro.
6759130561Sobrien	(sh64_expand, sh64_pt32): New variables.
6760130561Sobrien	(shmedia_init_reloc): Handle BFD_RELOC_SH_PT_16.
6761130561Sobrien	(shmedia_md_apply_fix): Hold original fixP->fx_r_type in
6762130561Sobrien	orig_fx_r_type.  Change SHMEDIA_BFD_RELOC_PT into
6763130561Sobrien	BFD_RELOC_SH_PT_16.  Handle BFD_RELOC_SH_PT_16 as pc-relative.
6764130561Sobrien	<resolved previously-pc-relative relocs>: Handle
6765130561Sobrien	SHMEDIA_BFD_RELOC_PT and BFD_RELOC_SH_PT_16.
6766130561Sobrien	(shmedia_md_convert_frag) <case C (SH64PCREL16PT_64, SH64PCREL16),
6767130561Sobrien	case C (SH64PCREL16PT_32, SH64PCREL16)>: Modify to PTB if operand
6768130561Sobrien	points to SHcompact code.
6769130561Sobrien	<case C (SH64PCREL16_32, SH64PCREL16), case C (SH64PCREL16_64,
6770130561Sobrien	SH64PCREL16)>: Check that ISA of what operand points at and
6771130561Sobrien	PTA/PTB matches, or emit error.
6772130561Sobrien	(shmedia_check_limits): Handle BFD_RELOC_SH_PT_16 and
6773130561Sobrien	SHMEDIA_BFD_RELOC_PT.
6774130561Sobrien	(shmedia_immediate_op): If pcrel, emit fixup also for constant
6775130561Sobrien	operand.
6776130561Sobrien	(shmedia_build_Mytes) <case A_IMMS16>: Also check sh64_expand in
6777130561Sobrien	condition for MOVI expansion.
6778130561Sobrien	<case A_PCIMMS16BY4>: Handle expansion to 32 bits only, if
6779130561Sobrien	sh64_pt32.  Emit only a BFD_RELOC_SH_PT_16 fixup if not
6780130561Sobrien	sh64_expand.
6781130561Sobrien	<case A_PCIMMS16BY4_PT>: Likewise, but emit a SHMEDIA_BFD_RELOC_PT
6782130561Sobrien	fixup.
6783130561Sobrien	(sh64_target_format): Error-check setting of sh64_pt32 and
6784130561Sobrien	sh64_expand.  Fix typo in check for sh64_shcompact_const_crange.
6785130561Sobrien	(shmedia_md_pcrel_from_section): Handle BFD_RELOC_SH_PT_16 and
6786130561Sobrien	SHMEDIA_BFD_RELOC_PT as coming from SHmedia code.
6787130561Sobrien	2000-12-31  Hans-Peter Nilsson	<hpn@cygnus.com>
6788130561Sobrien	* config/tc-sh64.c: Improve comments.
6789130561Sobrien	(shmedia_md_convert_frag): Remove inactive is_pt_variant code.	Do
6790130561Sobrien	not say the linker will check correctness of PTA/PTB expansion.
6791130561Sobrien	(shmedia_md_end): Make non-static.
6792130561Sobrien	* config/tc-sh64.h (md_end): Define to shmedia_md_end.	Add
6793130561Sobrien	prototype.
6794130561Sobrien	* config/tc-sh.c (sh_finalize): Remove.
6795130561Sobrien	* config/tc-sh.h (md_end): Do not define.
6796130561Sobrien	Remove prototype for sh_finalize.
6797130561Sobrien	2000-12-30  Hans-Peter Nilsson	<hpn@cygnus.com>
6798130561Sobrien	* config/tc-sh64.c (shmedia_frob_section_type): Use a struct
6799130561Sobrien	sh64_section_data container when storing section type in tdata
6800130561Sobrien	field in elf_section_data.
6801130561Sobrien	* config/tc-sh.c (sh_elf_final_processing): Change from EF_SH64 to
6802130561Sobrien	EF_SH5.
6803130561Sobrien	* Makefile.am: Update dependencies.
6804130561Sobrien	* Makefile.in: Regenerate.
6805130561Sobrien	2000-12-22  Hans-Peter Nilsson	<hpn@cygnus.com>
6806130561Sobrien	* config/tc-sh64.c (shmedia_md_assemble): Don't protect
6807130561Sobrien	dwarf2_emit_insn call with test on debug_type.
6808130561Sobrien	2000-12-19  Hans-Peter Nilsson	<hpn@cygnus.com>
6809130561Sobrien	* config/tc-sh64.c (sh64_set_contents_type): Make contents-type
6810130561Sobrien	CRT_SH5_ISA32 sticky for 64-bit.
6811130561Sobrien	2000-12-18  Hans-Peter Nilsson	<hpn@cygnus.com>
6812130561Sobrien	Generate .crange sections when switching ISA mode or emitting
6813130561Sobrien	constants in same section as code.
6814130561Sobrien	* config/tc-sh64.c: Reformat structure definitions.
6815130561Sobrien	(sh64_end_of_assembly, sh64_mix, sh64_shcompact_const_crange): New
6816130561Sobrien	variables.
6817130561Sobrien	(sh64_set_contents_type): Rename from sh64_init_section.  Rewrite
6818130561Sobrien	to emit a .cranges descriptor when contents type changes.  Only
6819130561Sobrien	emit error if changing contents type and -no-mix is in effect.
6820130561Sobrien	(sh64_emit_crange, sh64_flush_last_crange, sh64_flag_output,
6821130561Sobrien	sh64_flush_pending_output, sh64_tc_cons_fix_new): New functions.
6822130561Sobrien	(shmedia_md_end): Set sh64_end_of_assembly.  Pass
6823130561Sobrien	sh64_flush_last_crange over sections.
6824130561Sobrien	When checking main symbol of datalabel symbol, check for
6825130561Sobrien	STO_SH5_ISA32, not ISA type of section in definition.
6826130561Sobrien	(shmedia_frob_file_before_adjust): Check main symbol for
6827130561Sobrien	STO_SH5_ISA32; don't check ISA type of section in definition.
6828130561Sobrien	(shmedia_frob_section_type): Adjust for .cranges; set section flag
6829130561Sobrien	to SHF_SH5_ISA32_MIXED or SHF_SH5_ISA32 according to whether
6830130561Sobrien	.cranges entries have been output.
6831130561Sobrien	(shmedia_elf_new_section): Just call md_flush_pending_output.
6832130561Sobrien	(shmedia_md_assemble): Do not emit a BFD_RELOC_SH_SHMEDIA_CODE
6833130561Sobrien	fix.  Do not set tc_segment_info_data.in_code for section.  Call
6834130561Sobrien	sh64_set_contents_type for SHmedia code.
6835130561Sobrien	(s_sh64_mode): Do not call sh64_init_section or set seen_insn to
6836130561Sobrien	false.	Call md_flush_pending_output.
6837130561Sobrien	(sh64_target_format): Check that -no-mix and
6838130561Sobrien	-shcompact-const-crange are used in sane combination with other
6839130561Sobrien	options.
6840130561Sobrien	(shmedia_md_pcrel_from_section): Check type of fix for how to
6841130561Sobrien	adjust pc-relative.
6842130561Sobrien	(sh64_consume_datalabel): Check symbol for having STO_SH5_ISA32,
6843130561Sobrien	not ISA type of section in definition.
6844130561Sobrien	* config/tc-sh64.h (struct sh64_segment_info_type): Rewrite to
6845130561Sobrien	hold contents-type state.
6846130561Sobrien	(md_flush_pending_output): Redefine to sh64_flush_pending_output.
6847130561Sobrien	(sh64_flush_pending_output): Declare.
6848130561Sobrien	(TC_CONS_FIX_NEW): Define to sh64_tc_cons_fix_new.
6849130561Sobrien	(sh64_tc_cons_fix_new): Declare.
6850130561Sobrien	* config/tc-sh.c (sh_elf_cons) [HAVE_SH64]: Unset seen_insn and
6851130561Sobrien	call sh64_flag_output.
6852130561Sobrien	(md_assemble) [HAVE_SH64]: Do not emit BFD_RELOC_SH_CODE.  Just
6853130561Sobrien	call sh64_set_contents_type to mark SHcompact code and set
6854130561Sobrien	seen_insn.
6855130561Sobrien	(md_longopts): New options "-no-mix" and
6856130561Sobrien	"-shcompact-const-crange".
6857130561Sobrien	(md_parse_option): Handle new options.
6858130561Sobrien	(md_show_usage): Add blurb for new options.
6859130561Sobrien	(md_number_to_chars) [HAVE_SH64]: Call sh64_flag_output.
6860130561Sobrien	2000-12-15  Hans-Peter Nilsson	<hpn@cygnus.com>
6861130561Sobrien	* config/tc-sh64.c: Delete investigated and obsolete fixme:s.
6862130561Sobrien	(sh64_last_insn_frag): New.
6863130561Sobrien	(shmedia_md_convert_frag): Use tc_frag_data field of incoming frag
6864130561Sobrien	to get frag for insn opcode for generating fixups; do not assume it
6865130561Sobrien	is the same frag.
6866130561Sobrien	(shmedia_build_Mytes): Set sh64_last_insn_frag after growing frag
6867130561Sobrien	for new insn.
6868130561Sobrien	* config/tc-sh64.h (ELF_TC_SPECIAL_SECTIONS): Define for .cranges
6869130561Sobrien	section.
6870130561Sobrien	(TC_FRAG_TYPE): Define as fragS *.
6871130561Sobrien	(TC_FRAG_INIT): Define to set tc_frag_data to sh64_last_insn_frag.
6872130561Sobrien	(sh64_last_insn_frag): Declare.
6873130561Sobrien	(sh64_consume_datalabel): Fix typo; check for seginfo != NULL,
6874130561Sobrien	not == NULL before dereferencing.
6875130561Sobrien	2000-12-12  Hans-Peter Nilsson	<hpn@cygnus.com>
6876130561Sobrien	Get rid of BFD section flag and EF_SH64_ABI64.
6877130561Sobrien	* config/tc-sh64.c (shmedia_frob_section_type): Use
6878130561Sobrien	elf_section_data (sec)->tdata, not a specific BFD section flag, to
6879130561Sobrien	communicate the section as containing SHmedia code.  Describe why.
6880130561Sobrien	* config/tc-sh.c (sh_elf_final_processing): Tweak comment.  Set
6881130561Sobrien	EF_SH64 regardless of ABI.
6882130561Sobrien	* config/tc-sh64.c (shmedia_md_apply_fix): Decapitalize "invalid"
6883130561Sobrien	in error message.  Handle resolved expressions for
6884130561Sobrien	BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
6885130561Sobrien	BFD_RELOC_SH_IMMS10BY4 and BFD_RELOC_64.
6886130561Sobrien	(shmedia_check_limits): Handle BFD_RELOC_64.
6887130561Sobrien	(sh64_adjust_symtab): Do not decrement the GAS symbol value for
6888130561Sobrien	a STO_SH5_ISA32 symbol, only the BFD value.
6889130561Sobrien	2000-12-11  Ben Elliston  <bje@redhat.com>
6890130561Sobrien	* config/tc-sh64.c: Call dwarf2_emit_insn, not the defunct
6891130561Sobrien	dwarf2_generate_asm_lineno.
6892130561Sobrien	2000-12-11  Hans-Peter Nilsson	<hpn@cygnus.com>
6893130561Sobrien	Handle PC-relative MOVI expansions with assembler relaxation.
6894130561Sobrien	Generate PC-relative relocs from 16-bit PC-relative expressions.
6895130561Sobrien	* config/tc-sh64.c (SHMEDIA_MD_PCREL_FROM_FIX): Break out from...
6896130561Sobrien	(shmedia_md_pcrel_from_section): ...here.
6897130561Sobrien	(shmedia_md_apply_fix): Handle fixups for 16-bit operands that has
6898130561Sobrien	turned completely resolved.  Adjust relocation type for 16-bit
6899130561Sobrien	immediate operands that has turned PC-relative.  Adjust back for
6900130561Sobrien	MD_PCREL_FROM_SECTION being applied twice.
6901130561Sobrien	(shmedia_md_convert_frag): Always emit reloc for expression with
6902130561Sobrien	global or weak symbol.	Handle relaxation result for PC-relative
6903130561Sobrien	expressions.
6904130561Sobrien	(shmedia_md_estimate_size_before_relax): An expression with a weak
6905130561Sobrien	or global symbol can not be relaxed.  Break out tests for
6906130561Sobrien	relaxable symbol into variable sym_relaxable.
6907130561Sobrien	<cases C (MOVI_IMM_64, UNDEF_MOVI) and C (MOVI_IMM_32,
6908130561Sobrien	UNDEF_MOVI)>: Break out any PC-relative expression and change
6909130561Sobrien	relaxation type.
6910130561Sobrien	(shmedia_build_Mytes): CSE &operands->operands[j] into variable
6911130561Sobrien	opjp.
6912130561Sobrien	<case A_IMMS16>: Fix typo for initial minor relaxation type of
6913130561Sobrien	MOVI expansion.  If X_op_symbol of the immediate expression is
6914130561Sobrien	set, make an expression symbol for the argument to frag_var.
6915130561Sobrien	* config/tc-sh.c (MOVI_IMM_32_PCREL, MOVI_IMM_64_PCREL): New
6916130561Sobrien	relaxations.
6917130561Sobrien	(END): Adjust for new relaxations.
6918130561Sobrien	(md_relax_table): Add entries for new relaxations.
6919130561Sobrien	2000-12-07  Ben Elliston  <bje@redhat.com>
6920130561Sobrien	* config/tc-sh64.c (shmedia_parse_reg): Initialize variable len.
6921130561Sobrien	2000-12-07  Hans-Peter Nilsson	<hpn@cygnus.com>
6922130561Sobrien	* config/tc-sh64.c (shmedia_md_convert_frag): Correct all MOVI and
6923130561Sobrien	SHORI operand offsets in PT/PTA/PTB expansions.
6924130561Sobrien	2000-12-05  Hans-Peter Nilsson	<hpn@cygnus.com>
6925130561Sobrien	Implement DataLabel semantics.
6926130561Sobrien	* config/tc-sh.c (sh_frob_file) [HAVE_SH64]: Call
6927130561Sobrien	shmedia_frob_file_before_adjust.
6928130561Sobrien	* config/tc-sh64.c [! OBJ_ELF]: Emit #error.
6929130561Sobrien	(DATALABEL_SUFFIX): Define.
6930130561Sobrien	(shmedia_md_end) <before adjusting STO_SH5_ISA32 symbols>: Walk
6931130561Sobrien	symbol list to update "datalabel" symbols to their main symbol
6932130561Sobrien	counterparts.
6933130561Sobrien	(shmedia_frob_file_before_adjust): New.
6934130561Sobrien	(sh64_adjust_symtab): For remaining datalabel symbols, set to
6935130561Sobrien	undefined and set STT_DATALABEL.
6936130561Sobrien	(sh64_frob_label): Initialize TC symbol field.
6937130561Sobrien	(sh64_consume_datalabel): Actually implement semantics.  New
6938130561Sobrien	parameter operandf, call it instead of expression.
6939130561Sobrien	(sh64_exclude_symbol): New.
6940130561Sobrien	* config/tc-sh64.h (md_parse_name): Pass on the function operand
6941130561Sobrien	to sh64_consume_datalabel.
6942130561Sobrien	(tc_symbol_new_hook): Define to tc_frob_symbol.
6943130561Sobrien	(TC_SYMFIELD_TYPE): Define to symbolS *.
6944130561Sobrien	(tc_frob_symbol): Define to call sh64_exclude_symbol.
6945130561Sobrien	2000-12-01  Hans-Peter Nilsson	<hpn@cygnus.com>
6946130561Sobrien	* config/tc-sh64.c (shmedia_init_reloc): Tweak comment for default
6947130561Sobrien	case.
6948130561Sobrien	(shmedia_md_assemble): Call dwarf2_generate_asm_lineno if
6949130561Sobrien	generating dwarf2 debug information.
6950130561Sobrien	2000-11-30  Hans-Peter Nilsson	<hpn@cygnus.com>
6951130561Sobrien	* config/tc-sh64.c (sh64_target_format): Use elf64-sh64l and
6952130561Sobrien	elf64-sh64 for the 64-bit ABI.
6953130561Sobrien	* config/tc-sh.c (md_show_usage): Tweak usage output for -abi=*
6954130561Sobrien	option.
6955130561Sobrien	2000-11-29  Hans-Peter Nilsson	<hpn@cygnus.com>
6956130561Sobrien	* config/tc-sh.c: Remove conditionalizing on HAVE_SH64 for
6957130561Sobrien	case-insensitivity.
6958130561Sobrien	2000-11-27  Hans-Peter Nilsson	<hpn@cygnus.com>
6959130561Sobrien	* config/tc-sh64.c: Tweak comments, formatting and error messages.
6960130561Sobrien	(enum sh64_abi_values): New type.
6961130561Sobrien	(enum sh64_isa_values): New type.
6962130561Sobrien	(sh64_isa_mode): Replace shmedia_mode.	All referers changed.
6963130561Sobrien	(seen_shcompact_mode, seen_shmedia_mode): Delete.
6964130561Sobrien	(sh64_abi): Replace shmedia_64.
6965130561Sobrien	(shmedia_md_convert_frag) <C (MOVI_IMM_64, MOVI_64),
6966130561Sobrien	C (MOVI_IMM_32, MOVI_32)>: Correct register number handling.
6967130561Sobrien	(s_sh64_mode): Check validity for this target.
6968130561Sobrien	(sh64_target_format): Initialize defaults for ISA and ABI.
6969130561Sobrien	Fallback to old object format if no SH64 ISA or ABI has been
6970130561Sobrien	specified.
6971130561Sobrien	* config/tc-sh.c (md_parse_option): Check combinations for errors.
6972130561Sobrien	(sh_elf_final_processing): Change to have EF_SH64_ABI64 for 64-bit
6973130561Sobrien	ABI and EF_SH64 for 32-bit ABI, if SH64 options are specified.
6974130561Sobrien	* config/tc-sh64.h: Fix typo in comment.
6975130561Sobrien	2000-11-25  Hans-Peter Nilsson	<hpn@cygnus.com>
6976130561Sobrien	* config/tc-sh64.c (shmedia_md_estimate_size_before_relax)
6977130561Sobrien	<PT fixups for absolute values>: Size will be longest, not
6978130561Sobrien	shortest.
6979130561Sobrien	(shmedia_md_convert_frag): Disable PTB-warning machinery.  Correct
6980130561Sobrien	all MOVI and SHORI operand offsets in PT/PTA/PTB expansions.
6981130561Sobrien	* config/tc-sh.c (parse_reg) [HAVE_SH64]: Add local variables l0
6982130561Sobrien	and l1 to hold lowercase of two first characters.  Change all
6983130561Sobrien	remaining TO_LOWER to tolower.
6984130561Sobrien	* config/tc-sh64.c (TO_LOWER): Delete.
6985130561Sobrien	(shmedia_find_cooked_opcode): Use tolower, not TO_LOWER.
6986130561Sobrien	(md_parse_name): Define.
6987130561Sobrien	(sh64_consume_datalabel): Declare.
6988130561Sobrien	(DOLLAR_DOT): Define.
6989130561Sobrien	* config/tc-sh64.c (shmedia_parse_exp): New.
6990130561Sobrien	(sh64_consume_datalabel): New; just ignoring datalabel semantics.
6991130561Sobrien	(shmedia_parse_reg): Remove const from src
6992130561Sobrien	parameter.
6993130561Sobrien	(shmedia_get_operands): Ditto for args parameter and ptr variable.
6994130561Sobrien	(shmedia_md_assemble): Ditto for op_end variable.
6995130561Sobrien	(shmedia_get_operand): Ditto for ptr parameter and src variable.
6996130561Sobrien	Use shmedia_parse_exp, not parse_exp.
6997130561Sobrien	* config/tc-sh64.c (shmedia_parse_reg): Add shmedia_arg_type
6998130561Sobrien	parameter.  All callers changed.
6999130561Sobrien	(shmedia_get_operand): Add shmedia_arg_type parameter.	All
7000130561Sobrien	callers changed.
7001130561Sobrien	(shmedia_parse_reg): Put first two character in local variables.
7002130561Sobrien	Use tolower, not TO_LOWER.  If no register is found and argtype
7003130561Sobrien	indicates a control register, scan shmedia_creg_table
7004130561Sobrien	case-insensitive.
7005130561Sobrien	2000-11-24  Hans-Peter Nilsson	<hpn@cygnus.com>
7006130561Sobrien	* Makefile.am (CPU_TYPES): Add sh64.
7007130561Sobrien	(TARGET_CPU_CFILES): Add config/tc-sh64.c.
7008130561Sobrien	(TARGET_CPU_HFILES): Add config/tc-sh64.h.
7009130561Sobrien	Regenerate dependencies.
7010130561Sobrien	* Makefile.in: Regenerate.
7011130561Sobrien	* configure.in: Add support for sh64-*-elf*.
7012130561Sobrien	* configure: Regenerate.
7013130561Sobrien	* config/tc-sh64.h: New.
7014130561Sobrien	* config/tc-sh64.c: New.
7015130561Sobrien	* config/tc-sh.c (md_pseudo_table) [HAVE_SH64]: New pseudos
7016130561Sobrien	.mode, .isa and .uaquad.
7017130561Sobrien	[HAVE_SH64] (SH64PCREL16_32, SH64PCREL16_64, SH64PCREL16PT_32,
7018130561Sobrien	SH64PCREL16PT_64, MOVI_IMM_32, MOVI_IMM_64): Define.
7019130561Sobrien	[HAVE_SH64] (END): Define as 10.
7020130561Sobrien	[HAVE_SH64] (UNDEF_SH64PCREL, SH64PCREL16, SH64PCREL32,
7021130561Sobrien	SH64PCREL48, SH64PCREL64, UNDEF_MOVI, MOVI_16, MOVI_32, MOVI_48,
7022130561Sobrien	MOVI_64): Define.
7023130561Sobrien	[HAVE_SH64] (SH64PCREL16_F, SH64PCREL16_M, SH64PCREL16_LENGTH,
7024130561Sobrien	SH64PCREL32_F, SH64PCREL32_M, SH64PCREL32_LENGTH, SH64PCREL48_F,
7025130561Sobrien	SH64PCREL48_M, SH64PCREL48_LENGTH, SH64PCREL64_LENGTH,
7026130561Sobrien	MOVI_16_LENGTH, MOVI_32_LENGTH, MOVI_48_LENGTH, MOVI_64_LENGTH):
7027130561Sobrien	Define.
7028130561Sobrien	(md_relax_table) [HAVE_SH64]: Provide relaxations for SHmedia.
7029130561Sobrien	(md_begin) [HAVE_SH64]: Call shmedia_md_begin.
7030130561Sobrien	(parse_reg) [HAVE_SH64]: Parse register names case-insensitive.
7031130561Sobrien	(md_assemble) [HAVE_SH64]: Call shmedia_md_assemble if assembling
7032130561Sobrien	SHmedia instructions.  Handle state-change after switching to
7033130561Sobrien	SHcompact.
7034130561Sobrien	(md_longopts) [HAVE_SH64]: New options --isa=* and --abi=*.
7035130561Sobrien	(md_parse_option) [HAVE_SH64]: Parse new options.
7036130561Sobrien	(md_show_usage) [HAVE_SH64]: Show usage of new options.
7037130561Sobrien	(md_convert_frag) [HAVE_SH64] <default>: Call
7038130561Sobrien	shmedia_md_convert_frag instead of abort.
7039130561Sobrien	(sh_force_relocation) [HAVE_SH64]: Also force relocation for
7040130561Sobrien	BFD_RELOC_SH_SHMEDIA_CODE.
7041130561Sobrien	(sh_elf_final_processing) [HAVE_SH64]: Set flags identifying
7042130561Sobrien	SHcompact or SHmedia code.
7043130561Sobrien	(md_apply_fix) [HAVE_SH64] <default>: Return result from calling
7044130561Sobrien	shmedia_md_apply_fix instead of abort.
7045130561Sobrien	(md_estimate_size_before_relax) [HAVE_SH64] <default>: Return
7046130561Sobrien	result from calling shmedia_md_estimate_size_before_relax instead
7047130561Sobrien	of calling abort.
7048130561Sobrien	(sh_do_align) [HAVE_SH64]: If shmedia_mode, let shmedia_do_align
7049130561Sobrien	do the work.
7050130561Sobrien	(tc_gen_reloc) [HAVE_SH64]: For unrecognized relocs, call
7051130561Sobrien	shmedia_init_reloc and do nothing more if it returns non-zero.
7052130561Sobrien	(sh_finalize) [HAVE_SH64]: Call shmedia_md_end.
7053130561Sobrien	* po/POTFILES.in: Regenerate.
7054130561Sobrien	* po/gas.pot: Regenerate.
7055130561Sobrien
7056130561Sobrien2002-02-06  Alexandre Oliva  <aoliva@redhat.com>
7057130561Sobrien
7058130561Sobrien	* config/tc-sh.c (parse_at): Install the correct version of
7059130561Sobrien	2002-02-04's patch.
7060130561Sobrien
7061130561Sobrien	* config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't
7062130561Sobrien	assume fixP->fx_subsy is non-NULL.
7063130561Sobrien
7064130561Sobrien2002-02-04  Alexandre Oliva  <aoliva@redhat.com>
7065130561Sobrien
7066130561Sobrien	* config/tc-sh.c (parse_at): Set arg type of @(expr,pc) to
7067130561Sobrien	A_DISP_PC_ABS, and adjust it by -4.
7068130561Sobrien	(get_specific): Accept A_DISP_PC_ABS where A_DISP_PC is
7069130561Sobrien	expected.
7070130561Sobrien	(build_Mytes): Mark PCRELIMM fix-ups as pc-relative only if
7071130561Sobrien	the operand type is not A_DISP_PC_ABS.
7072130561Sobrien
7073130561Sobrien2002-02-04  Hans-Peter Nilsson  <hp@bitrange.com>
7074130561Sobrien
7075130561Sobrien	* config/tc-mmix.c (tc_gen_reloc): Don't try and take the value of
7076130561Sobrien	common and weak symbols.  Handle common and weak symbols as
7077130561Sobrien	undefined symbols with regards to GREG handling and merging.
7078130561Sobrien	(mmix_frob_file): Ditto.
7079130561Sobrien
7080130561Sobrien2002-02-02  Jason Thorpe  <thorpej@wasabisystems.com>
7081130561Sobrien
7082130561Sobrien	* configure.in (hppa-*-netbsd*): New target.
7083130561Sobrien	* configure: Regenerate.
7084130561Sobrien	* config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD.
7085130561Sobrien
7086130561Sobrien2002-02-02  Alan Modra  <amodra@bigpond.net.au>
7087130561Sobrien
7088130561Sobrien	* config/tc-v850.c: Add missing prototypes amd use old-style
7089130561Sobrien	function definitions.
7090130561Sobrien	(AREA_ZDA, AREA_SDA, AREA_TDA): Delete.
7091130561Sobrien	(sdata_section tdata_section, zdata_section, sbss_section,
7092130561Sobrien	tbss_section, zbss_section, rosdata_section, rozdata_section,
7093130561Sobrien	scommon_section, tcommon_section, zcommon_section,
7094130561Sobrien	call_table_data_section, call_table_text_section): Delete.
7095130561Sobrien	(v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss,
7096130561Sobrien	v850_zbss, v850_bss, v850_rosdata, v850_rozdata,
7097130561Sobrien	v850_call_table_data, v850_call_table_text): Delete.
7098130561Sobrien	(struct v850_seg_entry): New.
7099130561Sobrien	(v850_seg_table): New.
7100130561Sobrien	(SDATA_SECTION TDATA_SECTION, ZDATA_SECTION, SBSS_SECTION,
7101130561Sobrien	TBSS_SECTION, ZBSS_SECTION, BSS_SECTION, ROSDATA_SECTION,
7102130561Sobrien	ROZDATA_SECTION, SCOMMON_SECTION, TCOMMON_SECTION, ZCOMMON_SECTION,
7103130561Sobrien	CALL_TABLE_DATA_SECTION, CALL_TABLE_TEXT_SECTION): Define.
7104130561Sobrien	(do_v850_seg): New.
7105130561Sobrien	(v850_seg): New.
7106130561Sobrien	(v850_comm): Use do_v850_seg and v850_seg_table.  Simplify
7107130561Sobrien	recording of alignment.
7108130561Sobrien	(md_pseudo_table): Use v850_seg.
7109130561Sobrien	(md_begin): Don't init .call_table_data and .call_table_text here.
7110130561Sobrien	Set v850_seg_table bss entry.
7111130561Sobrien
7112130561Sobrien2002-02-01  Hans-Peter Nilsson  <hp@bitrange.com>
7113130561Sobrien
7114130561Sobrien	Support on-demand global register allocation by passing on
7115130561Sobrien	base-plus-offset relocs to the linker.
7116130561Sobrien	* config/tc-mmix.c: Tweak and fix typos in comments.
7117130561Sobrien	(allocate_undefined_gregs_in_linker): New variable.
7118130561Sobrien	(OPTION_LINKER_ALLOCATED_GREGS): New option macro.
7119130561Sobrien	(md_longopts): Add --linker-allocated-gregs.
7120130561Sobrien	(md_parse_option) <case 'x'>: Imply --linker-allocated-gregs.
7121130561Sobrien	<case OPTION_LINKER_ALLOCATED_GREGS>: New.
7122130561Sobrien	(md_show_usage): Update text for -x.  Add text for
7123130561Sobrien	--linker-allocated-gregs.
7124130561Sobrien	(tc_gen_reloc): Derive default value for addend from val and
7125130561Sobrien	baddsy.  Use addsec and bfd_is_abs_section in more places.  Don't
7126130561Sobrien	emit error for BFD_RELOC_MMIX_BASE_PLUS_OFFSET without suitable
7127130561Sobrien	GREG if allocate_undefined_gregs_in_linker.
7128130561Sobrien	* doc/as.texinfo (Overview) <Target MMIX options>: Add
7129130561Sobrien	--linker-allocated-gregs.
7130130561Sobrien	* doc/c-mmix.texi (MMIX-Opts): Add blurb about
7131130561Sobrien	--linker-allocated-gregs.  Mention that it's implied by -x.
7132130561Sobrien	(MMIX-Pseudos) <GREG>: Mention when and how a GREG can be omitted.
7133130561Sobrien	(MMIX-mmixal): Clarify dated comparison and location of MMIXware.
7134130561Sobrien
7135130561Sobrien	* config/tc-mmix.h (md_parse_name): Use ISUPPER, not isupper.
7136130561Sobrien
7137130561Sobrien2002-02-01  Alan Modra  <amodra@bigpond.net.au>
7138130561Sobrien
7139130561Sobrien	* Makefile.am: Run "make dep-am"
7140130561Sobrien	* Makefile.in: Regenerate.
7141130561Sobrien
7142130561Sobrien2002-01-31  Ivan Guzvinec  <ivang@opencores.org>
7143130561Sobrien
7144130561Sobrien	* config/tc-or32.c: New file.
7145130561Sobrien	* config/tc-or32.h: New file.
7146130561Sobrien	* configure.in: Add support for or32 targets.
7147130561Sobrien	* configure: Regenerate.
7148130561Sobrien	* config/obj-coff.c: Add support for or32 targets.
7149130561Sobrien	* config/obj-coff.h: Add support for or32 targets.
7150130561Sobrien	* Makefile.am: Add support for or32 targets.
7151130561Sobrien	* Makefile.in: Regenerate.
7152130561Sobrien	* NEWS: Mention support for OpenRISC.
7153130561Sobrien	* doc/Makefile.in: Regenerate.
7154130561Sobrien	* po/POTFILES.in: Regenerate.
7155130561Sobrien	* po/gas.pot: Regenerate.
7156130561Sobrien
7157130561Sobrien2002-01-30  Richard Sandiford  <rsandifo@redhat.com>
7158130561Sobrien
7159130561Sobrien	* config/tc-sh.c (parse_reg): Fix end-of-word check for is, ix, iy
7160130561Sobrien	and mod.
7161130561Sobrien
7162130561Sobrien2002-01-29  Chris Demetriou  <cgd@broadcom.com>
7163130561Sobrien
7164130561Sobrien	* config/tc-mips.c (tc_gen_reloc): Arrange for
7165130561Sobrien	BFD_RELOC_PCREL_HI16_S relocations to be output relative to
7166130561Sobrien	their LO16 parts, even for ELF.
7167130561Sobrien
7168130561Sobrien2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
7169130561Sobrien
7170130561Sobrien	* config/tc-i386.c: Protect definitions of true and false
7171130561Sobrien	from redefinition.
7172130561Sobrien
7173130561Sobrien2002-01-28  Jakub Jelinek  <jakub@redhat.com>
7174130561Sobrien
7175130561Sobrien	* config/obj-elf.c (elf_frob_file_before_adjust): Remove symbols
7176130561Sobrien	made because of .weak, if they are neither defined nor used in any
7177130561Sobrien	way.
7178130561Sobrien
7179130561Sobrien2002-01-27  Daniel Jacobowitz  <drow@mvista.com>
7180130561Sobrien
7181130561Sobrien	* configure: Regenerated.
7182130561Sobrien
7183130561Sobrien2002-01-26  Hans-Peter Nilsson  <hp@bitrange.com>
7184130561Sobrien
7185130561Sobrien	* doc/Makefile.am (install): Depend on install-info.
7186130561Sobrien	* doc/Makefile.in: Regenerate.
7187130561Sobrien
7188130561Sobrien2002-01-26  Nick Clifton <nick@redhat.com>
7189130561Sobrien
7190130561Sobrien	* po/fr.po: Updated version
7191130561Sobrien
7192130561Sobrien2002-01-24  Kazu Hirata  <kazu@hxi.com>
7193130561Sobrien
7194130561Sobrien	* config/tc-h8300.c (check_operand): Don't print a warning
7195130561Sobrien	when a valid 24-bit address is given to a 16-bit address
7196130561Sobrien	operand.
7197130561Sobrien
7198130561Sobrien2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
7199130561Sobrien
7200130561Sobrien	* config/tc-sh.c (sh_elf_suffix): Removed.
7201130561Sobrien	(sh_PIC_related_p, sh_check_fixup, sh_cons_fix_new,
7202130561Sobrien	sh_end_of_match, sh_parse_name): New functions.
7203130561Sobrien	(sh_elf_cons): Simplify.
7204130561Sobrien	(parse_exp): Reject misplaced PIC operands.
7205130561Sobrien	(md_undefined_symbol): Simplify.
7206130561Sobrien	(sh_fix_adjustable): Let @GOTOFF be adjusted.
7207130561Sobrien	(md_apply_fix3): Write @PLT and @GOTOFF addends in place.
7208130561Sobrien	(tc_gen_reloc): Move fixp subsy absolute value into addnumber.
7209130561Sobrien	Complain if subsy remains at the end.
7210130561Sobrien	* config/tc-sh.h (sh_parse_name, sh_cons_fix_new): Declare.
7211130561Sobrien	(md_parse_name, TC_CONS_FIX_NEW, O_PIC_reloc): Define.
7212130561Sobrien
7213130561Sobrien2002-01-22  Alexandre Oliva  <aoliva@redhat.com>
7214130561Sobrien
7215130561Sobrien	* config/tc-mn10300.c (xr_registers): Move `pc'...
7216130561Sobrien	(other_registers): ... here.
7217130561Sobrien
7218130561Sobrien2002-01-22  Alan Modra  <amodra@bigpond.net.au>
7219130561Sobrien
7220130561Sobrien	* Makefile.am: Run "make dep-am".
7221130561Sobrien	* Makefile.in: Regenerate.
7222130561Sobrien	* gas/po/POTFILES.in: Regenerate.
7223130561Sobrien
7224130561Sobrien2002-01-21  DJ Delorie  <dj@redhat.com>
7225130561Sobrien
7226130561Sobrien	* config/obj-coff.c (obj_coff_init_stab_section): Make the
7227130561Sobrien	stabstr_name allocation permanent, as it will be referenced from
7228130561Sobrien	the section hash.
7229130561Sobrien
7230130561Sobrien2002-01-21  Jason Thorpe  <thorpej@wasabisystems.com>
7231130561Sobrien
7232130561Sobrien	* configure.in (ia64-*-netbsd*): New target.
7233130561Sobrien	* configure: Regenerate.
7234130561Sobrien
7235130561Sobrien2002-01-21  Hans-Peter Nilsson  <hp@bitrange.com>
7236130561Sobrien
7237130561Sobrien	* doc/as.texinfo (Overview) <Target ARM options>: Add missing {}
7238130561Sobrien	to @dots call.
7239130561Sobrien	<Detailed description, ARM options>: Ditto.
7240130561Sobrien	* doc/c-arm.texi (ARM Options): Ditto.
7241130561Sobrien
7242130561Sobrien2002-01-18  Richard Earnshaw  <rearnsha@arm.com>
7243130561Sobrien
7244130561Sobrien	* tc-arm.c (do_xsc_mia, do_xsc_mar, do_xsc_mra): Renamed from
7245130561Sobrien	do_mia, do_mar and do_mra respectively.
7246130561Sobrien	(do_mav_*): Renamed from do_c_*.
7247130561Sobrien	(mav_reg_required_here, mav_parse_offset): Renamed from
7248130561Sobrien	cirrus_reg_required_here and cirrus_parse_offset respectively.
7249130561Sobrien	(MAV_MODE?): Renamed from CIRRUS_MODE?.
7250130561Sobrien
7251130561Sobrien2002-01-18  Richard Earnshaw  <rearnsha@arm.com>
7252130561Sobrien	    Keith Walker  <keith.walker@arm.com>
7253130561Sobrien
7254130561Sobrien	* tc-arm.c (ARM_EXT_V5J, ARM_ARCH_V5TEJ): Define.
7255130561Sobrien	(insns): Add pattern for bxj instruction.
7256130561Sobrien	(do_bxj): New function.
7257130561Sobrien	(arm_cpus): Add arm926ej.
7258130561Sobrien	(arm_archs): Add armv5tej.
7259130561Sobrien
7260130561Sobrien2002-01-18  Richard Earnshaw  <rearnsha@arm.com>
7261130561Sobrien
7262130561Sobrien	* doc/c-arm.texi: Add new fpe options to list of supported flags.
7263130561Sobrien
7264130561Sobrien2002-01-19  Keith Walker  <keith.walker@arm.com>
7265130561Sobrien
7266130561Sobrien	* tc-arm.c (arm_fpus): Add fpe2 and fpe3.
7267130561Sobrien
7268130561Sobrien2002-01-18  Richard Earnshaw  <rearnsha@arm.com>
7269130561Sobrien
7270130561Sobrien	* NEWS: Mention new ARM command-line options and VFP support.
7271130561Sobrien
7272130561Sobrien	* config/tc-arm.c (ARM_CEXT_XSCALE): Replaces ARM_EXT_XSCALE.  All
7273130561Sobrien	uses changed.
7274130561Sobrien	(ARM_CEXT_MAVERICK): Similarly.
7275130561Sobrien	(ARM_ANY): Now means any core instruction.
7276130561Sobrien	(CPU_DEFAULT): Default to ARM_ANY.
7277130561Sobrien	(uses_apcs_26, atcps, support_interwork, uses_apcs_float)
7278130561Sobrien	(pic_code): Declare for all object types.  Make type int.
7279130561Sobrien	(legacy_cpu, legacy_fpu, mcpu_cpu_opt, mcpu_fpu_opt, march_cpu_opt)
7280130561Sobrien	(march_fpu_opt, mfpu_opt): Declare.
7281130561Sobrien	(md_longopts): Tidy up conditional definitions.
7282130561Sobrien	(arm_opts, arm_cpus, arm_archs, arm_fpus, arm_extensions)
7283130561Sobrien	(arm_long_opts): New tables.
7284130561Sobrien	(arm_parse_cpu, arm_parse_arch, arm_parse_fpu): New functions.
7285130561Sobrien	(arm_parse_extension): New function.
7286130561Sobrien	(md_parse_option): Rewrite using new table-driven system.
7287130561Sobrien	(md_show_usage): Use new table-driven system.
7288130561Sobrien	(md_begin): Calculate cpu_variant from command line option data.
7289130561Sobrien	* doc/as.texinfo (ARM ISA options): Docuement new ARM-specific
7290130561Sobrien	command-line options.
7291130561Sobrien	* doc/c-arm.texi: Likewise.
7292130561Sobrien
7293130561Sobrien2002-01-18  Andreas Jaeger  <aj@suse.de>
7294130561Sobrien
7295130561Sobrien	* as.c (parse_args): Update year.
7296130561Sobrien
7297130561Sobrien2002-01-17  Timothy Wall  <twall@alum.mit.edu>
7298130561Sobrien
7299130561Sobrien	* config/tc-tic54x.c (encode_address): Add a more informative
7300130561Sobrien	warning about incorrect syntax.
7301130561Sobrien
7302130561Sobrien2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
7303130561Sobrien
7304130561Sobrien	* po/gas.pot: Regenerate.
7305130561Sobrien
7306130561Sobrien2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
7307130561Sobrien
7308130561Sobrien	* macro.c (get_any_string): Add no-c-format comment to prevent
7309130561Sobrien	confusion when translating string.
7310130561Sobrien	* gasp.c (get_any_string): Add no-c-format comment to prevent
7311130561Sobrien	confusion when translating string.
7312130561Sobrien
7313130561Sobrien2002-01-16  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
7314130561Sobrien	    Johannes Stezenbach <js@convergence.de>
7315130561Sobrien	* config/tc-mips.c (percent_op): Ensure longer percent_op's are
7316130561Sobrien	matched before the shorter ones.
7317130561Sobrien	(my_getSmallParser): Fix handling of nested parentheses in
7318130561Sobrien	percent_op's. Code cleanup.
7319130561Sobrien	(my_getPercentOp): New function, code from my_getSmallParser.
7320130561Sobrien	(my_getSmallExpression): Fix handling of closing parentheses.
7321130561Sobrien	Code cleanup. Better comments.
7322130561Sobrien
7323130561Sobrien2002-01-16  Nick Clifton <nickc@redhat.com>
7324130561Sobrien
7325130561Sobrien	po/tr.po: New file: Turkish translation.
7326130561Sobrien	configure.in (LINGUAS): Add "tr".
7327130561Sobrien	configure: Regenerate.
7328130561Sobrien
7329130561Sobrien2002-01-15  Richard Earnshaw  <rearnsha@arm.com>
7330130561Sobrien
7331130561Sobrien	Support for VFP instructions
7332130561Sobrien	* tc-arm.c (CP_WB_OK, CP_NO_WB): New defines.
7333130561Sobrien	(cp_address_required_here): New argument wb_ok.  When false, do not
7334130561Sobrien	accept write-back forms of addressing.  Change all callers.
7335130561Sobrien	(FPU_VFP_EXT_NONE, FPU_VFP_EXT_V1xD, FPU_VFP_VFP_V1)
7336130561Sobrien	(FPU_VFP_EXT_V2): Define.
7337130561Sobrien	(FPU_ARCH_VFP, FPU_ARCH_VFP_V1xD, FPU_ARCH_VFP_V1, FPU_ARCH_VFP_V2):
7338130561Sobrien	Define in terms of above.
7339130561Sobrien	(vfp_dp_reg_pos, vfp_sp_reg_pos, vfp_ldstm_type): New enums.
7340130561Sobrien	(vfp_reg): New struct.
7341130561Sobrien	(vfp_regs): New array of registers.
7342130561Sobrien	(insns): Add VFP instructions.
7343130561Sobrien	(sn_table): New array of VFP single-precision register names.
7344130561Sobrien	(dn_table): New array of VFP double-precision register names.
7345130561Sobrien	(all_reg_maps): Add the new register tables.
7346130561Sobrien	(arm_reg_type): Add new values for above.  Increase RET_TYPE_MAX.
7347130561Sobrien	(vfp_sp_reg_required_here, vfp_dp_reg_required_here, do_vfp_sp_monadic)
7348130561Sobrien	(do_vfp_dp_monadic, do_vfp_sp_dyadic, do_vfp_dp_dyadic)
7349130561Sobrien	(do_vfp_reg_from_sp, do_vfp_sp_reg2, do_vfp_sp_from_reg)
7350130561Sobrien	(do_vfp_reg_from_dp, do_vfp_reg2_from_dp, do_vfp_dp_from_reg)
7351130561Sobrien	(do_vfp_dp_from_reg2, vfp_psr_parse, vfp_psr_required_here)
7352130561Sobrien	(do_vfp_reg_from_ctrl, do_vfp_ctrl_from_reg, do_vfp_sp_ldst)
7353130561Sobrien	(do_vfp_dp_ldst, vfp_sp_reg_list, vfp_dp_reg_list, vfp_sp_ldstm)
7354130561Sobrien	(vfp_dp_ldstm, do_vfp_sp_ldstmia, do_vfp_sp_ldstmdb, do_vfp_ldstmia)
7355130561Sobrien	(do_vfp_dp_ldstmdb, do_vfp_xp_ldstmia, do_vfp_xp_ldstmdb)
7356130561Sobrien	(do_vfp_sp_compare_z, do_vfp_dp_compare_z, do_vfp_dp_sp_cvt)
7357130561Sobrien	(do_vfp_sp_dp_cvt): New functions.
7358130561Sobrien	(md_begin): Set soft-float flag for appropriate VFP work.
7359130561Sobrien	(md_atof): Handle VFP-format doubles.
7360130561Sobrien	(md_parse_option): Handle VFP command-line options.
7361130561Sobrien	(md_show_usage): Display VFP command-line options.
7362130561Sobrien
7363130561Sobrien2002-01-15  Richard Earnshaw  <rearnsha@arm.com>
7364130561Sobrien
7365130561Sobrien	* tc-arm.c (md_parse_option): Tidy up setting of cpu_variant for
7366130561Sobrien	various command line options.
7367130561Sobrien
7368130561Sobrien2002-01-15  Nick Clifton  <nickc@cambridge.redhat.com>
7369130561Sobrien
7370130561Sobrien	* config/tc-xstormy16.c: (xstormy16_fix_adjustable): Do not fix
7371130561Sobrien	vtinherit relocs.
7372130561Sobrien	(xstormy16_md_apply_fix3): Do not return a value.
7373130561Sobrien
7374130561Sobrien2002-01-14  Richard Earnshaw  <rearnsha@arm.com>
7375130561Sobrien
7376130561Sobrien	* tc-arm.c (md_longopts): On targets that aren't bi-endian, support
7377130561Sobrien	the -EL/-EB option that matches the target's endianness.
7378130561Sobrien	(md_parse_option): Likewise.
7379130561Sobrien
7380130561Sobrien2002-01-14  Richard Earnshaw  <rearnsha@arm.com>
7381130561Sobrien
7382130561Sobrien	* tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option
7383130561Sobrien	is not dependent on ARM_BI_ENDIAN.
7384130561Sobrien
7385130561Sobrien2002-01-14  Richard Earnshaw  <rearnsha@arm.com>
7386130561Sobrien
7387130561Sobrien	* tc-arm.c (all error messages): Normalize capitalization of messages.
7388130561Sobrien
7389130561Sobrien	* tc-arm.h (md_operand): Delete define.
7390130561Sobrien	* tc-arm.c (in_my_get_expression): New static variable.
7391130561Sobrien	(my_get_expression): Set and clear it.
7392130561Sobrien	(md_operand): New function.  If called from my_get_expression
7393130561Sobrien	put the error in inst.error.
7394130561Sobrien	(output_inst): Now takes argument of instruction being assembled.
7395130561Sobrien	Print it out with any error message.
7396130561Sobrien	(do_ldst, do_ldstv4, thumb_load_store): Fault attempt to use a store
7397130561Sobrien	with '=' syntax.
7398130561Sobrien	(end_of_line): Don't update inst.error if it is already set.
7399130561Sobrien
7400130561Sobrien2002-01-11  Richard Earnshaw  <rearnsha@arm.com>
7401130561Sobrien
7402130561Sobrien	* tc-arm.c (do_ldst): Fix handling an immediate expression pseudo
7403130561Sobrien	op that can be translated into a mvn instruction.
7404130561Sobrien
7405130561Sobrien2002-01-11  Steve Ellcey  <sje@cup.hp.com>
7406130561Sobrien
7407130561Sobrien	* gas/config/tc-ia64.h (MD_FLAGS_DEFAULT): New Macro for
7408130561Sobrien	setting default md.flags.
7409130561Sobrien	(SHT_INIT_ARRAY): New elf special section used by HP-UX.
7410130561Sobrien	(SHT_FINI_ARRAY): New elf special section used by HP-UX.
7411130561Sobrien	* gas/config/tc-ia64.c (setup_unwind_header): Add support
7412130561Sobrien	for 32 bit unwind info blocks.
7413130561Sobrien	(generate_unwind_image): Add support for different types
7414130561Sobrien	of unwind images (32 bits and/or big-endian).
7415130561Sobrien	(ia64_init): Use MD_FLAGS_DEFAULT to set md.flags.
7416130561Sobrien	(ia64_target_format): Add support for hpux target formats.
7417130561Sobrien	(ia64_gen_real_reloc_type): Add support for FUNC_IPLT_RELOC.
7418130561Sobrien	(ia64_elf_section_type): Add support for SHT_INIT_ARRAY and
7419130561Sobrien	SHT_FINI_ARRAY elf section types.
7420130561Sobrien
7421130561Sobrien2002-01-10  Richard Earnshaw  <rearnsha@arm.com>
7422130561Sobrien
7423130561Sobrien	* tc-arm.c (struct reg_entry): Move before prototypes.
7424130561Sobrien	(int_register, cp_register, fp_register): Delete.
7425130561Sobrien	(reg_table): Delete.  Replaced with ...
7426130561Sobrien	(rn_table, cp_table, cn_table, fn_table, mav_mvf_table)
7427130561Sobrien	(mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table)
7428130561Sobrien	(mav_dspsc_table): ... one table per register set.
7429130561Sobrien	(arm_reg_hsh): Delete.
7430130561Sobrien	(struct reg_map): New structure.
7431130561Sobrien	(all_reg_maps): New array.
7432130561Sobrien	(enum arm_reg_type): New enums.
7433130561Sobrien	(build_reg_hsh): New function.
7434130561Sobrien	(insert_reg_alias): Use hash table passed by caller.  Adjust all
7435130561Sobrien	callers.
7436130561Sobrien	(create_register_alias): New function, split out from ...
7437130561Sobrien	(md_assemble): ... here.
7438130561Sobrien	(md_begin): Build new register hash tables.
7439130561Sobrien	(arm_reg_parse): New argument for the hash table to search.  Adjust all
7440130561Sobrien	callers.
7441130561Sobrien	(arm_reg_parse_any): New function.
7442130561Sobrien	(co_proc_number): Look up the processor number in the processor hash
7443130561Sobrien	table.
7444130561Sobrien	(cirrus_regtype): Delete.
7445130561Sobrien	(cirrus_register, cirrus_mvf_register, cirrus_mvd_register)
7446130561Sobrien	(cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register)
7447130561Sobrien	(ARM_EXT_MAVERICKsc_register): Delete.
7448130561Sobrien	(do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete.
7449130561Sobrien	(do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New
7450130561Sobrien	functions.
7451130561Sobrien	(do_c_triple_4, do_c_triple_5): Delete.
7452130561Sobrien	(do_c_triple_4[ab], do_c_triple_5[a-h]): New functions.
7453130561Sobrien	(do_c_quad_6): Delete.
7454130561Sobrien	(do_c_quad_6[ab]): New functions.
7455130561Sobrien	(do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework
7456130561Sobrien	arguments to use new register parsing methods.
7457130561Sobrien	(cirrus_reg_required_here): Likewise.
7458130561Sobrien	(insns): Reclassify cirrus maverick worker functions.
7459130561Sobrien	(cirrus_valid_reg): Delete.
7460130561Sobrien
7461130561Sobrien2002-01-07  Jason Thorpe  <thorpej@wasabisystems.com>
7462130561Sobrien
7463130561Sobrien	* configure.in (sh*le): Set cpu_type=sh and endian=little.
7464130561Sobrien	(sh*-*-netbsdelf*): New target.
7465130561Sobrien	* configure: Regenerate.
7466130561Sobrien	* tc-sh.h: Update copyright years.
7467130561Sobrien	(TARGET_FORMAT): Add version for TE_NetBSD.
7468130561Sobrien
7469130561Sobrien2002-01-07  Nick Clifton  <nickc@cambridge.redhat.com>
7470130561Sobrien
7471130561Sobrien	* read.c (emit_expr): Do not allow 'size' or 'nbytes' to go
7472130561Sobrien	negative.
7473130561Sobrien
7474130561Sobrien2002-01-06  Alan Modra  <amodra@bigpond.net.au>
7475130561Sobrien
7476130561Sobrien	* config/tc-m68k.h (md_prepare_relax_scan): Rewrite.
7477130561Sobrien	* config/tc-m68k.c (md_relax_table): Add md_prepare_relax_scan comment.
7478130561Sobrien
7479130561Sobrien2002-01-05  Daniel Jacobowitz  <drow@mvista.com>
7480130561Sobrien
7481130561Sobrien	* tc-mips.c (mips_cprestore_valid): New flag.
7482130561Sobrien	(mips_frame_reg_valid): New flag.
7483130561Sobrien	(macro) [M_JAL_2]: Check both flags.
7484130561Sobrien	[M_JAL_A]: Likewise.
7485130561Sobrien	(s_cprestore): Set mips_cprestore_valid.
7486130561Sobrien	(tc_get_register): If setting mips_frame_reg, set
7487130561Sobrien	mips_frame_reg_valid and clear mips_cprestore_valid.
7488130561Sobrien	(s_mips_ent): Clear both flags.
7489130561Sobrien	(s_mips_end): Clear both flags.
7490130561Sobrien
7491130561Sobrien2002-01-05  Alan Modra  <amodra@bigpond.net.au>
7492130561Sobrien
7493130561Sobrien	* write.c (write_object_file): Make use of bfd_section_list_remove.
7494130561Sobrien	* config/obj-ecoff.c (ecoff_frob_file): Likewise.
7495130561Sobrien	* config/tc-mmix.c (mmix_frob_file): Likewise.
7496130561Sobrien
7497130561Sobrien2002-01-04  Jason Thorpe  <thorpej@wasabisystems.com>
7498130561Sobrien
7499130561Sobrien	* configure.in (i386-*-netbsdelf*): Collapse target into...
7500130561Sobrien	(i386-*-netbsd*): ...this.  Add support for x86-64.
7501130561Sobrien	* configure: Regenerated.
7502130561Sobrien
7503130561Sobrien2002-01-03  matthew green  <mrg@redhat.com>
7504130561Sobrien
7505130561Sobrien	* config/tc-ppc.c (md_parse_option): BookE is not Motorola specific.
7506130561Sobrien
7507130561Sobrien2002-01-02  Nick Clifton  <nickc@cambridge.redhat.com>
7508130561Sobrien
7509130561Sobrien	* config/tc-m68k.c (md_estimate_size_before_relax): Test for a
7510130561Sobrien	NULL frag link.
7511130561Sobrien
7512130561SobrienFor older changes see ChangeLog-0001
7513130561Sobrien
7514130561SobrienLocal Variables:
7515130561Sobrienmode: change-log
7516130561Sobrienleft-margin: 8
7517130561Sobrienfill-column: 74
7518130561Sobrienversion-control: never
7519130561SobrienEnd:
7520