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