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