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