1 2004-02-06 Nathan Sidwell <nathan@codesourcery.com>
3 * dwarf2dbg.c (DWARF2_ADDR_SIZE): Remove trailing ';'
4 * read.h (SKIP_WHITESPACE): Turn into an expression.
5 * read.c (read_a_source_file): A pseudo is removed by having a
8 2004-02-05 James E Wilson <wilson@specifixinc.com>
10 * config/tc-ia64.c (output_endp): New.
12 (ia64_flush_insns, process_one_record, optimize_unw_records): Handle
14 (fixup_unw_records): Handle endp unwind records. Delete code for
15 shortening prologue regions not followed by a body record.
16 (dot_endp): Call add_unwind_entry to emit endp unwind record.
17 * config/tc-ia64.h (unw_record_type): Add endp.
19 2004-02-03 James E Wilson <wilson@specifixinc.com>
21 * config/tc-ia64.c (ia64_convert_frag): Call md_number_to_chars to
22 fill padding bytes with zeroes.
23 (emit_one_bundle): New locals last_ptr, end_ptr. Rewrite code that
24 sets unwind_record slot_number and slot_frag fields.
26 2004-02-02 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
28 * config/tc-mips.c (add_got_offset_hilo): New function.
29 (macro): Use load_register() and add_got_offset_hilo() to load
30 constants instead of hardcoding code sequences throughout.
32 2004-01-28 H.J. Lu <hongjiu.lu@intel.com>
34 * config/tc-ia64.c (emit_one_bundle): Add proper indentation.
36 2004-01-26 Bernardo Innocenti <bernie@develer.com>
38 * config/tc-m68k.h (EXTERN_FORCE_RELOC): Handle m68k-uclinux specially,
40 * config/tc-m68k.c (RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead
41 of hard-coded test for TARGET_OS=elf.
43 2004-01-24 Chris Demetriou <cgd@broadcom.com>
45 * config/tc-mips.c (hilo_interlocks): Change definition
46 so that MIPS32, MIPS64 and later ISAs are included, along with
47 the already-included machines. Update comments.
49 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
51 * config/tc-arm.c (tc_gen_reloc): Improve error message for
52 undefined local labels.
54 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
56 * config/tc-mips.c (load_address, macro): Update comments about
59 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
61 * config/tc-mips.c (macro_build): Remove place and counter arguments.
62 (mips_build_lui, macro_build_ldst_constoffset): Likewise.
63 (mips16_macro_build, macro_build_jalr): Remove counter argument.
64 (set_at, load_register, load_address, move_register): Likewise.
65 (load_got_offset, add_got_offset): Likewise.
66 Update all calls and tidy accordingly.
68 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
70 * config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.
71 (RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities.
72 (RELAX_USE_SECOND): Bump to 0x10000.
73 (RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags.
74 (mips_macro_warning): New variable.
75 (md_assemble): Wrap macro expansion in macro_start() and macro_end().
76 (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise.
77 (relax_close_frag): Set mips_macro_warning.first_frag. Adjust use
79 (append_insn): Update mips_macro_warning.sizes.
80 (macro_start, macro_warning, macro_end): New functions.
81 (macro_build): Don't emit warnings here.
82 (macro_build_lui, md_estimate_size_before_relax): ...or here.
83 (md_convert_frag): Check for cases where one macro alternative
84 needs a warning and the other doesn't. Emit a warning if the
85 longer sequence was chosen.
87 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
89 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
90 * config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of
91 the first sequence, the size of the second sequence, and a flag
92 that says whether we should warn.
93 (RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete.
94 (RELAX_FIRST, RELAX_SECOND): New.
95 (mips_relax): New variable.
96 (relax_close_frag, relax_start, relax_switch, relax_end): New fns.
97 (append_insn): Remove "place" argument. Use mips_relax.sequence
98 rather than "place" to check whether we're expanding the second
99 alternative of a relaxable macro. Remove redundant check for
100 branch relaxation. If generating a normal insn, and there
101 is not enough room in the current frag, call relax_close_frag()
102 to close it. Update mips_relax.sizes[]. Emit fixups for the
103 second version of a relaxable macro. Record the first relaxable
104 fixup in mips_relax. Remove tc_gen_reloc workaround.
105 (macro_build): Remove all uses of "place". Use mips_relax.sequence
106 in the same way as in append_insn.
107 (mips16_macro_build): Remove "place" argument.
108 (macro_build_lui): As for macro_build. Don't drop the add_symbol
109 when generating the second version of a relaxable macro.
110 (load_got_offset, add_got_offset): New functions.
111 (load_address, macro): Use new relaxation machinery. Remove
112 tc_gen_reloc workarounds.
113 (md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second
114 version of a relaxable macro is needed. Return -RELAX_SECOND if the
115 first version is needed.
116 (tc_gen_reloc): Remove relaxation handling.
117 (md_convert_frag): Go through the fixups for a relaxable macro and
118 mark those that belong to the unneeded alternative as done. If the
119 second alternative is needed, adjust the fixup addresses to account
120 for the deleted first alternative.
122 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
124 * frags.h (frag_room): Declare.
125 * frags.c (frag_room): New function.
126 * doc/internals.texi: Document it.
128 2004-01-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
130 * config/tc-mips.c (append_insn): Don't do r3900 interlock
131 optimization for -mtune=r3900, as this will break on other CPUs.
133 2004-01-11 Tom Rix <tcrix@worldnet.att.net>
135 * config/tc-m68hc11.c (build_indexed_byte): movb and movw cannot
136 be relaxed, use fixup.
137 (md_apply_fix3): Use 5 bit reloc from movb and movw fixup.
139 2004-01-19 Jakub Jelinek <jakub@redhat.com>
141 * config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single
144 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
146 * config/tc-mips.c (append_insn): Properly detect variant frags
147 that preclude swapping of relaxed branches. Correctly swap
148 instructions between frags when dealing with relaxed branches.
150 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
152 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
154 * aclocal.m4: Regenerate.
155 * configure: Regenerate.
157 2004-01-12 Anil Paranjpe <anilp1@KPITCummins.com>
159 * config/tc-h8300.c (build_bytes): Apply relaxation to bit
162 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
164 * config/tc-mips.c (macro_build_jalr): When adding an R_MIPS_JALR
165 reloc, reserve space for the delay slot as well as the jalr itself.
167 2004-01-09 Paul Brook <paul@codesourcery.com>
169 * config/tc-arm.c (do_vfp_reg2_from_sp2): Rename from do_vfp_sp_reg2.
170 (do_vfp_sp2_from_reg2): New function.
172 (do_vfp_dp_from_reg2): Check return values properly.
174 2004-01-08 Ian Lance Taylor <ian@wasabisystems.com>
176 * config/tc-mips.c (warn_nops): Remove static variable.
177 (macro): Remove test of warn_nops.
178 (md_shortops): Remove 'n'.
179 (md_parse_option): Remove 'n' case.
180 (md_show_usage): Remove -n.
181 * doc/as.texinfo (Overview): Remove MIPS -n option.
182 * doc/c-mips.texi (MIPS Opts): Remove mention -n.
183 * NEWS: Mention removal of MIPS -n option.
185 * config/tc-mips.c (ISA_HAS_COPROC_DELAYS): Remove.
186 (cop_interlocks): Check ISA level.
187 (cop_mem_interlocks): Define.
188 (reg_needs_delay): Check cop_interlocks rather than
189 ISA_HAS_COPROC_DELAYS.
190 (append_insn): Likewise. Use cop_mem_interlocks rather than
191 directly checking mips_opts.isa.
192 (mips_emit_delays): Likewise.
194 2004-01-07 H.J. Lu <hongjiu.lu@intel.com>
196 * config/tc-ia64.c (unwind): Move next_slot_number and
197 next_slot_frag to ...
198 (unw_rec_list): Here.
199 (free_list_records): Removed.
200 (output_unw_records): Likewise.
201 (generate_unwind_image): Make it void.
202 (alloc_record): Initialize next_slot_number and next_slot_frag.
203 (slot_index): Take .org, .space and .align into account.
204 (fixup_unw_records): Don't set slot_number to 0. Use
205 list->next_slot_number and list->next_slot_frag instead of
206 unwind.next_slot_number and unwind.next_slot_frag.
207 (ia64_convert_frag): New.
208 (generate_unwind_image): Generate a rs_machine_dependent frag
210 (emit_one_bundle): Use list->next_slot_number and
211 list->next_slot_frag instead of unwind.next_slot_number and
212 unwind.next_slot_frag.
214 * config/tc-ia64.h (md_convert_frag): Defined as
216 (md_estimate_size_before_relax): Defined as (f)->fr_var.
218 2004-01-06 Alexandre Oliva <aoliva@redhat.com>
220 2003-12-19 Alexandre Oliva <aoliva@redhat.com>
221 * config/tc-frv.h (md_apply_fix3): Don't define.
222 * config/tc-frv.c (md_apply_fix3): New. Shift/truncate %hi/%lo
224 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
225 2003-10-07 Alexandre Oliva <aoliva@redhat.com>
226 * config/tc-frv.c (line_separator_chars): Add `!'.
227 2003-09-19 Alexandre Oliva <aoliva@redhat.com>
228 * config/tc-frv.c (md_assemble): Clear insn upfront.
229 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
230 * config/tc-frv.c (OPTION_FDPIC): New macro.
231 (md_longopts): Add mfdpic.
232 (md_parse_option): Handle it.
233 2003-08-04 Alexandre Oliva <aoliva@redhat.com>
234 * config/tc-frv.c (md_cgen_lookup_reloc) <FRV_OPERAND_D12,
235 FRV_OPERAND_S12>: Use reloc type encoded in fix-up.
236 (frv_pic_ptr): Parse funcdesc.
238 2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
240 * doc/as.texinfo: Let texi2pod parse asconfig.texi and
241 gasver.texi. Remove duplicate symbol definitions for texi2pod.
243 2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
245 * Makefile.am (Makefile): Move the dependency on
246 $(BFDDIR)/configure.in to...
247 (CONFIG_STATUS_DEPENDENCIES): ... here.
248 (AUTOMAKE_OPTIONS): Require automake 1.8.
249 * Makefile.in: Regenerate.
250 * doc/Makefile.am (BASEDIR, BFDDIR): Define.
251 (CONFIG_STATUS_DEPENDENCIES): Add a dependency on
252 $(BFDDIR)/configure.in here as well.
253 * doc/Makefile.in: Regenerate.
255 2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
257 * Makefile.am (install, install-info, RECURSIVE_TARGETS): Remove.
258 * Makefile.in: Regenerate.
259 * aclocal.m4: Regenerate.
260 * doc/Makefile.am (install, install-info): Remove.
261 (install-data-local): A new hook for install-info.
262 (AUTOMAKE_OPTIONS): Require automake 1.8.
263 * doc/Makefile.in: Regenerate.
265 2004-01-02 Nutan Singh <nutan@kpitcummins.com>
267 * doc/c-sh.texi: Update description about floating point behavior
270 2004-01-02 Bernardo Innocenti <bernie@develer.com>
272 * configure.in: Add m68k-uClinux target.
273 * configure: Regenerate.
275 For older changes see ChangeLog-0203
281 version-control: never