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