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