* config/tc-alpha.c (alpha_validate_fix): Move code ...
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2002-11-06 Richard Henderson <rth@redhat.com>
2
3 * config/tc-alpha.c (alpha_validate_fix): Move code ...
4 (alpha_fix_adjustable): ... here.
5 * config/tc-alpha.h (TC_VALIDATE_FIX): Remove.
6
7 2002-11-07 Eric Kohl <ekohl@rz-online.de>
8
9 * config/te-pe.h (LEX_AT): Accept at-sign (@) as first character
10 of a label.
11
12 2002-11-05 H.J. Lu <hjl@gnu.org>
13
14 * config/tc-mips.c (support_64bit_objects): Check *l before it
15 is freed.
16
17 2002-11-04 Danny Smith <dannysmith@users.sourceforge.net>
18
19 * config/obj-coff.c (obj-coff-section): Set SEC_DATA and
20 SEC_LOAD flags for sections marked as 's'.
21
22 2002-11-01 Alan Modra <amodra@bigpond.net.au>
23
24 * write.c (TC_FORCE_RELOCATION_SUB_ABS): Default to zero.
25 (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise when DIFF_EXPR_OK.
26 * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS): Document changed
27 default.
28
29 * dep-in.sed: Fix typo.
30
31 2002-10-30 Daniel Jacobowitz <drow@mvista.com>
32
33 * configure.in: Update ARM CPU patterns.
34 * configure: Regenerated.
35
36 2002-10-29 Daniel Jacobowitz <drow@mvista.com>
37
38 * itbl-lex.l: Use #include <> for generated headers.
39 * itbl-ops.c: Likewise.
40
41 2002-10-28 Daniel Jacobowitz <drow@mvista.com>
42
43 * doc/gasp.texi: Fix typo in deprecation note.
44
45 2002-10-23 Nick Clifton <nickc@redhat.com>
46
47 * config/tc-arm.c (tc_gen_reloc): Allow an absolute reference to
48 _GLOBAL_TABLE_OFFSET_ to be converted into a GOT reloc.
49
50 2002-10-23 Hans-Peter Nilsson <hp@bitrange.com>
51
52 * config/tc-mmix.h (mmix_frob_file_before_adjust): Don't declare.
53 (tc_frob_file_before_adjust): Don't define.
54 * config/tc-mmix.c (mmix_frob_local_reloc): Remove unused
55 function.
56 (mmix_frob_file_before_adjust): Remove ineffective function.
57
58 2002-10-23 Hans-Peter Nilsson <hp@axis.com>
59
60 * config/tc-cris.c (SIMPLE_EXPR): New macro.
61 (cris_relax_frag): New function.
62 (md_estimate_size_before_relax) <case ENCODE_RELAX
63 (STATE_BASE_PLUS_DISP_PREFIX, STATE_UNDF)>: Pass on unresolved
64 expressions that will become absolute expressions to relaxation.
65 (md_convert_frag) <case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX,
66 STATE_WORD)>: Expect only absolute expressions. Use the symbol
67 value, not distance to symbol.
68 <case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX, STATE_BYTE)>:
69 Ditto. Correct placement of fixup.
70 (md_assemble): Use SIMPLE_EXPR when dissecting expressions.
71 (gen_bdap): Ditto.
72 * config/tc-cris.h (cris_relax_frag): Declare.
73 (md_relax_frag): Define.
74
75 2002-10-22 Alan Modra <amodra@bigpond.net.au>
76
77 * config/obj-elf.c (special_sections): Use correct types for init
78 array sections.
79 (obj_elf_change_section): Don't mess with init array section type.
80
81 2002-10-21 Richard Sandiford <rsandifo@redhat.com>
82
83 * config/tc-mips.c (mips_need_elf_addend_fixup): Return true
84 for relocs against symbols in a merged section.
85
86 2002-10-18 Alexandre Oliva <aoliva@redhat.com>
87
88 * config/tc-mips.c (md_begin): Add $fcc registers to the symbol
89 table as register names.
90
91 2002-10-18 Ulrich Weigand <uweigand@de.ibm.com>
92
93 * config/tc-s390.c (md_parse_option): Set s390_arch_size to 32
94 for option -m31.
95
96 2002-10-18 Svein E. Seldal <Svein.Seldal@solidas.com>
97
98 * expr.c (operand): Add support for n.nn flonums.
99
100 2002-10-17 Johannes Stezenbach <js@convergence.de>
101
102 * itbl-parse.y (entry): Provide empty action.
103
104 2002-10-16 Alan Modra <amodra@bigpond.net.au>
105
106 * configure.in (BFDVER_H): Set and subst.
107 * dep-in.sed: Replace bfdver.h with $(BFDVER_H).
108 * Makefile.am: Run "make dep-am".
109 (BFDVER_H): Define.
110 * configure: Regenerate.
111 * Makefile.in: Regenerate.
112 * doc/Makefile.in: Regenerate.
113
114 2002-10-15 Alan Modra <amodra@bigpond.net.au>
115
116 * config/tc-i386.h (EXTERN_FORCE_RELOC): Define.
117 (MD_APPLY_SYM_VALUE): Define for PE too.
118
119 2002-10-14 Alan Modra <amodra@bigpond.net.au>
120
121 * Makefile.am: Run "make dep-am".
122 (CPU_OBJ_VALID): sh64 coff is invalid.
123 * as.c: #include "bfdver.h".
124 * Makefile.in: Regenerate.
125 * config.in: Regenerate.
126
127 2002-10-14 Momchil Velikov <velco@fadata.bg>
128
129 * config/tc-v850.c (CHECK_): Remove token pasting operator.
130
131 2002-10-14 Richard Sandiford <rsandifo@redhat.com>
132
133 * configure.in (mips64vr-elf, mips64vrel-elf): New config.
134 * configure: Regenerate.
135
136 2002-10-13 Eric Christopher <echristo@redhat.com>
137 Alexandre Oliva <aoliva@redhat.com>
138
139 * config/tc-mips.c (s_gpdword): New function.
140 (mips_pseudo_table): Add .gpdword.
141 (mips_need_elf_addend_fixup): never for NEWABI.
142 (md_apply_fix3): Don't mark BFD_RELOC64 after GPREL16 or
143 GPREL32 as done.
144 (s_cpadd): Generate .cpadd on NEWABI.
145
146 2002-10-12 Elias Athanasopoulos <eathan@otenet.gr>
147
148 * config/tc-ppc.c (ppc_cleanup): Make 'i' unsigned int.
149
150 2002-10-12 Alexandre Oliva <aoliva@redhat.com>
151
152 * config/tc-mips.h (mips_relax_frag): Take segment as argument.
153 (md_relax_frag): Adjust macro.
154 * config/tc-mips.c (mips_relax_branch): New variable.
155 (RELAX_BRANCH_ENCODE, RELAX_BRANCH_P, RELAX_BRANCH_LIKELY,
156 RELAX_BRANCH_LINK, RELAX_BRANCH_TOOBAR): New.
157 (RELAX_MIPS16_P): Adjust.
158 (append_insn): Emit branch to non-constant in a frag_var if
159 branch-relaxation is desirable and possible.
160 (OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH): New options.
161 (OPTION_ELF_BASE): Adjust.
162 (md_parse_option): Handle new options.
163 (md_apply_fix3): Update comment on EMBEDDED_PIC conditional
164 branch relaxation.
165 (relaxed_branch_length): New function.
166 (md_estimate_size_before_relax): Handle branch frags.
167 (mips_relax_frag): Likewise.
168 (md_convert_frag): Handle branch frags. Warn if branch is
169 relaxed.
170
171 2002-10-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
172
173 * config/tc-sh.c (sh_force_relocation): Make sure TLS relocs get
174 emitted.
175 (md_apply_fix3): Add TLS relocs.
176 (sh_parse_name): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF and
177 @DTPOFF.
178
179 2002-10-11 Michel Six <msix@ccr.jussieu.fr>
180 Alan Modra <amodra@bigpond.net.au>
181
182 * config/tc-i386.c (output_jump): Set fx_signed for loop/jcxz.
183 (md_estimate_size_before_relax): Likewise for 8 bit branches.
184
185 Thu Oct 10 14:31:30 2002 J"orn Rennecke <joern.rennecke@superh.com>
186
187 * config/tc-sh.c (assemble_ppi): Initialize reg_x / reg_y / reg_n
188 inside loop.
189
190 2002-10-09 Richard Shann <richard.shann@superh.com>
191 Stephen Clarke <stephen.clarke@superh.com>
192
193 * config/tc-sh64.c (sh64_target_format): Add support for sh64
194 Linux environment.
195
196 2002-10-03 Kaz Kojima <kkojima@rr.iij4u.or.jp>
197
198 * contig/tc-sh.c (sh_local_pcrel): New.
199 (sh_force_relocation): Use sh_local_pcrel.
200 (md_pcrel_from_section): Check the relocation type whether it
201 should be resolved locally. Use S_FORCE_RELOC.
202
203 2002-10-01 Alan Modra <amodra@bigpond.net.au>
204
205 * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define.
206 (TC_FORCE_RELOCATION): Tidy arg.
207
208 2002-09-30 Gavin Romig-Koch <gavin@redhat.com>
209 Ken Raeburn <raeburn@cygnus.com>
210 Aldy Hernandez <aldyh@redhat.com>
211 DJ Delorie <dj@redhat.com>
212 Michael Meissner <meissner@redhat.com>
213 Eric Christopher <echristo@redhat.com>
214 Richard Sandiford <rsandifo@redhat.com>
215
216 * doc/c-mips.texi: Add entries for -march=vr4120,vr4130,vr4181,
217 vr5400 and vr5500. Add entry for -mfix-vr4122-bugs.
218 * config/tc-mips.c (CPU_HAS_DROR, CPU_HAS_ROR): New macros.
219 (hilo_interlocks): True for CPU_VR5500.
220 (gpr_interlocks, cop_interlocks): True for CPU_VR5400 and CPU_VR5500.
221 (mips_fix_vr4122_bugs): New.
222 (append_insn): Work around 4122 errors if mips_fix_vr4122_bugs.
223 (mips_emit_delays): Likewise.
224 (macro2) [M_DROLI]: Use dror or dror32 if CPU_HAS_DROR.
225 [M_ROLI]: Likewise ror if CPU_HAS_ROR.
226 (validate_mips_insn, mips_ip): Handle '[', ']', 'e' and '%'.
227 (OPTION_FIX_VR4122, OPTION_NO_FIX_VR4122): New options.
228 (md_longopts): Add -mfix-vr4122-bugs and -no-mfix-vr4122-bugs.
229 (OPTION_ELF_BASE): Bump.
230 (md_parse_option): Handle the new options.
231 (mips_cpu_info_table): Add entries for vr4120, vr4130, vr4181,
232 vr5400 and vr5500.
233
234 2002-09-29 H.J. Lu <hjl@gnu.org>
235
236 * config/tc-mips.c (md_apply_fix3): Subtract the symbol value
237 twice if howto->pcrel_offset is true.
238
239 2002-09-28 Matt Thomas <matt@3am-software.com>
240 Jason Thorpe <thorpej@wasabisystems.com>
241
242 * config/tc-vax.c (md_estimate_size_before_relax): Only try to
243 convert undefined references to GOT32/PLT32 if PIC code is
244 requested. Fix comment.
245
246 2002-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
247
248 * config/tc-sh.c (sh_force_relocation): Return 0 for
249 some PC relative relocations when not relaxing.
250
251 2002-09-26 Jakub Jelinek <jakub@redhat.com>
252
253 * config/tc-i386.c (tc_i386_fix_adjustable): Add x86-64 TLS relocs.
254 Define them if not BFD_ASSEMBLER.
255 (lex_got): Handle @tlsgd, @dtpoff and @tpoff in 64-bit mode, add
256 @tlsld.
257 (md_apply_fix3): No addend for BFD_RELOC_X86_64_TLSGD,
258 BFD_RELOC_X86_64_TLSLD and BFD_RELOC_X86_64_GOTTPOFF.
259 (tc_gen_reloc): Handle x86-64 TLS relocs.
260
261 2002-09-27 Alan Modra <amodra@bigpond.net.au>
262
263 * config/tc-avr.c (md_apply_fix3): Reinstate code handling pcrel
264 fixups to current or absolute section.
265
266 2002-09-26 Jim Wilson <wilson@redhat.com>
267
268 * config/tc-v850.c (v850_offset): Use frag_var instead of frag_now_fix
269 and frag_more.
270
271 2002-09-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
272
273 * config/tc-mips.c (CPU_HAS_MIPS16): Add mips-lsi-elf as MIPS16
274 capable configuration.
275 (macro_build): Check for MIPS16 capability, not for actual MIPS16 code
276 generation.
277 (mips_ip): Likewise.
278
279 2002-09-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
280
281 * config/tc-mips.c (append_insn): Fix jump overflow check.
282
283 2002-09-24 Alan Modra <amodra@bigpond.net.au>
284
285 * config/tc-i386.c (process_operands): Warn about "lea" segment
286 overrides.
287
288 2002-09-22 Mark Elbrecht <snowball3@softhome.net>
289
290 * write.c: Delete set_segment_vma and prototype. Update all callers.
291
292 2002-09-21 Alan Modra <amodra@bigpond.net.au>
293
294 * config/tc-i386.c (md_apply_fix3): Replace S_IS_EXTERNAL,
295 S_IS_WEAK etc. with S_FORCE_RELOC call. Correct comment.
296 Rename "fseg" to "sym_seg".
297 * Makefile.am: Run "make dep-am".
298 * Makefile.in: Regenerate.
299 * doc/Makefile.in: Regenerate.
300
301 2002-09-20 Nick Clifton <nickc@redhat.com>
302
303 * symbols.c (colon): Do not allow symbols to be created in the
304 absolute section if WORKING_DOT_WORD is not defined and
305 new_broken_words would require a new frag to be created.
306
307 2002-09-20 Alan Modra <amodra@bigpond.net.au>
308
309 * expr.c (expr): Simplify foo-foo here.
310 (clean_up_expression): Remove O_subtract code.
311
312 * write.h (struct fix): Add fx_dot_value.
313 (dot_value): Declare.
314 * write.c (dot_value): New var.
315 (fix_new_internal): Save dot_value as fx_dot_value.
316 (fixup_segment): Adjust fx_offset using fx_dot_value.
317 * expr.c (expr): Update dot_value.
318
319 2002-09-19 Jakub Jelinek <jakub@redhat.com>
320
321 * config/tc-i386.c (tc_i386_fix_adjustable): Handle
322 BFD_RELOC_386_TLS_IE and BFD_RELOC_386_TLS_GOTIE.
323 (BFD_RELOC_386_TLS_IE, BFD_RELOC_386_TLS_GOTIE): Define to 0
324 if not defined.
325 (lex_got): Handle @GOTNTPOFF and @INDNTPOFF.
326 (md_apply_fix3, tc_gen_reloc): Handle BFD_RELOC_386_TLS_IE and
327 BFD_RELOC_386_TLS_GOTIE.
328
329 2002-09-19 Richard Henderson <rth@redhat.com>
330
331 * config/tc-alpha.c (md_pcrel_from): Only adjust special for
332 branch type relocs.
333 (alpha_force_relocation): Don't special-case branch type relocs.
334
335 2002-09-19 Nick Clifton <nickc@redhat.com>
336
337 * config/tc-m68k.c (select_control_regs): Handle situation where
338 architecture has not yet been selected.
339
340 2002-09-18 Chris Demetriou <cgd@broadcom.com>
341
342 * config/tc-mips.c (IS_SEXT_32BIT_NUM): Move closer to top of file.
343 (IS_SEXT_16BIT_NUM): New macro.
344 (macro_build_ldst_constoffset): New function, to build a set of
345 instructions to do a load or store from a constant offset relative
346 to a given register.
347 (macro, s_cprestore): Use macro_build_ldst_constoffset to implement
348 .cprestore pseudo-op.
349
350 2002-09-18 Chris Demetriou <cgd@broadcom.com>
351
352 * config/tc-mips.c (md_apply_fix3): Just return for BFD_RELOC_8.
353
354 2002-09-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
355
356 * config/tc-mips.c (s_change_section): Fix parsing. Code cleanup.
357
358 2002-09-17 Stan Cox <scox@redhat.com>
359
360 * tc-mips.c (load_address): Use BFD_RELOC_MIPS_GOT_DISP for newabi.
361 (macro): Likewise for la. Likewise for ld.
362 (mips_after_parse_args): Make -xgot optional, not the default.
363 (md_apply_fix3): Allow composite relocation to set up gp.
364 (tc_gen_reloc): Allow relaxing for newabi.
365 Relax R_MIPS_CALL16 to R_MIPS_GOT_PAGE/R_MIPS_GOT_OFST if local.
366 Relax R_MIPS_GOT16/R_MIPS_LO16 to R_MIPS_GOT_DISP if local.
367
368 2002-09-17 Nick Clifton <nickc@redhat.com>
369
370 * config/tc-arm.c (md_apply_fix3): Note that an implemented
371 BFD_RELOC_ARM_IMMEDIATE has been done.
372 (tc_gen_reloc): Do not issue reloc number of unimplemented
373 BFD_RELOC_ARM_IMMEDIATE and BFD_RELOC_ARM_OFFSET_IMM relocs -
374 their name is already in the error message - plus remove them
375 from the default case.
376
377 * config/tc-arm.c (do_ldmstm): Warn about unpredictable
378 behavior of instructions.
379
380 2002-09-17 Svein E. Seldal <Svein.Seldal@solidas.com>
381
382 * config/tc-tic4x.c: Add function declarations and ATTRIBUTE_UNUSED.
383 Convert functions to K&R format.
384
385 2002-09-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
386
387 * config/tc-mips.c (pdr_seg): Define only for ELF.
388 (s_change_section): Remove unused variable. Don't use for nonELF.
389
390 2002-09-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
391
392 * config/obj-elf.c (obj_elf_change_section): Move prototype to
393 obj-elf.h
394 * config/obj-elf.h (obj_elf_change_section): Likewise.
395
396 2002-09-16 Elias Athanasopoulos <eathan@otenet.gr>
397
398 * dwarf2dbg.c (out_debug_abbrev): Add support for the DW_AT_name field.
399 (out_debug_info): Likewise.
400
401 2002-09-16 Bruno Haible <bruno@clisp.org>
402
403 * config/tc-i386.h (ELF_TARGET_FORMAT): New macro.
404 (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf32-i386".
405 * config/tc-i386.c (i386_target_format): Likewise.
406 * config/tc-alpha.h (ELF_TARGET_FORMAT): New macro.
407 (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf64-alpha".
408
409 2002-09-13 Nick Clifton <nickc@redhat.com>
410
411 * config/tc-ppc.c (md_assemble): Do not count FAKE operands
412 when deciding if any operands have been skipped.
413
414 2002-09-11 Nick Clifton <nickc@redhat.com>
415
416 * NEWS: New TI port supports both C4x and C3x series of DSPs.
417
418 * po/tr.po: Updated Turkish translation.
419
420 2002-09-11 Jakub Jelinek <jakub@redhat.com>
421
422 * config/tc-i386.c (md_apply_fix3): Allow addend for
423 BFD_RELOC_386_TLS_LDO_32, BFD_RELOC_386_TLS_LE and
424 BFD_RELOC_386_TLS_LE_32.
425
426 2002-09-05 Jeff Law <law@redhat.com>
427
428 * config/tc-hppa.c (md_apply_fix3): Don't set fx_done for
429 marker relocations such as ENTRY/EXIT.
430 * config/tc-hppa.h (MD_APPLY_SYM_VALUE): Definition applies
431 to both OBJ_ELF and OBJ_SOM.
432
433 2002-09-05 Alan Modra <amodra@bigpond.net.au>
434
435 * doc/internals.texi (md_apply_fix3): Expand.
436 (TC_VALIDATE_FIX, TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_ABS,
437 TC_FORCE_RELOCATION_LOCAL, TC_FORCE_RELOCATION_SUB_SAME,
438 TC_FORCE_RELOCATION_SUB_ABS, TC_FORCE_RELOCATION_SUB_LOCAL,
439 TC_VALIDATE_FIX_SUB, MD_APPLY_SYM_VALUE, S_FORCE_RELOC,
440 EXTERN_FORCE_RELOC): Document.
441 (TC_HANDLES_FX_DONE, obj_fix_adjustable): Remove.
442 * as.h: Don't include struc-symbol.h for arc.
443 (IS_ELF): Define.
444 * cgen.c (gas_cgen_md_apply_fix3): Remove *valP fudges and code to
445 subtract absolute symbol.
446 * obj.h (struct format_ops): Add frob_file_before_fix.
447 * subsegs.c (section_symbol): Set BSF_SECTION_SYM flag.
448 * symbols.c (S_FORCE_RELOC): New function.
449 * symbols.h (S_FORCE_RELOC): Declare.
450 * write.c (TC_FORCE_RELOCATION): Change default.
451 (TC_FORCE_RELOCATION_ABS): Define.
452 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
453 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
454 (TC_FORCE_RELOCATION_SECTION): Don't define.
455 (TC_FORCE_RELOCATION_SUB_SAME): Define this instead.
456 (TC_FORCE_RELOCATION_SUB_ABS): Define.
457 (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
458 (TC_VALIDATE_FIX_SUB): Define.
459 (TC_FIX_ADJUSTABLE): Don't define.
460 (MD_APPLY_SYM_VALUE): Define this instead.
461 (abs_section_sym): New variable.
462 (adjust_reloc_syms): Use S_FORCE_RELOC. Remove obj_fix_adjustable
463 call. Don't symbol_mark_used_in_reloc here. Simplify link_once tests.
464 Don't put the absolute section sym on fixups here.
465 (fix_segment): New function.
466 (write_relocs): Don't call fixup_segment from here.
467 (write_object_file): Instead call tc_frob_file_before_fix,
468 obj_frob_file_before_fix, and fix_segment prior to symbol table code.
469 Don't output the absolute section symbol.
470 (fixup_segment): Rewrite.
471 * write.h (abs_section_sym): Declare.
472 * config/obj-aout.c (obj_aout_frob_file_before_fix): Rename from
473 obj_aout_frob_file.
474 (aout_format_ops): Adjust to suit.
475 * config/obj-aout.h (obj_frob_file): Don't define.
476 (obj_frob_file_before_fix): Define.
477 (obj_aout_frob_file_before_fix): Rename from obj_aout_frob_file.
478 (S_FORCE_RELOC): Define.
479 * config/obj-bout.h (S_FORCE_RELOC): Define.
480 * config/obj-coff.c (coff_format_ops): Init new field.
481 * config/obj-coff.h: Formatting fixes.
482 (obj_sec_sym_ok_for_reloc): Define.
483 (S_FORCE_RELOC): Define.
484 * config/obj-ecoff.c (ecoff_frob_file_before_fix): Split out ..
485 (ecoff_frob_file): .. from here.
486 (ecoff_format_ops): Add new function.
487 * config/obj-ecoff.h (ecoff_frob_file_before_fix): Declare.
488 (obj_frob_file_before_fix): Define.
489 * config/obj-elf.c (elf_format_ops): Init new field.
490 * config/obj-elf.h (obj_sec_sym_ok_for_reloc): Expand comment.
491 * config/obj-ieee.h: Formatting fixes.
492 (S_FORCE_RELOC): Define.
493 * config/obj-multi.h (obj_frob_file_before_fix): Define.
494 * config/obj-vms.h (S_FORCE_RELOC): Define.
495 * config/tc-alpha.c (md_apply_fix3): Correct GPDISP comment.
496 (alpha_force_relocation): Use S_FORCE_RELOC, and don't return 0
497 for BFD_RELOC_32 and BFD_RELOC_64.
498 (alpha_fix_adjustable): Remove extern and weak tests.
499 (alpha_before_fix): Rename from alpha_adjust_symtab.
500 (alpha_adjust_relocs): Rename from alpha_adjust_symtab_relocs.
501 * config/tc-alpha.h (struct fix, struct alpha_reloc_tag): Declare.
502 (TC_VALIDATE_FIX): Tweak param name.
503 (TC_FORCE_RELOCATION, tc_fix_adjustable): Likewise.
504 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
505 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
506 (MD_APPLY_SYM_VALUE): Define.
507 (tc_adjust_symtab): Don't define.
508 (alpha_adjust_symtab): Don't declare.
509 (tc_frob_file_before_fix): Define.
510 (alpha_before_fix): Declare.
511 (TC_INIT_FIX_DATA): Tweak param names.
512 * config/tc-arc.c: Include "struc-symbol.h".
513 (md_pcrel_from): Remove undefined sym fudge.
514 (md_apply_fix3): Remove *valP fudges and code to subtract abs sym.
515 Don't set fx_addnumber.
516 (tc_gen_reloc): Remove spurious fx_addnumber comment.
517 * config/tc-arc.h (MD_APPLY_SYM_VALUE): Define.
518 (EXTERN_FORCE_RELOC): Define.
519 * config/tc-arm.c (md_apply_fix3 <case BFD_RELOC_ARM_GOTPC>): Remove.
520 (tc_gen_reloc): Fudge ARM_GOTPC addend.
521 (arm_validate_fix): Return void.
522 (arm_fix_adjustable <elf version>): Remove extern and weak tests.
523 Add plt and got reloc tests.
524 (arm_force_relocation): Call S_FORCE_RELOC.
525 * config/tc-arm.h (struct fix): Forward declare.
526 (TC_VALIDATE_FIX): No longer set add_symbolP.
527 (arm_validate_fix): Adjust declaration.
528 (TC_FORCE_RELOCATION <pe version): Call S_FORCE_RELOC.
529 (TC_FORCE_RELOCATION): Tweak param name.
530 (TC_INIT_FIX_DATA): Likewise.
531 (obj_fix_adjustable): Don't define.
532 (tc_fix_adjustable): Call arm_fix_adjustable.
533 (TC_FIX_ADJUSTABLE): Don't define.
534 (MD_APPLY_SYM_VALUE): Define.
535 (EXTERN_FORCE_RELOC): Define.
536 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
537 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
538 * config/tc-avr.c (md_apply_fix3): Don't cast valP pointer type.
539 Remove *valP fudges and code to subtract abs sym. Don't set
540 fx_addnumber.
541 * config/tc-avr.h: Formatting.
542 (EXTERN_FORCE_RELOC): Define.
543 (MD_APPLY_SYM_VALUE): Define.
544 * config/tc-cris.c (tc_gen_reloc): Don't use fx_addnumber.
545 (md_apply_fix3): Remove code to subtract abs sym.
546 (md_cris_force_relocation): Update comment. Call S_FORCE_RELOC.
547 * config/tc-cris.h (TC_FORCE_RELOCATION): Tweak param name.
548 (IS_CRIS_PIC_RELOC, tc_fix_adjustable): Likewise.
549 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
550 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
551 (tc_fix_adjustable): Remove extern, weak tests.
552 * config/tc-d10v.c (tc_gen_reloc): Don't fiddle address of
553 BFD_RELOC_VTABLE_INHERIT relocs. Don't use fx_addnumber.
554 (md_apply_fix3): Don't cast valP pointer type. Remove *valP fudges
555 and code to subtract abs sym.
556 (d10v_fix_adjustable): Remove extern, weak, SEC_MERGE tests.
557 (d10v_force_relocation): Call S_FORCE_RELOC.
558 * config/tc-d10v.h: Don't include write.h.
559 (struct fix): Instead, forward declare.
560 (MD_PCREL_FROM_SECTION): Tweak param names.
561 (md_pcrel_from_section): Use "struct fix" instead of "fixS".
562 (d10v_fix_adjustable): Likewise.
563 (obj_fix_adjustable): Don't define.
564 (tc_fix_adjustable): Define.
565 (TC_FORCE_RELOCATION): Tweak param name.
566 (MD_APPLY_SYM_VALUE): Define.
567 (EXTERN_FORCE_RELOC): Define.
568 * config/tc-d30v.c (tc_gen_reloc): Don't use fx_addnumber.
569 (md_apply_fix3): Don't cast valP pointer type. Remove *valP fudges
570 and code to subtract abs sym.
571 * config/tc-d30v.h: Don't include write.h.
572 (struct fix): Instead, forward declare.
573 (MD_PCREL_FROM_SECTION): Tweak param names.
574 (md_pcrel_from_section): Use "struct fix" instead of "fixS".
575 (MD_APPLY_SYM_VALUE): Define.
576 (EXTERN_FORCE_RELOC): Define.
577 * config/tc-dlx.c (md_dlx_force_relocation): Call S_FORCE_RELOC.
578 (md_dlx_fix_adjustable): Don't test for NULL fx_addsy.
579 (md_apply_fix3): No need to test fx_pcrel before setting fx_done.
580 (tc_gen_reloc): Don't fiddle with BFD_RELOC_VTABLE_INHERIT relocs.
581 Adjust the address for BFD_RELOC_VTABLE_ENTRY, not the addend.
582 Don't use fx_addnumber.
583 * config/tc-dlx.h: Don't include write.h.
584 (md_convert_frag): We're not alpha twice over.
585 (EXTERN_FORCE_RELOC): Define.
586 (obj_fix_adjustable): Don't define.
587 (tc_fix_adjustable): Define.
588 (TC_FIX_ADJUSTABLE): Don't define.
589 (MD_APPLY_SYM_VALUE): Define.
590 (LOCAL_LABELS_DOLLAR): Undef always.
591 * config/tc-fr30.c (fr30_force_relocation): Call S_FORCE_RELOC.
592 (fr30_fix_adjustable): Remove extern, weak tests.
593 * config/tc-fr30.h (MD_APPLY_SYM_VALUE): Define.
594 (obj_fix_adjustable): Don't define.
595 (tc_fix_adjustable): Define.
596 (struct fix): Forward declare.
597 (MD_PCREL_FROM_SECTION): Tweak param name. Remove duplicate.
598 * config/tc-frv.c (frv_force_relocation): Call S_FORCE_RELOC.
599 (frv_fix_adjustable): Don't do extern, weak tests.
600 * config/tc-frv.h (MD_APPLY_SYM_VALUE): Define.
601 (TC_FIX_ADJUSTABLE): Don't define.
602 (obj_fix_adjustable): Don't define.
603 (tc_fix_adjustable): Define.
604 (struct fix): Forward declare.
605 (MD_PCREL_FROM_SECTION): Tweak param name. Remove duplicate.\
606 * config/tc-h8300.c (md_apply_fix3): Don't cast valP pointer type.
607 * config/tc-h8300.h (struct fix): Forward declare.
608 (EXTERN_FORCE_RELOC): Define.
609 * config/tc-hppa.c (md_apply_fix3): Remove subtraction of sym value.
610 (hppa_fix_adjustable): Don't test extern or weak. Don't
611 symbol_mark_used_in_reloc.
612 (hppa_force_relocation): Use S_FORCE_RELOC instead of S_IS_EXTERNAL
613 and S_IS_WEAK.
614 * config/tc-hppa.h (EXTERN_FORCE_RELOC): Define
615 (TC_FORCE_RELOCATION, TC_INIT_FIX_DATA): Tweak param name.
616 (TC_FORCE_RELOCATION_SECTION): Don't define.
617 (MD_APPLY_SYM_VALUE): Define.
618 * config/tc-i370.c (md_apply_fix3): Remove *valP fudges and code
619 to subtract abs sym.
620 * config/tc-i370.h: Remove ifdef OBJ_ELF tests.
621 (MD_APPLY_SYM_VALUE): Define.
622 (MD_PCREL_FROM_SECTION): Tweak param name.
623 * config/tc-i386.c (tc_i386_fix_adjustable): Remove weak, extern tests.
624 (md_apply_fix3): Test fx_addsy, not fx_pcrel.
625 (i386_force_relocation): New function.
626 * config/tc-i386.h (TC_COFF_FIX2RTYPE): Tweak param name.
627 (TC_VALIDATE_FIX): Likewise.
628 (TC_FIX_ADJUSTABLE): Don't define.
629 (MD_APPLY_SYM_VALUE): Define.
630 (TC_FORCE_RELOCATION <elf version>): Call i386_force_relocation.
631 (i386_force_relocation): Declare.
632 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
633 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
634 (TC_FORCE_RELOCATION <coff version>): Call S_FORCE_RELOC.
635 * config/tc-i860.c (md_apply_fix3): Don't cast valP pointer type.
636 * config/tc-i860.h (MD_APPLY_SYM_VALUE): Define.
637 (EXTERN_FORCE_RELOC): Define.
638 * config/tc-i960.c (reloc_callj): Remove declaration. Return false.
639 (md_apply_fix3): Don't cast valP pointer type. Move code here from
640 old fixup_segment. No need to test fx_pcrel before setting fx_done.
641 (i960_validate_fix): Remove add_symbolPP arg and add_symbolP macro.
642 Use fx_addsy instead of add_symbolP, as_bad_where instead of as_bad.
643 Remove #if 0 code. Invert return boolean.
644 * config/tc-i960.h (TC_COUNT_RELOC): Tweak param name.
645 (TC_COFF_FIX2RTYPE, TC_ADJUST_RELOC_COUNT, TC_VALIDATE_FIX): Likewise.
646 (tc_headers_hook, tc_coff_fix2rtype): Remove declaration.
647 (tc_coff_sizemachdep): Prototype.
648 (i960_handle_align): Likewise.
649 (i960_validate_fix): Adjust declaration.
650 (reloc_callj): Likewise.
651 (EXTERN_FORCE_RELOC): Define.
652 (TC_FORCE_RELOCATION_SUB_SAME): Define.
653 (TC_FORCE_RELOCATION_ABS): Define.
654 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
655 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
656 (TC_FIX_ADJUSTABLE): Don't define.
657 (MD_APPLY_SYM_VALUE): Define.
658 * config/tc-ia64.c (ia64_force_relocation): Call S_FORCE_RELOC.
659 * config/tc-ia64.h (MD_APPLY_SYM_VALUE): Define.
660 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
661 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
662 * config/tc-ip2k.c (ip2k_force_relocation): Call S_FORCE_RELOC.
663 * config/tc-ip2k.h (MD_APPLY_FIX3): Don't define.
664 (MD_APPLY_SYM_VALUE): Define.
665 (EXTERN_FORCE_RELOC): Define.
666 (TC_FORCE_RELOCATION): Tweak param name.
667 * config/tc-m32r.c (m32r_force_relocation): Call S_FORCE_RELOC.
668 (m32r_fix_adjustable): Don't test extern, weak.
669 * config/tc-m32r.h (MD_PCREL_FROM_SECTION): Tweak param name.
670 (MD_APPLY_SYM_VALUE): Define.
671 (obj_fix_adjustable): Don't define.
672 (tc_fix_adjustable): Define.
673 (tc_frob_file): Don't define.
674 (tc_frob_file_before_fix): Define.
675 (EXTERN_FORCE_RELOC): Define.
676 * config/tc-m68hc11.c (tc_gen_reloc): Set addend to zero. Adjust
677 BFD_RELOC_VTABLE_ENTRY address.
678 (tc_m68hc11_force_relocation): Call S_FORCE_RELOC.
679 (tc_m68hc11_fix_adjustable): Don't test relaxable_symbol.
680 (md_apply_fix3): Remove *valP fudges and code to subtract abs sym.
681 Remove duplicated fx_done code.
682 * config/tc-m68hc11.h (MD_APPLY_SYM_VALUE): Define.
683 (EXTERN_FORCE_RELOC): Define.
684 * config/tc-m68k.c (tc_m68k_fix_adjustable): Don't test
685 relaxable_symbol.
686 * config/tc-m68k.h (TC_COFF_FIX2RTYPE): Tweak param name.
687 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
688 (TC_FIX_ADJUSTABLE): Don't define.
689 (EXTERN_FORCE_RELOC): Define.
690 (MD_APPLY_SYM_VALUE): Define.
691 (TC_FORCE_RELOCATION): Call S_FORCE_RELOC.
692 * config/tc-mcore.c (md_apply_fix3): Don't cast valP pointer type.
693 Remove fx_addsy tests.
694 (mcore_force_relocation): Call S_FORCE_RELOC.
695 (mcore_fix_adjustable): Don't test fx_addsy.
696 * config/tc-mcore.h (MD_PCREL_FROM_SECTION): Tweak param name.
697 (EXTERN_FORCE_RELOC): Define.
698 (obj_fix_adjustable): Don't define.
699 (tc_fix_adjustable): Define.
700 (MD_APPLY_SYM_VALUE): Define.
701 * config/tc-mips.c (enum mips_pic_level): Move to tc-mips.h.
702 (mips_pic): No longer static.
703 (mips_force_relocation): Call S_FORCE_RELOC.
704 (mips_fix_adjustable): Remove extern, weak tests.
705 * config/tc-mips.h (enum mips_pic_level): Declare.
706 (mips_pic): Declare.
707 (tc_frob_file): Don't define.
708 (tc_frob_file_before_fix): Define this instead.
709 (EXTERN_FORCE_RELOC): Define.
710 * config/tc-mmix.c (md_apply_fix3): Replace real_reg_section tests
711 with reg_section tests. Set fx_done instead of calling
712 symbol_clear_used_in_reloc on bad relocs.
713 (tc_gen_reloc): Zero fx_addsy on bad relocs.
714 (mmix_force_relocation): Remove weak sym test. Call S_FORCE_RELOC.
715 (mmix_adjust_symtab): Simplify list handling. Abort on any
716 nonsense.
717 * config/tc-mmix.h (tc_fix_adjustable): Remove weak tests. Check
718 BFD_RELOC_MMIX_LOCAL.
719 (tc_frob_symbol): Keep user defined syms in reg_section. Don't punt.
720 (EXTERN_FORCE_RELOC): Define.
721 (MD_PCREL_FROM_SECTION): Tweak param name.
722 (tc_frob_file): Don't define.
723 (tc_frob_file_before_fix): Define this instead.
724 * config/tc-mn10300.c (mn10300_force_relocation): Call S_FORCE_RELOC.
725 Remove SEC_CODE checks.
726 (mn10300_fix_adjustable): Remove extern and weak tests.
727 * config/tc-mn10300.h (EXTERN_FORCE_RELOC): Define.
728 (TC_FORCE_RELOCATION): Tweak param name.
729 (obj_fix_adjustable): Don't define.
730 (TC_FORCE_RELOCATION_SUB_SAME): Define to handle SEC_CODE.
731 * config/tc-ns32k.h (TC_FIX_DATA_PRINT): Tweak param name.
732 * config/tc-openrisc.c (openrisc_force_relocation): Call S_FORCE_RELOC.
733 (openrisc_fix_adjustable): Don't test fx_addsy.
734 * config/tc-openrisc.h (MD_APPLY_SYM_VALUE): Define.
735 (obj_fix_adjustable): Don't define.
736 (tc_fix_adjustable): Define this instead.
737 (MD_PCREL_FROM_SECTION): Remove duplicate. Tweak param name.
738 * config/tc-or32.c (md_apply_fix3): Don't cast valP pointer type.
739 (tc_gen_reloc): Don't fiddle with BFD_RELOC_VTABLE_INHERIT relocs.
740 Adjust the address for BFD_RELOC_VTABLE_ENTRY, not the addend.
741 * config/tc-or32.h (EXTERN_FORCE_RELOC): Define.
742 (MD_APPLY_SYM_VALUE): Define.
743 * config/tc-pj.c (md_apply_fix3): Don't cast valP pointer type.
744 Don't subtract symbol value.
745 * config/tc-pj.h (md_pcrel_from): Tweak param name.
746 (EXTERN_FORCE_RELOC): Define.
747 (TC_FORCE_RELOCATION): Call S_FORCE_RELOC.
748 (MD_APPLY_SYM_VALUE): Define.
749 (obj_fix_adjustable): Don't define.
750 (tc_fix_adjustable): Define this instead.
751 * config/tc-ppc.c (ppc_frob_symbol <coff version>): Ignore absolute
752 section sym.
753 (ppc_force_relocation <coff version>): Call S_FORCE_RELOC.
754 (ppc_force_relocation <elf version>): New.
755 (ppc_fix_adjustable <elf version>): Remove extern and weak tests.
756 (md_apply_fix3): Don't subtract symbol values for ELF. Update
757 comments. Don't subtract fx_subsy as that is already done.
758 * config/tc-ppc.h (tc_fix_adjustable): Tweak param name.
759 (MD_PCREL_FROM_SECTION): Likewise.
760 (TC_FORCE_RELOCATION): Define for both ELF and XCOFF as calling
761 ppc_force_relocation.
762 (TC_FORCE_RELOCATION_SECTION): Delete.
763 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
764 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
765 (MD_APPLY_SYM_VALUE): Define.
766 * config/tc-s390.c: #include "dwarf2dbg.h".
767 (s390_insn): Remove excess parens.
768 (tc_s390_fix_adjustable): Remove extern, weak, SEC_MERGE tests.
769 (tc_s390_force_relocation): Call S_FORCE_RELOC.
770 (md_apply_fix3): Add ATTRIBUTE_UNUSED on "seg". Abort when fx_subsy
771 non-NULL. Don't subtract off fx_addsy value.
772 * config/tc-s390.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
773 (TC_FORCE_RELOCATION, MD_PCREL_FROM_SECTION): Tweak param name.
774 (TC_FIX_ADJUSTABLE): Don't define.
775 (MD_APPLY_SYM_VALUE): Define.
776 * config/tc-sh.c (SWITCH_TABLE_CONS): Move to tc-sh.h.
777 (SWITCH_TABLE): Likewise.
778 (sh_force_relocation): Call S_FORCE_RELOC.
779 (sh_fix_adjustable): Remove "return 1" cases handled by the default.
780 Replace TC_RELOC_RTSYM_LOC_FIXUP with reloc type tests.
781 (md_apply_fix3 <case BFD_RELOC_32_PLT_PCREL>): Simplify,
782 fx_addnumber is zero on entry. Save val in fx_addnumber.
783 (tc_gen_reloc): Don't subtract fx_subsy.
784 * config/tc-sh.h (struct fix): Move.
785 (obj_fix_adjustable): Don't define.
786 (tc_fix_adjustable): Define this instead.
787 (TC_FIX_ADJUSTABLE): Don't define.
788 (MD_APPLY_SYM_VALUE): Define.
789 (SWITCH_TABLE_CONS): Define.
790 (SWITCH_TABLE): Define.
791 (TC_FORCE_RELOCATION_SUB_SAME): Define.
792 (TC_VALIDATE_FIX_SUB): Define.
793 (MD_PCREL_FROM_SECTION): Tweak param name.
794 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
795 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
796 (TC_FORCE_RELOCATION_SUB_ABS): Define.
797 * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
798 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
799 (TC_FORCE_RELOCATION_SUB_SAME): Define.
800 (TC_VALIDATE_FIX_SUB): Define.
801 (MD_PCREL_FROM_SECTION): Tweak param name.
802 * config/tc-sparc.c (md_apply_fix3): Don't subtract off symbol value.
803 (tc_gen_reloc): Use S_FORCE_RELOC.
804 (elf32_sparc_force_relocation): Call S_FORCE_RELOC.
805 * config/tc-sparc.h (TC_FORCE_RELOCATION <coff version>): Remove.
806 (TC_FORCE_RELOCATION_ABS): Define this instead.
807 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
808 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
809 (tc_fix_adjustable): Remove extern and weak tests. Use S_FORCE_RELOC.
810 (MD_APPLY_SYM_VALUE): Define.
811 (TC_FIX_DATA_PRINT): Tweak param name.
812 * config/tc-tic30.c (USE_STDOUT): Don't define.
813 (md_parse_option): Remove stupid debug code.
814 (tc_gen_reloc): Don't use fx_addnumber.
815 * config/tc-v850.c (v850_fix_adjustable): Remove extern and weak tests.
816 (v850_force_relocation): Remove weak test. Call S_FORCE_RELOC.
817 * config/tc-v850.h (obj_fix_adjustable): Don't define.
818 (tc_fix_adjustable): Define this instead.
819 (TC_FIX_ADJUSTABLE): Don't define.
820 (MD_APPLY_SYM_VALUE): Define this instead.
821 (TC_FORCE_RELOCATION, MD_PCREL_FROM_SECTION): Tweak param name.
822 * config/tc-vax.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
823 (TC_FIX_ADJUSTABLE): Don't define.
824 (MD_APPLY_SYM_VALUE): Define this instead.
825 (tc_fix_adjustable): Remove extern and weak tests.
826 * config/tc-w65.h (struct fix): Forward declare.
827 * config/tc-xstormy16.c (xstormy16_force_relocation): Call
828 S_FORCE_RELOC.
829 (xstormy16_fix_adjustable): Remove extern and weak tests. Don't
830 call xstormy16_force_relocation; Instead test for FPTR16 reloc.
831 (xstormy16_md_apply_fix3): Remove *valP fudges and code to subtract
832 absolute symbol.
833 * config/tc-xstormy16.h (MD_APPLY_FIX3): Don't define.
834 (MD_APPLY_SYM_VALUE): Define.
835 (obj_fix_adjustable): Don't define.
836 (tc_fix_adjustable): Define this instead.
837 (MD_PCREL_FROM_SECTION): Remove duplicate. Tweak param name.
838
839 2002-09-04 Alan Modra <amodra@bigpond.net.au>
840
841 * config/tc-ppc.c (ppc_frob_symbol): Formatting, warning fix.
842 (ppc_fix_adjustable <coff version>): Cleanup.
843
844 * config/tc-ppc.c (PPC_HIGHER, PPC_HIGHEST): Fix warning.
845 (md_parse_option): No -a64 without BFD64.
846 (ppc_set_cpu): Select appropriate cpu when ppc_obj64.
847 (ppc_arch): Use bfd_mach_rs6k for bfd_arch_rs6000.
848
849 2002-09-04 Nick Clifton <nickc@redhat.com>
850
851 * config/tc-ppc.c (md_begin): Do not insert non-BookE32
852 instructions into the hash table if the target cpu is the BookE32.
853
854 2002-08-31 Hans-Peter Nilsson <hp@bitrange.com>
855
856 * read.c (do_align): Use ATTRIBUTE_UNUSED_LABEL for label, not
857 ATTRIBUTE_UNUSED.
858
859 2000-08-28 Catherine Moore <clm@redhat.com>
860
861 * tc-v850.c (v850_relax): Declare.
862 (v850_longcode): New routine.
863 (v850_handle_align): New routine.
864 (md_pseudo_table): Add longcall and longjump.
865 (md_parse_option): Check for relax option.
866 (tc_gen_reloc): Handle BFD_RELOC_V850_LONGCALL,
867 BFD_RELOC_V850_LONGJUMP, and BFD_RELOC_V850_ALIGN.
868 (md_apply_fix3): Likewise.
869 (v850_force_relocation): Likewise.
870 (v850_comm): Change the current section.
871 (md_assemble): Ensure that the correct value is put in the
872 fixup.
873 (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss,
874 v850_zbss, v850_rosdata, v850_rozdata): Fix section book keeping.
875 Remove redundant v850ea support.
876 * tc-v850.h (HANDLE_ALIGN): Define.
877 (v850_handle_align): Declare.
878 * doc/c-v850.c: Document -mrelax, .longcall and .longjump.
879
880 2002-08-28 Svein E. Seldal <Svein.Seldal@solidas.com>
881
882 * configure.in: Add tic4x-coff* and c4x-coff*-coff-coff targets.
883 * configure: Regenerate.
884 * NEWS: Mention new port.
885
886 2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
887
888 * config/obj-coff.c: Add sdef definition.
889 * config/obj-coff.h: Add tic4x include file and set
890 target format.
891 * config/tc-tic4x.c: New file.
892 * config/tc-tic4x.h: New file.
893
894 2002-08-28 Alan Modra <amodra@bigpond.net.au>
895
896 * write.c (BFD_FAST_SECTION_FILL): Remove unused macro.
897 (TC_ADJUST_RELOC_COUNT): Tweak param name.
898 (TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_SECTION): Likewise.
899 (TC_FIX_ADJUSTABLE, MD_PCREL_FROM_SECTION): Likewise.
900 (RELOC_ENUM): Define.
901 (fix_new_internal): Use RELOC_ENUM.
902 (fix_new, fix_new_exp): Likewise.
903 (adjust_reloc_syms): Comment. Remove unnecessary tests on sym != NULL.
904 Replace gotos with continue.
905 (write_relocs): Formatting. Avoid symbol loops in
906 RELOC_EXPANSION_POSSIBLE case too. Report bfd_reloc_outofrange
907 errors, and error number in other cases.
908 (fixup_segment): Remove param names from prototype. Rename
909 "this_segment_type" to "this_segment". Update linkrelax comment.
910 Remove "size, "place" and "where" local vars. Formatting. Update
911 "no symbol" comment. Remove #if 0 and #if 1.
912
913 * app.c (do_scrub_chars): Don't test IGNORE_NONSTANDARD_ESCAPES. Tidy.
914
915 2002-08-27 Alan Modra <amodra@bigpond.net.au>
916
917 * dwarf2dbg.c: Always include dwarf2dbg.h.
918 (dwarf2_directive_file): Adjust dummy version args.
919 * ecoff.c (ecoff_directive_weakext): Add ATTRIBUTE_UNUSED.
920 * expr.c (clean_up_expression <O_subtract>): Allow subtraction
921 when symbol values differ.
922 * read.c (do_align): Add ATTRIBUTE_UNUSED to label.
923 (pseudo_set <O_subtract>): Remove unnecessary segment test.
924 * config/obj-bout.c (obj_pseudo_table): Warning fix.
925
926 2002-08-26 Alan Modra <amodra@bigpond.net.au>
927
928 * config/tc-w65.c (md_section_align): Fix typo.
929 (md_parse_option): Return 0, not 1.
930
931 2002-08-22 Nick Clifton <nickc@redhat.com>
932
933 * doc/as.texinfo (Section): Note that if '@' is a comment
934 character then another symbol is used to prefix the section's
935 type.
936
937 2002-08-22 Christian Groessler <chris@groessler.org>
938
939 * config/tc-z8k.c (get_operands): Adjust ptr variable also in
940 "case 0" case.
941
942 2002-08-12 Graeme Peterson <gp@qnx.com>
943
944 * configure.in: Add support for sh-**-nto* target.
945 * configure: Regenerate.
946
947 2002-08-21 Nitin Gupta <niting@noida.hcltech.com>
948
949 * config/tc-h8300.h (TC_LINKRELAX_FIXUP): Define.
950
951 2002-08-21 Elena Zannoni <ezannoni@redhat.com>
952
953 * config/tc-ppc.c (ppc_cleanup): Do something only if format
954 is ELF.
955 (ppc_apuinfo_section_add): Define only if format is ELF.
956 (md_assemble): Emit APUinfo section only if format is ELF.
957 Fix formatting.
958
959 2002-08-21 Alan Modra <amodra@bigpond.net.au>
960
961 * config/tc-arc.c (md_pseudo_table <dwarf2_directive_file>): Cast.
962 * config/tc-frv.c: Likewise.
963 * config/tc-hppa.c: Likewise.
964 * config/tc-ia64.c: Likewise.
965 * config/tc-ip2k.c: Likewise.
966 * config/tc-m68hc11.c: Likewise.
967 * config/tc-m68k.c: Likewise.
968 * config/tc-mmix.c: Likewise.
969 * config/tc-mn10300.c: Likewise.
970 * config/tc-sh.c: Likewise.
971 * config/tc-sparc.c: Likewise.
972 * config/tc-v850.c: Likewise.
973
974 2002-08-20 Richard Sandiford <rsandifo@redhat.com>
975
976 * config/tc-mips.c (macro2): Implement rotates by zero using shifts
977 by zero.
978
979 2002-08-19 Elena Zannoni <ezannoni@redhat.com>
980
981 From matthew green <mrg@redhat.com>
982
983 * config/tc-ppc.c (PPC_OPCODE_CLASSIC): Enable this everywhere
984 PPC_OPCODE_PPC is, except for BookE architectures.
985 (md_parse_option): Add support for -mspe.
986 (md_show_usage): Add -mspe.
987 (md_parse_option): Add support for -me500 and
988 -me500x2 to generate code for Motorola e500 core complex.
989 (md_show_usage): Add -me500 and -me500x2.
990
991 (PPC_APUINFO_ISEL, PPC_APUINFO_PMR, PPC_APUINFO_RFMCI,
992 PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE, PPC_APUINFO_EFS,
993 PPC_APUINFO_BRLOCK): New macros.
994
995 (ppc_cleanup): New function.
996 (ppc_apuinfo_section_add): New function.
997 (APUID): New macro.
998 (md_assemble): Collect info and write the APUinfo section.
999
1000 * config/tc-ppc.h (md_cleanup): Define.
1001 (ppc_cleanup): Export.
1002 (ELF_TC_SPECIAL_SECTIONS): Add .PPC.EMB.apuinfo section.
1003
1004 2002-08-17 Stan Cox <scox@redhat.com>
1005
1006 * config/obj-elf.c (obj_elf_change_section): Make non-static.
1007 config/tc-mips.c (s_change_section): New function to support
1008 IRIX .section pseudo-op.
1009
1010 2002-08-16 Nick Clifton <nickc@redhat.com>
1011
1012 * config/tc-v850.c (md_assemble): Fix assembling of "callt 0x3f".
1013
1014 2002-08-15 Alexandre Oliva <aoliva@redhat.com>
1015
1016 * config/tc-mips.c (macro_build_jalr): Make sure we generate
1017 the fix-up against on the right frag.
1018 (s_cpsetup): Likewise. Parse third argument as expression, to
1019 handle global symbols and forward/backward labels correctly.
1020
1021 2002-08-14 Nick Clifton <nickc@redhat.com>
1022
1023 * read.c (stringer): Catch attempts to create strings in the abs
1024 section.
1025
1026 * config/tc-alpha.c: Fix compiling for COFF targets.
1027 Some minor formatting tidyups.
1028
1029 2002-08-13 Stephane Carrez <stcarrez@nerim.fr>
1030
1031 * config/tc-m68hc11.h (MD_PCREL_FROM_SECTION): Remove.
1032 (TC_HANDLES_FX_DONE): Define to let md_apply_fix3 set fx_done flag
1033 according to the reloc.
1034 (tc_fix_adjustable, tc_m68hc11_fix_adjustable): Define.
1035 (TC_FORCE_RELOCATION): Define.
1036 (tc_m68hc11_force_relocation): Declare.
1037
1038 * config/tc-m68hc11.c (md_pseudo_table): Add relax command.
1039 (s_m68hc11_relax): New function for relax group.
1040 (build_insn, build_jump_insn): Emit a M68HC11_RL_JUMP reloc at
1041 beginning of jump instruction.
1042 (md_pcrel_from): Rename from md_pcrel_from_section and fix
1043 address computation.
1044 (tc-gen_reloc): Update.
1045 (md_estimate_size_before_relax): Create the BFD_RELOC_16_PCREL as
1046 PC-relative fixup.
1047 (tc_m68hc11_force_relocation): New function, handle new relocs.
1048 (tc_m68hc11_fix_adjustable): New to make sure there are enough
1049 reloc for the linker relax pass.
1050 (md_apply_fix3): Handle M68HC11_RL_JUMP, M68HC11_RL_GROUP
1051 and VTABLE relocs.
1052
1053 2002-08-13 Stephane Carrez <stcarrez@nerim.fr>
1054
1055 * config/tc-m68hc11.c (m68hc11_elf_final_processing): New function.
1056 (md_pseudo_table): Add .mode, .far and .interrupt pseudo op.
1057 (s_m68hc11_mode): New function for .mode pseudo op.
1058 (s_m68hc11_mark_symbol): New function for .far and .interrupt
1059 pseudo op.
1060 * config/tc-m68hc11.h (elf_tc_final_processing): Define.
1061 (m68hc11_elf_final_processing): Declare.
1062
1063 2002-08-13 Stephane Carrez <stcarrez@nerim.fr>
1064
1065 * config/tc-m68hc11.c (md_begin): Take into account additional
1066 page operand for call instruction.
1067 (print_opcode_format): Likewise.
1068 (check_range): Likewise for page range checking.
1069 (get_operand): Don't skip a possible comma in operands.
1070 (fixup8): Generate BFD_RELOC_M68HC11_PAGE reloc.
1071 (fixup16): Likwise with BFD_RELOC_M68HC11_LO16.
1072 (fixup24): New to handle call reloc.
1073 (build_insn): Handle missing page operand for call instruction.
1074 (find): Likewise.
1075 (md_apply_fix3): Take into account new relocs.
1076 (get_operand): Fix the mode for indexed indirect addressing.
1077 (build_indexed_byte): Fix post index byte for indexed indirect mode.
1078
1079 2002-08-12 Richard Sandiford <rsandifo@redhat.com>
1080
1081 * config/tc-mips.c (mips_ip): Don't work out the value of
1082 constant %hi()s here.
1083
1084 2002-08-10 Alan Modra <amodra@bigpond.net.au>
1085
1086 * config/tc-i386.c (tc_i386_fix_adjustable): Test OUTPUT_FLAVOR
1087 for ELF, and don't bother checking ELF relocs when non-ELF.
1088 (i386_immediate): Allow absolute_section expressions for aout.
1089 (i386_displacement): Likewise. Also test bfd_is_com_section.
1090 (md_estimate_size_before_relax): Test OUTPUT_FLAVOR for ELF.
1091 (md_apply_fix3): Hack for bfd_install_relocation when fx_pcrel,
1092 not when fx_addsy. Remove dead code.
1093
1094 2002-08-09 Graeme Peterson <gp@qnx.com>
1095
1096 * configure.in: Add support for ppc-*-nto* target.
1097 * configure: Regenerate.
1098
1099 2002-08-09 Alan Modra <amodra@bigpond.net.au>
1100
1101 * config/tc-i386.h: Reorganize.
1102
1103 2002-08-09 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1104
1105 * config/tc-mips.c (macro): Handle a register plus a 16-bit
1106 immediate offset in "dla" and "la" expansions.
1107
1108 2002-08-09 Alan Modra <amodra@bigpond.net.au>
1109
1110 * configure.in: bfd_gas=yes for all i386 targets. Formatting.
1111 Remove "bfd_gas=yes" from target table when covered later.
1112 Consolidate some entries.
1113 * configure: Regenerate
1114
1115 2002-08-09 Jakub Jelinek <jakub@redhat.com>
1116
1117 * config/tc-i386.c (output_insn): Save frag_now and frag_now_fix ()
1118 at start of insn, pass it to output_disp and output_imm.
1119 (output_disp): Added arguments. If _GLOBAL_OFFSET_TABLE_ is seen
1120 in displacement for R_386_32 reloc, use R_386_GOTPC and compute
1121 properly addend.
1122 (output_imm): Added arguments. Compute properly addend for
1123 R_386_GOTPC.
1124 (md_apply_fix3): Remove R_386_GOTPC handling.
1125 * testsuite/gas/i386/gotpc.s: New.
1126 * testsuite/gas/i386/gotpc.d: New.
1127 * testsuite/gas/i386/i386.exp: Add gotpc test.
1128
1129 2002-08-06 George France <france@handhelds.org>
1130
1131 * config/tc-alpha.c (cpu_types): Enabled ev67, ev68, -m21264a
1132 and m21264b processor names and cpu types.
1133 * doc/c-alpha.texi: Documented new types.
1134
1135 2002-08-06 Alan Modra <amodra@bigpond.net.au>
1136
1137 * config/tc-ppc.c (md_apply_fix3): Adjust 16 bit XCOFF reloc offset.
1138
1139 2002-08-01 Richard Sandiford <rsandifo@redhat.com>
1140
1141 * config/tc-mips.c (tc_gen_reloc): Extend GP-relative addend
1142 handling to BFD_RELOC_MIPS16_GPREL.
1143
1144 2002-08-01 Nick Clifton <nickc@redhat.com>
1145
1146 * config/tc-arm.c (add_to_lit_pool): Ensure that offset to literal
1147 pool is computed using signed arithmetic so that proper sign
1148 extension is performed if X_add_number is a 64-bit integer.
1149
1150 2002-08-01 H.J. Lu <hjl@gnu.org>
1151 Daniel Jacobowitz <drow@mvista.com>
1152
1153 * dwarf2dbg.c (dwarf2_finish): Don't emit unreferenced
1154 .debug_line section unless it has line information.
1155
1156 2002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au>
1157
1158 * config/tc-ns32k.h (md_pcrel_adjust): Supply prototype.
1159 * config/tc-ns32k.c (convert_iif, md_parse_option, md_show_usage):
1160 Allow default displacement size to be an option "--disp-size-default".
1161 (md_number_to_disp): Make error messages include value. Use %d to
1162 print integers, not %s.
1163 (fix_new_ns32k): Conditionally set fx_no_overflow so we don't
1164 get duplicate messages sometimes.
1165 (convert_iif): Grow frag to max possible instruction size. Avoid
1166 creating unnecessary fixes.
1167 (md_number_to_field) Add prototype.
1168 (encode_operand, parse, convert_iif, md_fix_pcrel_adjust): Add
1169 prototypes and make static.
1170 (struct addr_mode): Make mode and scaled_mode explicitly signed.
1171 (evaluate_expr): Use resultP argument instead of exprP global.
1172 (get_addr_mode): Quiten compiler warnings.
1173 (encode_operand): eliminate unused variables. Quiten compiler
1174 warnings. Eliminate nul character in format strings.
1175 (parse): argc is unsigned.
1176 (reloc): Type cast index to quieten compiler.
1177 (md_pcrel_adjust, md_apply_fix3): Remove unused variable.
1178 (md_convert_frag): Note unused parameters. Remove unused
1179 variables.
1180 (md_create_long_jump, md_create_short_jump,
1181 md_undefined_symbol_name, md_section_align, tc_gen_reloc): Note
1182 unused parameters.
1183
1184 2002-07-31 Nick Clifton <nickc@redhat.com>
1185
1186 * NEWS: Retroactively add entry for Lars Brinkhoff's contribution
1187 of the PDP-11 and 2.11BSD a.out support.
1188
1189 2002-07-31 Momchil Velikov <velco@fadata.bg>
1190
1191 * config/tc-v850.c (md_assemble): Fix range check for immediate
1192 operand.
1193
1194 2002-07-30 Chris Demetriou <cgd@broadcom.com>
1195
1196 * config/tc-mips.c (mips_cpu_info_table): Clean up entries related
1197 to Broadcom SB-1 core support.
1198
1199 2002-07-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1200
1201 * config/tc-mips.c (mips_target_format): Fix formatting.
1202 Add recognition of n32 ABI formats.
1203
1204 2002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1205
1206 * tc-mips.c (load_address): Don't clobber $at when loading a
1207 64-bit address in non-PIC code if noat is in effect.
1208 (macro): Likewise.
1209
1210 2002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1211
1212 * config/tc-mips.c (macro): Use codes 6 and 7 in trap instructions
1213 used in division/multiply macro expansions similarly to how they
1214 are used in the variants with break instructions.
1215 (macro2): Likewise.
1216
1217 2002-07-30 Graeme Peterson <gp@qnx.com>
1218
1219 * configure.in: Add support for arm-*-nto target.
1220 * configure: Regenerate.
1221
1222 2002-07-30 Nick Clifton <nickc@redhat.com>
1223
1224 * config/tc-arm.c (struct literal_pool): Add fields to allow
1225 multiple literal pools to be maintained.
1226 (find_literal_pool): New function.
1227 (find_or_make_literal_pool): New function.
1228 (add_to_literal_pool): Use find_or_make_literal_pool.
1229 (arm_s_text, arm_s_data, arm_s_section): Remove - no longer
1230 needed.
1231 (s_ltorg): Use find_literal_pool.
1232 (arm_cleanup): Dump all literal pools.
1233 * doc/c-arm.texi: Document new behaviour of only dumping literal
1234 pools upon request.
1235
1236 2002-07-26 Alan Modra <amodra@bigpond.net.au>
1237
1238 * config/tc-ppc.c (ppc_set_cpu): Use PPC_OPCODE_64 as the default
1239 rather than PPC_OPCODE_32 for powerpc64*.
1240
1241 2002-07-25 Nick Clifton <nickc@redhat.com>
1242
1243 * po/es.po: Updated Spanish translation.
1244 * po/fr.po: Updated French translation.
1245
1246 2002-07-25 Richard Sandiford <rsandifo@redhat.com>
1247
1248 * doc/c-mips.texi: Remove -mcpu. Document -mabi.
1249 * configure.in (MIPS_CPU_STRING_DEFAULT): New configuration macro.
1250 (USE_E_MIPS_ABI_O32, MIPS_DEFAULT_64BIT): New configuration macros.
1251 * configure, config.in: Regenerate.
1252 * config/tc-mips.c (file_mips_abi): Rename to mips_abi.
1253 (mips_set_options): Remove "abi" field.
1254 (mips_opts): Update accordingly. Replace all uses of mips_opts.abi
1255 with mips_abi.
1256 (mips_cpu): Remove.
1257 (mips_arch_string, mips_arch_info): New vars.
1258 (mips_tune_string, mips_tune_info): New vars.
1259 (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New macros.
1260 (HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): Don't check the ABI.
1261 (mips_isa_to_str, mips_cpu_to_str): Remove.
1262 (mips_ip): If the selected architecture is a generic ISA rather
1263 than a processor, only mention the ISA level in error messages.
1264 (OPTION_MCPU): Remove.
1265 (OPTION_FP64): New.
1266 (md_longopts): Add -mfp64, remove -mcpu.
1267 (mips_set_option_string): New fn.
1268 (md_parse_option): Make -mipsN update file_mips_isa rather than
1269 mips_opts.isa. Use mips_set_option_string to set -march or -mtune.
1270 Don't let -mgp32 and -mfp32 change the ABI.
1271 (show): Move to end of file. Constify string argument.
1272 (md_show_usage): Move to the end of the file. Read available
1273 architectures from mips_cpu_info_table.
1274 (mips_set_architecture): New fn.
1275 (mips_after_parse_args): Rework. Remove -mcpu handling. -mipsN
1276 is an alias for -march=mipsN. Don't change the ABI based on other
1277 flags. Infer the register size from the ABI as well as the
1278 architecture. Complain about more conflicting arguments.
1279 Unify logic with GCC.
1280 (s_mipsset): Don't change the ABI.
1281 (mips_elf_final_processing): Check USE_E_MIPS_ABI_O32.
1282 (mips_cpu_info_table): Remove Generic-MIPS* entries, keeping just
1283 "mipsN"-type entries. Remove entries that vary only in the
1284 manufacturer's prefix, or that have "000" replaced by "k".
1285 Remove TARGET_CPU entries. Make r2000 entry use CPU_R3000.
1286 (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
1287 (mips_parse_cpu): New fn.
1288 (mips_cpu_info_from_name, mips_cpu_info_from_cpu): Remove.
1289 (mips_cpu_info_from_isa): Minor formatting tweak.
1290
1291 2002-07-24 Nick Clifton <nickc@redhat.com>
1292
1293 * po/sv.po: Updated Swedish translation.
1294 * po/es.po: Updated Spanish translation.
1295
1296 2002-07-23 Alan Modra <amodra@bigpond.net.au>
1297
1298 * Makefile.am: Run "make dep-am".
1299 * Makefile.in: Regenerate.
1300 * doc/Makefile.in: Regenerate.
1301 * config.in: Regenerate.
1302 * po/POTFILES.in: Regenerate.
1303
1304 2002-07-23 Nick Clifton <nickc@redhat.com>
1305
1306 * po/fr.po: Updated French translation.
1307
1308 2002-07-23 Nick Clifton <nickc@redhat.com>
1309
1310 * CONTRIBUTORS: Ken Raeburn is no longer the maintainer for
1311 GAS.
1312
1313 2002-07-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1314
1315 * config/tc-mips.c (mips_need_elf_addend_fixup): Use S_IS_EXTERNAL
1316 instead of S_IS_EXTERN.
1317 (md_estimate_size_before_relax): Likewise.
1318 (mips_fix_adjustable): Likewise.
1319
1320 2002-07-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1321
1322 * config/tc-mips.c (mips_pic_level): Remove IRIX4_PIC.
1323
1324 2002-07-19 Miroslav Tichy <tichm9am@ss1000.ms.mff.cuni.cz>
1325 Nick Clifton <nickc@redhat.com>
1326
1327 * cond.c (s_ifdef): Treat a referenced but not yet defined
1328 symbol as if it were undefined, in exactly the same way as
1329 .equiv.
1330
1331 * doc/as.texinfo: Document that .ifdef, .ifndef and .equiv
1332 consider referenced bug not yet defined symbols to be
1333 undefined.
1334
1335 2002-07-18 Denis Chertykov <denisc@overta.ru>
1336 Frank Ch. Eigler <fche@redhat.com>
1337 Alan Lehotsky <alehotsky@cygnus.com>
1338 John Healy <jhealy@redhat.com>
1339 Jeff Johnston <jjohnstn@redhat.com>
1340
1341 * configure.in: Add ip2k configuraton.
1342 * configure: Regenerate.
1343 * Makefile.am: Add ip2k configuraton.
1344 * Makefile.in: Regenerate.
1345 * configure: Regenerate.
1346 * Makefile.in: Regenerate.
1347 * config/tc-ip2k.c: New file.
1348 * config/tc-ip2k.h: New files.
1349 * NEWS: Mention new support.
1350 * doc/Makefile.am (CPU_DOCS): Add c-ip2k.texi.
1351 * doc/Makefile.in: Regenerate.
1352 * doc/all.texi: Set IP2K
1353 * doc/as.texinfo: Add IP2K description.
1354 * doc/c-ip2k.texi: New file.
1355
1356 2002-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1357
1358 * NEWS: Reformat to match style of other NEWS files.
1359
1360 2002-07-17 Jan Hubicka <jh@suse.cz>
1361
1362 * tc-i386.c (i386_align_code): Implement x86_64 neutral code fillers.
1363
1364 2002-07-16 Moritz Jodeit <moritz@jodeit.org>
1365
1366 * config/tc-z8k.c (build_bytes): Correct order of memset args.
1367
1368 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
1369
1370 * NEWS: Add 'Changes in 2.13'.
1371
1372 2002-07-15 Matt Fredette <fredette@netbsd.org>
1373
1374 * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define if TE_NetBSD.
1375
1376 2002-07-12 Alan Modra <amodra@bigpond.net.au>
1377
1378 * config/tc-i386.c (process_suffix): Merge CODE_64BIT JumpByte
1379 case with non CODE_64BIT case. Don't warn on "qword ptr" if
1380 not CODE_64BIT.
1381
1382 2002-07-11 Alan Modra <amodra@bigpond.net.au>
1383
1384 * config/tc-ppc.c (ppc_elf_frob_symbol): Delete.
1385 (ppc_frob_file_before_adjust): New function.
1386 * config/tc-ppc.h (tc_frob_symbol): Don't define.
1387 (ppc_elf_frob_symbol): Don't declare.
1388 (tc_frob_file_before_adjust): Define.
1389 (ppc_frob_file_before_adjust): Declare.
1390
1391 * config/tc-ppc.c (md_pseudo_table): Warning fix.
1392 (ppc_cpu): Make it unsigned long to agree with struct powerpc_opcode
1393 flags.
1394 (ppc_size): Delete.
1395 (ppc_xcoff64): Rename to ppc_obj64.
1396 (md_parse_option <m>): Encode old ppc_size value in ppc_cpu.
1397 (ppc_set_cpu): Set PPC_OPCODE_32 too.
1398 (ppc_arch): Use ppc_obj64 instead of ppc_size to select bfd_mach_ppc64
1399 or bfd_mach_ppc.
1400 (ppc_target_format): Use ppc_obj64 to select format.
1401 (md_begin): Adjust for PPC_OPCODE_32/64 in ppc_cpu.
1402 (ppc_insert_operand): Use ppc_obj64 instead of ppc_size.
1403 (ppc_elf_suffix): Likewise. Don't depend on BFD_DEFAULT_TARGET_SIZE.
1404 (tc_frob_symbol): Likewise.
1405 (md_assemble): Use ppc_obj64 instead of ppc_size. Don't depend on
1406 BFD_DEFAULT_TARGET_SIZE.
1407 (ppc_tc): Likewise.
1408 (ppc_is_toc_sym): Likewise.
1409 (md_apply_fix3): Likewise.
1410 * config/tc-ppc.h (TC_FORCE_RELOCATION): Don't depend on
1411 BFD_DEFAULT_TARGET_SIZE.
1412 (ELF_TC_SPECIAL_SECTIONS): Likewise.
1413 (tc_frob_symbol): Likewise.
1414
1415 2002-07-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1416
1417 * config/tc-mips.c (macro_build): Handle MIPS16 insns.
1418 (mips_ip): Likewise.
1419
1420 2002-07-09 Alan Modra <amodra@bigpond.net.au>
1421
1422 * config/tc-i386.c (md_pseudo_table <file>): Warning fix.
1423 (BFD_RELOC_8, BFD_RELOC_8_PCREL): Define for non-BFD.
1424 (md_apply_fix3): Formatting. Remove redundant test.
1425 (tc_gen_reloc): Remove redundant code.
1426 (tc_i386_force_relocation): Delete. Movy body of function to..
1427 * config/tc-i386.h (TC_FORCE_RELOCATION): .. here.
1428
1429 2002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br>
1430
1431 * configure.in: Add hppa-*-openbsd* target, change
1432 alpha*-*-openbsd* format to elf, and use elf for sparc-*-openbsd*
1433 with sparc64 cpu.
1434 * configure: Regenerate.
1435
1436 2002-07-08 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1437
1438 * config/tc-mips.c (macro): Shift the 32-bit address range
1439 accessible with a lone "lui" down by 32768.
1440
1441 2002-07-08 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1442
1443 * config/tc-mips.c (load_address): Use non-trapping "daddu"
1444 instead of "dadd" in address calculations.
1445 (macro): Likewise.
1446
1447 2002-07-08 Alan Modra <amodra@bigpond.net.au>
1448
1449 * config/tc-i386.c (process_suffix): Remove intel mode movsx and
1450 movzx fudges.
1451 (md_assemble): Instead, zap the suffix here.
1452
1453 2002-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1454
1455 * NEWS: Remove next release number until the release is actually
1456 upon us.
1457
1458 2002-07-03 Alan Modra <amodra@bigpond.net.au>
1459
1460 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
1461 Run "make dep-am".
1462 * Makefile.in: Regenerate.
1463
1464 2002-07-02 Martin Schwidefsky <schwidefsky@de.ibm.com>
1465
1466 * config/tc-s390.c (tc_s390_fix_adjustable): Prevent any adjustment
1467 to symbols in merge sections, even non pc-relative ones.
1468
1469 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
1470
1471 * config/tc-m68hc11.h (m68hc11_listing_header): Fix warning.
1472
1473 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
1474
1475 * config/tc-m68hc11.h (ELF_TC_SPECIAL_SECTIONS): New sections
1476 .softregs and .eeprom.
1477
1478 2002-06-28 David O'Brien <obrien@FreeBSD.org>
1479
1480 * NEWS: Note the next release is 2.13.
1481
1482 2002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
1483
1484 * po/tr.po: New translation imported.
1485
1486 2002-06-26 Elias Athanasopoulos <eathan@otenet.gr>
1487
1488 * ecoff.c: (get_tag): Replace strcpy with xstrdup.
1489 (ecoff_directive_def): Likewise.
1490 (ecoff_directive_tag): Likewise.
1491 * listing.c (file_info): Likewise.
1492 * hash.c (what): Likewise.
1493
1494 2002-06-25 H.J. Lu <hjl@gnu.org>
1495
1496 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
1497 * Makefile.in: Regenerated.
1498
1499 2002-06-19 Dhananjay R. Deshpande <dhananjayd@kpit.com>
1500
1501 * config/tc-sh.c (get_specific): Revert 2002-05-01 change.
1502 (assemble_ppi): Generate warning if the same register is used
1503 twice as destination in the same padd / pmuls instruction.
1504
1505 2002-06-18 Dave Brolley <brolley@redhat.com>
1506
1507 From Catherine Moore, Michael Meissner, Richard Sandiford, Dave Brolley
1508 * po/POTFILES.in: Add tc-frv.c, tc-frv.h.
1509 * configure.in: Support frv-*-*.
1510 * Makefile.am (CPU_TYPES): Add frv.
1511 (TARGET_CPU_CFILES): Add tc-frv.c.
1512 (TARGET_CPU_HFILES): Add tc-frv.h.
1513 (DEPTC_frv_coff): New variable.
1514 (DEPTC_frv_elf): New variable.
1515 (DEPOBJ_frv_coff): New variable.
1516 (DEPOBJ_frv_elf): New variable.
1517 (DEP_frv_coff): New variable.
1518 (DEP_frv_elf): New variable.
1519 * tc-frv.c: New file.
1520 * tc-frv.h: New file.
1521
1522 2002-06-17 Catherine Moore <clm@redhat.com>
1523
1524 * config/obj-elf.h (TARGET_SYMBOL_FIELDS): Conditionally define.
1525
1526 2002-06-17 J"orn Rennecke <joern.rennecke@superh.com>
1527
1528 * config/tc-sh.c (assemble_ppi): Initialize reg_n.
1529
1530 2002-06-17 Tom Rix <trix@redhat.com>
1531
1532 * config/tc-i370.h (tc_comment_chars): Define for i370-elf.
1533
1534 2002-06-14 H.J. Lu <hjl@gnu.org>
1535 Daniel Jacobowitz <drow@mvista.com>
1536
1537 * dwarf2dbg.h (dwarf2_directive_file): Return char *.
1538 * dwarf2dbg.c (dwarf2_directive_file): Return filename.
1539 * config/tc-mips.c (s_mips_file): Call s_app_file_string
1540 and new_logical_line for the first .file directive.
1541 * read.c (s_app_file_string): New function.
1542 (s_app_file): Call it.
1543 * read.h (s_app_file_string): Add declaration.
1544
1545 2002-06-14 Daniel Jacobowitz <drow@mvista.com>
1546
1547 * configure.in: Remove MIPS_STABS_ELF.
1548 * configure: Regenerated.
1549 * config.in: Regenerated.
1550 * config/obj-elf.h (ECOFF_DEBUGGING): Define to mips_flag_mdebug
1551 for MIPS targets.
1552 * config/tc-mips.c (mips_pseudo_table): Remove #ifdef around
1553 ".extern".
1554 (pdr_seg): Declare unconditionally.
1555 (md_begin): Always generate .pdr unless ECOFF_DEBUGGING or not ELF.
1556 (s_mips_end): Likewise. Generate stabs function markers.
1557 (s_mips_ent): Generate stabs function markers.
1558 (s_mips_frame): Always generate .pdr unless ECOFF_DEBUGGING or not
1559 ELF.
1560 (s_mips_mask): Likewise.
1561 (mips_flag_mdebug): New.
1562 (md_longopts): Add "mdebug" and "no-mdebug".
1563 (md_parse_options): Add OPTION_MDEBUG and OPTION_NO_MDEBUG.
1564 (mips_after_parse_args): Set mips_flag_mdebug.
1565 * doc/as.texinfo: Add "-mdebug" and "-no-mdebug" for MIPS.
1566
1567 2002-06-13 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1568
1569 * config/tc-mips.c (md_apply_fix3): Don't subtract the symbol's
1570 value twice for RELA relocations.
1571
1572 2002-06-12 Ben Elliston <bje@redhat.com>
1573
1574 * symbols.c (resolve_symbol_value): Initialise final_val.
1575
1576 * subsegs.c (subsegs_print_statistics): Cast frchp to void *.
1577
1578 2002-06-11 Tom Rix <trix@redhat.com>
1579
1580 * config/tc-ppc.c (ppc_subseg_align): Delete.
1581 (ppc_change_csect): Default csect align is 2.
1582 * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Delete
1583
1584 2002-06-09 Marek Michalkiewicz <marekm@amelek.gda.pl>
1585
1586 * config/tc-avr.c (mcu_types): Update.
1587
1588 2002-06-08 Matt Thomas <matt@3am-software.com>
1589
1590 * configure.in (vax-*-netbsdelf*, vax-*-netbsdaout*)
1591 (vax-*-netbsd*): New targets.
1592 * configure: Regenerate.
1593 * config/aout_gnu.h (enum machine_type): Add M_VAX4K_NETBSD.
1594 * config/tc-vax.c: Add support for ELF and PIC.
1595 (flag_want_pic): New flag.
1596 (float_cons): Fix prototype.
1597 (md_apply_fix3): Adjust for BFD_ASSEMBLER.
1598 (md_assemble): Introduce a new is_absolute local, and use it
1599 rather than repeating the test. Make fatal errors actually
1600 fatal by using as_fatal as appropriate. Adjust for BFD_ASSEMBLER.
1601 Add support for ELF. Add support for PIC.
1602 (md_convert_frag): Adjust for BFD_ASSEMBLER.
1603 (tc_aout_fix_to_chars): Only include if OBJ_AOUT and not
1604 BFD_ASSEMBLER.
1605 (vax_reg_parse): Make the % register prefix mandatory for ELF,
1606 optional for a.out, and not allowed for VMS. Adjust all callers.
1607 (md_create_short_jump): Add ATTRIBUTE_UNUSED to unused arguments.
1608 (md_create_long_jump): Likewise.
1609 (md_undefined_symbol): Likewise.
1610 (md_section_align): Likewise.
1611 (md_shortopts): Allow -k and -K for ELF.
1612 (md_parse_option): Set flag_want_pic if -k or -K.
1613 (tc_headers_hook): New function if OBJ_AOUT and not BFD_ASSEMBLER.
1614 (tc_gen_reloc): New function if BFD_ASSEMBLER.
1615 * config/tc-vax.h (tc_headers_hook): Remove.
1616 (TARGET_FORMAT): Set according to object format and target
1617 environment.
1618 (BFD_ARCH, TARGET_ARCH): Define.
1619 (NO_RELOC): Adjust for BFD_ASSEMBLER.
1620 (TC_RELOC_RTSYM_LOC_FIXUP, TC_FIX_ADJUSTABLE)
1621 (tc_fix_adjustable): Define if BFD_ASSEMBLER.
1622 * config/vax-inst.h (VAX_JSB, VAX_CALLS, VAX_CALLG): Define.
1623
1624 2002-06-08 Alan Modra <amodra@bigpond.net.au>
1625
1626 * Makefile.am: Run "make dep-am".
1627 * Makefile.in: Regenerate.
1628
1629 * as.c: Replace CONST with const.
1630 * write.c: Likewise.
1631 * config/obj-coff.c: Likewise.
1632 * config/tc-a29k.c: Likewise.
1633 * config/tc-arm.c: Likewise.
1634 * config/tc-dlx.c: Likewise.
1635 * config/tc-h8300.c: Likewise.
1636 * config/tc-h8500.c: Likewise.
1637 * config/tc-i370.c: Likewise.
1638 * config/tc-i860.c: Likewise.
1639 * config/tc-i960.c: Likewise.
1640 * config/tc-m68hc11.c: Likewise.
1641 * config/tc-m68k.c: Likewise.
1642 * config/tc-m88k.c: Likewise.
1643 * config/tc-mcore.c: Likewise.
1644 * config/tc-mips.c: Likewise.
1645 * config/tc-ns32k.c: Likewise.
1646 * config/tc-pdp11.c: Likewise.
1647 * config/tc-pj.c: Likewise.
1648 * config/tc-s390.c: Likewise.
1649 * config/tc-sh.c: Likewise.
1650 * config/tc-sparc.c: Likewise.
1651 * config/tc-tahoe.c: Likewise.
1652 * config/tc-tic80.c: Likewise.
1653 * config/tc-v850.c: Likewise.
1654 * config/tc-vax.c: Likewise.
1655 * config/tc-w65.c: Likewise.
1656 * config/tc-z8k.c: Likewise.
1657
1658 2002-06-08 Daniel Jacobowitz <drow@mvista.com>
1659
1660 Based on patch from Matt Green:
1661 * config/obj-elf.h (ECOFF_DEBUGGING): Make configurable.
1662 * config/tc-mips.c (s_mips_file): Renamed from s_file.
1663 (s_mips_loc): New function.
1664 (mips_nonecoff_pseudo_table): Call them.
1665 (append_insn): Call dwarf2_emit_insn.
1666
1667 2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1668
1669 * config/tc-mips.c (mips_opts): Fix comment, all ASE fields are set
1670 to -1.
1671 (file_ase_mips16): New veriable.
1672 (mips_eabi64): Remove.
1673 (CPU_HAS_MIPS16): New define.
1674 (CPU_HAS_MDMX): Fix data type.
1675 (md_begin): Code cleanup. Use file_ase_mips16.
1676 (mips_elf_final_processing): Handle mips16 header flag.
1677 Handle EABI flag without intermediate variable.
1678
1679 2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1680
1681 * doc/as.texinfo: Update MIPS documentation.
1682
1683 2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1684
1685 * config/tc-mips.c: Add define for $zero register.
1686 (md_begin): Add $zero as alias name for $0.
1687 (insn_uses_reg): Use ZERO define.
1688 (mips_ip): Add $zero as alias name for $0.
1689 (mips16_ip): Likewise.
1690 (s_cplocal): Demand empty rest of input line.
1691 (tc_get_register): Likewise. Add support for $kt0, kt1 register
1692 names. Use ZERO define. Fix input_line_pointer progress.
1693
1694 2002-06-07 Alan Modra <amodra@bigpond.net.au>
1695
1696 * symbols.c: Replace CONST by const throughout.
1697 (symbol_find_exact): Split out from..
1698 (symbol_find_base): ..here.
1699 * symbols.h: Replace CONST by const throughout.
1700 (symbol_find_exact): Declare.
1701 * config/obj-elf.c: #include "struc-symbol.h".
1702 (elf_frob_file): If group name matches an exported symbol, use that
1703 symbol for the signature and ".group" as the section name.
1704
1705 2002-06-06 J"orn Rennecke <joern.rennecke@superh.com>
1706
1707 * config/tc-sh.c (parse_at): @(symbol,pc) is A_DISP_PC again,
1708 but warn about it.
1709 * testsuite/gas/sh/pcrel.s: Also test @(symbol,pc).
1710 * testsuite/gas/sh/pcrel.d: Update.
1711 * testsuite/gas/sh/pcrel.l: New file.
1712
1713 2002-06-06 Daniel Jacobowitz <drow@mvista.com>
1714
1715 * tc-mips.c (mips_after_parse_args): Always set mips_opts.ase_mips3d
1716 and mips_opts.ase_mdmx if they are uninitialized.
1717
1718 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
1719
1720 * gas/config/tc-hppa.c (pa_ip): Replace "L$0\001" with FAKE_LABEL_NAME.
1721 (hppa_force_relocation): Check if a stub just before the start symbol
1722 of the last call_info is reachable before forcing relocation. Fix
1723 typo.
1724
1725 2002-06-04 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1726
1727 * config/tc-mips.c (mips_after_parse_args): New function.
1728 (md_begin): Move processing of defaults to mips_after_parse_args.
1729 config/tc-mips.h (md_after_parse_args): Define.
1730
1731 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
1732
1733 * configure.in (sh5*): Set cpu_type to sh64 and endian to big.
1734 (sh5le*, sh64le*): Set cpu_type to sh64 and endian to little.
1735 (sh5*-*-netbsd*, sh64*-*-netbsd*): New targets.
1736 * configure: Regenerate.
1737 * config/tc-sh64.c (sh64_target_format): Add support for NetBSD
1738 environment.
1739
1740 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
1741
1742 * config/tc-sh64.h (MD_PCREL_FROM_SECTION): Undef before redefining.
1743
1744 2002-06-04 Alan Modra <amodra@bigpond.net.au>
1745
1746 * config/obj-elf.c (obj_elf_change_section): Set and check elf
1747 linkonce flag. Print all warnings.
1748 (obj_elf_section): Parse ",comdat" for groups.
1749 (elf_frob_file): Set SEC_LINK_ONCE on COMDAT groups. Check
1750 consistency of comdat flag.
1751
1752 2002-06-02 Richard Henderson <rth@redhat.com>
1753
1754 * config/tc-alpha.c (alpha_adjust_symtab_relocs): Fix thinko
1755 with LITERALs without sequence numbers.
1756
1757 2002-06-01 Richard Henderson <rth@redhat.com>
1758
1759 * config/tc-alpha.c: Move LITUSE constants to "elf/alpha.h".
1760 Rename them LITUSE_ALPHA_*.
1761
1762 2002-05-31 Shrinivas Atre <ShrinivasA@kpit.com>
1763
1764 * config/tc-h8300.c (get_operand): Allow stm.l and ldm.l insns to
1765 accept parentheses enclosed register lists.
1766
1767 2002-05-31 Alan Modra <amodra@bigpond.net.au>
1768
1769 * Makefile.am: Run "make dep-am".
1770 * Makefile.in: Regenerate.
1771 * po/POTFILES.in: Regenerate.
1772
1773 2002-05-31 Graeme Peterson <gp@qnx.com>
1774
1775 * configure.in: Add i386-*-nto-qnx*.
1776 * configure: Regenerate.
1777
1778 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1779
1780 * config/tc-mips.c (mips_ip): Use unsigned long values for
1781 warning output.
1782
1783 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1784
1785 * config/tc-mips.c (s_cpsetup): Fix initialization of
1786 mips_cpreturn_register and mips_cpreturn_offset.
1787
1788 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1789
1790 * config/tc-mips.c (s_cpsetup): Fix comment.
1791
1792 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1793
1794 * config/tc-mips.c (md_begin): Add $ra as alias name for $31.
1795 (mips_ip): Likewise.
1796 (mips16_ip): Likewise.
1797 (tc_get_register): Likewise.
1798
1799 2002-05-30 Chris G. Demetriou <cgd@broadcom.com>
1800 Ed Satterthwaite <ehs@broadcom.com>
1801
1802 * config/tc-mips.c (mips_set_options): New "ase_mdmx" member.
1803 (mips_opts): Initialize "ase_mdmx" member.
1804 (file_ase_mdmx): New variable.
1805 (CPU_HAS_MDMX): New macro.
1806 (md_begin): Initialize mips_opts.ase_mdmx and file_ase_mdmx
1807 based on command line options and configuration defaults.
1808 (macro_build): Note in comment that use of MDMX in macros is
1809 not currently allowed.
1810 (validate_mips_insn): Add support for the "O", "Q", "X", "Y", and
1811 "Z" MDMX operand types.
1812 (mips_ip): Accept MDMX instructions if mips_opts.ase_mdmx is set,
1813 and add support for the "O", "Q", "X", "Y", and "Z" MDMX operand
1814 types.
1815 (OPTION_MDMX, OPTION_NO_MDMX, md_longopts, md_parse_option):
1816 Add support for "-mdmx" and "-no-mdmx" options.
1817 (OPTION_ELF_BASE): Move to accomodate new options.
1818 (s_mipsset): Support ".set mdmx" and ".set nomdmx".
1819 (mips_elf_final_processing): Set MDMX ASE ELF header flag if
1820 file_ase_mdmx was set.
1821 * doc/as.texinfo: Document -mdmx and -no-mdmx options.
1822 * doc/c-mips.texi: Likewise, and document ".set mdmx" and ".set
1823 nomdmx" directives.
1824
1825 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1826
1827 * config/tc-mips.c (OPTION_NO_M7000_HILO_FIX): Rename to
1828 OPTION_MNO_7000_HILO_FIX. Add alternate "mno-fix7000"
1829 command line switch conforming to gcc conventions.
1830 * doc/c-mips.texi: Document -mno-fix7000 instead of no-mfix-7000.
1831
1832 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1833
1834 * config/tc-mips.c (macro_build_jalr): New Function.
1835 (md_begin): NewABI uses big GOTs.
1836 (macro_build): Recognize BFD_RELOC_MIPS_GOT_DISP,
1837 BFD_RELOC_MIPS_GOT_PAGE, BFD_RELOC_MIPS_GOT_OFST as valid.
1838 (load_address): Add some NewABI PIC support.
1839 (macro): Likewise.
1840 (md_apply_fix): Special handling for BFD_RELOC_MIPS_JALR.
1841 (tc_gen_reloc): Don't encode NewABI vtables in REL relocations.
1842
1843 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1844
1845 * config/tc-mips.c (load_address): Use mips_gp_register instead
1846 of hardcoded value. Remove dbl parameter, use HAVE_32BIT_ADDRESSES
1847 instead.
1848 (macro): Use mips_gp_register instead of hardcoded value.
1849
1850 2002-05-30 Richard Henderson <rth@redhat.com>
1851
1852 * expr.h (operatorT): Add O_md17..O_md32.
1853 * config/tc-alpha.c (O_lituse_tlsgd, O_lituse_tlsldm, O_tlsgd,
1854 O_tlsldm, O_gotdtprel, O_dtprelhi, O_dtprello, O_dtprel, O_gottprel,
1855 O_tprelhi, O_tprello, O_tprel): New.
1856 (USER_RELOC_P, alpha_reloc_op_tag, debug_exp): Include them.
1857 (DUMMY_RELOC_LITUSE_TLSGD, DUMMY_RELOC_LITUSE_TLSLDM): New.
1858 (LITUSE_TLSGD, LITUSE_TLSLDM): New.
1859 (struct alpha_reloc_tag): Add master, saw_tlsgd, saw_tlsld,
1860 saw_lu_tlsgd, saw_lu_tlsldm. Make multi_section_p a bit field.
1861 (md_apply_fix3): Handle TLS relocations.
1862 (alpha_force_relocation, alpha_fix_adjustable): Likewise.
1863 (alpha_adjust_symtab_relocs): Sort LITERAL relocs after the
1864 associated TLS reloc. Check lituse_tls relocs match up.
1865 (emit_insn): Handle TLS relocations.
1866 (ldX_op): Remove.
1867
1868 * doc/c-alpha.texi: Add docs for tls relocations.
1869
1870 2002-05-30 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1871
1872 * config/tc-mips.c (mips_gprel_offset): New variable.
1873 (s_gpvalue): Use it.
1874
1875 2002-05-30 Diego Novillo <dnovillo@redhat.com>
1876
1877 * gas/config/tc-d10v.c (check_resource_conflict): Only check
1878 write-write conflicts.
1879 (md_assemble): Reformat introductory comment.
1880 (parallel_ok): Prevent packing only if the first
1881 instruction cannot be packed.
1882
1883 2002-05-30 Jason Eckhardt <jle@redhat.com>
1884 Tom Rix <trix@redhat.com>
1885
1886 * config/tc-d10v.c (build_insn): Check for immediates.
1887
1888 2002-05-28 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1889
1890 * config/tc-mips.c: Replace GP in comments by $gp.
1891 (mips_big_got): Initialize.
1892 (mips_trap): Initialize.
1893 (load_address): Use mips_gp_register instead of hardcoded value.
1894 Remove dbl parameter, use HAVE_32BIT_ADDRESSES instead.
1895 (macro): Use mips_gp_register instead of hardcoded value.
1896 (macro2): Change load_address calls.
1897 (md_pcrel_from): Comment formatting.
1898 (s_cpload): Use mips_gp_register instead of hardcoded value.
1899 (s_cprestore): Likewise. Comment formatting.
1900 (s_gpword): Fix data type.
1901 (s_cpadd): Use mips_gp_register instead of hardcoded value.
1902 (nopic_need_relax): Replace GP in comments by $gp.
1903 (mips_elf_final_processing): Better comment.
1904
1905 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
1906
1907 * configure.in: Add DLX configuraton
1908 * Makefile.am: Add DLX configuraton
1909 * configure: Regenerate.
1910 * Makefile.in: Regenerate.
1911 * config/tc-dlx.c: New file.
1912 * config/tc-dlx.h: New files.
1913 * NEWS: Mention new support.
1914
1915 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
1916
1917 * config/obj-coff.c (write_object_file): Add missing semicolon.
1918
1919 2002-05-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1920
1921 * config/tc-mips.c (mips_emit_delays): Replace magic constant for RA
1922 by the define. Remove superfluous check of mips_opts.mips16.
1923 (append_insn): Likewise. Canonicalize variable increments.
1924 (macro_build): Canonicalize variable increments.
1925 (macro_build_lui): Likewise.
1926 (load_register): Likewise.
1927 (load_address): Move pointer initialization.
1928 (macro): Move pointer to a more local scope. Canonicalize variable
1929 increments. Better comments. Replace magic constant for RA by the
1930 define.
1931 (macro2): Replace magic constant for RA by the define. Canonicalize
1932 variable increments.
1933 (mips_ip): Canonicalize variable increments.
1934 (mips16_ip): Replace magic constant for RA by the define.
1935 (my_getSmallParser): Canonicalize variable increments/decrements.
1936 (my_getPercentOp): Likewise.
1937 (my_getSmallExpression): Likewise.
1938 (s_align): Likewise.
1939 (s_mipsset): Likewise.
1940 (s_cpsetup): Likewise.
1941 (s_insn): Remove superfluous check of mips_opts.mips16.
1942 (s_mips_stab): Likewise.
1943 (mips_handle_align): Canonicalize variable increments.
1944 (s_mips_ent): Likewise.
1945 (s_mips_end): Add comment.
1946
1947 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
1948
1949 * configure.in: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
1950 * configure: Regenerate.
1951
1952 2002-05-25 Alan Modra <amodra@bigpond.net.au>
1953
1954 * Makefile.am (OBJS): Depend on ansidecl.h and fopen-same.h.
1955 * Makefile.in: Regenerate.
1956 * dep-in.sed: Reorder to match OBJS in Makefile.am.
1957 * configure.in (ALL_OBJ_DEPS): Add symcat.h when need_bfd.
1958 * configure: Regenerate.
1959 * as.h: Use #include "" instead of <> for local header files.
1960 * flonum-konst.c: Likewise.
1961 * flonum-mult.c: Likewise.
1962 * gasp.c: Likewise.
1963 * listing.c: Likewise.
1964 * config/tc-ia64.h: Likewise.
1965 * config/tc-v850.h: Likewise.
1966
1967 2002-05-24 TAMURA Kent <kent@netbsd.org>
1968
1969 * configure.in: Add a target for i386-netbsdpe.
1970 * configure: Regenerate.
1971
1972 2002-05-23 Jakub Jelinek <jakub@redhat.com>
1973
1974 * config/obj-elf.c (elf_common): Renamed from obj_elf_common.
1975 (obj_elf_common): Call elf_common.
1976 (obj_elf_tls_common): New function.
1977 (elf_pseudo_tab): Support .tls_common.
1978 (special_sections): Add .tdata and .tbss.
1979 (obj_elf_change_section): Set SEC_THREAD_LOCAL for SHF_TLS
1980 sections.
1981 (obj_elf_parse_section_letters): Support T in section flags (SHF_TLS).
1982 (obj_elf_parse_section_letters): Include T in error message.
1983 * config/tc-ppc.c (ppc_section_letter): Likewise.
1984 * config/tc-alpha.c (alpha_elf_section_letter): Likewise.
1985 (tc_gen_reloc): Handle SEC_THREAD_LOCAL the same way as
1986 SEC_MERGE.
1987 * config/tc-sparc.c (md_apply_fix3): Likewise.
1988 * config/tc-i386.c (tc_i386_fix_adjustable): Add TLS relocs.
1989 Define them if not BFD_ASSEMBLER.
1990 (lex_got): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF, @DTPOFF
1991 and @NTPOFF.
1992 (md_apply_fix3): Add TLS relocs.
1993 * config/tc-ia64.c (enum reloc_func): Add FUNC_DTP_MODULE,
1994 FUNC_DTP_RELATIVE, FUNC_TP_RELATIVE, FUNC_LT_DTP_MODULE,
1995 FUNC_LT_DTP_RELATIVE, FUNC_LT_TP_RELATIVE.
1996 (pseudo_func): Support @dtpmod(), @dtprel() and @tprel().
1997 (ia64_elf_section_letter): Include T in error message.
1998 (md_begin): Support TLS operators.
1999 (md_operand): Likewise.
2000 (ia64_gen_real_reloc_type): Support TLS relocs.
2001 * testsuite/gas/i386/tlspic.s: New file.
2002 * testsuite/gas/i386/tlsd.s: New file.
2003 * testsuite/gas/i386/tlsnopic.s: New file.
2004 * testsuite/gas/i386/tlsd.d: New file.
2005 * testsuite/gas/i386/tlsnopic.d: New file.
2006 * testsuite/gas/i386/tlspic.d: New file.
2007 * testsuite/gas/i386/i386.exp: Add tlsd, tlsnopic and tlspic tests.
2008 * testsuite/gas/ia64/tls.s: New file.
2009 * testsuite/gas/ia64/tls.d: New file.
2010 * testsuite/gas/ia64/ia64.exp: Add tls test.
2011 * write.c (adjust_reloc_syms): Don't change symbols in
2012 SEC_THREAD_LOCAL sections to STT_SECTION + addend.
2013
2014 2002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
2015
2016 * config/tc-arm.c (md_apply_fix3): For the Thumb BLX reloc
2017 round the relocation up rather than down.
2018
2019 2002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
2020
2021 * config/obj-coff.c (obj_coff_section): Silently ignore an 'a'
2022 flag.
2023 * doc/as.texinfo: Document that the COFF version of .section
2024 ignores the 'a' flag.
2025
2026 2002-05-23 Alan Modra <amodra@bigpond.net.au>
2027
2028 * config/tc-alpha.c (assemble_tokens): Protect use of
2029 ALPHA_RELOC_TABLE with #ifdef RELOC_OP_P.
2030
2031 * write.c (size_seg): Check adjustment to last frag.
2032 (SUB_SEGMENT_ALIGN): If HANDLE_ALIGN defined, pad out last frag to
2033 section alignment.
2034 * config/obj-coff.c (SUB_SEGMENT_ALIGN): Likewise.
2035 * config/obj-ieee.c (SUB_SEGMENT_ALIGN): Likewise.
2036 (write_object_file): Invoke md_do_align if available, and use
2037 frag_align_code on text sections.
2038 * config/obj-vms.h (SUB_SEGMENT_ALIGN): Now two args.
2039 * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Likewise.
2040 * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Likewise.
2041 * config/tc-sh.h (SUB_SEGMENT_ALIGN): Likewise.
2042 * config/tc-i386.h (SUB_SEGMENT_ALIGN): Likewise. Define for
2043 BFD_ASSEMBLER too.
2044
2045 2002-05-22 H.J. Lu <hjl@gnu.org>
2046
2047 * dwarf2dbg.c (dwarf2_directive_loc): Call listing_source_file
2048 for source file.
2049
2050 2002-05-22 Nick Clifton <nickc@cambridge.redhat.com>
2051
2052 * config/tc-arm.c (arm_s_section): Enable for COFF builds as well
2053 as ELF builds.
2054
2055 2002-05-22 H.J. Lu <hjl@gnu.org>
2056
2057 * dwarf2dbg.c (dwarf2_emit_insn): Emit only one line symbol
2058 for one .loc for compiler.
2059
2060 2002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2061
2062 * config/tc-mips.c (macro): Relax warning, it's toot strict for
2063 embedded-PIC.
2064
2065 2002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2066
2067 * config/tc-mips.c (macro2): Add 64 bit drol, dror macros.
2068 Optimize the rotate by zero case.
2069
2070 2002-05-21 Nick Clifton <nickc@cambridge.redhat.com>
2071
2072 * configure.in: Remove accidental enabling of bfd_gas=yes for
2073 sh-coff targets.
2074 * configure: Regenerate.
2075
2076 2002-05-18 Kazu Hirata <kazu@cs.umass.edu>
2077
2078 * app.c: Fix formatting.
2079 * as.c: Likewise.
2080 * ehopt.c: Likewise.
2081 * expr.c: Likewise.
2082 * input-file.c: Likewise.
2083 * listing.c: Likewise.
2084 * macro.h: Likewise.
2085 * stabs.c: Likewise.
2086 * symbols.c: Likewise.
2087
2088 2002-05-17 Alan Modra <amodra@bigpond.net.au>
2089
2090 * config/obj-generic.c: Delete file.
2091 * config/obj-generic.h: Likewise.
2092
2093 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
2094
2095 * config/tc-avr.c (mcu_types): Update for new devices.
2096
2097 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2098
2099 * config/tc-mips.c (macro): Warn about wrong la/dla use.
2100
2101 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2102
2103 * config/tc_mips.c (s_cpsetup): Fix completely bogus code which had
2104 worked sometimes by accident. Fix copy&paste comment.
2105
2106 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2107
2108 * config/tc-mips.c (md_begin): Fix .reginfo and .MIPS.option section
2109 alignment for NewABI. Let n32 use .reginfo. Remove useless casts.
2110 (mips_elf_final_processing): Let n32 use .reginfo.
2111
2112 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2113
2114 * config/tc-mips.c (append_insn): Fix too small range of variable.
2115
2116 2002-05-14 Nick Clifton <nickc@cambridge.redhat.com>
2117
2118 * config/tc-arm.c (arm_cleanup): Remove redundant call to
2119 listing_prev_line().
2120
2121 2002-05-13 Nick Clifton <nickc@cambridge.redhat.com>
2122
2123 * config/tc-arm.c (md_assemble): Remove redundant call to
2124 listing_prev().
2125
2126 * dwarf2dbg.c (dwarf2_emit_insn): Do not reset
2127 loc_directive_seen.
2128
2129 * stabs.c (s_stab_generic): Fix grammatical error in warning
2130 message.
2131
2132 2002-05-13 Alan Modra <amodra@bigpond.net.au>
2133
2134 * write.c (subsegs_finish): Don't specially align last subseg.
2135
2136 2002-05-11 Nick Clifton <nickc@cambridge.redhat.com>
2137
2138 * stabs.c (s_stab_generic): Warn about a description field that is
2139 too big.
2140
2141 * config/obj-coff.c: Fix compile time warnings when compiling
2142 without BFD_ASSEMBLER defined.
2143 Fix formatting.
2144
2145 * config/tc-sh.c (md_pcrel_from): Define for use with sh-hms
2146 target.
2147 (md_pcrel_from_section): Use md_pcrel_from().
2148
2149 2002-05-11 Bruno Haible <bruno@clisp.org>
2150
2151 * dwarf2dbg.c (dwarf2_emit_insn): Use the 'current' struct filled
2152 by dwarf2_directive_loc, instead of calling dwarf2_where.
2153
2154 2002-05-11 Kazu Hirata <kazu@cs.umass.edu>
2155
2156 * config/obj-coff.h: Fix formatting.
2157 * config/tc-mcore.c: Likewise.
2158 * config/tc-mn10300.c: Likewise.
2159 * config/tc-openrisc.c: Likewise.
2160 * config/tc-or32.c: Likewise.
2161 * config/tc-pdp11.c: Likewise.
2162 * config/tc-ppc.c: Likewise.
2163 * config/tc-ppc.h: Likewise.
2164 * config/tc-sh64.c: Likewise.
2165 * config/tc-sh.c: Likewise.
2166 * config/tc-tic54x.c: Likewise.
2167 * config/tc-xstormy16.c: Likewise.
2168 * config/tc-xstormy16.h: Likewise.
2169
2170 2002-05-09 Kazu Hirata <kazu@cs.umass.edu>
2171
2172 * config/obj-coff.c: Fix formatting.
2173 * config/obj-elf.c: Likewise.
2174 * config/tc-alpha.c: Likewise.
2175 * config/tc-arm.c: Likewise.
2176 * config/tc-d10v.c: Likewise.
2177 * config/tc-d30v.c: Likewise.
2178 * config/tc-h8300.c: Likewise.
2179 * config/tc-hppa.c: Likewise.
2180
2181 2002-05-09 Alan Modra <amodra@bigpond.net.au>
2182
2183 * config/tc-i386.c (md_estimate_size_before_relax) Don't lose
2184 reloc when no_cond_jump_promotion.
2185
2186 2002-05-08 Jim Wilson <wilson@redhat.com>
2187
2188 * config/tc-i960.c (md_estimate_size_before_relax): Return size of
2189 current variable part of frag.
2190
2191 2002-05-08 Kazu Hirata <kazu@cs.umass.edu>
2192
2193 * config/tc-mmix.c: Fix formatting.
2194 * config/tc-mmix.h: Likewise.
2195
2196 2002-05-08 Alan Modra <amodra@bigpond.net.au>
2197
2198 * configure: Regenerate.
2199
2200 2002-05-07 Kazu Hirata <kazu@cs.umass.edu>
2201
2202 * config/tc-m68k.c: Fix formatting.
2203
2204 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
2205
2206 * Makefile.am: Honour DESTDIR.
2207 * Makefile.in: Regenerate.
2208
2209 2002-05-06 Kazu Hirata <kazu@cs.umass.edu>
2210
2211 * config/tc-ia64.c: Fix formatting.
2212 * config/tc-ia64.h: Likewise.
2213
2214 2002-05-04 Kazu Hirata <kazu@cs.umass.edu>
2215
2216 * config/tc-mips.c: Fix formatting.
2217 * config/tc-s390.c: Likewise.
2218 * config/tc-s390.h: Likewise.
2219
2220 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
2221
2222 * config/tc-s390.c (md_gather_operands): Emit dwarf2 line-number
2223 information for instructions.
2224
2225 2002-05-02 Kazu Hirata <kazu@cs.umass.edu>
2226
2227 * as.h: Fix formatting.
2228 * cgen.c: Likewise.
2229 * cgen.h: Likewise.
2230 * dwarf2dbg.c: Likewise.
2231 * frags.h: Likewise.
2232 * gasp.c: Likewise.
2233 * macro.c: Likewise.
2234 * read.c: Likewise.
2235 * stabs.c: Likewise.
2236 * symbols.c: Likewise.
2237
2238 2002-05-02 Alan Modra <amodra@bigpond.net.au>
2239
2240 * app.c (mri_pseudo): Only declare for TC_M68K.
2241
2242 * config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL.
2243 (ppc_elf_validate_fix): Replace BFD_RELOC_32_BASEREL with
2244 BFD_RELOC_16_BASEREL.
2245 (md_assemble): Likewise.
2246 (md_apply_fix3): Likewise.
2247
2248 2002-05-02 Nick Clifton <nickc@cambridge.redhat.com>
2249
2250 * config/tc-arm.c (thumb_add_sub): Do not convert a subtract of
2251 zero into an add of zero - it is not the same.
2252
2253 2002-05-01 Arati Dikey <aratid@kpit.com>
2254
2255 * tc-sh.c (get_specific): Generate warning if the same
2256 destination register is used in parallel instructions.
2257
2258 2002-05-01 Andrew Macleod <amacleod@cygnus.com>
2259
2260 * config/tc-i386.c (extra_symbol_chars): Add '[' to the list.
2261
2262 2002-05-01 Alan Modra <amodra@bigpond.net.au>
2263
2264 * write.c (cvt_frag_to_fill): Set fr_offset to zero on .org
2265 backwards to prevent cascading errors.
2266
2267 2002-04-30 Mark Mitchell <mark@codesourcery.com>
2268
2269 * configure.in: Add support for powerpc-*-windiss.
2270 * configure: Regenerated.
2271
2272 2002-04-28 Alan Modra <amodra@bigpond.net.au>
2273
2274 * config/tc-s390.c (md_parse_option): Formatting.
2275
2276 * config/tc-i386.c: Formatting fixes, add missing space in error
2277 message.
2278
2279 2002-04-24 Christian Groessler <chris@groessler.org>
2280
2281 * config/tc-z8k.c (build_bytes): Add support for new cases:
2282 CLASS_IGNORE and ARG_NIM4.
2283 (md_assemble): Prevent destruction of input_line_pointer if
2284 get_operands returns failure.
2285
2286 2002-04-24 Chris G. Demetriou <cgd@broadcom.com>
2287
2288 * config/tc-mips.c (macro_build): Do _not_ allow MIPS-3D
2289 instructions to be generated by macros.
2290
2291 2002-04-24 Andreas Schwab <schwab@suse.de>
2292
2293 * config/tc-i386.c (output_jump, output_disp)
2294 (md_estimate_size_before_relax): Don't set fx_pcrel_adjust any
2295 more.
2296 (md_apply_fix3): Remember addend value for rela relocations.
2297 (tc_gen_reloc): Correctly compute pc-relative relocation addend.
2298
2299 2002-04-22 Chris Demetriou <cgd@broadcom.com>
2300
2301 * config/tc-mips.c (macro_build): Add close-parenthesis missing
2302 from previous change.
2303
2304 2002-04-22 Eric Christopher <echristo@redhat.com>
2305
2306 * config/tc-mips.c (macro_build): Add warning if macro instructions
2307 are expanded into a branch delay slot.
2308
2309 2002-04-17 Geoffrey Keating <geoffk@redhat.com>
2310
2311 * dwarf2dbg.c (dwarf2_gen_line_info): Do emit duplicate line
2312 numbers, gdb relies on them to detect the start of the prologue.
2313
2314 2002-04-17 Martin Schwidefsky <schwidefsky@de.ibm.com>
2315
2316 * config/tc-s390.c (tc_s390_fix_adjustable): Prevent adjustments to
2317 symbols in merge sections.
2318
2319 2002-04-16 Alan Modra <amodra@bigpond.net.au>
2320
2321 * as.c (main): Don't reference _bfd_chunksize.
2322
2323 2002-04-15 Tom Rix <trix@redhat.com>
2324
2325 * config/tc-d10v.c (d10v_fix_adjustable): Prevent adjustments to
2326 symbols in merge sections.
2327
2328 2002-04-11 Richard Sandiford <rsandifo@redhat.com>
2329
2330 * doc/invoke.texi (TC_LARGEST_EXPONENT_IS_NORMAL): Document.
2331 * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): Add an
2332 argument for the precision.
2333 (gen_to_words): Update accordingly.
2334
2335 2002-04-10 Alan Modra <amodra@bigpond.net.au>
2336
2337 * as.c (parse_args <OPTION_VERSION>): Use VERSION is
2338 BFD_VERSION_STRING unavailable.
2339 * config/tc-i386.c (INLINE): Define (for non-BFD assembler).
2340
2341 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
2342
2343 * config/tc-sh.h (TC_FIX_ADJUSTABLE): Disable adjusting if
2344 symbol_used_in_reloc_p is true.
2345
2346 * config/tc-sh.c (md_apply_fix3): Don't zero relocations on big
2347 endian hosts.
2348
2349 2002-04-04 Alan Modra <amodra@bigpond.net.au>
2350
2351 * dep-in.sed: Cope with absolute paths.
2352 * Makefile.am (dep.sed): Subst TOPDIR.
2353 Run "make dep-am".
2354 * Makefile.in: Regenerate.
2355
2356 2002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2357
2358 * config/tc-mips.c (mips16_macro_build): Cast type mismatch.
2359 (mips_ip): Remove unused variable.
2360 (md_apply_fix3): Cast signed/unsignes mismatches. Replace
2361 unsigned char with bfd_byte.
2362 (s_file): Remove unused variable.
2363 (s_mips_ent): Likewise.
2364
2365 2002-04-03 Tom Rix <trix@redhat.com>
2366
2367 * config/tc-d10v.c (d10v_insert_operand): Fix warning in as_bad_where.
2368 (build_insn): Same.
2369 (find_opcode): Fix warning in as_warn.
2370 * config/tc-d10v.h: Update Copyright.
2371
2372 2002-04-03 Alan Matsuoka <alanm@redhat.com>
2373 Tom Rix <trix@redhat.com>
2374
2375 From Jeff Knaggs <jknaggs@redhat.com>
2376 * config/tc-d10v.c (check_resource_conflict): New function to
2377 check for resource conflicts.
2378
2379 From Jason Eckhardt <jle@redhat.com>
2380 * config/tc-d10v.c (build_insn): Check for unresolved imm4 or
2381 imm3 fields.
2382 * config/tc-d10v.c (find_opcode): Emit a warning if one of the
2383 reserved control registers is used.
2384 * config/tc-d10v.c (build_insn): Check for unresolved imm4 or
2385 imm3 fields.
2386
2387 From 2001-03-28 Diego Novillo <dnovillo@redhat.com>
2388 * tc-d10v.c (parallel_ok): Prevent packing only if the first
2389 instruction cannot be packed.
2390
2391 From 2001-03-30 Diego Novillo <dnovillo@redhat.com>
2392 * gas/config/tc-d10v.c (check_resource_conflict): Only check
2393 write-write conflicts.
2394 (md_assemble): Reformat introductory comment.
2395 * opcodes/d10v-opc.c (d10v_opcodes): `btsti' does not modify its
2396 arguments.
2397
2398 2002-04-03 Alan Modra <amodra@bigpond.net.au>
2399
2400 * symbols.c (resolve_symbol_value <O_uminus, O_bit_not,
2401 O_logical_not>): Derive final_seg from add_symbol.
2402 <O_multiply..O_logical_or>: More final_seg twiddles.
2403
2404 2002-04-01 Jessica Han <jessica@cup.hp.com>
2405
2406 * config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc
2407 in 32-bit mode.
2408
2409 2002-03-27 Andreas Schwab <schwab@suse.de>
2410
2411 * config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of
2412 field for pc-relative fixups.
2413 (output_disp): Likewise.
2414 (md_estimate_size_before_relax): Likewise.
2415 (tc_gen_reloc): Subtract fx_pcrel_adjust instead of fx_size for
2416 pc-relative fixups in 64bit mode.
2417
2418 2002-03-22 Alan Modra <amodra@bigpond.net.au>
2419
2420 * config/te-aix5.h: Typo fix.
2421
2422 2002-03-21 Alan Modra <amodra@bigpond.net.au>
2423
2424 * Makefile.am: Run "make dep-am".
2425 * Makefile.in: Regenerate.
2426 * doc/Makefile.in: Regenerate.
2427
2428 2002-03-20 Albert Chin-A-Young <china@thewrittenword.com>
2429
2430 * config/tc-arm.c (vfp_dp_reg_required_here): Fix typo
2431 (vfp_sp_reg_pos -> vfp_dp_reg_pos).
2432
2433 2002-03-18 Alexandre Oliva <aoliva@redhat.com>
2434
2435 * config/tc-mips.c (md_estimate_size_before_relax): Do not modify
2436 the EXTENDED bit here; report the estimate according to the
2437 current size.
2438
2439 2002-03-18 Tom Rix <trix@redhat.com>
2440
2441 * configure.in: Add AIX 5 support.
2442 * config/tc-ppc.c (ppc_target_format): Add AIX 5 64 bit target.
2443 * config/te-aix5.h: New file. AIX 5 support.
2444 * configure: Regenerate.
2445
2446 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
2447
2448 * po/fr.po: Updated version.
2449
2450 2002-03-16 Andreas Jaeger <aj@suse.de>
2451
2452 * doc/c-mips.texi (Machine Dependencies): Add new node.
2453
2454 2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
2455
2456 * config/tc-mips.c (mips_set_options): New "ase_mips3d" member.
2457 (mips_opts): Initialize "ase_mips3d" member.
2458 (file_ase_mips3d): New variable.
2459 (CPU_HAS_MIPS3D): New macro.
2460 (md_begin): Initialize mips_opts.ase_mips3d and file_ase_mips3d
2461 based on command line options and configuration defaults.
2462 (macro_build, mips_ip): Accept MIPS-3D instructions if
2463 mips_opts.ase_mips3d is set.
2464 (OPTION_MIPS3D, OPTION_NO_MIPS3D, md_longopts, md_parse_option):
2465 Add support for "-mips3d" and "-no-mips3d" options.
2466 (OPTION_ELF_BASE): Move to accomodate new options.
2467 (s_mipsset): Support ".set mips3d" and ".set nomips3d".
2468 (mips_elf_final_processing): Add a comment indicating that a
2469 MIPS-3D ASE ELF header flag should be set, when one exists.
2470 * doc/as.texinfo: Document -mips3d and -no-mips3d options.
2471 * doc/c-mips.texi: Likewise, and document ".set mips3d" and ".set
2472 nomips3d" directives.
2473
2474 2002-03-14 Hans-Peter Nilsson <hp@bitrange.com>
2475
2476 * config/tc-mmix.c (md_estimate_size_before_relax): Don't consider
2477 a weak symbol in same section to be within reach.
2478
2479 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
2480
2481 * po/fr.po: Updated version.
2482
2483 2002-03-12 Andreas Schwab <schwab@suse.de>
2484
2485 * config/tc-ia64.c (fixup_unw_records): Clear region when seeing a
2486 body record so that an error is given for misplaced .save
2487 pseudo-ops.
2488
2489 2002-03-09 Alan Modra <amodra@bigpond.net.au>
2490
2491 * config/tc-i386.h (REX_OPCODE): Define.
2492 (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): Define.
2493 (rex_byte): typedef to int.
2494 * config/tc-i386.c: Group prototypes and vars together.
2495 Formatting fixes. Remove occurrences of "register" keyword.
2496 (true): Delete.
2497 (false): Delete.
2498 (mode_from_disp_size): Add INLINE keyword to prototype.
2499 (fits_in_signed_byte): Likewise.
2500 (fits_in_unsigned_byte): Likewise.
2501 (fits_in_unsigned_word): Likewise.
2502 (fits_in_signed_word): Likewise.
2503 (fits_in_unsigned_long): Likewise.
2504 (fits_in_signed_long): Likewise.
2505 (type_names): Constify.
2506 (intel_float_operand): Constify param.
2507 (add_prefix): Use REX_OPCODE.
2508 (md_assemble): Likewise. Modify for changed rex_byte.
2509 (parse_insn): Split out of md_assemble.
2510 (parse_operands): Likewise.
2511 (swap_operands): Likewise.
2512 (optimize_imm): Likewise.
2513 (optimize_disp): Likewise.
2514 (match_template): Likewise.
2515 (check_string): Likewise.
2516 (process_suffix): Likewise.
2517 (check_byte_reg): Likewise.
2518 (check_long_reg): Likewise.
2519 (check_qword_reg): Likewise.
2520 (check_word_reg): Likewise.
2521 (finalize_imm): Likewise.
2522 (process_operands): Likewise.
2523 (build_modrm_byte): Likewise.
2524 (output_insn): Likewise.
2525 (output_branch): Likewise.
2526 (output_jump): Likewise.
2527 (output_interseg_jump): Likewise.
2528 (output_disp): Likewise.
2529 (output_imm): Likewise.
2530
2531 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
2532
2533 * doc/as.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
2534
2535 2002-03-06 Alan Modra <amodra@bigpond.net.au>
2536
2537 * config/tc-i386.c (tc_gen_reloc): Don't attempt to handle 8 byte
2538 relocs except when BFD64.
2539
2540 * write.c (number_to_chars_bigendian): Don't abort when N is
2541 larger than sizeof (VAL).
2542 (number_to_chars_littleendian): Likewise.
2543
2544 2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
2545
2546 * config/tc-hppa.c (md_apply_fix3): Add cast.
2547 (hppa_fix_adjustable): Adjust list of selectors using e_lrsel and
2548 e_rrsel.
2549
2550 2002-03-05 Paul Koning <pkoning@equallogic.com>
2551
2552 * tc-pdp11.c: Use VAX float format support for PDP-11 target.
2553 (parse_ac5): New function for parsing float regs in float operand.
2554 (parse_expression): Remove attempt to make literals be octal.
2555 (parse_op_no_deferred): Support float literals.
2556 (parse_op): Reject attempts to refer to float regs.
2557 (parse_fop): New function, like parse_op but for float operand.
2558 (md_assemble): Add cases to parse float operands. Also fix
2559 IMM3, IMM6, IMM8 cases to pick up the operand from the right spot.
2560
2561 2002-03-04 H.J. Lu <hjl@gnu.org>
2562
2563 * config/obj-elf.c (special_section): Add .init_array,
2564 .fini_array and .preinit_array.
2565
2566 * config/tc-ia64.h (ELF_TC_SPECIAL_SECTIONS): Remove
2567 .init_array and .fini_array.
2568
2569 2002-03-01 Jakub Jelinek <jakub@redhat.com>
2570
2571 * config/obj-elf.c (elf_copy_symbol_attributes): Don't copy
2572 visibility.
2573 (obj_frob_symbol): Copy visibility.
2574
2575 2002-02-28 Jakub Jelinek <jakub@redhat.com>
2576
2577 * config/tc-alpha.c (s_alpha_text): Use obj_elf_text for OBJ_ELF, not
2578 s_text.
2579 (s_alpha_data): Use obj_elf_data for OBJ_ELF, not s_data.
2580
2581 2002-02-27 Nick Clifton <nickc@cambridge.redhat.com>
2582
2583 * po/es.po: Updated.
2584
2585 2002-02-26 Chris Demetriou <cgd@broadcom.com>
2586
2587 * config/tc-mips.c (mips_need_elf_addend_fixup): For embedded-PIC
2588 only, undo the changes made on 2001-06-08, with the
2589 effect being that common or extern symbols are
2590 adjusted for embedded-PIC, but weak symbols are not.
2591 (md_estimate_size_before_relax: Likewise, with the effect
2592 that extern symbols are treated the same as weak symbols
2593 only if not embedded-PIC.
2594 (mips_fix_adjustable) Likewise, with the effect that
2595 weak or extern symbols are not adjusted for embedded-PIC.
2596 (md_apply_fix3): Tweak so that the case where value is zero
2597 is handled more correctly for embedded-PIC code.
2598
2599 2002-02-26 Nick Clifton <nickc@cambridge.redhat.com>
2600
2601 * doc/as.texinfo (Overview): Add missing @ifset IA64
2602
2603 * configure.in (LINGUAS): Add es.po.
2604 * configure: Regenerate.
2605 * po/es.po: New file.
2606
2607 2002-02-25 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2608
2609 * config/tc-mips.c (set_at): Fix handling of 64bit register loads.
2610 (macro): Likewise. Fix la/dla address expansions for EMBEDDED_PIC
2611 and NO_PIC cases. Code cleanup.
2612 (macro2): Fix handling of 64bit register loads.
2613
2614 2002-02-25 David Mosberger <davidm@hpl.hp.com>
2615
2616 * doc/as.texinfo: Add entry for IA64.
2617 * doc/c-ia64.texi: New file.
2618
2619 2002-02-25 Alan Modra <amodra@bigpond.net.au>
2620
2621 * config/tc-hppa.c: Update copyright date.
2622
2623 * doc/c-ppc.texi (PowerPC-Opts): Add -mpower4, -maltivec and -m7400
2624 Remove references to chip manufacturers.
2625 * config/tc-ppc.c (md_parse_option): Handle -mpower4 option.
2626 Correct comments.
2627 (md_show_usage): Remove references to chip manufacturers. Mention
2628 -mpower4.
2629 (md_begin): Test power4 opcode flag bits.
2630
2631 2002-02-22 David Mosberger <davidm@hpl.hp.com>
2632
2633 * config/tc-ia64.c (dot_restore): Issue error message of epilogue
2634 count exceeds prologue count.
2635 (md_show_usage): Describe -mconstant-gp and -mauto-pic.
2636 (unwind.label_prologue_count): New member.
2637
2638 Based on a patch by Hans Boehm <hboehm@hpl.hp.com>:
2639
2640 (get_saved_prologue_count): New function.
2641 (save_prologue_count): New function.
2642 (free_saved_prologue_count): New function.
2643 (dot_label_state): Record state label by calling save_prologue_count().
2644 (dot_copy_state): Restore prologue count by calling
2645 get_saved_prologue_count().
2646 (generate_unwind_image): Free up list of saved prologue
2647 counts by calling free_saved_prologue_counts().
2648
2649 2002-02-22 Nick Clifton <nickc@cambridge.redhat.com>
2650
2651 * config/tc-tic54x.c: Add missing prototypes and remove ANSI style
2652 function declarations.
2653
2654 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
2655
2656 * NEWS: Note that GASP is now deprecated.
2657 * Makefile.am: Do not build gasp-new by default.
2658 * Makefile.in: Regenerate.
2659 * doc/Makefile.am: Do not install gasp.info.
2660 * doc/Makefile.in: Regenerate.
2661 * gas/gasp.texi: Note that gasp is now deprecated.
2662
2663 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
2664
2665 * NEWS: Mark 2.12 branch.
2666
2667 2002-02-19 Tom Tromey <tromey@redhat.com>
2668
2669 * config/tc-xstormy16.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
2670
2671 2002-02-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2672
2673 * config/tc-mips.c (md_parse_option): Complain about invalid -mabi
2674 option input.
2675
2676 2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
2677
2678 * config/tc-s390.c (md_parse_option): Add switches -m31 and -m64.
2679 Make bit size independent of architecture switch.
2680 (md_begin): Add warning for -m64 with -Aesa.
2681 (s390_md_end): Use renamed architecture defines.
2682
2683 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
2684
2685 * config/obj-coff.h: Check !target_big_endian, not shl, for coff-sh.
2686
2687 2002-02-16 Nick Clifton <nickc@cambridge.redhat.com>
2688
2689 * doc/as.texinfo (Machine Dependencies): Fix typo: MMIX used
2690 instead of CRIS.
2691
2692 2002-02-15 Chris Demetriou <cgd@broadcom.com>
2693
2694 * config/tc-mips.c (md_estimate_size_before_relax): Really
2695 make sure we treat weak like extern only for ELF. (Fixes
2696 patch from 2001-07-25.)
2697
2698 2002-02-15 Ben Elliston <bje@redhat.com>
2699
2700 * doc/as.texinfo: Add duplicate directory entry so that "info gas"
2701 works as expected.
2702
2703 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
2704
2705 * NEWS: Mention support for MMIX.
2706
2707 2002-02-13 Chris Demetriou <cgd@broadcom.com>
2708
2709 * config/tc-mips.c (mips_need_elf_addend_fixup): Restructure into
2710 a sequence of indpendent 'if' statements for easier debugging
2711 and future modification.
2712
2713 2002-02-13 Matt Fredette <fredette@netbsd.org>
2714
2715 * config/tc-m68k.c (md_show_usage): No longer display a
2716 hard-coded "68020" for the default CPU, instead display the
2717 canonical name of the true, configured default CPU.
2718 (m68k_elf_final_processing): Mark objects for sub-68020
2719 CPUs with the new EF_M68000 flag.
2720
2721 2002-02-13 Andreas Schwab <schwab@suse.de>
2722
2723 * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
2724 pc-relative relocations to merge sections in 64-bit mode.
2725
2726 2002-02-13 Ben Elliston <bje@redhat.com>
2727
2728 * NEWS: Document floating point number handling in gasp.
2729 * gasp.c: Include <assert.h> and "xregex.h".
2730 (is_flonum): New function.
2731 (chew_flownum): Likewise.
2732 (change_base): Consume flonums from the input, where possible.
2733 * doc/gasp.texi (Constants): Document floating point numbers.
2734
2735 2002-02-12 John David Anglin <dave@hiauly1.hia.nrc.ca>
2736
2737 * config/tc-hppa.c (hppa_fix_adjustable): Don't adjust final types
2738 that implicitly use LR and RR selectors.
2739
2740 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
2741
2742 * config/tc-mn10300.c (other_registers): Added `epsw'. Mark `pc'
2743 and `epsw' as available on AM33 and above only.
2744 (other_register_name): Add logic to handle machine type encoded in
2745 reg_number.
2746
2747 2002-02-11 Tom Rix <trix@redhat.com>
2748
2749 * config/tc-ppc.c (md_apply_fix3): Check for insert fop invalid for
2750 xcoff64.
2751
2752 2002-06-11 Alexandre Oliva <aoliva@redhat.com>
2753
2754 * config/tc-sparc.c (U0x80000000, U0xffffffff): New constants.
2755 Use all over.
2756
2757 2002-02-11 Jan Hubicka <jh@suse.cz>
2758
2759 * i386.c (md_assemble): Support 32bit address prefix.
2760 (i386_displacement): Likewise.
2761 (i386_index_check): Accept 32bit addressing in 64bit mode.
2762
2763 2002-02-11 Alexandre Oliva <aoliva@redhat.com>
2764
2765 * config/tc-sh.c (dot): Removed unused function.
2766
2767 2002-02-11 Alan Modra <amodra@bigpond.net.au>
2768
2769 * Makefile.am: "make dep-am".
2770 * Makefile.in: Regenerate.
2771 * aclocal.m4: Regenerate.
2772 * config.in: Regenerate.
2773 * configure: Regenerate.
2774 * doc/Makefile.in: Regenerate.
2775
2776 2002-02-10 Richard Henderson <rth@redhat.com>
2777
2778 * doc/c-alpha.texi: New file.
2779 * doc/Makefile.am (CPU_DOCS): Add it.
2780 * doc/all.texi, doc/as.texinfo: Add hooks for Alpha.
2781
2782 2002-02-09 Richard Henderson <rth@redhat.com>
2783
2784 * config/tc-alpha.c (O_samegp): New.
2785 (USER_RELOC_P): Include it.
2786 (alpha_reloc_op_tag, debug_exp, find_macro_match): Add it.
2787 (md_apply_fix3): Handle BFD_RELOC_ALPHA_BRSGP.
2788 (alpha_force_relocation, alpha_fix_adjustable): Likewise.
2789 (alpha_validate_fix): New.
2790 * config/tc-alpha.h (TC_VALIDATE_FIX): New.
2791
2792 2002-02-09 Hans-Peter Nilsson <hp@axis.com>
2793
2794 * doc/c-cris.texi: New.
2795 * doc/all.texi: @set CRIS.
2796 * doc/as.texinfo: Ditto. Add CRIS gas manpage option overview.
2797 Include c-cris.texi.
2798 * doc/Makefile.am (CPU_DOCS): Add c-cris.texi
2799 * doc/Makefile.in: Regenerate.
2800
2801 2002-02-08 Chris Demetriou <cgd@broadcom.com>
2802
2803 * config/tc-mips.c (IS_SEXT_32BIT_NUM): New macro to
2804 determine if a number is a sign-extended 32-bit number.
2805 (load_register): Use IS_SEXT_32BIT_NUM.
2806 (macro): Check if load/store macro handling is using a
2807 constant 32-bit address on 64-bit address systems, and if
2808 so optimize the generation of that address.
2809
2810 2002-02-08 Richard Henderson <rth@redhat.com>
2811
2812 * config/tc-alpha.c (alpha_force_relocation): Don't assert that
2813 we've eliminated all foreign relocation types yet.
2814 (alpha_fix_adjustable): Likewise.
2815
2816 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
2817
2818 Contribute sh64-elf.
2819 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
2820 Stephen Clarke <Stephen.Clarke@st.com>
2821 * doc/c-sh64.texi: Fix citation of SH64 architecture manual.
2822 2002-01-31 Alexandre Oliva <aoliva@redhat.com>
2823 * config/tc-sh.c (md_relax_table): Added default sizes for
2824 non-PC-relative UNDEF_MOVI, and relaxation sequences for
2825 MOVI_16, MOVI_32 and MOVI_48.
2826 * config/tc-sh64.c (shmedia_md_apply_fix3): Fix warning.
2827 (shmedia_md_convert_frag): Handle non-PC-relative UNDEF_MOVI
2828 and MOVI_16.
2829 (shmedia_md_estimate_size_before_relax): Remove redundant
2830 blocks. Set fragP->fr_var even if relaxation type unchanged.
2831 Retain UNDEF_MOVI until expression decays to number.
2832 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
2833 * config/tc-sh64.c (shmedia_init_reloc): Handle new SHmedia PIC
2834 relocation types. Take fixP->fx_addnumber into account too.
2835 (shmedia_md_apply_fix): Likewise.
2836 (shmedia_md_convert_frag): Likewise.
2837 (shmedia_build_Mytes): Likewise.
2838 (sh64_consume_datalabel): Complain about nested datalabel.
2839 Support PIC relocs. Call sh_parse_name.
2840 * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Extend definition
2841 in tc-sh.h to SHmedia reloc types.
2842 * config/tc-sh.c (SH64PCRELPLT, MOVI_PLT, MOVI_GOTOFF,
2843 MOVI_GOTPC): New relaxation constants.
2844 (md_relax_table): Introduce relaxation directives for PIC-related
2845 constants.
2846 (sh_PIC_related_p): Handle datalabel.
2847 (sh_check_fixup): Choose SH5 PIC relocations.
2848 (sh_cons_fix_new): Added BDF_RELOC_64.
2849 (md_apply_fix3, sh_parse_name): Handle GOTPLT.
2850 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
2851 * config/tc-sh64.c (sh64_max_mem_for_rs_align_code): If the
2852 current ISA is SHmedia, get 7 bytes.
2853 2001-11-28 Nick Clifton <nickc@cambridge.redhat.com>
2854 * config/tc-sh.c (md_apply_fix3): Treat shmedia_md_apply_fix3 as a
2855 void function.
2856 * config/tc-sh64.c (shmedia_apply_fix): Rename to
2857 shmedia_apply_fix3 and make void.
2858 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
2859 * config/tc-sh64.c (s_sh64_abi): Remove unused arguments passed to
2860 as_bad.
2861 2001-04-12 Alexandre Oliva <aoliva@redhat.com>
2862 * config/tc-sh64.h (md_parse_name): Take &c as argument.
2863 2001-03-14 DJ Delorie <dj@redhat.com>
2864 * doc/Makefile.am (CPU_DOCS): Added c-sh64.texi
2865 * doc/Makefile.in(CPU_DOCS): Ditto.
2866 * doc/c-sh64.texi: New file.
2867 * doc/as.texinfo: Add SH64 support.
2868 2001-03-13 DJ Delorie <dj@redhat.com>
2869 * config/tc-sh64.c (shmedia_get_operands): Rename A_RESV_Fx to
2870 A_REUSE_PREV so that its purpose is more obvious.
2871 (shmedia_build_Mytes): Ditto.
2872 2001-03-07 DJ Delorie <dj@redhat.com>
2873 * config/tc-sh64.c (sh64_vtable_entry): New, strip datalabels
2874 before processing.
2875 (sh64_vtable_inherit): Ditto.
2876 (strip_datalabels): New, strip "datalabel" from given line.
2877 * config/tc-sh.c (md_pseudo_table): Add sh64-specific vtable
2878 pseudos.
2879 2001-03-06 Hans-Peter Nilsson <hpn@cygnus.com>
2880 * config/tc-sh64.c (shmedia_md_assemble): Move dwarf2_emit_insn
2881 call ...
2882 (shmedia_build_Mytes): ... to here.
2883 2001-03-06 DJ Delorie <dj@redhat.com>
2884 * config/tc-sh.c: Remove sh64-specific uaquad now that there
2885 is a generic one.
2886 2001-01-21 Hans-Peter Nilsson <hpn@cygnus.com>
2887 * config/tc-sh64.h (DWARF2_LINE_MIN_INSN_LENGTH): Override.
2888 * config/tc-sh64.c (shmedia_md_assemble): Offset recorded insn
2889 address by one in call to dwarf2_emit_insn.
2890 2001-01-13 Hans-Peter Nilsson <hpn@cygnus.com>
2891 Implement ".abi" pseudo and correct .cranges descriptors. Correct
2892 alignment handling broken by imported changes.
2893 * config/tc-sh64.h (HANDLE_ALIGN): Override definition in tc-sh.h.
2894 (sh64_handle_align): Declare.
2895 (MAX_MEM_FOR_RS_ALIGN_CODE): Override definition in tc-sh.h.
2896 (sh64_max_mem_for_rs_align_code): Declare.
2897 (enum sh64_isa_values): Moved here from tc-sh64.c.
2898 (md_do_align): Define.
2899 (sh64_do_align): Declare.
2900 (struct sh64_tc_frag_data): New.
2901 (TC_FRAG_TYPE): Change to struct sh64_tc_frag_data. Users
2902 changed.
2903 (TC_FRAG_INIT): Change to set new datatype.
2904 (struct sh64_segment_info_type): Rename member
2905 last_flushed_location to last_contents_mark. All users changed.
2906 (md_elf_section_change_hook, TC_CONS_FIX_NEW): Do not define.
2907 (shmedia_elf_new_section, sh64_tc_cons_fix_new): Do not prototype.
2908 * config/tc-sh.c (md_pseudo_table): Add ".abi".
2909 (sh_elf_cons) [HAVE_SH64]: Call sh64_update_contents_mark instead
2910 of unsetting seen_insn.
2911 (md_assemble) [HAVE_SH64] <before new SHcompact sequence>: Also
2912 call sh64_update_contents_mark.
2913 (sh_handle_align): Remove HAVE_SH64-conditioned code.
2914 * config/tc-sh64.c (sh64_isa_mode): Correct type from boolean to
2915 enum sh64_isa_values.
2916 (sh64_set_contents_type): Drop segT parameter. All callers changed.
2917 (emitting_crange): Boolean guard moved to file scope from function
2918 scope in sh64_set_contents_type.
2919 (s_sh64_abi): New.
2920 (sh64_update_contents_mark): New; most split out from
2921 sh64_flush_pending_output.
2922 (shmedia_md_end): Call sh64_update_contents_mark. Set
2923 sh64_isa_mode to sh64_isa_sh5_guard unless sh64_isa_unspecified.
2924 (sh64_do_align): New function.
2925 (sh64_max_mem_for_rs_align_code): New function.
2926 (sh64_handle_align): Rename from shmedia_do_align. Make
2927 non-static. Add head comment. Emit zero bytes for n bytes modulo
2928 four. Change return-type to void.
2929 (shmedia_elf_new_section): Remove.
2930 (shmedia_md_assemble): Call sh64_update_contents_mark.
2931 (s_sh64_mode): Ditto. Do not call md_flush_pending_output. Make
2932 new frag. Call sh64_update_contents_mark after making the new
2933 frag.
2934 (sh64_flush_pending_output): Just call sh64_update_contents_mark
2935 and sh_flush_pending_output.
2936 (sh64_flag_output): Also call md_flush_pending_output, but add
2937 condition on not emitting_crange.
2938 (sh64_tc_cons_fix_new): Remove.
2939 2001-01-12 Nick Clifton <nickc@redhat.com>
2940 * config/tc-sh64.c (shmedia_do_align): Fix to work with new
2941 alignment handling scheme imported from sourceware.
2942 2001-01-12 Hans-Peter Nilsson <hpn@cygnus.com>
2943 * config/tc-sh64.h (TARGET_FORMAT): Define.
2944 (sh64_target_format): Prototype.
2945 * config/tc-sh64.c (sh64_target_mach): New function.
2946 2001-01-07 Hans-Peter Nilsson <hpn@cygnus.com>
2947 * config/tc-sh64.c (shmedia_md_end): When equating a symbol, use
2948 zero_address_frag instead of copying the frag of the symbol.
2949 (shmedia_frob_file_before_adjust): Ditto.
2950 (shmedia_md_apply_fix) <case BFD_RELOC_SH_IMM_MEDLOW16>: Cast mask
2951 to valueT to remove signedness.
2952 (shmedia_md_convert_frag): Add parameter final. Rename parameter
2953 headers to output_bfd. Do not evaluate symbols if final is false;
2954 do emit fixups.
2955 (shmedia_md_estimate_size_before_relax) <case C (MOVI_IMM_32,
2956 UNDEF_MOVI) et al>: If symbol cannot be modified to be PC-relative
2957 to the current frag, call shmedia_md_convert_frag to emit fixups
2958 and make frag_wane neutralize the frag. Update comments.
2959 * config/tc-sh.c (md_convert_frag): Change caller of
2960 shmedia_md_convert_frag.
2961 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
2962 * config/tc-sh64.h: Tweak comments and correct formatting.
2963 * config/tc-sh64.c: Ditto.
2964 (shmedia_md_convert_frag) <PT/PTA/PTB 32, 48 and 64 bit
2965 expansion, MOVI pcrel expansion>: Fix thinko calculating offset
2966 for the no-relocation case.
2967 (shmedia_check_limits): Fix range check being off-by-one for PTA.
2968 * config/tc-sh.c: Ditto. Add proper comments to #ifdef/#ifndef
2969 wrappers.
2970 (SH64PCREL16_F): Increment for proper max-PTA handling. Update
2971 comment.
2972 (SH64PCREL16_M, MOVI_16_M): Correct range thinko.
2973 (SH64PCREL48_M, MOVI_48_M): Similar; don't count in length of
2974 expansion.
2975 (SH64PCREL32_M, MOVI_32_M): Ditto; handle overflowing expression.
2976 Correct comment.
2977 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
2978 * config/tc-sh64.c (shmedia_md_apply_fix) <second switch, case
2979 BFD_RELOC_SH_PT_16>: Set lowest bit in field to be relocated to 1.
2980 (shmedia_md_convert_frag) <case C (SH64PCREL16_32, SH64PCREL16) et
2981 al>: Set lowest bit of field to relocate to 1 and rest to empty,
2982 if reloc is emitted.
2983 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com>
2984 New options plus bugfixes.
2985 * config/tc-sh.c (md_longopts): New options "-no-expand" and
2986 "-expand-pt32".
2987 (md_parse_option): Handle new options.
2988 (md_show_usage): Add blurb for new options.
2989 * config/tc-sh64.c (SHMEDIA_BFD_RELOC_PT): New macro.
2990 (sh64_expand, sh64_pt32): New variables.
2991 (shmedia_init_reloc): Handle BFD_RELOC_SH_PT_16.
2992 (shmedia_md_apply_fix): Hold original fixP->fx_r_type in
2993 orig_fx_r_type. Change SHMEDIA_BFD_RELOC_PT into
2994 BFD_RELOC_SH_PT_16. Handle BFD_RELOC_SH_PT_16 as pc-relative.
2995 <resolved previously-pc-relative relocs>: Handle
2996 SHMEDIA_BFD_RELOC_PT and BFD_RELOC_SH_PT_16.
2997 (shmedia_md_convert_frag) <case C (SH64PCREL16PT_64, SH64PCREL16),
2998 case C (SH64PCREL16PT_32, SH64PCREL16)>: Modify to PTB if operand
2999 points to SHcompact code.
3000 <case C (SH64PCREL16_32, SH64PCREL16), case C (SH64PCREL16_64,
3001 SH64PCREL16)>: Check that ISA of what operand points at and
3002 PTA/PTB matches, or emit error.
3003 (shmedia_check_limits): Handle BFD_RELOC_SH_PT_16 and
3004 SHMEDIA_BFD_RELOC_PT.
3005 (shmedia_immediate_op): If pcrel, emit fixup also for constant
3006 operand.
3007 (shmedia_build_Mytes) <case A_IMMS16>: Also check sh64_expand in
3008 condition for MOVI expansion.
3009 <case A_PCIMMS16BY4>: Handle expansion to 32 bits only, if
3010 sh64_pt32. Emit only a BFD_RELOC_SH_PT_16 fixup if not
3011 sh64_expand.
3012 <case A_PCIMMS16BY4_PT>: Likewise, but emit a SHMEDIA_BFD_RELOC_PT
3013 fixup.
3014 (sh64_target_format): Error-check setting of sh64_pt32 and
3015 sh64_expand. Fix typo in check for sh64_shcompact_const_crange.
3016 (shmedia_md_pcrel_from_section): Handle BFD_RELOC_SH_PT_16 and
3017 SHMEDIA_BFD_RELOC_PT as coming from SHmedia code.
3018 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com>
3019 * config/tc-sh64.c: Improve comments.
3020 (shmedia_md_convert_frag): Remove inactive is_pt_variant code. Do
3021 not say the linker will check correctness of PTA/PTB expansion.
3022 (shmedia_md_end): Make non-static.
3023 * config/tc-sh64.h (md_end): Define to shmedia_md_end. Add
3024 prototype.
3025 * config/tc-sh.c (sh_finalize): Remove.
3026 * config/tc-sh.h (md_end): Do not define.
3027 Remove prototype for sh_finalize.
3028 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
3029 * config/tc-sh64.c (shmedia_frob_section_type): Use a struct
3030 sh64_section_data container when storing section type in tdata
3031 field in elf_section_data.
3032 * config/tc-sh.c (sh_elf_final_processing): Change from EF_SH64 to
3033 EF_SH5.
3034 * Makefile.am: Update dependencies.
3035 * Makefile.in: Regenerate.
3036 2000-12-22 Hans-Peter Nilsson <hpn@cygnus.com>
3037 * config/tc-sh64.c (shmedia_md_assemble): Don't protect
3038 dwarf2_emit_insn call with test on debug_type.
3039 2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
3040 * config/tc-sh64.c (sh64_set_contents_type): Make contents-type
3041 CRT_SH5_ISA32 sticky for 64-bit.
3042 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
3043 Generate .crange sections when switching ISA mode or emitting
3044 constants in same section as code.
3045 * config/tc-sh64.c: Reformat structure definitions.
3046 (sh64_end_of_assembly, sh64_mix, sh64_shcompact_const_crange): New
3047 variables.
3048 (sh64_set_contents_type): Rename from sh64_init_section. Rewrite
3049 to emit a .cranges descriptor when contents type changes. Only
3050 emit error if changing contents type and -no-mix is in effect.
3051 (sh64_emit_crange, sh64_flush_last_crange, sh64_flag_output,
3052 sh64_flush_pending_output, sh64_tc_cons_fix_new): New functions.
3053 (shmedia_md_end): Set sh64_end_of_assembly. Pass
3054 sh64_flush_last_crange over sections.
3055 When checking main symbol of datalabel symbol, check for
3056 STO_SH5_ISA32, not ISA type of section in definition.
3057 (shmedia_frob_file_before_adjust): Check main symbol for
3058 STO_SH5_ISA32; don't check ISA type of section in definition.
3059 (shmedia_frob_section_type): Adjust for .cranges; set section flag
3060 to SHF_SH5_ISA32_MIXED or SHF_SH5_ISA32 according to whether
3061 .cranges entries have been output.
3062 (shmedia_elf_new_section): Just call md_flush_pending_output.
3063 (shmedia_md_assemble): Do not emit a BFD_RELOC_SH_SHMEDIA_CODE
3064 fix. Do not set tc_segment_info_data.in_code for section. Call
3065 sh64_set_contents_type for SHmedia code.
3066 (s_sh64_mode): Do not call sh64_init_section or set seen_insn to
3067 false. Call md_flush_pending_output.
3068 (sh64_target_format): Check that -no-mix and
3069 -shcompact-const-crange are used in sane combination with other
3070 options.
3071 (shmedia_md_pcrel_from_section): Check type of fix for how to
3072 adjust pc-relative.
3073 (sh64_consume_datalabel): Check symbol for having STO_SH5_ISA32,
3074 not ISA type of section in definition.
3075 * config/tc-sh64.h (struct sh64_segment_info_type): Rewrite to
3076 hold contents-type state.
3077 (md_flush_pending_output): Redefine to sh64_flush_pending_output.
3078 (sh64_flush_pending_output): Declare.
3079 (TC_CONS_FIX_NEW): Define to sh64_tc_cons_fix_new.
3080 (sh64_tc_cons_fix_new): Declare.
3081 * config/tc-sh.c (sh_elf_cons) [HAVE_SH64]: Unset seen_insn and
3082 call sh64_flag_output.
3083 (md_assemble) [HAVE_SH64]: Do not emit BFD_RELOC_SH_CODE. Just
3084 call sh64_set_contents_type to mark SHcompact code and set
3085 seen_insn.
3086 (md_longopts): New options "-no-mix" and
3087 "-shcompact-const-crange".
3088 (md_parse_option): Handle new options.
3089 (md_show_usage): Add blurb for new options.
3090 (md_number_to_chars) [HAVE_SH64]: Call sh64_flag_output.
3091 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
3092 * config/tc-sh64.c: Delete investigated and obsolete fixme:s.
3093 (sh64_last_insn_frag): New.
3094 (shmedia_md_convert_frag): Use tc_frag_data field of incoming frag
3095 to get frag for insn opcode for generating fixups; do not assume it
3096 is the same frag.
3097 (shmedia_build_Mytes): Set sh64_last_insn_frag after growing frag
3098 for new insn.
3099 * config/tc-sh64.h (ELF_TC_SPECIAL_SECTIONS): Define for .cranges
3100 section.
3101 (TC_FRAG_TYPE): Define as fragS *.
3102 (TC_FRAG_INIT): Define to set tc_frag_data to sh64_last_insn_frag.
3103 (sh64_last_insn_frag): Declare.
3104 (sh64_consume_datalabel): Fix typo; check for seginfo != NULL,
3105 not == NULL before dereferencing.
3106 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
3107 Get rid of BFD section flag and EF_SH64_ABI64.
3108 * config/tc-sh64.c (shmedia_frob_section_type): Use
3109 elf_section_data (sec)->tdata, not a specific BFD section flag, to
3110 communicate the section as containing SHmedia code. Describe why.
3111 * config/tc-sh.c (sh_elf_final_processing): Tweak comment. Set
3112 EF_SH64 regardless of ABI.
3113 * config/tc-sh64.c (shmedia_md_apply_fix): Decapitalize "invalid"
3114 in error message. Handle resolved expressions for
3115 BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
3116 BFD_RELOC_SH_IMMS10BY4 and BFD_RELOC_64.
3117 (shmedia_check_limits): Handle BFD_RELOC_64.
3118 (sh64_adjust_symtab): Do not decrement the GAS symbol value for
3119 a STO_SH5_ISA32 symbol, only the BFD value.
3120 2000-12-11 Ben Elliston <bje@redhat.com>
3121 * config/tc-sh64.c: Call dwarf2_emit_insn, not the defunct
3122 dwarf2_generate_asm_lineno.
3123 2000-12-11 Hans-Peter Nilsson <hpn@cygnus.com>
3124 Handle PC-relative MOVI expansions with assembler relaxation.
3125 Generate PC-relative relocs from 16-bit PC-relative expressions.
3126 * config/tc-sh64.c (SHMEDIA_MD_PCREL_FROM_FIX): Break out from...
3127 (shmedia_md_pcrel_from_section): ...here.
3128 (shmedia_md_apply_fix): Handle fixups for 16-bit operands that has
3129 turned completely resolved. Adjust relocation type for 16-bit
3130 immediate operands that has turned PC-relative. Adjust back for
3131 MD_PCREL_FROM_SECTION being applied twice.
3132 (shmedia_md_convert_frag): Always emit reloc for expression with
3133 global or weak symbol. Handle relaxation result for PC-relative
3134 expressions.
3135 (shmedia_md_estimate_size_before_relax): An expression with a weak
3136 or global symbol can not be relaxed. Break out tests for
3137 relaxable symbol into variable sym_relaxable.
3138 <cases C (MOVI_IMM_64, UNDEF_MOVI) and C (MOVI_IMM_32,
3139 UNDEF_MOVI)>: Break out any PC-relative expression and change
3140 relaxation type.
3141 (shmedia_build_Mytes): CSE &operands->operands[j] into variable
3142 opjp.
3143 <case A_IMMS16>: Fix typo for initial minor relaxation type of
3144 MOVI expansion. If X_op_symbol of the immediate expression is
3145 set, make an expression symbol for the argument to frag_var.
3146 * config/tc-sh.c (MOVI_IMM_32_PCREL, MOVI_IMM_64_PCREL): New
3147 relaxations.
3148 (END): Adjust for new relaxations.
3149 (md_relax_table): Add entries for new relaxations.
3150 2000-12-07 Ben Elliston <bje@redhat.com>
3151 * config/tc-sh64.c (shmedia_parse_reg): Initialize variable len.
3152 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
3153 * config/tc-sh64.c (shmedia_md_convert_frag): Correct all MOVI and
3154 SHORI operand offsets in PT/PTA/PTB expansions.
3155 2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
3156 Implement DataLabel semantics.
3157 * config/tc-sh.c (sh_frob_file) [HAVE_SH64]: Call
3158 shmedia_frob_file_before_adjust.
3159 * config/tc-sh64.c [! OBJ_ELF]: Emit #error.
3160 (DATALABEL_SUFFIX): Define.
3161 (shmedia_md_end) <before adjusting STO_SH5_ISA32 symbols>: Walk
3162 symbol list to update "datalabel" symbols to their main symbol
3163 counterparts.
3164 (shmedia_frob_file_before_adjust): New.
3165 (sh64_adjust_symtab): For remaining datalabel symbols, set to
3166 undefined and set STT_DATALABEL.
3167 (sh64_frob_label): Initialize TC symbol field.
3168 (sh64_consume_datalabel): Actually implement semantics. New
3169 parameter operandf, call it instead of expression.
3170 (sh64_exclude_symbol): New.
3171 * config/tc-sh64.h (md_parse_name): Pass on the function operand
3172 to sh64_consume_datalabel.
3173 (tc_symbol_new_hook): Define to tc_frob_symbol.
3174 (TC_SYMFIELD_TYPE): Define to symbolS *.
3175 (tc_frob_symbol): Define to call sh64_exclude_symbol.
3176 2000-12-01 Hans-Peter Nilsson <hpn@cygnus.com>
3177 * config/tc-sh64.c (shmedia_init_reloc): Tweak comment for default
3178 case.
3179 (shmedia_md_assemble): Call dwarf2_generate_asm_lineno if
3180 generating dwarf2 debug information.
3181 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
3182 * config/tc-sh64.c (sh64_target_format): Use elf64-sh64l and
3183 elf64-sh64 for the 64-bit ABI.
3184 * config/tc-sh.c (md_show_usage): Tweak usage output for -abi=*
3185 option.
3186 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
3187 * config/tc-sh.c: Remove conditionalizing on HAVE_SH64 for
3188 case-insensitivity.
3189 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
3190 * config/tc-sh64.c: Tweak comments, formatting and error messages.
3191 (enum sh64_abi_values): New type.
3192 (enum sh64_isa_values): New type.
3193 (sh64_isa_mode): Replace shmedia_mode. All referers changed.
3194 (seen_shcompact_mode, seen_shmedia_mode): Delete.
3195 (sh64_abi): Replace shmedia_64.
3196 (shmedia_md_convert_frag) <C (MOVI_IMM_64, MOVI_64),
3197 C (MOVI_IMM_32, MOVI_32)>: Correct register number handling.
3198 (s_sh64_mode): Check validity for this target.
3199 (sh64_target_format): Initialize defaults for ISA and ABI.
3200 Fallback to old object format if no SH64 ISA or ABI has been
3201 specified.
3202 * config/tc-sh.c (md_parse_option): Check combinations for errors.
3203 (sh_elf_final_processing): Change to have EF_SH64_ABI64 for 64-bit
3204 ABI and EF_SH64 for 32-bit ABI, if SH64 options are specified.
3205 * config/tc-sh64.h: Fix typo in comment.
3206 2000-11-25 Hans-Peter Nilsson <hpn@cygnus.com>
3207 * config/tc-sh64.c (shmedia_md_estimate_size_before_relax)
3208 <PT fixups for absolute values>: Size will be longest, not
3209 shortest.
3210 (shmedia_md_convert_frag): Disable PTB-warning machinery. Correct
3211 all MOVI and SHORI operand offsets in PT/PTA/PTB expansions.
3212 * config/tc-sh.c (parse_reg) [HAVE_SH64]: Add local variables l0
3213 and l1 to hold lowercase of two first characters. Change all
3214 remaining TO_LOWER to tolower.
3215 * config/tc-sh64.c (TO_LOWER): Delete.
3216 (shmedia_find_cooked_opcode): Use tolower, not TO_LOWER.
3217 (md_parse_name): Define.
3218 (sh64_consume_datalabel): Declare.
3219 (DOLLAR_DOT): Define.
3220 * config/tc-sh64.c (shmedia_parse_exp): New.
3221 (sh64_consume_datalabel): New; just ignoring datalabel semantics.
3222 (shmedia_parse_reg): Remove const from src
3223 parameter.
3224 (shmedia_get_operands): Ditto for args parameter and ptr variable.
3225 (shmedia_md_assemble): Ditto for op_end variable.
3226 (shmedia_get_operand): Ditto for ptr parameter and src variable.
3227 Use shmedia_parse_exp, not parse_exp.
3228 * config/tc-sh64.c (shmedia_parse_reg): Add shmedia_arg_type
3229 parameter. All callers changed.
3230 (shmedia_get_operand): Add shmedia_arg_type parameter. All
3231 callers changed.
3232 (shmedia_parse_reg): Put first two character in local variables.
3233 Use tolower, not TO_LOWER. If no register is found and argtype
3234 indicates a control register, scan shmedia_creg_table
3235 case-insensitive.
3236 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
3237 * Makefile.am (CPU_TYPES): Add sh64.
3238 (TARGET_CPU_CFILES): Add config/tc-sh64.c.
3239 (TARGET_CPU_HFILES): Add config/tc-sh64.h.
3240 Regenerate dependencies.
3241 * Makefile.in: Regenerate.
3242 * configure.in: Add support for sh64-*-elf*.
3243 * configure: Regenerate.
3244 * config/tc-sh64.h: New.
3245 * config/tc-sh64.c: New.
3246 * config/tc-sh.c (md_pseudo_table) [HAVE_SH64]: New pseudos
3247 .mode, .isa and .uaquad.
3248 [HAVE_SH64] (SH64PCREL16_32, SH64PCREL16_64, SH64PCREL16PT_32,
3249 SH64PCREL16PT_64, MOVI_IMM_32, MOVI_IMM_64): Define.
3250 [HAVE_SH64] (END): Define as 10.
3251 [HAVE_SH64] (UNDEF_SH64PCREL, SH64PCREL16, SH64PCREL32,
3252 SH64PCREL48, SH64PCREL64, UNDEF_MOVI, MOVI_16, MOVI_32, MOVI_48,
3253 MOVI_64): Define.
3254 [HAVE_SH64] (SH64PCREL16_F, SH64PCREL16_M, SH64PCREL16_LENGTH,
3255 SH64PCREL32_F, SH64PCREL32_M, SH64PCREL32_LENGTH, SH64PCREL48_F,
3256 SH64PCREL48_M, SH64PCREL48_LENGTH, SH64PCREL64_LENGTH,
3257 MOVI_16_LENGTH, MOVI_32_LENGTH, MOVI_48_LENGTH, MOVI_64_LENGTH):
3258 Define.
3259 (md_relax_table) [HAVE_SH64]: Provide relaxations for SHmedia.
3260 (md_begin) [HAVE_SH64]: Call shmedia_md_begin.
3261 (parse_reg) [HAVE_SH64]: Parse register names case-insensitive.
3262 (md_assemble) [HAVE_SH64]: Call shmedia_md_assemble if assembling
3263 SHmedia instructions. Handle state-change after switching to
3264 SHcompact.
3265 (md_longopts) [HAVE_SH64]: New options --isa=* and --abi=*.
3266 (md_parse_option) [HAVE_SH64]: Parse new options.
3267 (md_show_usage) [HAVE_SH64]: Show usage of new options.
3268 (md_convert_frag) [HAVE_SH64] <default>: Call
3269 shmedia_md_convert_frag instead of abort.
3270 (sh_force_relocation) [HAVE_SH64]: Also force relocation for
3271 BFD_RELOC_SH_SHMEDIA_CODE.
3272 (sh_elf_final_processing) [HAVE_SH64]: Set flags identifying
3273 SHcompact or SHmedia code.
3274 (md_apply_fix) [HAVE_SH64] <default>: Return result from calling
3275 shmedia_md_apply_fix instead of abort.
3276 (md_estimate_size_before_relax) [HAVE_SH64] <default>: Return
3277 result from calling shmedia_md_estimate_size_before_relax instead
3278 of calling abort.
3279 (sh_do_align) [HAVE_SH64]: If shmedia_mode, let shmedia_do_align
3280 do the work.
3281 (tc_gen_reloc) [HAVE_SH64]: For unrecognized relocs, call
3282 shmedia_init_reloc and do nothing more if it returns non-zero.
3283 (sh_finalize) [HAVE_SH64]: Call shmedia_md_end.
3284 * po/POTFILES.in: Regenerate.
3285 * po/gas.pot: Regenerate.
3286
3287 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
3288
3289 * config/tc-sh.c (parse_at): Install the correct version of
3290 2002-02-04's patch.
3291
3292 * config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't
3293 assume fixP->fx_subsy is non-NULL.
3294
3295 2002-02-04 Alexandre Oliva <aoliva@redhat.com>
3296
3297 * config/tc-sh.c (parse_at): Set arg type of @(expr,pc) to
3298 A_DISP_PC_ABS, and adjust it by -4.
3299 (get_specific): Accept A_DISP_PC_ABS where A_DISP_PC is
3300 expected.
3301 (build_Mytes): Mark PCRELIMM fix-ups as pc-relative only if
3302 the operand type is not A_DISP_PC_ABS.
3303
3304 2002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
3305
3306 * config/tc-mmix.c (tc_gen_reloc): Don't try and take the value of
3307 common and weak symbols. Handle common and weak symbols as
3308 undefined symbols with regards to GREG handling and merging.
3309 (mmix_frob_file): Ditto.
3310
3311 2002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
3312
3313 * configure.in (hppa-*-netbsd*): New target.
3314 * configure: Regenerate.
3315 * config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD.
3316
3317 2002-02-02 Alan Modra <amodra@bigpond.net.au>
3318
3319 * config/tc-v850.c: Add missing prototypes amd use old-style
3320 function definitions.
3321 (AREA_ZDA, AREA_SDA, AREA_TDA): Delete.
3322 (sdata_section tdata_section, zdata_section, sbss_section,
3323 tbss_section, zbss_section, rosdata_section, rozdata_section,
3324 scommon_section, tcommon_section, zcommon_section,
3325 call_table_data_section, call_table_text_section): Delete.
3326 (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss,
3327 v850_zbss, v850_bss, v850_rosdata, v850_rozdata,
3328 v850_call_table_data, v850_call_table_text): Delete.
3329 (struct v850_seg_entry): New.
3330 (v850_seg_table): New.
3331 (SDATA_SECTION TDATA_SECTION, ZDATA_SECTION, SBSS_SECTION,
3332 TBSS_SECTION, ZBSS_SECTION, BSS_SECTION, ROSDATA_SECTION,
3333 ROZDATA_SECTION, SCOMMON_SECTION, TCOMMON_SECTION, ZCOMMON_SECTION,
3334 CALL_TABLE_DATA_SECTION, CALL_TABLE_TEXT_SECTION): Define.
3335 (do_v850_seg): New.
3336 (v850_seg): New.
3337 (v850_comm): Use do_v850_seg and v850_seg_table. Simplify
3338 recording of alignment.
3339 (md_pseudo_table): Use v850_seg.
3340 (md_begin): Don't init .call_table_data and .call_table_text here.
3341 Set v850_seg_table bss entry.
3342
3343 2002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
3344
3345 Support on-demand global register allocation by passing on
3346 base-plus-offset relocs to the linker.
3347 * config/tc-mmix.c: Tweak and fix typos in comments.
3348 (allocate_undefined_gregs_in_linker): New variable.
3349 (OPTION_LINKER_ALLOCATED_GREGS): New option macro.
3350 (md_longopts): Add --linker-allocated-gregs.
3351 (md_parse_option) <case 'x'>: Imply --linker-allocated-gregs.
3352 <case OPTION_LINKER_ALLOCATED_GREGS>: New.
3353 (md_show_usage): Update text for -x. Add text for
3354 --linker-allocated-gregs.
3355 (tc_gen_reloc): Derive default value for addend from val and
3356 baddsy. Use addsec and bfd_is_abs_section in more places. Don't
3357 emit error for BFD_RELOC_MMIX_BASE_PLUS_OFFSET without suitable
3358 GREG if allocate_undefined_gregs_in_linker.
3359 * doc/as.texinfo (Overview) <Target MMIX options>: Add
3360 --linker-allocated-gregs.
3361 * doc/c-mmix.texi (MMIX-Opts): Add blurb about
3362 --linker-allocated-gregs. Mention that it's implied by -x.
3363 (MMIX-Pseudos) <GREG>: Mention when and how a GREG can be omitted.
3364 (MMIX-mmixal): Clarify dated comparison and location of MMIXware.
3365
3366 * config/tc-mmix.h (md_parse_name): Use ISUPPER, not isupper.
3367
3368 2002-02-01 Alan Modra <amodra@bigpond.net.au>
3369
3370 * Makefile.am: Run "make dep-am"
3371 * Makefile.in: Regenerate.
3372
3373 2002-01-31 Ivan Guzvinec <ivang@opencores.org>
3374
3375 * config/tc-or32.c: New file.
3376 * config/tc-or32.h: New file.
3377 * configure.in: Add support for or32 targets.
3378 * configure: Regenerate.
3379 * config/obj-coff.c: Add support for or32 targets.
3380 * config/obj-coff.h: Add support for or32 targets.
3381 * Makefile.am: Add support for or32 targets.
3382 * Makefile.in: Regenerate.
3383 * NEWS: Mention support for OpenRISC.
3384 * doc/Makefile.in: Regenerate.
3385 * po/POTFILES.in: Regenerate.
3386 * po/gas.pot: Regenerate.
3387
3388 2002-01-30 Richard Sandiford <rsandifo@redhat.com>
3389
3390 * config/tc-sh.c (parse_reg): Fix end-of-word check for is, ix, iy
3391 and mod.
3392
3393 2002-01-29 Chris Demetriou <cgd@broadcom.com>
3394
3395 * config/tc-mips.c (tc_gen_reloc): Arrange for
3396 BFD_RELOC_PCREL_HI16_S relocations to be output relative to
3397 their LO16 parts, even for ELF.
3398
3399 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
3400
3401 * config/tc-i386.c: Protect definitions of true and false
3402 from redefinition.
3403
3404 2002-01-28 Jakub Jelinek <jakub@redhat.com>
3405
3406 * config/obj-elf.c (elf_frob_file_before_adjust): Remove symbols
3407 made because of .weak, if they are neither defined nor used in any
3408 way.
3409
3410 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
3411
3412 * configure: Regenerated.
3413
3414 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
3415
3416 * doc/Makefile.am (install): Depend on install-info.
3417 * doc/Makefile.in: Regenerate.
3418
3419 2002-01-26 Nick Clifton <nick@redhat.com>
3420
3421 * po/fr.po: Updated version
3422
3423 2002-01-24 Kazu Hirata <kazu@hxi.com>
3424
3425 * config/tc-h8300.c (check_operand): Don't print a warning
3426 when a valid 24-bit address is given to a 16-bit address
3427 operand.
3428
3429 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
3430
3431 * config/tc-sh.c (sh_elf_suffix): Removed.
3432 (sh_PIC_related_p, sh_check_fixup, sh_cons_fix_new,
3433 sh_end_of_match, sh_parse_name): New functions.
3434 (sh_elf_cons): Simplify.
3435 (parse_exp): Reject misplaced PIC operands.
3436 (md_undefined_symbol): Simplify.
3437 (sh_fix_adjustable): Let @GOTOFF be adjusted.
3438 (md_apply_fix3): Write @PLT and @GOTOFF addends in place.
3439 (tc_gen_reloc): Move fixp subsy absolute value into addnumber.
3440 Complain if subsy remains at the end.
3441 * config/tc-sh.h (sh_parse_name, sh_cons_fix_new): Declare.
3442 (md_parse_name, TC_CONS_FIX_NEW, O_PIC_reloc): Define.
3443
3444 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
3445
3446 * config/tc-mn10300.c (xr_registers): Move `pc'...
3447 (other_registers): ... here.
3448
3449 2002-01-22 Alan Modra <amodra@bigpond.net.au>
3450
3451 * Makefile.am: Run "make dep-am".
3452 * Makefile.in: Regenerate.
3453 * gas/po/POTFILES.in: Regenerate.
3454
3455 2002-01-21 DJ Delorie <dj@redhat.com>
3456
3457 * config/obj-coff.c (obj_coff_init_stab_section): Make the
3458 stabstr_name allocation permanent, as it will be referenced from
3459 the section hash.
3460
3461 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
3462
3463 * configure.in (ia64-*-netbsd*): New target.
3464 * configure: Regenerate.
3465
3466 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
3467
3468 * doc/as.texinfo (Overview) <Target ARM options>: Add missing {}
3469 to @dots call.
3470 <Detailed description, ARM options>: Ditto.
3471 * doc/c-arm.texi (ARM Options): Ditto.
3472
3473 2002-01-18 Richard Earnshaw <rearnsha@arm.com>
3474
3475 * tc-arm.c (do_xsc_mia, do_xsc_mar, do_xsc_mra): Renamed from
3476 do_mia, do_mar and do_mra respectively.
3477 (do_mav_*): Renamed from do_c_*.
3478 (mav_reg_required_here, mav_parse_offset): Renamed from
3479 cirrus_reg_required_here and cirrus_parse_offset respectively.
3480 (MAV_MODE?): Renamed from CIRRUS_MODE?.
3481
3482 2002-01-18 Richard Earnshaw <rearnsha@arm.com>
3483 Keith Walker <keith.walker@arm.com>
3484
3485 * tc-arm.c (ARM_EXT_V5J, ARM_ARCH_V5TEJ): Define.
3486 (insns): Add pattern for bxj instruction.
3487 (do_bxj): New function.
3488 (arm_cpus): Add arm926ej.
3489 (arm_archs): Add armv5tej.
3490
3491 2002-01-18 Richard Earnshaw <rearnsha@arm.com>
3492
3493 * doc/c-arm.texi: Add new fpe options to list of supported flags.
3494
3495 2002-01-19 Keith Walker <keith.walker@arm.com>
3496
3497 * tc-arm.c (arm_fpus): Add fpe2 and fpe3.
3498
3499 2002-01-18 Richard Earnshaw <rearnsha@arm.com>
3500
3501 * NEWS: Mention new ARM command-line options and VFP support.
3502
3503 * config/tc-arm.c (ARM_CEXT_XSCALE): Replaces ARM_EXT_XSCALE. All
3504 uses changed.
3505 (ARM_CEXT_MAVERICK): Similarly.
3506 (ARM_ANY): Now means any core instruction.
3507 (CPU_DEFAULT): Default to ARM_ANY.
3508 (uses_apcs_26, atcps, support_interwork, uses_apcs_float)
3509 (pic_code): Declare for all object types. Make type int.
3510 (legacy_cpu, legacy_fpu, mcpu_cpu_opt, mcpu_fpu_opt, march_cpu_opt)
3511 (march_fpu_opt, mfpu_opt): Declare.
3512 (md_longopts): Tidy up conditional definitions.
3513 (arm_opts, arm_cpus, arm_archs, arm_fpus, arm_extensions)
3514 (arm_long_opts): New tables.
3515 (arm_parse_cpu, arm_parse_arch, arm_parse_fpu): New functions.
3516 (arm_parse_extension): New function.
3517 (md_parse_option): Rewrite using new table-driven system.
3518 (md_show_usage): Use new table-driven system.
3519 (md_begin): Calculate cpu_variant from command line option data.
3520 * doc/as.texinfo (ARM ISA options): Docuement new ARM-specific
3521 command-line options.
3522 * doc/c-arm.texi: Likewise.
3523
3524 2002-01-18 Andreas Jaeger <aj@suse.de>
3525
3526 * as.c (parse_args): Update year.
3527
3528 2002-01-17 Timothy Wall <twall@alum.mit.edu>
3529
3530 * config/tc-tic54x.c (encode_address): Add a more informative
3531 warning about incorrect syntax.
3532
3533 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
3534
3535 * po/gas.pot: Regenerate.
3536
3537 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
3538
3539 * macro.c (get_any_string): Add no-c-format comment to prevent
3540 confusion when translating string.
3541 * gasp.c (get_any_string): Add no-c-format comment to prevent
3542 confusion when translating string.
3543
3544 2002-01-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3545 Johannes Stezenbach <js@convergence.de>
3546 * config/tc-mips.c (percent_op): Ensure longer percent_op's are
3547 matched before the shorter ones.
3548 (my_getSmallParser): Fix handling of nested parentheses in
3549 percent_op's. Code cleanup.
3550 (my_getPercentOp): New function, code from my_getSmallParser.
3551 (my_getSmallExpression): Fix handling of closing parentheses.
3552 Code cleanup. Better comments.
3553
3554 2002-01-16 Nick Clifton <nickc@redhat.com>
3555
3556 po/tr.po: New file: Turkish translation.
3557 configure.in (LINGUAS): Add "tr".
3558 configure: Regenerate.
3559
3560 2002-01-15 Richard Earnshaw <rearnsha@arm.com>
3561
3562 Support for VFP instructions
3563 * tc-arm.c (CP_WB_OK, CP_NO_WB): New defines.
3564 (cp_address_required_here): New argument wb_ok. When false, do not
3565 accept write-back forms of addressing. Change all callers.
3566 (FPU_VFP_EXT_NONE, FPU_VFP_EXT_V1xD, FPU_VFP_VFP_V1)
3567 (FPU_VFP_EXT_V2): Define.
3568 (FPU_ARCH_VFP, FPU_ARCH_VFP_V1xD, FPU_ARCH_VFP_V1, FPU_ARCH_VFP_V2):
3569 Define in terms of above.
3570 (vfp_dp_reg_pos, vfp_sp_reg_pos, vfp_ldstm_type): New enums.
3571 (vfp_reg): New struct.
3572 (vfp_regs): New array of registers.
3573 (insns): Add VFP instructions.
3574 (sn_table): New array of VFP single-precision register names.
3575 (dn_table): New array of VFP double-precision register names.
3576 (all_reg_maps): Add the new register tables.
3577 (arm_reg_type): Add new values for above. Increase RET_TYPE_MAX.
3578 (vfp_sp_reg_required_here, vfp_dp_reg_required_here, do_vfp_sp_monadic)
3579 (do_vfp_dp_monadic, do_vfp_sp_dyadic, do_vfp_dp_dyadic)
3580 (do_vfp_reg_from_sp, do_vfp_sp_reg2, do_vfp_sp_from_reg)
3581 (do_vfp_reg_from_dp, do_vfp_reg2_from_dp, do_vfp_dp_from_reg)
3582 (do_vfp_dp_from_reg2, vfp_psr_parse, vfp_psr_required_here)
3583 (do_vfp_reg_from_ctrl, do_vfp_ctrl_from_reg, do_vfp_sp_ldst)
3584 (do_vfp_dp_ldst, vfp_sp_reg_list, vfp_dp_reg_list, vfp_sp_ldstm)
3585 (vfp_dp_ldstm, do_vfp_sp_ldstmia, do_vfp_sp_ldstmdb, do_vfp_ldstmia)
3586 (do_vfp_dp_ldstmdb, do_vfp_xp_ldstmia, do_vfp_xp_ldstmdb)
3587 (do_vfp_sp_compare_z, do_vfp_dp_compare_z, do_vfp_dp_sp_cvt)
3588 (do_vfp_sp_dp_cvt): New functions.
3589 (md_begin): Set soft-float flag for appropriate VFP work.
3590 (md_atof): Handle VFP-format doubles.
3591 (md_parse_option): Handle VFP command-line options.
3592 (md_show_usage): Display VFP command-line options.
3593
3594 2002-01-15 Richard Earnshaw <rearnsha@arm.com>
3595
3596 * tc-arm.c (md_parse_option): Tidy up setting of cpu_variant for
3597 various command line options.
3598
3599 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
3600
3601 * config/tc-xstormy16.c: (xstormy16_fix_adjustable): Do not fix
3602 vtinherit relocs.
3603 (xstormy16_md_apply_fix3): Do not return a value.
3604
3605 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
3606
3607 * tc-arm.c (md_longopts): On targets that aren't bi-endian, support
3608 the -EL/-EB option that matches the target's endianness.
3609 (md_parse_option): Likewise.
3610
3611 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
3612
3613 * tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option
3614 is not dependent on ARM_BI_ENDIAN.
3615
3616 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
3617
3618 * tc-arm.c (all error messages): Normalize capitalization of messages.
3619
3620 * tc-arm.h (md_operand): Delete define.
3621 * tc-arm.c (in_my_get_expression): New static variable.
3622 (my_get_expression): Set and clear it.
3623 (md_operand): New function. If called from my_get_expression
3624 put the error in inst.error.
3625 (output_inst): Now takes argument of instruction being assembled.
3626 Print it out with any error message.
3627 (do_ldst, do_ldstv4, thumb_load_store): Fault attempt to use a store
3628 with '=' syntax.
3629 (end_of_line): Don't update inst.error if it is already set.
3630
3631 2002-01-11 Richard Earnshaw <rearnsha@arm.com>
3632
3633 * tc-arm.c (do_ldst): Fix handling an immediate expression pseudo
3634 op that can be translated into a mvn instruction.
3635
3636 2002-01-11 Steve Ellcey <sje@cup.hp.com>
3637
3638 * gas/config/tc-ia64.h (MD_FLAGS_DEFAULT): New Macro for
3639 setting default md.flags.
3640 (SHT_INIT_ARRAY): New elf special section used by HP-UX.
3641 (SHT_FINI_ARRAY): New elf special section used by HP-UX.
3642 * gas/config/tc-ia64.c (setup_unwind_header): Add support
3643 for 32 bit unwind info blocks.
3644 (generate_unwind_image): Add support for different types
3645 of unwind images (32 bits and/or big-endian).
3646 (ia64_init): Use MD_FLAGS_DEFAULT to set md.flags.
3647 (ia64_target_format): Add support for hpux target formats.
3648 (ia64_gen_real_reloc_type): Add support for FUNC_IPLT_RELOC.
3649 (ia64_elf_section_type): Add support for SHT_INIT_ARRAY and
3650 SHT_FINI_ARRAY elf section types.
3651
3652 2002-01-10 Richard Earnshaw <rearnsha@arm.com>
3653
3654 * tc-arm.c (struct reg_entry): Move before prototypes.
3655 (int_register, cp_register, fp_register): Delete.
3656 (reg_table): Delete. Replaced with ...
3657 (rn_table, cp_table, cn_table, fn_table, mav_mvf_table)
3658 (mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table)
3659 (mav_dspsc_table): ... one table per register set.
3660 (arm_reg_hsh): Delete.
3661 (struct reg_map): New structure.
3662 (all_reg_maps): New array.
3663 (enum arm_reg_type): New enums.
3664 (build_reg_hsh): New function.
3665 (insert_reg_alias): Use hash table passed by caller. Adjust all
3666 callers.
3667 (create_register_alias): New function, split out from ...
3668 (md_assemble): ... here.
3669 (md_begin): Build new register hash tables.
3670 (arm_reg_parse): New argument for the hash table to search. Adjust all
3671 callers.
3672 (arm_reg_parse_any): New function.
3673 (co_proc_number): Look up the processor number in the processor hash
3674 table.
3675 (cirrus_regtype): Delete.
3676 (cirrus_register, cirrus_mvf_register, cirrus_mvd_register)
3677 (cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register)
3678 (ARM_EXT_MAVERICKsc_register): Delete.
3679 (do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete.
3680 (do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New
3681 functions.
3682 (do_c_triple_4, do_c_triple_5): Delete.
3683 (do_c_triple_4[ab], do_c_triple_5[a-h]): New functions.
3684 (do_c_quad_6): Delete.
3685 (do_c_quad_6[ab]): New functions.
3686 (do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework
3687 arguments to use new register parsing methods.
3688 (cirrus_reg_required_here): Likewise.
3689 (insns): Reclassify cirrus maverick worker functions.
3690 (cirrus_valid_reg): Delete.
3691
3692 2002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
3693
3694 * configure.in (sh*le): Set cpu_type=sh and endian=little.
3695 (sh*-*-netbsdelf*): New target.
3696 * configure: Regenerate.
3697 * tc-sh.h: Update copyright years.
3698 (TARGET_FORMAT): Add version for TE_NetBSD.
3699
3700 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
3701
3702 * read.c (emit_expr): Do not allow 'size' or 'nbytes' to go
3703 negative.
3704
3705 2002-01-06 Alan Modra <amodra@bigpond.net.au>
3706
3707 * config/tc-m68k.h (md_prepare_relax_scan): Rewrite.
3708 * config/tc-m68k.c (md_relax_table): Add md_prepare_relax_scan comment.
3709
3710 2002-01-05 Daniel Jacobowitz <drow@mvista.com>
3711
3712 * tc-mips.c (mips_cprestore_valid): New flag.
3713 (mips_frame_reg_valid): New flag.
3714 (macro) [M_JAL_2]: Check both flags.
3715 [M_JAL_A]: Likewise.
3716 (s_cprestore): Set mips_cprestore_valid.
3717 (tc_get_register): If setting mips_frame_reg, set
3718 mips_frame_reg_valid and clear mips_cprestore_valid.
3719 (s_mips_ent): Clear both flags.
3720 (s_mips_end): Clear both flags.
3721
3722 2002-01-05 Alan Modra <amodra@bigpond.net.au>
3723
3724 * write.c (write_object_file): Make use of bfd_section_list_remove.
3725 * config/obj-ecoff.c (ecoff_frob_file): Likewise.
3726 * config/tc-mmix.c (mmix_frob_file): Likewise.
3727
3728 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
3729
3730 * configure.in (i386-*-netbsdelf*): Collapse target into...
3731 (i386-*-netbsd*): ...this. Add support for x86-64.
3732 * configure: Regenerated.
3733
3734 2002-01-03 matthew green <mrg@redhat.com>
3735
3736 * config/tc-ppc.c (md_parse_option): BookE is not Motorola specific.
3737
3738 2002-01-02 Nick Clifton <nickc@cambridge.redhat.com>
3739
3740 * config/tc-m68k.c (md_estimate_size_before_relax): Test for a
3741 NULL frag link.
3742
3743 For older changes see ChangeLog-0001
3744 \f
3745 Local Variables:
3746 mode: change-log
3747 left-margin: 8
3748 fill-column: 74
3749 version-control: never
3750 End:
This page took 0.26049 seconds and 5 git commands to generate.