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