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