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