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