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