2000-05-25 Alexandre Oliva <aoliva@cygnus.com>
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
2
3 2000-05-25 Alexandre Oliva <aoliva@cygnus.com>
4 * config/tc-mn10300.c (mn10300_insert_operand): Negate negative
5 accumulator's shift.
6 2000-05-08 Alexandre Oliva <aoliva@cygnus.com>
7 * config/tc-mn10300.c (md_relax_table, md_convert_frag,
8 md_assemble, md_estimate_size_before_relax): Handle fbCC.
9 2000-04-20 Alexandre Oliva <aoliva@cygnus.com>
10 * config/tc-mn10300.c (HAVE_AM33): Redefine in terms of
11 HAVE_AM33_2.
12 2000-04-03 Alexandre Oliva <aoliva@cygnus.com>
13 * config/tc-mn10300.c (md_pseudo_table): Use AM33_2 constant.
14 (HAVE_AM33): Match AM33_2 too.
15 (HAVE_AM33_2): New macro.
16 (md_assemble): Use it. Match 2.0 registers only if HAVE_AM33_2.
17 2000-04-01 Alexandre Oliva <aoliva@cygnus.com>
18 * config/tc-mn10300.c (md_pseudo_table): Added `am33_2'.
19 (float_registers, double_registers): New variables.
20 (float_register_name, double_register_name): New functions.
21 (md_assemble): Recognize FP registers. Implement FMT_D3.
22 (mn10300_insert_operand): Support FP registers.
23
24 2003-07-08 Chris Demetriou <cgd@broadcom.com>
25
26 * config/tc-mips.c (mips_validate_fix): Do not warn about branch
27 target being a global symbol if not compiling SVR4 PIC code.
28
29 2003-07-07 Nick Clifton <nickc@redhat.com>
30
31 * doc/c-m32r.texi (M32R-Directives): New node. Document the
32 .high, .shigh and .low directives.
33
34 2003-07-07 Richard Sandiford <rsandifo@redhat.com>
35
36 * config/tc-h8300.c (h8300sxnmode): Add prototype.
37 (DSYMMODE): Remove.
38 (parse_exp): Replace expressionS argument with a h8_op. Parse the
39 operand size as well.
40 (skip_colonthing): Remove unused expression argument. Tighten checks
41 for 2-digit sizes.
42 (colonmod24): Remove.
43 (get_mova_operands): Combine calls to parse_exp and skip_colonthing.
44 (get_operand): Likewise. Use the standard code to read the size of
45 pc-relative operands.
46 (fix_operand_size): Include the size-guessing logic that used to be
47 in colonmod24 and get_operand. Don't apply dd:2 optimizations to
48 offsets with a symbolic component.
49
50 2003-07-04 Nick Clifton <nickc@redhat.com>
51
52 * config/tc-i386.c (tc_x86_regname_to_dw2regnum): Use ARRAY_SIZE
53 macro to compute size of selected register name array.
54
55 2003-07-01 Martin Schwidefsky <schwidefsky@de.ibm.com>
56
57 * config/tc-s390.c (md_parse_option): Add cpu type z990.
58 (md_begin): Add minimal cpu type logic for instructions with different
59 binary format depending on the cpu.
60 (md_assemble): Remove check for minimal cpu.
61 (s390_insert_operand): Add support for long displacements.
62 (md_gather_operands): Likewise.
63 (tc_s390_fix_adjustable): Likewise.
64 (tc_s390_force_relocation): Likewise.
65 (md_apply_fix3): Likewise.
66
67 2003-06-30 Chris Demetriou <cgd@broadcom.com>
68
69 * config/tc-mips.c (s_mipsset): Implement -march= handling
70 differently.
71
72 2003-06-30 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
73
74 * config/tc-mips.c: Convert to ISO C90 prototypes. Remove unnecessary
75 prototypes and casts. Replace PTR with void *. Reformat.
76 * config/tc-mips.h: Likewise.
77
78 2003-06-30 Alan Modra <amodra@bigpond.net.au>
79
80 * config/tc-ia64.c (note_register_values): Warning fix.
81 * config/tc-mips.c (append_insn): Likewise.
82
83 2003-06-29 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
84
85 * config/tc-mips.c (mips_set_options,mips_opts): Support for
86 .set arch=FOO.
87 (file_mips_arch): Rename mips_arch.
88 (mips_arch_info,mips_tune_info): Remove.
89 (hilo_interlocks,gpr_interlocks,cop_interlocks): Use mips_opts.arch.
90 (mips_cpu_info_from_arch): New function.
91 (md_begin): Use file_mips_arch.
92 (macro_build,macro,mips_ip): Use mips_opts.arch.
93 (mips_set_architecture): Init file_mips_arch and mips_opts.arch.
94 (mips_after_parse_args): Remove mips_arch_info and mips_tune_info.
95 Use file_mips_arch.
96 (s_mipsset): Support for .set arch=FOO.
97 (mips_cpu_info_table): Fix typo.
98
99 2003-06-26 H.J. Lu <hongjiu.lu@intel.com>
100
101 * config/tc-i386.c (md_assemble): Declare "exp" before "if".
102
103 2003-06-25 Richard Sandiford <rsandifo@redhat.com>
104
105 * config/tc-h8300.c (get_specific): Allow ':8' to be used for
106 unsigned 8-bit operands.
107
108 2003-06-24 Nick Clifton <nickc@redhat.com>
109
110 * read.c (s_comm): Change error message to assume an unsigned size
111 has been passed to .comm.
112 * config/tc-sparc.c (s_common): Likewise.
113 * write.c (write_contents): Replace 'unsigned long' with
114 'addressT' and 'long' with offsetT in order to allow computations
115 with very large values to work for 64-bit addressed targets.
116 (relax_and_size_all_segments): Likewise.
117 (relax_frag): Likewise.
118 (relax_segment): Likewise.
119
120 2003-06-23 Mark Mitchell <mark@codesourcery.com>
121
122 * config/tc-ppc.c (ppc_cleanup): Use bytes to count APUinfo slots.
123
124 2003-06-23 H.J. Lu <hongjiu.lu@intel.com>
125
126 * gas/config/tc-i386.c (md_assemble): Support Intel Precott New
127 Instructions.
128
129 * gas/config/tc-i386.h (CpuPNI): New.
130 (CpuUnknownFlags): Add CpuPNI.
131
132 2003-06-23 <davidm@hpl.hp.com>
133
134 * config/tc-ia64.c (pseudo_func): Add ABI constants for linux,
135 freebsd, openvms, and nsk (non-stop kernel).
136
137 2003-06-22 Jason Thorpe <thorpej@wasabisystems.com>
138
139 * config/tc-ns32k.c (md_begin): Initialize inst_hash_table after
140 all locals have been declared.
141
142 2003-06-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
143
144 * config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN): Remove
145 special handling for n32 ABI.
146 (macro): Likewise.
147
148 2003-06-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
149
150 * config/tc-mips.c (s_cpsetup,s_cprestore,s_cpreturn): Revert
151 2003-06-11 change.
152
153 2003-06-19 Christian Groessler <chris@groessler.org>
154
155 * config/tc-z8k.c (parse_reg): Invalid registers generate an error
156 now, not only a warning. Add some more checks to detect invalid
157 registers.
158 (get_operand): For CLASS_IR remember register size in mode struct.
159 (get_specific): Handle new CLASS_IRO type. Add register size
160 checks for CLASS_IR and CLASS_IRO.
161 (md_apply_fix3): Fix undefined usage of buf.
162
163 2003-06-19 Alan Modra <amodra@bigpond.net.au>
164
165 * config/tc-ppc.c (ppc_csect): Pass alignment to ppc_change_csect.
166 (ppc_change_csect): Add align param. Align frag at start of csect.
167 (ppc_section, ppc_named_section): Adjust ppc_change_csect calls.
168 (ppc_frob_section): Align vma.
169
170 2003-06-18 Jakub Jelinek <jakub@redhat.com>
171
172 * dw2gencfi.c (EH_FRAME_ALIGNMENT): Define if not defined.
173 (output_cie): Don't pad.
174 (output_fde): Add align argument. Pad to align if not 0.
175 (cfi_finish): Set .eh_frame alignment to EH_FRAME_ALIGNMENT.
176 Pad just last FDE to EH_FRAME_ALIGNMENT.
177
178 2003-06-18 Martin Schwidefsky <schwidefsky@de.ibm.com>
179
180 * config/tc-s390.c (init_default_arch): Make current_mode_mask
181 dependent on s390_arch_size and current_cpu dependent on
182 current_mode_mask.
183
184 2003-06-18 Svein E. Seldal <Svein.Seldal@solidas.com>
185
186 * configure.in: Add c4x as an architecture variant to tic4x.
187 * configure: Regenerate.
188 * Makefile.in: Regenerate.
189 * doc/Makefile.in: Regenerate.
190
191 2003-06-18 Alan Modra <amodra@bigpond.net.au>
192
193 * config/tc-ppc.c (ppc_elf_suffix): Don't remove symbols other than
194 ".TOC." from PPC64_TOC relocs.
195
196 2003-06-17 Alan Modra <amodra@bigpond.net.au>
197
198 * config/tc-ppc.c (md_apply_fix3): Allow BRTAKEN, BRNTAKEN relocs.
199
200 2003-06-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
201
202 * config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN,
203 ADDRESS_LOAD_INSN,ADDRESS_STORE_INSN): New macros.
204 (macro_build_ldst_constoffset,load_address,macro,s_cpsetup,
205 s_cprestore,s_cpadd): Use them.
206
207 2003-06-16 Hans-Peter Nilsson <hp@axis.com>
208
209 * configure.in: Add specific case for cris-*-linux-gnu* with
210 em=linux.
211 * configure: Regenerate.
212 * config/tc-cris.c (DEFAULT_CRIS_AXIS_LINUX_GNU): New macro, TRUE
213 if TE_LINUX defined, else FALSE.
214 (bfd_boolean demand_register_prefix): Set default from
215 DEFAULT_CRIS_AXIS_LINUX_GNU.
216 (symbols_have_leading_underscore): Similar.
217 * config/tc-cris.h (LOCAL_LABELS_DOLLAR): Define to 1.
218
219 2003-06-13 Richard Earnshaw <rearnsha@arm.com>
220
221 * tc-arm.c (FPU_DEFAULT, case TE_LINUX): Default to FPU_ARCH_FPA.
222 (FPU_DEFAULT, case TE_NetBSD): Default to FPU_ARCH_VFP for ELF,
223 FPU_ARCH_FPA for AOUT.
224 (md_begin): Don't try to guess the floating point architecture from
225 the CPU if the OS ABI (Linux, NetBSD) mandates a particular form.
226
227 2003-06-13 Robert Millan <zeratul2@wanadoo.es>
228
229 * configure.in: Add i386-netbsd-gnu target.
230 * configure: Regenerate.
231
232 2003-06-12 Tom Tromey <tromey@redhat.com>
233
234 * doc/as.texinfo (Comm): Added @node. Moved before CFI
235 directives node.
236
237 2003-06-12 Richard Sandiford <rsandifo@redhat.com>
238
239 * config/tc-mips.c (append_insn): In a compound relocation, take the
240 field width from the final (outermost) operator.
241
242 2003-06-11 Richard Henderson <rth@redhat.com>
243
244 * dw2gencfi.c (struct cfi_escape_data): New.
245 (cfi_add_CFA_nop): Remove.
246 (CFI_escape, dot_cfi_escape): New.
247 (dot_cfi): Remove nop.
248 (cfi_pseudo_table): Remove nop; add escape.
249 (output_cfi_insn): Likewise.
250 (select_cie_for_fde): Stop on escape.
251 * dw2gencfi.h (cfi_add_CFA_nop): Remove.
252 * read.c, read.h (do_parse_cons_expression): New.
253 * doc/as.texinfo (.cfi_escape): New.
254
255 2003-06-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
256
257 * config/tc-mips.c (s_cpsetup): Use mips_frame_reg instead of SP.
258 (s_cprestore): Likewise.
259 (s_cpreturn): Likewise.
260
261 2003-06-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
262
263 * config/tc-mips.c (tc_gen_reloc): Initialize retval amd reloc
264 with zeros.
265
266 2003-06-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
267
268 * config/tc-mips.c (md_pcrel_from): Return actual pcrel address.
269 (md_apply_fix3): Ignore non-special relocations. Remove superfluous
270 exceptions from size assert. Remove most of the addend fixup
271 specialcasing. Remove value, use valP directly. simplify fx_addnumber
272 handling. Remove zero addend specialcases.
273 (tc_gen_reloc): Use appropriate value for reloc2 addend. Remove
274 the addend fixup specialcase.
275 * config/tc-mips.h (MD_APPLY_SYM_VALUE): Define as 0.
276
277 2003-06-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
278
279 * write.c (write_relocs): Use xcalloc. Fix relocs initialization
280 in the RELOC_EXPANSION_POSSIBLE case.
281
282 2003-06-11 Alan Modra <amodra@bigpond.net.au>
283
284 * config/tc-i960.c (line_comment_chars): Add '#'.
285 * config/tc-mn10200.c (tc_gen_reloc): Don't ignore fx_subsy.
286
287 2003-06-11 H.J. Lu <hongjiu.lu@intel.com>
288
289 * po/Make-in (DESTDIR): New.
290 (install-data-yes): Support $(DESTDIR).
291 (uninstall): Likewise.
292
293 2003-06-11 Alan Modra <amodra@bigpond.net.au>
294
295 * Makefile.am: Run "make dep-am".
296 * Makefile.in: Regenerate.
297 * po/POTFILES.in: Regenerate.
298
299 2003-06-10 Doug Evans <dje@sebabeach.org>
300
301 * cgen.c (gas_cgen_finish_insn): CGEN_INSN_RELAX renamed to
302 CGEN_INSN_RELAXED.
303 * config/tc-fr30.c (md_estimate_size_before_relax): Ditto.
304 * config/tc-m32r.c (md_estimate_size_before_relax): Ditto.
305 * config/tc-openrisc.c (md_estimate_size_before_relax): Ditto.
306
307 2003-06-10 Alan Modra <amodra@bigpond.net.au>
308 Gary Hade <garyhade@us.ibm.com>
309
310 * config/tc-ppc.c (md_assemble): Handle PPC_OPERAND_DQ.
311 (md_apply_fix3): Special case lq insn.
312
313 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
314
315 * config/tc-h8300.c (get_rtsl_operands): Accept unbracketed register
316 lists. Allow single-register ranges.
317
318 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
319
320 * config/tc-h8300.c (h8300sxnmode): New.
321 (md_pseudo_table): Add .h8300sxn entry.
322
323 2003-06-09 H.J. Lu <hongjiu.lu@intel.com>
324
325 * NEWS: Updated for the new -n option for the i386 assembler.
326
327 * config/tc-i386.c (optimize_align_code): New.
328 (md_shortopts): Add 'n'.
329 (md_parse_option): Handle 'n'.
330 (md_show_usage): Add '-n'.
331
332 * config/tc-i386.h (optimize_align_code): Declared.
333 (md_do_align): Optimize code alignment only if optimize_align_code
334 is not 0.
335
336 * doc/as.texinfo: Add the new -n option.
337
338 * doc/c-i386.texi: Document the new -n option.
339
340 2003-06-07 Richard Henderson <rth@redhat.com>
341
342 * doc/as.texinfo: Document .cfi_rel_offset.
343
344 * dw2gencfi.c (struct cfa_save_data, cfa_save_stack): New.
345 (cfi_add_CFA_offset): Detect invalid offsets.
346 (cfi_add_CFA_remember_state): Save cur_cfa_offset.
347 (cfi_add_CFA_restore_state): Restore it.
348 (CFI_rel_offset): New.
349 (cfi_pseudo_table): Add it.
350 (dot_cfi): Handle it.
351
352 2003-06-07 H.J. Lu <hongjiu.lu@intel.com>
353
354 * app.c (do_scrub_chars): Add states 14 and 15 to handle
355 predicate for ia64.
356
357 2003-06-05 Michael Snyder <msnyder@redhat.com>
358
359 * config/tc-h8sx.c (get_specific): Distinguish h8h from h8s ops.
360 (build_bytes): Ditto.
361
362 2003-06-05 Richard Sandiford <rsandifo@redhat.com>
363
364 * config/tc-h8sx.c (DMODE): Remove.
365 (colonmod24): Don't choose a default if the operand is a 16-bit
366 constant integer.
367 (fix_operand_size): New function.
368 (md_assemble): Use it to choose between @(d:2, ERn) and @(d:16,ERn).
369 Adjust @(d:2,ERn) operands before choosing the specific opcodes.
370
371 2003-06-05 Michal Ludvig <mludvig@suse.cz>
372
373 * dw2gencfi.c (cfi_add_CFA_insn, cfi_add_CFA_insn_reg)
374 (cfi_add_CFA_insn_reg_reg, cfi_add_CFA_insn_reg_offset): New.
375 (cfi_add_CFA_offset, cfi_add_CFA_def_cfa)
376 (cfi_add_CFA_register, cfi_add_CFA_def_cfa_register)
377 (cfi_add_CFA_def_cfa_offset): Use cfi_add_CFA_insn_*().
378 (cfi_add_CFA_restore, cfi_add_CFA_undefined)
379 (cfi_add_CFA_same_value, cfi_add_CFA_remember_state)
380 (cfi_add_CFA_restore_state, cfi_add_CFA_nop): New.
381 (cfi_pseudo_table): New directives .cfi_return_column,
382 .cfi_restore, .cfi_undefined, .cfi_same_value,
383 .cfi_remember_state, .cfi_restore_state, .cfi_nop.
384 (dot_cfi, output_cfi_insn): Handle new directives.
385 * dw2gencfi.h (cfi_add_CFA_restore, cfi_add_CFA_undefined)
386 (cfi_add_CFA_same_value, cfi_add_CFA_remember_state)
387 (cfi_add_CFA_restore_state, cfi_add_CFA_nop): New prototypes.
388
389 2003-06-04 Richard Henderson <rth@redhat.com>
390
391 * dw2gencfi.c (output_cfi_insn): Fix typo for negative offsets.
392
393 * dw2gencfi.c (cfi_finish): Set .eh_frame read-only.
394
395 2003-06-04 Richard Henderson <rth@redhat.com>
396
397 * config/tc-alpha.c (s_alpha_usepv): New.
398 (md_pseudo_table): Add it.
399 (alpha_cfi_frame_initial_instructions): New.
400 * config/tc-alpha.h (TARGET_USE_CFIPOP): New.
401 (tc_cfi_frame_initial_instructions): New.
402 * doc/c-alpha.texi: Document .usepv.
403
404 2003-06-04 Jakub Jelinek <jakub@redhat.com>
405
406 * as.c (show_usage): Document --execstack and --noexecstack.
407 (parse_args): Add --execstack and --noexecstack.
408 (main): Create .note.GNU-stack section if --execstack or
409 --noexecstack was given on comand line, set its SHF_EXECINSTR bit.
410 * as.h (flag_execstack, flag_noexecstack): New.
411
412 2003-06-03 Chris Demetriou <cgd@broadcom.com>
413
414 * config/tc-mips.c: (OPTION_ARCH_BASE, OPTION_ASE_BASE)
415 (OPTION_COMPAT_ARCH_BASE, OPTION_FIX_BASE)
416 (OPTION_MISC_BASE): New defines.
417 (OPTION_BREAK, OPTION_CONSTRUCT_FLOATS, OPTION_EB, OPTION_EL)
418 (OPTION_ELF_BASE, OPTION_FIX_VR4122, OPTION_FP32, OPTION_FP64)
419 (OPTION_GP32, OPTION_GP64, OPTION_M3900, OPTION_M4010, OPTION_M4100)
420 (OPTION_M4650, OPTION_M7000_HILO_FIX, OPTION_MARCH, OPTION_MDMX)
421 (OPTION_MEMBEDDED_PIC, OPTION_MIPS1, OPTION_MIPS16, OPTION_MIPS2)
422 (OPTION_MIPS3, OPTION_MIPS32, OPTION_MIPS32R2, OPTION_MIPS3D)
423 (OPTION_MIPS4, OPTION_MIPS5, OPTION_MIPS64)
424 (OPTION_MNO_7000_HILO_FIX, OPTION_MTUNE, OPTION_NO_CONSTRUCT_FLOATS)
425 (OPTION_NO_FIX_VR4122, OPTION_NO_M3900, OPTION_NO_M4010)
426 (OPTION_NO_M4100, OPTION_NO_M4650, OPTION_NO_MDMX, OPTION_NO_MIPS16)
427 (OPTION_NO_MIPS3D, OPTION_NO_RELAX_BRANCH, OPTION_RELAX_BRANCH)
428 (OPTION_TRAP): Redefine in terms of new defines.
429 (md_longopts): Reorder entries.
430
431 2003-05-14 Michael Snyder <msnyder@redhat.com>
432 From Bernd Schmidt <bernds@redhat.com>
433 and Michael Snyder <msnyder@redhat.com>
434 and Alexandre Oliva <aoliva@redhat.com>
435 * config/tc-h8300.c: Add insns and addressing modes for h8300sx.
436 * config/tc-h8300.h: Ditto.
437
438 2003-06-03 Nick Clifton <nickc@redhat.com>
439
440 * tc-v850.c (tc-gen_reloc): Translate BFD_RELOC_32 into
441 BFD_RELOC_32_PCREL if the reloc is pc-relative. Do this
442 before calling bfd_reloc_type_lookup.
443
444 2003-06-02 Alan Modra <amodra@bigpond.net.au>
445
446 * read.c (emit_expr): Set dot_value.
447 * dw2gencfi.c (output_fde): Remove pcrel reloc hack.
448
449 2003-06-02 Alan Modra <amodra@bigpond.net.au>
450
451 * macro.c (sub_actual): Don't lose string if it turns out that
452 &string wasn't an arg.
453
454 2003-05-31 Richard Henderson <rth@redhat.com>
455
456 * dw2gencfi.c (output_fde): Use fix_new to emit pc-relative reloc.
457 (cfi_finish): Set flag_traditional_format around .eh_frame data.
458
459 2003-05-29 Richard Henderson <rth@redhat.com>
460
461 * config/tc-alpha.c (alpha_cur_ent_sym): Remove.
462 (all_frame_data, plast_frame_data, cur_frame_data): New.
463 (s_alpha_ent): Record data for dwarf2 cfi.
464 (s_alpha_end, s_alpha_mask, s_alpha_frame, s_alpha_prologue): Likewise.
465 (alpha_elf_md_end): Emit dwarf2 cfi for ecoff unwind directives.
466 * config/tc-alpha.h (md_end): New.
467 (DWARF2_DEFAULT_RETURN_COLUMN): New.
468 (DWARF2_CIE_DATA_ALIGNMENT): New.
469
470 2003-05-29 Nick Clifton <nickc@redhat.com>
471
472 * configure.in: Add i386-*-freebsd* entry.
473 * configure: Regenerate.
474
475 2003-05-29 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
476
477 * config/tc-m32r.c: Amend comment to refer to Renesas
478
479 2003-05-27 Richard Henderson <rth@redhat.com>
480
481 * expr.c (make_expr_symbol): Fold FAKE_LABEL_NAME use into the
482 symbol_create call.
483 (current_location): Use symbol_temp_new_now.
484 * stabs.c (s_stab_generic): Use symbol_temp_new.
485 * symbols.c (temp_label_name): Remove.
486 (symbol_temp_new, symbol_temp_make): Use FAKE_LABEL_NAME.
487
488 2003-05-27 Richard Henderson <rth@redhat.com>
489
490 * dw2gencfi.c, dw2gencfi.h: Rewrite from scratch.
491 * as.c (main): Always call cfi_finish.
492 * config/tc-i386.c (x86_dwarf2_return_column): New.
493 (x86_cie_data_alignment): New.
494 (md_begin): Set them.
495 (tc_x86_cfi_init): Remove.
496 (tc_x86_regname_to_dw2regnum): Fix 32-bit register numbers;
497 return int, not unsigned long; don't as_bad here.
498 (tc_x86_frame_initial_instructions): Streamline; use
499 updated api.
500 * config/tc-i386.h (tc_cfi_init): Remove.
501 (DWARF2_DEFAULT_RETURN_COLUMN): New.
502 (DWARF2_CIE_DATA_ALIGNMENT): New.
503
504 2003-05-27 Richard Henderson <rth@redhat.com>
505
506 * symbols.c (temp_label_name): New.
507 (symbol_temp_new, symbol_temp_new_now, symbol_temp_make): New.
508 (symbol_set_value_now): New.
509 * symbols.h: Prototype them.
510 * dwarf2dbg.c: Use them.
511 (fake_label_name, symbol_new_now, set_symbol_value_now): Remove.
512
513 2003-05-23 Jason Eckhardt <jle@rice.edu>
514
515 * config/tc-i860.c (target_xp): Declare variable.
516 (OPTION_XP): Declare macro.
517 (md_longopts): Add option -mxp.
518 (md_parse_option): Set target_xp.
519 (md_show_usage): Add -mxp usage.
520 (i860_process_insn): Recognize XP registers bear, ccr, p0-p3.
521 (md_assemble): Don't try expansions if XP_ONLY is set.
522 * doc/c-i860.texi: Document -mxp option and i860XP support.
523
524 2003-05-23 Eric Christopher <echristo@redhat.com>
525
526 * config/tc-mips.c (macro_build_jalr): Warning patrol.
527
528 2003-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
529
530 * config/tc-mips.c (append_insn): Use actual relocation size for new
531 fixp's. Don't relax overflow checking for partial_inplace relocations.
532 Use the actual relocation type in combined relocs, not just the type
533 of the first one.
534 (macro_build_jalr): Use actual relocation size for new fix.
535 (s_cpsetup, s_gpdword): Likewise.
536
537 2003-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
538
539 * config/tc-mips.c (macro): Don't use uninitialized tempreg.
540
541 2003-05-22 Nick Clifton <nickc@redhat.com>
542
543 * config/tc-xstormy16.c (md_pcrel_from_section): Do not produce
544 section relative offsets for relocs that will not be based on the
545 section symbol.
546 (xstormy16_md_apply_fix3): Remove previous patch to this
547 function.
548
549 2003-05-07 Eric Christopher <echristo@redhat.com>
550
551 * config/tc-mips.c (mips_abicalls): New variable.
552 (md_parse_option): Use.
553 (s_option): Ditto.
554 (s_abicalls): Ditto.
555 (mips_elf_final_processing): Set EF_MIPS_PIC and
556 EF_MIPS_CPIC dependent on above.
557
558 2003-05-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
559
560 * tc-hppa.c (hppa_symbol_chars): Remove `,' and `!'.
561
562 2003-05-21 Nick Clifton <nickc@redhat.com>
563
564 * config/obj-elf.c: Include dwarf2dbg.h.
565 (elf_pseudo_tab): Add .file and .loc.
566 * config/tc-arc.c (md_pseudo_table): Remove .file and .loc.
567 * config/tc-arm.c: Likewise.
568 * config/tc-h8300.c: Likewise.
569 * config/tc-hppa.c: Likewise.
570 * config/tc-ia64.c: Likewise.
571 * config/tc-m68hc11.c: Likewise.
572 * config/tc-m68k.c: Likewise.
573 * config/tc-mmix.c: Likewise.
574 * config/tc-mn10300.c: Likewise.
575 * config/tc-ppc.c: Likewise.
576 * config/tc-sh.c: Likewise.
577 * config/tc-sparc.c: Likewise.
578 * config/tc-v850.c: Likewise.
579 * config/tc-frv.c: Likewise, and remove redundant inclusion of
580 dwarf2dbg.h.
581 * config/tc-ip2k.c: Likewise.
582 * config/tc-iq2000.c: Likewise.
583 * config/tc-xstormy16.c: Likewise.
584 * config/tc-xtensa.c: Likewise.
585 * Makefile.am: Regenerate dependencies.
586 * Makefile.in: Regenerate.
587 * aclocal.m4: Regenerate.
588 * config.in: Regenerate.
589 * configure: Regenerate.
590 * po/POTFILES.in: Regenerate.
591 * po/gas.pot: Regenerate.
592
593 2003-05-21 Nick Clifton <nickc@redhat.com>
594
595 * dw2gencfi.c (cfi_get_label): Use symbol_make for non
596 BFD_ASSEMBLER targets.
597 (cfi_startproc): Change type of saved_seg and cfi_seg to segT.
598 (dot_cfi_endproc): Only call bfd_set_section_flags for targets
599 defining BFD_ASSEMBLER.
600
601 2003-05-20 Michal Ludvig <mludvig@suse.cz>
602
603 * as.c (main): Remove tc_cfi_init().
604 * dw2gencfi.c (cfi_parse_arg): Allow regnames beginning
605 with '%'.
606 (cfi_pseudo_table): Add "cfi_register" entry.
607 (cfi_make_insn): Handle CFA_register.
608 (cfi_output_insn): Ditto.
609 (dot_cfi): Ditto.
610 (cfi_get_label): Add 'simple' modifier to .cfi_startproc.
611 (dot_cfi_endproc): Reuse already emitted CIEs.
612 * testsuite/gas/cfi/cfi-i386.d: New pattern.
613 * testsuite/gas/cfi/cfi-x86-64.d: Ditto.
614
615 2003-05-20 Nick Clifton <nickc@redhat.com>
616
617 * config/tc-xstormy16.c: Include dwarf2dbg.h.
618 (md_pseudo_table): Add entries for .loc and .line.
619
620 2003-05-20 Alan Modra <amodra@bigpond.net.au>
621
622 * dw2gencfi.c (cfi_parse_arg): Only use tc_regname_to_dw2regnum if
623 defined.
624 (dot_cfi_endproc): Avoid C99 construct.
625
626 2003-05-20 Michal Ludvig <mludvig@suse.cz>
627
628 * dw2gencfi.c, dw2gencfi.h: New files.
629 * config/tc-i386.c (tc_x86_cfi_init): New function.
630 * config/tc-i386.h (TARGET_USE_CFIPOP, tc_cfi_init): New defines.
631 * as.c (parse_args): Set verbose flag on --verbose.
632 (main): Call tc_cfi_init()/cfi_finish().
633 * as.h (verbose): New external variable.
634 * read.c (pobegin): Insert CFI pops to the list.
635 * symbols.c (local_symbol_make): Make symbol external.
636 * symbols.h (local_symbol_make): New prototype.
637 * Makefile.am: Add dw2gencfi.[ch] files. Run "make dep-am".
638 * Makefile.in: Regenerate.
639 * doc/as.texinfo: Added node "CFI directives" with description of
640 all implemented .cfi_* directives.
641 * doc/Makefile.in: Regenerate.
642 * po/POTFILES.in: Regenerate.
643
644 2003-05-19 Svein E. Seldal <Svein.Seldal@solidas.com>
645
646 * config/tc-tic4x.c (md_assemble): Added support for one-line parallel
647 insns.
648 * config/tc-tic4x.h: Added DOUBLEBAR_PARALLEL definition
649
650 2003-05-18 Jason Eckhardt <jle@rice.edu>
651
652 * config/tc-i860.c (i860_process_insn): Initialize fc after
653 each opcode mismatch.
654
655 2003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
656
657 * configure.in: Accept i[3-7]86 variants.
658 * configure: Regenerate.
659
660 2003-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
661
662 * config/tc-mips.h: Fix comment formatting.
663
664 2003-05-13 Hans-Peter Nilsson <hp@axis.com>
665
666 * read.c (old_buffer, old_input, old_limit): Remove variables.
667 (read_a_source_file): Delete label contin.
668 <handling #APP/#NO_APP>: Use an "sb" to push #APP expansion into
669 input as with macros, instead of in separate old_* variables.
670 Zero-terminate string being scrubbed.
671
672 2003-05-12 Nick Clifton <nickc@redhat.com>
673
674 * config/tc-xstormy16.c (skipping_fptr): New local variable.
675 (md_assemble): Reset skipping_fptr.
676 (md_operand): If @fptr() is followed by a minus sign, set
677 skipping_fptr and ignore the fptr. If skipping_fptr is set and an
678 @fptr is detected, ignore it and reset skipping_fptr.
679
680 2003-05-11 Jason Eckhardt <jle@rice.edu>
681
682 * config/tc-i860.c (MAX_FIXUPS): Define.
683 (struct i860_fi fi[]): New struct.
684 (struct i860_it the_insn): Add above as member and move fields
685 exp, reloc, pcrel and fup into i860_fi.
686 (md_assemble): Replace all instances of exp, reloc, pcrel
687 and fup with fi[].exp, fi[].reloc, fi[].pcrel, fi[].fup.
688 Add a loop to possibly emit multiple fix-ups for each insn.
689 (i860_process_insn): Likewise.
690 (i860_get_expression): Likewise.
691 (md_apply_fix3): Use a bitwise check for OP_IMM_U5, not equality.
692
693 2003-05-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
694
695 * config/tc-s390.c (s390_target_format): Always call init_default_arch.
696
697 2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
698
699 * config/tc-ia64.c (alias_hash): New.
700 (alias_name_hash): New.
701 (secalias_hash): New.
702 (secalias_name_hash): New.
703 (md_pseudo_table): Add "secalias".
704 (md_begin): Initialize alias_hash, alias_name_hash,
705 secalias_hash and secalias_name_hash.
706 (struct alias): New.
707 (dot_alias): Implement .alias and .secalias directives.
708 (do_alias): New.
709 (ia64_adjust_symtab): New.
710 (do_secalias): New.
711 (ia64_frob_file): New.
712
713 * config/tc-ia64.h (ia64_adjust_symtab): New.
714 (tc_adjust_symtab): Defined.
715 (ia64_frob_file): New.
716 (tc_frob_file): Defined.
717
718 2003-05-07 Dmitry Diky <diwil@mail.ru>
719
720 * tc-msp430.c: Add missing lines to known cpus list.
721
722 2003-05-06 Alexandre Oliva <aoliva@redhat.com>
723
724 * configure.in (MIPS_DEFAULT_ABI): AC_DEFINE.
725 * config/tc-mips.c (mips_after_parse_args): Set mips_abi to it.
726 * config.in, configure: Rebuilt.
727
728 2003-05-05 H.J. Lu <hjl@gnu.org>
729
730 * config/tc-mips.c (tc_gen_reloc): Add addend just once if
731 howto->partial_inplace is false.
732
733 2003-05-05 Daniel Jacobowitz <drow@mvista.com>
734
735 * config/tc-mips.c (mips_need_elf_addend_fixup): Remove
736 symbol_used_in_reloc_p check.
737 (md_apply_fix3): Remove check for howto->pcrel_offset.
738
739 2003-05-03 H.J. Lu <hjl@gnu.org>
740
741 * config/obj-elf.c (obj_elf_parse_section_letters): Make it a
742 fatal error for unknown section attribute.
743
744 * config/tc-alpha.c (alpha_elf_section_letter): Return -1 for
745 unknown section attribute.
746 * config/tc-ia64.c (ia64_elf_section_letter): Likewise.
747 * config/tc-ppc.c (ppc_section_letter): Likewise.
748
749 * config/tc-ia64.c (ia64_elf_section_letter): Handle 'o'.
750 (ia64_elf_section_type): Accept "unwind".
751
752 2003-05-02 H.J. Lu <hjl@gnu.org>
753
754 * read.h (demand_copy_string): New.
755
756 * config/tc-alpha.c (demand_copy_string): Removed.
757
758 2003-05-02 Michael Snyder <msnyder@redhat.com>
759
760 * write.h (FAKE_LABEL_NAME): Allow override
761 (for targets that like eg. a leading dot in a local label).
762
763 2003-05-02 Nick Clifton <nickc@redhat.com>
764
765 * config/tc-xstormy16.c (xstormy16_md_apply_fix3): Do not bias the
766 addend with the symbol's value for pc-relative relocations against
767 a defined symbol - this will be done automatically.
768
769 2003-05-01 H.J. Lu <hjl@gnu.org>
770
771 * config/obj-elf.c (obj_elf_type): Accept "notype" and
772 "STT_NOTYPE".
773
774 2003-05-01 H.J. Lu <hjl@gnu.org>
775
776 * config/tc-ia64.h (tc_canonicalize_section_name): New.
777
778 * config/obj-elf.c (obj_elf_section_name): Call
779 tc_canonicalize_section_name if it is defined.
780
781 2003-05-01 H.J. Lu <hjl@gnu.org>
782
783 * config/tc-ia64.c (ia64_check_label): New.
784 * config/tc-ia64.h (tc_check_label): New.
785
786 * read.c (read_a_source_file): Call tc_check_label after
787 creating a user-defined label if defined.
788
789 2003-05-02 Alan Modra <amodra@bigpond.net.au>
790
791 * config/tc-ppc.c (md_show_usage): Mention -a32, -a64, -l, -le, -b,
792 -be and split strings to below 509 bytes in length.
793
794 2003-05-01 Christian Groessler <chris@groessler.org>
795
796 * expr.h: Fix comments in operatorT typedef.
797 * config/tc-z8k.c: Add 2003 to copyright message.
798 Fold s_segm() and s_unseg() into one function s_segm(parm) which
799 decides by the parameter.
800 (md_begin): Don't set linkrelax. Only set Z8002 default if no
801 command line argument was given to select the intended
802 architecure.
803 (get_interrupt_operand): Warn if NOP type code is emitted.
804 (newfix): New parameter 'size', forward it to 'fix_new_exp'.
805 (apply_fix): Call newfix with additional 'size' parameter.
806 (build_bytes): Remove unused variable 'nib'. Detect overflow in
807 4 bit immediate arguments.
808 (md_longopts): Add 'linkrelax' option.
809 (md_parse_option): Adapt to new s_segm function. Set 'linkrelax'
810 variable when 'linkrelax' command line option is specified.
811 (md_show_usage): Display 'linkrelax' option.
812 (md_apply_fix3): Fix cases R_IMM4L, R_JR, and R_IMM8. Add cases
813 R_CALLR and R_REL16.
814 * config/tc-z8k.h: Undef WARN_SIGNED_OVERFLOW_WORD.
815
816 2003-04-30 H.J. Lu <hjl@gnu.org>
817
818 * config/tc-ia64.c (ia64_number_to_chars): New function pointer.
819 (ia64_float_to_chars): Likewise.
820 (dot_byteorder): Set target_big_endian, ia64_number_to_chars
821 and ia64_float_to_chars by tc_segment_info_data.endian from
822 the current segment if byteorder == -1.
823 (md_begin): Call dot_byteorder to set target_big_endian.
824 (md_atof): Call ia64_float_to_chars to convert floating point.
825 (ia64_float_to_chars_bigendian): New function.
826 (ia64_float_to_chars_littleendian): Likewise.
827 (ia64_elf_section_change_hook): Likewise.
828
829 * config/tc-ia64.h (ia64_number_to_chars): New.
830 (md_number_to_chars): Changed to (*ia64_number_to_chars)
831 (ia64_elf_section_change_hook): New.
832 (md_elf_section_change_hook): Defined.
833 (ia64_segment_info_type): New struct.
834 (TC_SEGMENT_INFO_TYPE): Defined.
835
836 2003-04-30 H.J. Lu <hjl@gnu.org>
837
838 * config/tc-ia64.c (md_section_align): Deleted.
839
840 * config/tc-ia64.h (SUB_SEGMENT_ALIGN): New.
841 (md_section_align): New.
842
843 2003-04-30 H.J. Lu <hjl@gnu.org>
844
845 * config/tc-ia64.c (stmt_float_cons): Fix alignment for real10
846 and add real16.
847 (md_pseudo_table): Add "xreal16", "xreal16.ua", "real16" and
848 "real16.ua".
849 (md_atof): Add 6 byte padding of zero for real16.
850
851 2003-04-29 Nick Clifton <nickc@redhat.com>
852
853 * config/obj-elf.c (obj_elf_symver): Skip whitespace before the
854 start of a version name.
855
856 2003-04-28 Chris Demetriou <cgd@broadcom.com>
857
858 * configure.in (mips-*-*n*bsd*): Replace with...
859 (mips-*-netbsd*, mips-*-openbsd*): These.
860 * configure: Regenerate.
861
862 2003-04-28 H.J. Lu <hjl@gnu.org>
863
864 * config/tc-hppa.c (hppa_symbol_chars): New.
865 * config/tc-hppa.h (tc_symbol_chars): Likewise.
866
867 2003-04-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
868
869 * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define again.
870
871 2003-04-25 Chris Demetriou <cgd@broadcom.com>
872
873 * NEWS: Belatedly mention support for MIPS32 Release 2.
874
875 2003-04-24 Eric Christopher <echristo@redhat.com>
876
877 * config/tc-mips.c (nopic_need_relax): Revert previous
878 change.
879
880 2003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
881
882 * config/tc-h8300.h (DWARF2_LINE_MIN_INSN_LENGTH): New
883 * config/tc-h8300.c (dwarf2dbg.h): Include
884 (md_pseudo_table): Handle .loc and .file
885 (md_assemble): Call dwarf2_emit_insn if BFD_ASSEMBLER.
886 * Makefile.am: Add dependency on dwarf2dbg.h for h8300 targets.
887 * Makefile.in: Regenerate.
888
889 2003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
890
891 * config/tc-h8300.c (Nmode, h8300hnmode, h8300snmode): New.
892 (md_pseudo_table): Add h8300hn, h8300sn.
893 * config/tc-h8300.h (COFF_MAGIC): Handle h8300hn, h8300sn.
894 * doc/c-h8300.texi : Add documentation for new machine directives.
895
896 2003-04-24 Nick Clifton <nickc@redhat.com>
897
898 * config/tc-ppc.c (ppc_symbol_chars): Define.
899 * config/tc-ppc.h (tc_symbol_chars): Define.
900
901 2003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
902
903 * config/tc-sh.c: Amend comment to refer to SuperH.
904 * config/tc-sh.h: Likewise.
905 (LISTING_HEADER): Amend to refer to SuperH.
906 * config/tc-sh64.c: Change comment to refer to SuperH.
907 * config/tc-sh64.h (LISTING_HEADER): Change to refer to SuperH.
908 * doc/as.texinfo [SH, GENERIC]: Amend / Change to refer to SuperH.
909 * doc/c-sh.texi: Amend to refer to SuperH.
910 Add SuperH architecture documentation references.
911 * doc/c-sh64.texi: Change to refer to SuperH.
912
913 2003-04-23 H.J. Lu <hjl@gnu.org>
914
915 * app.c (do_scrub_chars): More checks for valid labels.
916
917 2003-04-22 H.J. Lu <hjl@gnu.org>
918
919 * app.c (do_scrub_chars): Check for valid label.
920
921 2003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
922
923 * doc/as.texinfo: Replace references to Mitsubishi M32R with
924 references to Renesas M32R.
925 * doc/c-m32r.texi: Likewise.
926
927 2003-04-21 Richard Henderson <rth@redhat.com>
928
929 * dwarf2dbg.c (get_filenum): Skip as-yet unassigned file numbers.
930 (out_file_list): Assign non-null filename after generating error.
931
932 2003-04-18 Jakub Jelinek <jakub@redhat.com>
933
934 * ehopt.c (check_eh_frame): For aug_size == 0
935 in state_seeing_aug_size state skip the state_skipping_aug
936 state.
937
938 2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
939
940 * doc/c-h8300.texi: Replace occurrances of 'Hitachi' with
941 'Renesas'.
942 * doc/c-h8500.texi: Likewise.
943 * doc/c-sh.texi: Likewise.
944 * doc/c-sh64.texi: Likewise.
945 * doc/h8.texi: Likewise.
946 * config/tc-h8300.c: Likewise.
947 * config/tc-h8300.h: Likewise.
948 * config/tc-h8500.c: Likewise.
949 * config/tc-h8500.h: Likewise.
950 * config/tc-sh.c: Likewise.
951 * config/tc-sh.h: Likewise.
952 * config/tc-sh64.c: Likewise.
953 * config/tc-sh64.h: Likewise.
954
955 2003-04-10 Alexandre Oliva <aoliva@redhat.com>
956
957 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): New.
958 * config/tc-mips.c: Use signed add for n32 address arithmetic.
959 (append_insn): When filling delay slots with instructions
960 that have fixups that tc_gen_reloc might consider modifyable
961 in variant frags, start a new frag.
962 (load_address): Generate GOT_DISP with of without offset
963 depending on whether symbol is local. For -xgot, use
964 GOT_PAGE/GOT_OFST or GOT_HI16/GOT_LO16.
965 (macro) <M_DLA_AB, M_LA_AB>: Likewise.
966 <M_JAL_A>: In NewABI, use CALL16 or GOT_DISP for small got,
967 CALL_HI16/CALL_LO16 or GOT_PAGE/GOT_OFST for big got.
968 <ld_st>: In NewABI with small got, always use
969 GOT_PAGE/GOT_OFST, with the latter in the load/store
970 instruction. With big got, use GOT_HI16/GOT_LO16 or
971 GOT_PAGE/GOT_OFST.
972 (tc_gen_reloc): Adjust variant frags with GOT_DISP in NewABI.
973 Add tc_frag_data.tc_fr_offset to addends. Decay CALL16,
974 GOT_OFST and GOT_DISP to GOT_DISP in NewABI.
975 (md_convert_frag): Use memmove for safe copying of overlapping
976 regions.
977
978 2003-04-09 Stephane Carrez <stcarrez@nerim.fr>
979
980 * doc/c-m68hc11.texi (M68HC11-Opts): Document -m68hcs12, -mshort,
981 -mlong, -mshort-double and -mlong-double options; use table @code.
982 (M68HC11-Syntax): Update to document 68HC12 operands.
983 (M68HC11-Modifiers): New section for operand modifiers.
984 (M68HC11-Directives): New section for specific assembler directives.
985 (M68HC11-Branch): Fix Overfull hbox error.
986
987 2003-04-09 Alexandre Oliva <aoliva@redhat.com>
988
989 * config/tc-mips.c (macro): Add comments explaining the rationale
990 for Chris' change.
991
992 2003-04-09 Chris Demetriou <cgd@broadcom.com>
993
994 * config/tc-mips.c (macro): Put back `+ 0x8000' in test for 64-bit
995 constant address that Alexandre took out by accident. Reject
996 64-bit addresses that are not sign extensions of 32 bits only if
997 we don't support 64-bit address constants.
998
999 2003-04-09 Alan Modra <amodra@bigpond.net.au>
1000
1001 * config/tc-ppc.c (md_apply_fix3): Generate ADDR16 relocs.
1002
1003 2003-04-08 Nick Clifton <nickc@redhat.com>
1004
1005 * as.c (perform_an_assembly_pass): If using cgen, call
1006 gas_cgen_begin.
1007 * cgen.c (gas_cgen_begin): New function. If
1008 flag_signed_overflow_ok is set call cgen_set_signed_overflow_ok
1009 otherwise call cgen_clear_signed_overflow_ok.
1010 * cgen.h: Prototype gas_cgen_begin.
1011
1012 2003-04-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1013
1014 * write.c (write_relocs): Remove unused variable.
1015
1016 2003-04-06 Chris Demetriou <cgd@broadcom.com>
1017
1018 * config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): New.
1019 (macro): Use new macro to decide whether to emit constant address
1020 as 32 or 64 bits if addresses are 32-bit wide but registers are
1021 64-bit wide.
1022
1023 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1024
1025 * config/tc-m68hc11.c (M6811_OP_CALL_ADDR): New internal define.
1026 (M6811_OP_PAGE_ADDR): New internal define.
1027 (get_operand): New modifier %page and %addr to obtain page and
1028 address part of a far-function.
1029 (fixup8): Use BFD_RELOC_M68HC11_PAGE for a %page modifier; don't
1030 complain on overflow for the BFD_RELOC_M68HC11_PAGE and truncation
1031 relocs.
1032 (fixup16): Use BFD_RELOC_M68HC11_LO16 for a %addr modifier.
1033 (find_opcode): Add comment.
1034 (md_estimate_size_before_relax): Force relocation of
1035 STATE_UNDEXED_OFFSET types when the symbol is not absolute.
1036 (tc_m68hc11_fix_adjustable): Check for BFD_RELOC_M68HC11_LO16
1037 instead of BFD_RELOC_LO16; temporarily make the BFD_RELOC_32
1038 on the symbol itself so that DWARF2 strings are merged correctly.
1039
1040 2003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
1041
1042 * config/obj-coff.h (TARGET_FORMAT): Namespace cleanup, changed
1043 default tic4x target format to 'coff2-tic4x'.
1044 * config/tc-tic4x.c: Namespace cleanup. Replace s/c4x/tic4x/ and
1045 s/c3x/tic3x/
1046 * config/tc-tic4x.h: Ditto
1047
1048 2003-04-03 Nick Clifton <nickc@redhat.com>
1049
1050 * NEWS: Mention support for Xtensa architecture.
1051
1052 2003-04-02 Philip Blundell <philb@gnu.org>
1053
1054 * config/tc-arm.c (arm_force_relocation): Return 0 for OFFSET_IMM.
1055
1056 2003-04-02 Chris Demetriou <cgd@broadcom.com>
1057
1058 * config/tc-mips.c (macro2): Adjust implementation of
1059 M_ULH, M_ULHU, M_ULW, and M_ULD so that they work properly
1060 in the case where the source and destination registers
1061 are the same.
1062
1063 2003-04-01 Bob Wilson <bob.wilson@acm.org>
1064
1065 * Makefile.am (CPU_TYPES): Add xtensa.
1066 (TARGET_CPU_CFILES): Add config/tc-xtensa.c.
1067 (TARGET_CPU_HFILES): Add config/tc-xtensa.h.
1068 (xtensa-relax.o): New target.
1069 Run "make dep-am".
1070 * Makefile.in: Regenerate.
1071 * configure.in: Handle xtensa-*-*. Add xtensa-relax.o to
1072 extra_objects for xtensa targets.
1073 * configure: Regenerate.
1074 * write.c (write_object_file): Add new md_post_relax_hook.
1075 * config/tc-xtensa.c: New file.
1076 * config/tc-xtensa.h: Likewise.
1077 * config/xtensa-istack.h: Likewise.
1078 * config/xtensa-relax.c: Likewise.
1079 * config/xtensa-relax.h: Likewise.
1080 * doc/Makefile.am (CPU_DOCS): Add c-xtensa.texi.
1081 * doc/Makefile.in: Regenerate.
1082 * doc/all.texi: Set new XTENSA variable.
1083 * doc/as.texinfo: Set new Xtensa variable. Describe
1084 Xtensa-specific options. Define line comment character for
1085 Xtensa. Add Xtensa processors to list of ELF targets where
1086 alignment is specified in bytes. Add new Xtensa-Dependent node.
1087 Add acknowledgements for those contributing to the Xtensa port.
1088 * doc/internals.texi: Describe new md_post_relax_hook.
1089 * doc/c-xtensa.texi: New file.
1090
1091 2003-04-01 Nick Clifton <nickc@redhat.com>
1092 Richard Earnshaw <rearnsha@arm.com>
1093
1094 * config/tc-arm.c: Remove presence of (r) and (tm) symbols.
1095 (ARM_ARCH_IWMMXT): Simplify.
1096 (insns): Place iwmmx instructions in correct place in table.
1097 (arm_add_note): New function: Add a note entry to a .note section.
1098 (md_begin): Make the default architecture be unknown.
1099 Suppress the creation of an arm note section.
1100
1101 2003-03-26 Eric Christopher <echristo@redhat.com>
1102
1103 * config/tc-mips.c (nopic_need_relax): Check for S_IS_EXTERN.
1104
1105 2003-03-25 Stan Cox <scox@redhat.com>
1106 Nick Clifton <nickc@redhat.com>
1107
1108 Contribute support for Intel's iWMMXt chip - an ARM variant:
1109
1110 * config/tc-arm.c: (ARM_CEXT_IWMMXT, ARM_ARCH_IWMMXT, WR_PREFIX,
1111 WC_PREFIX, REG_TYPE_IWMMXT): New constants.
1112 (enum wreg_type, enum iwmmxt_insn_type): New types.
1113 (wr_register, wc_register, wcg_register): New macros.
1114 (iwmmxt_table): New variable.
1115 (wreg_required_here, do_iwmmxt_byte_addr, do_iwmmxt_tandc,
1116 do_iwmmxt_tbcst, do_iwmmxt_textrc, do_iwmmxt_textrm,
1117 do_iwmmxt_tinsr, do_iwmmxt_tmcr, do_iwmmxt_tmcrr, do_iwmmxt_tmia,
1118 do_iwmmxt_tmovmsk, do_iwmmxt_tmrc, do_iwmmxt_tmrrc,
1119 do_iwmmxt_torc, do_iwmmxt_waligni, do_iwmmxt_wmov,
1120 do_iwmmxt_word_addr, do_iwmmxt_wrwr, do_iwmmxt_wrwrwcg,
1121 do_iwmmxt_wrwrwr, do_iwmmxt_wshufh, do_iwmmxt_wzero,
1122 cp_byte_address_offset, cp_byte_address_required_here,
1123 check_iwmmxt_insn): New functions.
1124 (asm_opcode_insns): Add iWMMXt instructions.
1125 (md_begin): Set the mach value for iWMMXt targets. Create a note
1126 section to identify iwmmxt binaries.
1127 (md_apply_fix3): Handle BFD_RELOC_ARM_CP_OFF_IMM_S2.
1128 * doc/c-arm.texi: Document the support for the iWMMXt.
1129 * NEWS: Mention new support.
1130
1131 2003-03-24 Daniel Néri <dne@mayonnaise.net>
1132
1133 * doc/as.texinfo: Rename the all occurances of C54X to TIC54X.
1134 * doc/all.texi: Likewise.
1135 * doc/c-tic54x.texi: Likewise.
1136
1137 2003-03-21 Andreas Schwab <schwab@suse.de>
1138
1139 * config/tc-ia64.c (generate_unwind_image): Fix type of unw_rec to
1140 avoid aliasing issue.
1141
1142 2003-03-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
1143
1144 * config/tc-s390.c (s390_arch_size): Initialize to zero.
1145 (current_arch_mask): Rename to current_mode_mask.
1146 (current_arch_requested): Remove variable.
1147 (current_cpu): New variable.
1148 (init_default_arch): Set defaults values for s390_arch_size,
1149 current_mode_mask and current_cpu.
1150 (md_parse_option): New options -mesa, -mzarch and -march={g5,g6,z900}.
1151 (md_begin): Replace current_arch_mask by current_cpu.
1152 (md_assemble): Adapt check and error message to current_mode_mask and
1153 current_cpu.
1154
1155 2003-03-09 James E Wilson <wilson@tuliptree.org>
1156
1157 * macro.c (buffer_and_nest): Store more to sb instead of '\n'.
1158 * read.c (get_line_sb): Return end of line character or '\n' if
1159 it is zero or non-existent.
1160
1161 2003-03-12 Alexandre Oliva <aoliva@redhat.com>
1162
1163 * config/tc-mips.c (mips_validate_fix): New function.
1164 * config/tc-mips.h (TC_VALIDATE_FIX): Define.
1165 (mips_validate_fix): Declare.
1166
1167 2003-03-12 Alexandre Oliva <aoliva@redhat.com>
1168
1169 * Reverted 2003-03-02's patch.
1170
1171 2003-03-11 Steve Ellcey <sje@cup.hp.com>
1172
1173 * dwarf2dbg.c (generic_dwarf2_emit_offset): New.
1174 (TC_DWARF2_EMIT_OFFSET): Provide default.
1175 (out_debug_aranges, out_debug_info): Use it.
1176 * config/tc-ia64.c (ia64_dwarf2_emit_offset): New.
1177 (ia64_cons_fix_new): Move FUNC_DTP_RELATIVE handling ...
1178 (ia64_gen_real_reloc_type): ... here.
1179 * config/tc-ia64.h (TC_DWARF2_EMIT_OFFSET): New.
1180
1181 2003-03-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1182
1183 * config/tc-mips.c (s_mips_end): Remove !BFD_ASSEMBLER case.
1184 (s_mips_ent): Likewise.
1185
1186 2003-03-04 Dmitry Diky <diwil@mail.ru>
1187
1188 * config/tc-msp430.c (mcu_types): Add recently announced x1122
1189 and x1123 devices, add missed x437.
1190 (md_show_usage): Sort device list.
1191
1192 2003-03-03 J"orn Rennecke <joern.rennecke@superh.com>
1193
1194 * config/tc-sh.c (sh_dsp): Replace with preset_target_arch.
1195 (md_begin): Use preset_target_arch.
1196 (md_longopts): Make isa option unconditional.
1197 (md_parse_option): Make OPTION_DSP and OPTION_ISA sh4 / any
1198 set preset_target_arch.
1199 (md_apply_fix3): If BFD_ASSEMBLER, adjust SWITCH_TABLE fixups
1200 by -S_GET_VALUE (fixP->fx_subsy).
1201 (tc_gen_reloc): For SWITCH_TABLE fixups, the symbol is fixp->fx_subsy,
1202 and the addend is 0.
1203 Adjust addend of R_SH_IND12W relocations by fixp->fx_offset - 4.
1204 * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
1205
1206 2003-03-02 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1207
1208 * config/tc-mips.c (append_insn): Add handling of
1209 BFD_RELOC_MIPSEMB_16_PCREL_S2. Avoid emitting unneeded
1210 BFD_RELOC_16_PCREL_S2 relocs and add earlier warnings about
1211 misaligned address and reange overflow.
1212 (macro_build): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. Add
1213 earlier warnings about misaligned address and reange overflow.
1214 (mips_ip): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2.
1215 (md_apply_fix): Likewise. Fix warning output.
1216 (tc_gen_reloc): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2.
1217 Allow BFD_RELOC_16_PCREL_S2 for all ABIs.
1218 (md_convert_frag): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2.
1219
1220 2003-02-21 Nick Clifton <nickc@redhat.com>
1221
1222 * NEWS: Mention availability of test generator program.
1223
1224 2003-02-21 Miles Bader <miles@gnu.org>
1225
1226 * config/tc-v850.c (system_registers): Add v850e debug registers.
1227 (system_register_name): Accept up to 27 (the last v850e sys register).
1228
1229 2003-02-21 Bob Wilson <bob.wilson@acm.org>
1230
1231 * doc/as.texinfo: Define new COFF-ELF variable to conditionalize text
1232 relevant to both COFF and ELF. Fix obvious typos and texinfo bugs.
1233 Capitalize section headings consistently. Format index entries more
1234 consistently. Unconditionalize text about whether text and data
1235 sections are alterable. Use @ifnottex for alternatives to @tex output
1236 so that HTML works. Clean up COFF vs. ELF descriptions of .section,
1237 .size and .type directives. Be more polite about bad bug reports.
1238 Move FDL into a separate file.
1239 * doc/fdl.texi: New file.
1240
1241 2003-02-21 Richard Sandiford <rsandifo@redhat.com>
1242
1243 * config/tc-mips.c (prev_reloc_op_frag): New variable.
1244 (macro): Check it to decide whether a new frag is needed.
1245 (my_getSmallExpression): Set it.
1246
1247 2003-02-20 jmc <jmc@prioris.mini.pw.edu.pl>
1248
1249 * cgen.c: Fix typo: intial -> initial.
1250
1251 2003-02-19 Jie Zhang <zhangjie@magima.com.cn>
1252
1253 * app.c (do_scrub_chars): Handle '||' in two states.
1254
1255 2003-02-13 Alan Modra <amodra@bigpond.net.au>
1256
1257 * write.c (TC_FORCE_RELOCATION_SUB_SAME): Revert last change.
1258 * config/tc-s390.h (TC_FORCE_RELOCATION_SUB_SAME): Define.
1259
1260 2003-02-11 Uwe Stieber <uwe@wwws.de>
1261
1262 * configure.in: Add support for kaOS as cross build target system.
1263 * configure: Regenerated.
1264
1265 2003-02-10 Nick Clifton <nickc@redhat.com>
1266
1267 * config/tc-arm.c (md_begin): If the Maverick co-processor is
1268 selected, set the EF_ARM_MAVERICK_FLOAT flag and
1269 bfd_mach_arm_ep9312 machine number.
1270
1271 2003-02-08 Richard Sandiford <rsandifo@redhat.com>
1272
1273 * config/tc-mips.c (reloc_needs_lo_p): New function.
1274 (fixup_has_matching_lo_p): New function.
1275 (append_insn): Use reloc_needs_lo_p to check whether a relocation
1276 might need a matching %lo(). Reuse the head of mips_hi_fixup_list
1277 if that fixup already has a matching %lo(). Don't call frag_wane here.
1278 (macro): Call frag_wane here if the last unmatched hi was in the
1279 current frag.
1280 (pic_need_relax): New function, split out from...
1281 (md_estimate_size_before_relax): ...here.
1282 (mips_frob_file): Use reloc_needs_lo_p. Use pic_need_relax to test
1283 whether BFD_RELOC_MIPS_GOT16 fixups refer to global symbols.
1284
1285 2003-02-07 Richard Sandiford <rsandifo@redhat.com>
1286
1287 * config/tc-mips.c (my_getSmallExpression): Rework bracket handling.
1288
1289 2003-02-06 Alan Modra <amodra@bigpond.net.au>
1290
1291 * config/tc-ppc.c (ppc_elf_suffix): Undo part of last change so that
1292 x@toc+off works.
1293
1294 2003-02-05 Alan Modra <amodra@bigpond.net.au>
1295
1296 * config/tc-ppc.c (mapping): Handle new TLS reloc specs.
1297 (ppc_elf_suffix): Don't warn for x+off@got when ppc64 and don't
1298 accept x@got+off etc.
1299 (md_assemble): Handle TLS relocs.
1300 (ppc_force_relocation): Force for all TLS relocs.
1301 (ppc_fix_adjustable): Likewise.
1302 (md_apply_fix3): Handle TLS relocs.
1303
1304 2003-02-04 Alan Modra <amodra@bigpond.net.au>
1305
1306 * config/obj-elf.c (obj_elf_change_section): Set SEC_LINK_ONCE and
1307 SEC_LINK_DUPLICATES_DISCARD directly rather than using elf_linkonce_p.
1308
1309 2003-02-02 Richard Sandiford <rsandifo@redhat.com>
1310
1311 * config/tc-mips.c (enum small_ex_type): Remove.
1312 (imm_unmatched_hi): Remove.
1313 (md_assemble): Remove use of imm_unmatched_hi. Remove the last
1314 argument from calls to append_insn.
1315 (append_insn): Remove unmatched_hi parameter; check reloc_type[0]
1316 instead.
1317 (macro_build): Update append_insn calls.
1318 (mips16_macro_build, macro_build_lui): Likewise.
1319 (mips_ip): Rework handling of small expressions. Move explicit
1320 relocation handling into my_getSmallExpression. Assume that the
1321 value of 'o' operands is zero if there is only one bracketed
1322 expression left.
1323 (percent_op): Make constant. Record the BFD relocation code
1324 associated with each operator.
1325 (my_getSmallParser, my_getPercentOp): Remove.
1326 (parse_relocation): New function.
1327 (my_getSamllExpression): Rework. Fill in relocations here
1328 rather than in mips_ip.
1329
1330 2003-01-29 Nick Clifton <nickc@redhat.com>
1331
1332 * config/tc-i386.c (line_comment_chars): Add '#'. This makes the
1333 assembler's handling of # <linenum> "<filename>" directives work.
1334
1335 2003-01-28 Jakub Jelinek <jakub@redhat.com>
1336
1337 * dwarf2dbg.c: Include filenames.h.
1338 (struct file_entry): Make filename const char *.
1339 (dirs, dirs_in_use, dirs_allocated): New variables.
1340 (get_filenum): Add NUM argument. Build directory table.
1341 (dwarf2_where): Adjust caller.
1342 (dwarf2_directive_file): Use get_filenum to allocate
1343 slot in file and directory tables.
1344 (dwarf2_directive_loc): Recreate full filename from
1345 directory and filename part if needed for listing.
1346 (out_file_list): Output directory table.
1347 Output main source file dirname before its filename.
1348
1349 2003-01-28 Dmitry Diky <diwil@mail.ru>
1350
1351 * config/tc-msp430.c: Replace occurences of 'tolower' with
1352 'TOLOWER'.
1353
1354 2003-01-27 David Mosberger <davidm@hpl.hp.com>
1355
1356 * config/tc-ia64.c (dot_vframesp): Correct error message.
1357 (dot_vframepsp): Ditto.
1358
1359 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
1360
1361 * configure.in (em): Set to irix on all Irix systems.
1362 * configure: Rebuilt.
1363 * config/te-irix.h: New file.
1364 * config/tc-mips.c (mips_dwarf2_format): Use TE_IRIX to decide
1365 whether to use Irix-specific 64-bit format.
1366
1367 2003-01-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
1368
1369 * config/tc-s390.c (s390_elf_cons): Avoid designated initializers.
1370
1371 2003-01-25 Jakub Jelinek <jakub@redhat.com>
1372
1373 * config/tc-sparc.c (sparc_ip): Handle TLS % operators.
1374 (tc_gen_reloc): Handle TLS relocs.
1375 (sparc_cons, cons_fix_new_sparc): Handle %r_tls_dtpoff.
1376 * config/tc-sparc.h (tc_fix_adjustable): Don't adjust TLS
1377 relocs.
1378 * config/obj-elf.c (obj_elf_section_word): Handle tls.
1379 (obj_elf_type): Handle tls_object.
1380
1381 2003-01-24 Martin Schwidefsky <schwidefsky@de.ibm.com>
1382
1383 * config/tc-s390.c (s390_tls_suffix): New function.
1384 (elf_suffix_type): Add suffix enums for TLS relocations.
1385 (s390_elf_suffix): Add suffix strings for TLS relocations.
1386 (s390_elf_cons): Map new lenght/elf suffix combinations for TLS to
1387 bfd relocations.
1388 (md_gather_operands): Map new instruction operand/elf suffix
1389 combinations for TLS to bfd relocations.
1390 (tc_s390_fix_adjustable): Add new TLS relocations.
1391 (tc_s390_force_relocation): Likewise.
1392 (md_apply_fix3): Likewise.
1393
1394 2003-01-24 Alan Modra <amodra@bigpond.net.au>
1395
1396 * as.h: Update copyright date.
1397 * symbols.c: Likewise.
1398 * config/tc-d10v.h: Likewise.
1399 * config/tc-fr30.h: Likewise.
1400 * config/tc-i960.h: Likewise.
1401 * config/tc-mips.h: Likewise.
1402
1403 * config/tc-hppa.h (DIFF_EXPR_OK): Define.
1404 (MD_APPLY_SYM_VALUE): Move.
1405
1406 2003-01-23 Nick Clifton <nickc@redhat.com>
1407
1408 * NEWS: Announce sh2e support.
1409
1410 Add sh2e support:
1411 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
1412 * config/tc-sh.c (md_show_usage): Added sh2e next to sh3e.
1413 (sh_elf_final_processing): Handle arch_sh2e.
1414
1415 2003-01-23 Alan Modra <amodra@bigpond.net.au>
1416
1417 * symbols.c (S_FORCE_RELOC): Add "strict" param.
1418 * symbols.h (S_FORCE_RELOC): Likewise.
1419 * config/obj-aout.h (S_FORCE_RELOC): Likewise.
1420 * config/obj-bout.h (S_FORCE_RELOC): Likewise.
1421 * config/obj-coff.h (S_FORCE_RELOC): Likewise.
1422 * config/obj-ieee.h (S_FORCE_RELOC): Likewise.
1423 * config/obj-vms.h (S_FORCE_RELOC): Likewise.
1424 * write.c (generic_force_reloc): New function.
1425 (TC_FORCE_RELOCATION): Use it here instead of S_FORCE_RELOC.
1426 (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too.
1427 (adjust_reloc_syms): Adjust S_FORCE_RELOC call.
1428 * as.h (generic_force_reloc): Declare.
1429 * doc/internals.texi (S_FORCE_RELOC): Update.
1430 (TC_FORCE_RELOCATION_SUB_SAME): Update.
1431
1432 * config/tc-alpha.c (alpha_force_relocation): Adjust to use
1433 generic_force_reloc.
1434 (alpha_fix_adjustable): Likewise.
1435 * config/tc-arm.c (arm_force_relocation): Likewise.
1436 * config/tc-cris.c (md_cris_force_relocation): Likewise.
1437 * config/tc-frv.c (frv_force_relocation): Likewise.
1438 * config/tc-i386.c (md_apply_fix3): Likewise.
1439 * config/tc-ia64.c (ia64_force_relocation): Likewise.
1440 * config/tc-ip2k.c (ip2k_force_relocation): Likewise.
1441 * config/tc-m32r.c (m32r_force_relocation): Likewise.
1442 * config/tc-m68hc11.c (tc_m68hc11_force_relocation): Likewise.
1443 * config/tc-mcore.c (mcore_force_relocation): Likewise.
1444 * config/tc-mips.c (mips_force_relocation): Likewise.
1445 * config/tc-mmix.c (mmix_force_relocation): Likewise.
1446 * config/tc-ppc.c (ppc_force_relocation): Likewise.
1447 * config/tc-s390.c (tc_s390_force_relocation): Likewise.
1448 * config/tc-sh.c (sh_force_relocation): Likewise.
1449 (md_pcrel_from_section): Likewise.
1450 * config/tc-sparc.c (tc_gen_reloc): Likewise.
1451 * config/tc-v850.c (v850_force_relocation): Likewise.
1452 * config/tc-xstormy16.c (xstormy16_force_relocation): Likewise.
1453 * config/tc-i386.h (TC_FORCE_RELOCATION): Likewise.
1454 * config/tc-mcore.h (TC_FORCE_RELOCATION): Likewise.
1455 * config/tc-sparc.h (tc_fix_adjustable): Likewise.
1456
1457 * config/tc-d10v.c (d10v_force_relocation): Delete.
1458 * config/tc-d10v.h (TC_FORCE_RELOCATION): Don't define.
1459 * config/tc-dlx.c (md_dlx_force_relocation): Delete.
1460 * config/tc-dlx.h (TC_FORCE_RELOCATION): Don't define.
1461 * config/tc-fr30.c (fr30_force_relocation): Delete.
1462 * config/tc-fr30.h (TC_FORCE_RELOCATION): Don't define.
1463 * config/tc-mn10300.c (mn10300_force_relocation): Delete.
1464 * config/tc-mn10300.h (TC_FORCE_RELOCATION): Don't define.
1465 (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too.
1466 * config/tc-i960.h (TC_FORCE_RELOCATION_SUB_SAME): Likewise.
1467 * config/tc-hppa.c (hppa_force_relocation): Adjust S_FORCE_RELOC call.
1468 * config/tc-mips.c (RELAX_BRANCH_TOOFAR): Warning fix.
1469 * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Don't define.
1470 * config/tc-openrisc.c (openrisc_force_relocation): Delete.
1471 * config/tc-openrisc.h (TC_FORCE_RELOCATION): Don't define.
1472 * config/tc-sparc.c (elf32_sparc_force_relocation): Delete.
1473 * config/tc-sparc.h (TC_FORCE_RELOCATION): Don't define for ELF.
1474 * config/tc-i386.c (i386_force_relocation): Delete.
1475 * config/tc-i386.h (TC_FORCE_RELOCATION): Don't define for
1476 BFD_ASSEMBLER.
1477 (EXTERN_FORCE_RELOC): Fix TE_PE and STRICT_PE_FORMAT nesting.
1478 * config/tc-m68k.h (TC_FORCE_RELOCATION): Don't define.
1479 * config/tc-pj.h (TC_FORCE_RELOCATION): Don't define.
1480 * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_ABS): Don't call
1481 S_FORCE_RELOC.
1482 (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too.
1483 * config/tc-sh64.h (TC_FORCE_RELOCATION_SUB_SAME): Likewise.
1484
1485 2003-01-23 Alan Modra <amodra@bigpond.net.au>
1486
1487 * config/tc-sh64.c (shmedia_frob_section_type): Adjust for changed
1488 sh64_elf_section_data.
1489 * config/tc-sh64.h: Include elf32-sh64.h.
1490 * config/tc-m68hc11.c: Don't include stdio.h.
1491 (md_show_usage): Fix missing continuation.
1492 * Makefile.am: Run "make dep-am".
1493 * Makefile.in: Regenerate.
1494
1495 2003-01-22 Nick Clifton <nickc@redhat.com>
1496
1497 * as.h: Include fopen-bin.h not fopen-same.h for mingw32 hosts.
1498
1499 2003-01-21 Fabio Alemagna <falemagn@aros.org>
1500
1501 * configure.in: Handle *-*-aros*.
1502 * configure: Regenerated from configure.in.
1503
1504 2003-01-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
1505
1506 * config/tc-s390.c (elf_suffix_type): Add suffix enums for gotoff,
1507 gotplt and pltoff relocations.
1508 (s390_elf_suffix): Add suffix strings for gotoff, gotplt and pltoff.
1509 (s390_elf_cons): Map new lenght/elf suffix combinations for gotoff,
1510 gotplt and pltoff to bfd relocations.
1511 (md_gather_operands): Map new instruction operand/elf suffix
1512 combinations to bfd relocations.
1513 (tc_s390_fix_adjustable): Add new gotoff, gotplt and pltoff relocations
1514 to the list of unadjustable relocations.
1515 (tc_s390_force_relocation): Always emit relocations for gotoff, gotplt
1516 and pltoff relocations.
1517 (md_apply_fix3): Add the new relocations.
1518
1519 2003-01-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
1520
1521 * config/tc-s390.c (md_apply_fix3): Emit error message for relocations
1522 with a subsy symbol.
1523
1524 2003-01-17 Stephane Carrez <stcarrez@nerim.fr>
1525
1526 * config/tc-m68hc11.c (tc_m68hc11_fix_adjustable): Prevent adjustment
1527 of relocs for memory bank addressing.
1528
1529 2003-01-17 Stephane Carrez <stcarrez@nerim.fr>
1530
1531 * config/tc-m68hc11.c (md_show_usage): Update usage.
1532 (md_parse_option): Recognize -m68hcs12.
1533 (m68hc11_elf_final_processing): Set EF_M68HCS12_MACH flag to identify
1534 HCS12.
1535 * doc/as.texinfo (Overview): Document new option -m68hcs12.
1536
1537 2003-01-16 Jakub Jelinek <jakub@redhat.com>
1538
1539 * config/tc-ia64.c (ia64_cons_fix_new): Handle @dtprel() in data.
1540
1541 2003-01-16 Alan Modra <amodra@bigpond.net.au>
1542
1543 * Makefile.am: Run "make dep-am".
1544 * Makefile.in: Regenerate.
1545 * po/POTFILES.in: Regenerate.
1546
1547 2003-01-11 Alan Modra <amodra@bigpond.net.au>
1548
1549 * read.c (get_absolute_expr): New, split out from..
1550 (get_absolute_expression): ..here.
1551 * read.h (get_absolute_expr): Declare.
1552 * config/obj-elf.c (elf_common): Use offsetT for "temp" and "size".
1553 Trim size to arch bits_per_address, and test for negative input
1554 via get_absolute_expr.
1555
1556 2003-01-07 DJ Delorie <dj@redhat.com>
1557
1558 * config/tc-xstormy16.c (md_cgen_lookup_reloc): Adjust value based
1559 on operand type.
1560 (xstormy16_md_apply_fix3): Use adjustment.
1561
1562 2003-01-02 Ben Elliston <bje@redhat.com>
1563
1564 * configure.in: Add iq2000-elf target.
1565 * configure: Regenerate.
1566 * config/tc-iq2000.c: New file.
1567 * config/tc-iq2000.h: Likewise.
1568 * po/gas.pot: Regenerate.
1569
1570 2003-01-02 Chris Demetriou <cgd@broadcom.com>
1571
1572 * config/tc-mips.c: Update copyright years to include 2003.
1573 (mips_ip): Fix indentation of "+A", "+B", and "+C" handling.
1574 Additionally, clean up their code slightly and clean up their
1575 comments some more.
1576
1577 * doc/c-mips.texi: Add MIPS32r2 to ".set mipsN" documentation.
1578
1579 2003-01-01 Daniel Jacobowitz <drow@mvista.com>
1580
1581 * doc/Makefile.am (as.1): Depend on "asconfig.texi gasver.texi
1582 $(CPU_DOCS)".
1583 * doc/Makefile.in: Regenerate.
1584
1585 2003-01-01 John David Anglin <dave.anglin@nrc.ca>
1586
1587 * config/obj-elf.c (special_sections): Work around HP's incorrect usage
1588 of .init and .fini sections for array initializers and finalizers.
1589
1590 2002-12-31 Chris Demetriou <cgd@broadcom.com>
1591
1592 * config/tc-mips.c (validate_mips_insn, mips_ip): Recognize
1593 the "+D" operand, which will be used only by the disassembler.
1594
1595 2002-12-30 Chris Demetriou <cgd@broadcom.com>
1596
1597 * configure.in: Recognize mipsisa32r2, mipsisa32r2el, and
1598 CPU variants.
1599 * configure: Regenerate.
1600 * config/tc-mips.c (ISA_HAS_DROR, ISA_HAS_ROR): New defines.
1601 (macro_build): Handle "K" operand.
1602 (macro2): Use ISA_HAS_DROR and ISA_HAS_ROR in the places where
1603 CPU_HAS_DROR and CPU_HAS_ROR are currently used.
1604 (mips_ip): New variable "lastpos", and implement "+A", "+B",
1605 and "+C" operands for MIPS32 Release 2 ins/ext instructions.
1606 Implement "K" operand for MIPS32 Release 2 rdhwr instruction.
1607 (validate_mips_insn): Implement "+" as a way to extend the
1608 allowed operands, and implement "K", "+A", "+B", and "+C"
1609 operands.
1610 (OPTION_MIPS32R2): New define.
1611 (md_longopts): Add entry for OPTION_MIPS32R2.
1612 (OPTION_ELF_BASE): Adjust to accomodate OPTIONS_MIPS32R2.
1613 (md_parse_option): Handle OPTION_MIPS32R2.
1614 (s_mipsset): Reimplement handling of ".set mipsN" options
1615 and add support for ".set mips32r2".
1616 (mips_cpu_info_table): Add entry for "mips32r2" (MIPS32 Release 2).
1617 (md_show_usage): Document "-mips32r2" option.
1618 * doc/as.texinfo: Document "-mips32r2" option.
1619 * doc/c-mips.texi: Likewise.
1620
1621 2002-12-30 Dmitry Diky <diwil@mail.ru>
1622
1623 * configure.in: Add msp430 target.
1624 * configure: Regenerate.
1625 * Makefile.am: Add msp430 target.
1626 * Makefile.in: Regenerate.
1627 * config/tc-msp430.c: New file: msp430 assembler.
1628 * config/tc-msp430.h: New file: target macros for msp430.
1629 * doc/Makefile.am: Add msp430 target.
1630 * doc/Makefile.in: Regenerate.
1631 * doc/as.texinfo: Include msp430 documenation.
1632 * doc/all.texi: Enable msp430 documentation.
1633 * doc/c-msp430.texi: New file: document msp430 specific features
1634 of the assembler.
1635
1636 2002-12-25 Alexandre Oliva <aoliva@redhat.com>
1637
1638 * dwarf2dbg.c (DWARF2_ADDR_SIZE): New macro.
1639 (dwarf2_finish): Use it.
1640 * doc/internals.texi (DWARF2_ADDR_SIZE): Document it.
1641 * config/tc-mips.h (DWARF2_ADDR_SIZE): Override.
1642
1643 2002-12-20 DJ Delorie <dj@redhat.com>
1644
1645 * config/tc-xstormy16.c (md_cgen_lookup_reloc): Support
1646 BFD_RELOC_XSTORMY16_12.
1647
1648 2002-12-19 Alan Modra <amodra@bigpond.net.au>
1649
1650 * doc/as.texinfo (Invoking): Typo fix.
1651 * config/tc-tic54x.c (encode_operand): Comment typo fix.
1652
1653 2002-12-18 Kazu Hirata <kazu@cs.umass.edu>
1654
1655 * doc/c-alpha.texi: Fix typos.
1656 * doc/c-arm.texi: Likewise.
1657 * doc/c-d10v.texi: Likewise.
1658 * doc/c-i370.texi: Likewise.
1659 * doc/c-i960.texi: Likewise.
1660 * doc/c-ia64.texi: Likewise.
1661 * doc/c-mmix.texi: Likewise.
1662 * doc/c-ns32k.texi: Likewise.
1663 * doc/c-pdp11.texi: Likewise.
1664 * doc/c-pj.texi: Likewise.
1665 * doc/c-sh64.texi: Likewise.
1666 * doc/c-sparc.texi: Likewise.
1667 * doc/c-tic54x.texi: Likewise.
1668 * doc/c-v850.texi: Likewise.
1669 * doc/c-vax.texi: Likewise.
1670 * doc/internals.texi: Likewise.
1671
1672 2002-12-18 Chris Demetriou <cgd@broadcom.com>
1673
1674 * config/tc-mips.c (macro): In M_DROL, M_DROR, M_ROL, and M_ROR,
1675 use hardware rotate ops as appropriate. In M_DROL_I, M_DROR_I,
1676 M_ROL_I, and M_ROR_I, simplify code, clean up warnings, and
1677 arrange not to issue warnings about use of AT when AT is not
1678 actually used.
1679
1680 2002-12-17 Nick Clifton <nickc@redhat.com>
1681
1682 * as.c (std_longopts): Duplicate --keep-locals entry in order to
1683 prevent it being confused with -k.
1684
1685 2002-12-16 Andrew MacLeod <amacleod@redhat.com>
1686
1687 * config/tc-xstormy16.c (md_cgen_lookup_reloc): If a relocation
1688 has already been set up, use it.
1689
1690 2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
1691
1692 * ChangeLog-9295: Fix a typo.
1693 * README: Likewise.
1694 * config/tc-d10v.c: Fix a comment typo.
1695 * config/tc-dlx.c: Likewise.
1696 * config/tc-h8300.h: Likewise.
1697 * config/tc-h8500.h: Likewise.
1698 * config/tc-mips.c: Likewise.
1699 * config/tc-s390.c: Likewise.
1700 * config/tc-sh.h: Likewise.
1701 * config/tc-tic80.h: Likewise.
1702 * config/tc-w65.h: Likewise.
1703 * config/tc-z8k.c: Likewise.
1704 * config/tc-z8k.h: Likewise.
1705 * testsuite/gas/h8300/cmpsi2.s: Likewise.
1706
1707 2002-12-16 Alan Modra <amodra@bigpond.net.au>
1708
1709 * config/tc-d30v.c (check_range): Warning fixes, formatting.
1710 Simplify sign extension. Remove redundant unsigned < 0 test.
1711 * config/tc-i960.c (md_ri_to_chars): Prototype.
1712 * config/tc-mcore.c (md_pseudo_table): Fix typo.
1713 (dump_literals): Init brarsym, and test later instead of isforce.
1714
1715 * config/tc-ns32k.c (encode_operand): Constify operandsP and suffixP.
1716 (parse): Constify line and lineptr.
1717 (md_begin): Calculate endop here.
1718
1719 2002-12-13 Alan Modra <amodra@bigpond.net.au>
1720
1721 * config/obj-vms.c: Formatting. Include fnctl.h.
1722 (Create_VMS_Object_File): Fix creat call for sane unix systems.
1723 (Object_Record_Offset): Make it a size_t.
1724 (Flush_VMS_Object_Record_Buffer): Fix signed/unsigned warning.
1725 (VMS_TBT_Routine_End <Size>): Make var unsigned long.
1726 (VMS_Fix_Indirect_Reference <Offset>): Make arg addressT.
1727 (synthesize_data_segment <data_size>): Remove ATTRIBUTE_UNUSED.
1728 (vms_fixup_data_section <data_size>): Add here instead.
1729 * config/e-criself.c: Fix typo in last change.
1730
1731 2002-12-13 Alan Modra <amodra@bigpond.net.au>
1732
1733 * write.c (write_object_file): Fix signed/unsigned warning.
1734 * config/e-crisaout.c (crisaout_bfd_name): Prototype.
1735 * config/e-criself.c (criself_bfd_name): Prototype.
1736 * config/obj-aout.c (s_sect): Remove unused function.
1737 * config/obj-bout.c (obj_bout_line <ignore>): Add ATTRIBUTE_UNUSED.
1738 * config/obj-coff.c (coff_last_bf): Don't declare for OBJ_XCOFF.
1739 (fixup_mdeps <h>): Add ATTRIBUTE_UNUSED.
1740 * config/obj-ecoff.c (ecoff_frob_file <addr>): Likewise.
1741 * config/obj-vms.c (setup_basic_type <spnt>): Likewise.
1742 (VMS_RSYM_Parse <Current_Routine>): Likewise.
1743 (vms_fixup_text_section <text_siz>): Likewise.
1744 (synthesize_data_segment <data_size>): Likewise.
1745 (vms_fixup_xtors_section <sect_no>): Likewise.
1746 (structure_count): Don't use implicit int type.
1747 * config/tc-a29k.c (insert_sreg): Prototype.
1748 (define_some_regs): Prototype, make static.
1749 (parse_operand): Likewise.
1750 (md_parse_option <c,arg>): Add ATTRIBUTE_UNUSED.
1751 (md_show_usage <stream>): Likewise.
1752 (md_section_align <segment>): Likewise.
1753 (md_convert_frag <all args>): Likewise.
1754 (md_estimate_size_before_relax <all args>): Likewise.
1755 (md_apply_fix3): Don't cast valP pointer type. Fix bogus >>='s.
1756 * config/tc-arm.c (arm_validate_fix): Only for OBJ_COFF or OBJ_ELF.
1757 * config/tc-d30v.c (md_parse_option <arg>): Add ATTRIBUTE_UNUSED.
1758 (md_undefined_symbol <name>): Likewise.
1759 (md_convert_frag <all args>): Likewise.
1760 (write_long <opcode>): Likewise.
1761 (tc_gen_reloc <seg>): Likewise.
1762 (md_estimate_size_before_relax <all args>): Likewise.
1763 (md_apply_fix3 <seg>): Likewise.
1764 (s_d30v_align <ignore>): Likewise.
1765 (build_insn): Correct format string.
1766 (md_apply_fix3): Likewise.
1767 * config/tc-fr30.c (md_parse_option <c,arg>): Add ATTRIBUTE_UNUSED.
1768 (md_undefined_symbol <name>): Likewise.
1769 (md_convert_frag <all args>): Likewise.
1770 (md_cgen_lookup_reloc <insn>): Likewise.
1771 (md_begin): Delete unused vars.
1772 (md_assemble): Likewise.
1773 (md_estimate_size_before_relax): Likewise.
1774 (fr30_relax_frag): #if 0 out, seems unused.
1775 (md_atof): Remove declaration of atof_ieee.
1776 (restore_colon): Prototype.
1777 * config/tc-frv.c (frv_insert_vliw_insn): Prototype.
1778 (frv_find_in_vliw): Likewise.
1779 (frv_debug_tomcat): Likewise.
1780 (frv_adjust_vliw_count): Likewise.
1781 (frv_tomcat_shuffle): Likewise.
1782 (frv_tomcat_analyze_vliw_chains): Likewise. Correct args to
1783 frv_find_in_vliw call.
1784 (md_atof): Remove declaration of atof_ieee.
1785 * config/tc-h8500.c (cons): Delete declaration.
1786 (md_begin <opcode>): Constify.
1787 (displacement_size, immediate_size, absolute_size): Remove.
1788 (build_relaxable_instruction <operand>): Add ATTRIBUTE_UNUSED.
1789 (tc_crawl_symbol_chain <headers>): Likewise.
1790 (md_undefined_symbol <name>): Likewise.
1791 (tc_headers_hook <headers>): Likewise.
1792 (md_parse_option <c,arg>): Likewise.
1793 (md_show_usage <stream>): Likewise.
1794 (md_convert_frag <headers, seg>): Likewise.
1795 (tc_coff_symbol_emit_hook <ignore>): Likewise.
1796 (md_atof): Remove declaration of atof_ieee.
1797 (tc_aout_fix_to_chars): Remove unused function.
1798 (parse_reg): Prototype.
1799 (parse_exp): Prototype.
1800 (skip_colonthing): Prototype. Use &&, not & in logical expressions.
1801 (parse_reglist): Prototype.
1802 (get_operand): Prototype.
1803 (get_operands): Prototype.
1804 (get_specific): Prototype. Make "this_index" signed.
1805 (check): Prototype, make static.
1806 (insert): Prototype
1807 (build_relaxable_instruction): Prototype, make static.
1808 (build_bytes): Prototype.
1809 (wordify_scb): Prototype.
1810 * config/tc-h8500.h (start_label): Declare.
1811 (tc_coff_sizemachdep): Declare.
1812 * config/tc-i370.c (i370_ebcdic <unused>): Add ATTRIBUTE_UNUSED.
1813 (i370_rmode <unused>): Likewise.
1814 (i370_csect <unused>): Likewise.
1815 (i370_dc <unused>): Likewise.
1816 (i370_ds <unused>): Likewise.
1817 (i370_elf_lcomm <unused>): Likewise.
1818 (i370_ltorg <ignore>): Likewise.
1819 (i370_using <ignore>): Likewise.
1820 (i370_drop <ignore>): Likewise.
1821 (i370_byte <ignore>): Likewise.
1822 (i370_tc <ignore>): Likewise.
1823 (md_estimate_size_before_relax <fragp, seg>): Likewise.
1824 (md_convert_frag <all args>): Likewise.
1825 (md_undefined_symbol <name>): Likewise.
1826 (md_pcrel_from_section <sec>): Likewise.
1827 (tc_gen_reloc <seg>): Likewise.
1828 (i370_section_letter): #if 0 unused functions.
1829 (i370_section_word, i370_section_type, i370_section_flags): Likewise.
1830 (symbol_locate): Prototype.
1831 * config/tc-i860.c (md_atof): Remove declaration of atof_ieee.
1832 (md_number_to_disp, md_number_to_field): Remove.
1833 (md_apply_fix3): Correct format string and cast "fup".
1834 * config/tc-i960.c (md_convert_frag): Add ATTRIBUTE_UNUSED to args.
1835 (s_endian <ignore>): Likewise.
1836 (md_undefined_symbol <name>): Likewise.
1837 (tc_crawl_symbol_chain <headers>): Likewise.
1838 (tc_set_bal_of_call): Likewise.
1839 (tc_coff_symbol_emit_hook <symbolP>): Likewise.
1840 (i960_handle_align <fragp>): Likewise.
1841 (i960_validate_fix <this_segment_type>): Likewise
1842 (tc_gen_reloc <section>): Likewise.
1843 (tc_coff_symbol_emit_hook): Only define for OBJ_COFF.
1844 (struct memS, struct regop): Forward declare.
1845 (brcnt_emit, brlab_next, cobr_fmt, ctrl_fmt, emit, get_args,
1846 get_cdisp, get_ispec, get_regnum, i_scan, mem_fmt, mema_to_memb,
1847 parse_expr, parse_ldconst, parse_memop, parse_po, parse_regop,
1848 reg_fmt, relax_cobr, s_leafproc, s_sysproc, shift_ok, syntax,
1849 targ_has_sfr, targ_has_iclass, tc_bfd_fix2rtype): Prototype.
1850 (md_chars_to_number, md_number_to_imm): Make static, prototype.
1851 (md_number_to_field): Likewise.
1852 (md_number_to_disp): Remove unused function.
1853 (md_atof): Remove declaration of atof_ieee.
1854 (md_apply_fix3): Correct md_number_to_imm call.
1855 * config/tc-ip2k.c (md_assemble): Warning fix.
1856 * config/tc-m32r.c (md_parse_option <arg>): Add ATTRIBUTE_UNUSED.
1857 (fill_insn <ignore>): Likewise.
1858 (debug_sym <ignore>): Likewise.
1859 (md_undefined_symbol <name>): Likewise.
1860 (m32r_scomm <ignore>): Likewise.
1861 (md_convert_frag <abfd>): Likewise.
1862 (md_cgen_lookup_reloc <insn>): Likewise.
1863 (m32r_record_hi16 <seg>): Likewise.
1864 (md_estimate_size_before_relax): #if 0 old_fr_fix.
1865 (allow_m32rx): Prototype.
1866 (first_writes_to_seconds_operands): Prototype.
1867 (writes_to_pc): Prototype.
1868 (can_make_parallel): Prototype.
1869 (make_parallel): Prototype.
1870 (target_make_parallel): Prototype.
1871 (assemble_two_insns): Prototype.
1872 (m32r_record_hi16): Prototype.
1873 (md_atof): Remove declaration of atof_ieee.
1874 * config/tc-m32r.h (m32r_fix_adjustable): Declare.
1875 (m32r_force_relocation): Prototype.
1876 (m32r_elf_section_change_hook): Prototype.
1877 * config/tc-m68k.c (tc_gen_reloc <section>): Add ATTRIBUTE_UNUSED.
1878 (md_show_usage): Fix signed/unsigned warning.
1879 * config/tc-m88k.c (get_reg): Make reg_prefix param unsigned.
1880 (calcop): Ditto for reg_prefix var.
1881 (hexval): Add cast to fix signed/unsigned warning.
1882 (md_number_to_disp): Delete unused function.
1883 (md_number_to_field): Likewise.
1884 (float_cons, cons, s_globl, s_space, s_set, s_lcomm): Remove decl.
1885 (match_name): Prototype.
1886 (get_bf2): Prototype.
1887 (get_bf_offset_expression): Prototype.
1888 * config/tc-mcore.c (mcore_s_literals <ignore>): Add ATTRIBUTE_UNUSED.
1889 (md_undefined_symbol <ignore>): Likewise.
1890 (md_create_short_jump <all args>): Likewise.
1891 (md_create_long_jump <all args>): Likewise.
1892 (md_convert_frag <abfd, sec>): Likewise.
1893 (md_apply_fix3 <segment>): Likewise.
1894 (md_section_align <segment>): Likewise.
1895 (md_pcrel_from_section <sec>): Likewise.
1896 (tc_gen_reloc <section>): Likewise.
1897 (reg_m, reg_n, immediate): Delete unused vars.
1898 (dump_literals): Fix signed/unsigned warning.
1899 (enter_literal): Likewise.
1900 (parse_imm): Likewise. Also fix format string.
1901 (parse_mem): Remove unused var.
1902 (md_assemble <LS>): Abort on unexpected inst.
1903 (md_atof): Remove declaration of atof_ieee.
1904 (md_parse_option): Remove unused vars.
1905 (md_apply_fix3): Fix format strings, cast args.
1906 (tc_gen_reloc): Delete unused var.
1907 * config/tc-mcore.h (tc_coff_sizemachdep): Declare.
1908 * config/tc-mn10200.c (md_parse_option <c, arg>): Add ATTRIBUTE_UNUSED.
1909 (md_undefined_symbol <name>): Likewise.
1910 (md_convert_frag <abfd>): Likewise.
1911 (tc_gen_reloc <seg>): Likewise.
1912 (check_operand <insn>): Likewise.
1913 (md_convert_frag): Fix format strings.
1914 (tc_gen_reloc): Delete fx_addsy - fx_subsy code.
1915 * config/tc-openrisc.c (ignore_pseudo): Prototype.
1916 (md_atof): Remove declaration of atof_ieee.
1917 * config/tc-or32.c (parse_operand): Prototype non-BFD too.
1918 (md_apply_fix3): Fix bogus >>='s.
1919 (md_undefined_symbol): Delete unused var.
1920 * config/tc-pj.c (little, big, parse_exp_save_ilp): Prototype.
1921 (c_to_r, ipush_code, fake_opcode, alias): Likewise.
1922 (fake_opcode): Adjust for pj_opc_int_t change.
1923 (md_begin): Likewise.
1924 (md_assemble): Likewise.
1925 (ipush_code): Correct parse_exp_save_ilp call. Test pending_reloc
1926 instead of non-existent third arg of parse_exp_save_ilp.
1927 (md_parse_option): Correct "little" and "big" calls.
1928 * config/tc-sparc.c (s_register): Only declare #ifdef OBJ_ELF.
1929 (md_apply_fix3 <segment>): Add ATTRIBUTE_UNUSED.
1930 (tc_gen_reloc <section>): Likewise.
1931 * config/tc-tic30.c: #include stdarg.h or varargs.h.
1932 (debug): Rewrite using VA_* macros.
1933 (md_estimate_size_before_relax): Add ATTRIBUTE_UNUSED to args.
1934 (md_convert_frag): Likewise.
1935 (md_parse_option): Likewise.
1936 (md_show_usage): Likewise.
1937 (md_undefined_symbol): Likewise.
1938 (tc_gen_reloc): Likewise.
1939 (md_operand): Likewise.
1940 (tc_aout_pre_write_hook): Delete.
1941 (struct tic30_insn): Make "operands" unsigned.
1942 (struct tic30_par_insn): Likewise.
1943 (md_assemble): Likewise for "count", "i" and "numops".
1944 (tic30_parallel_insn): Likewise for vars here.
1945 (tic30_operand): Likewise. Remove useless unsigned >= 0 comparison.
1946 * config/tc-tic30.h (tc_aout_pre_write_hook): Define as empty.
1947 * config/tc-tic80.c (obj_coff_section): Delete declaration.
1948 (md_estimate_size_before_relax): Add ATTRIBUTE_UNUSED on args.
1949 (md_undefined_symbol): Likewise.
1950 (md_parse_option): Likewise.
1951 (md_convert_frag): Likewise.
1952 (tc_coff_symbol_emit_hook): Likewise.
1953 (md_atof): Remove declaration of atof_ieee.
1954 (const_overflow): Warning fixes, tidy.
1955 (get_operands): Delete unused vars.
1956 (internal_error_a): Adjust format string to expect a long for arg.
1957 (find_opcode): Warning fixes, simplify.
1958 (build_insn): Cast internal_error_a arg.
1959 (md_begin): Likewise.
1960 (md_apply_fix3): Likewise.
1961 (md_assemble): Delete unused var.
1962 * config/tc-tic80.h (tc_coff_fix2rtype): Prototype.
1963 * config/tc-z8k.c (cons, obj_coff_section): Delete declarations.
1964 (whatreg, parse_reg, parse_exp): Make static, prototype.
1965 (checkfor, regword, regaddr, get_ctrl_operand): Prototype.
1966 (get_flags_operand, get_interrupt_operand, get_cc_operand): Likewise.
1967 (get_operand, get_operands, get_specific, newfix): Likewise.
1968 (apply_fix, build_bytes): Likewise.
1969 (md_atof): Remove declaration of atof_ieee.
1970 (tc_aout_fix_to_chars): Delete.
1971 (md_begin): Constify "opcode". Don't try to init opcode->idx.
1972 Fix s_unseg call.
1973 (md_parse_option): Fix s_segm and s_unseg calls.
1974
1975 2002-12-12 Alexandre Oliva <aoliva@redhat.com>
1976
1977 * tc-mips.c (RELAX_BRANCH_ENCODE): Remove reloc_s2 argument.
1978 Adjust callers.
1979 (RELAX_BRANCH_RELOC_S2): Delete.
1980 (append_insn): Use only BFD_RELOC_16_PCREL_S2 for branches.
1981 Do not handle BFD_RELOC_16_PCREL.
1982 (macro_build, mips_ip): Likewise.
1983 (md_pcrel_from): Return 4 for undefined symbols regardless of
1984 mips_pic.
1985 (md_apply_fix3): Use only BFD_RELOC_16_PCREL_S2 for branches.
1986 Don't dereference howto if no such relocation is available.
1987 Do not apply hack for in-place zero addend in NEWABI.
1988 (md_convert_frag): Use only BFD_RELOC_16_PCREL_S2 for branches.
1989
1990 2002-12-12 Alexandre Oliva <aoliva@redhat.com>,
1991 Alan Modra <amodra@bigpond.net.au>
1992
1993 * config/tc-mn10300.h (TC_VALIDATE_FIX_SUB): Define.
1994 (TC_LINKRELAX_FIXUP): Add comments.
1995
1996 2002-12-12 Alexandre Oliva <aoliva@redhat.com>
1997
1998 * config/tc-mn10300.c (set_arch_mach): Change argument type to
1999 avoid warnings.
2000 (r_register_name, xr_register_name): Add prototype declarations.
2001
2002 2002-12-08 H.J. Lu <hjl@gnu.org>
2003
2004 * config/tc-ia64.c (md_apply_fix3): Remove the PCREL hack
2005 copied from tc-i386.c.
2006
2007 2002-12-08 Stephane Carrez <stcarrez@nerim.fr>
2008
2009 Fix Bug savannah/1825:
2010 * config/tc-m68hc11.c (STATE_INDEXED_PCREL): New relax code.
2011 (md_relax_table): Define specific relax for PC-rel offsets.
2012 (build_indexed_byte): Use a STATE_INDEXED_PCREL relax code.
2013 (m68hc11_relax_frag): Handle the new relax code.
2014 (md_convert_frag): Likewise.
2015 (md_estimate_size_before_relax): Likewise.
2016
2017 2002-12-08 Alan Modra <amodra@bigpond.net.au>
2018
2019 * subsegs.c (section_symbol): Use the symbol, not the section, name.
2020
2021 2002-12-05 Richard Henderson <rth@redhat.com>
2022
2023 * config/ia64.c (enum reloc_func): Add FUNC_LT_RELATIVE_X.
2024 (ia64_gen_real_reloc_type): Handle it.
2025 (pseudo_func): Add @ltoffx.
2026 (md_begin): Build .<ltoffx>.
2027 (ia64_force_relocation): True for LTOFF22X and LDXMOV.
2028
2029 2002-12-05 Alan Modra <amodra@bigpond.net.au>
2030
2031 * config/tc-arm.c (arm_force_relocation): Move out of #if OBJ_ELF.
2032 Move OBJ_COFF TC_FORCE_RELOCATION code here so that COFF handles
2033 ARM_IMMEDIATE and ARM_ADRL_IMMEDIATE relocs as for ELF.
2034 * config/tc-arm.h (TC_FORCE_RELOCATION): Define for both ELF and
2035 COFF to call arm_force_relocation.
2036
2037 2002-12-04 David Mosberger <davidm@hpl.hp.com>
2038
2039 * config/tc-ia64.c (pseudo_func): Add "@pause" constant for "hint"
2040 instruction.
2041 (emit_one_bundle): Handle "hint" instruction.
2042 (operand_match): Match IA64_OPND_AR_CSD.
2043
2044 2002-12-04 Alan Modra <amodra@bigpond.net.au>
2045
2046 * dwarf2dbg.c (scale_addr_delta): Correct parameter. Move prototype
2047 inside #if.
2048
2049 2002-12-03 Nick Clifton <nickc@redhat.com>
2050
2051 * config/tc-ppc.c (ppc_cleanup): Do not set SEC_MERGE flag on
2052 .PPC.EMB.apuinfo sections.
2053
2054 2002-12-03 Richard Henderson <rth@redhat.com>
2055
2056 * config/tc-ia64.c (operand_match): Add IA64_OPND_LDXMOV case.
2057
2058 2002-12-03 Alan Modra <amodra@bigpond.net.au>
2059
2060 * config/tc-w65.c (s_longa): Prototype. Make static, specify int arg.
2061 (cons, s_align_bytes): Delete declaration.
2062 (relax): Delete.
2063 (md_begin): Constify "struct opinfo *" var. Don't try to make "name"
2064 strings common.
2065 (dot): Delete unused function.
2066 (w65_expression): Remove unused arg.
2067 (parse_exp): Prototype. Remove unused arg. Adjust w65_expression
2068 call.
2069 (get_operands): Prototype. Constify "struct opinfo *" arg. Fix
2070 parse_exp call.
2071 (get_specific): Prototype. Constify "struct opinfo *" arg and return
2072 value.
2073 (check): Remove unused function.
2074 (build_Mytes): Prototype. Constify "struct opinfo *" arg. Abort
2075 on unhandled switch case.
2076 (md_assemble): Remove unused op_start, op_end, nlen, p vars. Constify
2077 "opcode".
2078 (tc_crawl_symbol_chain): Delete unused function.
2079 (tc_headers_hook): Likewise.
2080 (tc_Nout_fix_to_chars): Likewise.
2081 (md_undefined_symbol): Add ATTRIBUTE_UNUSED.
2082 (md_parse_option): Likewise.
2083 (md_convert_frag): Likewise.
2084 (tc_coff_symbol_emit_hook): Likewise.
2085 (md_show_usage): Likewise.
2086 * config/tc-w65.h (tc_coff_sizemachdep): Declare.
2087 (TC_PARSE_CONS_EXPRESSION): w65_expression takes one arg.
2088 (w65_expression): Declare.
2089
2090 * po/POTFILES.in: Regenerate.
2091
2092 * config/tc-arm.c (arm_force_relocation): Return 0 for ARM_IMMEDIATE
2093 and ARM_ADRL_IMMEDIATE.
2094
2095 2002-12-02 Nick Clifton <nickc@redhat.com>
2096
2097 * gasp.c: Delete. It has been deprecated.
2098 * NEWS: Mention that gasp has been removed.
2099 * Makefile.am: Remove references to gasp.
2100 * makefile.vms: Likewise.
2101 * mpw-make.sed: Likewise.
2102 * Makeile.in: Regenerate.
2103 * doc/gasp.texi: Delete.
2104 * doc/Makefile.am: Remove references to gasp.texi.
2105 * doc/Makefile.in: Regenerate.
2106 * macro.c: Delete references to gasp.
2107 Remove use of comment_char function parameter as it is no longer
2108 needed.
2109 * macro.h: Update prototypes to remove comment_char parameter.
2110 Fix formatting.
2111 * read.c (read_a_source_file, s_irp): Remove comment_char
2112 parameter from invocation of functions in macro.c
2113
2114 2002-12-02 Hans-Peter Nilsson <hp@axis.com>
2115
2116 * read.c (emit_expr) [!WORKING_DOT_WORD]: Initialize x->use_jump.
2117
2118 2002-12-01 Stephane Carrez <stcarrez@nerim.fr>
2119
2120 * config/tc-m68hc11.c (md_begin): Fix qsort warning.
2121 (tc_gen_reloc): Mark section param as not used.
2122
2123 2002-12-01 Stephane Carrez <stcarrez@nerim.fr>
2124
2125 Fix Bug savannah/1825:
2126 * config/tc-m68hc11.h (md_relax_frag): Define to support relaxations
2127 that are not pc-relative.
2128 (m68hc11_relax_frag): Declare.
2129
2130 * config/tc-m68hc11.c (build_indexed_byte): Use a frag_var to handle
2131 the offsetable indexed addressing modes (n,r).
2132 (build_insn): Cleanup some locals.
2133 (m68hc11_relax_frag): New function imported from tc-cris.c to handle
2134 relaxation of difference between two symbols of same section.
2135 (md_convert_frag): For INDEXED_OFFSET relaxs, use the displacement
2136 only when this is a PC-relative operand and the offset is not absolute.
2137 (md_estimate_size_before_relax): Convert the INDEXED_OFFSET,UNDEF frag
2138 to INDEXED_OFFSET,STATE_BITS5 when the symbol is absolute; this will
2139 be handled by m68hc11_relax_frag.
2140
2141 2002-12-01 Stephane Carrez <stcarrez@nerim.fr>
2142
2143 * config/tc-m68hc11.c (elf_flags): Set default ABI to gcc default
2144 (32-bit int, 64-bit double).
2145 (md_longopts): New options -mshort, -mlong, -mshort-double and
2146 -mlong-double to control the ABI.
2147 (md_show_usage): Update.
2148 (md_parse_option): Handle new options.
2149 * doc/as.texinfo (Overview): Document new options for HC11/HC12.
2150
2151 2002-12-01 Nathan Sidwell <nathan@codesourcery.com>
2152
2153 * symbols.c (report_op_error): New function, broken out of ...
2154 (resolve_symbol_value): ... here. Use for both monadic and dyadic
2155 operators.
2156
2157 2002-11-30 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2158
2159 * config/tc-sh.c (md_apply_fix3): Take account of fx_offset
2160 for BFD_RELOC_32_PLT_PCREL.
2161
2162 2002-11-30 Alan Modra <amodra@bigpond.net.au>
2163
2164 * dwarf2dbg.c, write.c, config/obj-aout.c, config/obj-coff.c,
2165 config/obj-ecoff.c, config/obj-elf.c, config/obj-som.c,
2166 config/tc-arm.c, config/tc-arm.h, config/tc-avr.c, config/tc-cris.c,
2167 config/tc-d10v.c, config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h,
2168 config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.c, config/tc-fr30.h,
2169 config/tc-frv.c, config/tc-frv.h, config/tc-hppa.c, config/tc-i370.c,
2170 config/tc-i386.c, config/tc-i386.h, config/tc-m32r.c,
2171 config/tc-m68hc11.c, config/tc-mcore.c, config/tc-mcore.h,
2172 config/tc-mips.c, config/tc-mips.h, config/tc-mn10200.c,
2173 config/tc-mn10300.c, config/tc-mn10300.h, config/tc-openrisc.c,
2174 config/tc-openrisc.h, config/tc-ppc.c, config/tc-s390.c,
2175 config/tc-sh.c, config/tc-sh.h, config/tc-sh64.c, config/tc-tic54x.c,
2176 config/tc-v850.c, config/tc-v850.h, config/tc-xstormy16.c,
2177 config/tc-xstormy16.h: Replace boolean with bfd_boolean, true with
2178 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars with
2179 TRUE/FALSE. Formatting.
2180
2181 2002-11-29 Nick Clifton <nickc@redhat.com>
2182
2183 * config/tc-arm.c (do_t_bkpt): If no operand is specified,
2184 assume a value of zero.
2185 (do_bkpt): Likewise.
2186
2187 2002-11-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2188
2189 * config/tc-sh.c (md_apply_fix3): Call S_SET_THREAD_LOCAL
2190 for TLS relocations.
2191
2192 2002-11-29 Jakub Jelinek <jakub@redhat.com>
2193
2194 * config/tc-ia64.c (md_apply_fix3): Add default case.
2195
2196 2002-11-28 Jakub Jelinek <jakub@redhat.com>
2197
2198 * symbols.c (S_SET_THREAD_LOCAL): New function.
2199 * symbols.h (S_SET_THREAD_LOCAL): New prototype.
2200 * config/tc-i386.c (md_apply_fix3): Call S_SET_THREAD_LOCAL
2201 for TLS relocations.
2202 * config/tc-ia64.c (md_apply_fix3): Likewise.
2203 * config/tc-alpha.c (md_apply_fix3): Likewise.
2204
2205 2002-11-28 Jakub Jelinek <jakub@redhat.com>
2206
2207 * write.c (subsegs_finish): For SEC_MERGE sections pad last fragment
2208 to entsize.
2209
2210 2002-11-26 DJ Delorie <dj@redhat.com.
2211
2212 * dwarf2dbg.c (scale_addr_delta): New.
2213 (size_inc_line_addr): Use it.
2214 (emit_inc_line_addr): Use it.
2215
2216 2002-11-26 Hans-Peter Nilsson <hp@axis.com>
2217
2218 * config/tc-cris.c (cris_relax_frag): Fix typo in comment.
2219 (md_assemble): Don't pass on branches to constants as relaxable.
2220 Tweak comment.
2221
2222 2002-11-25 Svein E. Seldal <Svein.Seldal@solidas.com>
2223
2224 * config/tc-tic4x.c (c4x_operands_match): Bugfix in direct mode
2225
2226 2002-11-21 Randolph Chung <randolph@tausq.org>
2227
2228 * config/tc-hppa.h (tc_frob_symbol): Frob undefined unused symbols
2229 only if they have default visibility.
2230
2231 2002-11-21 Richard Henderson <rth@redhat.com>
2232
2233 * config/tc-alpha.c (alpha_fix_adjustable): Remove redundant
2234 S_IS_DEFINED test.
2235
2236 2002-11-21 Alan Modra <amodra@bigpond.net.au>
2237
2238 * config/tc-mcore.c (mcore_pool_count): New function.
2239 (mcore_cons, mcore_float_cons, mcore_stringer, mcore_fill): Use it.
2240
2241 2002-11-20 Klee Dienes <kdienes@apple.com>
2242
2243 * config/tc-mcore.c (md_begin): Use a const iterator. Don't
2244 coalesce the name fields to use the same pointer.
2245
2246 * config/tc-sh.c (md_begin): Use a const iterator. Don't coalesce
2247 the name fields to use the same pointer.
2248 (get_specific): Check for opcodes with the same name using strcmp
2249 as well as comparing the pointer.
2250
2251 2002-11-20 Alan Modra <amodra@bigpond.net.au>
2252
2253 * write.c (adjust_reloc_syms): Don't reduce SEC_MERGE fixups with
2254 fx_subsy non-NULL.
2255
2256 2002-11-19 Richard Henderson <rth@redhat.com>
2257
2258 * config/obj-elf.c (obj_elf_visibility): Overwrite only the
2259 visibility portion of st_other.
2260
2261 2002-11-19 Klee Dienes <kdienes@apple.com>
2262
2263 * config/tc-h8300.c (struct h8_instruction): New type, used to
2264 wrap h8_opcodes with length, noperands, idx, and size fields
2265 (computed at run-time).
2266 (h8_instructions): New variable.
2267 (md_begin): Allocate the storage for h8_instructions. Fill
2268 h8_instructions with pointers to the appropriate opcode and the
2269 correct value for the additional fields.
2270 (clever_message): Update to use h8_instructions instead of
2271 h8_opcodes.
2272 (build_bytes): Ditto.
2273 (get_specific): Ditto.
2274 (md_assemble): Ditto.
2275
2276 2002-11-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
2277
2278 * config/tc-s390.c (tc_s390_fix_adjustable): Re-add patch to prevent
2279 adjustments to symbols in merge sections.
2280
2281 2002-11-19 Luke Deller <luked@cse.unsw.edu.au>
2282
2283 * config/tc-alpha.c (s_alpha_prologue): as_bad when sym is NULL.
2284
2285 2002-11-18 Kevin Buettner <kevinb@redhat.com>
2286
2287 * dwarf2dbg.h (dwarf2_format): New enum.
2288 * dwarf2dbg.c (DWARF2_FORMAT): Provide default definition.
2289 (out_debug_line, out_debug_info): Add code for handling 64-bit
2290 DWARF 2 formats.
2291 * config/tc-mips.h (mips_dwarf2_format): Declare.
2292 * config/tc-mips.c (mips_dwarf2_format): New function.
2293 * doc/internals.texi (DWARF2_FORMAT): Document.
2294
2295 2002-11-18 Alexandre Oliva <aoliva@redhat.com>
2296
2297 * config/tc-mips.c (s_change_section): Make sure input buffer
2298 is not accessed past the end. Don't hand
2299 obj_elf_change_section a pointer into the input buffer.
2300
2301 2002-11-18 Alexandre Oliva <aoliva@redhat.com>, Chris Demetriou <cgd@broadcom.com>
2302
2303 * config/tc-mips.c (tc_gen_reloc): Fix typo in handling of
2304 GOT_LO16 on NEWABI.
2305
2306 2002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
2307
2308 * config/tc-tic4x.c: Fixed proper commandline
2309 parameters. Added support for new opcode-list format. General
2310 error message fixups.
2311 (c4x_inst_add): Reject insn not for our CPU
2312 (md_begin): Added matrix for setting the proper opcode-level &
2313 device-flags according to cpu type and revision. Rewrite the
2314 opcode hasher.
2315 (c4x_operand_parse): Fix opcode bug
2316 (c4x_operands_match): New function argument. Added dry-run
2317 mechanism, that is optional error generation. Added constraint 'i'
2318 and 'j'.
2319 (c4x_insn_check): Added new function for post-verification of the
2320 generated insn.
2321 (md_assemble): Check all opcodes before croaking because of an
2322 argument mismatch. Need this to be able to fully support
2323 ortogonally arguments.
2324 (md_parse_options): Revised commandprompt swicthes and added new
2325 ones.
2326 (md_show_usage): Complete rewrite of printout.
2327
2328 2002-11-16 Svein E. Seldal <Svein.Seldal@solidas.com>
2329
2330 * config/tc-tic4x.c: Remove c4x_pseudo_ignore function.
2331 (c4x_operands_match): Added check for 8-bits LDF insn. Give
2332 warning when using constant direct bigger than 2^16. Add the new
2333 arguments.
2334
2335 2002-11-11 Christopher Faylor <cgf@redhat.com>
2336
2337 * configure.in: Use .gdbinit under Cygwin.
2338 * configure: Regenerate.
2339
2340 2002-11-11 Christopher Faylor <cgf@redhat.com>
2341
2342 * config/tc-i386.h (EXTERN_FORCE_RELOC): Define only if
2343 STRICT_PE_FORMAT.
2344
2345 2002-11-11 Svein E. Seldal <Svein.Seldal@solidas.com>
2346
2347 * config/tc-tic4x.c: Declare as many functions as possible as
2348 static. Maintenance on the general indenting. Removed unnecessary
2349 pseudo-ops and added new ones. Removed obsoleted c4x_pseudo_ignore
2350 function. Add support for new DSP, TMS320VC33. Fix bug for
2351 converting flonum constants.
2352 (c4x_do_align): Add proper align handling. Setup align to insert
2353 NOP's.
2354 (c4x_gen_to_words): Support for extended TI type floats.
2355 (md_atof): Proper dumping of multiple-word littlenums.
2356 (c4x_atof): Added support for extended TI type floats.
2357 (c4x_stringer): Added new function to handle compact strings.
2358 (c4x_emit_char): Added new function argument to handle custom
2359 length inserts, like single-byte strings.
2360 * config/tc-tic4x.h: Add proper align handling with NOP's.
2361 * Makefile.am: Added tic4x dependecy
2362 * Makefile.in: Regenerate
2363
2364 2002-11-11 Hans-Peter Nilsson <hp@bitrange.com>
2365
2366 * macro.c (get_any_string): Correct logic for not going beyond end
2367 of in->ptr[].
2368
2369 2002-11-10 Hans-Peter Nilsson <hp@bitrange.com>
2370
2371 * config/tc-mmix.c (get_putget_operands): Mark both possible
2372 operands as invalid at beginning.
2373
2374 * config/tc-mmix.c (md_convert_frag) <case STATE_GREG_DEF>:
2375 Initialize target of fixup to zero.
2376
2377 2002-11-07 Alexandre Oliva <aoliva@redhat.com>
2378
2379 * config/tc-mips.c (macro_build_lui): _gp_disp is not special on
2380 NEWABI, but we should still emit HI16_S for non-PIC n32.
2381
2382 2002-11-06 Richard Henderson <rth@redhat.com>
2383
2384 * config/tc-alpha.c (alpha_validate_fix): Move code ...
2385 (alpha_fix_adjustable): ... here.
2386 * config/tc-alpha.h (TC_VALIDATE_FIX): Remove.
2387
2388 2002-11-07 Eric Kohl <ekohl@rz-online.de>
2389
2390 * config/te-pe.h (LEX_AT): Accept at-sign (@) as first character
2391 of a label.
2392
2393 2002-11-05 H.J. Lu <hjl@gnu.org>
2394
2395 * config/tc-mips.c (support_64bit_objects): Check *l before it
2396 is freed.
2397
2398 2002-11-04 Danny Smith <dannysmith@users.sourceforge.net>
2399
2400 * config/obj-coff.c (obj-coff-section): Set SEC_DATA and
2401 SEC_LOAD flags for sections marked as 's'.
2402
2403 2002-11-01 Alan Modra <amodra@bigpond.net.au>
2404
2405 * write.c (TC_FORCE_RELOCATION_SUB_ABS): Default to zero.
2406 (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise when DIFF_EXPR_OK.
2407 * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS): Document changed
2408 default.
2409
2410 * dep-in.sed: Fix typo.
2411
2412 2002-10-30 Daniel Jacobowitz <drow@mvista.com>
2413
2414 * configure.in: Update ARM CPU patterns.
2415 * configure: Regenerated.
2416
2417 2002-10-29 Daniel Jacobowitz <drow@mvista.com>
2418
2419 * itbl-lex.l: Use #include <> for generated headers.
2420 * itbl-ops.c: Likewise.
2421
2422 2002-10-28 Daniel Jacobowitz <drow@mvista.com>
2423
2424 * doc/gasp.texi: Fix typo in deprecation note.
2425
2426 2002-10-23 Nick Clifton <nickc@redhat.com>
2427
2428 * config/tc-arm.c (tc_gen_reloc): Allow an absolute reference to
2429 _GLOBAL_TABLE_OFFSET_ to be converted into a GOT reloc.
2430
2431 2002-10-23 Hans-Peter Nilsson <hp@bitrange.com>
2432
2433 * config/tc-mmix.h (mmix_frob_file_before_adjust): Don't declare.
2434 (tc_frob_file_before_adjust): Don't define.
2435 * config/tc-mmix.c (mmix_frob_local_reloc): Remove unused
2436 function.
2437 (mmix_frob_file_before_adjust): Remove ineffective function.
2438
2439 2002-10-23 Hans-Peter Nilsson <hp@axis.com>
2440
2441 * config/tc-cris.c (SIMPLE_EXPR): New macro.
2442 (cris_relax_frag): New function.
2443 (md_estimate_size_before_relax) <case ENCODE_RELAX
2444 (STATE_BASE_PLUS_DISP_PREFIX, STATE_UNDF)>: Pass on unresolved
2445 expressions that will become absolute expressions to relaxation.
2446 (md_convert_frag) <case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX,
2447 STATE_WORD)>: Expect only absolute expressions. Use the symbol
2448 value, not distance to symbol.
2449 <case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX, STATE_BYTE)>:
2450 Ditto. Correct placement of fixup.
2451 (md_assemble): Use SIMPLE_EXPR when dissecting expressions.
2452 (gen_bdap): Ditto.
2453 * config/tc-cris.h (cris_relax_frag): Declare.
2454 (md_relax_frag): Define.
2455
2456 2002-10-22 Alan Modra <amodra@bigpond.net.au>
2457
2458 * config/obj-elf.c (special_sections): Use correct types for init
2459 array sections.
2460 (obj_elf_change_section): Don't mess with init array section type.
2461
2462 2002-10-21 Richard Sandiford <rsandifo@redhat.com>
2463
2464 * config/tc-mips.c (mips_need_elf_addend_fixup): Return true
2465 for relocs against symbols in a merged section.
2466
2467 2002-10-18 Alexandre Oliva <aoliva@redhat.com>
2468
2469 * config/tc-mips.c (md_begin): Add $fcc registers to the symbol
2470 table as register names.
2471
2472 2002-10-18 Ulrich Weigand <uweigand@de.ibm.com>
2473
2474 * config/tc-s390.c (md_parse_option): Set s390_arch_size to 32
2475 for option -m31.
2476
2477 2002-10-18 Svein E. Seldal <Svein.Seldal@solidas.com>
2478
2479 * expr.c (operand): Add support for n.nn flonums.
2480
2481 2002-10-17 Johannes Stezenbach <js@convergence.de>
2482
2483 * itbl-parse.y (entry): Provide empty action.
2484
2485 2002-10-16 Alan Modra <amodra@bigpond.net.au>
2486
2487 * configure.in (BFDVER_H): Set and subst.
2488 * dep-in.sed: Replace bfdver.h with $(BFDVER_H).
2489 * Makefile.am: Run "make dep-am".
2490 (BFDVER_H): Define.
2491 * configure: Regenerate.
2492 * Makefile.in: Regenerate.
2493 * doc/Makefile.in: Regenerate.
2494
2495 2002-10-15 Alan Modra <amodra@bigpond.net.au>
2496
2497 * config/tc-i386.h (EXTERN_FORCE_RELOC): Define.
2498 (MD_APPLY_SYM_VALUE): Define for PE too.
2499
2500 2002-10-14 Alan Modra <amodra@bigpond.net.au>
2501
2502 * Makefile.am: Run "make dep-am".
2503 (CPU_OBJ_VALID): sh64 coff is invalid.
2504 * as.c: #include "bfdver.h".
2505 * Makefile.in: Regenerate.
2506 * config.in: Regenerate.
2507
2508 2002-10-14 Momchil Velikov <velco@fadata.bg>
2509
2510 * config/tc-v850.c (CHECK_): Remove token pasting operator.
2511
2512 2002-10-14 Richard Sandiford <rsandifo@redhat.com>
2513
2514 * configure.in (mips64vr-elf, mips64vrel-elf): New config.
2515 * configure: Regenerate.
2516
2517 2002-10-13 Eric Christopher <echristo@redhat.com>
2518 Alexandre Oliva <aoliva@redhat.com>
2519
2520 * config/tc-mips.c (s_gpdword): New function.
2521 (mips_pseudo_table): Add .gpdword.
2522 (mips_need_elf_addend_fixup): never for NEWABI.
2523 (md_apply_fix3): Don't mark BFD_RELOC64 after GPREL16 or
2524 GPREL32 as done.
2525 (s_cpadd): Generate .cpadd on NEWABI.
2526
2527 2002-10-12 Elias Athanasopoulos <eathan@otenet.gr>
2528
2529 * config/tc-ppc.c (ppc_cleanup): Make 'i' unsigned int.
2530
2531 2002-10-12 Alexandre Oliva <aoliva@redhat.com>
2532
2533 * config/tc-mips.h (mips_relax_frag): Take segment as argument.
2534 (md_relax_frag): Adjust macro.
2535 * config/tc-mips.c (mips_relax_branch): New variable.
2536 (RELAX_BRANCH_ENCODE, RELAX_BRANCH_P, RELAX_BRANCH_LIKELY,
2537 RELAX_BRANCH_LINK, RELAX_BRANCH_TOOBAR): New.
2538 (RELAX_MIPS16_P): Adjust.
2539 (append_insn): Emit branch to non-constant in a frag_var if
2540 branch-relaxation is desirable and possible.
2541 (OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH): New options.
2542 (OPTION_ELF_BASE): Adjust.
2543 (md_parse_option): Handle new options.
2544 (md_apply_fix3): Update comment on EMBEDDED_PIC conditional
2545 branch relaxation.
2546 (relaxed_branch_length): New function.
2547 (md_estimate_size_before_relax): Handle branch frags.
2548 (mips_relax_frag): Likewise.
2549 (md_convert_frag): Handle branch frags. Warn if branch is
2550 relaxed.
2551
2552 2002-10-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2553
2554 * config/tc-sh.c (sh_force_relocation): Make sure TLS relocs get
2555 emitted.
2556 (md_apply_fix3): Add TLS relocs.
2557 (sh_parse_name): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF and
2558 @DTPOFF.
2559
2560 2002-10-11 Michel Six <msix@ccr.jussieu.fr>
2561 Alan Modra <amodra@bigpond.net.au>
2562
2563 * config/tc-i386.c (output_jump): Set fx_signed for loop/jcxz.
2564 (md_estimate_size_before_relax): Likewise for 8 bit branches.
2565
2566 Thu Oct 10 14:31:30 2002 J"orn Rennecke <joern.rennecke@superh.com>
2567
2568 * config/tc-sh.c (assemble_ppi): Initialize reg_x / reg_y / reg_n
2569 inside loop.
2570
2571 2002-10-09 Richard Shann <richard.shann@superh.com>
2572 Stephen Clarke <stephen.clarke@superh.com>
2573
2574 * config/tc-sh64.c (sh64_target_format): Add support for sh64
2575 Linux environment.
2576
2577 2002-10-03 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2578
2579 * contig/tc-sh.c (sh_local_pcrel): New.
2580 (sh_force_relocation): Use sh_local_pcrel.
2581 (md_pcrel_from_section): Check the relocation type whether it
2582 should be resolved locally. Use S_FORCE_RELOC.
2583
2584 2002-10-01 Alan Modra <amodra@bigpond.net.au>
2585
2586 * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define.
2587 (TC_FORCE_RELOCATION): Tidy arg.
2588
2589 2002-09-30 Gavin Romig-Koch <gavin@redhat.com>
2590 Ken Raeburn <raeburn@cygnus.com>
2591 Aldy Hernandez <aldyh@redhat.com>
2592 DJ Delorie <dj@redhat.com>
2593 Michael Meissner <meissner@redhat.com>
2594 Eric Christopher <echristo@redhat.com>
2595 Richard Sandiford <rsandifo@redhat.com>
2596
2597 * doc/c-mips.texi: Add entries for -march=vr4120,vr4130,vr4181,
2598 vr5400 and vr5500. Add entry for -mfix-vr4122-bugs.
2599 * config/tc-mips.c (CPU_HAS_DROR, CPU_HAS_ROR): New macros.
2600 (hilo_interlocks): True for CPU_VR5500.
2601 (gpr_interlocks, cop_interlocks): True for CPU_VR5400 and CPU_VR5500.
2602 (mips_fix_vr4122_bugs): New.
2603 (append_insn): Work around 4122 errors if mips_fix_vr4122_bugs.
2604 (mips_emit_delays): Likewise.
2605 (macro2) [M_DROLI]: Use dror or dror32 if CPU_HAS_DROR.
2606 [M_ROLI]: Likewise ror if CPU_HAS_ROR.
2607 (validate_mips_insn, mips_ip): Handle '[', ']', 'e' and '%'.
2608 (OPTION_FIX_VR4122, OPTION_NO_FIX_VR4122): New options.
2609 (md_longopts): Add -mfix-vr4122-bugs and -no-mfix-vr4122-bugs.
2610 (OPTION_ELF_BASE): Bump.
2611 (md_parse_option): Handle the new options.
2612 (mips_cpu_info_table): Add entries for vr4120, vr4130, vr4181,
2613 vr5400 and vr5500.
2614
2615 2002-09-29 H.J. Lu <hjl@gnu.org>
2616
2617 * config/tc-mips.c (md_apply_fix3): Subtract the symbol value
2618 twice if howto->pcrel_offset is true.
2619
2620 2002-09-28 Matt Thomas <matt@3am-software.com>
2621 Jason Thorpe <thorpej@wasabisystems.com>
2622
2623 * config/tc-vax.c (md_estimate_size_before_relax): Only try to
2624 convert undefined references to GOT32/PLT32 if PIC code is
2625 requested. Fix comment.
2626
2627 2002-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2628
2629 * config/tc-sh.c (sh_force_relocation): Return 0 for
2630 some PC relative relocations when not relaxing.
2631
2632 2002-09-26 Jakub Jelinek <jakub@redhat.com>
2633
2634 * config/tc-i386.c (tc_i386_fix_adjustable): Add x86-64 TLS relocs.
2635 Define them if not BFD_ASSEMBLER.
2636 (lex_got): Handle @tlsgd, @dtpoff and @tpoff in 64-bit mode, add
2637 @tlsld.
2638 (md_apply_fix3): No addend for BFD_RELOC_X86_64_TLSGD,
2639 BFD_RELOC_X86_64_TLSLD and BFD_RELOC_X86_64_GOTTPOFF.
2640 (tc_gen_reloc): Handle x86-64 TLS relocs.
2641
2642 2002-09-27 Alan Modra <amodra@bigpond.net.au>
2643
2644 * config/tc-avr.c (md_apply_fix3): Reinstate code handling pcrel
2645 fixups to current or absolute section.
2646
2647 2002-09-26 Jim Wilson <wilson@redhat.com>
2648
2649 * config/tc-v850.c (v850_offset): Use frag_var instead of frag_now_fix
2650 and frag_more.
2651
2652 2002-09-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2653
2654 * config/tc-mips.c (CPU_HAS_MIPS16): Add mips-lsi-elf as MIPS16
2655 capable configuration.
2656 (macro_build): Check for MIPS16 capability, not for actual MIPS16 code
2657 generation.
2658 (mips_ip): Likewise.
2659
2660 2002-09-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2661
2662 * config/tc-mips.c (append_insn): Fix jump overflow check.
2663
2664 2002-09-24 Alan Modra <amodra@bigpond.net.au>
2665
2666 * config/tc-i386.c (process_operands): Warn about "lea" segment
2667 overrides.
2668
2669 2002-09-22 Mark Elbrecht <snowball3@softhome.net>
2670
2671 * write.c: Delete set_segment_vma and prototype. Update all callers.
2672
2673 2002-09-21 Alan Modra <amodra@bigpond.net.au>
2674
2675 * config/tc-i386.c (md_apply_fix3): Replace S_IS_EXTERNAL,
2676 S_IS_WEAK etc. with S_FORCE_RELOC call. Correct comment.
2677 Rename "fseg" to "sym_seg".
2678 * Makefile.am: Run "make dep-am".
2679 * Makefile.in: Regenerate.
2680 * doc/Makefile.in: Regenerate.
2681
2682 2002-09-20 Nick Clifton <nickc@redhat.com>
2683
2684 * symbols.c (colon): Do not allow symbols to be created in the
2685 absolute section if WORKING_DOT_WORD is not defined and
2686 new_broken_words would require a new frag to be created.
2687
2688 2002-09-20 Alan Modra <amodra@bigpond.net.au>
2689
2690 * expr.c (expr): Simplify foo-foo here.
2691 (clean_up_expression): Remove O_subtract code.
2692
2693 * write.h (struct fix): Add fx_dot_value.
2694 (dot_value): Declare.
2695 * write.c (dot_value): New var.
2696 (fix_new_internal): Save dot_value as fx_dot_value.
2697 (fixup_segment): Adjust fx_offset using fx_dot_value.
2698 * expr.c (expr): Update dot_value.
2699
2700 2002-09-19 Jakub Jelinek <jakub@redhat.com>
2701
2702 * config/tc-i386.c (tc_i386_fix_adjustable): Handle
2703 BFD_RELOC_386_TLS_IE and BFD_RELOC_386_TLS_GOTIE.
2704 (BFD_RELOC_386_TLS_IE, BFD_RELOC_386_TLS_GOTIE): Define to 0
2705 if not defined.
2706 (lex_got): Handle @GOTNTPOFF and @INDNTPOFF.
2707 (md_apply_fix3, tc_gen_reloc): Handle BFD_RELOC_386_TLS_IE and
2708 BFD_RELOC_386_TLS_GOTIE.
2709
2710 2002-09-19 Richard Henderson <rth@redhat.com>
2711
2712 * config/tc-alpha.c (md_pcrel_from): Only adjust special for
2713 branch type relocs.
2714 (alpha_force_relocation): Don't special-case branch type relocs.
2715
2716 2002-09-19 Nick Clifton <nickc@redhat.com>
2717
2718 * config/tc-m68k.c (select_control_regs): Handle situation where
2719 architecture has not yet been selected.
2720
2721 2002-09-18 Chris Demetriou <cgd@broadcom.com>
2722
2723 * config/tc-mips.c (IS_SEXT_32BIT_NUM): Move closer to top of file.
2724 (IS_SEXT_16BIT_NUM): New macro.
2725 (macro_build_ldst_constoffset): New function, to build a set of
2726 instructions to do a load or store from a constant offset relative
2727 to a given register.
2728 (macro, s_cprestore): Use macro_build_ldst_constoffset to implement
2729 .cprestore pseudo-op.
2730
2731 2002-09-18 Chris Demetriou <cgd@broadcom.com>
2732
2733 * config/tc-mips.c (md_apply_fix3): Just return for BFD_RELOC_8.
2734
2735 2002-09-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2736
2737 * config/tc-mips.c (s_change_section): Fix parsing. Code cleanup.
2738
2739 2002-09-17 Stan Cox <scox@redhat.com>
2740
2741 * tc-mips.c (load_address): Use BFD_RELOC_MIPS_GOT_DISP for newabi.
2742 (macro): Likewise for la. Likewise for ld.
2743 (mips_after_parse_args): Make -xgot optional, not the default.
2744 (md_apply_fix3): Allow composite relocation to set up gp.
2745 (tc_gen_reloc): Allow relaxing for newabi.
2746 Relax R_MIPS_CALL16 to R_MIPS_GOT_PAGE/R_MIPS_GOT_OFST if local.
2747 Relax R_MIPS_GOT16/R_MIPS_LO16 to R_MIPS_GOT_DISP if local.
2748
2749 2002-09-17 Nick Clifton <nickc@redhat.com>
2750
2751 * config/tc-arm.c (md_apply_fix3): Note that an implemented
2752 BFD_RELOC_ARM_IMMEDIATE has been done.
2753 (tc_gen_reloc): Do not issue reloc number of unimplemented
2754 BFD_RELOC_ARM_IMMEDIATE and BFD_RELOC_ARM_OFFSET_IMM relocs -
2755 their name is already in the error message - plus remove them
2756 from the default case.
2757
2758 * config/tc-arm.c (do_ldmstm): Warn about unpredictable
2759 behavior of instructions.
2760
2761 2002-09-17 Svein E. Seldal <Svein.Seldal@solidas.com>
2762
2763 * config/tc-tic4x.c: Add function declarations and ATTRIBUTE_UNUSED.
2764 Convert functions to K&R format.
2765
2766 2002-09-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2767
2768 * config/tc-mips.c (pdr_seg): Define only for ELF.
2769 (s_change_section): Remove unused variable. Don't use for nonELF.
2770
2771 2002-09-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2772
2773 * config/obj-elf.c (obj_elf_change_section): Move prototype to
2774 obj-elf.h
2775 * config/obj-elf.h (obj_elf_change_section): Likewise.
2776
2777 2002-09-16 Elias Athanasopoulos <eathan@otenet.gr>
2778
2779 * dwarf2dbg.c (out_debug_abbrev): Add support for the DW_AT_name field.
2780 (out_debug_info): Likewise.
2781
2782 2002-09-16 Bruno Haible <bruno@clisp.org>
2783
2784 * config/tc-i386.h (ELF_TARGET_FORMAT): New macro.
2785 (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf32-i386".
2786 * config/tc-i386.c (i386_target_format): Likewise.
2787 * config/tc-alpha.h (ELF_TARGET_FORMAT): New macro.
2788 (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf64-alpha".
2789
2790 2002-09-13 Nick Clifton <nickc@redhat.com>
2791
2792 * config/tc-ppc.c (md_assemble): Do not count FAKE operands
2793 when deciding if any operands have been skipped.
2794
2795 2002-09-11 Nick Clifton <nickc@redhat.com>
2796
2797 * NEWS: New TI port supports both C4x and C3x series of DSPs.
2798
2799 * po/tr.po: Updated Turkish translation.
2800
2801 2002-09-11 Jakub Jelinek <jakub@redhat.com>
2802
2803 * config/tc-i386.c (md_apply_fix3): Allow addend for
2804 BFD_RELOC_386_TLS_LDO_32, BFD_RELOC_386_TLS_LE and
2805 BFD_RELOC_386_TLS_LE_32.
2806
2807 2002-09-05 Jeff Law <law@redhat.com>
2808
2809 * config/tc-hppa.c (md_apply_fix3): Don't set fx_done for
2810 marker relocations such as ENTRY/EXIT.
2811 * config/tc-hppa.h (MD_APPLY_SYM_VALUE): Definition applies
2812 to both OBJ_ELF and OBJ_SOM.
2813
2814 2002-09-05 Alan Modra <amodra@bigpond.net.au>
2815
2816 * doc/internals.texi (md_apply_fix3): Expand.
2817 (TC_VALIDATE_FIX, TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_ABS,
2818 TC_FORCE_RELOCATION_LOCAL, TC_FORCE_RELOCATION_SUB_SAME,
2819 TC_FORCE_RELOCATION_SUB_ABS, TC_FORCE_RELOCATION_SUB_LOCAL,
2820 TC_VALIDATE_FIX_SUB, MD_APPLY_SYM_VALUE, S_FORCE_RELOC,
2821 EXTERN_FORCE_RELOC): Document.
2822 (TC_HANDLES_FX_DONE, obj_fix_adjustable): Remove.
2823 * as.h: Don't include struc-symbol.h for arc.
2824 (IS_ELF): Define.
2825 * cgen.c (gas_cgen_md_apply_fix3): Remove *valP fudges and code to
2826 subtract absolute symbol.
2827 * obj.h (struct format_ops): Add frob_file_before_fix.
2828 * subsegs.c (section_symbol): Set BSF_SECTION_SYM flag.
2829 * symbols.c (S_FORCE_RELOC): New function.
2830 * symbols.h (S_FORCE_RELOC): Declare.
2831 * write.c (TC_FORCE_RELOCATION): Change default.
2832 (TC_FORCE_RELOCATION_ABS): Define.
2833 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
2834 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
2835 (TC_FORCE_RELOCATION_SECTION): Don't define.
2836 (TC_FORCE_RELOCATION_SUB_SAME): Define this instead.
2837 (TC_FORCE_RELOCATION_SUB_ABS): Define.
2838 (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
2839 (TC_VALIDATE_FIX_SUB): Define.
2840 (TC_FIX_ADJUSTABLE): Don't define.
2841 (MD_APPLY_SYM_VALUE): Define this instead.
2842 (abs_section_sym): New variable.
2843 (adjust_reloc_syms): Use S_FORCE_RELOC. Remove obj_fix_adjustable
2844 call. Don't symbol_mark_used_in_reloc here. Simplify link_once tests.
2845 Don't put the absolute section sym on fixups here.
2846 (fix_segment): New function.
2847 (write_relocs): Don't call fixup_segment from here.
2848 (write_object_file): Instead call tc_frob_file_before_fix,
2849 obj_frob_file_before_fix, and fix_segment prior to symbol table code.
2850 Don't output the absolute section symbol.
2851 (fixup_segment): Rewrite.
2852 * write.h (abs_section_sym): Declare.
2853 * config/obj-aout.c (obj_aout_frob_file_before_fix): Rename from
2854 obj_aout_frob_file.
2855 (aout_format_ops): Adjust to suit.
2856 * config/obj-aout.h (obj_frob_file): Don't define.
2857 (obj_frob_file_before_fix): Define.
2858 (obj_aout_frob_file_before_fix): Rename from obj_aout_frob_file.
2859 (S_FORCE_RELOC): Define.
2860 * config/obj-bout.h (S_FORCE_RELOC): Define.
2861 * config/obj-coff.c (coff_format_ops): Init new field.
2862 * config/obj-coff.h: Formatting fixes.
2863 (obj_sec_sym_ok_for_reloc): Define.
2864 (S_FORCE_RELOC): Define.
2865 * config/obj-ecoff.c (ecoff_frob_file_before_fix): Split out ..
2866 (ecoff_frob_file): .. from here.
2867 (ecoff_format_ops): Add new function.
2868 * config/obj-ecoff.h (ecoff_frob_file_before_fix): Declare.
2869 (obj_frob_file_before_fix): Define.
2870 * config/obj-elf.c (elf_format_ops): Init new field.
2871 * config/obj-elf.h (obj_sec_sym_ok_for_reloc): Expand comment.
2872 * config/obj-ieee.h: Formatting fixes.
2873 (S_FORCE_RELOC): Define.
2874 * config/obj-multi.h (obj_frob_file_before_fix): Define.
2875 * config/obj-vms.h (S_FORCE_RELOC): Define.
2876 * config/tc-alpha.c (md_apply_fix3): Correct GPDISP comment.
2877 (alpha_force_relocation): Use S_FORCE_RELOC, and don't return 0
2878 for BFD_RELOC_32 and BFD_RELOC_64.
2879 (alpha_fix_adjustable): Remove extern and weak tests.
2880 (alpha_before_fix): Rename from alpha_adjust_symtab.
2881 (alpha_adjust_relocs): Rename from alpha_adjust_symtab_relocs.
2882 * config/tc-alpha.h (struct fix, struct alpha_reloc_tag): Declare.
2883 (TC_VALIDATE_FIX): Tweak param name.
2884 (TC_FORCE_RELOCATION, tc_fix_adjustable): Likewise.
2885 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
2886 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
2887 (MD_APPLY_SYM_VALUE): Define.
2888 (tc_adjust_symtab): Don't define.
2889 (alpha_adjust_symtab): Don't declare.
2890 (tc_frob_file_before_fix): Define.
2891 (alpha_before_fix): Declare.
2892 (TC_INIT_FIX_DATA): Tweak param names.
2893 * config/tc-arc.c: Include "struc-symbol.h".
2894 (md_pcrel_from): Remove undefined sym fudge.
2895 (md_apply_fix3): Remove *valP fudges and code to subtract abs sym.
2896 Don't set fx_addnumber.
2897 (tc_gen_reloc): Remove spurious fx_addnumber comment.
2898 * config/tc-arc.h (MD_APPLY_SYM_VALUE): Define.
2899 (EXTERN_FORCE_RELOC): Define.
2900 * config/tc-arm.c (md_apply_fix3 <case BFD_RELOC_ARM_GOTPC>): Remove.
2901 (tc_gen_reloc): Fudge ARM_GOTPC addend.
2902 (arm_validate_fix): Return void.
2903 (arm_fix_adjustable <elf version>): Remove extern and weak tests.
2904 Add plt and got reloc tests.
2905 (arm_force_relocation): Call S_FORCE_RELOC.
2906 * config/tc-arm.h (struct fix): Forward declare.
2907 (TC_VALIDATE_FIX): No longer set add_symbolP.
2908 (arm_validate_fix): Adjust declaration.
2909 (TC_FORCE_RELOCATION <pe version): Call S_FORCE_RELOC.
2910 (TC_FORCE_RELOCATION): Tweak param name.
2911 (TC_INIT_FIX_DATA): Likewise.
2912 (obj_fix_adjustable): Don't define.
2913 (tc_fix_adjustable): Call arm_fix_adjustable.
2914 (TC_FIX_ADJUSTABLE): Don't define.
2915 (MD_APPLY_SYM_VALUE): Define.
2916 (EXTERN_FORCE_RELOC): Define.
2917 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
2918 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
2919 * config/tc-avr.c (md_apply_fix3): Don't cast valP pointer type.
2920 Remove *valP fudges and code to subtract abs sym. Don't set
2921 fx_addnumber.
2922 * config/tc-avr.h: Formatting.
2923 (EXTERN_FORCE_RELOC): Define.
2924 (MD_APPLY_SYM_VALUE): Define.
2925 * config/tc-cris.c (tc_gen_reloc): Don't use fx_addnumber.
2926 (md_apply_fix3): Remove code to subtract abs sym.
2927 (md_cris_force_relocation): Update comment. Call S_FORCE_RELOC.
2928 * config/tc-cris.h (TC_FORCE_RELOCATION): Tweak param name.
2929 (IS_CRIS_PIC_RELOC, tc_fix_adjustable): Likewise.
2930 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
2931 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
2932 (tc_fix_adjustable): Remove extern, weak tests.
2933 * config/tc-d10v.c (tc_gen_reloc): Don't fiddle address of
2934 BFD_RELOC_VTABLE_INHERIT relocs. Don't use fx_addnumber.
2935 (md_apply_fix3): Don't cast valP pointer type. Remove *valP fudges
2936 and code to subtract abs sym.
2937 (d10v_fix_adjustable): Remove extern, weak, SEC_MERGE tests.
2938 (d10v_force_relocation): Call S_FORCE_RELOC.
2939 * config/tc-d10v.h: Don't include write.h.
2940 (struct fix): Instead, forward declare.
2941 (MD_PCREL_FROM_SECTION): Tweak param names.
2942 (md_pcrel_from_section): Use "struct fix" instead of "fixS".
2943 (d10v_fix_adjustable): Likewise.
2944 (obj_fix_adjustable): Don't define.
2945 (tc_fix_adjustable): Define.
2946 (TC_FORCE_RELOCATION): Tweak param name.
2947 (MD_APPLY_SYM_VALUE): Define.
2948 (EXTERN_FORCE_RELOC): Define.
2949 * config/tc-d30v.c (tc_gen_reloc): Don't use fx_addnumber.
2950 (md_apply_fix3): Don't cast valP pointer type. Remove *valP fudges
2951 and code to subtract abs sym.
2952 * config/tc-d30v.h: Don't include write.h.
2953 (struct fix): Instead, forward declare.
2954 (MD_PCREL_FROM_SECTION): Tweak param names.
2955 (md_pcrel_from_section): Use "struct fix" instead of "fixS".
2956 (MD_APPLY_SYM_VALUE): Define.
2957 (EXTERN_FORCE_RELOC): Define.
2958 * config/tc-dlx.c (md_dlx_force_relocation): Call S_FORCE_RELOC.
2959 (md_dlx_fix_adjustable): Don't test for NULL fx_addsy.
2960 (md_apply_fix3): No need to test fx_pcrel before setting fx_done.
2961 (tc_gen_reloc): Don't fiddle with BFD_RELOC_VTABLE_INHERIT relocs.
2962 Adjust the address for BFD_RELOC_VTABLE_ENTRY, not the addend.
2963 Don't use fx_addnumber.
2964 * config/tc-dlx.h: Don't include write.h.
2965 (md_convert_frag): We're not alpha twice over.
2966 (EXTERN_FORCE_RELOC): Define.
2967 (obj_fix_adjustable): Don't define.
2968 (tc_fix_adjustable): Define.
2969 (TC_FIX_ADJUSTABLE): Don't define.
2970 (MD_APPLY_SYM_VALUE): Define.
2971 (LOCAL_LABELS_DOLLAR): Undef always.
2972 * config/tc-fr30.c (fr30_force_relocation): Call S_FORCE_RELOC.
2973 (fr30_fix_adjustable): Remove extern, weak tests.
2974 * config/tc-fr30.h (MD_APPLY_SYM_VALUE): Define.
2975 (obj_fix_adjustable): Don't define.
2976 (tc_fix_adjustable): Define.
2977 (struct fix): Forward declare.
2978 (MD_PCREL_FROM_SECTION): Tweak param name. Remove duplicate.
2979 * config/tc-frv.c (frv_force_relocation): Call S_FORCE_RELOC.
2980 (frv_fix_adjustable): Don't do extern, weak tests.
2981 * config/tc-frv.h (MD_APPLY_SYM_VALUE): Define.
2982 (TC_FIX_ADJUSTABLE): Don't define.
2983 (obj_fix_adjustable): Don't define.
2984 (tc_fix_adjustable): Define.
2985 (struct fix): Forward declare.
2986 (MD_PCREL_FROM_SECTION): Tweak param name. Remove duplicate.\
2987 * config/tc-h8300.c (md_apply_fix3): Don't cast valP pointer type.
2988 * config/tc-h8300.h (struct fix): Forward declare.
2989 (EXTERN_FORCE_RELOC): Define.
2990 * config/tc-hppa.c (md_apply_fix3): Remove subtraction of sym value.
2991 (hppa_fix_adjustable): Don't test extern or weak. Don't
2992 symbol_mark_used_in_reloc.
2993 (hppa_force_relocation): Use S_FORCE_RELOC instead of S_IS_EXTERNAL
2994 and S_IS_WEAK.
2995 * config/tc-hppa.h (EXTERN_FORCE_RELOC): Define
2996 (TC_FORCE_RELOCATION, TC_INIT_FIX_DATA): Tweak param name.
2997 (TC_FORCE_RELOCATION_SECTION): Don't define.
2998 (MD_APPLY_SYM_VALUE): Define.
2999 * config/tc-i370.c (md_apply_fix3): Remove *valP fudges and code
3000 to subtract abs sym.
3001 * config/tc-i370.h: Remove ifdef OBJ_ELF tests.
3002 (MD_APPLY_SYM_VALUE): Define.
3003 (MD_PCREL_FROM_SECTION): Tweak param name.
3004 * config/tc-i386.c (tc_i386_fix_adjustable): Remove weak, extern tests.
3005 (md_apply_fix3): Test fx_addsy, not fx_pcrel.
3006 (i386_force_relocation): New function.
3007 * config/tc-i386.h (TC_COFF_FIX2RTYPE): Tweak param name.
3008 (TC_VALIDATE_FIX): Likewise.
3009 (TC_FIX_ADJUSTABLE): Don't define.
3010 (MD_APPLY_SYM_VALUE): Define.
3011 (TC_FORCE_RELOCATION <elf version>): Call i386_force_relocation.
3012 (i386_force_relocation): Declare.
3013 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
3014 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
3015 (TC_FORCE_RELOCATION <coff version>): Call S_FORCE_RELOC.
3016 * config/tc-i860.c (md_apply_fix3): Don't cast valP pointer type.
3017 * config/tc-i860.h (MD_APPLY_SYM_VALUE): Define.
3018 (EXTERN_FORCE_RELOC): Define.
3019 * config/tc-i960.c (reloc_callj): Remove declaration. Return false.
3020 (md_apply_fix3): Don't cast valP pointer type. Move code here from
3021 old fixup_segment. No need to test fx_pcrel before setting fx_done.
3022 (i960_validate_fix): Remove add_symbolPP arg and add_symbolP macro.
3023 Use fx_addsy instead of add_symbolP, as_bad_where instead of as_bad.
3024 Remove #if 0 code. Invert return boolean.
3025 * config/tc-i960.h (TC_COUNT_RELOC): Tweak param name.
3026 (TC_COFF_FIX2RTYPE, TC_ADJUST_RELOC_COUNT, TC_VALIDATE_FIX): Likewise.
3027 (tc_headers_hook, tc_coff_fix2rtype): Remove declaration.
3028 (tc_coff_sizemachdep): Prototype.
3029 (i960_handle_align): Likewise.
3030 (i960_validate_fix): Adjust declaration.
3031 (reloc_callj): Likewise.
3032 (EXTERN_FORCE_RELOC): Define.
3033 (TC_FORCE_RELOCATION_SUB_SAME): Define.
3034 (TC_FORCE_RELOCATION_ABS): Define.
3035 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
3036 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
3037 (TC_FIX_ADJUSTABLE): Don't define.
3038 (MD_APPLY_SYM_VALUE): Define.
3039 * config/tc-ia64.c (ia64_force_relocation): Call S_FORCE_RELOC.
3040 * config/tc-ia64.h (MD_APPLY_SYM_VALUE): Define.
3041 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
3042 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
3043 * config/tc-ip2k.c (ip2k_force_relocation): Call S_FORCE_RELOC.
3044 * config/tc-ip2k.h (MD_APPLY_FIX3): Don't define.
3045 (MD_APPLY_SYM_VALUE): Define.
3046 (EXTERN_FORCE_RELOC): Define.
3047 (TC_FORCE_RELOCATION): Tweak param name.
3048 * config/tc-m32r.c (m32r_force_relocation): Call S_FORCE_RELOC.
3049 (m32r_fix_adjustable): Don't test extern, weak.
3050 * config/tc-m32r.h (MD_PCREL_FROM_SECTION): Tweak param name.
3051 (MD_APPLY_SYM_VALUE): Define.
3052 (obj_fix_adjustable): Don't define.
3053 (tc_fix_adjustable): Define.
3054 (tc_frob_file): Don't define.
3055 (tc_frob_file_before_fix): Define.
3056 (EXTERN_FORCE_RELOC): Define.
3057 * config/tc-m68hc11.c (tc_gen_reloc): Set addend to zero. Adjust
3058 BFD_RELOC_VTABLE_ENTRY address.
3059 (tc_m68hc11_force_relocation): Call S_FORCE_RELOC.
3060 (tc_m68hc11_fix_adjustable): Don't test relaxable_symbol.
3061 (md_apply_fix3): Remove *valP fudges and code to subtract abs sym.
3062 Remove duplicated fx_done code.
3063 * config/tc-m68hc11.h (MD_APPLY_SYM_VALUE): Define.
3064 (EXTERN_FORCE_RELOC): Define.
3065 * config/tc-m68k.c (tc_m68k_fix_adjustable): Don't test
3066 relaxable_symbol.
3067 * config/tc-m68k.h (TC_COFF_FIX2RTYPE): Tweak param name.
3068 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
3069 (TC_FIX_ADJUSTABLE): Don't define.
3070 (EXTERN_FORCE_RELOC): Define.
3071 (MD_APPLY_SYM_VALUE): Define.
3072 (TC_FORCE_RELOCATION): Call S_FORCE_RELOC.
3073 * config/tc-mcore.c (md_apply_fix3): Don't cast valP pointer type.
3074 Remove fx_addsy tests.
3075 (mcore_force_relocation): Call S_FORCE_RELOC.
3076 (mcore_fix_adjustable): Don't test fx_addsy.
3077 * config/tc-mcore.h (MD_PCREL_FROM_SECTION): Tweak param name.
3078 (EXTERN_FORCE_RELOC): Define.
3079 (obj_fix_adjustable): Don't define.
3080 (tc_fix_adjustable): Define.
3081 (MD_APPLY_SYM_VALUE): Define.
3082 * config/tc-mips.c (enum mips_pic_level): Move to tc-mips.h.
3083 (mips_pic): No longer static.
3084 (mips_force_relocation): Call S_FORCE_RELOC.
3085 (mips_fix_adjustable): Remove extern, weak tests.
3086 * config/tc-mips.h (enum mips_pic_level): Declare.
3087 (mips_pic): Declare.
3088 (tc_frob_file): Don't define.
3089 (tc_frob_file_before_fix): Define this instead.
3090 (EXTERN_FORCE_RELOC): Define.
3091 * config/tc-mmix.c (md_apply_fix3): Replace real_reg_section tests
3092 with reg_section tests. Set fx_done instead of calling
3093 symbol_clear_used_in_reloc on bad relocs.
3094 (tc_gen_reloc): Zero fx_addsy on bad relocs.
3095 (mmix_force_relocation): Remove weak sym test. Call S_FORCE_RELOC.
3096 (mmix_adjust_symtab): Simplify list handling. Abort on any
3097 nonsense.
3098 * config/tc-mmix.h (tc_fix_adjustable): Remove weak tests. Check
3099 BFD_RELOC_MMIX_LOCAL.
3100 (tc_frob_symbol): Keep user defined syms in reg_section. Don't punt.
3101 (EXTERN_FORCE_RELOC): Define.
3102 (MD_PCREL_FROM_SECTION): Tweak param name.
3103 (tc_frob_file): Don't define.
3104 (tc_frob_file_before_fix): Define this instead.
3105 * config/tc-mn10300.c (mn10300_force_relocation): Call S_FORCE_RELOC.
3106 Remove SEC_CODE checks.
3107 (mn10300_fix_adjustable): Remove extern and weak tests.
3108 * config/tc-mn10300.h (EXTERN_FORCE_RELOC): Define.
3109 (TC_FORCE_RELOCATION): Tweak param name.
3110 (obj_fix_adjustable): Don't define.
3111 (TC_FORCE_RELOCATION_SUB_SAME): Define to handle SEC_CODE.
3112 * config/tc-ns32k.h (TC_FIX_DATA_PRINT): Tweak param name.
3113 * config/tc-openrisc.c (openrisc_force_relocation): Call S_FORCE_RELOC.
3114 (openrisc_fix_adjustable): Don't test fx_addsy.
3115 * config/tc-openrisc.h (MD_APPLY_SYM_VALUE): Define.
3116 (obj_fix_adjustable): Don't define.
3117 (tc_fix_adjustable): Define this instead.
3118 (MD_PCREL_FROM_SECTION): Remove duplicate. Tweak param name.
3119 * config/tc-or32.c (md_apply_fix3): Don't cast valP pointer type.
3120 (tc_gen_reloc): Don't fiddle with BFD_RELOC_VTABLE_INHERIT relocs.
3121 Adjust the address for BFD_RELOC_VTABLE_ENTRY, not the addend.
3122 * config/tc-or32.h (EXTERN_FORCE_RELOC): Define.
3123 (MD_APPLY_SYM_VALUE): Define.
3124 * config/tc-pj.c (md_apply_fix3): Don't cast valP pointer type.
3125 Don't subtract symbol value.
3126 * config/tc-pj.h (md_pcrel_from): Tweak param name.
3127 (EXTERN_FORCE_RELOC): Define.
3128 (TC_FORCE_RELOCATION): Call S_FORCE_RELOC.
3129 (MD_APPLY_SYM_VALUE): Define.
3130 (obj_fix_adjustable): Don't define.
3131 (tc_fix_adjustable): Define this instead.
3132 * config/tc-ppc.c (ppc_frob_symbol <coff version>): Ignore absolute
3133 section sym.
3134 (ppc_force_relocation <coff version>): Call S_FORCE_RELOC.
3135 (ppc_force_relocation <elf version>): New.
3136 (ppc_fix_adjustable <elf version>): Remove extern and weak tests.
3137 (md_apply_fix3): Don't subtract symbol values for ELF. Update
3138 comments. Don't subtract fx_subsy as that is already done.
3139 * config/tc-ppc.h (tc_fix_adjustable): Tweak param name.
3140 (MD_PCREL_FROM_SECTION): Likewise.
3141 (TC_FORCE_RELOCATION): Define for both ELF and XCOFF as calling
3142 ppc_force_relocation.
3143 (TC_FORCE_RELOCATION_SECTION): Delete.
3144 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
3145 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
3146 (MD_APPLY_SYM_VALUE): Define.
3147 * config/tc-s390.c: #include "dwarf2dbg.h".
3148 (s390_insn): Remove excess parens.
3149 (tc_s390_fix_adjustable): Remove extern, weak, SEC_MERGE tests.
3150 (tc_s390_force_relocation): Call S_FORCE_RELOC.
3151 (md_apply_fix3): Add ATTRIBUTE_UNUSED on "seg". Abort when fx_subsy
3152 non-NULL. Don't subtract off fx_addsy value.
3153 * config/tc-s390.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
3154 (TC_FORCE_RELOCATION, MD_PCREL_FROM_SECTION): Tweak param name.
3155 (TC_FIX_ADJUSTABLE): Don't define.
3156 (MD_APPLY_SYM_VALUE): Define.
3157 * config/tc-sh.c (SWITCH_TABLE_CONS): Move to tc-sh.h.
3158 (SWITCH_TABLE): Likewise.
3159 (sh_force_relocation): Call S_FORCE_RELOC.
3160 (sh_fix_adjustable): Remove "return 1" cases handled by the default.
3161 Replace TC_RELOC_RTSYM_LOC_FIXUP with reloc type tests.
3162 (md_apply_fix3 <case BFD_RELOC_32_PLT_PCREL>): Simplify,
3163 fx_addnumber is zero on entry. Save val in fx_addnumber.
3164 (tc_gen_reloc): Don't subtract fx_subsy.
3165 * config/tc-sh.h (struct fix): Move.
3166 (obj_fix_adjustable): Don't define.
3167 (tc_fix_adjustable): Define this instead.
3168 (TC_FIX_ADJUSTABLE): Don't define.
3169 (MD_APPLY_SYM_VALUE): Define.
3170 (SWITCH_TABLE_CONS): Define.
3171 (SWITCH_TABLE): Define.
3172 (TC_FORCE_RELOCATION_SUB_SAME): Define.
3173 (TC_VALIDATE_FIX_SUB): Define.
3174 (MD_PCREL_FROM_SECTION): Tweak param name.
3175 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
3176 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
3177 (TC_FORCE_RELOCATION_SUB_ABS): Define.
3178 * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
3179 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
3180 (TC_FORCE_RELOCATION_SUB_SAME): Define.
3181 (TC_VALIDATE_FIX_SUB): Define.
3182 (MD_PCREL_FROM_SECTION): Tweak param name.
3183 * config/tc-sparc.c (md_apply_fix3): Don't subtract off symbol value.
3184 (tc_gen_reloc): Use S_FORCE_RELOC.
3185 (elf32_sparc_force_relocation): Call S_FORCE_RELOC.
3186 * config/tc-sparc.h (TC_FORCE_RELOCATION <coff version>): Remove.
3187 (TC_FORCE_RELOCATION_ABS): Define this instead.
3188 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
3189 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
3190 (tc_fix_adjustable): Remove extern and weak tests. Use S_FORCE_RELOC.
3191 (MD_APPLY_SYM_VALUE): Define.
3192 (TC_FIX_DATA_PRINT): Tweak param name.
3193 * config/tc-tic30.c (USE_STDOUT): Don't define.
3194 (md_parse_option): Remove stupid debug code.
3195 (tc_gen_reloc): Don't use fx_addnumber.
3196 * config/tc-v850.c (v850_fix_adjustable): Remove extern and weak tests.
3197 (v850_force_relocation): Remove weak test. Call S_FORCE_RELOC.
3198 * config/tc-v850.h (obj_fix_adjustable): Don't define.
3199 (tc_fix_adjustable): Define this instead.
3200 (TC_FIX_ADJUSTABLE): Don't define.
3201 (MD_APPLY_SYM_VALUE): Define this instead.
3202 (TC_FORCE_RELOCATION, MD_PCREL_FROM_SECTION): Tweak param name.
3203 * config/tc-vax.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
3204 (TC_FIX_ADJUSTABLE): Don't define.
3205 (MD_APPLY_SYM_VALUE): Define this instead.
3206 (tc_fix_adjustable): Remove extern and weak tests.
3207 * config/tc-w65.h (struct fix): Forward declare.
3208 * config/tc-xstormy16.c (xstormy16_force_relocation): Call
3209 S_FORCE_RELOC.
3210 (xstormy16_fix_adjustable): Remove extern and weak tests. Don't
3211 call xstormy16_force_relocation; Instead test for FPTR16 reloc.
3212 (xstormy16_md_apply_fix3): Remove *valP fudges and code to subtract
3213 absolute symbol.
3214 * config/tc-xstormy16.h (MD_APPLY_FIX3): Don't define.
3215 (MD_APPLY_SYM_VALUE): Define.
3216 (obj_fix_adjustable): Don't define.
3217 (tc_fix_adjustable): Define this instead.
3218 (MD_PCREL_FROM_SECTION): Remove duplicate. Tweak param name.
3219
3220 2002-09-04 Alan Modra <amodra@bigpond.net.au>
3221
3222 * config/tc-ppc.c (ppc_frob_symbol): Formatting, warning fix.
3223 (ppc_fix_adjustable <coff version>): Cleanup.
3224
3225 * config/tc-ppc.c (PPC_HIGHER, PPC_HIGHEST): Fix warning.
3226 (md_parse_option): No -a64 without BFD64.
3227 (ppc_set_cpu): Select appropriate cpu when ppc_obj64.
3228 (ppc_arch): Use bfd_mach_rs6k for bfd_arch_rs6000.
3229
3230 2002-09-04 Nick Clifton <nickc@redhat.com>
3231
3232 * config/tc-ppc.c (md_begin): Do not insert non-BookE32
3233 instructions into the hash table if the target cpu is the BookE32.
3234
3235 2002-08-31 Hans-Peter Nilsson <hp@bitrange.com>
3236
3237 * read.c (do_align): Use ATTRIBUTE_UNUSED_LABEL for label, not
3238 ATTRIBUTE_UNUSED.
3239
3240 2000-08-28 Catherine Moore <clm@redhat.com>
3241
3242 * tc-v850.c (v850_relax): Declare.
3243 (v850_longcode): New routine.
3244 (v850_handle_align): New routine.
3245 (md_pseudo_table): Add longcall and longjump.
3246 (md_parse_option): Check for relax option.
3247 (tc_gen_reloc): Handle BFD_RELOC_V850_LONGCALL,
3248 BFD_RELOC_V850_LONGJUMP, and BFD_RELOC_V850_ALIGN.
3249 (md_apply_fix3): Likewise.
3250 (v850_force_relocation): Likewise.
3251 (v850_comm): Change the current section.
3252 (md_assemble): Ensure that the correct value is put in the
3253 fixup.
3254 (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss,
3255 v850_zbss, v850_rosdata, v850_rozdata): Fix section book keeping.
3256 Remove redundant v850ea support.
3257 * tc-v850.h (HANDLE_ALIGN): Define.
3258 (v850_handle_align): Declare.
3259 * doc/c-v850.c: Document -mrelax, .longcall and .longjump.
3260
3261 2002-08-28 Svein E. Seldal <Svein.Seldal@solidas.com>
3262
3263 * configure.in: Add tic4x-coff* and c4x-coff*-coff-coff targets.
3264 * configure: Regenerate.
3265 * NEWS: Mention new port.
3266
3267 2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3268
3269 * config/obj-coff.c: Add sdef definition.
3270 * config/obj-coff.h: Add tic4x include file and set
3271 target format.
3272 * config/tc-tic4x.c: New file.
3273 * config/tc-tic4x.h: New file.
3274
3275 2002-08-28 Alan Modra <amodra@bigpond.net.au>
3276
3277 * write.c (BFD_FAST_SECTION_FILL): Remove unused macro.
3278 (TC_ADJUST_RELOC_COUNT): Tweak param name.
3279 (TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_SECTION): Likewise.
3280 (TC_FIX_ADJUSTABLE, MD_PCREL_FROM_SECTION): Likewise.
3281 (RELOC_ENUM): Define.
3282 (fix_new_internal): Use RELOC_ENUM.
3283 (fix_new, fix_new_exp): Likewise.
3284 (adjust_reloc_syms): Comment. Remove unnecessary tests on sym != NULL.
3285 Replace gotos with continue.
3286 (write_relocs): Formatting. Avoid symbol loops in
3287 RELOC_EXPANSION_POSSIBLE case too. Report bfd_reloc_outofrange
3288 errors, and error number in other cases.
3289 (fixup_segment): Remove param names from prototype. Rename
3290 "this_segment_type" to "this_segment". Update linkrelax comment.
3291 Remove "size, "place" and "where" local vars. Formatting. Update
3292 "no symbol" comment. Remove #if 0 and #if 1.
3293
3294 * app.c (do_scrub_chars): Don't test IGNORE_NONSTANDARD_ESCAPES. Tidy.
3295
3296 2002-08-27 Alan Modra <amodra@bigpond.net.au>
3297
3298 * dwarf2dbg.c: Always include dwarf2dbg.h.
3299 (dwarf2_directive_file): Adjust dummy version args.
3300 * ecoff.c (ecoff_directive_weakext): Add ATTRIBUTE_UNUSED.
3301 * expr.c (clean_up_expression <O_subtract>): Allow subtraction
3302 when symbol values differ.
3303 * read.c (do_align): Add ATTRIBUTE_UNUSED to label.
3304 (pseudo_set <O_subtract>): Remove unnecessary segment test.
3305 * config/obj-bout.c (obj_pseudo_table): Warning fix.
3306
3307 2002-08-26 Alan Modra <amodra@bigpond.net.au>
3308
3309 * config/tc-w65.c (md_section_align): Fix typo.
3310 (md_parse_option): Return 0, not 1.
3311
3312 2002-08-22 Nick Clifton <nickc@redhat.com>
3313
3314 * doc/as.texinfo (Section): Note that if '@' is a comment
3315 character then another symbol is used to prefix the section's
3316 type.
3317
3318 2002-08-22 Christian Groessler <chris@groessler.org>
3319
3320 * config/tc-z8k.c (get_operands): Adjust ptr variable also in
3321 "case 0" case.
3322
3323 2002-08-12 Graeme Peterson <gp@qnx.com>
3324
3325 * configure.in: Add support for sh-**-nto* target.
3326 * configure: Regenerate.
3327
3328 2002-08-21 Nitin Gupta <niting@noida.hcltech.com>
3329
3330 * config/tc-h8300.h (TC_LINKRELAX_FIXUP): Define.
3331
3332 2002-08-21 Elena Zannoni <ezannoni@redhat.com>
3333
3334 * config/tc-ppc.c (ppc_cleanup): Do something only if format
3335 is ELF.
3336 (ppc_apuinfo_section_add): Define only if format is ELF.
3337 (md_assemble): Emit APUinfo section only if format is ELF.
3338 Fix formatting.
3339
3340 2002-08-21 Alan Modra <amodra@bigpond.net.au>
3341
3342 * config/tc-arc.c (md_pseudo_table <dwarf2_directive_file>): Cast.
3343 * config/tc-frv.c: Likewise.
3344 * config/tc-hppa.c: Likewise.
3345 * config/tc-ia64.c: Likewise.
3346 * config/tc-ip2k.c: Likewise.
3347 * config/tc-m68hc11.c: Likewise.
3348 * config/tc-m68k.c: Likewise.
3349 * config/tc-mmix.c: Likewise.
3350 * config/tc-mn10300.c: Likewise.
3351 * config/tc-sh.c: Likewise.
3352 * config/tc-sparc.c: Likewise.
3353 * config/tc-v850.c: Likewise.
3354
3355 2002-08-20 Richard Sandiford <rsandifo@redhat.com>
3356
3357 * config/tc-mips.c (macro2): Implement rotates by zero using shifts
3358 by zero.
3359
3360 2002-08-19 Elena Zannoni <ezannoni@redhat.com>
3361
3362 From matthew green <mrg@redhat.com>
3363
3364 * config/tc-ppc.c (PPC_OPCODE_CLASSIC): Enable this everywhere
3365 PPC_OPCODE_PPC is, except for BookE architectures.
3366 (md_parse_option): Add support for -mspe.
3367 (md_show_usage): Add -mspe.
3368 (md_parse_option): Add support for -me500 and
3369 -me500x2 to generate code for Motorola e500 core complex.
3370 (md_show_usage): Add -me500 and -me500x2.
3371
3372 (PPC_APUINFO_ISEL, PPC_APUINFO_PMR, PPC_APUINFO_RFMCI,
3373 PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE, PPC_APUINFO_EFS,
3374 PPC_APUINFO_BRLOCK): New macros.
3375
3376 (ppc_cleanup): New function.
3377 (ppc_apuinfo_section_add): New function.
3378 (APUID): New macro.
3379 (md_assemble): Collect info and write the APUinfo section.
3380
3381 * config/tc-ppc.h (md_cleanup): Define.
3382 (ppc_cleanup): Export.
3383 (ELF_TC_SPECIAL_SECTIONS): Add .PPC.EMB.apuinfo section.
3384
3385 2002-08-17 Stan Cox <scox@redhat.com>
3386
3387 * config/obj-elf.c (obj_elf_change_section): Make non-static.
3388 config/tc-mips.c (s_change_section): New function to support
3389 IRIX .section pseudo-op.
3390
3391 2002-08-16 Nick Clifton <nickc@redhat.com>
3392
3393 * config/tc-v850.c (md_assemble): Fix assembling of "callt 0x3f".
3394
3395 2002-08-15 Alexandre Oliva <aoliva@redhat.com>
3396
3397 * config/tc-mips.c (macro_build_jalr): Make sure we generate
3398 the fix-up against on the right frag.
3399 (s_cpsetup): Likewise. Parse third argument as expression, to
3400 handle global symbols and forward/backward labels correctly.
3401
3402 2002-08-14 Nick Clifton <nickc@redhat.com>
3403
3404 * read.c (stringer): Catch attempts to create strings in the abs
3405 section.
3406
3407 * config/tc-alpha.c: Fix compiling for COFF targets.
3408 Some minor formatting tidyups.
3409
3410 2002-08-13 Stephane Carrez <stcarrez@nerim.fr>
3411
3412 * config/tc-m68hc11.h (MD_PCREL_FROM_SECTION): Remove.
3413 (TC_HANDLES_FX_DONE): Define to let md_apply_fix3 set fx_done flag
3414 according to the reloc.
3415 (tc_fix_adjustable, tc_m68hc11_fix_adjustable): Define.
3416 (TC_FORCE_RELOCATION): Define.
3417 (tc_m68hc11_force_relocation): Declare.
3418
3419 * config/tc-m68hc11.c (md_pseudo_table): Add relax command.
3420 (s_m68hc11_relax): New function for relax group.
3421 (build_insn, build_jump_insn): Emit a M68HC11_RL_JUMP reloc at
3422 beginning of jump instruction.
3423 (md_pcrel_from): Rename from md_pcrel_from_section and fix
3424 address computation.
3425 (tc-gen_reloc): Update.
3426 (md_estimate_size_before_relax): Create the BFD_RELOC_16_PCREL as
3427 PC-relative fixup.
3428 (tc_m68hc11_force_relocation): New function, handle new relocs.
3429 (tc_m68hc11_fix_adjustable): New to make sure there are enough
3430 reloc for the linker relax pass.
3431 (md_apply_fix3): Handle M68HC11_RL_JUMP, M68HC11_RL_GROUP
3432 and VTABLE relocs.
3433
3434 2002-08-13 Stephane Carrez <stcarrez@nerim.fr>
3435
3436 * config/tc-m68hc11.c (m68hc11_elf_final_processing): New function.
3437 (md_pseudo_table): Add .mode, .far and .interrupt pseudo op.
3438 (s_m68hc11_mode): New function for .mode pseudo op.
3439 (s_m68hc11_mark_symbol): New function for .far and .interrupt
3440 pseudo op.
3441 * config/tc-m68hc11.h (elf_tc_final_processing): Define.
3442 (m68hc11_elf_final_processing): Declare.
3443
3444 2002-08-13 Stephane Carrez <stcarrez@nerim.fr>
3445
3446 * config/tc-m68hc11.c (md_begin): Take into account additional
3447 page operand for call instruction.
3448 (print_opcode_format): Likewise.
3449 (check_range): Likewise for page range checking.
3450 (get_operand): Don't skip a possible comma in operands.
3451 (fixup8): Generate BFD_RELOC_M68HC11_PAGE reloc.
3452 (fixup16): Likwise with BFD_RELOC_M68HC11_LO16.
3453 (fixup24): New to handle call reloc.
3454 (build_insn): Handle missing page operand for call instruction.
3455 (find): Likewise.
3456 (md_apply_fix3): Take into account new relocs.
3457 (get_operand): Fix the mode for indexed indirect addressing.
3458 (build_indexed_byte): Fix post index byte for indexed indirect mode.
3459
3460 2002-08-12 Richard Sandiford <rsandifo@redhat.com>
3461
3462 * config/tc-mips.c (mips_ip): Don't work out the value of
3463 constant %hi()s here.
3464
3465 2002-08-10 Alan Modra <amodra@bigpond.net.au>
3466
3467 * config/tc-i386.c (tc_i386_fix_adjustable): Test OUTPUT_FLAVOR
3468 for ELF, and don't bother checking ELF relocs when non-ELF.
3469 (i386_immediate): Allow absolute_section expressions for aout.
3470 (i386_displacement): Likewise. Also test bfd_is_com_section.
3471 (md_estimate_size_before_relax): Test OUTPUT_FLAVOR for ELF.
3472 (md_apply_fix3): Hack for bfd_install_relocation when fx_pcrel,
3473 not when fx_addsy. Remove dead code.
3474
3475 2002-08-09 Graeme Peterson <gp@qnx.com>
3476
3477 * configure.in: Add support for ppc-*-nto* target.
3478 * configure: Regenerate.
3479
3480 2002-08-09 Alan Modra <amodra@bigpond.net.au>
3481
3482 * config/tc-i386.h: Reorganize.
3483
3484 2002-08-09 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3485
3486 * config/tc-mips.c (macro): Handle a register plus a 16-bit
3487 immediate offset in "dla" and "la" expansions.
3488
3489 2002-08-09 Alan Modra <amodra@bigpond.net.au>
3490
3491 * configure.in: bfd_gas=yes for all i386 targets. Formatting.
3492 Remove "bfd_gas=yes" from target table when covered later.
3493 Consolidate some entries.
3494 * configure: Regenerate
3495
3496 2002-08-09 Jakub Jelinek <jakub@redhat.com>
3497
3498 * config/tc-i386.c (output_insn): Save frag_now and frag_now_fix ()
3499 at start of insn, pass it to output_disp and output_imm.
3500 (output_disp): Added arguments. If _GLOBAL_OFFSET_TABLE_ is seen
3501 in displacement for R_386_32 reloc, use R_386_GOTPC and compute
3502 properly addend.
3503 (output_imm): Added arguments. Compute properly addend for
3504 R_386_GOTPC.
3505 (md_apply_fix3): Remove R_386_GOTPC handling.
3506
3507 2002-08-06 George France <france@handhelds.org>
3508
3509 * config/tc-alpha.c (cpu_types): Enabled ev67, ev68, -m21264a
3510 and m21264b processor names and cpu types.
3511 * doc/c-alpha.texi: Documented new types.
3512
3513 2002-08-06 Alan Modra <amodra@bigpond.net.au>
3514
3515 * config/tc-ppc.c (md_apply_fix3): Adjust 16 bit XCOFF reloc offset.
3516
3517 2002-08-01 Richard Sandiford <rsandifo@redhat.com>
3518
3519 * config/tc-mips.c (tc_gen_reloc): Extend GP-relative addend
3520 handling to BFD_RELOC_MIPS16_GPREL.
3521
3522 2002-08-01 Nick Clifton <nickc@redhat.com>
3523
3524 * config/tc-arm.c (add_to_lit_pool): Ensure that offset to literal
3525 pool is computed using signed arithmetic so that proper sign
3526 extension is performed if X_add_number is a 64-bit integer.
3527
3528 2002-08-01 H.J. Lu <hjl@gnu.org>
3529 Daniel Jacobowitz <drow@mvista.com>
3530
3531 * dwarf2dbg.c (dwarf2_finish): Don't emit unreferenced
3532 .debug_line section unless it has line information.
3533
3534 2002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au>
3535
3536 * config/tc-ns32k.h (md_pcrel_adjust): Supply prototype.
3537 * config/tc-ns32k.c (convert_iif, md_parse_option, md_show_usage):
3538 Allow default displacement size to be an option "--disp-size-default".
3539 (md_number_to_disp): Make error messages include value. Use %d to
3540 print integers, not %s.
3541 (fix_new_ns32k): Conditionally set fx_no_overflow so we don't
3542 get duplicate messages sometimes.
3543 (convert_iif): Grow frag to max possible instruction size. Avoid
3544 creating unnecessary fixes.
3545 (md_number_to_field) Add prototype.
3546 (encode_operand, parse, convert_iif, md_fix_pcrel_adjust): Add
3547 prototypes and make static.
3548 (struct addr_mode): Make mode and scaled_mode explicitly signed.
3549 (evaluate_expr): Use resultP argument instead of exprP global.
3550 (get_addr_mode): Quiten compiler warnings.
3551 (encode_operand): eliminate unused variables. Quiten compiler
3552 warnings. Eliminate nul character in format strings.
3553 (parse): argc is unsigned.
3554 (reloc): Type cast index to quieten compiler.
3555 (md_pcrel_adjust, md_apply_fix3): Remove unused variable.
3556 (md_convert_frag): Note unused parameters. Remove unused
3557 variables.
3558 (md_create_long_jump, md_create_short_jump,
3559 md_undefined_symbol_name, md_section_align, tc_gen_reloc): Note
3560 unused parameters.
3561
3562 2002-07-31 Nick Clifton <nickc@redhat.com>
3563
3564 * NEWS: Retroactively add entry for Lars Brinkhoff's contribution
3565 of the PDP-11 and 2.11BSD a.out support.
3566
3567 2002-07-31 Momchil Velikov <velco@fadata.bg>
3568
3569 * config/tc-v850.c (md_assemble): Fix range check for immediate
3570 operand.
3571
3572 2002-07-30 Chris Demetriou <cgd@broadcom.com>
3573
3574 * config/tc-mips.c (mips_cpu_info_table): Clean up entries related
3575 to Broadcom SB-1 core support.
3576
3577 2002-07-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3578
3579 * config/tc-mips.c (mips_target_format): Fix formatting.
3580 Add recognition of n32 ABI formats.
3581
3582 2002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3583
3584 * tc-mips.c (load_address): Don't clobber $at when loading a
3585 64-bit address in non-PIC code if noat is in effect.
3586 (macro): Likewise.
3587
3588 2002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3589
3590 * config/tc-mips.c (macro): Use codes 6 and 7 in trap instructions
3591 used in division/multiply macro expansions similarly to how they
3592 are used in the variants with break instructions.
3593 (macro2): Likewise.
3594
3595 2002-07-30 Graeme Peterson <gp@qnx.com>
3596
3597 * configure.in: Add support for arm-*-nto target.
3598 * configure: Regenerate.
3599
3600 2002-07-30 Nick Clifton <nickc@redhat.com>
3601
3602 * config/tc-arm.c (struct literal_pool): Add fields to allow
3603 multiple literal pools to be maintained.
3604 (find_literal_pool): New function.
3605 (find_or_make_literal_pool): New function.
3606 (add_to_literal_pool): Use find_or_make_literal_pool.
3607 (arm_s_text, arm_s_data, arm_s_section): Remove - no longer
3608 needed.
3609 (s_ltorg): Use find_literal_pool.
3610 (arm_cleanup): Dump all literal pools.
3611 * doc/c-arm.texi: Document new behaviour of only dumping literal
3612 pools upon request.
3613
3614 2002-07-26 Alan Modra <amodra@bigpond.net.au>
3615
3616 * config/tc-ppc.c (ppc_set_cpu): Use PPC_OPCODE_64 as the default
3617 rather than PPC_OPCODE_32 for powerpc64*.
3618
3619 2002-07-25 Nick Clifton <nickc@redhat.com>
3620
3621 * po/es.po: Updated Spanish translation.
3622 * po/fr.po: Updated French translation.
3623
3624 2002-07-25 Richard Sandiford <rsandifo@redhat.com>
3625
3626 * doc/c-mips.texi: Remove -mcpu. Document -mabi.
3627 * configure.in (MIPS_CPU_STRING_DEFAULT): New configuration macro.
3628 (USE_E_MIPS_ABI_O32, MIPS_DEFAULT_64BIT): New configuration macros.
3629 * configure, config.in: Regenerate.
3630 * config/tc-mips.c (file_mips_abi): Rename to mips_abi.
3631 (mips_set_options): Remove "abi" field.
3632 (mips_opts): Update accordingly. Replace all uses of mips_opts.abi
3633 with mips_abi.
3634 (mips_cpu): Remove.
3635 (mips_arch_string, mips_arch_info): New vars.
3636 (mips_tune_string, mips_tune_info): New vars.
3637 (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New macros.
3638 (HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): Don't check the ABI.
3639 (mips_isa_to_str, mips_cpu_to_str): Remove.
3640 (mips_ip): If the selected architecture is a generic ISA rather
3641 than a processor, only mention the ISA level in error messages.
3642 (OPTION_MCPU): Remove.
3643 (OPTION_FP64): New.
3644 (md_longopts): Add -mfp64, remove -mcpu.
3645 (mips_set_option_string): New fn.
3646 (md_parse_option): Make -mipsN update file_mips_isa rather than
3647 mips_opts.isa. Use mips_set_option_string to set -march or -mtune.
3648 Don't let -mgp32 and -mfp32 change the ABI.
3649 (show): Move to end of file. Constify string argument.
3650 (md_show_usage): Move to the end of the file. Read available
3651 architectures from mips_cpu_info_table.
3652 (mips_set_architecture): New fn.
3653 (mips_after_parse_args): Rework. Remove -mcpu handling. -mipsN
3654 is an alias for -march=mipsN. Don't change the ABI based on other
3655 flags. Infer the register size from the ABI as well as the
3656 architecture. Complain about more conflicting arguments.
3657 Unify logic with GCC.
3658 (s_mipsset): Don't change the ABI.
3659 (mips_elf_final_processing): Check USE_E_MIPS_ABI_O32.
3660 (mips_cpu_info_table): Remove Generic-MIPS* entries, keeping just
3661 "mipsN"-type entries. Remove entries that vary only in the
3662 manufacturer's prefix, or that have "000" replaced by "k".
3663 Remove TARGET_CPU entries. Make r2000 entry use CPU_R3000.
3664 (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
3665 (mips_parse_cpu): New fn.
3666 (mips_cpu_info_from_name, mips_cpu_info_from_cpu): Remove.
3667 (mips_cpu_info_from_isa): Minor formatting tweak.
3668
3669 2002-07-24 Nick Clifton <nickc@redhat.com>
3670
3671 * po/sv.po: Updated Swedish translation.
3672 * po/es.po: Updated Spanish translation.
3673
3674 2002-07-23 Alan Modra <amodra@bigpond.net.au>
3675
3676 * Makefile.am: Run "make dep-am".
3677 * Makefile.in: Regenerate.
3678 * doc/Makefile.in: Regenerate.
3679 * config.in: Regenerate.
3680 * po/POTFILES.in: Regenerate.
3681
3682 2002-07-23 Nick Clifton <nickc@redhat.com>
3683
3684 * po/fr.po: Updated French translation.
3685
3686 2002-07-23 Nick Clifton <nickc@redhat.com>
3687
3688 * CONTRIBUTORS: Ken Raeburn is no longer the maintainer for
3689 GAS.
3690
3691 2002-07-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3692
3693 * config/tc-mips.c (mips_need_elf_addend_fixup): Use S_IS_EXTERNAL
3694 instead of S_IS_EXTERN.
3695 (md_estimate_size_before_relax): Likewise.
3696 (mips_fix_adjustable): Likewise.
3697
3698 2002-07-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3699
3700 * config/tc-mips.c (mips_pic_level): Remove IRIX4_PIC.
3701
3702 2002-07-19 Miroslav Tichy <tichm9am@ss1000.ms.mff.cuni.cz>
3703 Nick Clifton <nickc@redhat.com>
3704
3705 * cond.c (s_ifdef): Treat a referenced but not yet defined
3706 symbol as if it were undefined, in exactly the same way as
3707 .equiv.
3708
3709 * doc/as.texinfo: Document that .ifdef, .ifndef and .equiv
3710 consider referenced bug not yet defined symbols to be
3711 undefined.
3712
3713 2002-07-18 Denis Chertykov <denisc@overta.ru>
3714 Frank Ch. Eigler <fche@redhat.com>
3715 Alan Lehotsky <alehotsky@cygnus.com>
3716 John Healy <jhealy@redhat.com>
3717 Jeff Johnston <jjohnstn@redhat.com>
3718
3719 * configure.in: Add ip2k configuraton.
3720 * configure: Regenerate.
3721 * Makefile.am: Add ip2k configuraton.
3722 * Makefile.in: Regenerate.
3723 * configure: Regenerate.
3724 * Makefile.in: Regenerate.
3725 * config/tc-ip2k.c: New file.
3726 * config/tc-ip2k.h: New files.
3727 * NEWS: Mention new support.
3728 * doc/Makefile.am (CPU_DOCS): Add c-ip2k.texi.
3729 * doc/Makefile.in: Regenerate.
3730 * doc/all.texi: Set IP2K
3731 * doc/as.texinfo: Add IP2K description.
3732 * doc/c-ip2k.texi: New file.
3733
3734 2002-07-19 Nick Clifton <nickc@cambridge.redhat.com>
3735
3736 * NEWS: Reformat to match style of other NEWS files.
3737
3738 2002-07-17 Jan Hubicka <jh@suse.cz>
3739
3740 * tc-i386.c (i386_align_code): Implement x86_64 neutral code fillers.
3741
3742 2002-07-16 Moritz Jodeit <moritz@jodeit.org>
3743
3744 * config/tc-z8k.c (build_bytes): Correct order of memset args.
3745
3746 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
3747
3748 * NEWS: Add 'Changes in 2.13'.
3749
3750 2002-07-15 Matt Fredette <fredette@netbsd.org>
3751
3752 * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define if TE_NetBSD.
3753
3754 2002-07-12 Alan Modra <amodra@bigpond.net.au>
3755
3756 * config/tc-i386.c (process_suffix): Merge CODE_64BIT JumpByte
3757 case with non CODE_64BIT case. Don't warn on "qword ptr" if
3758 not CODE_64BIT.
3759
3760 2002-07-11 Alan Modra <amodra@bigpond.net.au>
3761
3762 * config/tc-ppc.c (ppc_elf_frob_symbol): Delete.
3763 (ppc_frob_file_before_adjust): New function.
3764 * config/tc-ppc.h (tc_frob_symbol): Don't define.
3765 (ppc_elf_frob_symbol): Don't declare.
3766 (tc_frob_file_before_adjust): Define.
3767 (ppc_frob_file_before_adjust): Declare.
3768
3769 * config/tc-ppc.c (md_pseudo_table): Warning fix.
3770 (ppc_cpu): Make it unsigned long to agree with struct powerpc_opcode
3771 flags.
3772 (ppc_size): Delete.
3773 (ppc_xcoff64): Rename to ppc_obj64.
3774 (md_parse_option <m>): Encode old ppc_size value in ppc_cpu.
3775 (ppc_set_cpu): Set PPC_OPCODE_32 too.
3776 (ppc_arch): Use ppc_obj64 instead of ppc_size to select bfd_mach_ppc64
3777 or bfd_mach_ppc.
3778 (ppc_target_format): Use ppc_obj64 to select format.
3779 (md_begin): Adjust for PPC_OPCODE_32/64 in ppc_cpu.
3780 (ppc_insert_operand): Use ppc_obj64 instead of ppc_size.
3781 (ppc_elf_suffix): Likewise. Don't depend on BFD_DEFAULT_TARGET_SIZE.
3782 (tc_frob_symbol): Likewise.
3783 (md_assemble): Use ppc_obj64 instead of ppc_size. Don't depend on
3784 BFD_DEFAULT_TARGET_SIZE.
3785 (ppc_tc): Likewise.
3786 (ppc_is_toc_sym): Likewise.
3787 (md_apply_fix3): Likewise.
3788 * config/tc-ppc.h (TC_FORCE_RELOCATION): Don't depend on
3789 BFD_DEFAULT_TARGET_SIZE.
3790 (ELF_TC_SPECIAL_SECTIONS): Likewise.
3791 (tc_frob_symbol): Likewise.
3792
3793 2002-07-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3794
3795 * config/tc-mips.c (macro_build): Handle MIPS16 insns.
3796 (mips_ip): Likewise.
3797
3798 2002-07-09 Alan Modra <amodra@bigpond.net.au>
3799
3800 * config/tc-i386.c (md_pseudo_table <file>): Warning fix.
3801 (BFD_RELOC_8, BFD_RELOC_8_PCREL): Define for non-BFD.
3802 (md_apply_fix3): Formatting. Remove redundant test.
3803 (tc_gen_reloc): Remove redundant code.
3804 (tc_i386_force_relocation): Delete. Movy body of function to..
3805 * config/tc-i386.h (TC_FORCE_RELOCATION): .. here.
3806
3807 2002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br>
3808
3809 * configure.in: Add hppa-*-openbsd* target, change
3810 alpha*-*-openbsd* format to elf, and use elf for sparc-*-openbsd*
3811 with sparc64 cpu.
3812 * configure: Regenerate.
3813
3814 2002-07-08 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3815
3816 * config/tc-mips.c (macro): Shift the 32-bit address range
3817 accessible with a lone "lui" down by 32768.
3818
3819 2002-07-08 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3820
3821 * config/tc-mips.c (load_address): Use non-trapping "daddu"
3822 instead of "dadd" in address calculations.
3823 (macro): Likewise.
3824
3825 2002-07-08 Alan Modra <amodra@bigpond.net.au>
3826
3827 * config/tc-i386.c (process_suffix): Remove intel mode movsx and
3828 movzx fudges.
3829 (md_assemble): Instead, zap the suffix here.
3830
3831 2002-07-03 Nick Clifton <nickc@cambridge.redhat.com>
3832
3833 * NEWS: Remove next release number until the release is actually
3834 upon us.
3835
3836 2002-07-03 Alan Modra <amodra@bigpond.net.au>
3837
3838 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
3839 Run "make dep-am".
3840 * Makefile.in: Regenerate.
3841
3842 2002-07-02 Martin Schwidefsky <schwidefsky@de.ibm.com>
3843
3844 * config/tc-s390.c (tc_s390_fix_adjustable): Prevent any adjustment
3845 to symbols in merge sections, even non pc-relative ones.
3846
3847 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
3848
3849 * config/tc-m68hc11.h (m68hc11_listing_header): Fix warning.
3850
3851 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
3852
3853 * config/tc-m68hc11.h (ELF_TC_SPECIAL_SECTIONS): New sections
3854 .softregs and .eeprom.
3855
3856 2002-06-28 David O'Brien <obrien@FreeBSD.org>
3857
3858 * NEWS: Note the next release is 2.13.
3859
3860 2002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
3861
3862 * po/tr.po: New translation imported.
3863
3864 2002-06-26 Elias Athanasopoulos <eathan@otenet.gr>
3865
3866 * ecoff.c: (get_tag): Replace strcpy with xstrdup.
3867 (ecoff_directive_def): Likewise.
3868 (ecoff_directive_tag): Likewise.
3869 * listing.c (file_info): Likewise.
3870 * hash.c (what): Likewise.
3871
3872 2002-06-25 H.J. Lu <hjl@gnu.org>
3873
3874 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
3875 * Makefile.in: Regenerated.
3876
3877 2002-06-19 Dhananjay R. Deshpande <dhananjayd@kpit.com>
3878
3879 * config/tc-sh.c (get_specific): Revert 2002-05-01 change.
3880 (assemble_ppi): Generate warning if the same register is used
3881 twice as destination in the same padd / pmuls instruction.
3882
3883 2002-06-18 Dave Brolley <brolley@redhat.com>
3884
3885 From Catherine Moore, Michael Meissner, Richard Sandiford, Dave Brolley
3886 * po/POTFILES.in: Add tc-frv.c, tc-frv.h.
3887 * configure.in: Support frv-*-*.
3888 * Makefile.am (CPU_TYPES): Add frv.
3889 (TARGET_CPU_CFILES): Add tc-frv.c.
3890 (TARGET_CPU_HFILES): Add tc-frv.h.
3891 (DEPTC_frv_coff): New variable.
3892 (DEPTC_frv_elf): New variable.
3893 (DEPOBJ_frv_coff): New variable.
3894 (DEPOBJ_frv_elf): New variable.
3895 (DEP_frv_coff): New variable.
3896 (DEP_frv_elf): New variable.
3897 * tc-frv.c: New file.
3898 * tc-frv.h: New file.
3899
3900 2002-06-17 Catherine Moore <clm@redhat.com>
3901
3902 * config/obj-elf.h (TARGET_SYMBOL_FIELDS): Conditionally define.
3903
3904 2002-06-17 J"orn Rennecke <joern.rennecke@superh.com>
3905
3906 * config/tc-sh.c (assemble_ppi): Initialize reg_n.
3907
3908 2002-06-17 Tom Rix <trix@redhat.com>
3909
3910 * config/tc-i370.h (tc_comment_chars): Define for i370-elf.
3911
3912 2002-06-14 H.J. Lu <hjl@gnu.org>
3913 Daniel Jacobowitz <drow@mvista.com>
3914
3915 * dwarf2dbg.h (dwarf2_directive_file): Return char *.
3916 * dwarf2dbg.c (dwarf2_directive_file): Return filename.
3917 * config/tc-mips.c (s_mips_file): Call s_app_file_string
3918 and new_logical_line for the first .file directive.
3919 * read.c (s_app_file_string): New function.
3920 (s_app_file): Call it.
3921 * read.h (s_app_file_string): Add declaration.
3922
3923 2002-06-14 Daniel Jacobowitz <drow@mvista.com>
3924
3925 * configure.in: Remove MIPS_STABS_ELF.
3926 * configure: Regenerated.
3927 * config.in: Regenerated.
3928 * config/obj-elf.h (ECOFF_DEBUGGING): Define to mips_flag_mdebug
3929 for MIPS targets.
3930 * config/tc-mips.c (mips_pseudo_table): Remove #ifdef around
3931 ".extern".
3932 (pdr_seg): Declare unconditionally.
3933 (md_begin): Always generate .pdr unless ECOFF_DEBUGGING or not ELF.
3934 (s_mips_end): Likewise. Generate stabs function markers.
3935 (s_mips_ent): Generate stabs function markers.
3936 (s_mips_frame): Always generate .pdr unless ECOFF_DEBUGGING or not
3937 ELF.
3938 (s_mips_mask): Likewise.
3939 (mips_flag_mdebug): New.
3940 (md_longopts): Add "mdebug" and "no-mdebug".
3941 (md_parse_options): Add OPTION_MDEBUG and OPTION_NO_MDEBUG.
3942 (mips_after_parse_args): Set mips_flag_mdebug.
3943 * doc/as.texinfo: Add "-mdebug" and "-no-mdebug" for MIPS.
3944
3945 2002-06-13 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3946
3947 * config/tc-mips.c (md_apply_fix3): Don't subtract the symbol's
3948 value twice for RELA relocations.
3949
3950 2002-06-12 Ben Elliston <bje@redhat.com>
3951
3952 * symbols.c (resolve_symbol_value): Initialise final_val.
3953
3954 * subsegs.c (subsegs_print_statistics): Cast frchp to void *.
3955
3956 2002-06-11 Tom Rix <trix@redhat.com>
3957
3958 * config/tc-ppc.c (ppc_subseg_align): Delete.
3959 (ppc_change_csect): Default csect align is 2.
3960 * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Delete
3961
3962 2002-06-09 Marek Michalkiewicz <marekm@amelek.gda.pl>
3963
3964 * config/tc-avr.c (mcu_types): Update.
3965
3966 2002-06-08 Matt Thomas <matt@3am-software.com>
3967
3968 * configure.in (vax-*-netbsdelf*, vax-*-netbsdaout*)
3969 (vax-*-netbsd*): New targets.
3970 * configure: Regenerate.
3971 * config/aout_gnu.h (enum machine_type): Add M_VAX4K_NETBSD.
3972 * config/tc-vax.c: Add support for ELF and PIC.
3973 (flag_want_pic): New flag.
3974 (float_cons): Fix prototype.
3975 (md_apply_fix3): Adjust for BFD_ASSEMBLER.
3976 (md_assemble): Introduce a new is_absolute local, and use it
3977 rather than repeating the test. Make fatal errors actually
3978 fatal by using as_fatal as appropriate. Adjust for BFD_ASSEMBLER.
3979 Add support for ELF. Add support for PIC.
3980 (md_convert_frag): Adjust for BFD_ASSEMBLER.
3981 (tc_aout_fix_to_chars): Only include if OBJ_AOUT and not
3982 BFD_ASSEMBLER.
3983 (vax_reg_parse): Make the % register prefix mandatory for ELF,
3984 optional for a.out, and not allowed for VMS. Adjust all callers.
3985 (md_create_short_jump): Add ATTRIBUTE_UNUSED to unused arguments.
3986 (md_create_long_jump): Likewise.
3987 (md_undefined_symbol): Likewise.
3988 (md_section_align): Likewise.
3989 (md_shortopts): Allow -k and -K for ELF.
3990 (md_parse_option): Set flag_want_pic if -k or -K.
3991 (tc_headers_hook): New function if OBJ_AOUT and not BFD_ASSEMBLER.
3992 (tc_gen_reloc): New function if BFD_ASSEMBLER.
3993 * config/tc-vax.h (tc_headers_hook): Remove.
3994 (TARGET_FORMAT): Set according to object format and target
3995 environment.
3996 (BFD_ARCH, TARGET_ARCH): Define.
3997 (NO_RELOC): Adjust for BFD_ASSEMBLER.
3998 (TC_RELOC_RTSYM_LOC_FIXUP, TC_FIX_ADJUSTABLE)
3999 (tc_fix_adjustable): Define if BFD_ASSEMBLER.
4000 * config/vax-inst.h (VAX_JSB, VAX_CALLS, VAX_CALLG): Define.
4001
4002 2002-06-08 Alan Modra <amodra@bigpond.net.au>
4003
4004 * Makefile.am: Run "make dep-am".
4005 * Makefile.in: Regenerate.
4006
4007 * as.c: Replace CONST with const.
4008 * write.c: Likewise.
4009 * config/obj-coff.c: Likewise.
4010 * config/tc-a29k.c: Likewise.
4011 * config/tc-arm.c: Likewise.
4012 * config/tc-dlx.c: Likewise.
4013 * config/tc-h8300.c: Likewise.
4014 * config/tc-h8500.c: Likewise.
4015 * config/tc-i370.c: Likewise.
4016 * config/tc-i860.c: Likewise.
4017 * config/tc-i960.c: Likewise.
4018 * config/tc-m68hc11.c: Likewise.
4019 * config/tc-m68k.c: Likewise.
4020 * config/tc-m88k.c: Likewise.
4021 * config/tc-mcore.c: Likewise.
4022 * config/tc-mips.c: Likewise.
4023 * config/tc-ns32k.c: Likewise.
4024 * config/tc-pdp11.c: Likewise.
4025 * config/tc-pj.c: Likewise.
4026 * config/tc-s390.c: Likewise.
4027 * config/tc-sh.c: Likewise.
4028 * config/tc-sparc.c: Likewise.
4029 * config/tc-tahoe.c: Likewise.
4030 * config/tc-tic80.c: Likewise.
4031 * config/tc-v850.c: Likewise.
4032 * config/tc-vax.c: Likewise.
4033 * config/tc-w65.c: Likewise.
4034 * config/tc-z8k.c: Likewise.
4035
4036 2002-06-08 Daniel Jacobowitz <drow@mvista.com>
4037
4038 Based on patch from Matt Green:
4039 * config/obj-elf.h (ECOFF_DEBUGGING): Make configurable.
4040 * config/tc-mips.c (s_mips_file): Renamed from s_file.
4041 (s_mips_loc): New function.
4042 (mips_nonecoff_pseudo_table): Call them.
4043 (append_insn): Call dwarf2_emit_insn.
4044
4045 2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4046
4047 * config/tc-mips.c (mips_opts): Fix comment, all ASE fields are set
4048 to -1.
4049 (file_ase_mips16): New veriable.
4050 (mips_eabi64): Remove.
4051 (CPU_HAS_MIPS16): New define.
4052 (CPU_HAS_MDMX): Fix data type.
4053 (md_begin): Code cleanup. Use file_ase_mips16.
4054 (mips_elf_final_processing): Handle mips16 header flag.
4055 Handle EABI flag without intermediate variable.
4056
4057 2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4058
4059 * doc/as.texinfo: Update MIPS documentation.
4060
4061 2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4062
4063 * config/tc-mips.c: Add define for $zero register.
4064 (md_begin): Add $zero as alias name for $0.
4065 (insn_uses_reg): Use ZERO define.
4066 (mips_ip): Add $zero as alias name for $0.
4067 (mips16_ip): Likewise.
4068 (s_cplocal): Demand empty rest of input line.
4069 (tc_get_register): Likewise. Add support for $kt0, kt1 register
4070 names. Use ZERO define. Fix input_line_pointer progress.
4071
4072 2002-06-07 Alan Modra <amodra@bigpond.net.au>
4073
4074 * symbols.c: Replace CONST by const throughout.
4075 (symbol_find_exact): Split out from..
4076 (symbol_find_base): ..here.
4077 * symbols.h: Replace CONST by const throughout.
4078 (symbol_find_exact): Declare.
4079 * config/obj-elf.c: #include "struc-symbol.h".
4080 (elf_frob_file): If group name matches an exported symbol, use that
4081 symbol for the signature and ".group" as the section name.
4082
4083 2002-06-06 J"orn Rennecke <joern.rennecke@superh.com>
4084
4085 * config/tc-sh.c (parse_at): @(symbol,pc) is A_DISP_PC again,
4086 but warn about it.
4087
4088 2002-06-06 Daniel Jacobowitz <drow@mvista.com>
4089
4090 * tc-mips.c (mips_after_parse_args): Always set mips_opts.ase_mips3d
4091 and mips_opts.ase_mdmx if they are uninitialized.
4092
4093 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
4094
4095 * gas/config/tc-hppa.c (pa_ip): Replace "L$0\001" with FAKE_LABEL_NAME.
4096 (hppa_force_relocation): Check if a stub just before the start symbol
4097 of the last call_info is reachable before forcing relocation. Fix
4098 typo.
4099
4100 2002-06-04 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4101
4102 * config/tc-mips.c (mips_after_parse_args): New function.
4103 (md_begin): Move processing of defaults to mips_after_parse_args.
4104 config/tc-mips.h (md_after_parse_args): Define.
4105
4106 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
4107
4108 * configure.in (sh5*): Set cpu_type to sh64 and endian to big.
4109 (sh5le*, sh64le*): Set cpu_type to sh64 and endian to little.
4110 (sh5*-*-netbsd*, sh64*-*-netbsd*): New targets.
4111 * configure: Regenerate.
4112 * config/tc-sh64.c (sh64_target_format): Add support for NetBSD
4113 environment.
4114
4115 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
4116
4117 * config/tc-sh64.h (MD_PCREL_FROM_SECTION): Undef before redefining.
4118
4119 2002-06-04 Alan Modra <amodra@bigpond.net.au>
4120
4121 * config/obj-elf.c (obj_elf_change_section): Set and check elf
4122 linkonce flag. Print all warnings.
4123 (obj_elf_section): Parse ",comdat" for groups.
4124 (elf_frob_file): Set SEC_LINK_ONCE on COMDAT groups. Check
4125 consistency of comdat flag.
4126
4127 2002-06-02 Richard Henderson <rth@redhat.com>
4128
4129 * config/tc-alpha.c (alpha_adjust_symtab_relocs): Fix thinko
4130 with LITERALs without sequence numbers.
4131
4132 2002-06-01 Richard Henderson <rth@redhat.com>
4133
4134 * config/tc-alpha.c: Move LITUSE constants to "elf/alpha.h".
4135 Rename them LITUSE_ALPHA_*.
4136
4137 2002-05-31 Shrinivas Atre <ShrinivasA@kpit.com>
4138
4139 * config/tc-h8300.c (get_operand): Allow stm.l and ldm.l insns to
4140 accept parentheses enclosed register lists.
4141
4142 2002-05-31 Alan Modra <amodra@bigpond.net.au>
4143
4144 * Makefile.am: Run "make dep-am".
4145 * Makefile.in: Regenerate.
4146 * po/POTFILES.in: Regenerate.
4147
4148 2002-05-31 Graeme Peterson <gp@qnx.com>
4149
4150 * configure.in: Add i386-*-nto-qnx*.
4151 * configure: Regenerate.
4152
4153 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4154
4155 * config/tc-mips.c (mips_ip): Use unsigned long values for
4156 warning output.
4157
4158 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4159
4160 * config/tc-mips.c (s_cpsetup): Fix initialization of
4161 mips_cpreturn_register and mips_cpreturn_offset.
4162
4163 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4164
4165 * config/tc-mips.c (s_cpsetup): Fix comment.
4166
4167 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4168
4169 * config/tc-mips.c (md_begin): Add $ra as alias name for $31.
4170 (mips_ip): Likewise.
4171 (mips16_ip): Likewise.
4172 (tc_get_register): Likewise.
4173
4174 2002-05-30 Chris G. Demetriou <cgd@broadcom.com>
4175 Ed Satterthwaite <ehs@broadcom.com>
4176
4177 * config/tc-mips.c (mips_set_options): New "ase_mdmx" member.
4178 (mips_opts): Initialize "ase_mdmx" member.
4179 (file_ase_mdmx): New variable.
4180 (CPU_HAS_MDMX): New macro.
4181 (md_begin): Initialize mips_opts.ase_mdmx and file_ase_mdmx
4182 based on command line options and configuration defaults.
4183 (macro_build): Note in comment that use of MDMX in macros is
4184 not currently allowed.
4185 (validate_mips_insn): Add support for the "O", "Q", "X", "Y", and
4186 "Z" MDMX operand types.
4187 (mips_ip): Accept MDMX instructions if mips_opts.ase_mdmx is set,
4188 and add support for the "O", "Q", "X", "Y", and "Z" MDMX operand
4189 types.
4190 (OPTION_MDMX, OPTION_NO_MDMX, md_longopts, md_parse_option):
4191 Add support for "-mdmx" and "-no-mdmx" options.
4192 (OPTION_ELF_BASE): Move to accomodate new options.
4193 (s_mipsset): Support ".set mdmx" and ".set nomdmx".
4194 (mips_elf_final_processing): Set MDMX ASE ELF header flag if
4195 file_ase_mdmx was set.
4196 * doc/as.texinfo: Document -mdmx and -no-mdmx options.
4197 * doc/c-mips.texi: Likewise, and document ".set mdmx" and ".set
4198 nomdmx" directives.
4199
4200 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4201
4202 * config/tc-mips.c (OPTION_NO_M7000_HILO_FIX): Rename to
4203 OPTION_MNO_7000_HILO_FIX. Add alternate "mno-fix7000"
4204 command line switch conforming to gcc conventions.
4205 * doc/c-mips.texi: Document -mno-fix7000 instead of no-mfix-7000.
4206
4207 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4208
4209 * config/tc-mips.c (macro_build_jalr): New Function.
4210 (md_begin): NewABI uses big GOTs.
4211 (macro_build): Recognize BFD_RELOC_MIPS_GOT_DISP,
4212 BFD_RELOC_MIPS_GOT_PAGE, BFD_RELOC_MIPS_GOT_OFST as valid.
4213 (load_address): Add some NewABI PIC support.
4214 (macro): Likewise.
4215 (md_apply_fix): Special handling for BFD_RELOC_MIPS_JALR.
4216 (tc_gen_reloc): Don't encode NewABI vtables in REL relocations.
4217
4218 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4219
4220 * config/tc-mips.c (load_address): Use mips_gp_register instead
4221 of hardcoded value. Remove dbl parameter, use HAVE_32BIT_ADDRESSES
4222 instead.
4223 (macro): Use mips_gp_register instead of hardcoded value.
4224
4225 2002-05-30 Richard Henderson <rth@redhat.com>
4226
4227 * expr.h (operatorT): Add O_md17..O_md32.
4228 * config/tc-alpha.c (O_lituse_tlsgd, O_lituse_tlsldm, O_tlsgd,
4229 O_tlsldm, O_gotdtprel, O_dtprelhi, O_dtprello, O_dtprel, O_gottprel,
4230 O_tprelhi, O_tprello, O_tprel): New.
4231 (USER_RELOC_P, alpha_reloc_op_tag, debug_exp): Include them.
4232 (DUMMY_RELOC_LITUSE_TLSGD, DUMMY_RELOC_LITUSE_TLSLDM): New.
4233 (LITUSE_TLSGD, LITUSE_TLSLDM): New.
4234 (struct alpha_reloc_tag): Add master, saw_tlsgd, saw_tlsld,
4235 saw_lu_tlsgd, saw_lu_tlsldm. Make multi_section_p a bit field.
4236 (md_apply_fix3): Handle TLS relocations.
4237 (alpha_force_relocation, alpha_fix_adjustable): Likewise.
4238 (alpha_adjust_symtab_relocs): Sort LITERAL relocs after the
4239 associated TLS reloc. Check lituse_tls relocs match up.
4240 (emit_insn): Handle TLS relocations.
4241 (ldX_op): Remove.
4242
4243 * doc/c-alpha.texi: Add docs for tls relocations.
4244
4245 2002-05-30 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4246
4247 * config/tc-mips.c (mips_gprel_offset): New variable.
4248 (s_gpvalue): Use it.
4249
4250 2002-05-30 Diego Novillo <dnovillo@redhat.com>
4251
4252 * gas/config/tc-d10v.c (check_resource_conflict): Only check
4253 write-write conflicts.
4254 (md_assemble): Reformat introductory comment.
4255 (parallel_ok): Prevent packing only if the first
4256 instruction cannot be packed.
4257
4258 2002-05-30 Jason Eckhardt <jle@redhat.com>
4259 Tom Rix <trix@redhat.com>
4260
4261 * config/tc-d10v.c (build_insn): Check for immediates.
4262
4263 2002-05-28 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4264
4265 * config/tc-mips.c: Replace GP in comments by $gp.
4266 (mips_big_got): Initialize.
4267 (mips_trap): Initialize.
4268 (load_address): Use mips_gp_register instead of hardcoded value.
4269 Remove dbl parameter, use HAVE_32BIT_ADDRESSES instead.
4270 (macro): Use mips_gp_register instead of hardcoded value.
4271 (macro2): Change load_address calls.
4272 (md_pcrel_from): Comment formatting.
4273 (s_cpload): Use mips_gp_register instead of hardcoded value.
4274 (s_cprestore): Likewise. Comment formatting.
4275 (s_gpword): Fix data type.
4276 (s_cpadd): Use mips_gp_register instead of hardcoded value.
4277 (nopic_need_relax): Replace GP in comments by $gp.
4278 (mips_elf_final_processing): Better comment.
4279
4280 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
4281
4282 * configure.in: Add DLX configuraton
4283 * Makefile.am: Add DLX configuraton
4284 * configure: Regenerate.
4285 * Makefile.in: Regenerate.
4286 * config/tc-dlx.c: New file.
4287 * config/tc-dlx.h: New files.
4288 * NEWS: Mention new support.
4289
4290 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
4291
4292 * config/obj-coff.c (write_object_file): Add missing semicolon.
4293
4294 2002-05-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4295
4296 * config/tc-mips.c (mips_emit_delays): Replace magic constant for RA
4297 by the define. Remove superfluous check of mips_opts.mips16.
4298 (append_insn): Likewise. Canonicalize variable increments.
4299 (macro_build): Canonicalize variable increments.
4300 (macro_build_lui): Likewise.
4301 (load_register): Likewise.
4302 (load_address): Move pointer initialization.
4303 (macro): Move pointer to a more local scope. Canonicalize variable
4304 increments. Better comments. Replace magic constant for RA by the
4305 define.
4306 (macro2): Replace magic constant for RA by the define. Canonicalize
4307 variable increments.
4308 (mips_ip): Canonicalize variable increments.
4309 (mips16_ip): Replace magic constant for RA by the define.
4310 (my_getSmallParser): Canonicalize variable increments/decrements.
4311 (my_getPercentOp): Likewise.
4312 (my_getSmallExpression): Likewise.
4313 (s_align): Likewise.
4314 (s_mipsset): Likewise.
4315 (s_cpsetup): Likewise.
4316 (s_insn): Remove superfluous check of mips_opts.mips16.
4317 (s_mips_stab): Likewise.
4318 (mips_handle_align): Canonicalize variable increments.
4319 (s_mips_ent): Likewise.
4320 (s_mips_end): Add comment.
4321
4322 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
4323
4324 * configure.in: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
4325 * configure: Regenerate.
4326
4327 2002-05-25 Alan Modra <amodra@bigpond.net.au>
4328
4329 * Makefile.am (OBJS): Depend on ansidecl.h and fopen-same.h.
4330 * Makefile.in: Regenerate.
4331 * dep-in.sed: Reorder to match OBJS in Makefile.am.
4332 * configure.in (ALL_OBJ_DEPS): Add symcat.h when need_bfd.
4333 * configure: Regenerate.
4334 * as.h: Use #include "" instead of <> for local header files.
4335 * flonum-konst.c: Likewise.
4336 * flonum-mult.c: Likewise.
4337 * gasp.c: Likewise.
4338 * listing.c: Likewise.
4339 * config/tc-ia64.h: Likewise.
4340 * config/tc-v850.h: Likewise.
4341
4342 2002-05-24 TAMURA Kent <kent@netbsd.org>
4343
4344 * configure.in: Add a target for i386-netbsdpe.
4345 * configure: Regenerate.
4346
4347 2002-05-23 Jakub Jelinek <jakub@redhat.com>
4348
4349 * config/obj-elf.c (elf_common): Renamed from obj_elf_common.
4350 (obj_elf_common): Call elf_common.
4351 (obj_elf_tls_common): New function.
4352 (elf_pseudo_tab): Support .tls_common.
4353 (special_sections): Add .tdata and .tbss.
4354 (obj_elf_change_section): Set SEC_THREAD_LOCAL for SHF_TLS
4355 sections.
4356 (obj_elf_parse_section_letters): Support T in section flags (SHF_TLS).
4357 (obj_elf_parse_section_letters): Include T in error message.
4358 * config/tc-ppc.c (ppc_section_letter): Likewise.
4359 * config/tc-alpha.c (alpha_elf_section_letter): Likewise.
4360 (tc_gen_reloc): Handle SEC_THREAD_LOCAL the same way as
4361 SEC_MERGE.
4362 * config/tc-sparc.c (md_apply_fix3): Likewise.
4363 * config/tc-i386.c (tc_i386_fix_adjustable): Add TLS relocs.
4364 Define them if not BFD_ASSEMBLER.
4365 (lex_got): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF, @DTPOFF
4366 and @NTPOFF.
4367 (md_apply_fix3): Add TLS relocs.
4368 * config/tc-ia64.c (enum reloc_func): Add FUNC_DTP_MODULE,
4369 FUNC_DTP_RELATIVE, FUNC_TP_RELATIVE, FUNC_LT_DTP_MODULE,
4370 FUNC_LT_DTP_RELATIVE, FUNC_LT_TP_RELATIVE.
4371 (pseudo_func): Support @dtpmod(), @dtprel() and @tprel().
4372 (ia64_elf_section_letter): Include T in error message.
4373 (md_begin): Support TLS operators.
4374 (md_operand): Likewise.
4375 (ia64_gen_real_reloc_type): Support TLS relocs.
4376 * write.c (adjust_reloc_syms): Don't change symbols in
4377 SEC_THREAD_LOCAL sections to STT_SECTION + addend.
4378
4379 2002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
4380
4381 * config/tc-arm.c (md_apply_fix3): For the Thumb BLX reloc
4382 round the relocation up rather than down.
4383
4384 2002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
4385
4386 * config/obj-coff.c (obj_coff_section): Silently ignore an 'a'
4387 flag.
4388 * doc/as.texinfo: Document that the COFF version of .section
4389 ignores the 'a' flag.
4390
4391 2002-05-23 Alan Modra <amodra@bigpond.net.au>
4392
4393 * config/tc-alpha.c (assemble_tokens): Protect use of
4394 ALPHA_RELOC_TABLE with #ifdef RELOC_OP_P.
4395
4396 * write.c (size_seg): Check adjustment to last frag.
4397 (SUB_SEGMENT_ALIGN): If HANDLE_ALIGN defined, pad out last frag to
4398 section alignment.
4399 * config/obj-coff.c (SUB_SEGMENT_ALIGN): Likewise.
4400 * config/obj-ieee.c (SUB_SEGMENT_ALIGN): Likewise.
4401 (write_object_file): Invoke md_do_align if available, and use
4402 frag_align_code on text sections.
4403 * config/obj-vms.h (SUB_SEGMENT_ALIGN): Now two args.
4404 * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Likewise.
4405 * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Likewise.
4406 * config/tc-sh.h (SUB_SEGMENT_ALIGN): Likewise.
4407 * config/tc-i386.h (SUB_SEGMENT_ALIGN): Likewise. Define for
4408 BFD_ASSEMBLER too.
4409
4410 2002-05-22 H.J. Lu <hjl@gnu.org>
4411
4412 * dwarf2dbg.c (dwarf2_directive_loc): Call listing_source_file
4413 for source file.
4414
4415 2002-05-22 Nick Clifton <nickc@cambridge.redhat.com>
4416
4417 * config/tc-arm.c (arm_s_section): Enable for COFF builds as well
4418 as ELF builds.
4419
4420 2002-05-22 H.J. Lu <hjl@gnu.org>
4421
4422 * dwarf2dbg.c (dwarf2_emit_insn): Emit only one line symbol
4423 for one .loc for compiler.
4424
4425 2002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4426
4427 * config/tc-mips.c (macro): Relax warning, it's toot strict for
4428 embedded-PIC.
4429
4430 2002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4431
4432 * config/tc-mips.c (macro2): Add 64 bit drol, dror macros.
4433 Optimize the rotate by zero case.
4434
4435 2002-05-21 Nick Clifton <nickc@cambridge.redhat.com>
4436
4437 * configure.in: Remove accidental enabling of bfd_gas=yes for
4438 sh-coff targets.
4439 * configure: Regenerate.
4440
4441 2002-05-18 Kazu Hirata <kazu@cs.umass.edu>
4442
4443 * app.c: Fix formatting.
4444 * as.c: Likewise.
4445 * ehopt.c: Likewise.
4446 * expr.c: Likewise.
4447 * input-file.c: Likewise.
4448 * listing.c: Likewise.
4449 * macro.h: Likewise.
4450 * stabs.c: Likewise.
4451 * symbols.c: Likewise.
4452
4453 2002-05-17 Alan Modra <amodra@bigpond.net.au>
4454
4455 * config/obj-generic.c: Delete file.
4456 * config/obj-generic.h: Likewise.
4457
4458 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
4459
4460 * config/tc-avr.c (mcu_types): Update for new devices.
4461
4462 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4463
4464 * config/tc-mips.c (macro): Warn about wrong la/dla use.
4465
4466 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4467
4468 * config/tc_mips.c (s_cpsetup): Fix completely bogus code which had
4469 worked sometimes by accident. Fix copy&paste comment.
4470
4471 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4472
4473 * config/tc-mips.c (md_begin): Fix .reginfo and .MIPS.option section
4474 alignment for NewABI. Let n32 use .reginfo. Remove useless casts.
4475 (mips_elf_final_processing): Let n32 use .reginfo.
4476
4477 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4478
4479 * config/tc-mips.c (append_insn): Fix too small range of variable.
4480
4481 2002-05-14 Nick Clifton <nickc@cambridge.redhat.com>
4482
4483 * config/tc-arm.c (arm_cleanup): Remove redundant call to
4484 listing_prev_line().
4485
4486 2002-05-13 Nick Clifton <nickc@cambridge.redhat.com>
4487
4488 * config/tc-arm.c (md_assemble): Remove redundant call to
4489 listing_prev().
4490
4491 * dwarf2dbg.c (dwarf2_emit_insn): Do not reset
4492 loc_directive_seen.
4493
4494 * stabs.c (s_stab_generic): Fix grammatical error in warning
4495 message.
4496
4497 2002-05-13 Alan Modra <amodra@bigpond.net.au>
4498
4499 * write.c (subsegs_finish): Don't specially align last subseg.
4500
4501 2002-05-11 Nick Clifton <nickc@cambridge.redhat.com>
4502
4503 * stabs.c (s_stab_generic): Warn about a description field that is
4504 too big.
4505
4506 * config/obj-coff.c: Fix compile time warnings when compiling
4507 without BFD_ASSEMBLER defined.
4508 Fix formatting.
4509
4510 * config/tc-sh.c (md_pcrel_from): Define for use with sh-hms
4511 target.
4512 (md_pcrel_from_section): Use md_pcrel_from().
4513
4514 2002-05-11 Bruno Haible <bruno@clisp.org>
4515
4516 * dwarf2dbg.c (dwarf2_emit_insn): Use the 'current' struct filled
4517 by dwarf2_directive_loc, instead of calling dwarf2_where.
4518
4519 2002-05-11 Kazu Hirata <kazu@cs.umass.edu>
4520
4521 * config/obj-coff.h: Fix formatting.
4522 * config/tc-mcore.c: Likewise.
4523 * config/tc-mn10300.c: Likewise.
4524 * config/tc-openrisc.c: Likewise.
4525 * config/tc-or32.c: Likewise.
4526 * config/tc-pdp11.c: Likewise.
4527 * config/tc-ppc.c: Likewise.
4528 * config/tc-ppc.h: Likewise.
4529 * config/tc-sh64.c: Likewise.
4530 * config/tc-sh.c: Likewise.
4531 * config/tc-tic54x.c: Likewise.
4532 * config/tc-xstormy16.c: Likewise.
4533 * config/tc-xstormy16.h: Likewise.
4534
4535 2002-05-09 Kazu Hirata <kazu@cs.umass.edu>
4536
4537 * config/obj-coff.c: Fix formatting.
4538 * config/obj-elf.c: Likewise.
4539 * config/tc-alpha.c: Likewise.
4540 * config/tc-arm.c: Likewise.
4541 * config/tc-d10v.c: Likewise.
4542 * config/tc-d30v.c: Likewise.
4543 * config/tc-h8300.c: Likewise.
4544 * config/tc-hppa.c: Likewise.
4545
4546 2002-05-09 Alan Modra <amodra@bigpond.net.au>
4547
4548 * config/tc-i386.c (md_estimate_size_before_relax) Don't lose
4549 reloc when no_cond_jump_promotion.
4550
4551 2002-05-08 Jim Wilson <wilson@redhat.com>
4552
4553 * config/tc-i960.c (md_estimate_size_before_relax): Return size of
4554 current variable part of frag.
4555
4556 2002-05-08 Kazu Hirata <kazu@cs.umass.edu>
4557
4558 * config/tc-mmix.c: Fix formatting.
4559 * config/tc-mmix.h: Likewise.
4560
4561 2002-05-08 Alan Modra <amodra@bigpond.net.au>
4562
4563 * configure: Regenerate.
4564
4565 2002-05-07 Kazu Hirata <kazu@cs.umass.edu>
4566
4567 * config/tc-m68k.c: Fix formatting.
4568
4569 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
4570
4571 * Makefile.am: Honour DESTDIR.
4572 * Makefile.in: Regenerate.
4573
4574 2002-05-06 Kazu Hirata <kazu@cs.umass.edu>
4575
4576 * config/tc-ia64.c: Fix formatting.
4577 * config/tc-ia64.h: Likewise.
4578
4579 2002-05-04 Kazu Hirata <kazu@cs.umass.edu>
4580
4581 * config/tc-mips.c: Fix formatting.
4582 * config/tc-s390.c: Likewise.
4583 * config/tc-s390.h: Likewise.
4584
4585 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
4586
4587 * config/tc-s390.c (md_gather_operands): Emit dwarf2 line-number
4588 information for instructions.
4589
4590 2002-05-02 Kazu Hirata <kazu@cs.umass.edu>
4591
4592 * as.h: Fix formatting.
4593 * cgen.c: Likewise.
4594 * cgen.h: Likewise.
4595 * dwarf2dbg.c: Likewise.
4596 * frags.h: Likewise.
4597 * gasp.c: Likewise.
4598 * macro.c: Likewise.
4599 * read.c: Likewise.
4600 * stabs.c: Likewise.
4601 * symbols.c: Likewise.
4602
4603 2002-05-02 Alan Modra <amodra@bigpond.net.au>
4604
4605 * app.c (mri_pseudo): Only declare for TC_M68K.
4606
4607 * config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL.
4608 (ppc_elf_validate_fix): Replace BFD_RELOC_32_BASEREL with
4609 BFD_RELOC_16_BASEREL.
4610 (md_assemble): Likewise.
4611 (md_apply_fix3): Likewise.
4612
4613 2002-05-02 Nick Clifton <nickc@cambridge.redhat.com>
4614
4615 * config/tc-arm.c (thumb_add_sub): Do not convert a subtract of
4616 zero into an add of zero - it is not the same.
4617
4618 2002-05-01 Arati Dikey <aratid@kpit.com>
4619
4620 * tc-sh.c (get_specific): Generate warning if the same
4621 destination register is used in parallel instructions.
4622
4623 2002-05-01 Andrew Macleod <amacleod@cygnus.com>
4624
4625 * config/tc-i386.c (extra_symbol_chars): Add '[' to the list.
4626
4627 2002-05-01 Alan Modra <amodra@bigpond.net.au>
4628
4629 * write.c (cvt_frag_to_fill): Set fr_offset to zero on .org
4630 backwards to prevent cascading errors.
4631
4632 2002-04-30 Mark Mitchell <mark@codesourcery.com>
4633
4634 * configure.in: Add support for powerpc-*-windiss.
4635 * configure: Regenerated.
4636
4637 2002-04-28 Alan Modra <amodra@bigpond.net.au>
4638
4639 * config/tc-s390.c (md_parse_option): Formatting.
4640
4641 * config/tc-i386.c: Formatting fixes, add missing space in error
4642 message.
4643
4644 2002-04-24 Christian Groessler <chris@groessler.org>
4645
4646 * config/tc-z8k.c (build_bytes): Add support for new cases:
4647 CLASS_IGNORE and ARG_NIM4.
4648 (md_assemble): Prevent destruction of input_line_pointer if
4649 get_operands returns failure.
4650
4651 2002-04-24 Chris G. Demetriou <cgd@broadcom.com>
4652
4653 * config/tc-mips.c (macro_build): Do _not_ allow MIPS-3D
4654 instructions to be generated by macros.
4655
4656 2002-04-24 Andreas Schwab <schwab@suse.de>
4657
4658 * config/tc-i386.c (output_jump, output_disp)
4659 (md_estimate_size_before_relax): Don't set fx_pcrel_adjust any
4660 more.
4661 (md_apply_fix3): Remember addend value for rela relocations.
4662 (tc_gen_reloc): Correctly compute pc-relative relocation addend.
4663
4664 2002-04-22 Chris Demetriou <cgd@broadcom.com>
4665
4666 * config/tc-mips.c (macro_build): Add close-parenthesis missing
4667 from previous change.
4668
4669 2002-04-22 Eric Christopher <echristo@redhat.com>
4670
4671 * config/tc-mips.c (macro_build): Add warning if macro instructions
4672 are expanded into a branch delay slot.
4673
4674 2002-04-17 Geoffrey Keating <geoffk@redhat.com>
4675
4676 * dwarf2dbg.c (dwarf2_gen_line_info): Do emit duplicate line
4677 numbers, gdb relies on them to detect the start of the prologue.
4678
4679 2002-04-17 Martin Schwidefsky <schwidefsky@de.ibm.com>
4680
4681 * config/tc-s390.c (tc_s390_fix_adjustable): Prevent adjustments to
4682 symbols in merge sections.
4683
4684 2002-04-16 Alan Modra <amodra@bigpond.net.au>
4685
4686 * as.c (main): Don't reference _bfd_chunksize.
4687
4688 2002-04-15 Tom Rix <trix@redhat.com>
4689
4690 * config/tc-d10v.c (d10v_fix_adjustable): Prevent adjustments to
4691 symbols in merge sections.
4692
4693 2002-04-11 Richard Sandiford <rsandifo@redhat.com>
4694
4695 * doc/invoke.texi (TC_LARGEST_EXPONENT_IS_NORMAL): Document.
4696 * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): Add an
4697 argument for the precision.
4698 (gen_to_words): Update accordingly.
4699
4700 2002-04-10 Alan Modra <amodra@bigpond.net.au>
4701
4702 * as.c (parse_args <OPTION_VERSION>): Use VERSION is
4703 BFD_VERSION_STRING unavailable.
4704 * config/tc-i386.c (INLINE): Define (for non-BFD assembler).
4705
4706 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
4707
4708 * config/tc-sh.h (TC_FIX_ADJUSTABLE): Disable adjusting if
4709 symbol_used_in_reloc_p is true.
4710
4711 * config/tc-sh.c (md_apply_fix3): Don't zero relocations on big
4712 endian hosts.
4713
4714 2002-04-04 Alan Modra <amodra@bigpond.net.au>
4715
4716 * dep-in.sed: Cope with absolute paths.
4717 * Makefile.am (dep.sed): Subst TOPDIR.
4718 Run "make dep-am".
4719 * Makefile.in: Regenerate.
4720
4721 2002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4722
4723 * config/tc-mips.c (mips16_macro_build): Cast type mismatch.
4724 (mips_ip): Remove unused variable.
4725 (md_apply_fix3): Cast signed/unsignes mismatches. Replace
4726 unsigned char with bfd_byte.
4727 (s_file): Remove unused variable.
4728 (s_mips_ent): Likewise.
4729
4730 2002-04-03 Tom Rix <trix@redhat.com>
4731
4732 * config/tc-d10v.c (d10v_insert_operand): Fix warning in as_bad_where.
4733 (build_insn): Same.
4734 (find_opcode): Fix warning in as_warn.
4735 * config/tc-d10v.h: Update Copyright.
4736
4737 2002-04-03 Alan Matsuoka <alanm@redhat.com>
4738 Tom Rix <trix@redhat.com>
4739
4740 From Jeff Knaggs <jknaggs@redhat.com>
4741 * config/tc-d10v.c (check_resource_conflict): New function to
4742 check for resource conflicts.
4743
4744 From Jason Eckhardt <jle@redhat.com>
4745 * config/tc-d10v.c (build_insn): Check for unresolved imm4 or
4746 imm3 fields.
4747 * config/tc-d10v.c (find_opcode): Emit a warning if one of the
4748 reserved control registers is used.
4749 * config/tc-d10v.c (build_insn): Check for unresolved imm4 or
4750 imm3 fields.
4751
4752 From 2001-03-28 Diego Novillo <dnovillo@redhat.com>
4753 * tc-d10v.c (parallel_ok): Prevent packing only if the first
4754 instruction cannot be packed.
4755
4756 From 2001-03-30 Diego Novillo <dnovillo@redhat.com>
4757 * gas/config/tc-d10v.c (check_resource_conflict): Only check
4758 write-write conflicts.
4759 (md_assemble): Reformat introductory comment.
4760 * opcodes/d10v-opc.c (d10v_opcodes): `btsti' does not modify its
4761 arguments.
4762
4763 2002-04-03 Alan Modra <amodra@bigpond.net.au>
4764
4765 * symbols.c (resolve_symbol_value <O_uminus, O_bit_not,
4766 O_logical_not>): Derive final_seg from add_symbol.
4767 <O_multiply..O_logical_or>: More final_seg twiddles.
4768
4769 2002-04-01 Jessica Han <jessica@cup.hp.com>
4770
4771 * config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc
4772 in 32-bit mode.
4773
4774 2002-03-27 Andreas Schwab <schwab@suse.de>
4775
4776 * config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of
4777 field for pc-relative fixups.
4778 (output_disp): Likewise.
4779 (md_estimate_size_before_relax): Likewise.
4780 (tc_gen_reloc): Subtract fx_pcrel_adjust instead of fx_size for
4781 pc-relative fixups in 64bit mode.
4782
4783 2002-03-22 Alan Modra <amodra@bigpond.net.au>
4784
4785 * config/te-aix5.h: Typo fix.
4786
4787 2002-03-21 Alan Modra <amodra@bigpond.net.au>
4788
4789 * Makefile.am: Run "make dep-am".
4790 * Makefile.in: Regenerate.
4791 * doc/Makefile.in: Regenerate.
4792
4793 2002-03-20 Albert Chin-A-Young <china@thewrittenword.com>
4794
4795 * config/tc-arm.c (vfp_dp_reg_required_here): Fix typo
4796 (vfp_sp_reg_pos -> vfp_dp_reg_pos).
4797
4798 2002-03-18 Alexandre Oliva <aoliva@redhat.com>
4799
4800 * config/tc-mips.c (md_estimate_size_before_relax): Do not modify
4801 the EXTENDED bit here; report the estimate according to the
4802 current size.
4803
4804 2002-03-18 Tom Rix <trix@redhat.com>
4805
4806 * configure.in: Add AIX 5 support.
4807 * config/tc-ppc.c (ppc_target_format): Add AIX 5 64 bit target.
4808 * config/te-aix5.h: New file. AIX 5 support.
4809 * configure: Regenerate.
4810
4811 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
4812
4813 * po/fr.po: Updated version.
4814
4815 2002-03-16 Andreas Jaeger <aj@suse.de>
4816
4817 * doc/c-mips.texi (Machine Dependencies): Add new node.
4818
4819 2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
4820
4821 * config/tc-mips.c (mips_set_options): New "ase_mips3d" member.
4822 (mips_opts): Initialize "ase_mips3d" member.
4823 (file_ase_mips3d): New variable.
4824 (CPU_HAS_MIPS3D): New macro.
4825 (md_begin): Initialize mips_opts.ase_mips3d and file_ase_mips3d
4826 based on command line options and configuration defaults.
4827 (macro_build, mips_ip): Accept MIPS-3D instructions if
4828 mips_opts.ase_mips3d is set.
4829 (OPTION_MIPS3D, OPTION_NO_MIPS3D, md_longopts, md_parse_option):
4830 Add support for "-mips3d" and "-no-mips3d" options.
4831 (OPTION_ELF_BASE): Move to accomodate new options.
4832 (s_mipsset): Support ".set mips3d" and ".set nomips3d".
4833 (mips_elf_final_processing): Add a comment indicating that a
4834 MIPS-3D ASE ELF header flag should be set, when one exists.
4835 * doc/as.texinfo: Document -mips3d and -no-mips3d options.
4836 * doc/c-mips.texi: Likewise, and document ".set mips3d" and ".set
4837 nomips3d" directives.
4838
4839 2002-03-14 Hans-Peter Nilsson <hp@bitrange.com>
4840
4841 * config/tc-mmix.c (md_estimate_size_before_relax): Don't consider
4842 a weak symbol in same section to be within reach.
4843
4844 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
4845
4846 * po/fr.po: Updated version.
4847
4848 2002-03-12 Andreas Schwab <schwab@suse.de>
4849
4850 * config/tc-ia64.c (fixup_unw_records): Clear region when seeing a
4851 body record so that an error is given for misplaced .save
4852 pseudo-ops.
4853
4854 2002-03-09 Alan Modra <amodra@bigpond.net.au>
4855
4856 * config/tc-i386.h (REX_OPCODE): Define.
4857 (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): Define.
4858 (rex_byte): typedef to int.
4859 * config/tc-i386.c: Group prototypes and vars together.
4860 Formatting fixes. Remove occurrences of "register" keyword.
4861 (true): Delete.
4862 (false): Delete.
4863 (mode_from_disp_size): Add INLINE keyword to prototype.
4864 (fits_in_signed_byte): Likewise.
4865 (fits_in_unsigned_byte): Likewise.
4866 (fits_in_unsigned_word): Likewise.
4867 (fits_in_signed_word): Likewise.
4868 (fits_in_unsigned_long): Likewise.
4869 (fits_in_signed_long): Likewise.
4870 (type_names): Constify.
4871 (intel_float_operand): Constify param.
4872 (add_prefix): Use REX_OPCODE.
4873 (md_assemble): Likewise. Modify for changed rex_byte.
4874 (parse_insn): Split out of md_assemble.
4875 (parse_operands): Likewise.
4876 (swap_operands): Likewise.
4877 (optimize_imm): Likewise.
4878 (optimize_disp): Likewise.
4879 (match_template): Likewise.
4880 (check_string): Likewise.
4881 (process_suffix): Likewise.
4882 (check_byte_reg): Likewise.
4883 (check_long_reg): Likewise.
4884 (check_qword_reg): Likewise.
4885 (check_word_reg): Likewise.
4886 (finalize_imm): Likewise.
4887 (process_operands): Likewise.
4888 (build_modrm_byte): Likewise.
4889 (output_insn): Likewise.
4890 (output_branch): Likewise.
4891 (output_jump): Likewise.
4892 (output_interseg_jump): Likewise.
4893 (output_disp): Likewise.
4894 (output_imm): Likewise.
4895
4896 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
4897
4898 * doc/as.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
4899
4900 2002-03-06 Alan Modra <amodra@bigpond.net.au>
4901
4902 * config/tc-i386.c (tc_gen_reloc): Don't attempt to handle 8 byte
4903 relocs except when BFD64.
4904
4905 * write.c (number_to_chars_bigendian): Don't abort when N is
4906 larger than sizeof (VAL).
4907 (number_to_chars_littleendian): Likewise.
4908
4909 2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
4910
4911 * config/tc-hppa.c (md_apply_fix3): Add cast.
4912 (hppa_fix_adjustable): Adjust list of selectors using e_lrsel and
4913 e_rrsel.
4914
4915 2002-03-05 Paul Koning <pkoning@equallogic.com>
4916
4917 * tc-pdp11.c: Use VAX float format support for PDP-11 target.
4918 (parse_ac5): New function for parsing float regs in float operand.
4919 (parse_expression): Remove attempt to make literals be octal.
4920 (parse_op_no_deferred): Support float literals.
4921 (parse_op): Reject attempts to refer to float regs.
4922 (parse_fop): New function, like parse_op but for float operand.
4923 (md_assemble): Add cases to parse float operands. Also fix
4924 IMM3, IMM6, IMM8 cases to pick up the operand from the right spot.
4925
4926 2002-03-04 H.J. Lu <hjl@gnu.org>
4927
4928 * config/obj-elf.c (special_section): Add .init_array,
4929 .fini_array and .preinit_array.
4930
4931 * config/tc-ia64.h (ELF_TC_SPECIAL_SECTIONS): Remove
4932 .init_array and .fini_array.
4933
4934 2002-03-01 Jakub Jelinek <jakub@redhat.com>
4935
4936 * config/obj-elf.c (elf_copy_symbol_attributes): Don't copy
4937 visibility.
4938 (obj_frob_symbol): Copy visibility.
4939
4940 2002-02-28 Jakub Jelinek <jakub@redhat.com>
4941
4942 * config/tc-alpha.c (s_alpha_text): Use obj_elf_text for OBJ_ELF, not
4943 s_text.
4944 (s_alpha_data): Use obj_elf_data for OBJ_ELF, not s_data.
4945
4946 2002-02-27 Nick Clifton <nickc@cambridge.redhat.com>
4947
4948 * po/es.po: Updated.
4949
4950 2002-02-26 Chris Demetriou <cgd@broadcom.com>
4951
4952 * config/tc-mips.c (mips_need_elf_addend_fixup): For embedded-PIC
4953 only, undo the changes made on 2001-06-08, with the
4954 effect being that common or extern symbols are
4955 adjusted for embedded-PIC, but weak symbols are not.
4956 (md_estimate_size_before_relax: Likewise, with the effect
4957 that extern symbols are treated the same as weak symbols
4958 only if not embedded-PIC.
4959 (mips_fix_adjustable) Likewise, with the effect that
4960 weak or extern symbols are not adjusted for embedded-PIC.
4961 (md_apply_fix3): Tweak so that the case where value is zero
4962 is handled more correctly for embedded-PIC code.
4963
4964 2002-02-26 Nick Clifton <nickc@cambridge.redhat.com>
4965
4966 * doc/as.texinfo (Overview): Add missing @ifset IA64
4967
4968 * configure.in (LINGUAS): Add es.po.
4969 * configure: Regenerate.
4970 * po/es.po: New file.
4971
4972 2002-02-25 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4973
4974 * config/tc-mips.c (set_at): Fix handling of 64bit register loads.
4975 (macro): Likewise. Fix la/dla address expansions for EMBEDDED_PIC
4976 and NO_PIC cases. Code cleanup.
4977 (macro2): Fix handling of 64bit register loads.
4978
4979 2002-02-25 David Mosberger <davidm@hpl.hp.com>
4980
4981 * doc/as.texinfo: Add entry for IA64.
4982 * doc/c-ia64.texi: New file.
4983
4984 2002-02-25 Alan Modra <amodra@bigpond.net.au>
4985
4986 * config/tc-hppa.c: Update copyright date.
4987
4988 * doc/c-ppc.texi (PowerPC-Opts): Add -mpower4, -maltivec and -m7400
4989 Remove references to chip manufacturers.
4990 * config/tc-ppc.c (md_parse_option): Handle -mpower4 option.
4991 Correct comments.
4992 (md_show_usage): Remove references to chip manufacturers. Mention
4993 -mpower4.
4994 (md_begin): Test power4 opcode flag bits.
4995
4996 2002-02-22 David Mosberger <davidm@hpl.hp.com>
4997
4998 * config/tc-ia64.c (dot_restore): Issue error message of epilogue
4999 count exceeds prologue count.
5000 (md_show_usage): Describe -mconstant-gp and -mauto-pic.
5001 (unwind.label_prologue_count): New member.
5002
5003 Based on a patch by Hans Boehm <hboehm@hpl.hp.com>:
5004
5005 (get_saved_prologue_count): New function.
5006 (save_prologue_count): New function.
5007 (free_saved_prologue_count): New function.
5008 (dot_label_state): Record state label by calling save_prologue_count().
5009 (dot_copy_state): Restore prologue count by calling
5010 get_saved_prologue_count().
5011 (generate_unwind_image): Free up list of saved prologue
5012 counts by calling free_saved_prologue_counts().
5013
5014 2002-02-22 Nick Clifton <nickc@cambridge.redhat.com>
5015
5016 * config/tc-tic54x.c: Add missing prototypes and remove ANSI style
5017 function declarations.
5018
5019 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
5020
5021 * NEWS: Note that GASP is now deprecated.
5022 * Makefile.am: Do not build gasp-new by default.
5023 * Makefile.in: Regenerate.
5024 * doc/Makefile.am: Do not install gasp.info.
5025 * doc/Makefile.in: Regenerate.
5026 * gas/gasp.texi: Note that gasp is now deprecated.
5027
5028 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
5029
5030 * NEWS: Mark 2.12 branch.
5031
5032 2002-02-19 Tom Tromey <tromey@redhat.com>
5033
5034 * config/tc-xstormy16.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
5035
5036 2002-02-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5037
5038 * config/tc-mips.c (md_parse_option): Complain about invalid -mabi
5039 option input.
5040
5041 2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
5042
5043 * config/tc-s390.c (md_parse_option): Add switches -m31 and -m64.
5044 Make bit size independent of architecture switch.
5045 (md_begin): Add warning for -m64 with -Aesa.
5046 (s390_md_end): Use renamed architecture defines.
5047
5048 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
5049
5050 * config/obj-coff.h: Check !target_big_endian, not shl, for coff-sh.
5051
5052 2002-02-16 Nick Clifton <nickc@cambridge.redhat.com>
5053
5054 * doc/as.texinfo (Machine Dependencies): Fix typo: MMIX used
5055 instead of CRIS.
5056
5057 2002-02-15 Chris Demetriou <cgd@broadcom.com>
5058
5059 * config/tc-mips.c (md_estimate_size_before_relax): Really
5060 make sure we treat weak like extern only for ELF. (Fixes
5061 patch from 2001-07-25.)
5062
5063 2002-02-15 Ben Elliston <bje@redhat.com>
5064
5065 * doc/as.texinfo: Add duplicate directory entry so that "info gas"
5066 works as expected.
5067
5068 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
5069
5070 * NEWS: Mention support for MMIX.
5071
5072 2002-02-13 Chris Demetriou <cgd@broadcom.com>
5073
5074 * config/tc-mips.c (mips_need_elf_addend_fixup): Restructure into
5075 a sequence of indpendent 'if' statements for easier debugging
5076 and future modification.
5077
5078 2002-02-13 Matt Fredette <fredette@netbsd.org>
5079
5080 * config/tc-m68k.c (md_show_usage): No longer display a
5081 hard-coded "68020" for the default CPU, instead display the
5082 canonical name of the true, configured default CPU.
5083 (m68k_elf_final_processing): Mark objects for sub-68020
5084 CPUs with the new EF_M68000 flag.
5085
5086 2002-02-13 Andreas Schwab <schwab@suse.de>
5087
5088 * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
5089 pc-relative relocations to merge sections in 64-bit mode.
5090
5091 2002-02-13 Ben Elliston <bje@redhat.com>
5092
5093 * NEWS: Document floating point number handling in gasp.
5094 * gasp.c: Include <assert.h> and "xregex.h".
5095 (is_flonum): New function.
5096 (chew_flownum): Likewise.
5097 (change_base): Consume flonums from the input, where possible.
5098 * doc/gasp.texi (Constants): Document floating point numbers.
5099
5100 2002-02-12 John David Anglin <dave@hiauly1.hia.nrc.ca>
5101
5102 * config/tc-hppa.c (hppa_fix_adjustable): Don't adjust final types
5103 that implicitly use LR and RR selectors.
5104
5105 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
5106
5107 * config/tc-mn10300.c (other_registers): Added `epsw'. Mark `pc'
5108 and `epsw' as available on AM33 and above only.
5109 (other_register_name): Add logic to handle machine type encoded in
5110 reg_number.
5111
5112 2002-02-11 Tom Rix <trix@redhat.com>
5113
5114 * config/tc-ppc.c (md_apply_fix3): Check for insert fop invalid for
5115 xcoff64.
5116
5117 2002-06-11 Alexandre Oliva <aoliva@redhat.com>
5118
5119 * config/tc-sparc.c (U0x80000000, U0xffffffff): New constants.
5120 Use all over.
5121
5122 2002-02-11 Jan Hubicka <jh@suse.cz>
5123
5124 * i386.c (md_assemble): Support 32bit address prefix.
5125 (i386_displacement): Likewise.
5126 (i386_index_check): Accept 32bit addressing in 64bit mode.
5127
5128 2002-02-11 Alexandre Oliva <aoliva@redhat.com>
5129
5130 * config/tc-sh.c (dot): Removed unused function.
5131
5132 2002-02-11 Alan Modra <amodra@bigpond.net.au>
5133
5134 * Makefile.am: "make dep-am".
5135 * Makefile.in: Regenerate.
5136 * aclocal.m4: Regenerate.
5137 * config.in: Regenerate.
5138 * configure: Regenerate.
5139 * doc/Makefile.in: Regenerate.
5140
5141 2002-02-10 Richard Henderson <rth@redhat.com>
5142
5143 * doc/c-alpha.texi: New file.
5144 * doc/Makefile.am (CPU_DOCS): Add it.
5145 * doc/all.texi, doc/as.texinfo: Add hooks for Alpha.
5146
5147 2002-02-09 Richard Henderson <rth@redhat.com>
5148
5149 * config/tc-alpha.c (O_samegp): New.
5150 (USER_RELOC_P): Include it.
5151 (alpha_reloc_op_tag, debug_exp, find_macro_match): Add it.
5152 (md_apply_fix3): Handle BFD_RELOC_ALPHA_BRSGP.
5153 (alpha_force_relocation, alpha_fix_adjustable): Likewise.
5154 (alpha_validate_fix): New.
5155 * config/tc-alpha.h (TC_VALIDATE_FIX): New.
5156
5157 2002-02-09 Hans-Peter Nilsson <hp@axis.com>
5158
5159 * doc/c-cris.texi: New.
5160 * doc/all.texi: @set CRIS.
5161 * doc/as.texinfo: Ditto. Add CRIS gas manpage option overview.
5162 Include c-cris.texi.
5163 * doc/Makefile.am (CPU_DOCS): Add c-cris.texi
5164 * doc/Makefile.in: Regenerate.
5165
5166 2002-02-08 Chris Demetriou <cgd@broadcom.com>
5167
5168 * config/tc-mips.c (IS_SEXT_32BIT_NUM): New macro to
5169 determine if a number is a sign-extended 32-bit number.
5170 (load_register): Use IS_SEXT_32BIT_NUM.
5171 (macro): Check if load/store macro handling is using a
5172 constant 32-bit address on 64-bit address systems, and if
5173 so optimize the generation of that address.
5174
5175 2002-02-08 Richard Henderson <rth@redhat.com>
5176
5177 * config/tc-alpha.c (alpha_force_relocation): Don't assert that
5178 we've eliminated all foreign relocation types yet.
5179 (alpha_fix_adjustable): Likewise.
5180
5181 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
5182
5183 Contribute sh64-elf.
5184 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
5185 Stephen Clarke <Stephen.Clarke@st.com>
5186 * doc/c-sh64.texi: Fix citation of SH64 architecture manual.
5187 2002-01-31 Alexandre Oliva <aoliva@redhat.com>
5188 * config/tc-sh.c (md_relax_table): Added default sizes for
5189 non-PC-relative UNDEF_MOVI, and relaxation sequences for
5190 MOVI_16, MOVI_32 and MOVI_48.
5191 * config/tc-sh64.c (shmedia_md_apply_fix3): Fix warning.
5192 (shmedia_md_convert_frag): Handle non-PC-relative UNDEF_MOVI
5193 and MOVI_16.
5194 (shmedia_md_estimate_size_before_relax): Remove redundant
5195 blocks. Set fragP->fr_var even if relaxation type unchanged.
5196 Retain UNDEF_MOVI until expression decays to number.
5197 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
5198 * config/tc-sh64.c (shmedia_init_reloc): Handle new SHmedia PIC
5199 relocation types. Take fixP->fx_addnumber into account too.
5200 (shmedia_md_apply_fix): Likewise.
5201 (shmedia_md_convert_frag): Likewise.
5202 (shmedia_build_Mytes): Likewise.
5203 (sh64_consume_datalabel): Complain about nested datalabel.
5204 Support PIC relocs. Call sh_parse_name.
5205 * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Extend definition
5206 in tc-sh.h to SHmedia reloc types.
5207 * config/tc-sh.c (SH64PCRELPLT, MOVI_PLT, MOVI_GOTOFF,
5208 MOVI_GOTPC): New relaxation constants.
5209 (md_relax_table): Introduce relaxation directives for PIC-related
5210 constants.
5211 (sh_PIC_related_p): Handle datalabel.
5212 (sh_check_fixup): Choose SH5 PIC relocations.
5213 (sh_cons_fix_new): Added BDF_RELOC_64.
5214 (md_apply_fix3, sh_parse_name): Handle GOTPLT.
5215 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
5216 * config/tc-sh64.c (sh64_max_mem_for_rs_align_code): If the
5217 current ISA is SHmedia, get 7 bytes.
5218 2001-11-28 Nick Clifton <nickc@cambridge.redhat.com>
5219 * config/tc-sh.c (md_apply_fix3): Treat shmedia_md_apply_fix3 as a
5220 void function.
5221 * config/tc-sh64.c (shmedia_apply_fix): Rename to
5222 shmedia_apply_fix3 and make void.
5223 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
5224 * config/tc-sh64.c (s_sh64_abi): Remove unused arguments passed to
5225 as_bad.
5226 2001-04-12 Alexandre Oliva <aoliva@redhat.com>
5227 * config/tc-sh64.h (md_parse_name): Take &c as argument.
5228 2001-03-14 DJ Delorie <dj@redhat.com>
5229 * doc/Makefile.am (CPU_DOCS): Added c-sh64.texi
5230 * doc/Makefile.in(CPU_DOCS): Ditto.
5231 * doc/c-sh64.texi: New file.
5232 * doc/as.texinfo: Add SH64 support.
5233 2001-03-13 DJ Delorie <dj@redhat.com>
5234 * config/tc-sh64.c (shmedia_get_operands): Rename A_RESV_Fx to
5235 A_REUSE_PREV so that its purpose is more obvious.
5236 (shmedia_build_Mytes): Ditto.
5237 2001-03-07 DJ Delorie <dj@redhat.com>
5238 * config/tc-sh64.c (sh64_vtable_entry): New, strip datalabels
5239 before processing.
5240 (sh64_vtable_inherit): Ditto.
5241 (strip_datalabels): New, strip "datalabel" from given line.
5242 * config/tc-sh.c (md_pseudo_table): Add sh64-specific vtable
5243 pseudos.
5244 2001-03-06 Hans-Peter Nilsson <hpn@cygnus.com>
5245 * config/tc-sh64.c (shmedia_md_assemble): Move dwarf2_emit_insn
5246 call ...
5247 (shmedia_build_Mytes): ... to here.
5248 2001-03-06 DJ Delorie <dj@redhat.com>
5249 * config/tc-sh.c: Remove sh64-specific uaquad now that there
5250 is a generic one.
5251 2001-01-21 Hans-Peter Nilsson <hpn@cygnus.com>
5252 * config/tc-sh64.h (DWARF2_LINE_MIN_INSN_LENGTH): Override.
5253 * config/tc-sh64.c (shmedia_md_assemble): Offset recorded insn
5254 address by one in call to dwarf2_emit_insn.
5255 2001-01-13 Hans-Peter Nilsson <hpn@cygnus.com>
5256 Implement ".abi" pseudo and correct .cranges descriptors. Correct
5257 alignment handling broken by imported changes.
5258 * config/tc-sh64.h (HANDLE_ALIGN): Override definition in tc-sh.h.
5259 (sh64_handle_align): Declare.
5260 (MAX_MEM_FOR_RS_ALIGN_CODE): Override definition in tc-sh.h.
5261 (sh64_max_mem_for_rs_align_code): Declare.
5262 (enum sh64_isa_values): Moved here from tc-sh64.c.
5263 (md_do_align): Define.
5264 (sh64_do_align): Declare.
5265 (struct sh64_tc_frag_data): New.
5266 (TC_FRAG_TYPE): Change to struct sh64_tc_frag_data. Users
5267 changed.
5268 (TC_FRAG_INIT): Change to set new datatype.
5269 (struct sh64_segment_info_type): Rename member
5270 last_flushed_location to last_contents_mark. All users changed.
5271 (md_elf_section_change_hook, TC_CONS_FIX_NEW): Do not define.
5272 (shmedia_elf_new_section, sh64_tc_cons_fix_new): Do not prototype.
5273 * config/tc-sh.c (md_pseudo_table): Add ".abi".
5274 (sh_elf_cons) [HAVE_SH64]: Call sh64_update_contents_mark instead
5275 of unsetting seen_insn.
5276 (md_assemble) [HAVE_SH64] <before new SHcompact sequence>: Also
5277 call sh64_update_contents_mark.
5278 (sh_handle_align): Remove HAVE_SH64-conditioned code.
5279 * config/tc-sh64.c (sh64_isa_mode): Correct type from boolean to
5280 enum sh64_isa_values.
5281 (sh64_set_contents_type): Drop segT parameter. All callers changed.
5282 (emitting_crange): Boolean guard moved to file scope from function
5283 scope in sh64_set_contents_type.
5284 (s_sh64_abi): New.
5285 (sh64_update_contents_mark): New; most split out from
5286 sh64_flush_pending_output.
5287 (shmedia_md_end): Call sh64_update_contents_mark. Set
5288 sh64_isa_mode to sh64_isa_sh5_guard unless sh64_isa_unspecified.
5289 (sh64_do_align): New function.
5290 (sh64_max_mem_for_rs_align_code): New function.
5291 (sh64_handle_align): Rename from shmedia_do_align. Make
5292 non-static. Add head comment. Emit zero bytes for n bytes modulo
5293 four. Change return-type to void.
5294 (shmedia_elf_new_section): Remove.
5295 (shmedia_md_assemble): Call sh64_update_contents_mark.
5296 (s_sh64_mode): Ditto. Do not call md_flush_pending_output. Make
5297 new frag. Call sh64_update_contents_mark after making the new
5298 frag.
5299 (sh64_flush_pending_output): Just call sh64_update_contents_mark
5300 and sh_flush_pending_output.
5301 (sh64_flag_output): Also call md_flush_pending_output, but add
5302 condition on not emitting_crange.
5303 (sh64_tc_cons_fix_new): Remove.
5304 2001-01-12 Nick Clifton <nickc@redhat.com>
5305 * config/tc-sh64.c (shmedia_do_align): Fix to work with new
5306 alignment handling scheme imported from sourceware.
5307 2001-01-12 Hans-Peter Nilsson <hpn@cygnus.com>
5308 * config/tc-sh64.h (TARGET_FORMAT): Define.
5309 (sh64_target_format): Prototype.
5310 * config/tc-sh64.c (sh64_target_mach): New function.
5311 2001-01-07 Hans-Peter Nilsson <hpn@cygnus.com>
5312 * config/tc-sh64.c (shmedia_md_end): When equating a symbol, use
5313 zero_address_frag instead of copying the frag of the symbol.
5314 (shmedia_frob_file_before_adjust): Ditto.
5315 (shmedia_md_apply_fix) <case BFD_RELOC_SH_IMM_MEDLOW16>: Cast mask
5316 to valueT to remove signedness.
5317 (shmedia_md_convert_frag): Add parameter final. Rename parameter
5318 headers to output_bfd. Do not evaluate symbols if final is false;
5319 do emit fixups.
5320 (shmedia_md_estimate_size_before_relax) <case C (MOVI_IMM_32,
5321 UNDEF_MOVI) et al>: If symbol cannot be modified to be PC-relative
5322 to the current frag, call shmedia_md_convert_frag to emit fixups
5323 and make frag_wane neutralize the frag. Update comments.
5324 * config/tc-sh.c (md_convert_frag): Change caller of
5325 shmedia_md_convert_frag.
5326 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
5327 * config/tc-sh64.h: Tweak comments and correct formatting.
5328 * config/tc-sh64.c: Ditto.
5329 (shmedia_md_convert_frag) <PT/PTA/PTB 32, 48 and 64 bit
5330 expansion, MOVI pcrel expansion>: Fix thinko calculating offset
5331 for the no-relocation case.
5332 (shmedia_check_limits): Fix range check being off-by-one for PTA.
5333 * config/tc-sh.c: Ditto. Add proper comments to #ifdef/#ifndef
5334 wrappers.
5335 (SH64PCREL16_F): Increment for proper max-PTA handling. Update
5336 comment.
5337 (SH64PCREL16_M, MOVI_16_M): Correct range thinko.
5338 (SH64PCREL48_M, MOVI_48_M): Similar; don't count in length of
5339 expansion.
5340 (SH64PCREL32_M, MOVI_32_M): Ditto; handle overflowing expression.
5341 Correct comment.
5342 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
5343 * config/tc-sh64.c (shmedia_md_apply_fix) <second switch, case
5344 BFD_RELOC_SH_PT_16>: Set lowest bit in field to be relocated to 1.
5345 (shmedia_md_convert_frag) <case C (SH64PCREL16_32, SH64PCREL16) et
5346 al>: Set lowest bit of field to relocate to 1 and rest to empty,
5347 if reloc is emitted.
5348 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com>
5349 New options plus bugfixes.
5350 * config/tc-sh.c (md_longopts): New options "-no-expand" and
5351 "-expand-pt32".
5352 (md_parse_option): Handle new options.
5353 (md_show_usage): Add blurb for new options.
5354 * config/tc-sh64.c (SHMEDIA_BFD_RELOC_PT): New macro.
5355 (sh64_expand, sh64_pt32): New variables.
5356 (shmedia_init_reloc): Handle BFD_RELOC_SH_PT_16.
5357 (shmedia_md_apply_fix): Hold original fixP->fx_r_type in
5358 orig_fx_r_type. Change SHMEDIA_BFD_RELOC_PT into
5359 BFD_RELOC_SH_PT_16. Handle BFD_RELOC_SH_PT_16 as pc-relative.
5360 <resolved previously-pc-relative relocs>: Handle
5361 SHMEDIA_BFD_RELOC_PT and BFD_RELOC_SH_PT_16.
5362 (shmedia_md_convert_frag) <case C (SH64PCREL16PT_64, SH64PCREL16),
5363 case C (SH64PCREL16PT_32, SH64PCREL16)>: Modify to PTB if operand
5364 points to SHcompact code.
5365 <case C (SH64PCREL16_32, SH64PCREL16), case C (SH64PCREL16_64,
5366 SH64PCREL16)>: Check that ISA of what operand points at and
5367 PTA/PTB matches, or emit error.
5368 (shmedia_check_limits): Handle BFD_RELOC_SH_PT_16 and
5369 SHMEDIA_BFD_RELOC_PT.
5370 (shmedia_immediate_op): If pcrel, emit fixup also for constant
5371 operand.
5372 (shmedia_build_Mytes) <case A_IMMS16>: Also check sh64_expand in
5373 condition for MOVI expansion.
5374 <case A_PCIMMS16BY4>: Handle expansion to 32 bits only, if
5375 sh64_pt32. Emit only a BFD_RELOC_SH_PT_16 fixup if not
5376 sh64_expand.
5377 <case A_PCIMMS16BY4_PT>: Likewise, but emit a SHMEDIA_BFD_RELOC_PT
5378 fixup.
5379 (sh64_target_format): Error-check setting of sh64_pt32 and
5380 sh64_expand. Fix typo in check for sh64_shcompact_const_crange.
5381 (shmedia_md_pcrel_from_section): Handle BFD_RELOC_SH_PT_16 and
5382 SHMEDIA_BFD_RELOC_PT as coming from SHmedia code.
5383 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com>
5384 * config/tc-sh64.c: Improve comments.
5385 (shmedia_md_convert_frag): Remove inactive is_pt_variant code. Do
5386 not say the linker will check correctness of PTA/PTB expansion.
5387 (shmedia_md_end): Make non-static.
5388 * config/tc-sh64.h (md_end): Define to shmedia_md_end. Add
5389 prototype.
5390 * config/tc-sh.c (sh_finalize): Remove.
5391 * config/tc-sh.h (md_end): Do not define.
5392 Remove prototype for sh_finalize.
5393 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
5394 * config/tc-sh64.c (shmedia_frob_section_type): Use a struct
5395 sh64_section_data container when storing section type in tdata
5396 field in elf_section_data.
5397 * config/tc-sh.c (sh_elf_final_processing): Change from EF_SH64 to
5398 EF_SH5.
5399 * Makefile.am: Update dependencies.
5400 * Makefile.in: Regenerate.
5401 2000-12-22 Hans-Peter Nilsson <hpn@cygnus.com>
5402 * config/tc-sh64.c (shmedia_md_assemble): Don't protect
5403 dwarf2_emit_insn call with test on debug_type.
5404 2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
5405 * config/tc-sh64.c (sh64_set_contents_type): Make contents-type
5406 CRT_SH5_ISA32 sticky for 64-bit.
5407 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
5408 Generate .crange sections when switching ISA mode or emitting
5409 constants in same section as code.
5410 * config/tc-sh64.c: Reformat structure definitions.
5411 (sh64_end_of_assembly, sh64_mix, sh64_shcompact_const_crange): New
5412 variables.
5413 (sh64_set_contents_type): Rename from sh64_init_section. Rewrite
5414 to emit a .cranges descriptor when contents type changes. Only
5415 emit error if changing contents type and -no-mix is in effect.
5416 (sh64_emit_crange, sh64_flush_last_crange, sh64_flag_output,
5417 sh64_flush_pending_output, sh64_tc_cons_fix_new): New functions.
5418 (shmedia_md_end): Set sh64_end_of_assembly. Pass
5419 sh64_flush_last_crange over sections.
5420 When checking main symbol of datalabel symbol, check for
5421 STO_SH5_ISA32, not ISA type of section in definition.
5422 (shmedia_frob_file_before_adjust): Check main symbol for
5423 STO_SH5_ISA32; don't check ISA type of section in definition.
5424 (shmedia_frob_section_type): Adjust for .cranges; set section flag
5425 to SHF_SH5_ISA32_MIXED or SHF_SH5_ISA32 according to whether
5426 .cranges entries have been output.
5427 (shmedia_elf_new_section): Just call md_flush_pending_output.
5428 (shmedia_md_assemble): Do not emit a BFD_RELOC_SH_SHMEDIA_CODE
5429 fix. Do not set tc_segment_info_data.in_code for section. Call
5430 sh64_set_contents_type for SHmedia code.
5431 (s_sh64_mode): Do not call sh64_init_section or set seen_insn to
5432 false. Call md_flush_pending_output.
5433 (sh64_target_format): Check that -no-mix and
5434 -shcompact-const-crange are used in sane combination with other
5435 options.
5436 (shmedia_md_pcrel_from_section): Check type of fix for how to
5437 adjust pc-relative.
5438 (sh64_consume_datalabel): Check symbol for having STO_SH5_ISA32,
5439 not ISA type of section in definition.
5440 * config/tc-sh64.h (struct sh64_segment_info_type): Rewrite to
5441 hold contents-type state.
5442 (md_flush_pending_output): Redefine to sh64_flush_pending_output.
5443 (sh64_flush_pending_output): Declare.
5444 (TC_CONS_FIX_NEW): Define to sh64_tc_cons_fix_new.
5445 (sh64_tc_cons_fix_new): Declare.
5446 * config/tc-sh.c (sh_elf_cons) [HAVE_SH64]: Unset seen_insn and
5447 call sh64_flag_output.
5448 (md_assemble) [HAVE_SH64]: Do not emit BFD_RELOC_SH_CODE. Just
5449 call sh64_set_contents_type to mark SHcompact code and set
5450 seen_insn.
5451 (md_longopts): New options "-no-mix" and
5452 "-shcompact-const-crange".
5453 (md_parse_option): Handle new options.
5454 (md_show_usage): Add blurb for new options.
5455 (md_number_to_chars) [HAVE_SH64]: Call sh64_flag_output.
5456 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
5457 * config/tc-sh64.c: Delete investigated and obsolete fixme:s.
5458 (sh64_last_insn_frag): New.
5459 (shmedia_md_convert_frag): Use tc_frag_data field of incoming frag
5460 to get frag for insn opcode for generating fixups; do not assume it
5461 is the same frag.
5462 (shmedia_build_Mytes): Set sh64_last_insn_frag after growing frag
5463 for new insn.
5464 * config/tc-sh64.h (ELF_TC_SPECIAL_SECTIONS): Define for .cranges
5465 section.
5466 (TC_FRAG_TYPE): Define as fragS *.
5467 (TC_FRAG_INIT): Define to set tc_frag_data to sh64_last_insn_frag.
5468 (sh64_last_insn_frag): Declare.
5469 (sh64_consume_datalabel): Fix typo; check for seginfo != NULL,
5470 not == NULL before dereferencing.
5471 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
5472 Get rid of BFD section flag and EF_SH64_ABI64.
5473 * config/tc-sh64.c (shmedia_frob_section_type): Use
5474 elf_section_data (sec)->tdata, not a specific BFD section flag, to
5475 communicate the section as containing SHmedia code. Describe why.
5476 * config/tc-sh.c (sh_elf_final_processing): Tweak comment. Set
5477 EF_SH64 regardless of ABI.
5478 * config/tc-sh64.c (shmedia_md_apply_fix): Decapitalize "invalid"
5479 in error message. Handle resolved expressions for
5480 BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
5481 BFD_RELOC_SH_IMMS10BY4 and BFD_RELOC_64.
5482 (shmedia_check_limits): Handle BFD_RELOC_64.
5483 (sh64_adjust_symtab): Do not decrement the GAS symbol value for
5484 a STO_SH5_ISA32 symbol, only the BFD value.
5485 2000-12-11 Ben Elliston <bje@redhat.com>
5486 * config/tc-sh64.c: Call dwarf2_emit_insn, not the defunct
5487 dwarf2_generate_asm_lineno.
5488 2000-12-11 Hans-Peter Nilsson <hpn@cygnus.com>
5489 Handle PC-relative MOVI expansions with assembler relaxation.
5490 Generate PC-relative relocs from 16-bit PC-relative expressions.
5491 * config/tc-sh64.c (SHMEDIA_MD_PCREL_FROM_FIX): Break out from...
5492 (shmedia_md_pcrel_from_section): ...here.
5493 (shmedia_md_apply_fix): Handle fixups for 16-bit operands that has
5494 turned completely resolved. Adjust relocation type for 16-bit
5495 immediate operands that has turned PC-relative. Adjust back for
5496 MD_PCREL_FROM_SECTION being applied twice.
5497 (shmedia_md_convert_frag): Always emit reloc for expression with
5498 global or weak symbol. Handle relaxation result for PC-relative
5499 expressions.
5500 (shmedia_md_estimate_size_before_relax): An expression with a weak
5501 or global symbol can not be relaxed. Break out tests for
5502 relaxable symbol into variable sym_relaxable.
5503 <cases C (MOVI_IMM_64, UNDEF_MOVI) and C (MOVI_IMM_32,
5504 UNDEF_MOVI)>: Break out any PC-relative expression and change
5505 relaxation type.
5506 (shmedia_build_Mytes): CSE &operands->operands[j] into variable
5507 opjp.
5508 <case A_IMMS16>: Fix typo for initial minor relaxation type of
5509 MOVI expansion. If X_op_symbol of the immediate expression is
5510 set, make an expression symbol for the argument to frag_var.
5511 * config/tc-sh.c (MOVI_IMM_32_PCREL, MOVI_IMM_64_PCREL): New
5512 relaxations.
5513 (END): Adjust for new relaxations.
5514 (md_relax_table): Add entries for new relaxations.
5515 2000-12-07 Ben Elliston <bje@redhat.com>
5516 * config/tc-sh64.c (shmedia_parse_reg): Initialize variable len.
5517 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
5518 * config/tc-sh64.c (shmedia_md_convert_frag): Correct all MOVI and
5519 SHORI operand offsets in PT/PTA/PTB expansions.
5520 2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
5521 Implement DataLabel semantics.
5522 * config/tc-sh.c (sh_frob_file) [HAVE_SH64]: Call
5523 shmedia_frob_file_before_adjust.
5524 * config/tc-sh64.c [! OBJ_ELF]: Emit #error.
5525 (DATALABEL_SUFFIX): Define.
5526 (shmedia_md_end) <before adjusting STO_SH5_ISA32 symbols>: Walk
5527 symbol list to update "datalabel" symbols to their main symbol
5528 counterparts.
5529 (shmedia_frob_file_before_adjust): New.
5530 (sh64_adjust_symtab): For remaining datalabel symbols, set to
5531 undefined and set STT_DATALABEL.
5532 (sh64_frob_label): Initialize TC symbol field.
5533 (sh64_consume_datalabel): Actually implement semantics. New
5534 parameter operandf, call it instead of expression.
5535 (sh64_exclude_symbol): New.
5536 * config/tc-sh64.h (md_parse_name): Pass on the function operand
5537 to sh64_consume_datalabel.
5538 (tc_symbol_new_hook): Define to tc_frob_symbol.
5539 (TC_SYMFIELD_TYPE): Define to symbolS *.
5540 (tc_frob_symbol): Define to call sh64_exclude_symbol.
5541 2000-12-01 Hans-Peter Nilsson <hpn@cygnus.com>
5542 * config/tc-sh64.c (shmedia_init_reloc): Tweak comment for default
5543 case.
5544 (shmedia_md_assemble): Call dwarf2_generate_asm_lineno if
5545 generating dwarf2 debug information.
5546 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
5547 * config/tc-sh64.c (sh64_target_format): Use elf64-sh64l and
5548 elf64-sh64 for the 64-bit ABI.
5549 * config/tc-sh.c (md_show_usage): Tweak usage output for -abi=*
5550 option.
5551 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
5552 * config/tc-sh.c: Remove conditionalizing on HAVE_SH64 for
5553 case-insensitivity.
5554 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
5555 * config/tc-sh64.c: Tweak comments, formatting and error messages.
5556 (enum sh64_abi_values): New type.
5557 (enum sh64_isa_values): New type.
5558 (sh64_isa_mode): Replace shmedia_mode. All referers changed.
5559 (seen_shcompact_mode, seen_shmedia_mode): Delete.
5560 (sh64_abi): Replace shmedia_64.
5561 (shmedia_md_convert_frag) <C (MOVI_IMM_64, MOVI_64),
5562 C (MOVI_IMM_32, MOVI_32)>: Correct register number handling.
5563 (s_sh64_mode): Check validity for this target.
5564 (sh64_target_format): Initialize defaults for ISA and ABI.
5565 Fallback to old object format if no SH64 ISA or ABI has been
5566 specified.
5567 * config/tc-sh.c (md_parse_option): Check combinations for errors.
5568 (sh_elf_final_processing): Change to have EF_SH64_ABI64 for 64-bit
5569 ABI and EF_SH64 for 32-bit ABI, if SH64 options are specified.
5570 * config/tc-sh64.h: Fix typo in comment.
5571 2000-11-25 Hans-Peter Nilsson <hpn@cygnus.com>
5572 * config/tc-sh64.c (shmedia_md_estimate_size_before_relax)
5573 <PT fixups for absolute values>: Size will be longest, not
5574 shortest.
5575 (shmedia_md_convert_frag): Disable PTB-warning machinery. Correct
5576 all MOVI and SHORI operand offsets in PT/PTA/PTB expansions.
5577 * config/tc-sh.c (parse_reg) [HAVE_SH64]: Add local variables l0
5578 and l1 to hold lowercase of two first characters. Change all
5579 remaining TO_LOWER to tolower.
5580 * config/tc-sh64.c (TO_LOWER): Delete.
5581 (shmedia_find_cooked_opcode): Use tolower, not TO_LOWER.
5582 (md_parse_name): Define.
5583 (sh64_consume_datalabel): Declare.
5584 (DOLLAR_DOT): Define.
5585 * config/tc-sh64.c (shmedia_parse_exp): New.
5586 (sh64_consume_datalabel): New; just ignoring datalabel semantics.
5587 (shmedia_parse_reg): Remove const from src
5588 parameter.
5589 (shmedia_get_operands): Ditto for args parameter and ptr variable.
5590 (shmedia_md_assemble): Ditto for op_end variable.
5591 (shmedia_get_operand): Ditto for ptr parameter and src variable.
5592 Use shmedia_parse_exp, not parse_exp.
5593 * config/tc-sh64.c (shmedia_parse_reg): Add shmedia_arg_type
5594 parameter. All callers changed.
5595 (shmedia_get_operand): Add shmedia_arg_type parameter. All
5596 callers changed.
5597 (shmedia_parse_reg): Put first two character in local variables.
5598 Use tolower, not TO_LOWER. If no register is found and argtype
5599 indicates a control register, scan shmedia_creg_table
5600 case-insensitive.
5601 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
5602 * Makefile.am (CPU_TYPES): Add sh64.
5603 (TARGET_CPU_CFILES): Add config/tc-sh64.c.
5604 (TARGET_CPU_HFILES): Add config/tc-sh64.h.
5605 Regenerate dependencies.
5606 * Makefile.in: Regenerate.
5607 * configure.in: Add support for sh64-*-elf*.
5608 * configure: Regenerate.
5609 * config/tc-sh64.h: New.
5610 * config/tc-sh64.c: New.
5611 * config/tc-sh.c (md_pseudo_table) [HAVE_SH64]: New pseudos
5612 .mode, .isa and .uaquad.
5613 [HAVE_SH64] (SH64PCREL16_32, SH64PCREL16_64, SH64PCREL16PT_32,
5614 SH64PCREL16PT_64, MOVI_IMM_32, MOVI_IMM_64): Define.
5615 [HAVE_SH64] (END): Define as 10.
5616 [HAVE_SH64] (UNDEF_SH64PCREL, SH64PCREL16, SH64PCREL32,
5617 SH64PCREL48, SH64PCREL64, UNDEF_MOVI, MOVI_16, MOVI_32, MOVI_48,
5618 MOVI_64): Define.
5619 [HAVE_SH64] (SH64PCREL16_F, SH64PCREL16_M, SH64PCREL16_LENGTH,
5620 SH64PCREL32_F, SH64PCREL32_M, SH64PCREL32_LENGTH, SH64PCREL48_F,
5621 SH64PCREL48_M, SH64PCREL48_LENGTH, SH64PCREL64_LENGTH,
5622 MOVI_16_LENGTH, MOVI_32_LENGTH, MOVI_48_LENGTH, MOVI_64_LENGTH):
5623 Define.
5624 (md_relax_table) [HAVE_SH64]: Provide relaxations for SHmedia.
5625 (md_begin) [HAVE_SH64]: Call shmedia_md_begin.
5626 (parse_reg) [HAVE_SH64]: Parse register names case-insensitive.
5627 (md_assemble) [HAVE_SH64]: Call shmedia_md_assemble if assembling
5628 SHmedia instructions. Handle state-change after switching to
5629 SHcompact.
5630 (md_longopts) [HAVE_SH64]: New options --isa=* and --abi=*.
5631 (md_parse_option) [HAVE_SH64]: Parse new options.
5632 (md_show_usage) [HAVE_SH64]: Show usage of new options.
5633 (md_convert_frag) [HAVE_SH64] <default>: Call
5634 shmedia_md_convert_frag instead of abort.
5635 (sh_force_relocation) [HAVE_SH64]: Also force relocation for
5636 BFD_RELOC_SH_SHMEDIA_CODE.
5637 (sh_elf_final_processing) [HAVE_SH64]: Set flags identifying
5638 SHcompact or SHmedia code.
5639 (md_apply_fix) [HAVE_SH64] <default>: Return result from calling
5640 shmedia_md_apply_fix instead of abort.
5641 (md_estimate_size_before_relax) [HAVE_SH64] <default>: Return
5642 result from calling shmedia_md_estimate_size_before_relax instead
5643 of calling abort.
5644 (sh_do_align) [HAVE_SH64]: If shmedia_mode, let shmedia_do_align
5645 do the work.
5646 (tc_gen_reloc) [HAVE_SH64]: For unrecognized relocs, call
5647 shmedia_init_reloc and do nothing more if it returns non-zero.
5648 (sh_finalize) [HAVE_SH64]: Call shmedia_md_end.
5649 * po/POTFILES.in: Regenerate.
5650 * po/gas.pot: Regenerate.
5651
5652 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
5653
5654 * config/tc-sh.c (parse_at): Install the correct version of
5655 2002-02-04's patch.
5656
5657 * config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't
5658 assume fixP->fx_subsy is non-NULL.
5659
5660 2002-02-04 Alexandre Oliva <aoliva@redhat.com>
5661
5662 * config/tc-sh.c (parse_at): Set arg type of @(expr,pc) to
5663 A_DISP_PC_ABS, and adjust it by -4.
5664 (get_specific): Accept A_DISP_PC_ABS where A_DISP_PC is
5665 expected.
5666 (build_Mytes): Mark PCRELIMM fix-ups as pc-relative only if
5667 the operand type is not A_DISP_PC_ABS.
5668
5669 2002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
5670
5671 * config/tc-mmix.c (tc_gen_reloc): Don't try and take the value of
5672 common and weak symbols. Handle common and weak symbols as
5673 undefined symbols with regards to GREG handling and merging.
5674 (mmix_frob_file): Ditto.
5675
5676 2002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
5677
5678 * configure.in (hppa-*-netbsd*): New target.
5679 * configure: Regenerate.
5680 * config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD.
5681
5682 2002-02-02 Alan Modra <amodra@bigpond.net.au>
5683
5684 * config/tc-v850.c: Add missing prototypes amd use old-style
5685 function definitions.
5686 (AREA_ZDA, AREA_SDA, AREA_TDA): Delete.
5687 (sdata_section tdata_section, zdata_section, sbss_section,
5688 tbss_section, zbss_section, rosdata_section, rozdata_section,
5689 scommon_section, tcommon_section, zcommon_section,
5690 call_table_data_section, call_table_text_section): Delete.
5691 (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss,
5692 v850_zbss, v850_bss, v850_rosdata, v850_rozdata,
5693 v850_call_table_data, v850_call_table_text): Delete.
5694 (struct v850_seg_entry): New.
5695 (v850_seg_table): New.
5696 (SDATA_SECTION TDATA_SECTION, ZDATA_SECTION, SBSS_SECTION,
5697 TBSS_SECTION, ZBSS_SECTION, BSS_SECTION, ROSDATA_SECTION,
5698 ROZDATA_SECTION, SCOMMON_SECTION, TCOMMON_SECTION, ZCOMMON_SECTION,
5699 CALL_TABLE_DATA_SECTION, CALL_TABLE_TEXT_SECTION): Define.
5700 (do_v850_seg): New.
5701 (v850_seg): New.
5702 (v850_comm): Use do_v850_seg and v850_seg_table. Simplify
5703 recording of alignment.
5704 (md_pseudo_table): Use v850_seg.
5705 (md_begin): Don't init .call_table_data and .call_table_text here.
5706 Set v850_seg_table bss entry.
5707
5708 2002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
5709
5710 Support on-demand global register allocation by passing on
5711 base-plus-offset relocs to the linker.
5712 * config/tc-mmix.c: Tweak and fix typos in comments.
5713 (allocate_undefined_gregs_in_linker): New variable.
5714 (OPTION_LINKER_ALLOCATED_GREGS): New option macro.
5715 (md_longopts): Add --linker-allocated-gregs.
5716 (md_parse_option) <case 'x'>: Imply --linker-allocated-gregs.
5717 <case OPTION_LINKER_ALLOCATED_GREGS>: New.
5718 (md_show_usage): Update text for -x. Add text for
5719 --linker-allocated-gregs.
5720 (tc_gen_reloc): Derive default value for addend from val and
5721 baddsy. Use addsec and bfd_is_abs_section in more places. Don't
5722 emit error for BFD_RELOC_MMIX_BASE_PLUS_OFFSET without suitable
5723 GREG if allocate_undefined_gregs_in_linker.
5724 * doc/as.texinfo (Overview) <Target MMIX options>: Add
5725 --linker-allocated-gregs.
5726 * doc/c-mmix.texi (MMIX-Opts): Add blurb about
5727 --linker-allocated-gregs. Mention that it's implied by -x.
5728 (MMIX-Pseudos) <GREG>: Mention when and how a GREG can be omitted.
5729 (MMIX-mmixal): Clarify dated comparison and location of MMIXware.
5730
5731 * config/tc-mmix.h (md_parse_name): Use ISUPPER, not isupper.
5732
5733 2002-02-01 Alan Modra <amodra@bigpond.net.au>
5734
5735 * Makefile.am: Run "make dep-am"
5736 * Makefile.in: Regenerate.
5737
5738 2002-01-31 Ivan Guzvinec <ivang@opencores.org>
5739
5740 * config/tc-or32.c: New file.
5741 * config/tc-or32.h: New file.
5742 * configure.in: Add support for or32 targets.
5743 * configure: Regenerate.
5744 * config/obj-coff.c: Add support for or32 targets.
5745 * config/obj-coff.h: Add support for or32 targets.
5746 * Makefile.am: Add support for or32 targets.
5747 * Makefile.in: Regenerate.
5748 * NEWS: Mention support for OpenRISC.
5749 * doc/Makefile.in: Regenerate.
5750 * po/POTFILES.in: Regenerate.
5751 * po/gas.pot: Regenerate.
5752
5753 2002-01-30 Richard Sandiford <rsandifo@redhat.com>
5754
5755 * config/tc-sh.c (parse_reg): Fix end-of-word check for is, ix, iy
5756 and mod.
5757
5758 2002-01-29 Chris Demetriou <cgd@broadcom.com>
5759
5760 * config/tc-mips.c (tc_gen_reloc): Arrange for
5761 BFD_RELOC_PCREL_HI16_S relocations to be output relative to
5762 their LO16 parts, even for ELF.
5763
5764 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
5765
5766 * config/tc-i386.c: Protect definitions of true and false
5767 from redefinition.
5768
5769 2002-01-28 Jakub Jelinek <jakub@redhat.com>
5770
5771 * config/obj-elf.c (elf_frob_file_before_adjust): Remove symbols
5772 made because of .weak, if they are neither defined nor used in any
5773 way.
5774
5775 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
5776
5777 * configure: Regenerated.
5778
5779 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
5780
5781 * doc/Makefile.am (install): Depend on install-info.
5782 * doc/Makefile.in: Regenerate.
5783
5784 2002-01-26 Nick Clifton <nick@redhat.com>
5785
5786 * po/fr.po: Updated version
5787
5788 2002-01-24 Kazu Hirata <kazu@hxi.com>
5789
5790 * config/tc-h8300.c (check_operand): Don't print a warning
5791 when a valid 24-bit address is given to a 16-bit address
5792 operand.
5793
5794 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
5795
5796 * config/tc-sh.c (sh_elf_suffix): Removed.
5797 (sh_PIC_related_p, sh_check_fixup, sh_cons_fix_new,
5798 sh_end_of_match, sh_parse_name): New functions.
5799 (sh_elf_cons): Simplify.
5800 (parse_exp): Reject misplaced PIC operands.
5801 (md_undefined_symbol): Simplify.
5802 (sh_fix_adjustable): Let @GOTOFF be adjusted.
5803 (md_apply_fix3): Write @PLT and @GOTOFF addends in place.
5804 (tc_gen_reloc): Move fixp subsy absolute value into addnumber.
5805 Complain if subsy remains at the end.
5806 * config/tc-sh.h (sh_parse_name, sh_cons_fix_new): Declare.
5807 (md_parse_name, TC_CONS_FIX_NEW, O_PIC_reloc): Define.
5808
5809 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
5810
5811 * config/tc-mn10300.c (xr_registers): Move `pc'...
5812 (other_registers): ... here.
5813
5814 2002-01-22 Alan Modra <amodra@bigpond.net.au>
5815
5816 * Makefile.am: Run "make dep-am".
5817 * Makefile.in: Regenerate.
5818 * gas/po/POTFILES.in: Regenerate.
5819
5820 2002-01-21 DJ Delorie <dj@redhat.com>
5821
5822 * config/obj-coff.c (obj_coff_init_stab_section): Make the
5823 stabstr_name allocation permanent, as it will be referenced from
5824 the section hash.
5825
5826 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
5827
5828 * configure.in (ia64-*-netbsd*): New target.
5829 * configure: Regenerate.
5830
5831 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
5832
5833 * doc/as.texinfo (Overview) <Target ARM options>: Add missing {}
5834 to @dots call.
5835 <Detailed description, ARM options>: Ditto.
5836 * doc/c-arm.texi (ARM Options): Ditto.
5837
5838 2002-01-18 Richard Earnshaw <rearnsha@arm.com>
5839
5840 * tc-arm.c (do_xsc_mia, do_xsc_mar, do_xsc_mra): Renamed from
5841 do_mia, do_mar and do_mra respectively.
5842 (do_mav_*): Renamed from do_c_*.
5843 (mav_reg_required_here, mav_parse_offset): Renamed from
5844 cirrus_reg_required_here and cirrus_parse_offset respectively.
5845 (MAV_MODE?): Renamed from CIRRUS_MODE?.
5846
5847 2002-01-18 Richard Earnshaw <rearnsha@arm.com>
5848 Keith Walker <keith.walker@arm.com>
5849
5850 * tc-arm.c (ARM_EXT_V5J, ARM_ARCH_V5TEJ): Define.
5851 (insns): Add pattern for bxj instruction.
5852 (do_bxj): New function.
5853 (arm_cpus): Add arm926ej.
5854 (arm_archs): Add armv5tej.
5855
5856 2002-01-18 Richard Earnshaw <rearnsha@arm.com>
5857
5858 * doc/c-arm.texi: Add new fpe options to list of supported flags.
5859
5860 2002-01-19 Keith Walker <keith.walker@arm.com>
5861
5862 * tc-arm.c (arm_fpus): Add fpe2 and fpe3.
5863
5864 2002-01-18 Richard Earnshaw <rearnsha@arm.com>
5865
5866 * NEWS: Mention new ARM command-line options and VFP support.
5867
5868 * config/tc-arm.c (ARM_CEXT_XSCALE): Replaces ARM_EXT_XSCALE. All
5869 uses changed.
5870 (ARM_CEXT_MAVERICK): Similarly.
5871 (ARM_ANY): Now means any core instruction.
5872 (CPU_DEFAULT): Default to ARM_ANY.
5873 (uses_apcs_26, atcps, support_interwork, uses_apcs_float)
5874 (pic_code): Declare for all object types. Make type int.
5875 (legacy_cpu, legacy_fpu, mcpu_cpu_opt, mcpu_fpu_opt, march_cpu_opt)
5876 (march_fpu_opt, mfpu_opt): Declare.
5877 (md_longopts): Tidy up conditional definitions.
5878 (arm_opts, arm_cpus, arm_archs, arm_fpus, arm_extensions)
5879 (arm_long_opts): New tables.
5880 (arm_parse_cpu, arm_parse_arch, arm_parse_fpu): New functions.
5881 (arm_parse_extension): New function.
5882 (md_parse_option): Rewrite using new table-driven system.
5883 (md_show_usage): Use new table-driven system.
5884 (md_begin): Calculate cpu_variant from command line option data.
5885 * doc/as.texinfo (ARM ISA options): Docuement new ARM-specific
5886 command-line options.
5887 * doc/c-arm.texi: Likewise.
5888
5889 2002-01-18 Andreas Jaeger <aj@suse.de>
5890
5891 * as.c (parse_args): Update year.
5892
5893 2002-01-17 Timothy Wall <twall@alum.mit.edu>
5894
5895 * config/tc-tic54x.c (encode_address): Add a more informative
5896 warning about incorrect syntax.
5897
5898 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
5899
5900 * po/gas.pot: Regenerate.
5901
5902 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
5903
5904 * macro.c (get_any_string): Add no-c-format comment to prevent
5905 confusion when translating string.
5906 * gasp.c (get_any_string): Add no-c-format comment to prevent
5907 confusion when translating string.
5908
5909 2002-01-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5910 Johannes Stezenbach <js@convergence.de>
5911 * config/tc-mips.c (percent_op): Ensure longer percent_op's are
5912 matched before the shorter ones.
5913 (my_getSmallParser): Fix handling of nested parentheses in
5914 percent_op's. Code cleanup.
5915 (my_getPercentOp): New function, code from my_getSmallParser.
5916 (my_getSmallExpression): Fix handling of closing parentheses.
5917 Code cleanup. Better comments.
5918
5919 2002-01-16 Nick Clifton <nickc@redhat.com>
5920
5921 po/tr.po: New file: Turkish translation.
5922 configure.in (LINGUAS): Add "tr".
5923 configure: Regenerate.
5924
5925 2002-01-15 Richard Earnshaw <rearnsha@arm.com>
5926
5927 Support for VFP instructions
5928 * tc-arm.c (CP_WB_OK, CP_NO_WB): New defines.
5929 (cp_address_required_here): New argument wb_ok. When false, do not
5930 accept write-back forms of addressing. Change all callers.
5931 (FPU_VFP_EXT_NONE, FPU_VFP_EXT_V1xD, FPU_VFP_VFP_V1)
5932 (FPU_VFP_EXT_V2): Define.
5933 (FPU_ARCH_VFP, FPU_ARCH_VFP_V1xD, FPU_ARCH_VFP_V1, FPU_ARCH_VFP_V2):
5934 Define in terms of above.
5935 (vfp_dp_reg_pos, vfp_sp_reg_pos, vfp_ldstm_type): New enums.
5936 (vfp_reg): New struct.
5937 (vfp_regs): New array of registers.
5938 (insns): Add VFP instructions.
5939 (sn_table): New array of VFP single-precision register names.
5940 (dn_table): New array of VFP double-precision register names.
5941 (all_reg_maps): Add the new register tables.
5942 (arm_reg_type): Add new values for above. Increase RET_TYPE_MAX.
5943 (vfp_sp_reg_required_here, vfp_dp_reg_required_here, do_vfp_sp_monadic)
5944 (do_vfp_dp_monadic, do_vfp_sp_dyadic, do_vfp_dp_dyadic)
5945 (do_vfp_reg_from_sp, do_vfp_sp_reg2, do_vfp_sp_from_reg)
5946 (do_vfp_reg_from_dp, do_vfp_reg2_from_dp, do_vfp_dp_from_reg)
5947 (do_vfp_dp_from_reg2, vfp_psr_parse, vfp_psr_required_here)
5948 (do_vfp_reg_from_ctrl, do_vfp_ctrl_from_reg, do_vfp_sp_ldst)
5949 (do_vfp_dp_ldst, vfp_sp_reg_list, vfp_dp_reg_list, vfp_sp_ldstm)
5950 (vfp_dp_ldstm, do_vfp_sp_ldstmia, do_vfp_sp_ldstmdb, do_vfp_ldstmia)
5951 (do_vfp_dp_ldstmdb, do_vfp_xp_ldstmia, do_vfp_xp_ldstmdb)
5952 (do_vfp_sp_compare_z, do_vfp_dp_compare_z, do_vfp_dp_sp_cvt)
5953 (do_vfp_sp_dp_cvt): New functions.
5954 (md_begin): Set soft-float flag for appropriate VFP work.
5955 (md_atof): Handle VFP-format doubles.
5956 (md_parse_option): Handle VFP command-line options.
5957 (md_show_usage): Display VFP command-line options.
5958
5959 2002-01-15 Richard Earnshaw <rearnsha@arm.com>
5960
5961 * tc-arm.c (md_parse_option): Tidy up setting of cpu_variant for
5962 various command line options.
5963
5964 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
5965
5966 * config/tc-xstormy16.c: (xstormy16_fix_adjustable): Do not fix
5967 vtinherit relocs.
5968 (xstormy16_md_apply_fix3): Do not return a value.
5969
5970 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
5971
5972 * tc-arm.c (md_longopts): On targets that aren't bi-endian, support
5973 the -EL/-EB option that matches the target's endianness.
5974 (md_parse_option): Likewise.
5975
5976 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
5977
5978 * tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option
5979 is not dependent on ARM_BI_ENDIAN.
5980
5981 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
5982
5983 * tc-arm.c (all error messages): Normalize capitalization of messages.
5984
5985 * tc-arm.h (md_operand): Delete define.
5986 * tc-arm.c (in_my_get_expression): New static variable.
5987 (my_get_expression): Set and clear it.
5988 (md_operand): New function. If called from my_get_expression
5989 put the error in inst.error.
5990 (output_inst): Now takes argument of instruction being assembled.
5991 Print it out with any error message.
5992 (do_ldst, do_ldstv4, thumb_load_store): Fault attempt to use a store
5993 with '=' syntax.
5994 (end_of_line): Don't update inst.error if it is already set.
5995
5996 2002-01-11 Richard Earnshaw <rearnsha@arm.com>
5997
5998 * tc-arm.c (do_ldst): Fix handling an immediate expression pseudo
5999 op that can be translated into a mvn instruction.
6000
6001 2002-01-11 Steve Ellcey <sje@cup.hp.com>
6002
6003 * gas/config/tc-ia64.h (MD_FLAGS_DEFAULT): New Macro for
6004 setting default md.flags.
6005 (SHT_INIT_ARRAY): New elf special section used by HP-UX.
6006 (SHT_FINI_ARRAY): New elf special section used by HP-UX.
6007 * gas/config/tc-ia64.c (setup_unwind_header): Add support
6008 for 32 bit unwind info blocks.
6009 (generate_unwind_image): Add support for different types
6010 of unwind images (32 bits and/or big-endian).
6011 (ia64_init): Use MD_FLAGS_DEFAULT to set md.flags.
6012 (ia64_target_format): Add support for hpux target formats.
6013 (ia64_gen_real_reloc_type): Add support for FUNC_IPLT_RELOC.
6014 (ia64_elf_section_type): Add support for SHT_INIT_ARRAY and
6015 SHT_FINI_ARRAY elf section types.
6016
6017 2002-01-10 Richard Earnshaw <rearnsha@arm.com>
6018
6019 * tc-arm.c (struct reg_entry): Move before prototypes.
6020 (int_register, cp_register, fp_register): Delete.
6021 (reg_table): Delete. Replaced with ...
6022 (rn_table, cp_table, cn_table, fn_table, mav_mvf_table)
6023 (mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table)
6024 (mav_dspsc_table): ... one table per register set.
6025 (arm_reg_hsh): Delete.
6026 (struct reg_map): New structure.
6027 (all_reg_maps): New array.
6028 (enum arm_reg_type): New enums.
6029 (build_reg_hsh): New function.
6030 (insert_reg_alias): Use hash table passed by caller. Adjust all
6031 callers.
6032 (create_register_alias): New function, split out from ...
6033 (md_assemble): ... here.
6034 (md_begin): Build new register hash tables.
6035 (arm_reg_parse): New argument for the hash table to search. Adjust all
6036 callers.
6037 (arm_reg_parse_any): New function.
6038 (co_proc_number): Look up the processor number in the processor hash
6039 table.
6040 (cirrus_regtype): Delete.
6041 (cirrus_register, cirrus_mvf_register, cirrus_mvd_register)
6042 (cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register)
6043 (ARM_EXT_MAVERICKsc_register): Delete.
6044 (do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete.
6045 (do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New
6046 functions.
6047 (do_c_triple_4, do_c_triple_5): Delete.
6048 (do_c_triple_4[ab], do_c_triple_5[a-h]): New functions.
6049 (do_c_quad_6): Delete.
6050 (do_c_quad_6[ab]): New functions.
6051 (do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework
6052 arguments to use new register parsing methods.
6053 (cirrus_reg_required_here): Likewise.
6054 (insns): Reclassify cirrus maverick worker functions.
6055 (cirrus_valid_reg): Delete.
6056
6057 2002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
6058
6059 * configure.in (sh*le): Set cpu_type=sh and endian=little.
6060 (sh*-*-netbsdelf*): New target.
6061 * configure: Regenerate.
6062 * tc-sh.h: Update copyright years.
6063 (TARGET_FORMAT): Add version for TE_NetBSD.
6064
6065 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
6066
6067 * read.c (emit_expr): Do not allow 'size' or 'nbytes' to go
6068 negative.
6069
6070 2002-01-06 Alan Modra <amodra@bigpond.net.au>
6071
6072 * config/tc-m68k.h (md_prepare_relax_scan): Rewrite.
6073 * config/tc-m68k.c (md_relax_table): Add md_prepare_relax_scan comment.
6074
6075 2002-01-05 Daniel Jacobowitz <drow@mvista.com>
6076
6077 * tc-mips.c (mips_cprestore_valid): New flag.
6078 (mips_frame_reg_valid): New flag.
6079 (macro) [M_JAL_2]: Check both flags.
6080 [M_JAL_A]: Likewise.
6081 (s_cprestore): Set mips_cprestore_valid.
6082 (tc_get_register): If setting mips_frame_reg, set
6083 mips_frame_reg_valid and clear mips_cprestore_valid.
6084 (s_mips_ent): Clear both flags.
6085 (s_mips_end): Clear both flags.
6086
6087 2002-01-05 Alan Modra <amodra@bigpond.net.au>
6088
6089 * write.c (write_object_file): Make use of bfd_section_list_remove.
6090 * config/obj-ecoff.c (ecoff_frob_file): Likewise.
6091 * config/tc-mmix.c (mmix_frob_file): Likewise.
6092
6093 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
6094
6095 * configure.in (i386-*-netbsdelf*): Collapse target into...
6096 (i386-*-netbsd*): ...this. Add support for x86-64.
6097 * configure: Regenerated.
6098
6099 2002-01-03 matthew green <mrg@redhat.com>
6100
6101 * config/tc-ppc.c (md_parse_option): BookE is not Motorola specific.
6102
6103 2002-01-02 Nick Clifton <nickc@cambridge.redhat.com>
6104
6105 * config/tc-m68k.c (md_estimate_size_before_relax): Test for a
6106 NULL frag link.
6107
6108 For older changes see ChangeLog-0001
6109 \f
6110 Local Variables:
6111 mode: change-log
6112 left-margin: 8
6113 fill-column: 74
6114 version-control: never
6115 End:
This page took 0.162507 seconds and 4 git commands to generate.