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