ChangeLog revision 130561
1130561Sobrien2004-05-23  Alan Modra  <amodra@bigpond.net.au>
2107492Sobrien
3130561Sobrien	* expr.c (operand, operator): Don't reject '++' and '--'.
4107492Sobrien
5130561Sobrien2004-05-13  Joel Sherrill <joel@oarcorp.com>
6107492Sobrien
7130561Sobrien	* configure.in (or32-*-rtems*): Switch to elf.
8130561Sobrien	* configure: Regenerate.
9107492Sobrien
10130561Sobrien2004-05-13  Nick Clifton  <nickc@redhat.com>
11107492Sobrien
12130561Sobrien	* po/fr.po: Updated French translation.
13107492Sobrien
14130561Sobrien2004-05-07  Daniel Jacobowitz  <dan@debian.org>
15107492Sobrien
16130561Sobrien	* Makefile.am (DIST_SUBDIRS): Define.
17130561Sobrien	* aclocal.m4: Regenerate with automake 1.8.4.
18130561Sobrien	* Makefile.in: Likewise.
19130561Sobrien	* doc/Makefile.in: Likewise.
20107492Sobrien
21130561Sobrien2004-05-07  Daniel Jacobowitz  <dan@debian.org>
22107492Sobrien
23107492Sobrien	Merge from mainline:
24130561Sobrien	2004-05-05  Jakub Jelinek  <jakub@redhat.com>
25130561Sobrien	* tc-s390.h (md_do_align, HANDLE_ALIGN): Remove.
26130561Sobrien	(NOP_OPCODE): Define.
27130561Sobrien	(s390_align_code): Remove prototype.
28130561Sobrien	* tc-s390.c (s390_align_code): Remove.
29107492Sobrien
30130561Sobrien	2004-04-22  Bruno De Bus <bdebus@elis.ugent.be>
31130561Sobrien	* config/tc-arm.h (enum mstate): Move here, add MAP_UNDEFINED
32130561Sobrien	state.
33130561Sobrien	(TC_SEGMENT_INFO_TYPE): Define to enum mstate.
34130561Sobrien	* config/tc-arm.c (enum mstate): Delete from here.
35130561Sobrien	(mapping_state): Remove the static mapstate variable and instead
36130561Sobrien	store the state in the segment.  This allows a per-section mapping
37130561Sobrien	state.  Handle and ignore MAP_UNDEFINED states.
38130561Sobrien	(arm_elf_change_section): Get the current mapping state from the
39130561Sobrien	new section.
40130561Sobrien	(s_ltorg): Set the mapping state to MAP_DATA.
41130561Sobrien	(arm_cleanup): Use arm_elf_change_section to get the mapping state
42130561Sobrien	for each pool as it is emitted.
43107492Sobrien
44130561Sobrien	2004-04-22  Nick Clifton  <nickc@redhat.com>
45130561Sobrien	* config/tc-arm.h: Formatting tidy ups.
46107492Sobrien
47130561Sobrien2004-05-07  Alexandre Oliva  <aoliva@redhat.com>
48107492Sobrien
49130561Sobrien	* config/tc-frv.h (MAX_MEM_FOR_RS_ALIGN_CODE): New.
50130561Sobrien	(HANDLE_ALIGN): New.
51107492Sobrien
52130561Sobrien2004-05-05  Alexandre Oliva  <aoliva@redhat.com>
53107492Sobrien
54130561Sobrien	* configure.in: Set em=linux for frv-*-*linux*.
55130561Sobrien	* configure: Rebuilt.
56130561Sobrien	* config/tc-frv.h (TARGET_FORMAT): Use elf32-frvfdpic if...
57130561Sobrien	(frv_md_fdpic_enabled): New.
58130561Sobrien	* config/tc-frv.c (frv_md_fdpic_enabled): New.
59130561Sobrien	(DEFAULT_FDPIC): New.
60130561Sobrien	(frv_flags): Use DEFAULT_FDPIC.
61130561Sobrien	(frv_pic_flag): Likewise.
62130561Sobrien	(OPTION_NOPIC): New.
63130561Sobrien	(md_longopts): Add -mnopic.
64130561Sobrien	(md_parse_option): Handle it.
65130561Sobrien	(md_show_usage): Add -mfdpic and -mnopic.
66107492Sobrien
67130561Sobrien2004-04-20  Chris Demetriou  <cgd@broadcom.com>
68107492Sobrien
69130561Sobrien	* NEWS: Note that MIPS -membedded-pic option is deprecated.
70104834Sobrien
71130561Sobrien2004-04-19  Eric Christopher  <echristo@redhat.com>
72104834Sobrien
73130561Sobrien	* config/tc-mips.c (mips_dwarf2_addr_size): Revert part
74130561Sobrien	of previous patch for fix in gcc.
75104834Sobrien
76130561Sobrien2004-04-16  Alan Modra  <amodra@bigpond.net.au>
77104834Sobrien
78130561Sobrien	* expr.c (operand): Correct checks for ++ and --.
79104834Sobrien
80130561Sobrien2004-04-14  Richard Sandiford  <rsandifo@redhat.com>
81104834Sobrien
82130561Sobrien	* doc/c-mips.texi (-m{no-,}fix-vr4120): Renamed from
83130561Sobrien	-{no-}mfix-vr4122-bugs.
84130561Sobrien	* config/tc-mips.c (mips_fix_vr4120): Renamed from mips_fix_4122_bugs.
85130561Sobrien	(append_insn, mips_emit_delays): Update accordingly.
86130561Sobrien	(OPTION_FIX_VR4120, OPTION_NO_FIX_VR4120): Renamed from *VR4122.
87130561Sobrien	(md_longopts): Change -{no-,}mfix-vr4122-bugs to -m{no-,}fix-vr4120.
88130561Sobrien	(md_parse_option): Update after above changes.
89130561Sobrien	(md_show_usage): Add -mfix-vr4120.
90104834Sobrien
91130561Sobrien2004-04-11  Thiemo Seufer  <seufer@csv.ica.uni-stuttgart.de>
92104834Sobrien
93130561Sobrien	* Makefile.am: Remove mips from aout targets.
94130561Sobrien	* Makefile.in: Regenerate.
95130561Sobrien	* configure.in: Remove mips-dec-bsd* target.
96130561Sobrien	* configure: Regenerate.
97104834Sobrien
98130561Sobrien2004-04-09  Daniel Jacobowitz  <drow@mvista.com>
99104834Sobrien
100104834Sobrien	Merge from mainline:
101130561Sobrien	2004-04-07  Alan Modra  <amodra@bigpond.net.au>
102130561Sobrien	PR 96
103130561Sobrien	* config/tc-ppc.c (ppc_elf_suffix): Add valid32 and valid64 fields
104130561Sobrien	to struct map_bfd.  Adjust MAP macro, and define MAP32, MAP64.
105130561Sobrien	Update "mapping".  Restrict some @ modifiers to 32 bit.
106104834Sobrien
107130561Sobrien	2004-04-01  Asgari Jinia  <asgarij@kpitcummins.com>
108130561Sobrien	Dhananjay Deshpande <dhananjayd@kpitcummins.com>
109104834Sobrien
110130561Sobrien	* config/tc-sh.c (dont_adjust_reloc_32): New variable.
111130561Sobrien	(sh_fix_adjustable): Avoid adjusting BFD_RELOC_32 when
112130561Sobrien	dont_adjust_reloc_32 is set.
113130561Sobrien	(md_longopts): Add option -renesas.
114130561Sobrien	(md_parse_option, md_show_usage): Likewise.
115130561Sobrien	* doc/c-sh.texi: Likewise.
116104834Sobrien
117130561Sobrien	2004-04-01  Dave Korn  <dk@artimi.com>
118130561Sobrien	* config/tc-dlx.c (md_assemble): set fx_no_overflow flag for
119130561Sobrien	hi16 and lo16 fixS structs.
120130561Sobrien	(md_assemble): generate bit_fixS for RELOC_DLX_LO16 in
121130561Sobrien	exactly the same way as for RELOC_DLX_REL16.
122130561Sobrien	(machine_ip): properly respect LO flag in the_insn and
123130561Sobrien	output RELOC_DLX_LO16 rather than RELOC_DLX_16.
124130561Sobrien	(md_apply_fix3): apply RELOC_DLX_LO16.
125104834Sobrien
126130561Sobrien	2004-03-19  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
127130561Sobrien	* tc-hppa.c (cons_fix_new_hppa): Check for PC relative base type.
128130561Sobrien	(pa_comm): Set BSF_OBJECT in symbol flags.
129104834Sobrien
130130561Sobrien	2004-03-18  Nathan Sidwell  <nathan@codesourcery.com>
131130561Sobrien	* read.c (read_a_source_file): Use demand_empty_rest_of_line.
132130561Sobrien	(demand_empty_rest_of_line): Issue an error here.
133130561Sobrien	(ignore_rest_of_line): Silently skip to end.
134130561Sobrien	(demand_copy_string): Issue an error, not warning.
135130561Sobrien	(equals): Likewise.
136130561Sobrien	* config/obj-elf.c (obj_elf_section_name): Likewise.
137130561Sobrien	(obj_elf_section): Likewise.
138130561Sobrien	* config/tc-arc.c (arc_extoper): Remove bogus NULL checks.
139130561Sobrien	(arc_extinst): Likewise.
140130561Sobrien	* config/tc-ia64.c (dot_saveb): Use demand_empty_rest_of_line.
141130561Sobrien	(dot_spill): Likewise.
142130561Sobrien	(dot_unwabi): Likewise.
143130561Sobrien	(dot_prologue): Likewise.
144104834Sobrien
145130561Sobrien	2004-03-18  Nathan Sidwell  <nathan@codesourcery.com>
146130561Sobrien	* expr.c (operand): Reject ++ and --.
147130561Sobrien	(operator): Likewise.
148104834Sobrien
149130561Sobrien	2004-03-12  Bob Wilson  <bob.wilson@acm.org>
150130561Sobrien	* read.c (s_leb128): Call md_flush_pending_output.
151104834Sobrien
152130561Sobrien	2004-03-07  Andreas Schwab  <schwab@suse.de>
153130561Sobrien	* doc/c-hppa.texi (HPPA Directives): Fix typo.
154104834Sobrien
155130561Sobrien	2004-03-07  Richard Henderson  <rth@redhat.com>
156130561Sobrien	* dw2gencfi.c (output_cie): Align length to 4 byte boundary.
157130561Sobrien	(cfi_finish): Likewise for fde.
158104834Sobrien
159130561Sobrien	2004-03-05  H.J. Lu  <hongjiu.lu@intel.com>
160130561Sobrien	* config/tc-ia64.c (md_assemble): Properly handle NULL
161130561Sobrien	align_frag.
162130561Sobrien	(ia64_handle_align): Don't abort if failed to add a stop bit.
163104834Sobrien
164130561Sobrien	2004-03-04  H.J. Lu  <hongjiu.lu@intel.com>
165104834Sobrien	* Makefile.in: Regenerated.
166130561Sobrien	* aclocal.m4: Likewise.
167130561Sobrien	* configure: Likewise.
168130561Sobrien	* doc/Makefile.in: Likewise.
169104834Sobrien
170130561Sobrien	2004-03-03  H.J. Lu  <hongjiu.lu@intel.com>
171130561Sobrien	* config/tc-ia64.c (dot_align): New.
172130561Sobrien	(ia64_do_align): Make it static.
173130561Sobrien	(md_pseudo_table): Use "dot_align" for "align".
174130561Sobrien	(ia64_md_do_align): Don't set align_frag here.
175130561Sobrien	(ia64_handle_align): Add a stop bit to the previous bundle if
176130561Sobrien	needed.
177104834Sobrien
178130561Sobrien	* config/tc-ia64.h (ia64_do_align): Removed.
179104834Sobrien
180130561Sobrien	2004-03-02  H.J. Lu  <hongjiu.lu@intel.com>
181130561Sobrien	* config/tc-ia64.c (align_frag): New.
182130561Sobrien	(md_assemble): Set the tc_frag_data field in align_frag for
183130561Sobrien	IA64_OPCODE_FIRST instructions.
184130561Sobrien	(ia64_md_do_align): Set align_frag.
185130561Sobrien	(ia64_handle_align): Add a stop bit if needed.
186104834Sobrien
187130561Sobrien	* config/tc-ia64.h (TC_FRAG_TYPE): New.
188130561Sobrien	(TC_FRAG_INIT): New.
189104834Sobrien
190130561Sobrien	2004-02-27  Nick Clifton  <nickc@redhat.com>
191130561Sobrien	* config/tc-sh.c (get_operand): Revert previous delta.
192130561Sobrien	(tc_gen_reloc): Check for an unknown reloc type before processing
193130561Sobrien	the addend.
194104834Sobrien
195130561Sobrien	2004-02-27  Hannes Reinecke  <hare@suse.de>
196130561Sobrien	* config/tc-s390.c (s390_insn): Correct range check for opcode in
197130561Sobrien	.insn pseudo operation.
198104834Sobrien
199130561Sobrien	2004-02-27  Anil Paranjpe  <anilp1@kpitcummins.com>
200130561Sobrien	* config/tc-sh.c (get_operand):  In case of #Imm, check has been
201130561Sobrien	added for wrong syntax.
202104834Sobrien
203130561Sobrien	2004-02-26  Andrew Stubbs <andrew.stubbs@superh.com>
204130561Sobrien	* config/tc-sh.c (build_Mytes): Add REG_N_D and REG_N_B01
205130561Sobrien	nibble types to assembler.
206104834Sobrien
207130561Sobrien	2004-02-25  Fred Fish  <fnf@redhat.com>
208130561Sobrien	* config/tc-iq2000.c: Add missing \n\ in multiline string literal.
209104834Sobrien
210130561Sobrien	2004-02-20  James E Wilson  <wilson@specifixinc.com>
211130561Sobrien	* config/tc-ia64.c (slot_index): New arg before_relax.  Use instead of
212130561Sobrien	finalize_syms.
213130561Sobrien	(fixup_unw_records): New arg before_relax.  Pass to slot_index.
214130561Sobrien	(ia64_estimate_size_before_relax): New.
215130561Sobrien	(ia64_convert_frag): Pass 0 to fixup_unw_records.  Add comment.
216130561Sobrien	(generate_unwind_image): Pass 1 to fixup_unw_records.
217130561Sobrien	* config/tc-ia64.h (ia64_estimate_size_before_relax): Declare.
218130561Sobrien	(md_estimate_size_before_relax): Call ia64_estimate_size_before_relax.
219104834Sobrien
220130561Sobrien	2004-02-19  Jakub Jelinek  <jakub@redhat.com>
221130561Sobrien	* stabs.c (generate_asm_file): Avoid warning about use of
222130561Sobrien	uninitialized variable.
223104834Sobrien
224130561Sobrien	2004-02-18  David Mosberger  <davidm@hpl.hp.com>
225130561Sobrien	* config/tc-ia64.c (ia64_flush_insns): In addition to prologue,
226130561Sobrien	body, and endp, allow unwind records which do not have a "t"
227130561Sobrien	(time/instruction) field.
228104834Sobrien
229130561Sobrien2004-03-22  Bob Wilson  <bob.wilson@acm.org>
230104834Sobrien
231130561Sobrien	* config/tc-xtensa.c (xtensa_post_relax_hook): Create literal
232130561Sobrien	tables even when use_literal_section flag is not set.
233104834Sobrien
234130561Sobrien2004-03-22  Hans-Peter Nilsson  <hp@axis.com>
235104834Sobrien
236130561Sobrien	* doc/c-cris.texi (CRIS-Opts): Document --no-mul-bug-abort,
237130561Sobrien	--mul-bug-abort and the default behavior.
238130561Sobrien	* config/tc-cris.c (cris_insn_kind): New member CRIS_INSN_MUL.
239130561Sobrien	(err_for_dangerous_mul_placement): New variable.
240130561Sobrien	(STATE_MUL, OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): New
241130561Sobrien	macros.
242130561Sobrien	(md_cris_relax_table): Have placeholder for STATE_MUL.
243130561Sobrien	(md_longopts): New options --mul-bug-abort and --no-mul-bug-abort.
244130561Sobrien	(cris_relax_frag) <case ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: New
245130561Sobrien	case doing nothing.
246130561Sobrien	(md_estimate_size_before_relax) <case ENCODE_RELAX (STATE_MUL,
247130561Sobrien	STATE_BYTE)>: Ditto.
248130561Sobrien	(md_convert_frag) <ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: Check
249130561Sobrien	alignment and position of this frag, emit error message if
250130561Sobrien	suspicious.
251130561Sobrien	(md_assemble): For a multiply insn and when checking it,
252130561Sobrien	transform the current frag into a special frag for that purpose.
253130561Sobrien	(md_parse_option) <case OPTION_MULBUG_ABORT_OFF, case
254130561Sobrien	OPTION_MULBUG_ABORT_ON>: Handle new options.
255104834Sobrien
256130561Sobrien2004-03-19  Bob Wilson  <bob.wilson@acm.org>
257104834Sobrien
258130561Sobrien	* config/tc-xtensa.c (mark_literal_frags): New function.
259130561Sobrien	(xtensa_move_literals): Call mark_literal_frags for all literal
260130561Sobrien	segments, including init and fini literal segments.
261130561Sobrien	(xtensa_post_relax_hook): Swap use of xt_insn_sec and xt_literal_sec.
262104834Sobrien
263130561Sobrien2004-03-17  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
264104834Sobrien
265130561Sobrien	* config/tc-sh.c: Include dw2gencfi.h.
266130561Sobrien	(sh_cfi_frame_initial_instructions): New function.
267130561Sobrien	(sh_regname_to_dw2regnum): Likewise.
268130561Sobrien	* config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Move to the end of
269130561Sobrien	file.
270130561Sobrien	(TARGET_USE_CFIPOP): Define.
271130561Sobrien	(tc_cfi_frame_initial_instructions): Likewise.
272130561Sobrien	(tc_regname_to_dw2regnum): Likewise.
273130561Sobrien	(DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Likewise.
274130561Sobrien	* Makefile.am: Update dependencies.
275104834Sobrien	* Makefile.in: Regenerate.
276104834Sobrien
277130561Sobrien2004-03-17  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
278104834Sobrien
279130561Sobrien	* configure.in: Switch sh-*-rtems* to ELF.  Add sh-*-rtemscoff*.
280104834Sobrien	* configure: Regenerate.
281104834Sobrien
282130561Sobrien2004-03-12  Bob Wilson  <bob.wilson@acm.org>
283104834Sobrien
284130561Sobrien	* read.c (s_leb128): Call md_flush_pending_output.
285104834Sobrien
286130561Sobrien2004-03-12  Michal Ludvig  <mludvig@suse.cz>
287104834Sobrien
288130561Sobrien	* config/tc-i386.c (output_insn): Handle PadLock instructions.
289130561Sobrien	* config/tc-i386.h (CpuPadLock): New define.
290130561Sobrien	(CpuUnknownFlags): Added CpuPadLock.
291104834Sobrien
292130561Sobrien2004-02-26  Eric Christopher  <echristo@redhat.com>
293104834Sobrien
294130561Sobrien	* config/tc-mips.c (mips_dwarf2_addr_size): New.
295130561Sobrien	* config/tc-mips.h (DWARF2_ADDR_SIZE): Use.
296104834Sobrien
297130561Sobrien2004-02-17  Petko Manolov  <petkan@nucleusys.com>
298104834Sobrien
299130561Sobrien	* config/tc-arm.c (do_mav_dspsc_1): Correct offset of CRn.
300130561Sobrien	(do_mav_dspsc_2): Likewise.
301130561Sobrien	Fix accumulator registers move opcodes.
302104834Sobrien
303130561Sobrien2004-02-13  Hannes Reinecke  <hare@suse.de>
304130561Sobrien            Jakub Jelinek  <jakub@redhat.com>
305104834Sobrien
306130561Sobrien	* dwarf2dbg.c (get_filenum): Do not read beyond allocated memory.
307104834Sobrien
308130561Sobrien2004-02-10  Steve Ellcey  <sje@cup.hp.com>
309104834Sobrien
310130561Sobrien	* config/tc-ia64.h (ia64_frob_symbol): New declaration.
311130561Sobrien	(tc_frob_symbol): New macro definition.
312130561Sobrien	* config/tc-ia64.c (ia64_frob_symbol): New routine.
313104834Sobrien
314130561Sobrien2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
315104834Sobrien
316130561Sobrien	* config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as
317130561Sobrien	read-only.
318104834Sobrien
319130561Sobrien2004-02-09  Nathan Sidwell  <nathan@codesourcery.com>
320104834Sobrien
321130561Sobrien	* read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ...
322130561Sobrien	(TC_CASE_SENSITIVE): ... this.
323130561Sobrien	* read.c: Replace IGNORE_OPCODE_CASE with TC_CASE_SENSITIVE.
324130561Sobrien	* doc/internals.texi (TC_CASE_SENSITIVE): Document.
325104834Sobrien
326130561Sobrien2004-02-06  James E Wilson  <wilson@specifixinc.com>
327104834Sobrien
328130561Sobrien	* config/tc-ia64.c (dot_endp): Delete call to output_endp.
329130561Sobrien	(generate_unwind_image): Re-add it here.
330104834Sobrien
331130561Sobrien2004-02-06  Nathan Sidwell  <nathan@codesourcery.com>
332104834Sobrien
333130561Sobrien	* dwarf2dbg.c (DWARF2_ADDR_SIZE): Remove trailing ';'
334130561Sobrien	* read.h (SKIP_WHITESPACE): Turn into an expression.
335130561Sobrien	* read.c (read_a_source_file): A pseudo is removed by having a
336130561Sobrien	NULL handler.
337104834Sobrien
338130561Sobrien2004-02-05  James E Wilson  <wilson@specifixinc.com>
339104834Sobrien
340130561Sobrien	* config/tc-ia64.c (output_endp): New.
341130561Sobrien	(count_bits): Delete.
342130561Sobrien	(ia64_flush_insns, process_one_record, optimize_unw_records): Handle
343130561Sobrien	endp unwind records.
344130561Sobrien	(fixup_unw_records): Handle endp unwind records.  Delete code for
345130561Sobrien	shortening prologue regions not followed by a body record.
346130561Sobrien	(dot_endp): Call add_unwind_entry to emit endp unwind record.
347130561Sobrien	* config/tc-ia64.h (unw_record_type): Add endp.
348104834Sobrien
349130561Sobrien2004-02-03  James E Wilson  <wilson@specifixinc.com>
350104834Sobrien
351130561Sobrien	* config/tc-ia64.c (ia64_convert_frag): Call md_number_to_chars to
352130561Sobrien	fill padding bytes with zeroes.
353130561Sobrien	(emit_one_bundle): New locals last_ptr, end_ptr.  Rewrite code that
354130561Sobrien	sets unwind_record slot_number and slot_frag fields.
355104834Sobrien
356130561Sobrien2004-02-02  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
357104834Sobrien
358130561Sobrien	* config/tc-mips.c (add_got_offset_hilo): New function.
359130561Sobrien	(macro): Use load_register() and add_got_offset_hilo() to load
360130561Sobrien	constants instead of hardcoding code sequences throughout.
361104834Sobrien
362130561Sobrien2004-01-28  H.J. Lu  <hongjiu.lu@intel.com>
363104834Sobrien
364130561Sobrien	* config/tc-ia64.c (emit_one_bundle): Add proper indentation.
365104834Sobrien
366130561Sobrien2004-01-26  Bernardo Innocenti  <bernie@develer.com>
367104834Sobrien
368130561Sobrien	* config/tc-m68k.h (EXTERN_FORCE_RELOC): Handle m68k-uclinux specially,
369130561Sobrien	like m68k-elf.
370130561Sobrien	* config/tc-m68k.c (RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead
371130561Sobrien	of hard-coded test for TARGET_OS=elf.
372104834Sobrien
373130561Sobrien2004-01-24  Chris Demetriou  <cgd@broadcom.com>
374104834Sobrien
375130561Sobrien	* config/tc-mips.c (hilo_interlocks): Change definition
376130561Sobrien	so that MIPS32, MIPS64 and later ISAs are included, along with
377130561Sobrien	the already-included machines.  Update comments.
378104834Sobrien
379130561Sobrien2004-01-23  Daniel Jacobowitz  <drow@mvista.com>
380104834Sobrien
381130561Sobrien	* config/tc-arm.c (tc_gen_reloc): Improve error message for
382130561Sobrien	undefined local labels.
383104834Sobrien
384130561Sobrien2004-01-23  Richard Sandiford  <rsandifo@redhat.com>
385104834Sobrien
386130561Sobrien	* config/tc-mips.c (load_address, macro): Update comments about
387130561Sobrien	NewABI GP relaxation.
388104834Sobrien
389130561Sobrien2004-01-23  Richard Sandiford  <rsandifo@redhat.com>
390104834Sobrien
391130561Sobrien	* config/tc-mips.c (macro_build): Remove place and counter arguments.
392130561Sobrien	(mips_build_lui, macro_build_ldst_constoffset): Likewise.
393130561Sobrien	(mips16_macro_build, macro_build_jalr): Remove counter argument.
394130561Sobrien	(set_at, load_register, load_address, move_register): Likewise.
395130561Sobrien	(load_got_offset, add_got_offset): Likewise.
396130561Sobrien	Update all calls and tidy accordingly.
397104834Sobrien
398130561Sobrien2004-01-23  Richard Sandiford  <rsandifo@redhat.com>
399104834Sobrien
400130561Sobrien	* config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.
401130561Sobrien	(RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities.
402130561Sobrien	(RELAX_USE_SECOND): Bump to 0x10000.
403130561Sobrien	(RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags.
404130561Sobrien	(mips_macro_warning): New variable.
405130561Sobrien	(md_assemble): Wrap macro expansion in macro_start() and macro_end().
406130561Sobrien	(s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise.
407130561Sobrien	(relax_close_frag): Set mips_macro_warning.first_frag.  Adjust use
408130561Sobrien	of RELAX_ENCODE.
409130561Sobrien	(append_insn): Update mips_macro_warning.sizes.
410130561Sobrien	(macro_start, macro_warning, macro_end): New functions.
411130561Sobrien	(macro_build): Don't emit warnings here.
412130561Sobrien	(macro_build_lui, md_estimate_size_before_relax): ...or here.
413130561Sobrien	(md_convert_frag): Check for cases where one macro alternative
414130561Sobrien	needs a warning and the other doesn't.  Emit a warning if the
415130561Sobrien	longer sequence was chosen.
416104834Sobrien
417130561Sobrien2004-01-23  Richard Sandiford  <rsandifo@redhat.com>
418104834Sobrien
419130561Sobrien	* config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
420130561Sobrien	* config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of
421130561Sobrien	the first sequence, the size of the second sequence, and a flag
422130561Sobrien	that says whether we should warn.
423130561Sobrien	(RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete.
424130561Sobrien	(RELAX_FIRST, RELAX_SECOND): New.
425130561Sobrien	(mips_relax): New variable.
426130561Sobrien	(relax_close_frag, relax_start, relax_switch, relax_end): New fns.
427130561Sobrien	(append_insn): Remove "place" argument.  Use mips_relax.sequence
428130561Sobrien	rather than "place" to check whether we're expanding the second
429130561Sobrien	alternative of a relaxable macro.  Remove redundant check for
430130561Sobrien	branch relaxation.  If generating a normal insn, and there
431130561Sobrien	is not enough room in the current frag, call relax_close_frag()
432130561Sobrien	to close it.  Update mips_relax.sizes[].  Emit fixups for the
433130561Sobrien	second version of a relaxable macro.  Record the first relaxable
434130561Sobrien	fixup in mips_relax.  Remove tc_gen_reloc workaround.
435130561Sobrien	(macro_build): Remove all uses of "place".  Use mips_relax.sequence
436130561Sobrien	in the same way as in append_insn.
437130561Sobrien	(mips16_macro_build): Remove "place" argument.
438130561Sobrien	(macro_build_lui): As for macro_build.  Don't drop the add_symbol
439130561Sobrien	when generating the second version of a relaxable macro.
440130561Sobrien	(load_got_offset, add_got_offset): New functions.
441130561Sobrien	(load_address, macro): Use new relaxation machinery.  Remove
442130561Sobrien	tc_gen_reloc workarounds.
443130561Sobrien	(md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second
444130561Sobrien	version of a relaxable macro is needed.  Return -RELAX_SECOND if the
445130561Sobrien	first version is needed.
446130561Sobrien	(tc_gen_reloc): Remove relaxation handling.
447130561Sobrien	(md_convert_frag): Go through the fixups for a relaxable macro and
448130561Sobrien	mark those that belong to the unneeded alternative as done.  If the
449130561Sobrien	second alternative is needed, adjust the fixup addresses to account
450130561Sobrien	for the deleted first alternative.
451104834Sobrien
452130561Sobrien2004-01-23  Richard Sandiford  <rsandifo@redhat.com>
453104834Sobrien
454130561Sobrien	* frags.h (frag_room): Declare.
455130561Sobrien	* frags.c (frag_room): New function.
456130561Sobrien	* doc/internals.texi: Document it.
457104834Sobrien
458130561Sobrien2004-01-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
459104834Sobrien
460130561Sobrien	* config/tc-mips.c (append_insn): Don't do r3900 interlock
461130561Sobrien	optimization for -mtune=r3900, as this will break on other CPUs.
462104834Sobrien
463130561Sobrien2004-01-11  Tom Rix   <tcrix@worldnet.att.net>
464104834Sobrien
465130561Sobrien	* config/tc-m68hc11.c (build_indexed_byte): movb and movw cannot
466130561Sobrien	be relaxed, use fixup.
467130561Sobrien	(md_apply_fix3): Use 5 bit reloc from movb and movw fixup.
468104834Sobrien
469130561Sobrien2004-01-19  Jakub Jelinek  <jakub@redhat.com>
470104834Sobrien
471130561Sobrien	* config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single
472130561Sobrien	precision operands.
473104834Sobrien
474130561Sobrien2004-01-14  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
475104834Sobrien
476130561Sobrien	* config/tc-mips.c (append_insn): Properly detect variant frags
477130561Sobrien	that preclude swapping of relaxed branches.  Correctly swap
478130561Sobrien	instructions between frags when dealing with relaxed branches.
479104834Sobrien
480130561Sobrien2004-01-14  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
481104834Sobrien
482130561Sobrien	* acinclude.m4: Quote names of macros to be defined by AC_DEFUN
483130561Sobrien	throughout.
484130561Sobrien	* aclocal.m4: Regenerate.
485104834Sobrien	* configure: Regenerate.
486104834Sobrien
487130561Sobrien2004-01-12  Anil Paranjpe  <anilp1@KPITCummins.com>
488104834Sobrien
489130561Sobrien	* config/tc-h8300.c (build_bytes): Apply relaxation to bit
490130561Sobrien	manipulation insns.
491104834Sobrien
492130561Sobrien2004-01-12  Richard Sandiford  <rsandifo@redhat.com>
493104834Sobrien
494130561Sobrien	* config/tc-mips.c (macro_build_jalr): When adding an R_MIPS_JALR
495130561Sobrien	reloc, reserve space for the delay slot as well as the jalr itself.
496104834Sobrien
497130561Sobrien2004-01-09  Paul Brook  <paul@codesourcery.com>
498104834Sobrien
499130561Sobrien	* config/tc-arm.c (do_vfp_reg2_from_sp2): Rename from do_vfp_sp_reg2.
500130561Sobrien	(do_vfp_sp2_from_reg2): New function.
501130561Sobrien	(insns): Use them.
502130561Sobrien	(do_vfp_dp_from_reg2): Check return values properly.
503104834Sobrien
504130561Sobrien2004-01-08  Ian Lance Taylor  <ian@wasabisystems.com>
505104834Sobrien
506130561Sobrien	* config/tc-mips.c (warn_nops): Remove static variable.
507130561Sobrien	(macro): Remove test of warn_nops.
508130561Sobrien	(md_shortops): Remove 'n'.
509130561Sobrien	(md_parse_option): Remove 'n' case.
510130561Sobrien	(md_show_usage): Remove -n.
511130561Sobrien	* doc/as.texinfo (Overview): Remove MIPS -n option.
512130561Sobrien	* doc/c-mips.texi (MIPS Opts): Remove mention -n.
513130561Sobrien	* NEWS: Mention removal of MIPS -n option.
514104834Sobrien
515130561Sobrien	* config/tc-mips.c (ISA_HAS_COPROC_DELAYS): Remove.
516130561Sobrien	(cop_interlocks): Check ISA level.
517130561Sobrien	(cop_mem_interlocks): Define.
518130561Sobrien	(reg_needs_delay): Check cop_interlocks rather than
519130561Sobrien	ISA_HAS_COPROC_DELAYS.
520130561Sobrien	(append_insn): Likewise.  Use cop_mem_interlocks rather than
521130561Sobrien	directly checking mips_opts.isa.
522130561Sobrien	(mips_emit_delays): Likewise.
523104834Sobrien
524130561Sobrien2004-01-07  H.J. Lu  <hongjiu.lu@intel.com>
525104834Sobrien
526130561Sobrien	* config/tc-ia64.c (unwind): Move next_slot_number and
527130561Sobrien	next_slot_frag to ...
528130561Sobrien	(unw_rec_list): Here.
529130561Sobrien	(free_list_records): Removed.
530130561Sobrien	(output_unw_records): Likewise.
531130561Sobrien	(generate_unwind_image): Make it void.
532130561Sobrien	(alloc_record): Initialize next_slot_number and next_slot_frag.
533130561Sobrien	(slot_index): Take .org, .space and .align into account.
534130561Sobrien	(fixup_unw_records): Don't set slot_number to 0. Use
535130561Sobrien	list->next_slot_number and list->next_slot_frag instead of
536130561Sobrien	unwind.next_slot_number and unwind.next_slot_frag.
537130561Sobrien	(ia64_convert_frag): New.
538130561Sobrien	(generate_unwind_image): Generate a rs_machine_dependent frag
539130561Sobrien	for unwind record.
540130561Sobrien	(emit_one_bundle): Use list->next_slot_number and
541130561Sobrien	list->next_slot_frag instead of unwind.next_slot_number and
542130561Sobrien	unwind.next_slot_frag.
543104834Sobrien
544130561Sobrien	* config/tc-ia64.h (md_convert_frag): Defined as
545130561Sobrien	ia64_convert_frag.
546130561Sobrien	(md_estimate_size_before_relax): Defined as (f)->fr_var.
547104834Sobrien
548130561Sobrien2004-01-06  Alexandre Oliva  <aoliva@redhat.com>
549104834Sobrien
550130561Sobrien	2003-12-19  Alexandre Oliva  <aoliva@redhat.com>
551130561Sobrien	* config/tc-frv.h (md_apply_fix3): Don't define.
552130561Sobrien	* config/tc-frv.c (md_apply_fix3): New.  Shift/truncate %hi/%lo
553130561Sobrien	operands.
554130561Sobrien	* config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
555130561Sobrien	2003-10-07  Alexandre Oliva  <aoliva@redhat.com>
556130561Sobrien	* config/tc-frv.c (line_separator_chars): Add `!'.
557130561Sobrien	2003-09-19  Alexandre Oliva  <aoliva@redhat.com>
558130561Sobrien	* config/tc-frv.c (md_assemble): Clear insn upfront.
559130561Sobrien	2003-09-18  Alexandre Oliva  <aoliva@redhat.com>
560130561Sobrien	* config/tc-frv.c (OPTION_FDPIC): New macro.
561130561Sobrien	(md_longopts): Add mfdpic.
562130561Sobrien	(md_parse_option): Handle it.
563130561Sobrien	2003-08-04  Alexandre Oliva  <aoliva@redhat.com>
564130561Sobrien	* config/tc-frv.c (md_cgen_lookup_reloc) <FRV_OPERAND_D12,
565130561Sobrien	FRV_OPERAND_S12>: Use reloc type encoded in fix-up.
566130561Sobrien	(frv_pic_ptr): Parse funcdesc.
567104834Sobrien
568130561Sobrien2004-01-05  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
569104834Sobrien
570130561Sobrien	* doc/as.texinfo: Let texi2pod parse asconfig.texi and
571130561Sobrien	gasver.texi.  Remove duplicate symbol definitions for texi2pod.
572104834Sobrien
573130561Sobrien2004-01-05  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
57499461Sobrien
575130561Sobrien	* Makefile.am (Makefile): Move the dependency on
576130561Sobrien	$(BFDDIR)/configure.in to...
577130561Sobrien	(CONFIG_STATUS_DEPENDENCIES): ... here.
578130561Sobrien	(AUTOMAKE_OPTIONS): Require automake 1.8.
579104834Sobrien	* Makefile.in: Regenerate.
580130561Sobrien	* doc/Makefile.am (BASEDIR, BFDDIR): Define.
581130561Sobrien	(CONFIG_STATUS_DEPENDENCIES): Add a dependency on
582130561Sobrien	$(BFDDIR)/configure.in here as well.
58394536Sobrien	* doc/Makefile.in: Regenerate.
58494536Sobrien
585130561Sobrien2004-01-05  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
586104834Sobrien
587130561Sobrien	* Makefile.am (install, install-info, RECURSIVE_TARGETS): Remove.
588104834Sobrien	* Makefile.in: Regenerate.
589104834Sobrien	* aclocal.m4: Regenerate.
590130561Sobrien	* doc/Makefile.am (install, install-info): Remove.
591130561Sobrien	(install-data-local): A new hook for install-info.
592130561Sobrien	(AUTOMAKE_OPTIONS): Require automake 1.8.
593104834Sobrien	* doc/Makefile.in: Regenerate.
594104834Sobrien
595130561Sobrien2004-01-02  Nutan Singh <nutan@kpitcummins.com>
59691041Sobrien
597130561Sobrien	* doc/c-sh.texi: Update description about floating point behavior
598130561Sobrien	of SH family.
59991041Sobrien
600130561Sobrien2004-01-02  Bernardo Innocenti  <bernie@develer.com>
60191041Sobrien
602130561Sobrien	* configure.in: Add m68k-uClinux target.
60391041Sobrien	* configure: Regenerate.
60491041Sobrien
605130561SobrienFor older changes see ChangeLog-0203
60689857Sobrien
60789857SobrienLocal Variables:
60889857Sobrienmode: change-log
60989857Sobrienleft-margin: 8
61089857Sobrienfill-column: 74
61189857Sobrienversion-control: never
61289857SobrienEnd:
613