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