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