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