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