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