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