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