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