ChangeLog revision 130562
11556Srgrimes2004-05-23  Alan Modra  <amodra@bigpond.net.au>
21556Srgrimes
31556Srgrimes	* expr.c (operand, operator): Don't reject '++' and '--'.
41556Srgrimes
51556Srgrimes2004-05-13  Joel Sherrill <joel@oarcorp.com>
61556Srgrimes
71556Srgrimes	* configure.in (or32-*-rtems*): Switch to elf.
81556Srgrimes	* configure: Regenerate.
91556Srgrimes
101556Srgrimes2004-05-13  Nick Clifton  <nickc@redhat.com>
111556Srgrimes
121556Srgrimes	* po/fr.po: Updated French translation.
131556Srgrimes
141556Srgrimes2004-05-07  Daniel Jacobowitz  <dan@debian.org>
151556Srgrimes
161556Srgrimes	* Makefile.am (DIST_SUBDIRS): Define.
171556Srgrimes	* aclocal.m4: Regenerate with automake 1.8.4.
181556Srgrimes	* Makefile.in: Likewise.
191556Srgrimes	* doc/Makefile.in: Likewise.
201556Srgrimes
211556Srgrimes2004-05-07  Daniel Jacobowitz  <dan@debian.org>
221556Srgrimes
231556Srgrimes	Merge from mainline:
241556Srgrimes	2004-05-05  Jakub Jelinek  <jakub@redhat.com>
251556Srgrimes	* tc-s390.h (md_do_align, HANDLE_ALIGN): Remove.
261556Srgrimes	(NOP_OPCODE): Define.
271556Srgrimes	(s390_align_code): Remove prototype.
281556Srgrimes	* tc-s390.c (s390_align_code): Remove.
291556Srgrimes
301556Srgrimes	2004-04-22  Bruno De Bus <bdebus@elis.ugent.be>
311556Srgrimes	* config/tc-arm.h (enum mstate): Move here, add MAP_UNDEFINED
32127499Sgad	state.
33127499Sgad	(TC_SEGMENT_INFO_TYPE): Define to enum mstate.
34127499Sgad	* config/tc-arm.c (enum mstate): Delete from here.
35127499Sgad	(mapping_state): Remove the static mapstate variable and instead
36127499Sgad	store the state in the segment.  This allows a per-section mapping
37127499Sgad	state.  Handle and ignore MAP_UNDEFINED states.
38127499Sgad	(arm_elf_change_section): Get the current mapping state from the
391556Srgrimes	new section.
401556Srgrimes	(s_ltorg): Set the mapping state to MAP_DATA.
411556Srgrimes	(arm_cleanup): Use arm_elf_change_section to get the mapping state
4290143Smarkm	for each pool as it is emitted.
431556Srgrimes
441556Srgrimes	2004-04-22  Nick Clifton  <nickc@redhat.com>
451556Srgrimes	* config/tc-arm.h: Formatting tidy ups.
461556Srgrimes
4790143Smarkm2004-05-07  Alexandre Oliva  <aoliva@redhat.com>
481556Srgrimes
4936049Scharnier	* config/tc-frv.h (MAX_MEM_FOR_RS_ALIGN_CODE): New.
5090143Smarkm	(HANDLE_ALIGN): New.
5136049Scharnier
52110391Scharnier2004-05-05  Alexandre Oliva  <aoliva@redhat.com>
5399110Sobrien
5499110Sobrien	* configure.in: Set em=linux for frv-*-*linux*.
551556Srgrimes	* configure: Rebuilt.
561556Srgrimes	* config/tc-frv.h (TARGET_FORMAT): Use elf32-frvfdpic if...
573296Sdg	(frv_md_fdpic_enabled): New.
581556Srgrimes	* config/tc-frv.c (frv_md_fdpic_enabled): New.
591556Srgrimes	(DEFAULT_FDPIC): New.
601556Srgrimes	(frv_flags): Use DEFAULT_FDPIC.
611556Srgrimes	(frv_pic_flag): Likewise.
621556Srgrimes	(OPTION_NOPIC): New.
631556Srgrimes	(md_longopts): Add -mnopic.
64127149Sgad	(md_parse_option): Handle it.
651556Srgrimes	(md_show_usage): Add -mfdpic and -mnopic.
66127499Sgad
671556Srgrimes2004-04-20  Chris Demetriou  <cgd@broadcom.com>
6813514Smpp
6973367Sache	* NEWS: Note that MIPS -membedded-pic option is deprecated.
701556Srgrimes
7190143Smarkm2004-04-19  Eric Christopher  <echristo@redhat.com>
72127499Sgad
731556Srgrimes	* config/tc-mips.c (mips_dwarf2_addr_size): Revert part
741556Srgrimes	of previous patch for fix in gcc.
751556Srgrimes
761556Srgrimes2004-04-16  Alan Modra  <amodra@bigpond.net.au>
771556Srgrimes
781556Srgrimes	* expr.c (operand): Correct checks for ++ and --.
791556Srgrimes
80127499Sgad2004-04-14  Richard Sandiford  <rsandifo@redhat.com>
81127499Sgad
8266377Sbrian	* doc/c-mips.texi (-m{no-,}fix-vr4120): Renamed from
8390143Smarkm	-{no-}mfix-vr4122-bugs.
8490143Smarkm	* config/tc-mips.c (mips_fix_vr4120): Renamed from mips_fix_4122_bugs.
851556Srgrimes	(append_insn, mips_emit_delays): Update accordingly.
861556Srgrimes	(OPTION_FIX_VR4120, OPTION_NO_FIX_VR4120): Renamed from *VR4122.
8719068Speter	(md_longopts): Change -{no-,}mfix-vr4122-bugs to -m{no-,}fix-vr4120.
88127499Sgad	(md_parse_option): Update after above changes.
891556Srgrimes	(md_show_usage): Add -mfix-vr4120.
901556Srgrimes
911556Srgrimes2004-04-11  Thiemo Seufer  <seufer@csv.ica.uni-stuttgart.de>
921556Srgrimes
931556Srgrimes	* Makefile.am: Remove mips from aout targets.
9497966Sjmallett	* Makefile.in: Regenerate.
9597966Sjmallett	* configure.in: Remove mips-dec-bsd* target.
96127499Sgad	* configure: Regenerate.
97127499Sgad
98127499Sgad2004-04-09  Daniel Jacobowitz  <drow@mvista.com>
99127499Sgad
100127499Sgad	Merge from mainline:
101127499Sgad	2004-04-07  Alan Modra  <amodra@bigpond.net.au>
102127499Sgad	PR 96
103127499Sgad	* config/tc-ppc.c (ppc_elf_suffix): Add valid32 and valid64 fields
104127499Sgad	to struct map_bfd.  Adjust MAP macro, and define MAP32, MAP64.
105127499Sgad	Update "mapping".  Restrict some @ modifiers to 32 bit.
106127499Sgad
107127499Sgad	2004-04-01  Asgari Jinia  <asgarij@kpitcummins.com>
108127499Sgad	Dhananjay Deshpande <dhananjayd@kpitcummins.com>
109127499Sgad
110127499Sgad	* config/tc-sh.c (dont_adjust_reloc_32): New variable.
111127499Sgad	(sh_fix_adjustable): Avoid adjusting BFD_RELOC_32 when
112127499Sgad	dont_adjust_reloc_32 is set.
113127499Sgad	(md_longopts): Add option -renesas.
1141556Srgrimes	(md_parse_option, md_show_usage): Likewise.
115127507Sgad	* doc/c-sh.texi: Likewise.
116127507Sgad
117127507Sgad	2004-04-01  Dave Korn  <dk@artimi.com>
118127507Sgad	* config/tc-dlx.c (md_assemble): set fx_no_overflow flag for
11931552Sdyson	hi16 and lo16 fixS structs.
120127507Sgad	(md_assemble): generate bit_fixS for RELOC_DLX_LO16 in
121127507Sgad	exactly the same way as for RELOC_DLX_REL16.
12231552Sdyson	(machine_ip): properly respect LO flag in the_insn and
1231556Srgrimes	output RELOC_DLX_LO16 rather than RELOC_DLX_16.
12490143Smarkm	(md_apply_fix3): apply RELOC_DLX_LO16.
1251556Srgrimes
12690143Smarkm	2004-03-19  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
12790110Simp	* tc-hppa.c (cons_fix_new_hppa): Check for PC relative base type.
12890110Simp	(pa_comm): Set BSF_OBJECT in symbol flags.
12990110Simp
13090110Simp	2004-03-18  Nathan Sidwell  <nathan@codesourcery.com>
13190110Simp	* read.c (read_a_source_file): Use demand_empty_rest_of_line.
13290110Simp	(demand_empty_rest_of_line): Issue an error here.
13390110Simp	(ignore_rest_of_line): Silently skip to end.
13490110Simp	(demand_copy_string): Issue an error, not warning.
1351556Srgrimes	(equals): Likewise.
136127499Sgad	* config/obj-elf.c (obj_elf_section_name): Likewise.
137127499Sgad	(obj_elf_section): Likewise.
138127499Sgad	* config/tc-arc.c (arc_extoper): Remove bogus NULL checks.
139127499Sgad	(arc_extinst): Likewise.
140127499Sgad	* config/tc-ia64.c (dot_saveb): Use demand_empty_rest_of_line.
141127499Sgad	(dot_spill): Likewise.
142127499Sgad	(dot_unwabi): Likewise.
143127499Sgad	(dot_prologue): Likewise.
144127499Sgad
14597875Sjmallett	2004-03-18  Nathan Sidwell  <nathan@codesourcery.com>
14697875Sjmallett	* expr.c (operand): Reject ++ and --.
14797875Sjmallett	(operator): Likewise.
14890143Smarkm
14997875Sjmallett	2004-03-12  Bob Wilson  <bob.wilson@acm.org>
15097875Sjmallett	* read.c (s_leb128): Call md_flush_pending_output.
15197875Sjmallett
152105831Srwatson	2004-03-07  Andreas Schwab  <schwab@suse.de>
1531556Srgrimes	* doc/c-hppa.texi (HPPA Directives): Fix typo.
15490143Smarkm
1551556Srgrimes	2004-03-07  Richard Henderson  <rth@redhat.com>
156127507Sgad	* dw2gencfi.c (output_cie): Align length to 4 byte boundary.
15798494Ssobomax	(cfi_finish): Likewise for fde.
1581556Srgrimes
15990110Simp	2004-03-05  H.J. Lu  <hongjiu.lu@intel.com>
1601556Srgrimes	* config/tc-ia64.c (md_assemble): Properly handle NULL
161127499Sgad	align_frag.
162127499Sgad	(ia64_handle_align): Don't abort if failed to add a stop bit.
1631556Srgrimes
1641556Srgrimes	2004-03-04  H.J. Lu  <hongjiu.lu@intel.com>
1651556Srgrimes	* Makefile.in: Regenerated.
166127499Sgad	* aclocal.m4: Likewise.
167127499Sgad	* configure: Likewise.
168127499Sgad	* doc/Makefile.in: Likewise.
16997804Stjr
17090143Smarkm	2004-03-03  H.J. Lu  <hongjiu.lu@intel.com>
17198494Ssobomax	* config/tc-ia64.c (dot_align): New.
1721556Srgrimes	(ia64_do_align): Make it static.
17311809Sache	(md_pseudo_table): Use "dot_align" for "align".
17497966Sjmallett	(ia64_md_do_align): Don't set align_frag here.
17597966Sjmallett	(ia64_handle_align): Add a stop bit to the previous bundle if
17611809Sache	needed.
17797804Stjr
17897804Stjr	* config/tc-ia64.h (ia64_do_align): Removed.
17997804Stjr
1801556Srgrimes	2004-03-02  H.J. Lu  <hongjiu.lu@intel.com>
1811556Srgrimes	* config/tc-ia64.c (align_frag): New.
1821556Srgrimes	(md_assemble): Set the tc_frag_data field in align_frag for
1831556Srgrimes	IA64_OPCODE_FIRST instructions.
1841556Srgrimes	(ia64_md_do_align): Set align_frag.
1851556Srgrimes	(ia64_handle_align): Add a stop bit if needed.
1861556Srgrimes
18798494Ssobomax	* config/tc-ia64.h (TC_FRAG_TYPE): New.
18898494Ssobomax	(TC_FRAG_INIT): New.
18998494Ssobomax
19098494Ssobomax	2004-02-27  Nick Clifton  <nickc@redhat.com>
19198494Ssobomax	* config/tc-sh.c (get_operand): Revert previous delta.
19298494Ssobomax	(tc_gen_reloc): Check for an unknown reloc type before processing
19398494Ssobomax	the addend.
19498494Ssobomax
19598494Ssobomax	2004-02-27  Hannes Reinecke  <hare@suse.de>
19698494Ssobomax	* config/tc-s390.c (s390_insn): Correct range check for opcode in
19798494Ssobomax	.insn pseudo operation.
19898494Ssobomax
19998494Ssobomax	2004-02-27  Anil Paranjpe  <anilp1@kpitcummins.com>
20098494Ssobomax	* config/tc-sh.c (get_operand):  In case of #Imm, check has been
20198494Ssobomax	added for wrong syntax.
20298494Ssobomax
20398494Ssobomax	2004-02-26  Andrew Stubbs <andrew.stubbs@superh.com>
20498494Ssobomax	* config/tc-sh.c (build_Mytes): Add REG_N_D and REG_N_B01
20598494Ssobomax	nibble types to assembler.
2061556Srgrimes
207127499Sgad	2004-02-25  Fred Fish  <fnf@redhat.com>
208127499Sgad	* config/tc-iq2000.c: Add missing \n\ in multiline string literal.
209127499Sgad
210127499Sgad	2004-02-20  James E Wilson  <wilson@specifixinc.com>
211127499Sgad	* config/tc-ia64.c (slot_index): New arg before_relax.  Use instead of
212127499Sgad	finalize_syms.
213127499Sgad	(fixup_unw_records): New arg before_relax.  Pass to slot_index.
214127499Sgad	(ia64_estimate_size_before_relax): New.
215127499Sgad	(ia64_convert_frag): Pass 0 to fixup_unw_records.  Add comment.
21637317Sphk	(generate_unwind_image): Pass 1 to fixup_unw_records.
217127499Sgad	* config/tc-ia64.h (ia64_estimate_size_before_relax): Declare.
21889909Sru	(md_estimate_size_before_relax): Call ia64_estimate_size_before_relax.
219116265Sscottl
22098494Ssobomax	2004-02-19  Jakub Jelinek  <jakub@redhat.com>
2211556Srgrimes	* stabs.c (generate_asm_file): Avoid warning about use of
222127499Sgad	uninitialized variable.
223127499Sgad
224127499Sgad	2004-02-18  David Mosberger  <davidm@hpl.hp.com>
225127499Sgad	* config/tc-ia64.c (ia64_flush_insns): In addition to prologue,
226127499Sgad	body, and endp, allow unwind records which do not have a "t"
227127499Sgad	(time/instruction) field.
228127499Sgad
229127499Sgad2004-03-22  Bob Wilson  <bob.wilson@acm.org>
230127499Sgad
2311556Srgrimes	* config/tc-xtensa.c (xtensa_post_relax_hook): Create literal
232127499Sgad	tables even when use_literal_section flag is not set.
2331556Srgrimes
2341556Srgrimes2004-03-22  Hans-Peter Nilsson  <hp@axis.com>
23519068Speter
23619068Speter	* doc/c-cris.texi (CRIS-Opts): Document --no-mul-bug-abort,
23719068Speter	--mul-bug-abort and the default behavior.
23819068Speter	* config/tc-cris.c (cris_insn_kind): New member CRIS_INSN_MUL.
23919068Speter	(err_for_dangerous_mul_placement): New variable.
24019068Speter	(STATE_MUL, OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): New
2411556Srgrimes	macros.
2421556Srgrimes	(md_cris_relax_table): Have placeholder for STATE_MUL.
2431556Srgrimes	(md_longopts): New options --mul-bug-abort and --no-mul-bug-abort.
244127506Sgad	(cris_relax_frag) <case ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: New
245127506Sgad	case doing nothing.
246127506Sgad	(md_estimate_size_before_relax) <case ENCODE_RELAX (STATE_MUL,
247127506Sgad	STATE_BYTE)>: Ditto.
248127506Sgad	(md_convert_frag) <ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: Check
249127506Sgad	alignment and position of this frag, emit error message if
250127499Sgad	suspicious.
251127499Sgad	(md_assemble): For a multiply insn and when checking it,
252127499Sgad	transform the current frag into a special frag for that purpose.
253127499Sgad	(md_parse_option) <case OPTION_MULBUG_ABORT_OFF, case
254127499Sgad	OPTION_MULBUG_ABORT_ON>: Handle new options.
255127499Sgad
256127499Sgad2004-03-19  Bob Wilson  <bob.wilson@acm.org>
257127499Sgad
2581556Srgrimes	* config/tc-xtensa.c (mark_literal_frags): New function.
259127499Sgad	(xtensa_move_literals): Call mark_literal_frags for all literal
260127499Sgad	segments, including init and fini literal segments.
261127499Sgad	(xtensa_post_relax_hook): Swap use of xt_insn_sec and xt_literal_sec.
262127499Sgad
263127499Sgad2004-03-17  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
264127499Sgad
265127499Sgad	* config/tc-sh.c: Include dw2gencfi.h.
2661556Srgrimes	(sh_cfi_frame_initial_instructions): New function.
267127499Sgad	(sh_regname_to_dw2regnum): Likewise.
268116265Sscottl	* config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Move to the end of
269126127Sdeischen	file.
270116265Sscottl	(TARGET_USE_CFIPOP): Define.
2711556Srgrimes	(tc_cfi_frame_initial_instructions): Likewise.
2721556Srgrimes	(tc_regname_to_dw2regnum): Likewise.
2731556Srgrimes	(DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Likewise.
2741556Srgrimes	* Makefile.am: Update dependencies.
275109502Sjmallett	* Makefile.in: Regenerate.
27690143Smarkm
2771556Srgrimes2004-03-17  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2781556Srgrimes
2791556Srgrimes	* configure.in: Switch sh-*-rtems* to ELF.  Add sh-*-rtemscoff*.
2801556Srgrimes	* configure: Regenerate.
2811556Srgrimes
2821556Srgrimes2004-03-12  Bob Wilson  <bob.wilson@acm.org>
283109502Sjmallett
28490143Smarkm	* read.c (s_leb128): Call md_flush_pending_output.
2851556Srgrimes
2861556Srgrimes2004-03-12  Michal Ludvig  <mludvig@suse.cz>
2871556Srgrimes
2881556Srgrimes	* config/tc-i386.c (output_insn): Handle PadLock instructions.
28937317Sphk	* config/tc-i386.h (CpuPadLock): New define.
2901556Srgrimes	(CpuUnknownFlags): Added CpuPadLock.
2911556Srgrimes
2921556Srgrimes2004-02-26  Eric Christopher  <echristo@redhat.com>
2931556Srgrimes
2941556Srgrimes	* config/tc-mips.c (mips_dwarf2_addr_size): New.
2951556Srgrimes	* config/tc-mips.h (DWARF2_ADDR_SIZE): Use.
29637317Sphk
2971556Srgrimes2004-02-17  Petko Manolov  <petkan@nucleusys.com>
2981556Srgrimes
299109502Sjmallett	* config/tc-arm.c (do_mav_dspsc_1): Correct offset of CRn.
300109502Sjmallett	(do_mav_dspsc_2): Likewise.
301109502Sjmallett	Fix accumulator registers move opcodes.
3021556Srgrimes
30390143Smarkm2004-02-13  Hannes Reinecke  <hare@suse.de>
3041556Srgrimes            Jakub Jelinek  <jakub@redhat.com>
3051556Srgrimes
306109502Sjmallett	* dwarf2dbg.c (get_filenum): Do not read beyond allocated memory.
30790143Smarkm
3081556Srgrimes2004-02-10  Steve Ellcey  <sje@cup.hp.com>
3091556Srgrimes
310127499Sgad	* config/tc-ia64.h (ia64_frob_symbol): New declaration.
311127499Sgad	(tc_frob_symbol): New macro definition.
312127499Sgad	* config/tc-ia64.c (ia64_frob_symbol): New routine.
313127499Sgad
314127499Sgad2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
315127499Sgad
316127499Sgad	* config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as
317127499Sgad	read-only.
3181556Srgrimes
319127499Sgad2004-02-09  Nathan Sidwell  <nathan@codesourcery.com>
320127499Sgad
321127499Sgad	* read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ...
322127499Sgad	(TC_CASE_SENSITIVE): ... this.
323127499Sgad	* read.c: Replace IGNORE_OPCODE_CASE with TC_CASE_SENSITIVE.
324127499Sgad	* doc/internals.texi (TC_CASE_SENSITIVE): Document.
325127499Sgad
326127499Sgad2004-02-06  James E Wilson  <wilson@specifixinc.com>
327127499Sgad
3281556Srgrimes	* config/tc-ia64.c (dot_endp): Delete call to output_endp.
3291556Srgrimes	(generate_unwind_image): Re-add it here.
3301556Srgrimes
3311556Srgrimes2004-02-06  Nathan Sidwell  <nathan@codesourcery.com>
3321556Srgrimes
3331556Srgrimes	* dwarf2dbg.c (DWARF2_ADDR_SIZE): Remove trailing ';'
334127499Sgad	* read.h (SKIP_WHITESPACE): Turn into an expression.
335127499Sgad	* read.c (read_a_source_file): A pseudo is removed by having a
336127499Sgad	NULL handler.
337127499Sgad
338127499Sgad2004-02-05  James E Wilson  <wilson@specifixinc.com>
339127499Sgad
340127499Sgad	* config/tc-ia64.c (output_endp): New.
341127499Sgad	(count_bits): Delete.
342127499Sgad	(ia64_flush_insns, process_one_record, optimize_unw_records): Handle
343127499Sgad	endp unwind records.
3441556Srgrimes	(fixup_unw_records): Handle endp unwind records.  Delete code for
3451556Srgrimes	shortening prologue regions not followed by a body record.
3461556Srgrimes	(dot_endp): Call add_unwind_entry to emit endp unwind record.
3471556Srgrimes	* config/tc-ia64.h (unw_record_type): Add endp.
348127499Sgad
349127499Sgad2004-02-03  James E Wilson  <wilson@specifixinc.com>
350127499Sgad
351127499Sgad	* config/tc-ia64.c (ia64_convert_frag): Call md_number_to_chars to
3521556Srgrimes	fill padding bytes with zeroes.
35313020Speter	(emit_one_bundle): New locals last_ptr, end_ptr.  Rewrite code that
354127499Sgad	sets unwind_record slot_number and slot_frag fields.
355127499Sgad
356127499Sgad2004-02-02  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
357127499Sgad
35813020Speter	* config/tc-mips.c (add_got_offset_hilo): New function.
3591556Srgrimes	(macro): Use load_register() and add_got_offset_hilo() to load
360109502Sjmallett	constants instead of hardcoding code sequences throughout.
3611556Srgrimes
36290143Smarkm2004-01-28  H.J. Lu  <hongjiu.lu@intel.com>
3631556Srgrimes
3641556Srgrimes	* config/tc-ia64.c (emit_one_bundle): Add proper indentation.
3651556Srgrimes
366109502Sjmallett2004-01-26  Bernardo Innocenti  <bernie@develer.com>
3671556Srgrimes
36890143Smarkm	* config/tc-m68k.h (EXTERN_FORCE_RELOC): Handle m68k-uclinux specially,
3691556Srgrimes	like m68k-elf.
3701556Srgrimes	* config/tc-m68k.c (RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead
3711556Srgrimes	of hard-coded test for TARGET_OS=elf.
3721556Srgrimes
3731556Srgrimes2004-01-24  Chris Demetriou  <cgd@broadcom.com>
3741556Srgrimes
3751556Srgrimes	* config/tc-mips.c (hilo_interlocks): Change definition
3761556Srgrimes	so that MIPS32, MIPS64 and later ISAs are included, along with
3771556Srgrimes	the already-included machines.  Update comments.
378127499Sgad
379127499Sgad2004-01-23  Daniel Jacobowitz  <drow@mvista.com>
380127499Sgad
381127499Sgad	* config/tc-arm.c (tc_gen_reloc): Improve error message for
382127499Sgad	undefined local labels.
383127499Sgad
384127499Sgad2004-01-23  Richard Sandiford  <rsandifo@redhat.com>
385127499Sgad
386127499Sgad	* config/tc-mips.c (load_address, macro): Update comments about
387127499Sgad	NewABI GP relaxation.
388127499Sgad
389127499Sgad2004-01-23  Richard Sandiford  <rsandifo@redhat.com>
390127499Sgad
391127499Sgad	* config/tc-mips.c (macro_build): Remove place and counter arguments.
3921556Srgrimes	(mips_build_lui, macro_build_ldst_constoffset): Likewise.
393127499Sgad	(mips16_macro_build, macro_build_jalr): Remove counter argument.
3941556Srgrimes	(set_at, load_register, load_address, move_register): Likewise.
39586922Sgreen	(load_got_offset, add_got_offset): Likewise.
396109502Sjmallett	Update all calls and tidy accordingly.
39786922Sgreen
39886922Sgreen2004-01-23  Richard Sandiford  <rsandifo@redhat.com>
3991556Srgrimes
4001556Srgrimes	* config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.
4011556Srgrimes	(RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities.
4021556Srgrimes	(RELAX_USE_SECOND): Bump to 0x10000.
4031556Srgrimes	(RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags.
4041556Srgrimes	(mips_macro_warning): New variable.
4051556Srgrimes	(md_assemble): Wrap macro expansion in macro_start() and macro_end().
406127499Sgad	(s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise.
407127499Sgad	(relax_close_frag): Set mips_macro_warning.first_frag.  Adjust use
408127499Sgad	of RELAX_ENCODE.
409127499Sgad	(append_insn): Update mips_macro_warning.sizes.
410127499Sgad	(macro_start, macro_warning, macro_end): New functions.
411127499Sgad	(macro_build): Don't emit warnings here.
4121556Srgrimes	(macro_build_lui, md_estimate_size_before_relax): ...or here.
4131556Srgrimes	(md_convert_frag): Check for cases where one macro alternative
4141556Srgrimes	needs a warning and the other doesn't.  Emit a warning if the
4151556Srgrimes	longer sequence was chosen.
4161556Srgrimes
4171556Srgrimes2004-01-23  Richard Sandiford  <rsandifo@redhat.com>
4181556Srgrimes
4191556Srgrimes	* config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
4201556Srgrimes	* config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of
4211556Srgrimes	the first sequence, the size of the second sequence, and a flag
4221556Srgrimes	that says whether we should warn.
4231556Srgrimes	(RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete.
4241556Srgrimes	(RELAX_FIRST, RELAX_SECOND): New.
42537317Sphk	(mips_relax): New variable.
4261556Srgrimes	(relax_close_frag, relax_start, relax_switch, relax_end): New fns.
42737317Sphk	(append_insn): Remove "place" argument.  Use mips_relax.sequence
42837317Sphk	rather than "place" to check whether we're expanding the second
4291556Srgrimes	alternative of a relaxable macro.  Remove redundant check for
43089909Sru	branch relaxation.  If generating a normal insn, and there
4311556Srgrimes	is not enough room in the current frag, call relax_close_frag()
4321556Srgrimes	to close it.  Update mips_relax.sizes[].  Emit fixups for the
4331556Srgrimes	second version of a relaxable macro.  Record the first relaxable
43490143Smarkm	fixup in mips_relax.  Remove tc_gen_reloc workaround.
435109502Sjmallett	(macro_build): Remove all uses of "place".  Use mips_relax.sequence
4361556Srgrimes	in the same way as in append_insn.
437127499Sgad	(mips16_macro_build): Remove "place" argument.
438127499Sgad	(macro_build_lui): As for macro_build.  Don't drop the add_symbol
439127499Sgad	when generating the second version of a relaxable macro.
44097877Sjmallett	(load_got_offset, add_got_offset): New functions.
441127499Sgad	(load_address, macro): Use new relaxation machinery.  Remove
442127499Sgad	tc_gen_reloc workarounds.
443127499Sgad	(md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second
44466377Sbrian	version of a relaxable macro is needed.  Return -RELAX_SECOND if the
4451556Srgrimes	first version is needed.
4461556Srgrimes	(tc_gen_reloc): Remove relaxation handling.
4471556Srgrimes	(md_convert_frag): Go through the fixups for a relaxable macro and
44853170Skris	mark those that belong to the unneeded alternative as done.  If the
4491556Srgrimes	second alternative is needed, adjust the fixup addresses to account
4501556Srgrimes	for the deleted first alternative.
451127499Sgad
4521556Srgrimes2004-01-23  Richard Sandiford  <rsandifo@redhat.com>
453127499Sgad
454127499Sgad	* frags.h (frag_room): Declare.
455127499Sgad	* frags.c (frag_room): New function.
456127499Sgad	* doc/internals.texi: Document it.
457127499Sgad
4581556Srgrimes2004-01-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
459127499Sgad
460127499Sgad	* config/tc-mips.c (append_insn): Don't do r3900 interlock
461127499Sgad	optimization for -mtune=r3900, as this will break on other CPUs.
462127499Sgad
463127499Sgad2004-01-11  Tom Rix   <tcrix@worldnet.att.net>
464127499Sgad
465127499Sgad	* config/tc-m68hc11.c (build_indexed_byte): movb and movw cannot
466127499Sgad	be relaxed, use fixup.
467127499Sgad	(md_apply_fix3): Use 5 bit reloc from movb and movw fixup.
468127499Sgad
469127499Sgad2004-01-19  Jakub Jelinek  <jakub@redhat.com>
470127499Sgad
471127499Sgad	* config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single
472127499Sgad	precision operands.
473127499Sgad
474127499Sgad2004-01-14  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
475127499Sgad
476127499Sgad	* config/tc-mips.c (append_insn): Properly detect variant frags
477127499Sgad	that preclude swapping of relaxed branches.  Correctly swap
478127499Sgad	instructions between frags when dealing with relaxed branches.
479127499Sgad
480127499Sgad2004-01-14  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
481127499Sgad
482127499Sgad	* acinclude.m4: Quote names of macros to be defined by AC_DEFUN
483127499Sgad	throughout.
484127499Sgad	* aclocal.m4: Regenerate.
485127499Sgad	* configure: Regenerate.
486127499Sgad
487127499Sgad2004-01-12  Anil Paranjpe  <anilp1@KPITCummins.com>
488127499Sgad
489127499Sgad	* config/tc-h8300.c (build_bytes): Apply relaxation to bit
490127499Sgad	manipulation insns.
491127499Sgad
492127499Sgad2004-01-12  Richard Sandiford  <rsandifo@redhat.com>
4931556Srgrimes
494126127Sdeischen	* config/tc-mips.c (macro_build_jalr): When adding an R_MIPS_JALR
4951556Srgrimes	reloc, reserve space for the delay slot as well as the jalr itself.
4961556Srgrimes
4971556Srgrimes2004-01-09  Paul Brook  <paul@codesourcery.com>
498127499Sgad
499127149Sgad	* config/tc-arm.c (do_vfp_reg2_from_sp2): Rename from do_vfp_sp_reg2.
500127149Sgad	(do_vfp_sp2_from_reg2): New function.
5011556Srgrimes	(insns): Use them.
502127499Sgad	(do_vfp_dp_from_reg2): Check return values properly.
503127149Sgad
504127149Sgad2004-01-08  Ian Lance Taylor  <ian@wasabisystems.com>
505127149Sgad
506127149Sgad	* config/tc-mips.c (warn_nops): Remove static variable.
507127499Sgad	(macro): Remove test of warn_nops.
508127499Sgad	(md_shortops): Remove 'n'.
509127499Sgad	(md_parse_option): Remove 'n' case.
510127499Sgad	(md_show_usage): Remove -n.
511127499Sgad	* doc/as.texinfo (Overview): Remove MIPS -n option.
512127499Sgad	* doc/c-mips.texi (MIPS Opts): Remove mention -n.
513127499Sgad	* NEWS: Mention removal of MIPS -n option.
514127499Sgad
515127499Sgad	* config/tc-mips.c (ISA_HAS_COPROC_DELAYS): Remove.
516127499Sgad	(cop_interlocks): Check ISA level.
517127499Sgad	(cop_mem_interlocks): Define.
518127499Sgad	(reg_needs_delay): Check cop_interlocks rather than
519127499Sgad	ISA_HAS_COPROC_DELAYS.
520127499Sgad	(append_insn): Likewise.  Use cop_mem_interlocks rather than
521127499Sgad	directly checking mips_opts.isa.
522127499Sgad	(mips_emit_delays): Likewise.
523127499Sgad
524127499Sgad2004-01-07  H.J. Lu  <hongjiu.lu@intel.com>
525127499Sgad
526127499Sgad	* config/tc-ia64.c (unwind): Move next_slot_number and
527127499Sgad	next_slot_frag to ...
528127499Sgad	(unw_rec_list): Here.
529127499Sgad	(free_list_records): Removed.
530127499Sgad	(output_unw_records): Likewise.
531127499Sgad	(generate_unwind_image): Make it void.
532127499Sgad	(alloc_record): Initialize next_slot_number and next_slot_frag.
533127499Sgad	(slot_index): Take .org, .space and .align into account.
534127499Sgad	(fixup_unw_records): Don't set slot_number to 0. Use
535127499Sgad	list->next_slot_number and list->next_slot_frag instead of
536127499Sgad	unwind.next_slot_number and unwind.next_slot_frag.
537127499Sgad	(ia64_convert_frag): New.
538127499Sgad	(generate_unwind_image): Generate a rs_machine_dependent frag
539127499Sgad	for unwind record.
540127499Sgad	(emit_one_bundle): Use list->next_slot_number and
541127499Sgad	list->next_slot_frag instead of unwind.next_slot_number and
542127499Sgad	unwind.next_slot_frag.
543127499Sgad
544127499Sgad	* config/tc-ia64.h (md_convert_frag): Defined as
545127499Sgad	ia64_convert_frag.
546127499Sgad	(md_estimate_size_before_relax): Defined as (f)->fr_var.
547127499Sgad
548127499Sgad2004-01-06  Alexandre Oliva  <aoliva@redhat.com>
549127499Sgad
550127499Sgad	2003-12-19  Alexandre Oliva  <aoliva@redhat.com>
551127499Sgad	* config/tc-frv.h (md_apply_fix3): Don't define.
552127499Sgad	* config/tc-frv.c (md_apply_fix3): New.  Shift/truncate %hi/%lo
553127499Sgad	operands.
554127499Sgad	* config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
555127499Sgad	2003-10-07  Alexandre Oliva  <aoliva@redhat.com>
556127499Sgad	* config/tc-frv.c (line_separator_chars): Add `!'.
557127499Sgad	2003-09-19  Alexandre Oliva  <aoliva@redhat.com>
558127499Sgad	* config/tc-frv.c (md_assemble): Clear insn upfront.
559127499Sgad	2003-09-18  Alexandre Oliva  <aoliva@redhat.com>
560127499Sgad	* config/tc-frv.c (OPTION_FDPIC): New macro.
561127499Sgad	(md_longopts): Add mfdpic.
562127499Sgad	(md_parse_option): Handle it.
563127499Sgad	2003-08-04  Alexandre Oliva  <aoliva@redhat.com>
564127499Sgad	* config/tc-frv.c (md_cgen_lookup_reloc) <FRV_OPERAND_D12,
565127499Sgad	FRV_OPERAND_S12>: Use reloc type encoded in fix-up.
566127499Sgad	(frv_pic_ptr): Parse funcdesc.
567127149Sgad
568127499Sgad2004-01-05  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
569127499Sgad
570127499Sgad	* doc/as.texinfo: Let texi2pod parse asconfig.texi and
571127149Sgad	gasver.texi.  Remove duplicate symbol definitions for texi2pod.
5721556Srgrimes
57325271Sjkh2004-01-05  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
57425271Sjkh
57525271Sjkh	* Makefile.am (Makefile): Move the dependency on
5761556Srgrimes	$(BFDDIR)/configure.in to...
5771556Srgrimes	(CONFIG_STATUS_DEPENDENCIES): ... here.
5781556Srgrimes	(AUTOMAKE_OPTIONS): Require automake 1.8.
5791556Srgrimes	* Makefile.in: Regenerate.
580127499Sgad	* doc/Makefile.am (BASEDIR, BFDDIR): Define.
58162803Swill	(CONFIG_STATUS_DEPENDENCIES): Add a dependency on
582127499Sgad	$(BFDDIR)/configure.in here as well.
5831556Srgrimes	* doc/Makefile.in: Regenerate.
5841556Srgrimes
5851556Srgrimes2004-01-05  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
586127499Sgad
5871556Srgrimes	* Makefile.am (install, install-info, RECURSIVE_TARGETS): Remove.
588127499Sgad	* Makefile.in: Regenerate.
5891556Srgrimes	* aclocal.m4: Regenerate.
590127499Sgad	* doc/Makefile.am (install, install-info): Remove.
5911556Srgrimes	(install-data-local): A new hook for install-info.
5921556Srgrimes	(AUTOMAKE_OPTIONS): Require automake 1.8.
5931556Srgrimes	* doc/Makefile.in: Regenerate.
5941556Srgrimes
5951556Srgrimes2004-01-02  Nutan Singh <nutan@kpitcummins.com>
5961556Srgrimes
5971556Srgrimes	* doc/c-sh.texi: Update description about floating point behavior
5981556Srgrimes	of SH family.
5991556Srgrimes
6001556Srgrimes2004-01-02  Bernardo Innocenti  <bernie@develer.com>
6011556Srgrimes
6021556Srgrimes	* configure.in: Add m68k-uClinux target.
603127499Sgad	* configure: Regenerate.
604127499Sgad
605127499SgadFor older changes see ChangeLog-0203
606127499Sgad
607127499SgadLocal Variables:
608127499Sgadmode: change-log
609127499Sgadleft-margin: 8
61066377Sbrianfill-column: 74
6111556Srgrimesversion-control: never
6121556SrgrimesEnd:
6131556Srgrimes