672bc686c1b898c27724a89088d8abd09912ea92
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2004-04-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2
3 * config/tc-mips.c (hilo_interlocks, gpr_interlocks,
4 cop_interlocks): Remove superfluous CPU entries.
5
6 2004-04-22 Paul Brook <paul@codesourcery.com>
7
8 * config/tc-arm.c (mav_parse_offset): Value must be multiple of 4.
9
10 2004-04-22 Peter Barada <peter@the-baradas.com>
11
12 * NEWS: Added support for EMAC instructions and MAC/EMAC
13 Motorola syntax.
14 * config/m68k-parse.h: Add ACC[123], ACCEXT{01,23}, MAC/EMAC
15 scale factor tokens, trailing_ampersand to mark mask addressing
16 for MAC/EMAC instructions.
17 * config/m68k-parse.y: Add options_ampersand clause, '<<',
18 '>>'.
19 (yylex): Handle '>', '<', and '&' following '+'.
20 * config/tc-m68k.c: Set mcfmac/mcfemac on appropriate ColdFire
21 architectures in archs[].
22 (m68k-ip): Add '4', 'e', 'g', 'i', cases to handle mask addressing
23 for MAC/EMAC instructions, ACC[0123], ACCEXT{01,23}, and '<<'/'>>'
24 respectively.
25 (m68k_ip): Handle trailing '&' on MAC/EMAC insns.
26 (install_operand): Fix 'n' case, Add 'F', 'f', 'G', 'H', 'I', ']'
27 cases.
28 Add EMAC operands to init_table[].
29
30 2004-04-22 Bruno De Bus <bdebus@elis.ugent.be>
31
32 * config/tc-arm.h (enum mstate): Move here, add MAP_UNDEFINED
33 state.
34 (TC_SEGMENT_INFO_TYPE): Define to enum mstate.
35 * config/tc-arm.c (enum mstate): Delete from here.
36 (mapping_state): Remove the static mapstate variable and instead
37 store the state in the segment. This allows a per-section mapping
38 state. Handle and ignore MAP_UNDEFINED states.
39 (arm_elf_change_section): Get the current mapping state from the
40 new section.
41 (s_ltorg): Set the mapping state to MAP_DATA.
42 (arm_cleanup): Use arm_elf_change_section to get the mapping state
43 for each pool as it is emitted.
44
45 2004-04-22 Nick Clifton <nickc@redhat.com>
46
47 * config/tc-arm.h: Formatting tidy ups.
48
49 2004-04-20 Chris Demetriou <cgd@broadcom.com>
50
51 * NEWS: Note that MIPS -membedded-pic option is deprecated.
52
53 2004-04-20 DJ Delorie <dj@redhat.com>
54
55 * config/tc-i386.h [TE_PE] (TC_CONS_FIX_NEW): Define.
56 * config/tc-i386.c (md_pseudo_table) [TE_PE]: Add "secrel32".
57 [TE_PE] (O_secrel): Define.
58 [TE_PE] (x86_pe_cons_fix_new): New.
59 [TE_PE] (pe_directive_secrel): Likewise.
60 (tc_gen_reloc) [TE_PE]: Support BFD_RELOC_32_SECREL.
61
62 2004-04-19 Eric Christopher <echristo@redhat.com>
63
64 * config/tc-mips.c (mips_dwarf2_addr_size): Revert part
65 of previous patch for fix in gcc.
66
67 2004-04-19 Jakub Jelinek <jakub@redhat.com>
68
69 * config/tc-xtensa.c (xg_assembler_literal): Fix a typo.
70
71 2004-04-19 Nathan Sidwell <nathan@codesourcery.com>
72
73 * read.c (do_align): Call md_flush_pending_output, if defined.
74
75 2004-04-16 Alan Modra <amodra@bigpond.net.au>
76
77 * expr.c (operand): Correct checks for ++ and --.
78
79 2004-04-14 H.J. Lu <hongjiu.lu@intel.com>
80
81 * config/tc-generic.c: Add some comments.
82
83 2004-04-14 Richard Sandiford <rsandifo@redhat.com>
84
85 * doc/c-mips.texi (-m{no-,}fix-vr4120): Renamed from
86 -{no-}mfix-vr4122-bugs.
87 * config/tc-mips.c (mips_fix_vr4120): Renamed from mips_fix_4122_bugs.
88 (append_insn, mips_emit_delays): Update accordingly.
89 (OPTION_FIX_VR4120, OPTION_NO_FIX_VR4120): Renamed from *VR4122.
90 (md_longopts): Change -{no-,}mfix-vr4122-bugs to -m{no-,}fix-vr4120.
91 (md_parse_option): Update after above changes.
92 (md_show_usage): Add -mfix-vr4120.
93
94 2004-04-13 Bob Wilson <bob.wilson@acm.org>
95
96 * doc/as.texinfo (Sub-Sections): Conditionalize COFF-specific use
97 of .section directive; add a reference to the ELF .subsection
98 directive.
99
100 2004-04-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
101
102 * config/tc-m32r.c (md_assemble): Fixed infinite loop bug
103 in parallel.
104
105 2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
106
107 * Makefile.am: Remove mips from aout targets.
108 * Makefile.in: Regenerate.
109 * configure.in: Remove mips-dec-bsd* target.
110 * configure: Regenerate.
111
112 2004-04-07 Alan Modra <amodra@bigpond.net.au>
113
114 PR 96
115 * config/tc-ppc.c (ppc_elf_suffix): Add valid32 and valid64 fields
116 to struct map_bfd. Adjust MAP macro, and define MAP32, MAP64.
117 Update "mapping". Restrict some @ modifiers to 32 bit.
118
119 2004-04-01 Asgari Jinia <asgarij@kpitcummins.com>
120 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
121
122 * config/tc-sh.c (dont_adjust_reloc_32): New variable.
123 (sh_fix_adjustable): Avoid adjusting BFD_RELOC_32 when
124 dont_adjust_reloc_32 is set.
125 (md_longopts): Add option -renesas.
126 (md_parse_option, md_show_usage): Likewise.
127 * doc/c-sh.texi: Likewise.
128
129 2004-04-01 Dave Korn <dk@artimi.com>
130
131 * config/tc-dlx.c (md_assemble): set fx_no_overflow flag for
132 hi16 and lo16 fixS structs.
133 (md_assemble): generate bit_fixS for RELOC_DLX_LO16 in
134 exactly the same way as for RELOC_DLX_REL16.
135 (machine_ip): properly respect LO flag in the_insn and
136 output RELOC_DLX_LO16 rather than RELOC_DLX_16.
137 (md_apply_fix3): apply RELOC_DLX_LO16.
138
139 2004-03-30 Stan Shebs <shebs@apple.com>
140
141 Remove long-obsolete MPW support.
142 * mpw-config.in, mpw-make.sed, mac-as.r: Remove files.
143 * configure.in: Remove mention of ppc-*-mpw* config.
144 * configure.in: Likewise.
145
146 2004-03-30 Nick Clifton <nickc@redhat.com>
147
148 * config/tc-arm.c (meabi_flags): Make its use conditional upon
149 OBJ_ELF being defined.
150
151 2004-03-27 Alan Modra <amodra@bigpond.net.au>
152
153 * config/obj-aout.c (obj_aout_type): Remove #ifdef BFD_ASSEMBLER code.
154
155 2004-03-23 Paul Brook <paul@codesourcery.com>
156
157 * config/tc-arm.c (meabi_flags): New variable.
158 (arm_parse_eabi): New function.
159 (md_begin): Set flags for EABI v3.
160 (arm_eabis): Add.
161 (arm_long_opts): Add meabi.
162 * doc/as.texinf <ARM>: Document -meabi.
163 * doc/c-arm.texi: Ditto.
164
165 2004-03-22 Bob Wilson <bob.wilson@acm.org>
166
167 * config/tc-xtensa.c (xtensa_post_relax_hook): Create literal
168 tables even when use_literal_section flag is not set.
169
170 2004-03-22 Alan Modra <amodra@bigpond.net.au>
171
172 * config/tc-sh.c: Remove trailing whitespace.
173
174 2004-03-22 Hans-Peter Nilsson <hp@axis.com>
175
176 * doc/c-cris.texi (CRIS-Opts): Document --no-mul-bug-abort,
177 --mul-bug-abort and the default behavior.
178 * config/tc-cris.c (cris_insn_kind): New member CRIS_INSN_MUL.
179 (err_for_dangerous_mul_placement): New variable.
180 (STATE_MUL, OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): New
181 macros.
182 (md_cris_relax_table): Have placeholder for STATE_MUL.
183 (md_longopts): New options --mul-bug-abort and --no-mul-bug-abort.
184 (cris_relax_frag) <case ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: New
185 case doing nothing.
186 (md_estimate_size_before_relax) <case ENCODE_RELAX (STATE_MUL,
187 STATE_BYTE)>: Ditto.
188 (md_convert_frag) <ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: Check
189 alignment and position of this frag, emit error message if
190 suspicious.
191 (md_assemble): For a multiply insn and when checking it,
192 transform the current frag into a special frag for that purpose.
193 (md_parse_option) <case OPTION_MULBUG_ABORT_OFF, case
194 OPTION_MULBUG_ABORT_ON>: Handle new options.
195
196 2004-03-19 Bob Wilson <bob.wilson@acm.org>
197
198 * config/tc-xtensa.c (mark_literal_frags): New function.
199 (xtensa_move_literals): Call mark_literal_frags for all literal
200 segments, including init and fini literal segments.
201 (xtensa_post_relax_hook): Swap use of xt_insn_sec and xt_literal_sec.
202
203 2004-03-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
204
205 * tc-hppa.c (cons_fix_new_hppa): Check for PC relative base type.
206 (pa_comm): Set BSF_OBJECT in symbol flags.
207
208 2004-03-19 Alan Modra <amodra@bigpond.net.au>
209
210 * Makefile.am: Run "make dep-am".
211 * Makefile.in: Regenerate.
212 * doc/Makefile.in: Regenerate.
213 * config.in: Regenerate.
214 * po/gas.pot: Regenerate.
215
216 2004-03-18 Nathan Sidwell <nathan@codesourcery.com>
217
218 * read.c (read_a_source_file): Use demand_empty_rest_of_line.
219 (demand_empty_rest_of_line): Issue an error here.
220 (ignore_rest_of_line): Silently skip to end.
221 (demand_copy_string): Issue an error, not warning.
222 (equals): Likewise.
223 * config/obj-elf.c (obj_elf_section_name): Likewise.
224 (obj_elf_section): Likewise.
225 * config/tc-arc.c (arc_extoper): Remove bogus NULL checks.
226 (arc_extinst): Likewise.
227 * config/tc-ia64.c (dot_saveb): Use demand_empty_rest_of_line.
228 (dot_spill): Likewise.
229 (dot_unwabi): Likewise.
230 (dot_prologue): Likewise.
231
232 * expr.c (operand): Reject ++ and --.
233 (operator): Likewise.
234
235 2004-03-17 Kaz Kojima <kkojima@rr.iij4u.or.jp>
236
237 * config/tc-sh.c: Include dw2gencfi.h.
238 (sh_cfi_frame_initial_instructions): New function.
239 (sh_regname_to_dw2regnum): Likewise.
240 * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Move to the end of
241 file.
242 (TARGET_USE_CFIPOP): Define.
243 (tc_cfi_frame_initial_instructions): Likewise.
244 (tc_regname_to_dw2regnum): Likewise.
245 (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Likewise.
246 * Makefile.am: Update dependencies.
247 * Makefile.in: Regenerate.
248
249 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
250
251 * configure.in: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
252 * configure: Regenerate.
253
254 2004-03-12 Bob Wilson <bob.wilson@acm.org>
255
256 * read.c (s_leb128): Call md_flush_pending_output.
257
258 2004-03-12 Michal Ludvig <mludvig@suse.cz>
259
260 * config/tc-i386.c (output_insn): Handle PadLock instructions.
261 * config/tc-i386.h (CpuPadLock): New define.
262 (CpuUnknownFlags): Added CpuPadLock.
263
264 2004-03-07 Andreas Schwab <schwab@suse.de>
265
266 * doc/c-hppa.texi (HPPA Directives): Fix typo.
267
268 2004-03-07 Richard Henderson <rth@redhat.com>
269
270 * dw2gencfi.c (output_cie): Align length to 4 byte boundary.
271 (cfi_finish): Likewise for fde.
272
273 2004-03-05 H.J. Lu <hongjiu.lu@intel.com>
274
275 * config/tc-ia64.c (md_assemble): Properly handle NULL
276 align_frag.
277 (ia64_handle_align): Don't abort if failed to add a stop bit.
278
279 2004-03-04 H.J. Lu <hongjiu.lu@intel.com>
280
281 * Makefile.in: Regenerated.
282 * aclocal.m4: Likewise.
283 * configure: Likewise.
284 * doc/Makefile.in: Likewise.
285
286 2004-03-03 H.J. Lu <hongjiu.lu@intel.com>
287
288 * config/tc-ia64.c (dot_align): New.
289 (ia64_do_align): Make it static.
290 (md_pseudo_table): Use "dot_align" for "align".
291 (ia64_md_do_align): Don't set align_frag here.
292 (ia64_handle_align): Add a stop bit to the previous bundle if
293 needed.
294
295 * config/tc-ia64.h (ia64_do_align): Removed.
296
297 2003-03-03 Andrew Stubbs <andrew.stubbs@superh.com>
298
299 * config/tc-sh.c (md_parse_option): Add -isa=sh4-nofpu and
300 -isa=sh4-nommu-nofpu options. Adjust help messages accordingly.
301 (sh_elf_final_processing): Output BFD type sh4_nofpu if that is
302 the most general type or the user specifically requested it.
303 (md_assemble): Add a new error message for when an instruction
304 is understood, but is not allowed due to an -isa option.
305
306 2004-03-02 H.J. Lu <hongjiu.lu@intel.com>
307
308 * config/tc-ia64.c (align_frag): New.
309 (md_assemble): Set the tc_frag_data field in align_frag for
310 IA64_OPCODE_FIRST instructions.
311 (ia64_md_do_align): Set align_frag.
312 (ia64_handle_align): Add a stop bit if needed.
313
314 * config/tc-ia64.h (TC_FRAG_TYPE): New.
315 (TC_FRAG_INIT): New.
316
317 2004-03-01 Richard Sandiford <rsandifo@redhat.com>
318
319 * config/tc-frv.c (fr400_audio): New variable.
320 (md_parse_option, md_show_usage): Add -mcpu=fr405 and -mcpu=fr450.
321 (md_parse_option): Set fr400_audio for -mcpu=fr400 and -mcpu=fr405.
322 (target_implements_insn_p): New function.
323 (md_assemble): Report an error if the processor doesn't implement
324 the instruction.
325
326 2004-02-27 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
327
328 * config/tc-m32r.c (md_longopts): Added -no-bitinst option.
329 (md_parse_option): Ditto.
330 (OPTION_NO_SPECIAL_M32R): Added.
331 (md_show_usage): Document it.
332 (enable_speial_m32r): Changed a default value from 0 to 1.
333 * doc/c-m32r.texi: Document the -no-bitinst option.
334
335 2004-02-27 Nick Clifton <nickc@redhat.com>
336
337 * config/tc-sh.c (get_operand): Revert previous delta.
338 (tc_gen_reloc): Check for an unknown reloc type before processing
339 the addend.
340
341 2004-02-27 Hannes Reinecke <hare@suse.de>
342
343 * config/tc-s390.c (s390_insn): Correct range check for opcode in
344 .insn pseudo operation.
345
346 2004-02-27 Anil Paranjpe <anilp1@kpitcummins.com>
347
348 * config/tc-sh.c (get_operand): In case of #Imm, check has been
349 added for wrong syntax.
350
351 2004-02-26 Eric Christopher <echristo@redhat.com>
352
353 * config/tc-mips.c (mips_dwarf2_addr_size): New.
354 * config/tc-mips.h (DWARF2_ADDR_SIZE): Use.
355
356 2004-02-26 Andrew Stubbs <andrew.stubbs@superh.com>
357
358 * config/tc-sh.c (build_Mytes): Add REG_N_D and REG_N_B01
359 nibble types to assembler.
360
361 2004-02-25 Fred Fish <fnf@redhat.com>
362
363 * config/tc-iq2000.c: Add missing \n\ in multiline string literal.
364
365 2004-02-20 James E Wilson <wilson@specifixinc.com>
366
367 * config/tc-ia64.c (slot_index): New arg before_relax. Use instead of
368 finalize_syms.
369 (fixup_unw_records): New arg before_relax. Pass to slot_index.
370 (ia64_estimate_size_before_relax): New.
371 (ia64_convert_frag): Pass 0 to fixup_unw_records. Add comment.
372 (generate_unwind_image): Pass 1 to fixup_unw_records.
373 * config/tc-ia64.h (ia64_estimate_size_before_relax): Declare.
374 (md_estimate_size_before_relax): Call ia64_estimate_size_before_relax.
375
376 2004-02-19 Jakub Jelinek <jakub@redhat.com>
377
378 * stabs.c (generate_asm_file): Avoid warning about use of
379 uninitialized variable.
380
381 2004-02-18 David Mosberger <davidm@hpl.hp.com>
382
383 * config/tc-ia64.c (ia64_flush_insns): In addition to prologue,
384 body, and endp, allow unwind records which do not have a "t"
385 (time/instruction) field.
386
387 2004-02-17 Petko Manolov <petkan@nucleusys.com>
388
389 * config/tc-arm.c (do_mav_dspsc_1): Correct offset of CRn.
390 (do_mav_dspsc_2): Likewise.
391 Fix accumulator registers move opcodes.
392
393 2004-02-13 Hannes Reinecke <hare@suse.de>
394 Jakub Jelinek <jakub@redhat.com>
395
396 * dwarf2dbg.c (get_filenum): Do not read beyond allocated memory.
397
398 2004-02-10 Steve Ellcey <sje@cup.hp.com>
399
400 * config/tc-ia64.h (ia64_frob_symbol): New declaration.
401 (tc_frob_symbol): New macro definition.
402 * config/tc-ia64.c (ia64_frob_symbol): New routine.
403
404 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
405
406 * config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as
407 read-only.
408
409 2004-02-09 Nathan Sidwell <nathan@codesourcery.com>
410
411 * read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ...
412 (TC_CASE_SENSITIVE): ... this.
413 * read.c: Replace IGNORE_OPCODE_CASE with TC_CASE_SENSITIVE.
414 * doc/internals.texi (TC_CASE_SENSITIVE): Document.
415
416 2004-02-06 James E Wilson <wilson@specifixinc.com>
417
418 * config/tc-ia64.c (dot_endp): Delete call to output_endp.
419 (generate_unwind_image): Re-add it here.
420
421 2004-02-06 Nathan Sidwell <nathan@codesourcery.com>
422
423 * dwarf2dbg.c (DWARF2_ADDR_SIZE): Remove trailing ';'
424 * read.h (SKIP_WHITESPACE): Turn into an expression.
425 * read.c (read_a_source_file): A pseudo is removed by having a
426 NULL handler.
427
428 2004-02-05 James E Wilson <wilson@specifixinc.com>
429
430 * config/tc-ia64.c (output_endp): New.
431 (count_bits): Delete.
432 (ia64_flush_insns, process_one_record, optimize_unw_records): Handle
433 endp unwind records.
434 (fixup_unw_records): Handle endp unwind records. Delete code for
435 shortening prologue regions not followed by a body record.
436 (dot_endp): Call add_unwind_entry to emit endp unwind record.
437 * config/tc-ia64.h (unw_record_type): Add endp.
438
439 2004-02-03 James E Wilson <wilson@specifixinc.com>
440
441 * config/tc-ia64.c (ia64_convert_frag): Call md_number_to_chars to
442 fill padding bytes with zeroes.
443 (emit_one_bundle): New locals last_ptr, end_ptr. Rewrite code that
444 sets unwind_record slot_number and slot_frag fields.
445
446 2004-02-02 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
447
448 * config/tc-mips.c (add_got_offset_hilo): New function.
449 (macro): Use load_register() and add_got_offset_hilo() to load
450 constants instead of hardcoding code sequences throughout.
451
452 2004-01-28 H.J. Lu <hongjiu.lu@intel.com>
453
454 * config/tc-ia64.c (emit_one_bundle): Add proper indentation.
455
456 2004-01-26 Bernardo Innocenti <bernie@develer.com>
457
458 * config/tc-m68k.h (EXTERN_FORCE_RELOC): Handle m68k-uclinux specially,
459 like m68k-elf.
460 * config/tc-m68k.c (RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead
461 of hard-coded test for TARGET_OS=elf.
462
463 2004-01-24 Chris Demetriou <cgd@broadcom.com>
464
465 * config/tc-mips.c (hilo_interlocks): Change definition
466 so that MIPS32, MIPS64 and later ISAs are included, along with
467 the already-included machines. Update comments.
468
469 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
470
471 * config/tc-arm.c (tc_gen_reloc): Improve error message for
472 undefined local labels.
473
474 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
475
476 * config/tc-mips.c (load_address, macro): Update comments about
477 NewABI GP relaxation.
478
479 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
480
481 * config/tc-mips.c (macro_build): Remove place and counter arguments.
482 (mips_build_lui, macro_build_ldst_constoffset): Likewise.
483 (mips16_macro_build, macro_build_jalr): Remove counter argument.
484 (set_at, load_register, load_address, move_register): Likewise.
485 (load_got_offset, add_got_offset): Likewise.
486 Update all calls and tidy accordingly.
487
488 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
489
490 * config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.
491 (RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities.
492 (RELAX_USE_SECOND): Bump to 0x10000.
493 (RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags.
494 (mips_macro_warning): New variable.
495 (md_assemble): Wrap macro expansion in macro_start() and macro_end().
496 (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise.
497 (relax_close_frag): Set mips_macro_warning.first_frag. Adjust use
498 of RELAX_ENCODE.
499 (append_insn): Update mips_macro_warning.sizes.
500 (macro_start, macro_warning, macro_end): New functions.
501 (macro_build): Don't emit warnings here.
502 (macro_build_lui, md_estimate_size_before_relax): ...or here.
503 (md_convert_frag): Check for cases where one macro alternative
504 needs a warning and the other doesn't. Emit a warning if the
505 longer sequence was chosen.
506
507 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
508
509 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
510 * config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of
511 the first sequence, the size of the second sequence, and a flag
512 that says whether we should warn.
513 (RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete.
514 (RELAX_FIRST, RELAX_SECOND): New.
515 (mips_relax): New variable.
516 (relax_close_frag, relax_start, relax_switch, relax_end): New fns.
517 (append_insn): Remove "place" argument. Use mips_relax.sequence
518 rather than "place" to check whether we're expanding the second
519 alternative of a relaxable macro. Remove redundant check for
520 branch relaxation. If generating a normal insn, and there
521 is not enough room in the current frag, call relax_close_frag()
522 to close it. Update mips_relax.sizes[]. Emit fixups for the
523 second version of a relaxable macro. Record the first relaxable
524 fixup in mips_relax. Remove tc_gen_reloc workaround.
525 (macro_build): Remove all uses of "place". Use mips_relax.sequence
526 in the same way as in append_insn.
527 (mips16_macro_build): Remove "place" argument.
528 (macro_build_lui): As for macro_build. Don't drop the add_symbol
529 when generating the second version of a relaxable macro.
530 (load_got_offset, add_got_offset): New functions.
531 (load_address, macro): Use new relaxation machinery. Remove
532 tc_gen_reloc workarounds.
533 (md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second
534 version of a relaxable macro is needed. Return -RELAX_SECOND if the
535 first version is needed.
536 (tc_gen_reloc): Remove relaxation handling.
537 (md_convert_frag): Go through the fixups for a relaxable macro and
538 mark those that belong to the unneeded alternative as done. If the
539 second alternative is needed, adjust the fixup addresses to account
540 for the deleted first alternative.
541
542 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
543
544 * frags.h (frag_room): Declare.
545 * frags.c (frag_room): New function.
546 * doc/internals.texi: Document it.
547
548 2004-01-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
549
550 * config/tc-mips.c (append_insn): Don't do r3900 interlock
551 optimization for -mtune=r3900, as this will break on other CPUs.
552
553 2004-01-11 Tom Rix <tcrix@worldnet.att.net>
554
555 * config/tc-m68hc11.c (build_indexed_byte): movb and movw cannot
556 be relaxed, use fixup.
557 (md_apply_fix3): Use 5 bit reloc from movb and movw fixup.
558
559 2004-01-19 Jakub Jelinek <jakub@redhat.com>
560
561 * config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single
562 precision operands.
563
564 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
565
566 * config/tc-mips.c (append_insn): Properly detect variant frags
567 that preclude swapping of relaxed branches. Correctly swap
568 instructions between frags when dealing with relaxed branches.
569
570 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
571
572 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
573 throughout.
574 * aclocal.m4: Regenerate.
575 * configure: Regenerate.
576
577 2004-01-12 Anil Paranjpe <anilp1@KPITCummins.com>
578
579 * config/tc-h8300.c (build_bytes): Apply relaxation to bit
580 manipulation insns.
581
582 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
583
584 * config/tc-mips.c (macro_build_jalr): When adding an R_MIPS_JALR
585 reloc, reserve space for the delay slot as well as the jalr itself.
586
587 2004-01-09 Paul Brook <paul@codesourcery.com>
588
589 * config/tc-arm.c (do_vfp_reg2_from_sp2): Rename from do_vfp_sp_reg2.
590 (do_vfp_sp2_from_reg2): New function.
591 (insns): Use them.
592 (do_vfp_dp_from_reg2): Check return values properly.
593
594 2004-01-08 Ian Lance Taylor <ian@wasabisystems.com>
595
596 * config/tc-mips.c (warn_nops): Remove static variable.
597 (macro): Remove test of warn_nops.
598 (md_shortops): Remove 'n'.
599 (md_parse_option): Remove 'n' case.
600 (md_show_usage): Remove -n.
601 * doc/as.texinfo (Overview): Remove MIPS -n option.
602 * doc/c-mips.texi (MIPS Opts): Remove mention -n.
603 * NEWS: Mention removal of MIPS -n option.
604
605 * config/tc-mips.c (ISA_HAS_COPROC_DELAYS): Remove.
606 (cop_interlocks): Check ISA level.
607 (cop_mem_interlocks): Define.
608 (reg_needs_delay): Check cop_interlocks rather than
609 ISA_HAS_COPROC_DELAYS.
610 (append_insn): Likewise. Use cop_mem_interlocks rather than
611 directly checking mips_opts.isa.
612 (mips_emit_delays): Likewise.
613
614 2004-01-07 H.J. Lu <hongjiu.lu@intel.com>
615
616 * config/tc-ia64.c (unwind): Move next_slot_number and
617 next_slot_frag to ...
618 (unw_rec_list): Here.
619 (free_list_records): Removed.
620 (output_unw_records): Likewise.
621 (generate_unwind_image): Make it void.
622 (alloc_record): Initialize next_slot_number and next_slot_frag.
623 (slot_index): Take .org, .space and .align into account.
624 (fixup_unw_records): Don't set slot_number to 0. Use
625 list->next_slot_number and list->next_slot_frag instead of
626 unwind.next_slot_number and unwind.next_slot_frag.
627 (ia64_convert_frag): New.
628 (generate_unwind_image): Generate a rs_machine_dependent frag
629 for unwind record.
630 (emit_one_bundle): Use list->next_slot_number and
631 list->next_slot_frag instead of unwind.next_slot_number and
632 unwind.next_slot_frag.
633
634 * config/tc-ia64.h (md_convert_frag): Defined as
635 ia64_convert_frag.
636 (md_estimate_size_before_relax): Defined as (f)->fr_var.
637
638 2004-01-06 Alexandre Oliva <aoliva@redhat.com>
639
640 2003-12-19 Alexandre Oliva <aoliva@redhat.com>
641 * config/tc-frv.h (md_apply_fix3): Don't define.
642 * config/tc-frv.c (md_apply_fix3): New. Shift/truncate %hi/%lo
643 operands.
644 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
645 2003-10-07 Alexandre Oliva <aoliva@redhat.com>
646 * config/tc-frv.c (line_separator_chars): Add `!'.
647 2003-09-19 Alexandre Oliva <aoliva@redhat.com>
648 * config/tc-frv.c (md_assemble): Clear insn upfront.
649 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
650 * config/tc-frv.c (OPTION_FDPIC): New macro.
651 (md_longopts): Add mfdpic.
652 (md_parse_option): Handle it.
653 2003-08-04 Alexandre Oliva <aoliva@redhat.com>
654 * config/tc-frv.c (md_cgen_lookup_reloc) <FRV_OPERAND_D12,
655 FRV_OPERAND_S12>: Use reloc type encoded in fix-up.
656 (frv_pic_ptr): Parse funcdesc.
657
658 2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
659
660 * doc/as.texinfo: Let texi2pod parse asconfig.texi and
661 gasver.texi. Remove duplicate symbol definitions for texi2pod.
662
663 2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
664
665 * Makefile.am (Makefile): Move the dependency on
666 $(BFDDIR)/configure.in to...
667 (CONFIG_STATUS_DEPENDENCIES): ... here.
668 (AUTOMAKE_OPTIONS): Require automake 1.8.
669 * Makefile.in: Regenerate.
670 * doc/Makefile.am (BASEDIR, BFDDIR): Define.
671 (CONFIG_STATUS_DEPENDENCIES): Add a dependency on
672 $(BFDDIR)/configure.in here as well.
673 * doc/Makefile.in: Regenerate.
674
675 2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
676
677 * Makefile.am (install, install-info, RECURSIVE_TARGETS): Remove.
678 * Makefile.in: Regenerate.
679 * aclocal.m4: Regenerate.
680 * doc/Makefile.am (install, install-info): Remove.
681 (install-data-local): A new hook for install-info.
682 (AUTOMAKE_OPTIONS): Require automake 1.8.
683 * doc/Makefile.in: Regenerate.
684
685 2004-01-02 Nutan Singh <nutan@kpitcummins.com>
686
687 * doc/c-sh.texi: Update description about floating point behavior
688 of SH family.
689
690 2004-01-02 Bernardo Innocenti <bernie@develer.com>
691
692 * configure.in: Add m68k-uClinux target.
693 * configure: Regenerate.
694
695 For older changes see ChangeLog-0203
696 \f
697 Local Variables:
698 mode: change-log
699 left-margin: 8
700 fill-column: 74
701 version-control: never
702 End:
This page took 0.089464 seconds and 4 git commands to generate.