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