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