Fix testcase from David Mosberger.
[binutils.git] / gas / ChangeLog
blobf589373c63f90aab76653f61b282a9fe1032df33
1 2004-02-03  James E Wilson  <wilson@specifixinc.com>
3         * config/tc-ia64.c (ia64_convert_frag): Call md_number_to_chars to
4         fill padding bytes with zeroes.
5         (emit_one_bundle): New locals last_ptr, end_ptr.  Rewrite code that
6         sets unwind_record slot_number and slot_frag fields.
8 2004-02-02  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
10         * config/tc-mips.c (add_got_offset_hilo): New function.
11         (macro): Use load_register() and add_got_offset_hilo() to load
12         constants instead of hardcoding code sequences throughout.
14 2004-01-28  H.J. Lu  <hongjiu.lu@intel.com>
16         * config/tc-ia64.c (emit_one_bundle): Add proper indentation.
18 2004-01-26  Bernardo Innocenti  <bernie@develer.com>
20         * config/tc-m68k.h (EXTERN_FORCE_RELOC): Handle m68k-uclinux specially,
21         like m68k-elf.
22         * config/tc-m68k.c (RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead
23         of hard-coded test for TARGET_OS=elf.
25 2004-01-24  Chris Demetriou  <cgd@broadcom.com>
27         * config/tc-mips.c (hilo_interlocks): Change definition
28         so that MIPS32, MIPS64 and later ISAs are included, along with
29         the already-included machines.  Update comments.
31 2004-01-23  Daniel Jacobowitz  <drow@mvista.com>
33         * config/tc-arm.c (tc_gen_reloc): Improve error message for
34         undefined local labels.
36 2004-01-23  Richard Sandiford  <rsandifo@redhat.com>
38         * config/tc-mips.c (load_address, macro): Update comments about
39         NewABI GP relaxation.
41 2004-01-23  Richard Sandiford  <rsandifo@redhat.com>
43         * config/tc-mips.c (macro_build): Remove place and counter arguments.
44         (mips_build_lui, macro_build_ldst_constoffset): Likewise.
45         (mips16_macro_build, macro_build_jalr): Remove counter argument.
46         (set_at, load_register, load_address, move_register): Likewise.
47         (load_got_offset, add_got_offset): Likewise.
48         Update all calls and tidy accordingly.
50 2004-01-23  Richard Sandiford  <rsandifo@redhat.com>
52         * config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.
53         (RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities.
54         (RELAX_USE_SECOND): Bump to 0x10000.
55         (RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags.
56         (mips_macro_warning): New variable.
57         (md_assemble): Wrap macro expansion in macro_start() and macro_end().
58         (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise.
59         (relax_close_frag): Set mips_macro_warning.first_frag.  Adjust use
60         of RELAX_ENCODE.
61         (append_insn): Update mips_macro_warning.sizes.
62         (macro_start, macro_warning, macro_end): New functions.
63         (macro_build): Don't emit warnings here.
64         (macro_build_lui, md_estimate_size_before_relax): ...or here.
65         (md_convert_frag): Check for cases where one macro alternative
66         needs a warning and the other doesn't.  Emit a warning if the
67         longer sequence was chosen.
69 2004-01-23  Richard Sandiford  <rsandifo@redhat.com>
71         * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
72         * config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of
73         the first sequence, the size of the second sequence, and a flag
74         that says whether we should warn.
75         (RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete.
76         (RELAX_FIRST, RELAX_SECOND): New.
77         (mips_relax): New variable.
78         (relax_close_frag, relax_start, relax_switch, relax_end): New fns.
79         (append_insn): Remove "place" argument.  Use mips_relax.sequence
80         rather than "place" to check whether we're expanding the second
81         alternative of a relaxable macro.  Remove redundant check for
82         branch relaxation.  If generating a normal insn, and there
83         is not enough room in the current frag, call relax_close_frag()
84         to close it.  Update mips_relax.sizes[].  Emit fixups for the
85         second version of a relaxable macro.  Record the first relaxable
86         fixup in mips_relax.  Remove tc_gen_reloc workaround.
87         (macro_build): Remove all uses of "place".  Use mips_relax.sequence
88         in the same way as in append_insn.
89         (mips16_macro_build): Remove "place" argument.
90         (macro_build_lui): As for macro_build.  Don't drop the add_symbol
91         when generating the second version of a relaxable macro.
92         (load_got_offset, add_got_offset): New functions.
93         (load_address, macro): Use new relaxation machinery.  Remove
94         tc_gen_reloc workarounds.
95         (md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second
96         version of a relaxable macro is needed.  Return -RELAX_SECOND if the
97         first version is needed.
98         (tc_gen_reloc): Remove relaxation handling.
99         (md_convert_frag): Go through the fixups for a relaxable macro and
100         mark those that belong to the unneeded alternative as done.  If the
101         second alternative is needed, adjust the fixup addresses to account
102         for the deleted first alternative.
104 2004-01-23  Richard Sandiford  <rsandifo@redhat.com>
106         * frags.h (frag_room): Declare.
107         * frags.c (frag_room): New function.
108         * doc/internals.texi: Document it.
110 2004-01-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
112         * config/tc-mips.c (append_insn): Don't do r3900 interlock
113         optimization for -mtune=r3900, as this will break on other CPUs.
115 2004-01-11  Tom Rix   <tcrix@worldnet.att.net>
117         * config/tc-m68hc11.c (build_indexed_byte): movb and movw cannot
118         be relaxed, use fixup. 
119         (md_apply_fix3): Use 5 bit reloc from movb and movw fixup.
121 2004-01-19  Jakub Jelinek  <jakub@redhat.com>
123         * config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single
124         precision operands.
126 2004-01-14  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
128         * config/tc-mips.c (append_insn): Properly detect variant frags
129         that preclude swapping of relaxed branches.  Correctly swap
130         instructions between frags when dealing with relaxed branches.
132 2004-01-14  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
134         * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
135         throughout.
136         * aclocal.m4: Regenerate.
137         * configure: Regenerate.
139 2004-01-12  Anil Paranjpe  <anilp1@KPITCummins.com>
140         
141         * config/tc-h8300.c (build_bytes): Apply relaxation to bit
142         manipulation insns.
144 2004-01-12  Richard Sandiford  <rsandifo@redhat.com>
146         * config/tc-mips.c (macro_build_jalr): When adding an R_MIPS_JALR
147         reloc, reserve space for the delay slot as well as the jalr itself.
149 2004-01-09  Paul Brook  <paul@codesourcery.com>
151         * config/tc-arm.c (do_vfp_reg2_from_sp2): Rename from do_vfp_sp_reg2.
152         (do_vfp_sp2_from_reg2): New function.
153         (insns): Use them.
154         (do_vfp_dp_from_reg2): Check return values properly.
156 2004-01-08  Ian Lance Taylor  <ian@wasabisystems.com>
158         * config/tc-mips.c (warn_nops): Remove static variable.
159         (macro): Remove test of warn_nops.
160         (md_shortops): Remove 'n'.
161         (md_parse_option): Remove 'n' case.
162         (md_show_usage): Remove -n.
163         * doc/as.texinfo (Overview): Remove MIPS -n option.
164         * doc/c-mips.texi (MIPS Opts): Remove mention -n.
165         * NEWS: Mention removal of MIPS -n option.
167         * config/tc-mips.c (ISA_HAS_COPROC_DELAYS): Remove.
168         (cop_interlocks): Check ISA level.
169         (cop_mem_interlocks): Define.
170         (reg_needs_delay): Check cop_interlocks rather than
171         ISA_HAS_COPROC_DELAYS.
172         (append_insn): Likewise.  Use cop_mem_interlocks rather than
173         directly checking mips_opts.isa.
174         (mips_emit_delays): Likewise.
176 2004-01-07  H.J. Lu  <hongjiu.lu@intel.com>
178         * config/tc-ia64.c (unwind): Move next_slot_number and
179         next_slot_frag to ...
180         (unw_rec_list): Here.
181         (free_list_records): Removed.
182         (output_unw_records): Likewise.
183         (generate_unwind_image): Make it void.
184         (alloc_record): Initialize next_slot_number and next_slot_frag.
185         (slot_index): Take .org, .space and .align into account.
186         (fixup_unw_records): Don't set slot_number to 0. Use
187         list->next_slot_number and list->next_slot_frag instead of
188         unwind.next_slot_number and unwind.next_slot_frag.
189         (ia64_convert_frag): New.
190         (generate_unwind_image): Generate a rs_machine_dependent frag
191         for unwind record.
192         (emit_one_bundle): Use list->next_slot_number and
193         list->next_slot_frag instead of unwind.next_slot_number and
194         unwind.next_slot_frag.
196         * config/tc-ia64.h (md_convert_frag): Defined as
197         ia64_convert_frag.
198         (md_estimate_size_before_relax): Defined as (f)->fr_var.
200 2004-01-06  Alexandre Oliva  <aoliva@redhat.com>
202         2003-12-19  Alexandre Oliva  <aoliva@redhat.com>
203         * config/tc-frv.h (md_apply_fix3): Don't define.
204         * config/tc-frv.c (md_apply_fix3): New.  Shift/truncate %hi/%lo
205         operands.
206         * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
207         2003-10-07  Alexandre Oliva  <aoliva@redhat.com>
208         * config/tc-frv.c (line_separator_chars): Add `!'.
209         2003-09-19  Alexandre Oliva  <aoliva@redhat.com>
210         * config/tc-frv.c (md_assemble): Clear insn upfront.
211         2003-09-18  Alexandre Oliva  <aoliva@redhat.com>
212         * config/tc-frv.c (OPTION_FDPIC): New macro.
213         (md_longopts): Add mfdpic.
214         (md_parse_option): Handle it.
215         2003-08-04  Alexandre Oliva  <aoliva@redhat.com>
216         * config/tc-frv.c (md_cgen_lookup_reloc) <FRV_OPERAND_D12,
217         FRV_OPERAND_S12>: Use reloc type encoded in fix-up.
218         (frv_pic_ptr): Parse funcdesc.
220 2004-01-05  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
222         * doc/as.texinfo: Let texi2pod parse asconfig.texi and
223         gasver.texi.  Remove duplicate symbol definitions for texi2pod.
225 2004-01-05  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
227         * Makefile.am (Makefile): Move the dependency on
228         $(BFDDIR)/configure.in to...
229         (CONFIG_STATUS_DEPENDENCIES): ... here.
230         (AUTOMAKE_OPTIONS): Require automake 1.8.
231         * Makefile.in: Regenerate.
232         * doc/Makefile.am (BASEDIR, BFDDIR): Define.
233         (CONFIG_STATUS_DEPENDENCIES): Add a dependency on
234         $(BFDDIR)/configure.in here as well.
235         * doc/Makefile.in: Regenerate.
237 2004-01-05  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
239         * Makefile.am (install, install-info, RECURSIVE_TARGETS): Remove.
240         * Makefile.in: Regenerate.
241         * aclocal.m4: Regenerate.
242         * doc/Makefile.am (install, install-info): Remove.
243         (install-data-local): A new hook for install-info.
244         (AUTOMAKE_OPTIONS): Require automake 1.8.
245         * doc/Makefile.in: Regenerate.
247 2004-01-02  Nutan Singh <nutan@kpitcummins.com>
249         * doc/c-sh.texi: Update description about floating point behavior
250         of SH family.
252 2004-01-02  Bernardo Innocenti  <bernie@develer.com>
254         * configure.in: Add m68k-uClinux target.
255         * configure: Regenerate.
257 For older changes see ChangeLog-0203
259 Local Variables:
260 mode: change-log
261 left-margin: 8
262 fill-column: 74
263 version-control: never
264 End: