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