1 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
3 * config/tc-mips.c (load_address, macro): Update comments about
6 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
8 * config/tc-mips.c (macro_build): Remove place and counter arguments.
9 (mips_build_lui, macro_build_ldst_constoffset): Likewise.
10 (mips16_macro_build, macro_build_jalr): Remove counter argument.
11 (set_at, load_register, load_address, move_register): Likewise.
12 (load_got_offset, add_got_offset): Likewise.
13 Update all calls and tidy accordingly.
15 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
17 * config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.
18 (RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities.
19 (RELAX_USE_SECOND): Bump to 0x10000.
20 (RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags.
21 (mips_macro_warning): New variable.
22 (md_assemble): Wrap macro expansion in macro_start() and macro_end().
23 (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise.
24 (relax_close_frag): Set mips_macro_warning.first_frag. Adjust use
26 (append_insn): Update mips_macro_warning.sizes.
27 (macro_start, macro_warning, macro_end): New functions.
28 (macro_build): Don't emit warnings here.
29 (macro_build_lui, md_estimate_size_before_relax): ...or here.
30 (md_convert_frag): Check for cases where one macro alternative
31 needs a warning and the other doesn't. Emit a warning if the
32 longer sequence was chosen.
34 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
36 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
37 * config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of
38 the first sequence, the size of the second sequence, and a flag
39 that says whether we should warn.
40 (RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete.
41 (RELAX_FIRST, RELAX_SECOND): New.
42 (mips_relax): New variable.
43 (relax_close_frag, relax_start, relax_switch, relax_end): New fns.
44 (append_insn): Remove "place" argument. Use mips_relax.sequence
45 rather than "place" to check whether we're expanding the second
46 alternative of a relaxable macro. Remove redundant check for
47 branch relaxation. If generating a normal insn, and there
48 is not enough room in the current frag, call relax_close_frag()
49 to close it. Update mips_relax.sizes[]. Emit fixups for the
50 second version of a relaxable macro. Record the first relaxable
51 fixup in mips_relax. Remove tc_gen_reloc workaround.
52 (macro_build): Remove all uses of "place". Use mips_relax.sequence
53 in the same way as in append_insn.
54 (mips16_macro_build): Remove "place" argument.
55 (macro_build_lui): As for macro_build. Don't drop the add_symbol
56 when generating the second version of a relaxable macro.
57 (load_got_offset, add_got_offset): New functions.
58 (load_address, macro): Use new relaxation machinery. Remove
59 tc_gen_reloc workarounds.
60 (md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second
61 version of a relaxable macro is needed. Return -RELAX_SECOND if the
62 first version is needed.
63 (tc_gen_reloc): Remove relaxation handling.
64 (md_convert_frag): Go through the fixups for a relaxable macro and
65 mark those that belong to the unneeded alternative as done. If the
66 second alternative is needed, adjust the fixup addresses to account
67 for the deleted first alternative.
69 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
71 * frags.h (frag_room): Declare.
72 * frags.c (frag_room): New function.
73 * doc/internals.texi: Document it.
75 2004-01-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
77 * config/tc-mips.c (append_insn): Don't do r3900 interlock
78 optimization for -mtune=r3900, as this will break on other CPUs.
80 2004-01-11 Tom Rix <tcrix@worldnet.att.net>
82 * config/tc-m68hc11.c (build_indexed_byte): movb and movw cannot
83 be relaxed, use fixup.
84 (md_apply_fix3): Use 5 bit reloc from movb and movw fixup.
86 2004-01-19 Jakub Jelinek <jakub@redhat.com>
88 * config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single
91 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
93 * config/tc-mips.c (append_insn): Properly detect variant frags
94 that preclude swapping of relaxed branches. Correctly swap
95 instructions between frags when dealing with relaxed branches.
97 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
99 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
101 * aclocal.m4: Regenerate.
102 * configure: Regenerate.
104 2004-01-12 Anil Paranjpe <anilp1@KPITCummins.com>
106 * config/tc-h8300.c (build_bytes): Apply relaxation to bit
109 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
111 * config/tc-mips.c (macro_build_jalr): When adding an R_MIPS_JALR
112 reloc, reserve space for the delay slot as well as the jalr itself.
114 2004-01-09 Paul Brook <paul@codesourcery.com>
116 * config/tc-arm.c (do_vfp_reg2_from_sp2): Rename from do_vfp_sp_reg2.
117 (do_vfp_sp2_from_reg2): New function.
119 (do_vfp_dp_from_reg2): Check return values properly.
121 2004-01-08 Ian Lance Taylor <ian@wasabisystems.com>
123 * config/tc-mips.c (warn_nops): Remove static variable.
124 (macro): Remove test of warn_nops.
125 (md_shortops): Remove 'n'.
126 (md_parse_option): Remove 'n' case.
127 (md_show_usage): Remove -n.
128 * doc/as.texinfo (Overview): Remove MIPS -n option.
129 * doc/c-mips.texi (MIPS Opts): Remove mention -n.
130 * NEWS: Mention removal of MIPS -n option.
132 * config/tc-mips.c (ISA_HAS_COPROC_DELAYS): Remove.
133 (cop_interlocks): Check ISA level.
134 (cop_mem_interlocks): Define.
135 (reg_needs_delay): Check cop_interlocks rather than
136 ISA_HAS_COPROC_DELAYS.
137 (append_insn): Likewise. Use cop_mem_interlocks rather than
138 directly checking mips_opts.isa.
139 (mips_emit_delays): Likewise.
141 2004-01-07 H.J. Lu <hongjiu.lu@intel.com>
143 * config/tc-ia64.c (unwind): Move next_slot_number and
144 next_slot_frag to ...
145 (unw_rec_list): Here.
146 (free_list_records): Removed.
147 (output_unw_records): Likewise.
148 (generate_unwind_image): Make it void.
149 (alloc_record): Initialize next_slot_number and next_slot_frag.
150 (slot_index): Take .org, .space and .align into account.
151 (fixup_unw_records): Don't set slot_number to 0. Use
152 list->next_slot_number and list->next_slot_frag instead of
153 unwind.next_slot_number and unwind.next_slot_frag.
154 (ia64_convert_frag): New.
155 (generate_unwind_image): Generate a rs_machine_dependent frag
157 (emit_one_bundle): Use list->next_slot_number and
158 list->next_slot_frag instead of unwind.next_slot_number and
159 unwind.next_slot_frag.
161 * config/tc-ia64.h (md_convert_frag): Defined as
163 (md_estimate_size_before_relax): Defined as (f)->fr_var.
165 2004-01-06 Alexandre Oliva <aoliva@redhat.com>
167 2003-12-19 Alexandre Oliva <aoliva@redhat.com>
168 * config/tc-frv.h (md_apply_fix3): Don't define.
169 * config/tc-frv.c (md_apply_fix3): New. Shift/truncate %hi/%lo
171 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
172 2003-10-07 Alexandre Oliva <aoliva@redhat.com>
173 * config/tc-frv.c (line_separator_chars): Add `!'.
174 2003-09-19 Alexandre Oliva <aoliva@redhat.com>
175 * config/tc-frv.c (md_assemble): Clear insn upfront.
176 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
177 * config/tc-frv.c (OPTION_FDPIC): New macro.
178 (md_longopts): Add mfdpic.
179 (md_parse_option): Handle it.
180 2003-08-04 Alexandre Oliva <aoliva@redhat.com>
181 * config/tc-frv.c (md_cgen_lookup_reloc) <FRV_OPERAND_D12,
182 FRV_OPERAND_S12>: Use reloc type encoded in fix-up.
183 (frv_pic_ptr): Parse funcdesc.
185 2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
187 * doc/as.texinfo: Let texi2pod parse asconfig.texi and
188 gasver.texi. Remove duplicate symbol definitions for texi2pod.
190 2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
192 * Makefile.am (Makefile): Move the dependency on
193 $(BFDDIR)/configure.in to...
194 (CONFIG_STATUS_DEPENDENCIES): ... here.
195 (AUTOMAKE_OPTIONS): Require automake 1.8.
196 * Makefile.in: Regenerate.
197 * doc/Makefile.am (BASEDIR, BFDDIR): Define.
198 (CONFIG_STATUS_DEPENDENCIES): Add a dependency on
199 $(BFDDIR)/configure.in here as well.
200 * doc/Makefile.in: Regenerate.
202 2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
204 * Makefile.am (install, install-info, RECURSIVE_TARGETS): Remove.
205 * Makefile.in: Regenerate.
206 * aclocal.m4: Regenerate.
207 * doc/Makefile.am (install, install-info): Remove.
208 (install-data-local): A new hook for install-info.
209 (AUTOMAKE_OPTIONS): Require automake 1.8.
210 * doc/Makefile.in: Regenerate.
212 2004-01-02 Nutan Singh <nutan@kpitcummins.com>
214 * doc/c-sh.texi: Update description about floating point behavior
217 2004-01-02 Bernardo Innocenti <bernie@develer.com>
219 * configure.in: Add m68k-uClinux target.
220 * configure: Regenerate.
222 For older changes see ChangeLog-0203
228 version-control: never