2004-05-06 Randolph Chung <tausq@debian.org>
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
5e819f9c
JW
12004-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
e5976317
NC
82004-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
996991aa
AO
262004-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
6b6e92f4
NC
412004-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
6f079ae3
JJ
512004-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
2d6ed997
L
582004-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
b9f18452
L
672004-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
fafe6678
L
722004-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
86654c12
L
782004-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
376eb240
NC
842004-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
8a7140c3
NC
932004-04-29 Brian Ford <ford@vss.fsi.com>
94
95 * dwarf2dbg.c (dwarf2_finish): Add SEC_DEBUGGING to section flags.
96
3e722fb5
CD
972004-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
351e2b5a
DA
1122004-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
f5842774
L
1272004-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
558fe4a7
CD
1322004-04-23 Chris Demetriou <cgd@broadcom.com>
133
134 * config/tc-mips.h (mips_dwarf2_addr_size): Prototype.
135
81a21e38
TS
1362004-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
1402004-04-23 Chris Demetriou <cgd@broadcom.com>
1ffcab4b
CD
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
4d0d148d
TS
1532004-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
017315e4
TS
1622004-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
269137b2
TS
1662004-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
24772049
TS
1722004-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
06516a5e
PB
1772004-04-22 Paul Brook <paul@codesourcery.com>
178
179 * config/tc-arm.c (mav_parse_offset): Value must be multiple of 4.
180
fd99574b
NC
1812004-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
69b97547
NC
2012004-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
2162004-04-22 Nick Clifton <nickc@redhat.com>
217
218 * config/tc-arm.h: Formatting tidy ups.
219
7a7f4e42
CD
2202004-04-20 Chris Demetriou <cgd@broadcom.com>
221
222 * NEWS: Note that MIPS -membedded-pic option is deprecated.
223
6482c264
NC
2242004-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
5bf10039
EC
2332004-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
77cd6497
JJ
2382004-04-19 Jakub Jelinek <jakub@redhat.com>
239
240 * config/tc-xtensa.c (xg_assembler_literal): Fix a typo.
241
b8861cfb
NS
2422004-04-19 Nathan Sidwell <nathan@codesourcery.com>
243
244 * read.c (do_align): Call md_flush_pending_output, if defined.
245
f4c724fc
AM
2462004-04-16 Alan Modra <amodra@bigpond.net.au>
247
248 * expr.c (operand): Correct checks for ++ and --.
249
a4b6e8f6
L
2502004-04-14 H.J. Lu <hongjiu.lu@intel.com>
251
252 * config/tc-generic.c: Add some comments.
253
d766e8ec
RS
2542004-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
ed9589d4
BW
2652004-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
097dba13
NC
2712004-04-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
272
273 * config/tc-m32r.c (md_assemble): Fixed infinite loop bug
274 in parallel.
275
279500de
TS
2762004-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
b7d7dc63
AM
2832004-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
f55629b8
KK
2902004-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
a7844384
NC
3002004-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
6c71dbc4
SS
3102004-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
7cc69913
NC
3172004-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
53fbb48a
AM
3222004-03-27 Alan Modra <amodra@bigpond.net.au>
323
324 * config/obj-aout.c (obj_aout_type): Remove #ifdef BFD_ASSEMBLER code.
325
d507cf36
PB
3262004-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
88d65ad6
BW
3362004-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
13ef8878
AM
3412004-03-22 Alan Modra <amodra@bigpond.net.au>
342
343 * config/tc-sh.c: Remove trailing whitespace.
344
1048a9ba
HPN
3452004-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
a7877748
BW
3672004-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
9992270f
DA
3742004-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
6e1772d5
AM
3792004-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
3e4caed2
NS
3872004-03-18 Nathan Sidwell <nathan@codesourcery.com>
388
c95b35a9
NS
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
3e4caed2
NS
403 * expr.c (operand): Reject ++ and --.
404 (operator): Likewise.
405
2ce4cc60
KK
4062004-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
9183ed4b
AM
4202004-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
00bbdfe7
BW
4252004-03-12 Bob Wilson <bob.wilson@acm.org>
426
427 * read.c (s_leb128): Call md_flush_pending_output.
428
0f10071e
ML
4292004-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
84c84759
AS
4352004-03-07 Andreas Schwab <schwab@suse.de>
436
437 * doc/c-hppa.texi (HPPA Directives): Fix typo.
438
6ec51dba
RH
4392004-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
bae25f19
L
4442004-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
ab509236
L
4502004-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
d9201763
L
4572004-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
ae51a426
JR
4682003-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
9545c4ce
L
4772004-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
676a64f4
RS
4882004-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
bd337dde
NC
4972004-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
78878175
NC
5062004-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
1d6d62a4
MS
5122004-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
4aa3e325
NC
5172004-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
73369e65
EC
5222004-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
6a5709a5
JR
5272004-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
95385380
FF
5322004-02-25 Fred Fish <fnf@redhat.com>
533
534 * config/tc-iq2000.c: Add missing \n\ in multiline string literal.
535
b5e0fabd
JW
5362004-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
2f01ffbf
JJ
5472004-02-19 Jakub Jelinek <jakub@redhat.com>
548
549 * stabs.c (generate_asm_file): Avoid warning about use of
550 uninitialized variable.
551
9c59842f
JW
5522004-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
34920d91
NC
5582004-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
4dde8e61 5642004-02-13 Hannes Reinecke <hare@suse.de>
13ef8878 565 Jakub Jelinek <jakub@redhat.com>
4dde8e61
AJ
566
567 * dwarf2dbg.c (get_filenum): Do not read beyond allocated memory.
568
936cf02e
JW
5692004-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
e41f12f3
DJ
5752004-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
a8a3b3b2
NS
5802004-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
c97b7ef6
JW
5872004-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
e4475e39
NS
5922004-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
5738bc24
JW
5992004-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
d6e78c11
JW
6102004-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
f6a22291
MR
6172004-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
127cab00
L
6232004-01-28 H.J. Lu <hongjiu.lu@intel.com>
624
625 * config/tc-ia64.c (emit_one_bundle): Add proper indentation.
626
6358301e
NC
6272004-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
c8978940
CD
6342004-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
c3ba240c
DJ
6402004-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
e864ceca
RS
6452004-01-23 Richard Sandiford <rsandifo@redhat.com>
646
647 * config/tc-mips.c (load_address, macro): Update comments about
648 NewABI GP relaxation.
649
67c0d1eb
RS
6502004-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
584892a6
RS
6592004-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
4d7206a2
RS
6782004-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
0530d30a
RS
7132004-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
048cdf86
TS
7192004-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
28d39d1a
NC
7242004-01-11 Tom Rix <tcrix@worldnet.att.net>
725
726 * config/tc-m68hc11.c (build_indexed_byte): movb and movw cannot
73369e65 727 be relaxed, use fixup.
28d39d1a
NC
728 (md_apply_fix3): Use 5 bit reloc from movb and movw fixup.
729
26664553
JJ
7302004-01-19 Jakub Jelinek <jakub@redhat.com>
731
732 * config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single
733 precision operands.
734
895921c9
MR
7352004-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
f8b73030
MR
7412004-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
ca9a79a1 7482004-01-12 Anil Paranjpe <anilp1@KPITCummins.com>
73369e65 749
ca9a79a1
NC
750 * config/tc-h8300.c (build_bytes): Apply relaxation to bit
751 manipulation insns.
752
cc3d92a5
RS
7532004-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
e45d0630
PB
7582004-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
81912461
ILT
7652004-01-08 Ian Lance Taylor <ian@wasabisystems.com>
766
78849248
ILT
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
81912461
ILT
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
73f20958
L
7852004-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
99d09cdb
AO
8092004-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
4a4c4a1d
MR
8292004-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
2251dd89
MR
8342004-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
c6581168
MR
8462004-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
303e7b79
NC
8562004-01-02 Nutan Singh <nutan@kpitcummins.com>
857
858 * doc/c-sh.texi: Update description about floating point behavior
859 of SH family.
860
b50c15dc
NC
8612004-01-02 Bernardo Innocenti <bernie@develer.com>
862
863 * configure.in: Add m68k-uClinux target.
864 * configure: Regenerate.
7de9afa2 865
c9e214e5 866For older changes see ChangeLog-0203
08d56133
NC
867\f
868Local Variables:
869mode: change-log
870left-margin: 8
871fill-column: 74
872version-control: never
873End:
This page took 0.221796 seconds and 4 git commands to generate.