1 2004-02-20 James E Wilson <wilson@specifixinc.com>
3 * config/tc-ia64.c (slot_index): New arg before_relax. Use instead of
5 (fixup_unw_records): New arg before_relax. Pass to slot_index.
6 (ia64_estimate_size_before_relax): New.
7 (ia64_convert_frag): Pass 0 to fixup_unw_records. Add comment.
8 (generate_unwind_image): Pass 1 to fixup_unw_records.
9 * config/tc-ia64.h (ia64_estimate_size_before_relax): Declare.
10 (md_estimate_size_before_relax): Call ia64_estimate_size_before_relax.
12 2004-02-19 Jakub Jelinek <jakub@redhat.com>
14 * stabs.c (generate_asm_file): Avoid warning about use of
15 uninitialized variable.
17 2004-02-18 David Mosberger <davidm@hpl.hp.com>
19 * config/tc-ia64.c (ia64_flush_insns): In addition to prologue,
20 body, and endp, allow unwind records which do not have a "t"
21 (time/instruction) field.
23 2004-02-17 Petko Manolov <petkan@nucleusys.com>
25 * config/tc-arm.c (do_mav_dspsc_1): Correct offset of CRn.
26 (do_mav_dspsc_2): Likewise.
27 Fix accumulator registers move opcodes.
29 2004-02-13 Hannes Reinecke <hare@suse.de>
30 Jakub Jelinek <jakub@redhat.com>
32 * dwarf2dbg.c (get_filenum): Do not read beyond allocated memory.
34 2004-02-10 Steve Ellcey <sje@cup.hp.com>
36 * config/tc-ia64.h (ia64_frob_symbol): New declaration.
37 (tc_frob_symbol): New macro definition.
38 * config/tc-ia64.c (ia64_frob_symbol): New routine.
40 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
42 * config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as
45 2004-02-09 Nathan Sidwell <nathan@codesourcery.com>
47 * read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ...
48 (TC_CASE_SENSITIVE): ... this.
49 * read.c: Replace IGNORE_OPCODE_CASE with TC_CASE_SENSITIVE.
50 * doc/internals.texi (TC_CASE_SENSITIVE): Document.
52 2004-02-06 James E Wilson <wilson@specifixinc.com>
54 * config/tc-ia64.c (dot_endp): Delete call to output_endp.
55 (generate_unwind_image): Re-add it here.
57 2004-02-06 Nathan Sidwell <nathan@codesourcery.com>
59 * dwarf2dbg.c (DWARF2_ADDR_SIZE): Remove trailing ';'
60 * read.h (SKIP_WHITESPACE): Turn into an expression.
61 * read.c (read_a_source_file): A pseudo is removed by having a
64 2004-02-05 James E Wilson <wilson@specifixinc.com>
66 * config/tc-ia64.c (output_endp): New.
68 (ia64_flush_insns, process_one_record, optimize_unw_records): Handle
70 (fixup_unw_records): Handle endp unwind records. Delete code for
71 shortening prologue regions not followed by a body record.
72 (dot_endp): Call add_unwind_entry to emit endp unwind record.
73 * config/tc-ia64.h (unw_record_type): Add endp.
75 2004-02-03 James E Wilson <wilson@specifixinc.com>
77 * config/tc-ia64.c (ia64_convert_frag): Call md_number_to_chars to
78 fill padding bytes with zeroes.
79 (emit_one_bundle): New locals last_ptr, end_ptr. Rewrite code that
80 sets unwind_record slot_number and slot_frag fields.
82 2004-02-02 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
84 * config/tc-mips.c (add_got_offset_hilo): New function.
85 (macro): Use load_register() and add_got_offset_hilo() to load
86 constants instead of hardcoding code sequences throughout.
88 2004-01-28 H.J. Lu <hongjiu.lu@intel.com>
90 * config/tc-ia64.c (emit_one_bundle): Add proper indentation.
92 2004-01-26 Bernardo Innocenti <bernie@develer.com>
94 * config/tc-m68k.h (EXTERN_FORCE_RELOC): Handle m68k-uclinux specially,
96 * config/tc-m68k.c (RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead
97 of hard-coded test for TARGET_OS=elf.
99 2004-01-24 Chris Demetriou <cgd@broadcom.com>
101 * config/tc-mips.c (hilo_interlocks): Change definition
102 so that MIPS32, MIPS64 and later ISAs are included, along with
103 the already-included machines. Update comments.
105 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
107 * config/tc-arm.c (tc_gen_reloc): Improve error message for
108 undefined local labels.
110 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
112 * config/tc-mips.c (load_address, macro): Update comments about
113 NewABI GP relaxation.
115 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
117 * config/tc-mips.c (macro_build): Remove place and counter arguments.
118 (mips_build_lui, macro_build_ldst_constoffset): Likewise.
119 (mips16_macro_build, macro_build_jalr): Remove counter argument.
120 (set_at, load_register, load_address, move_register): Likewise.
121 (load_got_offset, add_got_offset): Likewise.
122 Update all calls and tidy accordingly.
124 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
126 * config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.
127 (RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities.
128 (RELAX_USE_SECOND): Bump to 0x10000.
129 (RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags.
130 (mips_macro_warning): New variable.
131 (md_assemble): Wrap macro expansion in macro_start() and macro_end().
132 (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise.
133 (relax_close_frag): Set mips_macro_warning.first_frag. Adjust use
135 (append_insn): Update mips_macro_warning.sizes.
136 (macro_start, macro_warning, macro_end): New functions.
137 (macro_build): Don't emit warnings here.
138 (macro_build_lui, md_estimate_size_before_relax): ...or here.
139 (md_convert_frag): Check for cases where one macro alternative
140 needs a warning and the other doesn't. Emit a warning if the
141 longer sequence was chosen.
143 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
145 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
146 * config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of
147 the first sequence, the size of the second sequence, and a flag
148 that says whether we should warn.
149 (RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete.
150 (RELAX_FIRST, RELAX_SECOND): New.
151 (mips_relax): New variable.
152 (relax_close_frag, relax_start, relax_switch, relax_end): New fns.
153 (append_insn): Remove "place" argument. Use mips_relax.sequence
154 rather than "place" to check whether we're expanding the second
155 alternative of a relaxable macro. Remove redundant check for
156 branch relaxation. If generating a normal insn, and there
157 is not enough room in the current frag, call relax_close_frag()
158 to close it. Update mips_relax.sizes[]. Emit fixups for the
159 second version of a relaxable macro. Record the first relaxable
160 fixup in mips_relax. Remove tc_gen_reloc workaround.
161 (macro_build): Remove all uses of "place". Use mips_relax.sequence
162 in the same way as in append_insn.
163 (mips16_macro_build): Remove "place" argument.
164 (macro_build_lui): As for macro_build. Don't drop the add_symbol
165 when generating the second version of a relaxable macro.
166 (load_got_offset, add_got_offset): New functions.
167 (load_address, macro): Use new relaxation machinery. Remove
168 tc_gen_reloc workarounds.
169 (md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second
170 version of a relaxable macro is needed. Return -RELAX_SECOND if the
171 first version is needed.
172 (tc_gen_reloc): Remove relaxation handling.
173 (md_convert_frag): Go through the fixups for a relaxable macro and
174 mark those that belong to the unneeded alternative as done. If the
175 second alternative is needed, adjust the fixup addresses to account
176 for the deleted first alternative.
178 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
180 * frags.h (frag_room): Declare.
181 * frags.c (frag_room): New function.
182 * doc/internals.texi: Document it.
184 2004-01-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
186 * config/tc-mips.c (append_insn): Don't do r3900 interlock
187 optimization for -mtune=r3900, as this will break on other CPUs.
189 2004-01-11 Tom Rix <tcrix@worldnet.att.net>
191 * config/tc-m68hc11.c (build_indexed_byte): movb and movw cannot
192 be relaxed, use fixup.
193 (md_apply_fix3): Use 5 bit reloc from movb and movw fixup.
195 2004-01-19 Jakub Jelinek <jakub@redhat.com>
197 * config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single
200 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
202 * config/tc-mips.c (append_insn): Properly detect variant frags
203 that preclude swapping of relaxed branches. Correctly swap
204 instructions between frags when dealing with relaxed branches.
206 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
208 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
210 * aclocal.m4: Regenerate.
211 * configure: Regenerate.
213 2004-01-12 Anil Paranjpe <anilp1@KPITCummins.com>
215 * config/tc-h8300.c (build_bytes): Apply relaxation to bit
218 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
220 * config/tc-mips.c (macro_build_jalr): When adding an R_MIPS_JALR
221 reloc, reserve space for the delay slot as well as the jalr itself.
223 2004-01-09 Paul Brook <paul@codesourcery.com>
225 * config/tc-arm.c (do_vfp_reg2_from_sp2): Rename from do_vfp_sp_reg2.
226 (do_vfp_sp2_from_reg2): New function.
228 (do_vfp_dp_from_reg2): Check return values properly.
230 2004-01-08 Ian Lance Taylor <ian@wasabisystems.com>
232 * config/tc-mips.c (warn_nops): Remove static variable.
233 (macro): Remove test of warn_nops.
234 (md_shortops): Remove 'n'.
235 (md_parse_option): Remove 'n' case.
236 (md_show_usage): Remove -n.
237 * doc/as.texinfo (Overview): Remove MIPS -n option.
238 * doc/c-mips.texi (MIPS Opts): Remove mention -n.
239 * NEWS: Mention removal of MIPS -n option.
241 * config/tc-mips.c (ISA_HAS_COPROC_DELAYS): Remove.
242 (cop_interlocks): Check ISA level.
243 (cop_mem_interlocks): Define.
244 (reg_needs_delay): Check cop_interlocks rather than
245 ISA_HAS_COPROC_DELAYS.
246 (append_insn): Likewise. Use cop_mem_interlocks rather than
247 directly checking mips_opts.isa.
248 (mips_emit_delays): Likewise.
250 2004-01-07 H.J. Lu <hongjiu.lu@intel.com>
252 * config/tc-ia64.c (unwind): Move next_slot_number and
253 next_slot_frag to ...
254 (unw_rec_list): Here.
255 (free_list_records): Removed.
256 (output_unw_records): Likewise.
257 (generate_unwind_image): Make it void.
258 (alloc_record): Initialize next_slot_number and next_slot_frag.
259 (slot_index): Take .org, .space and .align into account.
260 (fixup_unw_records): Don't set slot_number to 0. Use
261 list->next_slot_number and list->next_slot_frag instead of
262 unwind.next_slot_number and unwind.next_slot_frag.
263 (ia64_convert_frag): New.
264 (generate_unwind_image): Generate a rs_machine_dependent frag
266 (emit_one_bundle): Use list->next_slot_number and
267 list->next_slot_frag instead of unwind.next_slot_number and
268 unwind.next_slot_frag.
270 * config/tc-ia64.h (md_convert_frag): Defined as
272 (md_estimate_size_before_relax): Defined as (f)->fr_var.
274 2004-01-06 Alexandre Oliva <aoliva@redhat.com>
276 2003-12-19 Alexandre Oliva <aoliva@redhat.com>
277 * config/tc-frv.h (md_apply_fix3): Don't define.
278 * config/tc-frv.c (md_apply_fix3): New. Shift/truncate %hi/%lo
280 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
281 2003-10-07 Alexandre Oliva <aoliva@redhat.com>
282 * config/tc-frv.c (line_separator_chars): Add `!'.
283 2003-09-19 Alexandre Oliva <aoliva@redhat.com>
284 * config/tc-frv.c (md_assemble): Clear insn upfront.
285 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
286 * config/tc-frv.c (OPTION_FDPIC): New macro.
287 (md_longopts): Add mfdpic.
288 (md_parse_option): Handle it.
289 2003-08-04 Alexandre Oliva <aoliva@redhat.com>
290 * config/tc-frv.c (md_cgen_lookup_reloc) <FRV_OPERAND_D12,
291 FRV_OPERAND_S12>: Use reloc type encoded in fix-up.
292 (frv_pic_ptr): Parse funcdesc.
294 2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
296 * doc/as.texinfo: Let texi2pod parse asconfig.texi and
297 gasver.texi. Remove duplicate symbol definitions for texi2pod.
299 2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
301 * Makefile.am (Makefile): Move the dependency on
302 $(BFDDIR)/configure.in to...
303 (CONFIG_STATUS_DEPENDENCIES): ... here.
304 (AUTOMAKE_OPTIONS): Require automake 1.8.
305 * Makefile.in: Regenerate.
306 * doc/Makefile.am (BASEDIR, BFDDIR): Define.
307 (CONFIG_STATUS_DEPENDENCIES): Add a dependency on
308 $(BFDDIR)/configure.in here as well.
309 * doc/Makefile.in: Regenerate.
311 2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
313 * Makefile.am (install, install-info, RECURSIVE_TARGETS): Remove.
314 * Makefile.in: Regenerate.
315 * aclocal.m4: Regenerate.
316 * doc/Makefile.am (install, install-info): Remove.
317 (install-data-local): A new hook for install-info.
318 (AUTOMAKE_OPTIONS): Require automake 1.8.
319 * doc/Makefile.in: Regenerate.
321 2004-01-02 Nutan Singh <nutan@kpitcummins.com>
323 * doc/c-sh.texi: Update description about floating point behavior
326 2004-01-02 Bernardo Innocenti <bernie@develer.com>
328 * configure.in: Add m68k-uClinux target.
329 * configure: Regenerate.
331 For older changes see ChangeLog-0203
337 version-control: never