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