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