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