1 2004-03-18 Nathan Sidwell <nathan@codesourcery.com>
3 * expr.c (operand): Reject ++ and --.
6 2004-03-17 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8 * config/tc-sh.c: Include dw2gencfi.h.
9 (sh_cfi_frame_initial_instructions): New function.
10 (sh_regname_to_dw2regnum): Likewise.
11 * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Move to the end of
13 (TARGET_USE_CFIPOP): Define.
14 (tc_cfi_frame_initial_instructions): Likewise.
15 (tc_regname_to_dw2regnum): Likewise.
16 (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Likewise.
17 * Makefile.am: Update dependencies.
18 * Makefile.in: Regenerate.
20 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
22 * configure.in: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
23 * configure: Regenerate.
25 2004-03-12 Bob Wilson <bob.wilson@acm.org>
27 * read.c (s_leb128): Call md_flush_pending_output.
29 2004-03-12 Michal Ludvig <mludvig@suse.cz>
31 * config/tc-i386.c (output_insn): Handle PadLock instructions.
32 * config/tc-i386.h (CpuPadLock): New define.
33 (CpuUnknownFlags): Added CpuPadLock.
35 2004-03-07 Andreas Schwab <schwab@suse.de>
37 * doc/c-hppa.texi (HPPA Directives): Fix typo.
39 2004-03-07 Richard Henderson <rth@redhat.com>
41 * dw2gencfi.c (output_cie): Align length to 4 byte boundary.
42 (cfi_finish): Likewise for fde.
44 2004-03-05 H.J. Lu <hongjiu.lu@intel.com>
46 * config/tc-ia64.c (md_assemble): Properly handle NULL
48 (ia64_handle_align): Don't abort if failed to add a stop bit.
50 2004-03-04 H.J. Lu <hongjiu.lu@intel.com>
52 * Makefile.in: Regenerated.
53 * aclocal.m4: Likewise.
54 * configure: Likewise.
55 * doc/Makefile.in: Likewise.
57 2004-03-03 H.J. Lu <hongjiu.lu@intel.com>
59 * config/tc-ia64.c (dot_align): New.
60 (ia64_do_align): Make it static.
61 (md_pseudo_table): Use "dot_align" for "align".
62 (ia64_md_do_align): Don't set align_frag here.
63 (ia64_handle_align): Add a stop bit to the previous bundle if
66 * config/tc-ia64.h (ia64_do_align): Removed.
68 2003-03-03 Andrew Stubbs <andrew.stubbs@superh.com>
70 * config/tc-sh.c (md_parse_option): Add -isa=sh4-nofpu and
71 -isa=sh4-nommu-nofpu options. Adjust help messages accordingly.
72 (sh_elf_final_processing): Output BFD type sh4_nofpu if that is
73 the most general type or the user specifically requested it.
74 (md_assemble): Add a new error message for when an instruction
75 is understood, but is not allowed due to an -isa option.
77 2004-03-02 H.J. Lu <hongjiu.lu@intel.com>
79 * config/tc-ia64.c (align_frag): New.
80 (md_assemble): Set the tc_frag_data field in align_frag for
81 IA64_OPCODE_FIRST instructions.
82 (ia64_md_do_align): Set align_frag.
83 (ia64_handle_align): Add a stop bit if needed.
85 * config/tc-ia64.h (TC_FRAG_TYPE): New.
88 2004-03-01 Richard Sandiford <rsandifo@redhat.com>
90 * config/tc-frv.c (fr400_audio): New variable.
91 (md_parse_option, md_show_usage): Add -mcpu=fr405 and -mcpu=fr450.
92 (md_parse_option): Set fr400_audio for -mcpu=fr400 and -mcpu=fr405.
93 (target_implements_insn_p): New function.
94 (md_assemble): Report an error if the processor doesn't implement
97 2004-02-27 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
99 * config/tc-m32r.c (md_longopts): Added -no-bitinst option.
100 (md_parse_option): Ditto.
101 (OPTION_NO_SPECIAL_M32R): Added.
102 (md_show_usage): Document it.
103 (enable_speial_m32r): Changed a default value from 0 to 1.
104 * doc/c-m32r.texi: Document the -no-bitinst option.
106 2004-02-27 Nick Clifton <nickc@redhat.com>
108 * config/tc-sh.c (get_operand): Revert previous delta.
109 (tc_gen_reloc): Check for an unknown reloc type before processing
112 2004-02-27 Hannes Reinecke <hare@suse.de>
114 * config/tc-s390.c (s390_insn): Correct range check for opcode in
115 .insn pseudo operation.
117 2004-02-27 Anil Paranjpe <anilp1@kpitcummins.com>
119 * config/tc-sh.c (get_operand): In case of #Imm, check has been
120 added for wrong syntax.
122 2004-02-26 Eric Christopher <echristo@redhat.com>
124 * config/tc-mips.c (mips_dwarf2_addr_size): New.
125 * config/tc-mips.h (DWARF2_ADDR_SIZE): Use.
127 2004-02-26 Andrew Stubbs <andrew.stubbs@superh.com>
129 * config/tc-sh.c (build_Mytes): Add REG_N_D and REG_N_B01
130 nibble types to assembler.
132 2004-02-25 Fred Fish <fnf@redhat.com>
134 * config/tc-iq2000.c: Add missing \n\ in multiline string literal.
136 2004-02-20 James E Wilson <wilson@specifixinc.com>
138 * config/tc-ia64.c (slot_index): New arg before_relax. Use instead of
140 (fixup_unw_records): New arg before_relax. Pass to slot_index.
141 (ia64_estimate_size_before_relax): New.
142 (ia64_convert_frag): Pass 0 to fixup_unw_records. Add comment.
143 (generate_unwind_image): Pass 1 to fixup_unw_records.
144 * config/tc-ia64.h (ia64_estimate_size_before_relax): Declare.
145 (md_estimate_size_before_relax): Call ia64_estimate_size_before_relax.
147 2004-02-19 Jakub Jelinek <jakub@redhat.com>
149 * stabs.c (generate_asm_file): Avoid warning about use of
150 uninitialized variable.
152 2004-02-18 David Mosberger <davidm@hpl.hp.com>
154 * config/tc-ia64.c (ia64_flush_insns): In addition to prologue,
155 body, and endp, allow unwind records which do not have a "t"
156 (time/instruction) field.
158 2004-02-17 Petko Manolov <petkan@nucleusys.com>
160 * config/tc-arm.c (do_mav_dspsc_1): Correct offset of CRn.
161 (do_mav_dspsc_2): Likewise.
162 Fix accumulator registers move opcodes.
164 2004-02-13 Hannes Reinecke <hare@suse.de>
165 Jakub Jelinek <jakub@redhat.com>
167 * dwarf2dbg.c (get_filenum): Do not read beyond allocated memory.
169 2004-02-10 Steve Ellcey <sje@cup.hp.com>
171 * config/tc-ia64.h (ia64_frob_symbol): New declaration.
172 (tc_frob_symbol): New macro definition.
173 * config/tc-ia64.c (ia64_frob_symbol): New routine.
175 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
177 * config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as
180 2004-02-09 Nathan Sidwell <nathan@codesourcery.com>
182 * read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ...
183 (TC_CASE_SENSITIVE): ... this.
184 * read.c: Replace IGNORE_OPCODE_CASE with TC_CASE_SENSITIVE.
185 * doc/internals.texi (TC_CASE_SENSITIVE): Document.
187 2004-02-06 James E Wilson <wilson@specifixinc.com>
189 * config/tc-ia64.c (dot_endp): Delete call to output_endp.
190 (generate_unwind_image): Re-add it here.
192 2004-02-06 Nathan Sidwell <nathan@codesourcery.com>
194 * dwarf2dbg.c (DWARF2_ADDR_SIZE): Remove trailing ';'
195 * read.h (SKIP_WHITESPACE): Turn into an expression.
196 * read.c (read_a_source_file): A pseudo is removed by having a
199 2004-02-05 James E Wilson <wilson@specifixinc.com>
201 * config/tc-ia64.c (output_endp): New.
202 (count_bits): Delete.
203 (ia64_flush_insns, process_one_record, optimize_unw_records): Handle
205 (fixup_unw_records): Handle endp unwind records. Delete code for
206 shortening prologue regions not followed by a body record.
207 (dot_endp): Call add_unwind_entry to emit endp unwind record.
208 * config/tc-ia64.h (unw_record_type): Add endp.
210 2004-02-03 James E Wilson <wilson@specifixinc.com>
212 * config/tc-ia64.c (ia64_convert_frag): Call md_number_to_chars to
213 fill padding bytes with zeroes.
214 (emit_one_bundle): New locals last_ptr, end_ptr. Rewrite code that
215 sets unwind_record slot_number and slot_frag fields.
217 2004-02-02 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
219 * config/tc-mips.c (add_got_offset_hilo): New function.
220 (macro): Use load_register() and add_got_offset_hilo() to load
221 constants instead of hardcoding code sequences throughout.
223 2004-01-28 H.J. Lu <hongjiu.lu@intel.com>
225 * config/tc-ia64.c (emit_one_bundle): Add proper indentation.
227 2004-01-26 Bernardo Innocenti <bernie@develer.com>
229 * config/tc-m68k.h (EXTERN_FORCE_RELOC): Handle m68k-uclinux specially,
231 * config/tc-m68k.c (RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead
232 of hard-coded test for TARGET_OS=elf.
234 2004-01-24 Chris Demetriou <cgd@broadcom.com>
236 * config/tc-mips.c (hilo_interlocks): Change definition
237 so that MIPS32, MIPS64 and later ISAs are included, along with
238 the already-included machines. Update comments.
240 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
242 * config/tc-arm.c (tc_gen_reloc): Improve error message for
243 undefined local labels.
245 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
247 * config/tc-mips.c (load_address, macro): Update comments about
248 NewABI GP relaxation.
250 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
252 * config/tc-mips.c (macro_build): Remove place and counter arguments.
253 (mips_build_lui, macro_build_ldst_constoffset): Likewise.
254 (mips16_macro_build, macro_build_jalr): Remove counter argument.
255 (set_at, load_register, load_address, move_register): Likewise.
256 (load_got_offset, add_got_offset): Likewise.
257 Update all calls and tidy accordingly.
259 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
261 * config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.
262 (RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities.
263 (RELAX_USE_SECOND): Bump to 0x10000.
264 (RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags.
265 (mips_macro_warning): New variable.
266 (md_assemble): Wrap macro expansion in macro_start() and macro_end().
267 (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise.
268 (relax_close_frag): Set mips_macro_warning.first_frag. Adjust use
270 (append_insn): Update mips_macro_warning.sizes.
271 (macro_start, macro_warning, macro_end): New functions.
272 (macro_build): Don't emit warnings here.
273 (macro_build_lui, md_estimate_size_before_relax): ...or here.
274 (md_convert_frag): Check for cases where one macro alternative
275 needs a warning and the other doesn't. Emit a warning if the
276 longer sequence was chosen.
278 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
280 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
281 * config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of
282 the first sequence, the size of the second sequence, and a flag
283 that says whether we should warn.
284 (RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete.
285 (RELAX_FIRST, RELAX_SECOND): New.
286 (mips_relax): New variable.
287 (relax_close_frag, relax_start, relax_switch, relax_end): New fns.
288 (append_insn): Remove "place" argument. Use mips_relax.sequence
289 rather than "place" to check whether we're expanding the second
290 alternative of a relaxable macro. Remove redundant check for
291 branch relaxation. If generating a normal insn, and there
292 is not enough room in the current frag, call relax_close_frag()
293 to close it. Update mips_relax.sizes[]. Emit fixups for the
294 second version of a relaxable macro. Record the first relaxable
295 fixup in mips_relax. Remove tc_gen_reloc workaround.
296 (macro_build): Remove all uses of "place". Use mips_relax.sequence
297 in the same way as in append_insn.
298 (mips16_macro_build): Remove "place" argument.
299 (macro_build_lui): As for macro_build. Don't drop the add_symbol
300 when generating the second version of a relaxable macro.
301 (load_got_offset, add_got_offset): New functions.
302 (load_address, macro): Use new relaxation machinery. Remove
303 tc_gen_reloc workarounds.
304 (md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second
305 version of a relaxable macro is needed. Return -RELAX_SECOND if the
306 first version is needed.
307 (tc_gen_reloc): Remove relaxation handling.
308 (md_convert_frag): Go through the fixups for a relaxable macro and
309 mark those that belong to the unneeded alternative as done. If the
310 second alternative is needed, adjust the fixup addresses to account
311 for the deleted first alternative.
313 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
315 * frags.h (frag_room): Declare.
316 * frags.c (frag_room): New function.
317 * doc/internals.texi: Document it.
319 2004-01-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
321 * config/tc-mips.c (append_insn): Don't do r3900 interlock
322 optimization for -mtune=r3900, as this will break on other CPUs.
324 2004-01-11 Tom Rix <tcrix@worldnet.att.net>
326 * config/tc-m68hc11.c (build_indexed_byte): movb and movw cannot
327 be relaxed, use fixup.
328 (md_apply_fix3): Use 5 bit reloc from movb and movw fixup.
330 2004-01-19 Jakub Jelinek <jakub@redhat.com>
332 * config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single
335 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
337 * config/tc-mips.c (append_insn): Properly detect variant frags
338 that preclude swapping of relaxed branches. Correctly swap
339 instructions between frags when dealing with relaxed branches.
341 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
343 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
345 * aclocal.m4: Regenerate.
346 * configure: Regenerate.
348 2004-01-12 Anil Paranjpe <anilp1@KPITCummins.com>
350 * config/tc-h8300.c (build_bytes): Apply relaxation to bit
353 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
355 * config/tc-mips.c (macro_build_jalr): When adding an R_MIPS_JALR
356 reloc, reserve space for the delay slot as well as the jalr itself.
358 2004-01-09 Paul Brook <paul@codesourcery.com>
360 * config/tc-arm.c (do_vfp_reg2_from_sp2): Rename from do_vfp_sp_reg2.
361 (do_vfp_sp2_from_reg2): New function.
363 (do_vfp_dp_from_reg2): Check return values properly.
365 2004-01-08 Ian Lance Taylor <ian@wasabisystems.com>
367 * config/tc-mips.c (warn_nops): Remove static variable.
368 (macro): Remove test of warn_nops.
369 (md_shortops): Remove 'n'.
370 (md_parse_option): Remove 'n' case.
371 (md_show_usage): Remove -n.
372 * doc/as.texinfo (Overview): Remove MIPS -n option.
373 * doc/c-mips.texi (MIPS Opts): Remove mention -n.
374 * NEWS: Mention removal of MIPS -n option.
376 * config/tc-mips.c (ISA_HAS_COPROC_DELAYS): Remove.
377 (cop_interlocks): Check ISA level.
378 (cop_mem_interlocks): Define.
379 (reg_needs_delay): Check cop_interlocks rather than
380 ISA_HAS_COPROC_DELAYS.
381 (append_insn): Likewise. Use cop_mem_interlocks rather than
382 directly checking mips_opts.isa.
383 (mips_emit_delays): Likewise.
385 2004-01-07 H.J. Lu <hongjiu.lu@intel.com>
387 * config/tc-ia64.c (unwind): Move next_slot_number and
388 next_slot_frag to ...
389 (unw_rec_list): Here.
390 (free_list_records): Removed.
391 (output_unw_records): Likewise.
392 (generate_unwind_image): Make it void.
393 (alloc_record): Initialize next_slot_number and next_slot_frag.
394 (slot_index): Take .org, .space and .align into account.
395 (fixup_unw_records): Don't set slot_number to 0. Use
396 list->next_slot_number and list->next_slot_frag instead of
397 unwind.next_slot_number and unwind.next_slot_frag.
398 (ia64_convert_frag): New.
399 (generate_unwind_image): Generate a rs_machine_dependent frag
401 (emit_one_bundle): Use list->next_slot_number and
402 list->next_slot_frag instead of unwind.next_slot_number and
403 unwind.next_slot_frag.
405 * config/tc-ia64.h (md_convert_frag): Defined as
407 (md_estimate_size_before_relax): Defined as (f)->fr_var.
409 2004-01-06 Alexandre Oliva <aoliva@redhat.com>
411 2003-12-19 Alexandre Oliva <aoliva@redhat.com>
412 * config/tc-frv.h (md_apply_fix3): Don't define.
413 * config/tc-frv.c (md_apply_fix3): New. Shift/truncate %hi/%lo
415 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
416 2003-10-07 Alexandre Oliva <aoliva@redhat.com>
417 * config/tc-frv.c (line_separator_chars): Add `!'.
418 2003-09-19 Alexandre Oliva <aoliva@redhat.com>
419 * config/tc-frv.c (md_assemble): Clear insn upfront.
420 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
421 * config/tc-frv.c (OPTION_FDPIC): New macro.
422 (md_longopts): Add mfdpic.
423 (md_parse_option): Handle it.
424 2003-08-04 Alexandre Oliva <aoliva@redhat.com>
425 * config/tc-frv.c (md_cgen_lookup_reloc) <FRV_OPERAND_D12,
426 FRV_OPERAND_S12>: Use reloc type encoded in fix-up.
427 (frv_pic_ptr): Parse funcdesc.
429 2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
431 * doc/as.texinfo: Let texi2pod parse asconfig.texi and
432 gasver.texi. Remove duplicate symbol definitions for texi2pod.
434 2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
436 * Makefile.am (Makefile): Move the dependency on
437 $(BFDDIR)/configure.in to...
438 (CONFIG_STATUS_DEPENDENCIES): ... here.
439 (AUTOMAKE_OPTIONS): Require automake 1.8.
440 * Makefile.in: Regenerate.
441 * doc/Makefile.am (BASEDIR, BFDDIR): Define.
442 (CONFIG_STATUS_DEPENDENCIES): Add a dependency on
443 $(BFDDIR)/configure.in here as well.
444 * doc/Makefile.in: Regenerate.
446 2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
448 * Makefile.am (install, install-info, RECURSIVE_TARGETS): Remove.
449 * Makefile.in: Regenerate.
450 * aclocal.m4: Regenerate.
451 * doc/Makefile.am (install, install-info): Remove.
452 (install-data-local): A new hook for install-info.
453 (AUTOMAKE_OPTIONS): Require automake 1.8.
454 * doc/Makefile.in: Regenerate.
456 2004-01-02 Nutan Singh <nutan@kpitcummins.com>
458 * doc/c-sh.texi: Update description about floating point behavior
461 2004-01-02 Bernardo Innocenti <bernie@develer.com>
463 * configure.in: Add m68k-uClinux target.
464 * configure: Regenerate.
466 For older changes see ChangeLog-0203
472 version-control: never