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