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