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