1 2003-03-03 Andrew Stubbs <andrew.stubbs@superh.com>
3 * config/tc-sh.c (md_parse_option): Add -isa=sh4-nofpu and
4 -isa=sh4-nommu-nofpu options. Adjust help messages accordingly.
5 (sh_elf_final_processing): Output BFD type sh4_nofpu if that is
6 the most general type or the user specifically requested it.
7 (md_assemble): Add a new error message for when an instruction
8 is understood, but is not allowed due to an -isa option.
10 2004-03-02 H.J. Lu <hongjiu.lu@intel.com>
12 * config/tc-ia64.c (align_frag): New.
13 (md_assemble): Set the tc_frag_data field in align_frag for
14 IA64_OPCODE_FIRST instructions.
15 (ia64_md_do_align): Set align_frag.
16 (ia64_handle_align): Add a stop bit if needed.
18 * config/tc-ia64.h (TC_FRAG_TYPE): New.
21 2004-03-01 Richard Sandiford <rsandifo@redhat.com>
23 * config/tc-frv.c (fr400_audio): New variable.
24 (md_parse_option, md_show_usage): Add -mcpu=fr405 and -mcpu=fr450.
25 (md_parse_option): Set fr400_audio for -mcpu=fr400 and -mcpu=fr405.
26 (target_implements_insn_p): New function.
27 (md_assemble): Report an error if the processor doesn't implement
30 2004-02-27 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
32 * config/tc-m32r.c (md_longopts): Added -no-bitinst option.
33 (md_parse_option): Ditto.
34 (OPTION_NO_SPECIAL_M32R): Added.
35 (md_show_usage): Document it.
36 (enable_speial_m32r): Changed a default value from 0 to 1.
37 * doc/c-m32r.texi: Document the -no-bitinst option.
39 2004-02-27 Nick Clifton <nickc@redhat.com>
41 * config/tc-sh.c (get_operand): Revert previous delta.
42 (tc_gen_reloc): Check for an unknown reloc type before processing
45 2004-02-27 Hannes Reinecke <hare@suse.de>
47 * config/tc-s390.c (s390_insn): Correct range check for opcode in
48 .insn pseudo operation.
50 2004-02-27 Anil Paranjpe <anilp1@kpitcummins.com>
52 * config/tc-sh.c (get_operand): In case of #Imm, check has been
53 added for wrong syntax.
55 2004-02-26 Eric Christopher <echristo@redhat.com>
57 * config/tc-mips.c (mips_dwarf2_addr_size): New.
58 * config/tc-mips.h (DWARF2_ADDR_SIZE): Use.
60 2004-02-26 Andrew Stubbs <andrew.stubbs@superh.com>
62 * config/tc-sh.c (build_Mytes): Add REG_N_D and REG_N_B01
63 nibble types to assembler.
65 2004-02-25 Fred Fish <fnf@redhat.com>
67 * config/tc-iq2000.c: Add missing \n\ in multiline string literal.
69 2004-02-20 James E Wilson <wilson@specifixinc.com>
71 * config/tc-ia64.c (slot_index): New arg before_relax. Use instead of
73 (fixup_unw_records): New arg before_relax. Pass to slot_index.
74 (ia64_estimate_size_before_relax): New.
75 (ia64_convert_frag): Pass 0 to fixup_unw_records. Add comment.
76 (generate_unwind_image): Pass 1 to fixup_unw_records.
77 * config/tc-ia64.h (ia64_estimate_size_before_relax): Declare.
78 (md_estimate_size_before_relax): Call ia64_estimate_size_before_relax.
80 2004-02-19 Jakub Jelinek <jakub@redhat.com>
82 * stabs.c (generate_asm_file): Avoid warning about use of
83 uninitialized variable.
85 2004-02-18 David Mosberger <davidm@hpl.hp.com>
87 * config/tc-ia64.c (ia64_flush_insns): In addition to prologue,
88 body, and endp, allow unwind records which do not have a "t"
89 (time/instruction) field.
91 2004-02-17 Petko Manolov <petkan@nucleusys.com>
93 * config/tc-arm.c (do_mav_dspsc_1): Correct offset of CRn.
94 (do_mav_dspsc_2): Likewise.
95 Fix accumulator registers move opcodes.
97 2004-02-13 Hannes Reinecke <hare@suse.de>
98 Jakub Jelinek <jakub@redhat.com>
100 * dwarf2dbg.c (get_filenum): Do not read beyond allocated memory.
102 2004-02-10 Steve Ellcey <sje@cup.hp.com>
104 * config/tc-ia64.h (ia64_frob_symbol): New declaration.
105 (tc_frob_symbol): New macro definition.
106 * config/tc-ia64.c (ia64_frob_symbol): New routine.
108 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
110 * config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as
113 2004-02-09 Nathan Sidwell <nathan@codesourcery.com>
115 * read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ...
116 (TC_CASE_SENSITIVE): ... this.
117 * read.c: Replace IGNORE_OPCODE_CASE with TC_CASE_SENSITIVE.
118 * doc/internals.texi (TC_CASE_SENSITIVE): Document.
120 2004-02-06 James E Wilson <wilson@specifixinc.com>
122 * config/tc-ia64.c (dot_endp): Delete call to output_endp.
123 (generate_unwind_image): Re-add it here.
125 2004-02-06 Nathan Sidwell <nathan@codesourcery.com>
127 * dwarf2dbg.c (DWARF2_ADDR_SIZE): Remove trailing ';'
128 * read.h (SKIP_WHITESPACE): Turn into an expression.
129 * read.c (read_a_source_file): A pseudo is removed by having a
132 2004-02-05 James E Wilson <wilson@specifixinc.com>
134 * config/tc-ia64.c (output_endp): New.
135 (count_bits): Delete.
136 (ia64_flush_insns, process_one_record, optimize_unw_records): Handle
138 (fixup_unw_records): Handle endp unwind records. Delete code for
139 shortening prologue regions not followed by a body record.
140 (dot_endp): Call add_unwind_entry to emit endp unwind record.
141 * config/tc-ia64.h (unw_record_type): Add endp.
143 2004-02-03 James E Wilson <wilson@specifixinc.com>
145 * config/tc-ia64.c (ia64_convert_frag): Call md_number_to_chars to
146 fill padding bytes with zeroes.
147 (emit_one_bundle): New locals last_ptr, end_ptr. Rewrite code that
148 sets unwind_record slot_number and slot_frag fields.
150 2004-02-02 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
152 * config/tc-mips.c (add_got_offset_hilo): New function.
153 (macro): Use load_register() and add_got_offset_hilo() to load
154 constants instead of hardcoding code sequences throughout.
156 2004-01-28 H.J. Lu <hongjiu.lu@intel.com>
158 * config/tc-ia64.c (emit_one_bundle): Add proper indentation.
160 2004-01-26 Bernardo Innocenti <bernie@develer.com>
162 * config/tc-m68k.h (EXTERN_FORCE_RELOC): Handle m68k-uclinux specially,
164 * config/tc-m68k.c (RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead
165 of hard-coded test for TARGET_OS=elf.
167 2004-01-24 Chris Demetriou <cgd@broadcom.com>
169 * config/tc-mips.c (hilo_interlocks): Change definition
170 so that MIPS32, MIPS64 and later ISAs are included, along with
171 the already-included machines. Update comments.
173 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
175 * config/tc-arm.c (tc_gen_reloc): Improve error message for
176 undefined local labels.
178 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
180 * config/tc-mips.c (load_address, macro): Update comments about
181 NewABI GP relaxation.
183 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
185 * config/tc-mips.c (macro_build): Remove place and counter arguments.
186 (mips_build_lui, macro_build_ldst_constoffset): Likewise.
187 (mips16_macro_build, macro_build_jalr): Remove counter argument.
188 (set_at, load_register, load_address, move_register): Likewise.
189 (load_got_offset, add_got_offset): Likewise.
190 Update all calls and tidy accordingly.
192 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
194 * config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.
195 (RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities.
196 (RELAX_USE_SECOND): Bump to 0x10000.
197 (RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags.
198 (mips_macro_warning): New variable.
199 (md_assemble): Wrap macro expansion in macro_start() and macro_end().
200 (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise.
201 (relax_close_frag): Set mips_macro_warning.first_frag. Adjust use
203 (append_insn): Update mips_macro_warning.sizes.
204 (macro_start, macro_warning, macro_end): New functions.
205 (macro_build): Don't emit warnings here.
206 (macro_build_lui, md_estimate_size_before_relax): ...or here.
207 (md_convert_frag): Check for cases where one macro alternative
208 needs a warning and the other doesn't. Emit a warning if the
209 longer sequence was chosen.
211 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
213 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
214 * config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of
215 the first sequence, the size of the second sequence, and a flag
216 that says whether we should warn.
217 (RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete.
218 (RELAX_FIRST, RELAX_SECOND): New.
219 (mips_relax): New variable.
220 (relax_close_frag, relax_start, relax_switch, relax_end): New fns.
221 (append_insn): Remove "place" argument. Use mips_relax.sequence
222 rather than "place" to check whether we're expanding the second
223 alternative of a relaxable macro. Remove redundant check for
224 branch relaxation. If generating a normal insn, and there
225 is not enough room in the current frag, call relax_close_frag()
226 to close it. Update mips_relax.sizes[]. Emit fixups for the
227 second version of a relaxable macro. Record the first relaxable
228 fixup in mips_relax. Remove tc_gen_reloc workaround.
229 (macro_build): Remove all uses of "place". Use mips_relax.sequence
230 in the same way as in append_insn.
231 (mips16_macro_build): Remove "place" argument.
232 (macro_build_lui): As for macro_build. Don't drop the add_symbol
233 when generating the second version of a relaxable macro.
234 (load_got_offset, add_got_offset): New functions.
235 (load_address, macro): Use new relaxation machinery. Remove
236 tc_gen_reloc workarounds.
237 (md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second
238 version of a relaxable macro is needed. Return -RELAX_SECOND if the
239 first version is needed.
240 (tc_gen_reloc): Remove relaxation handling.
241 (md_convert_frag): Go through the fixups for a relaxable macro and
242 mark those that belong to the unneeded alternative as done. If the
243 second alternative is needed, adjust the fixup addresses to account
244 for the deleted first alternative.
246 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
248 * frags.h (frag_room): Declare.
249 * frags.c (frag_room): New function.
250 * doc/internals.texi: Document it.
252 2004-01-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
254 * config/tc-mips.c (append_insn): Don't do r3900 interlock
255 optimization for -mtune=r3900, as this will break on other CPUs.
257 2004-01-11 Tom Rix <tcrix@worldnet.att.net>
259 * config/tc-m68hc11.c (build_indexed_byte): movb and movw cannot
260 be relaxed, use fixup.
261 (md_apply_fix3): Use 5 bit reloc from movb and movw fixup.
263 2004-01-19 Jakub Jelinek <jakub@redhat.com>
265 * config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single
268 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
270 * config/tc-mips.c (append_insn): Properly detect variant frags
271 that preclude swapping of relaxed branches. Correctly swap
272 instructions between frags when dealing with relaxed branches.
274 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
276 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
278 * aclocal.m4: Regenerate.
279 * configure: Regenerate.
281 2004-01-12 Anil Paranjpe <anilp1@KPITCummins.com>
283 * config/tc-h8300.c (build_bytes): Apply relaxation to bit
286 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
288 * config/tc-mips.c (macro_build_jalr): When adding an R_MIPS_JALR
289 reloc, reserve space for the delay slot as well as the jalr itself.
291 2004-01-09 Paul Brook <paul@codesourcery.com>
293 * config/tc-arm.c (do_vfp_reg2_from_sp2): Rename from do_vfp_sp_reg2.
294 (do_vfp_sp2_from_reg2): New function.
296 (do_vfp_dp_from_reg2): Check return values properly.
298 2004-01-08 Ian Lance Taylor <ian@wasabisystems.com>
300 * config/tc-mips.c (warn_nops): Remove static variable.
301 (macro): Remove test of warn_nops.
302 (md_shortops): Remove 'n'.
303 (md_parse_option): Remove 'n' case.
304 (md_show_usage): Remove -n.
305 * doc/as.texinfo (Overview): Remove MIPS -n option.
306 * doc/c-mips.texi (MIPS Opts): Remove mention -n.
307 * NEWS: Mention removal of MIPS -n option.
309 * config/tc-mips.c (ISA_HAS_COPROC_DELAYS): Remove.
310 (cop_interlocks): Check ISA level.
311 (cop_mem_interlocks): Define.
312 (reg_needs_delay): Check cop_interlocks rather than
313 ISA_HAS_COPROC_DELAYS.
314 (append_insn): Likewise. Use cop_mem_interlocks rather than
315 directly checking mips_opts.isa.
316 (mips_emit_delays): Likewise.
318 2004-01-07 H.J. Lu <hongjiu.lu@intel.com>
320 * config/tc-ia64.c (unwind): Move next_slot_number and
321 next_slot_frag to ...
322 (unw_rec_list): Here.
323 (free_list_records): Removed.
324 (output_unw_records): Likewise.
325 (generate_unwind_image): Make it void.
326 (alloc_record): Initialize next_slot_number and next_slot_frag.
327 (slot_index): Take .org, .space and .align into account.
328 (fixup_unw_records): Don't set slot_number to 0. Use
329 list->next_slot_number and list->next_slot_frag instead of
330 unwind.next_slot_number and unwind.next_slot_frag.
331 (ia64_convert_frag): New.
332 (generate_unwind_image): Generate a rs_machine_dependent frag
334 (emit_one_bundle): Use list->next_slot_number and
335 list->next_slot_frag instead of unwind.next_slot_number and
336 unwind.next_slot_frag.
338 * config/tc-ia64.h (md_convert_frag): Defined as
340 (md_estimate_size_before_relax): Defined as (f)->fr_var.
342 2004-01-06 Alexandre Oliva <aoliva@redhat.com>
344 2003-12-19 Alexandre Oliva <aoliva@redhat.com>
345 * config/tc-frv.h (md_apply_fix3): Don't define.
346 * config/tc-frv.c (md_apply_fix3): New. Shift/truncate %hi/%lo
348 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
349 2003-10-07 Alexandre Oliva <aoliva@redhat.com>
350 * config/tc-frv.c (line_separator_chars): Add `!'.
351 2003-09-19 Alexandre Oliva <aoliva@redhat.com>
352 * config/tc-frv.c (md_assemble): Clear insn upfront.
353 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
354 * config/tc-frv.c (OPTION_FDPIC): New macro.
355 (md_longopts): Add mfdpic.
356 (md_parse_option): Handle it.
357 2003-08-04 Alexandre Oliva <aoliva@redhat.com>
358 * config/tc-frv.c (md_cgen_lookup_reloc) <FRV_OPERAND_D12,
359 FRV_OPERAND_S12>: Use reloc type encoded in fix-up.
360 (frv_pic_ptr): Parse funcdesc.
362 2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
364 * doc/as.texinfo: Let texi2pod parse asconfig.texi and
365 gasver.texi. Remove duplicate symbol definitions for texi2pod.
367 2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
369 * Makefile.am (Makefile): Move the dependency on
370 $(BFDDIR)/configure.in to...
371 (CONFIG_STATUS_DEPENDENCIES): ... here.
372 (AUTOMAKE_OPTIONS): Require automake 1.8.
373 * Makefile.in: Regenerate.
374 * doc/Makefile.am (BASEDIR, BFDDIR): Define.
375 (CONFIG_STATUS_DEPENDENCIES): Add a dependency on
376 $(BFDDIR)/configure.in here as well.
377 * doc/Makefile.in: Regenerate.
379 2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
381 * Makefile.am (install, install-info, RECURSIVE_TARGETS): Remove.
382 * Makefile.in: Regenerate.
383 * aclocal.m4: Regenerate.
384 * doc/Makefile.am (install, install-info): Remove.
385 (install-data-local): A new hook for install-info.
386 (AUTOMAKE_OPTIONS): Require automake 1.8.
387 * doc/Makefile.in: Regenerate.
389 2004-01-02 Nutan Singh <nutan@kpitcummins.com>
391 * doc/c-sh.texi: Update description about floating point behavior
394 2004-01-02 Bernardo Innocenti <bernie@develer.com>
396 * configure.in: Add m68k-uClinux target.
397 * configure: Regenerate.
399 For older changes see ChangeLog-0203
405 version-control: never