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