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