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