* config/tc-sparc.c (md_pseudo_table): Add .file and .loc.
[binutils-gdb.git] / gas / ChangeLog
1 2000-11-21 Jakub Jelinek <jakub@redhat.com>
2
3 * config/tc-sparc.c (md_pseudo_table): Add .file and .loc.
4 (output_insn): Call dwarf2_emit_insn.
5
6 2000-11-17 Richard Henderson <rth@redhat.com>
7
8 * ehopt.c (eh_frame_code_alignment): New arg `in_seg', update all
9 callers. Don't switch segments. Expect CIE == -1 in .debug_frame.
10 (check_eh_frame): Handle .eh_frame and .debug_frame concurrently.
11
12 2000-11-17 Nick Clifton <nickc@redhat.com>
13
14 * config/tc-arm.c (md_pseudo_table): Add support for .line and
15 .file pseudo ops.
16
17 2000-11-17 Richard Henderson <rth@redhat.com>
18
19 * config/tc-i386.c (md_pseudo_table): Add .file and .loc.
20
21 2000-11-17 Richard Henderson <rth@redhat.com>
22
23 * dwarf2dbg.c (dwarf2_gen_line_info): Early out for no line number.
24 * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Adjust for
25 tri-state definition of alpha_flag_mdebug.
26 * config/tc-alpha.c (alpha_flag_mdebug): Init to -1.
27 (s_alpha_file): Store first .file directive.
28 (s_alpha_stab): New.
29 (md_pseudo_table): Add stabs and stabn.
30
31 2000-11-17 Richard Henderson <rth@redhat.com>
32
33 * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn.
34
35 2000-11-17 Richard Henderson <rth@redhat.com>
36
37 * as.c (debug_type): Init to DEBUG_UNSPECIFIED.
38 (main): Call dwarf2_finish.
39 * as.h (debug_type): Clarify documentation of the meaning
40 of this variable.
41 * dwarf2dbg.c (DWARF2_LINE_MIN_INSN_LENGTH): Default to 1.
42 (print_stats): Fix parenthesis problem.
43 (now_subseg_size): New.
44 (dwarf2_finish): Use it. If DEBUG_DWARF2, emit bits for .debug_info.
45 (dwarf2_directive_file): Don't set debug_type.
46 (dwarf2_where): Honor DEBUG_DWARF2 first.
47 (dwarf2_emit_insn): Renamed from dwarf2_generate_asm_lineno;
48 do nothing if not emitting dwarf2 debug info, or no work.
49 * dwarf2dbg.h (dwarf2_emit_insn): Update.
50 * ecoff.c (add_file): Turn on DEBUG_ECOFF only if DEBUG_UNSPECIFIED.
51 (ecoff_new_file): Likewise.
52 * read.c (generate_lineno_debug): Kill ecoff hackery. Update
53 commentary wrt dwarf2.
54
55 * config/tc-alpha.c (alpha_adjust_symtab_relocs): Add
56 ATTRIBUTE_UNUSED as needed.
57 (emit_insn): Call dwarf2_emit_insn.
58 (s_alpha_file): New.
59 (s_alpha_loc): New.
60 (s_alpha_coff_wrapper): Don't handle them.
61 (md_pseudo_table): Update for .file and .loc.
62 * config/tc-alpha.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
63
64 * config/tc-arm.c (output_inst): Update for dwarf2_emit_insn;
65 don't protect with debug_type.
66 * config/tc-hppa.c (md_assemble): Likewise.
67 * config/tc-m68hc11.c (m68hc11_new_insn): Likewise.
68 * config/tc-mn10300.c (md_assemble): Likewise.
69 * config/tc-sh.c (md_assemble): Likewise.
70 * config/tc-v850.c (md_assemble): Likewise.
71
72 * config/tc-arm.c (arm_end_of_source): Remove.
73 * config/tc-hppa.c (pa_end_of_source): Remove.
74 * config/tc-m68hc11.c (m68hc11_end_of_source): Remove.
75 * config/tc-mn10300.c (mn10300_finalize): Remove.
76 * config/tc-sh.c (sh_finalize): Remove.
77 * config/tc-v850.c (sh_finalize): Remove.
78
79 * config/tc-arm.h (md_end): Remove.
80 * config/tc-hppa.h (md_end): Remove.
81 (DWARF2_LINE_MIN_INSN_LENGTH): New.
82 * config/tc-m68hc11.h (md_end): Remove.
83 * config/tc-mn10300.h (md_end): Remove.
84 * config/tc-sh.h (md_end): Remove.
85 * config/tc-v850.h (md_end): Remove.
86
87 * config/tc-ia64.c (emit_one_bundle): Don't protect
88 dwarf2 bits with debug_type.
89 (md_assemble): Likewise.
90 (ia64_end_of_source): Don't call dwarf2_finish.
91
92 2000-11-16 Jim Wilson <wilson@redhat.com>
93
94 * config/tc-ia64.c (errata_nop_necessary_p): Abort if general regno
95 >= 128 instead of > 128. Abort if predicate regno is >= 64 instead of
96 > 16.
97
98 2000-11-16 H.J. Lu <hjl@gnu.org>
99
100 * config/obj-elf.c (obj_elf_symver): Don't check the missing
101 version name.
102
103 2000-11-15 Kazu Hirata <kazu@hxi.com>
104
105 * config/tc-tic30.c: Fix formatting.
106 * config/tc-tic80.c: Likewise.
107 * config/tc-v850.c: Likewise.
108 * config/tc-vax.c: Likewise.
109 * config/tc-w65.c: Likewise.
110 * config/tc-z8k.c: Likewise.
111
112 2000-11-14 DJ Delorie <dj@redhat.com>
113
114 * config/tc-v850.c: Support dwarf2.
115 * config/tc-v850.h: Ditto.
116
117 * config/tc-v850.c (cons_fix_new_v850): Don't rely on
118 parse_cons_expression_v850 to initialize hold_cons_reloc.
119
120 2000-11-15 Bernd Schmidt <bernds@redhat.com>
121
122 * tc-ia64.c (struct md): New entries LAST_GROUPS, GROUP_IDX.
123 (errata_nops_necessary_p): New function.
124 (emit_one_bundle): Call it. Update the GROUP_IDX field in struct
125 md.
126
127 2000-11-14 Jim Wilson <wilson@redhat.com>
128
129 * config/tc-ia64.c (ia64_target_format): If EF_IA_64_BE not set, then
130 return little endian bfd formats.
131
132 2000-11-14 Kazu Hirata <kazu@hxi.com>
133
134 * config/aout_gnu.h: Fix formatting.
135 * config/atof-vax.c: Likewise.
136 * config/m68k-parse.h: Likewise.
137 * config/m88k-opcode.h: Likewise.
138 * config/obj-elf.c: Likewise.
139 * config/tc-arm.c: Likewise.
140 * config/tc-cris.c: Likewise.
141 * config/tc-i386.c: Likewise.
142 * config/tc-ia64.c: Likewise.
143 * config/tc-mn10300.c: Likewise.
144 * config/te-386bsd.h: Likewise.
145 * config/te-hppa.h: Likewise.
146 * config/te-nbsd.h: Likewise.
147 * config/te-ppcnw.h: Likewise.
148 * config/te-sparcaout.h: Likewise.
149 * config/te-tmips.h: Likewise.
150 * config/vax-inst.h: Likewise.
151 * config/vms-conf.h: Likewise.
152
153 2000-11-14 Jakub Jelinek <jakub@redhat.com>
154
155 * config/tc-alpha.c (s_alpha_prologue): Preserve visibility bits.
156
157 2000-11-13 H.J. Lu <hjl@gnu.org>
158
159 * config/obj-elf.c (elf_frob_symbol): Support
160 ".symver name,name2@@@nodename".
161 (elf_frob_file_before_adjust): Likewise.
162
163 * doc/as.texinfo: Updated for ".symver name,name2@@@nodename"
164 and ".symver name,name2@@@nodename".
165 Fix a typo.
166
167 2000-11-12 H.J. Lu (hjl@gnu.org)
168
169 * config/obj-elf.c (obj_elf_symver): Check missing version
170 name.
171
172 2000-11-12 H.J. Lu (hjl@gnu.org)
173
174 * dwarf2dbg.c (dwarf2_generate_asm_lineno): Use addressT
175 instead of bfd_vma for non-bfd assemblers.
176
177 2000-11-09 Kazu Hirata <kazu@hxi.com>
178
179 * itbl-ops.c: Fix comment typos.
180
181 2000-11-08 Jim Wilson <wilson@redhat.com>
182
183 * config/tc-ia64.c (struct unw_rec_list): Add slot_frag field.
184 (struct unwind): Add next_slot_frag field.
185 (slot_index): New parameters slot_frag and first_frag. Add code
186 to add in frag sizes when different. Add comments.
187 (fixup_unw_records): New locals first_frag and last_frag. Pass new
188 arguments to slot_index.
189 (emit_one_bundle): Set slot_frag field. Set next_slot_number after
190 loop end. Set next_slot_frag field.
191
192 2000-11-07 H.J. Lu <hjl@gnu.org>
193
194 * doc/as.texinfo (.symver): Updated for versioned symbol
195 reference.
196
197 * obj.h (format_ops): Add the frob_file_before_adjust field.
198
199 * config/obj-aout.c (aout_format_ops): Set the
200 frob_file_before_adjust field to 0.
201 * config/obj-coff.c (coff_format_ops): Likewise.
202 * config/obj-ecoff.c (ecoff_format_ops): Likewise.
203
204 * config/obj-elf.c (obj_elf_symver): Allow duplicated version
205 name.
206 (elf_frob_file_before_adjust): New function to remove unneeded
207 versioned symbols from the symbol table.
208 (elf_format_ops): Set the frob_file_before_adjust field to
209 elf_frob_file_before_adjust.
210
211 * config/obj-elf.h (obj_frob_file_before_adjust): Defined if
212 not defined.
213
214 * config/obj-multi.h (obj_frob_file_before_adjust): Defined.
215
216 2000-11-07 Peter Targett <peter.targett@arccores.com>
217
218 * gas/config/tc-arc.h: Avoid warnings for LITTLE_ENDIAN and
219 BIG_ENDIAN macros.
220 * gas/config/tc-arc.c: Use S_IS_LOCAL to test local symbols.
221 Fix compile time warning messages.
222
223 2000-11-07 Nick Clifton <nickc@redhat.com>
224
225 * stabs.c (generate_asm_file): Increase length of xmalloc'ed
226 buffer in order to avoid buffer overflows.
227
228 2000-11-06 Steve Ellcey <sje@cup.hp.com>
229
230 * config/tc-ia64.c (md_shortopts, md_parse_option, md_show_usage):
231 Change M to m for -milp32 or -mlp64 to match gcc.
232 (dot_endp): Use bytes_per_address instead of 8.
233 (emit_one_bundle): Use number_to_chars_littleendian instead of
234 md_number_to_chars.
235 (fix_insn): Likewise.
236 (ia64_init): New function.
237 (ia64_target_format): New function.
238 (md_begin): Set endianness, arch, and machine as appropriate.
239 * config/tc-ia64.h: (TARGET_BYTES_BIG_ENDIAN, md_number_to_chars):
240 Make these macros depend on TE_HPUX macro.
241 (TARGET_FORMAT): Define.
242 (HOST_SPECIAL_INIT): Define.
243 * config/te-hpux.h: New file.
244 * configure.in: Add "ia64-*-hpux*" target to configure.
245 * configure: Regenerate.
246
247 2000-11-06 Kazu Hirata <kazu@hxi.com>
248
249 * as.c: Fix formatting.
250 * dwarf2dbg.c: Likewise.
251 * input-file.c: Likewise.
252 * input-file.h: Likewise.
253 * input-scrub.c: Likewise.
254 * itbl-ops.c: Likewise.
255 * listing.c: Likewise.
256 * macro.h: Likewise.
257 * messages.c: Likewise.
258 * read.c: Likewise.
259 * subsegs.c: Likewise.
260 * subsegs.h: Likewise.
261 * write.c: Likewise.
262
263 2000-11-06 Nick Clifton <nickc@redhat.com>
264
265 * doc/as.texinfo: Add GNU Free Documentation License.
266 * doc/gasp.texi: Add GNU Free Documentation License.
267 * doc/as.1: Add GNU Free Documentation License.
268
269 2000-11-05 Nick Clifton <nickc@redhat.com>
270
271 * config/tc-arm.c: Add include of "dwarf2dbg.h"
272
273 2000-11-02 Per Lundberg <plundis@chaosdev.org>
274
275 * configure.in: Recognise i[3456]86-chaosdev-storm-chaos.
276 * configure: Regenerate.
277
278 2000-11-01 Nick Clifton <nickc@redhat.com>
279
280 * read.c (original_case_string): New global variable.
281 (read_a_source_file): Copy opcode string into
282 original_case_string if clobbering the case of the opcode.
283 * read.h: Export the definition of original_case_string.
284 * config/tc-arm.c (md_assembler): When parsing a .req
285 directive use the original opcode string, not the case
286 clobbered version.
287
288 2000-11-02 Nick Clifton <nickc@redhat.com>
289
290 * config/tc-mn10300.c (debug_line): Remove this static
291 variable.
292 (md_assemble): Call dwarf2_generate_asm_lineno instead of
293 dwarf2_where and dwarf2_gen_line_info.
294
295 2000-11-02 Theo Honohan <th@futuretv.com>
296
297 * config/tc-arm.c (do_msr): Improve error message.
298
299 2000-10-31 Eric Christopher <echristo@redhat.com>
300
301 * config/tc-mn10300.c (md_apply_fix3): Use valuep if fully resolved
302 or pc-relative, else use fx_offset.
303
304 2000-10-31 Jim Wilson <wilson@redhat.com>
305
306 * config/tc-ia64.c (struct md): New field tag_fixups.
307 (ia64_flush_insns): Handle tag_fixups. Error if dangling
308 qualifying predicate.
309 (emit_one_bundle): Delete spurious multiplication by one. Handle
310 tag_fixups.
311 (ia64_start_line): Error if dangling qualifying predicate.
312 (defining_tag): New static variable.
313 (ia64_unrecognized_line, case '['): Parse tags.
314 (ia64_frob_label): Create tag_fixups.
315 (md_assemble): Reset md.qp.X_op after using it.
316
317 2000-10-31 Kaz Kojima <kkojima@rr.iij4u.or.jp>
318
319 * config/tc-sh.c (md_apply_fix [BFD_RELOC_SH_PCDISP12BY2]): Allow 4094.
320
321 2000-10-31 Bernd Schmidt <bernds@redhat.co.uk>
322
323 * tc-ia64.c (extra_goodness): Only prefer F in slot 1 and B in slot 2.
324
325 2000-10-30 Kazu Hirata <kazu@hxi.com>
326
327 * expr.c: Fix formatting.
328 * flonum-copy.c: Likewise.
329 * flonum.h: Likewise.
330 * gasp.c: Likewise.
331 * hash.c: Likewise.
332
333 2000-10-30 Hans-Peter Nilsson <hp@bitrange.com>
334
335 * as.h (OPTION_MD_BASE): Bump to 190.
336 * as.c (parse_args) <std_longopts>: Add comment about the need to
337 check OPTION_MD_BASE in as.h.
338
339 * config/tc-sh.c (md_apply_fix): For ELF, do not "adjust back" VAL
340 for weak symbols.
341
342 2000-10-27 Nick Clifton <nickc@redhat.com>
343
344 * configure.in (emulations): Add m68hc12.
345 * configure: Regenerate.
346 * po/gas.pot: Regenerate.
347
348 2000-10-27 Aldy Hernandez <aldyh@redhat.com>
349
350 * config/tc-arm.c (psrs): Remove lowercase versions of spsr* and
351 cpsr*.
352 (arm_psr_parse): Handle lowercase CPSR and SPSR.
353
354 2000-10-25 Nick Clifton <nickc@redhat.com>
355
356 * dwarf2out.c (dwarf2_generate_asm_lineno): New function: Generate
357 a DWARF2 line number information sequence.
358
359 *dwarf2out.h: Add prototype for dwarf2_generate_asm_lineno.
360
361 * read.c (generate_lineno_debug): Update comment describing why
362 DWARF2 line number debug information is not generated
363 automatically by this function.
364
365 * doc/as.texinfo: Note that --gdwarf2 only works on some targets,
366 not all.
367
368 * config/tc-arm.h (md_end): Define.
369 (DWARF2_LINE_MIN_INSN_LENGTH): Define.
370
371 * config/tc-arm.c (output_inst): Call dwarf2_generate_asm_lineno
372 if generating DWARF2 line numbers.
373 (arm_end_of_source): New function. Call dwarf2_finish if
374 necessary.
375
376 * config/tc-hppa.c (md_assemble): Use dwarf2_generate_asm_lineno.
377 * config/tc-m68hc11.c (m68hc11_new_insn): Use dwarf2_generate_asm_lineno.
378 * config/tc-sh.c (md_assemble): Use dwarf2_generate_asm_lineno.
379
380 2000-10-25 Diego Novillo <dnovillo@cygnus.com>
381
382 * tc-i386.c: Fix prototype declarations for functions taking no
383 arguments.
384
385 2000-10-24 Diego Novillo <dnovillo@cygnus.com>
386
387 * tc-i386.c (i386_operand_modifier): Remove.
388 (build_displacement_string): Remove.
389 (i386_parse_seg): Remove.
390 (i386_intel_memory_operand): Remove.
391 (i386_intel_operand): Re-write using recursive descent parser based
392 on MASM documentation.
393 (struct intel_parser_s): New structure.
394 (intel_parser): New static variable.
395 (struct intel_token): New structure.
396 (cur_token, prev_token): New static variables.
397 (T_NIL): Define.
398 (T_CONST): Define.
399 (T_REG): Define.
400 (T_BYTE): Define.
401 (T_WORD): Define.
402 (T_DWORD): Define.
403 (T_QWORD): Define.
404 (T_XWORD): Define.
405 (T_SHORT): Define.
406 (T_OFFSET): Define.
407 (T_PTR): Define.
408 (T_ID): Define.
409 (intel_match_token): New function.
410 (intel_get_token): New function.
411 (intel_putback_token): New function.
412 (intel_expr): New function.
413 (intel_e05): New function.
414 (intel_e05_1): New function.
415 (intel_e06): New function.
416 (intel_e06_1): New function.
417 (intel_e09): New function.
418 (intel_e09_1): New function.
419 (intel_e10): New function.
420 (intel_e10_1): New function.
421 (intel_e11): New function.
422
423 2000-10-20 Jakub Jelinek <jakub@redhat.com>
424
425 * config/tc-sparc.c (sparc_ip): Fix a bug which caused v9_arg_p
426 instructions to loose any special insn->architecture mask.
427
428 * config/tc-sparc.c (v9a_asr_table): Add v9b ASRs.
429 (sparc_md_end, sparc_arch_types, sparc_arch,
430 sparc_elf_final_processing): Handle v8plusb and v9b architectures.
431 (sparc_ip): Handle siam mode operands. Support v9b ASRs (and
432 request v9b architecture if they are used).
433
434 2000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG>
435
436 * config/tc-m68k.c: Fix the previous misapplied patch.
437
438 2000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG>
439
440 * config/tc-m68k.h (RELAX_RELOC_*): New definitions for both
441 BFD_ASSEMBLER and !BFD_ASSEMBLER.
442 * config/tc-m68k.c (md_convert_frag_1): Use them instead of
443 BFD_RELOC_*.
444
445 2000-10-17 Kazu Hirata <kazu@hxi.com>
446
447 * debug.c: Fix formatting.
448 * depend.c: Likewise.
449 * dwarf2dbg.c: Likewise.
450 * dwarf2dbg.h: Likewise.
451 * ecoff.c: Likewise.
452 * expr.c: Likewise.
453 * expr.h: Likewise.
454 * flonum-konst.c: Likewise.
455 * frags.h: Likewise.
456
457 2000-10-17 Chandrakala Chavva <cchavva@redhat.com>
458
459 * as.c: New option OPTION_TARGET_HELP. Prints all target specific
460 options.
461 * doc/as.texinfo: Added notes about this new option.
462
463 2000-10-16 Hans-Peter Nilsson <hp@bitrange.com>
464
465 * config/tc-sh.c (JREG): Remove.
466 (md_convert_frag): Remove #if 0:d code using JREG.
467
468 2000-10-15 Diego Novillo <dnovillo@cygnus.com>
469
470 * config/tc-i386.c (i386_operand_modifier): Only match
471 modifiers SHORT and FLAT if they are followed by a space.
472 (parse_register): When `allow_naked_reg' is set, do not confuse
473 identifiers that start with a register name with a register.
474
475 2000-10-12 Kazu Hirata <kazu@hxi.com>
476
477 * app.c: Fix formatting.
478 * as.c: Likewise.
479 * as.h: Likewise.
480 * bit_fix.h: Likewise.
481 * cgen.c: Likewise.
482 * cgen.h: Likewise.
483 * cond.c: Likewise.
484
485 2000-10-11 Alan Modra <alan@linuxcare.com.au>
486
487 * config/obj-elf.c (elf_frob_symbol): Revert 2000-10-07 change.
488
489 2000-10-07 Alan Modra <alan@linuxcare.com.au>
490
491 * config/tc-hppa.c (md_apply_fix): Remove plainly wrong assert.
492 Re-arrange function a little and improve error message.
493
494 * write.c (write_relocs): Fix a comment.
495
496 * config/obj-elf.c (elf_frob_symbol): Make section syms global on
497 link-once sections.
498
499 2000-10-05 Jim Wilson <wilson@cygnus.com>
500
501 * config/tc-ia64.c (resources_match): Handle IA64_RS_PRr.
502
503 2000-10-05 Alan Modra <alan@linuxcare.com.au>
504
505 * config/tc-i386.c: Delete some useless comments, reformat others.
506
507 * config/tc-i386.h (TC_FIX_ADJUSTABLE): Add check to cover
508 non-global syms in linkonce sections.
509
510 2000-10-04 Ralf Baechle <ralf@gnu.org>
511
512 * config/tc-ia64.c (operand_match): Don't use // style comments.
513 * config/tc-i370.c: Likewise.
514
515 2000-09-29 Hans-Peter Nilsson <hp@axis.com>
516
517 Changes to handle varying register prefix and user symbol prefix.
518 * config/tc-cris.c (SYNTAX_RELAX_REG_PREFIX,
519 SYNTAX_ENFORCE_REG_PREFIX, SYNTAX_USER_SYM_LEADING_UNDERSCORE,
520 SYNTAX_USER_SYM_NO_LEADING_UNDERSCORE, REGISTER_PREFIX_CHAR): New.
521 (s_syntax, cris_force_reg_prefix, cris_relax_reg_prefix,
522 cris_sym_leading_underscore, cris_sym_no_leading_underscore): New.
523 (demand_register_prefix): New variable.
524 (md_pseudo_table): New pseudo ".syntax".
525 (md_longopts): New options --no-underscore and --underscore.
526 (cris_target_format): Return elf32-us-cris or elf32-cris depending
527 on symbols_have_leading_underscore.
528 (get_gen_reg): Accept or require REGISTER_PREFIX_CHAR.
529 (get_spec_reg): Ditto.
530 (cris_number_to_imm) <case BFD_RELOC_VTABLE_ENTRY>: Remove FIXME.
531 Fix formatting.
532 (md_parse_option) <case 'h' 'H'>: Deprecate; add reference to
533 --help.
534 <case OPTION_NO_US, case OPTION_US>: New.
535 (md_show_usage): Be brief and reformat to match continuation of
536 --help.
537 * po/gas.pot: Regenerate.
538
539 2000-09-28 Alan Modra <alan@linuxcare.com.au>
540
541 * config/tc-hppa.c (hppa_force_relocation): If OBJ_SOM, don't
542 force relocs for 12 bit branches.
543 (md_apply_fix): Similarly, adjust logic here.
544
545 2000-09-28 Alan Modra <alan@linuxcare.com.au>
546
547 * config/tc-hppa.c (md_apply_fix): Add fmt assertion. Don't
548 adjust for external and weak syms as we will use a reloc. Allow
549 for +8 offset when calculating limits of branches.
550 (hppa_fix_adjustable): Undo 2000-09-23 change.
551 (hppa_force_relocation): Likewise. Add fx_addsy assertion.
552 Correct distance calculation.
553 (tc_gen_reloc): Print the file name and line number if we can't
554 handle a fixup.
555
556 From John David Anglin <dave@hiauly1.hia.nrc.ca>
557 * config/tc-hppa.c (nonzero_dibits): Define.
558 (arg_reloc_stub_needed): Check each arg and return value
559 separately for zero case.
560 (pa_align): Declare argument `bytes'.
561
562 2000-09-25 Kazu Hirata <kazu@hxi.com>
563
564 * config/tc-cris.c: Fix formatting.
565 * config/tc-d10v.h: Likewise.
566 * config/tc-d30v.c: Likewise.
567 * config/tc-d30v.h: Likewise.
568 * config/tc-fr30.c: Likewise.
569 * config/tc-fr30.h: Likewise.
570 * config/tc-m68k.c: Likewise.
571 * config/tc-m68k.h: Likewise.
572 * config/tc-pj.h: Likewise.
573 * config/tc-ppc.c: Likewise.
574 * config/tc-ppc.h: Likewise.
575 * config/tc-sh.c: Likewise.
576 * config/tc-sh.h: Likewise.
577 * config/tc-sparc.c: Likewise.
578 * config/tc-v850.h: Likewise.
579 * config/tc-vax.h: Likewise.
580 * config/tc-w65.h: Likewise.
581 * config/tc-z8k.h: Likewise.
582
583 2000-09-23 Alan Modra <alan@linuxcare.com.au>
584
585 * config/tc-hppa.c (hppa_fix_adjustable): Do the external and weak
586 checks only for ELF.
587 (hppa_force_relocation): Likewise.
588
589 2000-09-22 Jim Wilson <wilson@cygnus.com>
590
591 * config/tc-ia64.c (dv_sem): Add "stop".
592 (specify_resource, case IA64_RS_PR): Only handles regs 1 to 15 now.
593 (specify_resource, case IA64_RS_PRr): New for regs 16 to 62.
594 (specify_resource, case IA64_RS_PR63): Reorder (note == 7) test to
595 match above.
596 (mark_resources): Check IA64_RS_PRr.
597
598 2000-09-22 Michael Sokolov <msokolov@ivan.Harhan.ORG>
599
600 * config/tc-m68k.c (md_relax_table, m68k_ip, md_convert_frag_1,
601 md_estimate_size_before_relax): Redesign and clean up the
602 relaxation mechanism.
603
604 2000-09-21 Kazu Hirata <kazu@hxi.com>
605
606 * config/tc-ns32k.c: Fix formatting.
607 * config/tc-ns32k.h: Likewise.
608
609 2000-09-20 Kazu Hirata <kazu@hxi.com>
610
611 * config/tc-m32r.c: Fix formatting.
612 * config/tc-m32r.h: Likewise.
613 * config/tc-m68851.h: Likewise.
614 * config/tc-m68hc11.c: Likewise.
615 * config/tc-m68hc11.h: Likewise.
616 * config/tc-m88k.c: Likewise.
617 * config/tc-mcore.c: Likewise.
618 * config/tc-mcore.h: Likewise.
619 * config/tc-mips.c: Likewise.
620 * config/tc-mips.h: Likewise.
621 * config/tc-mn10200.h: Likewise.
622 * config/tc-mn10300.h: Likewise.
623 * config/tc-tahoe.c: Likewise.
624 * config/tc-tahoe.h: Likewise.
625
626 2000-09-19 Michael Sokolov <msokolov@ivan.Harhan.ORG>
627
628 * config/tc-vax.c (synthetic_votstrs): Remove jbssi and jbcci.
629 Likewise in relaxation description comments.
630
631 2000-09-18 Alan Modra <alan@linuxcare.com.au>
632
633 * config/tc-hppa.h (TC_FORCE_RELOCATION_SECTION): Allow
634 subtraction of two syms without emitting a relocation.
635
636 From David Huggins-Daines <dhd@linuxcare.com>
637 * config/tc-hppa.c (hppa_force_relocation): Force relocations for
638 global or weak symbols.
639
640 2000-09-15 Kazu Hirata <kazu@hxi.com>
641
642 * config/tc-h8300.h: Fix formatting.
643 * config/tc-h8500.c: Likewise.
644 * config/tc-h8500.h: Likewise.
645 * config/tc-hppa.h: Likewise.
646 * config/tc-i370.h: Likewise.
647 * config/tc-i386.h: Likewise.
648 * config/tc-i860.c: Likewise.
649 * config/tc-i860.h: Likewise.
650 * config/tc-i960.h: Likewise.
651 * config/tc-ia64.c: Likewise.
652 * config/tc-ia64.h: Likewise.
653
654 2000-09-14 Kazu Hirata <kazu@hxi.com>
655
656 * config/tc-a29k.c: Fix formatting.
657 * config/tc-alpha.c: Likewise.
658 * config/tc-arc.c: Likewise.
659 * config/tc-arc.h: Likewise.
660 * config/tc-arm.c: Likewise.
661 * config/tc-arm.h: Likewise.
662 * config/tc-avr.c: Likewise.
663 * config/tc-avr.h: Likewise.
664 * config/tc-tic30.c: Likewise.
665 * config/tc-tic30.h: Likewise.
666 * config/tc-tic54x.c: Likewise.
667 * config/tc-tic54x.h: Likewise.
668 * config/tc-tic80.c: Likewise.
669 * config/tc-tic80.h: Likewise.
670
671 2000-09-14 Timothy Wall <twall@cygnus.com>
672
673 * config/tc-ia64.c (specify_resource): For PR%/PR63, note types of
674 parallel comparisons for later use.
675 (struct rsrc): Add parallel comparison type.
676 (resources_match): Skip special cases of PR usage (non-conflicting
677 parallel compares).
678
679 2000-09-13 Kazu Hirata <kazu@hxi.com>
680
681 * config/obj-ecoff.c: Fix formatting.
682 * config/obj-elf.c: Likewise.
683 * config/obj-elf.h: Likewise.
684 * config/obj-evax.h: Likewise.
685 * config/obj-generic.h: Likewise.
686 * config/obj-hp300.c: Likewise.
687 * config/obj-hp300.h: Likewise.
688 * config/obj-ieee.h: Likewise.
689 * config/obj-vms.c: Likewise.
690 * config/obj-vms.h: Likewise.
691
692 2000-09-13 Anders Norlander <anorland@acc.umu.se>
693
694 * config/tc-mips.c (md_begin): Recognize 4Kc, 4Km and 4Kp processors.
695 (md_parse_option): Ditto.
696 (md_longopts): Add -mips32 option.
697 (md_show_usage): Document new options.
698 (mips_ip): Assemble sdbbp 20 bit 'm' args for MIPS32.
699 (mips_ip): Assemble mfc0 with a sub-selection code.
700 (validate_mips_insn): Handle 'H' (OP_*_SEL) and 'm' (OP_*_CODE20).
701 (mips_cpu_to_str): New function.
702 (mips_ip): Use mips_cpu_to_str instead of printing numeric cpu value.
703 Use CPU_* defines instead of hardcoded numbers.
704
705 * doc/as.texinfo: Document new options.
706 * doc/c-mips.texi: Ditto.
707
708 2000-09-12 Kazu Hirata <kazu@hxi.com>
709
710 * as.h: Fix formatting.
711 * asintl.h: Likewise.
712 * bit_fix.h: Likewise.
713 * config/obj-aout.c: Likewise.
714 * config/obj-aout.h: Likewise.
715 * config/obj-bout.c: Likewise.
716 * config/obj-bout.h: Likewise.
717 * config/obj-coff.c: Likewise.
718 * config/obj-coff.h: Likewise.
719 * dwarf2dbg.h: Likewise.
720 * expr.h: Likewise.
721 * flonum.h: Likewise.
722 * frags.h: Likewise.
723 * itbl-ops.h: Likewise.
724 * macro.h: Likewise.
725 * read.h: Likewise.
726 * sb.h: Likewise.
727 * struc-symbol.h: Likewise.
728 * subsegs.h: Likewise.
729 * symbols.h: Likewise.
730 * tc.h: Likewise.
731 * write.h: Likewise.
732
733 2000-09-11 Kazu Hirata <kazu@hxi.com>
734
735 * bignum-copy.c: Fix formatting.
736 * config/tc-i370.c: Likewise.
737 * config/tc-i960.c: Likewise.
738 * config/tc-m68k.c: Likewise.
739 * ehopt.c: Likewise.
740 * flonum-copy.c: Likewise.
741 * flonum-konst.c: Likewise.
742 * flonum-mult.c: Likewise.
743 * literal.c: Likewise.
744 * read.c: Likewise.
745 * sb.c: Likewise.
746 * stabs.c: Likewise.
747 * subsegs.c: Likewise.
748
749 2000-09-09 Philip Blundell <philb@gnu.org>
750
751 * configure.in (arm*-*-uclinux*): New target.
752 * configure: Regenerate.
753
754 2000-09-09 Kazu Hirata <kazu@hxi.com>
755
756 * input-file.c: Fix formatting.
757 * itbl-ops.c: Likewise.
758 * messages.c: Likewise.
759
760 2000-09-08 Philip Blundell <philb@gnu.org>
761
762 * config/tc-arm.c (md_apply_fix3): Correct handling of ADRL when
763 offset is negative.
764
765 2000-09-07 H.J. Lu <hjl@gnu.org>
766
767 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
768 * configure: Rebuild.
769
770 2000-09-07 Kazu Hirata <kazu@hxi.com>
771
772 * atof-generic.c: Fix formatting.
773 * config/tc-mips.c: Likewise.
774 * config/tc-vax.c: Likewise.
775 * input-scrub.c: Likewise.
776
777 2000-09-07 Alexandre Oliva <aoliva@redhat.com>
778
779 * config/tc-sh.h (TARGET_FORMAT): Use sh-linux targets.
780 * configure.in (sh-*-linux*): Added.
781 * configure: Rebuilt.
782
783 2000-09-06 Kazu Hirata <kazu@hxi.com>
784
785 * config/tc-hppa.c: Fix formatting.
786
787 * ecoff.c: Fix formatting.
788
789 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
790
791 * configure: Rebuilt with new libtool.m4.
792
793 2000-09-05 Kazu Hirata <kazu@hxi.com>
794
795 * cgen.c: Fix formatting.
796 * config/tc-ia64.c: Likewise.
797
798 2000-09-05 Nick Clifton <nickc@redhat.com>
799
800 * aclocal.m4: Regenerate.
801 * config.in: Regenerate.
802 * configure: Regenerate.
803 * po/gas.pot: Regenerate.
804
805 2000-09-05 Hans-Peter Nilsson <hp@axis.com>
806
807 * config/tc-cris.c: Correct comment typos.
808
809 2000-09-05 Eric Christopher <echristo@cygnus.com>
810
811 * config/tc-mn10300.c: Cleanup.
812 (md_pcrel_from): Enable.
813
814 2000-09-05 Alan Modra <alan@linuxcare.com.au>
815
816 * expr.c (operand): Fix a comment typo.
817 * write.c (write_relocs): Fix a signed/unsigned warning.
818
819 * config/tc-hppa.c (fudge_reg_expressions): New
820 (hppa_force_reg_syms_absolute): New.
821 (pa_equ): Allow reg_section expressions.
822 * config/tc-hppa.c (md_optimize_expr): Define.
823 (hppa_force_reg_syms_absolute): Prototype.
824
825 * config/tc-hppa.c (pa_11_fp_reg_struct): Delete.
826 (pa_parse_number): Pass in arg to select fp reg parsing.
827 Return 1 to indicate format checks pass. If strict, then only
828 accept a register or register symbol. Return value in...
829 (pa_number): New static for pa_parse_number.
830 (FP_REG_BASE): Define.
831 (FP_REG_RSEL): Define.
832 (pre_defined_registers): Apply FP_REG_BASE and FP_REG_RSEL as
833 appropriate. White space changes.
834 (need_pa11_opcode): Don't bother passing any params, get them from
835 globals instead.
836 (pa_ip): Modify all calls to pa_parse_number and need_pa11_opcode.
837 Remove extraneous check in case 'Q'.
838 (pa_equ): Modify call to pa_parse_number to do strict parsing. If
839 reg, set section of resulting symbol to reg_section.
840 (pa_parse_space_stmt): Modify call to pa_parse_number.
841 (pa_space): Likewise.
842
843 * config/tc-hppa.c: (md_apply_fix): Handle vtable relocs.
844 (hppa_force_relocation): Handle vtable relocs.
845 (pa_vtable_entry): New.
846 (pa_vtable_inherit): New.
847 (md_pseudo_table): Add entries for vtable pseudos.
848 (hppa_fix_adjustable): Reject reduction of R_PARISC_GNU_VTINHERIT
849 and R_PARISC_GNU_VTENTRY relocs. Reject reduction of relocs
850 against weak syms.
851 (tc_gen_reloc): Remove ELF_ARG_RELOC_INSN code.
852 (pa_type_args): Don't call symbol_get_bfdsym multiple times.
853 Set STT_PARISC_MILLICODE for OBJ_ELF when encountering a
854 millicode import.
855 * config/obj-elf.c (obj_elf_type): Allow md_elf_symbol_type to
856 specify a symbol type.
857
858 * config/tc-hppa.h: Reorganize file a little, grouping OBJ_ELF
859 dependent things together.
860 (md_elf_symbol_type): Define.
861
862 * config/tc-hppa.c (fix_new_hppa): Elide "$PIC_pcrel$0" pseudo
863 symbol.
864 * config/tc-hppa.h (tc_frob_symbol): Elide "$PIC_pcrel$0" here too.
865
866 * config/obj-elf.h (obj_elf_vtable_inherit): Declare.
867 (obj_elf_vtable_entry): Declare.
868
869 * config/obj-elf.c (obj_elf_vtable_inherit): Return struct fix *
870 and export function.
871 (obj_elf_vtable_entry): Similarly.
872 (elf_pseudo_table): Fix the damage with a cast.
873
874 2000-09-03 Richard Henderson <rth@cygnus.com>
875
876 * config/tc-ia64.c (emit_one_bundle): Stop collecting insns
877 for template selection when a label is needed.
878
879 2000-09-02 Kazu Hirata <kazu@hxi.com>
880
881 * config/tc-ia64.c: Fix formatting.
882
883 2000-09-02 Nick Clifton <nickc@redhat.com>
884
885 * configure.in: Increase version number to 2.10.91.
886 * configure: Regenerate.
887 * aclocal.m4: Regenerate.
888 * config.in: Regenerate.
889 * po/gas.pot: Regenerate.
890 * Makefile.in: Regenerate.
891
892 2000-09-01 Alexandre Oliva <aoliva@redhat.com>
893
894 * config/tc-sh.h [OBJ_ELF] (TC_FIX_ADJUSTABLE): Define.
895 * config/tc-sh.c (md_apply_fix): Map 32-bit relocations that
896 become PC-relative to BFD_RELOC_32_PCREL. Reject 16- or 8-bit
897 similar relocs.
898 (sh_obj_adjustable): Return 1 for PC-relative offsets used in
899 branches.
900
901 2000-09-01 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
902
903 * config/tc-sh.h (DIFF_EXPR_OK, GLOBAL_OFFSET_TABLE_NAME,
904 TC_RELOC_GLOBAL_OFFSET_TABLE, TC_RELOC_RTSYM_LOC_FIXUP): Define.
905 * config/tc-sh.c (sh_elf_cons, sh_elf_suffix): New functions.
906 [OBJ_ELF] (md_pseudo_table) <long, int, word, short>: Use them.
907 (GOT_symbol): New variable.
908 (md_undefined_symbol): Set it.
909
910 2000-09-01 Richard Henderson <rth@cygnus.com>
911
912 * config/tc-ia64.c (match): Don't inline.
913 (extra_goodness): New.
914 (md_begin): Prefer nop.f and nop.b for best_template.
915
916 2000-08-31 Kazu Hirata <kazu@hxi.com>
917
918 * as.c: Fix formatting.
919 * cond.c: Likewise.
920 * frags.c: Likewise.
921 * macro.c: Likewise.
922
923 2000-08-31 Eric Christopher <echristo@cygnus.com>
924
925 * config/tc-mn10300.c: Cleanup and fix warnings.
926 (md_pseudo_table): Add initializers.
927 (md_show_usage): Cleanup.
928 (md_parse_option): Fix warnings.
929 (md_undefined_symbol): Fix warnings.
930 (md_conver_frag): Fix warnings.
931 (tc_gen_reloc): Fix warnings.
932 (md_apply_fix3): Fix warnings.
933 (check_operand): Fix warnings.
934
935 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
936
937 * acinclude.m4: Include libtool and gettext macros from the
938 top level.
939 * aclocal.m4, configure: Rebuilt.
940
941 2000-08-30 Mark Hatle <mhatle@mvista.com>
942
943 * config/tc-ppc.c (md_parse_option): Recognize -m405.
944
945 2000-08-31 Kazu Hirata <kazu@hxi.com>
946
947 * listing.c: Fix formatting.
948
949 2000-08-29 Kazu Hirata <kazu@hxi.com>
950
951 * app.c: Fix a comment typo. Fix formatting.
952
953 2000-08-25 J. David Anglin <dave@hiauly1.hia.nrc.ca>
954
955 * tc-vax.c (md_convert_frag): Correctly calculate the pc relative
956 offset of the target destination for jmp instructions.
957 (md_assemble): Change mode to VAX_ABSOLUTE_MODE as per comments.
958
959 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
960
961 * NEWS: Mention support for CRIS.
962
963 Thu Aug 24 20:41:05 2000 Denis Chertykov <denisc@overta.ru>
964
965 * config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros.
966 Sets `.lcomm' alignment to zero.
967
968 2000-08-23 Alexandre Oliva <aoliva@redhat.com>
969
970 * config/tc-i386.h <OBJ_MAYBE_ELF, OBJ_MAYBE_COFF>
971 (TC_FIX_ADJUSTABLE): Define.
972
973 2000-08-23 Jim Wilson <wilson@cygnus.com>
974
975 * config/tc-ia64.c (output_unw_records): Set U & E flags only if
976 unwind.personality_routine is set.
977
978 2000-08-23 H.J. Lu <hjl@gnu.org>
979
980 * write.c (TC_FIX_ADJUSTABLE): Remove the duplicate.
981
982 2000-08-23 Alexandre Oliva <aoliva@redhat.com>
983
984 * config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if target
985 environment is pe.
986
987 2000-08-22 H.J. Lu <hjl@gnu.org>
988
989 * config.in (STRICTCOFF): New for strict COFF.
990
991 * configure.in: Define STRICTCOFF for i386-*-msdosdjgpp*,
992 i386-*-go32* and i386-go32-rtems*.
993 * configure: Rebuilt.
994
995 * config/obj-coff.c (obj_coff_endef): Follow the historical
996 behavior if STRICTCOFF is not defined.
997
998 * doc/internals.texi: Document STRICTCOFF.
999
1000 2000-08-22 Alexandre Oliva <aoliva@redhat.com>
1001
1002 * write.c (TC_FIX_ADJUSTABLE): Define to 1, if not defined.
1003 (fixup_segment) Use it instead of TC_DONT_FIX_NON_ADJUSTABLE.
1004 * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
1005 <OBJ_ELF, OBJ_COFF, TE_PE> (TC_FIX_ADJUSTABLE): Define.
1006 * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
1007 <OBJ_ELF> (TC_FIX_ADJUSTABLE): Define.
1008 * config/tc-i960.h, config/tc-m68k.h, config/tc-v850.h:
1009 Likewise.
1010
1011 2000-08-22 Eric Christopher <echristo@cygnus.com>
1012
1013 * config/tc-mn10300.c: (md_apply_fix): New function.
1014 (mn10300_force_relocation): New function.
1015 (mn10300_fix_adjustable): New function.
1016
1017 * config/tc-mn10300.h: (TC_FORCE_RELOCATION): Define.
1018 (TC_HANDLES_FX_DONE): Define.
1019 (obj_fix_adjustable): Define.
1020 (MD_APPLY_FIX3): Define.
1021 (TC_LINKRELAX_FIXUP): Define.
1022
1023 * write.c: (TC_LINKRELAX_FIXUP): Define if not
1024 previously defined.
1025 (fixup_segment): Use TC_LINKRELAX_FIXUP.
1026
1027 * doc/internals.texi: Document TC_LINKRELAX_FIXUP.
1028
1029 2000-08-21 Jason Eckhardt <jle@cygnus.com>
1030
1031 * config/tc-i860.c (md_apply_fix3): Do not insert the immediate
1032 if the fixup resulted in a relocation.
1033
1034 2000-08-18 Nick Clifton <nickc@redhat.com>
1035
1036 * config/tc-arm.c (decode_shift): Replace as_tsktsk with as_warn.
1037 Make reference to first element of shift_names explicit.
1038
1039 2000-08-18 Alexandre Oliva <aoliva@redhat.com>
1040
1041 * write.c (fixup_segment) [TC_DONT_FIX_NON_ADJUSTABLE]: Use
1042 obj_fix_adjustable() and tc_fix_adjustable() to tell whether to
1043 add a symbol's address. Removed all target-specific #ifdefs that
1044 used to accomplished the same.
1045 * config/tc-v850.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
1046 * config/tc-m68k.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
1047 * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
1048 * config/tc-i960.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
1049 * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
1050
1051 2000-08-17 Kazu Hirata <kazu@hxi.com>
1052
1053 * dwarf2dbg.c: Fix formatting.
1054
1055 2000-08-17 Nick Clifton <nickc@redhat.com>
1056
1057 * config/tc-arm.c (decode_shift): Allow illegal shifts by zero
1058 to be recoded as logical shift lefts by zero.
1059
1060 2000-08-16 Jim Wilson <wilson@cygnus.com>
1061
1062 * config/tc-ia64.c (specify_resource, case IA64_RS_GR): Handle
1063 postincrement modified registers. Handle IA64_OPND_R3_2 addl
1064 source registers.
1065 (note_register_values): Handle IA64_OPND_R3_2 operands.
1066
1067 2000-08-16 Jason Eckhardt <jle@cygnus.com>
1068
1069 * config/tc-i860.c (md_operand): Silly typo fixed.
1070
1071 2000-08-16 Nick Clifton <nickc@redhat.com>
1072
1073 * config/tc-arm.c (struct asm_shift): Delete.
1074 (shift[]): Delete.
1075 (enum asm_shift_index): New.
1076 (struct asm_shift_properties): New.
1077 (struct asm_shift_name): New.
1078 (shift_properties[]); New.
1079 (shift_names[]); New.
1080
1081 (decode_shift): Use new structures.
1082 Issue a warning is "ROR #0" is used.
1083 Issue a warning if "ASR #0" or "LSR #0" is used.
1084
1085 (md_begin): Initialise arm_shift_hsh table from new
1086 asm_shift_name array.
1087
1088 2000-08-16 Jakub Jelinek <jakub@redhat.com>
1089
1090 * config/tc-sparc.c: Kill all warnings.
1091 (md_parse_option): Set -32/-64 for -xarch=, allow all -A archs
1092 in -xarch= as well.
1093 (md_show_usage): Update usage text.
1094
1095 2000-08-16 Nick Clifton <nickc@redhat.com>
1096
1097 * config/tc-arm.c (do_bx): Warn about "bx px" not being very
1098 useful.
1099
1100 2000-08-15 Will Cohen <wcohen@redhat.com>
1101
1102 * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Defined.
1103
1104 * config/tc-sh.c (md_assemble): Changed so debug_type
1105 test performed for ppi_assemble
1106 * config/tc-sh.c: Included dwarf2dbg.h.
1107 (debug_line): Defined.
1108 (md_assemble): Generates dwarf2 line info.
1109 (sh_finalize): New function. Finalize dwarf2 info.
1110 (assemble_ppi): Returns size of code generated.
1111 (build_Mytes): Returns size of code generated.
1112 (md_pseudo_table): Added "file" and "loc" psuedo ops.
1113 * config/tc-sh.h (md_end): Defined.
1114 (sh_finalize): Declared.
1115
1116 2000-08-15 Alexandre Oliva <aoliva@redhat.com>
1117
1118 * config/tc-sh.c (md_apply_fix) [BFD_RELOC_32, BFD_RELOC_16]: Use
1119 md_number_to_chars.
1120
1121 2000-08-14 Nick Clifton <nickc@redhat.com>
1122
1123 * config/tc-arm.c (do_bx): Allow "bx pc".
1124
1125 2000-08-14 Jim Wilson <wilson@cygnus.com>
1126
1127 * config/tc-ia64.c (md_longopts): Add -mconstant-gp and -mauto-pic.
1128 (md_parse_option): Add OPTION_MCONSTANT_GP and OPTION_MAUTO_PIC.
1129 (md_begin): Change assignment to md.flag to OR in the new bit.
1130
1131 2000-08-14 Mark Elbrecht <snowball3@bigfoot.com>
1132
1133 * config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Set the debug
1134 flag for storage types C_ARG, C_REGPARM, C_FIELD, C_MOS, C_MOE,
1135 C_MOU, and C_EOS.
1136
1137 2000-08-14 Jason Eckhardt <jle@cygnus.com>
1138
1139 * NEWS: Mention i860 support.
1140
1141 Mon Aug 14 11:49:12 2000 Jeffrey A Law (law@cygnus.com)
1142
1143 * config/tc-mn10300.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
1144
1145 2000-08-14 Andreas Schwab <schwab@suse.de>
1146
1147 * doc/c-arm.texi (ARM Directives): Fix warnings from makeinfo.
1148
1149 2000-08-11 Andreas Schwab <schwab@suse.de>
1150
1151 * doc/c-i860.texi (Opcodes for i860): Remove braces from @item
1152 argument.
1153
1154 2000-08-11 Kazu Hirata <kazu@hxi.com>
1155
1156 * expr.c: Fix formatting.
1157 * config/obj-bout.c: Likewise.
1158
1159 2000-08-10 Jason Eckhardt <jle@cygnus.com>
1160
1161 * doc/c-i860.texi: Flesh out the i860 section more.
1162
1163 2000-08-10 Kazu Hirata <kazu@hxi.com>
1164
1165 * symbols.c: Fix formatting.
1166 * expr.c: Likewise.
1167
1168 Wed Aug 9 16:28:21 EDT 2000 Diego Novillo <dnovillo@cygnus.com>
1169
1170 * tc-i386.c (md_assemble): Skip suffix check if the opcode modifier
1171 has the IgnoreSize bit set.
1172
1173 2000-08-09 Alan Modra <alan@linuxcare.com.au>
1174
1175 From Rodney Brown <RodneyBrown@mynd.com>
1176 * configure.in: Use elf on Unixware 7 (i586-sco-sysv5uw7.1.0)
1177 * configure: Regenerate.
1178
1179 2000-08-09 Kazu Hirata <kazu@hxi.com>
1180
1181 * hash.c: Fix formatting.
1182 * gasp.c: Likewise.
1183
1184 2000-08-08 Jason Eckhardt <jle@cygnus.com>
1185
1186 * config/tc-i860.h: Rework completely for BFD_ASSEMBLER.
1187 (i860_fix_info): New enum.
1188 (MD_APPLY_FIX3): Define.
1189 (WORKING_DOT_WORD): Define.
1190 (TC_HANDLES_FX_DONE): Define.
1191 (DIFF_EXPR_OK): Define.
1192 (LISTING_HEADER): Define.
1193 (TARGET_FORMAT): Select target format based on endian flag.
1194 (TARGET_BYTES_BIG_ENDIAN): Default to little endian.
1195 (target_big_endian): Add external declaration.
1196
1197 * config/tc-i860.c: All existing code reworked completely. Other
1198 new code shown below.
1199 (SYNTAX_SVR4): Define.
1200 (target_warn_expand): New variable.
1201 (md_shortopts): Declare and define (-Qy, -Qn, and -V options).
1202 (md_longopts): Declare and define with new options (-EL, -EB,
1203 and -mwarn-expand).
1204 (md_show_usage): New function.
1205 (md_operand): New function.
1206 (obtain_reloc_for_imm16): New function.
1207 (md_apply_fix3): New function.
1208 (tc_gen_reloc): New function.
1209
1210 2000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1211
1212 * config/tc-m68hc11.c (build_jump_insn): Make sure the
1213 2 bytes of the jump address are in the same frag.
1214 (find): Accept 68hc12 register indirect modes.
1215
1216 * NEWS: Mention 68HC11 & 68HC12 support.
1217
1218 2000-08-07 Richard Henderson <rth@cygnus.com>
1219
1220 * config/tc-ia64.c (unwind): Add prologue_mask member.
1221 (dot_vframe): Elide psp_gr record if it overlaps prologue_gr.
1222 (dot_save): Likewise for pfs_gr, rp_gr, and preds_gr.
1223 (dot_body): Clear unwind.prologue_mask.
1224 (dot_prologue): Set it. Accept a register second argument.
1225
1226 2000-08-07 Kazu Hirata <kazu@hxi.com>
1227
1228 * config/atof-ieee.c: Fix formatting.
1229 * config/atof-tahoe.c: Likewise.
1230
1231 2000-08-06 Nick Clifton <nickc@cygnus.com>
1232
1233 * config/tc-sparc.c (md_begin): Fix typo in recent formatting
1234 work.
1235
1236 * doc/as.texinfo (Pseudo Ops): Update to include descriptions
1237 of .popsection, .previous, .pushsection, .subsection,
1238 .version, .vtable_entry, .vtable_inherit and .weak.
1239
1240 2000-08-05 Kazu Hirata <kazu@hxi.com>
1241
1242 * config/tc-cris.c: Fix formatting.
1243 * config/tc-i386.c: Likewise.
1244 * config/tc-sparc.c (sparc_ip): Simplify the code.
1245
1246 2000-08-04 Kazu Hirata <kazu@hxi.com>
1247
1248 * config/tc-cris.c: Rearrange code for readability.
1249 * config/tc-d10v.c: Fix formatting.
1250 * config/tc-m32r.c: Likewise.
1251 * config/tc-sparc.c: Likewise.
1252
1253 2000-08-02 Jim Wilson <wilson@cygnus.com>
1254
1255 * config/tc-ia64.c (emit_one_bundle): Call ia64_free_opcode
1256 before ia64_find_opcode.
1257 (md_assemble): Likewise.
1258
1259 2000-08-01 Nick Clifton <nickc@cygnus.com>
1260
1261 * config/tc-arm.c (do_mrs): Fix skip of 'cpsr_all' flag.
1262 Undo some formatting fixes.
1263
1264 2000-08-01 Kazu Hirata <kazu@hxi.com>
1265
1266 * config/obj-som.c: Fix formatting.
1267 * config/obj-ieee.c: Likewise.
1268 * config/tc-arm.c: Likewise.
1269 * config/tc-v850.c: Likewise.
1270
1271 2000-08-01 Nick Clifton <nickc@redhat.com>
1272
1273 * doc/c-m68k.texi (section M680x0 Options): Turn into a table
1274 index by command line option.
1275
1276 2000-08-01 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1277
1278 * doc/c-m68k.texi (@cindex @samp{--pcrel}): Rewrite option description.
1279 (@node M68K-Branch): Rewrite to match the reality.
1280
1281 2000-07-31 Jason Eckhardt <jle@cygnus.com>
1282
1283 * doc/c-i860.texi: New file.
1284 * doc/Makefile.am (CPU_DOCS): Add c-i860.texi.
1285 * doc/Makefile.in: Regenerate.
1286 * doc/all.texi: Add I860 as relevant architecture.
1287 * doc/as.texinfo: Include i860 dependent file c-i860.texi.
1288
1289 2000-07-31 Kazu Hirata <kazu@hxi.com>
1290
1291 * config/tc-d30v.c: Fix formatting.
1292
1293 2000-07-31 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1294
1295 * config/tc-m68k.c (flag_keep_pcrel, OPTION_PCREL): Add --pcrel option.
1296 (md_convert_frag_1, md_estimate_size_before_relax): When making DBcc
1297 long emit a long branch if available instead of an absolute jump, never
1298 emit absolute jumps for anything with --pcrel.
1299
1300 * doc/c-m68k.texi: Document new command line option.
1301
1302 2000-07-29 Marek Michalkiewicz <marekm@linux.org.pl>
1303
1304 * config/tc-avr.c: Use PARAMS macro in function declarations.
1305 Don't declare md_pcrel_from_section (already in tc-avr.h).
1306 (avr_operands): Use AVR_UNDEF_P and AVR_SKIP_P macros.
1307 (avr_operand): Don't set (unsigned) op_mask to -1.
1308
1309 2000-07-28 Jason Eckhardt <jle@cygnus.com>
1310
1311 * configure.in: Add bits for i860-stardent-{sysv4, elf}*.
1312 * configure: Regenerated.
1313 * config/obj-elf.c (obj_elf_type): Recognize a fifth type
1314 of operand to the .type directive (.e.g, "type").
1315
1316 2000-07-28 Alan Modra <alan@linuxcare.com.au>
1317
1318 * as.h (warn_comment, found_comment, found_comment_file): Declare.
1319 * app.c (do_scrub_chars): Record where first comment found.
1320 * read.c (read_a_source_file): Init found_comment on entry, and
1321 notify whether comments found on exit.
1322 * config/tc-hppa.c (md_shortopts): Add "c".
1323 (md_longopts): Add warn-comment.
1324 (md_parse_option): Handle it.
1325 (md_show_usage): Show available options.
1326 * config/tc-hppa.h (WARN_COMMENTS): Define if TE_LINUX
1327
1328 Thu Jul 27 11:25:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
1329
1330 * config/tc-mn10300.c (md_convert_frag): Fix printfs.
1331 (tc_gen_reloc): Add cast when assigning bfd_abs_symbol to
1332 sym_ptr_ptr
1333 (md_estimate_size_before_relax): Don't fall off end of function.
1334
1335 2000-07-27 Kazu Hirata <kazu@hxi.com>
1336
1337 * config/tc-avr.c: Fix formatting.
1338 * config/tc-ns32k.c: Likewise.
1339
1340 2000-07-27 Alan Modra <alan@linuxcare.com.au>
1341
1342 * config/tc-d10v.c (find_opcode): Remove extraneous `='.
1343
1344 2000-07-27 Kazu Hirata <kazu@hxi.com>
1345
1346 * config/tc-d10v.c: Fix formatting.
1347 * config/tc-z8k.c: Likewise.
1348 * config/tc-sparc.c: Likewise.
1349
1350 2000-07-26 Dave Brolley <brolley@redhat.com>
1351
1352 * cgen.c (queue_fixup): Declare opinfo.
1353 (gas_cgen_parse_operand): Mark unused parameters with ATTRIBUTE_UNUSED.
1354 (gas_cgen_md_operand): Ditto.
1355 (gas_cgen_md_apply_fix3): Ditto.
1356
1357 2000-07-24 Mark Elbrecht <snowball3@bigfoot.com>
1358
1359 * config/obj-coff.c (obj_frob_symbol): Don't merge
1360 labels. Don't merge if the symbol isn't constant. Return
1361 immediately if a symbol is merged.
1362
1363 2000-07-22 Alan Modra <alan@linuxcare.com.au>
1364
1365 * frags.c (frag_align): Correct absolute section alignment.
1366
1367 2000-07-20 DJ Delorie <dj@redhat.com>
1368
1369 * config/obj-coff.c (obj_frob_symbol): revert previous change,
1370 it breaks linking against DLLs.
1371
1372 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
1373
1374 * configure.in: Add CRIS support.
1375 * configure: Regenerate.
1376 * Makefile.am: (CPU_TYPES): Add cris.
1377 (CPU_OBJ_VALID) [aout]: Add cris.
1378 (MULTI_CPU_TYPES): Add cris.
1379 (MULTI_CPU_OBJ_VALID) [aout]: Add cris.
1380 [coff]: Only i386 and mips are valid.
1381 (TARGET_CPU_CFILES): Add config/tc-cris.c.
1382 (TARGET_CPU_HFILES): Add config/tc-cris.h.
1383 (MULTI_CFILES): Add config/e-crisaout.c and config/e-criself.c.
1384 Regenerate dependencies.
1385 * Makefile.in: Regenerate.
1386 * aclocal.m4: Regenerate.
1387 * as.c: Declare crisaout, criself.
1388 * config/tc-cris.h, config/tc-cris.c: New.
1389 * config/e-criself.c, config/e-crisaout.c: New.
1390 * po/POTFILES.in, po/gas.pot: Regenerate.
1391
1392 2000-07-20 Kazu Hirata <kazu@hxi.com>
1393
1394 * read.c: Fix formatting.
1395 * write.c: Fix formatting.
1396
1397 2000-07-19 H.J. Lu <hjl@gnu.org>
1398
1399 * sb.c: Include <stdlib.h> if exists for abort ().
1400
1401 2000-07-19 Alan Modra <alan@linuxcare.com.au>
1402
1403 * config/tc-hppa.c (hppa_fix_adjustable): Correct LR%/RR% comment.
1404 (arg_reloc_stub_needed): #ifdef OBJ_SOM, not #ifdef SOM.
1405 (pa_type_args): Same here.
1406
1407 2000-07-17 Mark Elbrecht <snowball3@bigfoot.com>
1408
1409 * config/obj-coff.c (obj_frob_symbol): Don't merge labels. Don't
1410 merge if the symbol isn't constant. Don't call S_SET_EXTERNAL if
1411 the storage class is already set.
1412
1413 2000-07-17 Kazu Hirata <kazu@hxi.com>
1414
1415 * config/tc-m68hc11.c: Fix formatting.
1416 * config/tc-mn10200.c: Likewise.
1417 * config/tc-mn10300.c: Likewise.
1418 * config/tc-pj.c: Likewise.
1419 * config/tc-tic80.c: Likewise.
1420 * config/tc-w65.c: Likewise.
1421
1422 2000-07-17 Frank Ch. Eigler <fche@redhat.com>
1423
1424 * expr.c (operand): Permit %bin literals if LITERAL_PREFIXPERCENT_BIN
1425 is defined.
1426
1427 2000-07-15 Ian Lance Taylor <ian@zembu.com>
1428
1429 * doc/c-mips.texi (MIPS Opts): Remove erroneous space after
1430 @code.
1431
1432 2000-07-15 Alan Modra <alan@linuxcare.com.au>
1433
1434 * config/tc-hppa.c (hppa_fix_adjustable): Use the same checks for
1435 ELF as are used for SOM (except the 32-bit reloc one) to decide
1436 whether a symbol can be reduced to a section symbol. Expand on
1437 the comment for symbols involved in LR% and RR% expressions.
1438
1439 2000-07-14 Nick Clifton <nickc@cygnus.com>
1440
1441 * config/tc-mips.c (mips_disable_float_construction): New
1442 static variable. Set to true if doubles should not be
1443 constructed by loading two single width fp registers with
1444 halves of the value.
1445 (mips_ip): Test mips_disable_float_construction.
1446 (md_longopts): Add command line switches --construct-floats
1447 and --no-construct-floats.
1448 (md_parse_option): Parse new command line options.
1449 (md_show_usage): Describe new command line options.
1450
1451 * doc/c-mips.texi: Document new command line options.
1452
1453 2000-07-13 Koundinya K <kk@ddeorg.soft.net>
1454
1455 * configure.in: Remove the test /usr/dde for mips-*-sysv4*MP*
1456 * configure: Regenerate.
1457
1458 2000-07-13 Hans-Peter Nilsson <hp@axis.com>
1459
1460 * configure.in (DEFAULT_EMULATION setting): Revert part of
1461 2000-07-01 change that set te_multi=multi unless set to tmips.
1462 * configure: Regenerate.
1463
1464 2000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
1465
1466 * config/obj-coff.c (coff_frob_section): Add padding to the last
1467 section when aligning it increases its size.
1468
1469 2000-07-11 Kazu Hirata <kazu@hxi.com>
1470
1471 * config/tc-tic54x.c: Fix formatting.
1472
1473 2000-07-10 Kazu Hirata <kazu@hxi.com>
1474
1475 * config/tc-h8500.c: Fix formatting.
1476 * config/tc-tic54x.c: Fix formatting.
1477
1478 2000-07-10 Alan Modra <alan@linuxcare.com.au>
1479
1480 * config/tc-hppa.c (md_apply_fix): Check fmt 12 and 22 pc-rel
1481 displacements correctly.
1482
1483 * read.h (s_abort): Add ATTRIBUTE_NORETURN.
1484
1485 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
1486
1487 * hash.c (hash_insert): Add cast to obstruct_alloc to fix
1488 warning.
1489 (hash_jam): Ditto.
1490
1491 2000-07-09 Alan Modra <alan@linuxcare.com.au>
1492
1493 From David Huggins-Daines <dhd@linuxcare.com>
1494 * config/te-hppalinux64.h: Add a new emulation.
1495 * configure.in (emulations): Add configure bits to support the
1496 64-bit Linux/parisc target.
1497 * configure: Regenerate.
1498
1499 * config/tc-hppa.c (md_parse_option): Support `-V' for ELF.
1500 (md_shortopts): Add `V' for ELF.
1501
1502 * config/tc-hppa.c (arg_reloc_stub_needed): Define as zero except
1503 when SOM or ELF_ARG_RELOC are defined.
1504 (pa_type_args): Only set symbol_arg_reloc_info when SOM or
1505 ELF_ARG_RELOC are defined.
1506 (pa_stringer_aux): Don't pa_check_current_space_and_subspace here..
1507 (pa_stringer): ..Do it here instead. Fix comment typos.
1508 (hppa_force_relocation): Cast enums to int before comparing with
1509 ints.
1510
1511 From Ryan Bradetich <rbradetich@uswest.net>
1512 * config/tc-hppa.c: Removed unneeded libbfd.h to fix macro
1513 redifinition warning.
1514 (md_apply_fix): Added cast from enum to int for fixP->fx_r_type.
1515 (hppa_force_relocation): ditto
1516 (md_apply_fix): Added cast to buf to fix warnings.
1517
1518 * config/tc-hppa.h (pa_define_label, parse_cons_expression_hppa,
1519 cons_fix_new_hppa, hppa_force_relocation): Prototype.
1520
1521 * config/tc-hppa.c (reloc_type): It's an enum for OBJ_ELF.
1522 (R_N0SEL, R_N1SEL): Define only for OBJ_SOM.
1523 (tc_gen_reloc): Make `code' a reloc_type and `codes' a
1524 reloc_type** to avoid warnings in switch.
1525 (md_apply_fix): Make insn, val signed. Zap buf_wd and read insn a
1526 little earlier instead.
1527
1528 * config/tc-hppa.c (symbol_arg_reloc_info): Define for both som
1529 and elf.
1530 (pa_type_args): Use symbol_arg_reloc_info.
1531 (struct pa_it): Make arg_reloc unsigned int.
1532 (struct hppa_fix_struct): Likewise for fx_arg_reloc.
1533 (pa_text, pa_data, pa_comm): Don't compile for TE_LINUX.
1534 (pa_code): Delete. pa_text duplicates this function.
1535 (md_pseudo_table): Call obj_elf_text for ".code" if TE_LINUX.
1536 (fix_new_hppa): Argument offset is offsetT, arg_reloc is unsigned
1537 int.
1538 (cons_fix_new_hppa): Actually change selector to e_fsel when
1539 warning about assuming so.
1540 (tc_gen_reloc): More example elf arg reloc code.
1541 (md_apply_fix): Use arg_reloc_stub_needed for elf too.
1542 (hppa_force_relocation): Likewise.
1543
1544 * config/tc-hppa.h: Use TARGET_ARCH_SIZE to select target include
1545 files.
1546 (pa_end_of_source): Prototype.
1547 (hppa_fix_adjustable): Prototype.
1548 (LABELS_WITHOUT_COLONS): Move it..
1549 * config/te-hppa.h: To here.
1550
1551 * config/te-hppa64.h: New file.
1552
1553 * config/tc-hppa.c: Use TARGET_ARCH_SIZE to select target reloc
1554 type.
1555 (md_apply_fix): Pass stdoutput to bfd_hppa_insn2fmt. Handle
1556 format -10, -16, 16 relocs.
1557 (hppa_elf_mark_end_of_function): Test for null
1558 last_call_info->start_symbol
1559
1560 * config/tc-hppa.c (pa_ip): In case 'V', pass `strict' to
1561 CHECK_FIELD, not INSERT_FIELD_AND_CONTINUE. Don't pass opcode to
1562 re_assesmble_* functions. Delete extraneous statements. Fix
1563 typos in comments.
1564 (md_apply_fix): Compare against 1048575 in case 21. Don't pass
1565 insn to re_assemble_*.
1566
1567 2000-07-08 Ulf Carlsson <ulfc@engr.sgi.com>
1568
1569 * doc/internals.texi (Expressions): Fix typo.
1570
1571 2000-07-08 Kazu Hirata <kazu@hxi.com>
1572
1573 * config/tc-sh.c: Fix formatting.
1574 * config/tc-tic54x.c: Fix formatting.
1575 * depend.c: Fix formatting.
1576 * flonum-konst.c: Likewise.
1577 * flonum-mult.c: Likewise.
1578
1579 2000-07-07 Kazu Hirata <kazu@hxi.com>
1580
1581 * config/tc-sh.c: Fix comments.
1582 * config/obj-vms.c: Fix comments.
1583 * config/tc-a29k.c: Likewise.
1584 * config/tc-alpha.c: Likewise.
1585 * config/tc-h8300.c: Likewise.
1586 * config/tc-h8500.c: Likewise.
1587 * config/tc-i370.c: Likewise.
1588 * config/tc-ia64.c: Likewise.
1589 * config/tc-m68hc11.c: Likewise.
1590 * config/tc-m68k.c: Likewise.
1591 * config/tc-mips.c: Likewise.
1592 * config/tc-ns32k.c: Likewise.
1593 * config/tc-ppc.c: Likewise.
1594 * config/tc-z8k.c: Likewise.
1595
1596 2000-07-06 Mark Elbrecht <snowball3@bigfoot.com>
1597
1598 * config/obj-coff.c (TC_COFF_SECTION_DEFAULT_ATTRIBUTES): New.
1599 Default to '(SEC_LOAD | SEC_DATA)'.
1600 (obj_coff_section) [BFD_ASSEMBLER]: Use it.
1601
1602 * doc/internals.texi (CPU Backend): Describe
1603 TC_COFF_SECTION_DEFAULT_ATTRIBUTES.
1604
1605 Thu Jul 6 17:20:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
1606
1607 * as.c (parse_args): NULL terminate the long option list.
1608
1609 Tue Jul 4 14:08:28 2000 Andrew Cagney <cagney@b1.cygnus.com>
1610
1611 * config/tc-d30v.h: Include "write.h" for fixS.
1612 (d30v_start_line, md_pcrel_from_section): Add function prototypes.
1613
1614 2000-07-05 Nick Clifton <nickc@cygnus.com>
1615
1616 * config/tc-d30v.c (write_2_short): Further changes to warning
1617 messages produced when combining EITHER_BUT_PREFER_MU attributed
1618 opcodes.
1619
1620 2000-07-05 DJ Delorie <dj@redhat.com>
1621
1622 * MAINTAINERS: new
1623
1624 2000-07-04 Alexandre Oliva <aoliva@redhat.com>
1625
1626 * config/tc-arm.c (psrs): Accept combinations of flags.
1627
1628 2000-07-03 Marek Michalkiewicz <marekm@linux.org.pl>
1629
1630 * config/tc-avr.c: Change _ () to _() around all strings marked
1631 for translation (exception from the usual coding style).
1632 (avr_opt): New struct variable, how the new switches are set.
1633 (OPTION_MMCU): Define as 'm' and actually use.
1634 (md_longopts): Add -mall-opcodes, -mno-skip-bug, -mno-wrap.
1635 (show_mcu_list): New function, display the list of known MCUs.
1636 (md_show_usage): Document the new switches. Call show_mcu_list.
1637 (avr_set_arch): Change 'm' to OPTION_MMCU.
1638 (md_parse_option): Call show_mcu_list if unknown MCU specified.
1639 Handle the new switches.
1640 (avr_operands): Disable warnings for undefined combinations of
1641 operands if -mall-opcodes. Disable warnings for skipping two-word
1642 instructions if enhanced core or -mno-skip-bug.
1643 (avr_operand): Accept all addressing modes on avr1 if -mall-opcodes.
1644 (md_apply_fix3): Reject 8K wrap if >8K or -mno-wrap.
1645 (md_assemble): Accept opcodes not supported by MCU if -mall-opcodes.
1646 (avr_ldi_expression): Warn about implicit lo8().
1647 * config/tc-avr.h (md_pcrel_from_section): Add prototype.
1648
1649 2000-07-01 Koundinya K <kk@ddeorg.soft.net>
1650
1651 * configure.in: Add entry for mips-*-sysv4*MP*
1652 * configure: Rebuild
1653 * config/tc-mips.c (mips_target_format): Return elf32-tradbigmips or
1654 elf32-tradlittlemips for traditional mips targets.
1655 * config/tc-mips.c (md_estimate_size_before_relax): Duplicate the
1656 test for Link Once sections as in adjust_reloc_syms.
1657 * config/te-tmips.h: New file for traditional mips targets. Define
1658 TE_TMIPS.
1659
1660 2000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
1661
1662 * config/obj-coff.c (obj_coff_setcion) [BFD_ASSEMBLER]: If the
1663 flags argument is not present, don't change an existing section's
1664 section's attributes. If the flags argument is present, warn if the
1665 attributes don't match the section's current attributes. When
1666 long section names are supported, set SEC_LINK_ONCE and
1667 SEC_LINK_DUPLICATES_DISCARD for a new .gnu.linkonce section.
1668
1669 Thu Jun 29 21:30:00 2000 Hans-Peter Nilsson <hp@axis.com>
1670
1671 * config/obj-aout.c (obj_aout_type): Do not ignore for undefined
1672 symbols; create them.
1673
1674 2000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
1675
1676 * write.c (set_segment_vma): New: Set vma and lma for a segment.
1677 (write_object_file) [BFD_ASSEMBLER && OBJ_COFF && TE_GO32]: Use it.
1678
1679 2000-06-27 Aldy Hernandez <aldyh@redhat.com>
1680
1681 * config/tc-mips.c (mips_ip): handle "(foo-.-4)" type of
1682 expressions. Ignore the problem when handling 16 bit signed
1683 immediates, because the assembler will take care of the relocation
1684 later.
1685
1686 2000-06-27 Nick Clifton <nickc@cygnus.com>
1687
1688 * config/tc-d30v.c (write_2_short): Do not allow opcodes with
1689 the EITHER_BUT_PREFER_MU attribute to be combined into a reverse
1690 sequential order, and emit warning messages if the input source
1691 code contains constructs like that, or parallel constructs
1692 containing such opcodes.
1693
1694 2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
1695
1696 * config/tc-avr.c (mcu_types): Rename avr4 to avr5, add avr4.
1697 Add more MCU types for avr4 and avr5. Replace at94k{10,20,40}
1698 with just at94k. Change AVR_ISA_85xx back to AVR_ISA_2xxx.
1699 (md_show_usage): Update usage message.
1700 (md_parse_option): Allow redefinition of MCU type within the
1701 same avr[1-5] bfd machine type. Show both old and new MCU type
1702 in the error message.
1703 (md_apply_fix3): Support 8K wrap if AVR_ISA_MEGA is not set.
1704 Simplify 8K wrap code.
1705
1706 2000-06-25 Kazu Hirata <kazu@hxi.com>
1707
1708 * config/obj-aout.c: Remove all uses of DEFUN.
1709 * config/obj-ieee.c: Likewise.
1710 * config/tc-sh.c: Fix comment typos.
1711 * config/tc-tahoe.c: Likewise.
1712 * config/tc-vax.c: Likewise.
1713 * config/tc-w65.c: Likewise.
1714 * config/tc-z8k.c: Likewise.
1715 * config/tc-h8300.c (build_bytes): Assemble ldmac correctly.
1716
1717 2000-06-24 DJ Delorie <dj@cygnus.com>
1718
1719 * config/tc-i386.c (md_estimate_size_before_relax): Revert
1720 more changes from Sept 1999
1721 (tc_i386_fix_adjustable): ditto
1722 (md_apply_fix3): ditto
1723
1724 2000-06-24 Frank Ch. Eigler <fche@redhat.com>
1725
1726 * cgen.c (expr_jmp_buf_p): New validity flag for expr_jmp_buf.
1727 (gas_cgen_parse_operand): Set it around expression() call.
1728 (gas_cgen_md_operand): Test for it before longjmp().
1729
1730 2000-06-24 Kazu Hirata <kazu@hxi.com>
1731
1732 * config/tc-h8500.c: Remove all uses of DEFUN.
1733 * config/tc-sh.c: Likewise.
1734 * config/tc-w65.c: Likewise.
1735 * config/tc-z8k.c: Likewise.
1736
1737 * config/tc-h8500.c: Fix typos in comments.
1738
1739 2000-06-23 Frank Ch. Eigler <fche@redhat.com>
1740
1741 * expr.c (operand): Permit $hex literals if LITERAL_PREFIXDOLLAR_HEX
1742 is defined.
1743
1744 2000-06-23 matthew green <mrg@redhat.com>
1745
1746 * expr.c (operand): Do not as_bad() if RELAX_PAREN_GROUPING is
1747 defined. Fix error message for `[' grouping.
1748
1749 2000-06-22 Kazu Hirata <kazu@hxi.com>
1750
1751 * config/tc-h8300.c: Fix formatting and comment typos.
1752
1753 2000-06-22 Timothy Wall <twall@cygnus.com>
1754
1755 * config/tc-ia64.c (note_register_values): Move premature QP
1756 notation clearing into the appropriate place.
1757
1758 2000-06-22 Alan Modra <alan@linuxcare.com.au>
1759
1760 * dep-in.sed: Escape literal `.'s on patterns. Trim off `../'
1761 first before anything else. Add bin-bugs.h, emul.h and progress.h
1762 Sort list of files as for $(OBJS) in Makefile.am.
1763
1764 * Makefile.am (DEP): grep for leading `/' in DEPA, and fail if we
1765 find one. Remake dependencies.
1766 ($(OBJS)): Add bin-bugs.h, emul.h, and progress.h Sort the list.
1767 * Makefile.in: Regenerate.
1768 * doc/Makefile.in: Regenerate.
1769
1770 * config/tc-i386.c (i386_displacement): Don't assume a constant
1771 displacement is necessarily 16 bits when in 16 bit code mode.
1772 (md_assemble): Instead size the displacement here after we know
1773 for sure that a .code16gcc operand hasn't automatically added
1774 operand size prefixes.
1775
1776 2000-06-21 H.J. Lu <hjl@gnu.org>
1777
1778 * Makefile.am: Rebuild dependency.
1779 * Makefile.in: Rebuild.
1780
1781 2000-06-21 Kazu Hirata <kazu@hxi.com>
1782
1783 * config/tc-h8300.c (parse_reg): Make the function static.
1784 (parse_exp): Likewise.
1785
1786 2000-06-20 DJ Delorie <dj@cygnus.com>
1787
1788 * config/tc-i386.c (tc_i386_fix_adjustable): Revert change from
1789 Sept 1999; RVA relocs need to be treated more like DIR32 relocs
1790 for cygwin import libraries to work properly.
1791
1792 2000-06-20 H.J. Lu <hjl@gnu.org>
1793
1794 * Makefile.am: Rebuild dependency.
1795 * Makefile.in: Rebuild.
1796 * configure: Likewise.
1797 * doc/Makefile.in: Likewise.
1798
1799 2000-06-20 Timothy Wall <twall@cygnus.com>
1800
1801 * doc/internals.texi (CPU backend): Add @itemx for
1802 TC_START_LABEL_WITHOUT_COLON.
1803 * doc/c-tic54x.texi: New.
1804 * doc/as.texinfo: Add tic54x features and include primary tic54x
1805 documentation file.
1806 * doc/all.texi: Add C54X.
1807 * doc/Makefile.am (CPU_DOCS): Add c-tic54x.texi.
1808 * doc/Makefile.in: Regenerate.
1809 * configure.in: Add tic54x and define LIBM for tic54x.
1810 * configure: Regenrate.
1811 * config/tc-tic54x.[ch]: New.
1812 * config/obj-coff.h: Add tic54x.
1813 * Makefile.am: (CPU_TYPES): Add tic54x.
1814 (TARGET_CPU_CFILES): Add 'tc-tic54x.c'.
1815 (TARGET_CPU_HFILES): Add 'tc-tic54x.h'.
1816 (as_new_LDADD): Add $(LIBM).
1817 * Makefile.in: Regenerate.
1818
1819 2000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
1820
1821 * doc/Makefile.am (CPU_DOCS): Added 68hc11 file.
1822 * doc/c-m68hc11.texi: Document 68HC11 and 68HC12 port.
1823 * doc/as.texinfo: Likewise.
1824
1825 * configure, Makefile.in: Regenerate.
1826 * configure.in (emulations): Recognize m6811 and m6812.
1827 * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
1828 Added files for 68hc11 and 68hc12 assembler.
1829 * config/tc-m68hc11.c: Assembler for 68hc11 and 68hc12.
1830 * config/tc-m68hc11.h: Header definition for that assembler.
1831
1832 2000-06-18 Nick Clifton <nickc@redhat.com>
1833
1834 * symbols.c (resolve_symbol_value): Use bfd_octets_per_byte
1835 instead of OCTETS_PER_BYTE.
1836
1837 * config/tc-v850.c: Fix compile time warnings.
1838 * config/tc-ppc.c: Fix compile time warnings.
1839
1840 2000-06-18 H.J. Lu <hjl@gnu.org>
1841
1842 * configure.in: Don't emulate i386-pc-pe-coff with i386coff.
1843 * configure: Rebuild.
1844
1845 2000-06-17 Mark Elbrecht <snowball3@bigfoot.com>
1846
1847 * config/obj-coff.c (obj_coff_weak): Typo fix: Change BFD_ASSEMLER
1848 to BFD_ASSEMBLER.
1849
1850 2000-06-16 Nick Clifton <nickc@cygnus.com>
1851
1852 * config/tc-mips.c (md_parse_option): Accept RM5200,RM5230,
1853 RM5231, RM5261, RM5721 and RM7000 as r5000 cpu variants.
1854
1855 * doc/c-mips.texi: Document newly accepted cpu variants.
1856
1857 2000-06-15 Ulf Carlsson <ulfc@engr.sgi.com>
1858
1859 * config/tc-mips.h: Remove definition of ONLY_STANDARD_ESCAPES.
1860
1861 2000-06-13 Ulf Carlsson <ulfc@engr.sgi.com>
1862
1863 * macro.c (getstring): Make it possible to escape the quote
1864 character.
1865
1866 Tue Jun 13 20:58:28 2000 Catherine Moore <clm@redhat.com>
1867
1868 * config/tc-hppa.c (pa_export): Weak symbols can be global.
1869
1870 2000-06-13 H.J. Lu <hjl@gnu.org>
1871
1872 * configure: Regenerate.
1873
1874 2000-06-09 Alan Modra <alan@linuxcare.com.au>
1875
1876 * app.c (do_scrub_begin): Don't default lex[';'] as a line
1877 separator.
1878 * doc/internals.texi (line_separator_chars): Semicolon is no
1879 longer a default. Mention null and newline as defaults.
1880
1881 * read.c (is_end_of_line): Remove ifdef TC_HPPA.
1882
1883 * config/tc-i386.h (line_separator_chars): Explicitly mention `;'
1884 * config/tc-i860.h (line_separator_chars): Likewise.
1885 * config/tc-h8300.c (line_separator_chars): Likewise.
1886 * config/tc-i960.c (line_separator_chars): Likewise.
1887 * config/tc-m68k.c (line_separator_chars): Likewise.
1888 * config/tc-mips.c (line_separator_chars): Likewise.
1889 * config/tc-ns32k.c (line_separator_chars): Likewise.
1890 * config/tc-sparc.c (line_separator_chars): Likewise.
1891 * config/tc-vax.c (line_separator_chars): Likewise.
1892
1893 * config/tc-h8300.c (comment_chars): Use string initialiser.
1894 * config/tc-i960.c (line_comment_chars): Likewise.
1895 * config/tc-z8k.c (comment_chars, line_comment_chars,
1896 line_separator_chars): Likewise.
1897
1898 * config/tc-arm.c (line_separator_chars): Always use `;', not just
1899 for TE_LINUX.
1900
1901 2000-06-08 Nick Clifton <nickc@cygnus.com>
1902
1903 * config/tc-arm.c (cons_fix_new_arm): Assign correct reloc value
1904 for size 1 fixes.
1905
1906 2000-06-08 David O'Brien <obrien@FreeBSD.org>
1907
1908 * configure.in (VERSION): Update to show this is the CVS mainline.
1909
1910 2000-06-08 Matthew Jacob <mjacob@feral.com>
1911
1912 * config/tc-alpha.c (md_undefined_symbol): Properly understand that
1913 $at is the integer register $r28, vs. both $r28 and the floating
1914 point register $f28.
1915
1916 2000-06-08 James E. Wilson <wilson@cygnus.com>
1917
1918 * config/tc-ia64.c (generate_unwind_image): Call ia64_flush_insns.
1919 (dot_endp): Don't call ia64_flush_insns.
1920 (emit_one_bundle): Don't delete prologue/body records from
1921 unwind_record list in first loop. Rewrite second loop to account for
1922 this.
1923
1924 2000-06-07 David Mosberger <davidm@hpl.hp.com>
1925
1926 * config/tc-ia64.c: Add missing prototypes.
1927 (generate_unwind_image): Cast argument to output_unw_records call.
1928
1929 Wed Jun 7 22:44:14 2000 Denis Chertykov <denisc@overta.ru>
1930
1931 * config/tc-avr.c (avr_operand): fix the formatting of the comment.
1932
1933 Wed Jun 7 21:26:15 2000 Denis Chertykov <denisc@overta.ru>
1934
1935 * config/tc-avr.c (AVR_ISA_???): moved to include/opcode/avr.h
1936 (REGISTER_P): likewise.
1937 (avr_opcodes): uses include/opcode/avr.h
1938 (avr_operand): enable ld r,Z or st r,Z for at90s1200.
1939
1940 2000-06-04 Alan Modra <alan@linuxcare.com.au>
1941
1942 * read.c (is_end_of_line): No ';' for TC_HPPA. Add missing
1943 initializers too.
1944
1945 2000-06-03 H.J. Lu <hjl@gnu.org>
1946
1947 * read.c (is_end_of_line): Put back `;'.
1948
1949 2000-06-03 Alan Modra <alan@linuxcare.com.au>
1950
1951 * config/tc-i386.c (md_shortopts): Remove 'm', add 'q' to non-elf.
1952
1953 2000-06-01 Alan Modra <alan@linuxcare.com.au>
1954
1955 * expr.c (operand): Test is_end_of_line outside switch to catch
1956 line separator chars that are also operators.
1957 (operator): Return O_illegal for line separator chars.
1958
1959 * read.c (is_end_of_line): Use 1 instead of 99. Don't set `;'
1960 entry (or `!' entry for TC_HPPA).
1961
1962 * config/tc-arm.c (my_get_float_expression): Cast to unsigned char
1963 before indexing is_end_of_line. Remove redundant check for '\0'.
1964 (fp_op2): Likewise.
1965 * config/tc-h8500.c (md_assemble): Likewise.
1966 * config/tc-mcore.c (md_assemble): Likewise.
1967 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
1968 (md_atof): Likewise
1969
1970 * config/tc-m88k.c (s_bss): Cast to unsigned char before indexing
1971 is_end_of_line.
1972 * config/tc-mcore.c (mcore_cons): Likewise.
1973 (mcore_float_cons): Likewise.
1974 (mcore_stringer): Likewise.
1975 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
1976
1977 2000-06-01 Scott Bambrough <scottb@netwinder.org>
1978
1979 * config/tc-arm.c (do_mrs): Allow SPSR_BIT to be set correctly.
1980
1981 2000-05-29 Nick Clifton <nickc@cygnus.com>
1982
1983 * config/tc-sh.c: Fix compile time warning messages.
1984
1985 * config/tc-mips.c: Fix compile time warning messages.
1986
1987 2000-05-29 Philip Blundell <philb@gnu.org>
1988
1989 * doc/as.texinfo: Update copyright dates.
1990 (Local Labels): Delete misplaced mention of ARM.
1991 * NEWS: Mention ARM ELF support.
1992
1993 2000-05-27 Alexandre Oliva <aoliva@cygnus.com>
1994
1995 * config/tc-mn10300.c (md_assemble): Copy size to real_size before
1996 it is modified, and use the real_size to compute the frag address
1997 for dwarf2 line info.
1998
1999 2000-05-27 Alan Modra <alan@linuxcare.com.au>
2000
2001 * Makefile.am (DEP, DEP1, dep, dep-in, dep-am): Use a better sed
2002 line-matching scheme to cope with automake moving variables around.
2003 ($(TARG_CPU_O)): Remove dependency on TARG_CPU_DEP_@target_cpu_type@
2004 * Makefile.in: Regenerate.
2005
2006 2000-05-26 Jakub Jelinek <jakub@redhat.com>
2007
2008 * config/tc-sparc.c (sparc_relax): New.
2009 (md_longopts): Add -relax and -no-relax options.
2010 (md_parse_options, md_show_usage): Likewise.
2011 (md_apply_fix3): Optimize tail call into branch always if possible.
2012
2013 Thu May 4 15:27:07 2000 Donald Lindsay <dlindsay@cygnus.com>
2014
2015 * config/tc-d10v.c (write_2_short, parallel_ok, md_assemble,
2016 d10v_cleanup) implement Mitsubishi's newly explained branch-packing
2017 rules, with warning when a GAS statement specifies a packing that
2018 will result in an instruction being squashed.
2019 Added typdef packing_type and enumerals, changed various integer
2020 literals to use the enumerals.
2021
2022 2000-05-24 David Mosberger <davidm@hpl.hp.com>
2023
2024 * config/tc-ia64.c (dot_restorereg_p): New function.
2025 (md_pseudo_table): Add restorereg.p.
2026 (output_X3_format): Fix typo: record type should be UNW_X3, not UNW_X1.
2027 (output_X4_format): Fix typo: record type should be UNW_X4, not UNW_X2.
2028
2029 * config/tc-ia64.h (unw_record_type): Add unwabi.
2030 (unw_r_record): Rename member MASK to GRMASK. Add sub-structure
2031 called MASK with members for imask, and the masks produced by
2032 fr_mem, gr_mem, br_mem, and frgr_mem.
2033 (unw_p_record): Add members ABI and CONTEXT.
2034 (unw_x_record): Add member AB.
2035 * config/tc-ia64.c (enum reg_symbol): Add REG_PSP and REG_PRIUNAT
2036 as pseudo-register for use during unwind info generation.
2037 (AR_PFS, AR_LC): New macros.
2038 (enum pseudo_type): Add PSEUDO_FUNC_REG to permit declaring registers
2039 whose names start with an at sign (as in "@priunat").
2040 (pseudo_func): Add "svr4", "hpux", "nt" constants and "priunat"
2041 register.
2042 (unwind_list, unwind_tail, current_unwind_entry, proc_start,
2043 proc_end, unwind_info, personality_routine): Consolidate into
2044 "unwind" structure to reduce offset-table use. Add member
2045 NEXT_SLOT_NUMBER to track the slot number for the next instruction
2046 to be emitted.
2047 (output_R1_format, output_R3_format, output_P3_format,
2048 output_P6_format): Initialize R with zero to reduce compiler warnings.
2049 (output_P7_format): Ditto. Add `default' branch to switch
2050 statement to reduce compiler warnings.
2051 (output_P8_format, output_B1_format, output_B4_format): Ditto.
2052 (output_P4_format): Rename 2nd & 3rd arg to IMASK and IMASK_SIZE.
2053 (format_ab_reg): Rename from format_a_b_reg. Merge A and B args
2054 into single argument.
2055 (output_X1_format, output_X3_format): Initialize R with zero to reduce
2056 compiler warnings. Merge A and B args into single argument.
2057 (output_X2_format, output_X4_format): Remove unused variable R. Merge
2058 A and B args into single argument.
2059 (free_record): Removed (wasn't used).
2060 (free_list_records): Also free imasks in prologue records.
2061 (output_prologue, output_prologue_gr): Initialize mask bits to zero.
2062 (output_spill_mask): Remove.
2063 (output_unwabi): New function.
2064 (output_epilogue, output_label_state, output_copy_state): Call
2065 alloc_record.
2066 (output_spill_psprel, output_spill_sprel, output_spill_psprel_p,
2067 output_spill_sprel_p, output_spill_reg, output_spill_reg_p): Add AB
2068 argument.
2069 (process_one_record): New locals FR_MASK and GR_MASK. Ignore
2070 gr_mem, fr_mem, br_mem, and frgr_mem records and instead emit them
2071 as part of handling the prologue records. Emit region's imask if
2072 we have one. Handle unwabi, epilogue, label_state, copy_state,
2073 spill_psprel, spill_sprel, spill_reg, spill_psprel_p,
2074 spill_sprel_p, and spill_reg_p records.
2075 (set_imask, count_bits, slot_index): New function.
2076 (fixup_unw_records): Fix region size computation. Handle
2077 epilogue, spill_reg, spill_sprel, spill_psprel, spill_reg_p,
2078 spill_sprel_p, and spill_psprel_p records. Merge mask bits of
2079 frgr_mem, fr_mem, gr_mem, br_mem on a per-region basis and
2080 set_imask accordingly. Update imask for gr_gr, and br_gr records.
2081 (convert_expr_to_ab_reg, convert_expr_to_xy_reg): New function.
2082 (dot_save): Use manifest constants for applicaton registers.
2083 Handle REG_PR and REG_PRIUNAT.
2084 (dot_restore): Don't just ignore it.
2085 (dot_restorereg): New function..
2086 (generate_unwind_image): Ensure unwind info is a multiple of eight
2087 bytes, not just four bytes.
2088 (dot_handlerdata, dot_unwentry): Demand empty rest of line.
2089 (dot_altrp): Don't just ignore it.
2090 (dot_savemem): New function. Replaces dot_savesp() and
2091 dot_savepsp(). Use manifest constants for applicaton registers.
2092 Handle REG_PR and REG_PRIUNAT.
2093 (dot_savef): Simplify.
2094 (dot_saveb): Support generation of br_gr.
2095 (dot_spillreg, dot_spillmem, dot_spillreg_p, dot_spillmem_p,
2096 dot_label_state, dot_copy_state): New function.
2097 (dot_unwabi): Don't just ignore it.
2098 (md_pseudo_table): Add restorereg, spillreg, spillsp, spillpsp,
2099 spillreg.p, spillsp.p, spillpsp, label_state, copy_state,
2100 unwabi, vframesp, and vframepsp. Fix typo alprp->altrp.
2101 (emit_one_bundle): Set slot number for prologue/body records
2102 *before* emitting the first insn.
2103 (emit_one_bundle): Set UNWIND.NEXT_SLOT_NUMBER.
2104 (md_begin): Declare "psp" pseudo-register.
2105 (md_operand): Handle PSEUDO_FUNC_REG. Fix printing of error message
2106 so we don't get segfault.
2107 (output_psp_sprel): Output sp/psp relative offsets as 4-byte word
2108 counts as required per SW Conventions manual
2109 (output_rp_psprel, output_rp_sprel, output_pfs_psprel,output_pfs_sprel,
2110 output_preds_psprel, output_preds_sprel, output_spill_base,
2111 output_unat_psprel, output_unat_sprel, output_lc_psprel,
2112 output_lc_sprel, output_fpsr_psprel, output_fpsr_sprel,
2113 output_priunat_psprel, output_priunat_sprel, output_bsp_psprel,
2114 output_bsp_sprel, output_bspstore_psprel, output_bspstore_sprel,
2115 output_rnat_psprel, output_rnat_sprel, output_spill_psprel,
2116 output_spill_sprel, output_spill_psprel_p, output_spill_sprel_p):Ditto.
2117 (dot_vframe): Implement.
2118 (dot_vframesp, dot_vframepsp): New function.
2119
2120 Tue May 23 00:57:05 2000 Hans-Peter Nilsson <hp@axis.com>
2121
2122 * configure.in (i386-*-freebsd a.out entry): Quote properly.
2123 * configure: Regenerate.
2124
2125 2000-05-23 Alan Modra <alan@linuxcare.com.au>
2126
2127 * config/tc-i386.c (md_assemble): Pass jump reloc in fr_var...
2128 (md_estimate_size_before_relax): so we can use it here instead of
2129 old kludges. Localise vars to blocks. Comment.
2130
2131 * frags.c (frag_new): Update fr_var comments.
2132 * frags.h (struct frag): Ditto.
2133
2134 2000-05-22 Richard Henderson <rth@cygnus.com>
2135
2136 * config/tc-ia64.c (FUNC_PC_RELATIVE): New.
2137 (pseudo_func): Add pcrel.
2138 (operand_match): Handle IA64_OPND_TGT64.
2139 (build_insn): Likewise.
2140 (md_begin): Initialize pseudo_func[FUNC_PC_RELATIVE].
2141 (ia64_gen_real_reloc_type): Handle FUNC_PC_RELATIVE.
2142 (fix_insn): Handle all three 64-bit relocation types.
2143
2144 Mon May 22 22:43:32 2000 Hans-Peter Nilsson <hp@axis.com>
2145
2146 * obj.h (struct format_ops): New members begin, app_file,
2147 s_set_other, s_set_desc, s_get_type, s_set_type,
2148 separate_stab_sections, init_stab_section.
2149
2150 * config/obj-multi.h: Update GPL notice to v2.
2151 (obj_begin): New.
2152 (obj_app_file): New.
2153 (S_SET_SIZE): Test s_set_size for NULL before calling.
2154 (S_SET_ALIGN): Similar for s_set_align.
2155 (S_SET_OTHER): New.
2156 (S_SET_DESC): New.
2157 (S_GET_TYPE): New.
2158 (S_SET_TYPE): New.
2159 (SEPARATE_STAB_SECTIONS): New.
2160 (INIT_STAB_SECTION): New.
2161 (EMIT_SECTION_SYMBOLS): New.
2162 (AOUT_STABS) [OBJ_MAYBE_AOUT]: Define.
2163
2164 * config/obj-elf.h: Update GPL notice to v2.
2165 Mention that this file is included from obj-multi.h.
2166 (obj_begin): Wrap definition in ifndef.
2167 (elf_file_symbol): Constify declaration.
2168 (obj_app_file): Ditto.
2169 (SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB):
2170 Wrap in ifndef SEPARATE_STAB_SECTIONS.
2171
2172 * config/obj-elf.c (elf_s_set_other): New.
2173 (elf_file_symbol): Constify argument.
2174 (elf_separate_stab_sections): New.
2175 (elf_init_stab_section): New.
2176 (elf_format_ops): Add new members. Remove comma at end.
2177
2178 * config/obj-ecoff.c (ecoff_separate_stab_sections): New.
2179 (ecoff_format_ops): Add new fields. Remove comma at end.
2180 Mention inconsistency for emit_section_symbols.
2181
2182 * config/obj-coff.h (c_dot_file_symbol): Constify declaration.
2183
2184 * config/obj-coff.c (c_dot_file_symbol): Constify argument.
2185 (coff_separate_stab_sections): New.
2186 (coff_format_ops): Add new members.
2187
2188 * config/obj-aout.c (obj_aout_sec_sym_ok_for_reloc): New.
2189 (obj_aout_s_set_other): New.
2190 (obj_aout_s_set_desc): New.
2191 (obj_aout_s_get_type): New.
2192 (obj_aout_s_set_type): New.
2193 (obj_aout_separate_stab_sections): New.
2194 (aout_format_ops): New members added. Use obj_aout_process_stab,
2195 not 0. Use obj_aout_sec_sym_ok_for_reloc, not 0.
2196 (obj_aout_frob_symbol): Add ATTRIBUTE_UNUSED to args as
2197 appropriate.
2198 (obj_aout_line, obj_aout_weak, obj_aout_type): Ditto.
2199
2200 2000-05-22 Alan Modra <alan@linuxcare.com.au>
2201
2202 * config/tc-i386.c (tc_i386_fix_adjustable): Prevent adjustment
2203 for OBJ_MAYBE_ELF too. Use S_IS_EXTERNAL instead of S_IS_EXTERN.
2204 (md_estimate_size_before_relax): Ensure jumps to weak and
2205 externally visible symbols are relocatable.
2206
2207 Sat May 20 16:41:55 2000 Hans-Peter Nilsson <hp@axis.com>
2208
2209 * stabs.c (aout_process_stab): Make global.
2210 (s_desc): Add ATTRIBUTE_UNUSED to args as appropriate.
2211 * read.h (aout_process_stab): Declare.
2212
2213 * configure.in (EMULATIONS) [i386aout, i386coff, i386elf]:
2214 Generalize to *aout, *coff *elf.
2215 * configure: Regenerated.
2216
2217 * doc/internals.texi (Object format backend): Say
2218 SEPARATE_STAB_SECTIONS needs to be nonzero, not just defined.
2219
2220 * Makefile.am (TARG_ENV_HFILES): Delete te-multi.h.
2221 * Makefile.in: Regenerated.
2222
2223 2000-05-19 Catherine Moore <clm@cygnus.com>
2224
2225 * cgen.h (GAS_CGEN_MAX_FIXUPS): Check if already defined.
2226
2227 2000-05-18 Alan Modra <alan@linuxcare.com.au>
2228
2229 * config/tc-hppa.c (md_apply_fix): Mask out immediate bits of
2230 instruction to reflect change in re_assemble_*.
2231
2232 Thu May 18 10:52:14 2000 Jeffrey A Law (law@cygnus.com)
2233
2234 * configure.in (hppa-*-hpux11*): If the cpu is hppa*64*, then
2235 build PA64 ELF tools.
2236 * configure: Rebuilt.
2237
2238 2000-05-17 Alan Modra <alan@linuxcare.com.au>
2239
2240 * Makefile.am: Regenerate dependencies.
2241 * Makefile.in: Regenerate.
2242
2243 2000-05-15 Nick Clifton <nickc@cygnus.com>
2244
2245 * config/tc-arm.c (struct asm_psr): Add boolean field
2246 distinguishing between CSPR and SPSR. Rename 'number' field
2247 to 'field'.
2248 (psrs): Rearrange contents to match new asm_psr structure.
2249 (arm_psr_parse): Move next to psr_required_here. Make it
2250 return an asm_psr structure.
2251 (psr_required_here): Use asm_psr structure returned by
2252 arm_psr_parse.
2253 (do_msr): Reorganise to allow psr_required_here to be called
2254 only once.
2255 (md_undefined_name): Mark 'name' parameter as unused, since
2256 the COFF target does not use it.
2257
2258 2000-05-14 David O'Brien <obrien@FreeBSD.org>
2259
2260 * config/te-386bsd.h: Clean up comments to adhere to the GNU coding
2261 standards.
2262 * config/te-aux.h: Likewise.
2263 * config/te-dpx2.h: Likewise.
2264 * config/te-go32.h: Likewise.
2265 * config/te-hp300.h: Likewise.
2266 * config/te-hppa.h: Likewise.
2267 * config/te-i386aix.h: Likewise.
2268 * config/te-ic960.h: Likewise.
2269 * config/te-interix.h: Likewise.
2270 * config/te-nbsd532.h: Likewise.
2271 * config/te-pc532mach.h: Likewise.
2272 * config/te-ppcnw.h: Likewise.
2273 * config/te-psos.h: Likewise.
2274 * config/te-sparcaout.h: Likewise.
2275 * config/te-sun3.h: Likewise.
2276 * config/te-sysv32.h: Likewise.
2277
2278 2000-05-14 Alan Modra <alan@linuxcare.com.au>
2279
2280 * config/tc-h8300.c (do_a_fix_imm): Don't rely on `short' being 16
2281 bits. Instead explicitly mask and sign extend. Do the 8 bit mask
2282 and sign extend without an if statement.
2283 (build_bytes): Likewise.
2284
2285 2000-05-14 Kazu Hirata <kazu@hxi.com>
2286
2287 * config/tc-h8300.c (do_a_fix_imm): Output a reloc for no
2288 X_add_symbol L_32 case.
2289
2290 2000-05-14 David O'Brien <obrien@FreeBSD.org>
2291
2292 * config/te-freebsd.h: New file.
2293
2294 2000-05-13 Alan Modra <alan@linuxcare.com.au>
2295
2296 * asintl.h (gettext, dgettext, dcgettext, textdomain,
2297 bindtextdomain): Replace defines with those from intl/libgettext.h
2298 to quieten gcc warnings.
2299
2300 * NEWS: Mention x86 .arch and -q.
2301
2302 * config/tc-i386.c (quiet_warnings): New.
2303 (md_assemble): Use quiet_warnings.
2304 (md_parse_option): Set quiet_warnings from -q.
2305 (md_show_usage): Mention -q, delete -m.
2306 (flag_do_long_jump): Delete.
2307 (md_parse_option): Remove -m.
2308 (md_show_usage): Remove -m.
2309 (md_create_long_jump): Remove useless flag_do_long_jump code.
2310
2311 * as.c (parse_args): In case OPTION_DEFSYM, use a valueT to hold
2312 the symbol value, and use bfd_scan_vma if BFD_ASSEMBLER.
2313
2314 2000-05-13 Alan Modra <alan@linuxcare.com.au>
2315 Alexander Sokolov <robocop@netlink.ru>
2316
2317 * doc/c-i386.texi (i386-Arch): New section.
2318 (i386-Syntax): Mention .intel_syntax and .att_syntax.
2319
2320 * config/tc-i386.c (cpu_arch_name, cpu_arch_flags): New.
2321 (smallest_imm_type): Use smallest opcode for shift by one if cpu
2322 architecture has been given and is not 486.
2323 (set_cpu_arch): New.
2324 (md_pseudo_table): Add .arch.
2325 (md_assemble): Warn if cpu architecture has been given and an
2326 unsupported instruction.
2327
2328 * config/tc-i386.h (SMALLEST_DISP_TYPE): Delete.
2329 Move operand_types bit defines after relevant template field.
2330 (template): Add cpu_flags.
2331 (Cpu*): Define.
2332 (arch_entry): New.
2333
2334 2000-05-12 Alexandre Oliva <aoliva@cygnus.com>
2335
2336 * config/tc-mn10300.h (md_end): Define.
2337 (mn10300_finalize): Declare.
2338 * config/tc-mn10300.c: Include dwarf2dbg.h.
2339 (debug_line): Define.
2340 (md_assemble): Generate dwarf2 line info.
2341 (mn10300_finalize): New function. Finalize dwarf2 info.
2342
2343 2000-05-11 Ulf Carlsson <ulfc@engr.sgi.com>
2344
2345 * config/tc-mips.c (md_estimate_size_before_relax): Use the
2346 external version of the relocation for weak symbols.
2347
2348 2000-05-08 David Mosberger <davidm@hpl.hp.com>
2349
2350 * config/tc-ia64.c (output_P7_format, case mem_stack_f): Output fixed
2351 frame size in units of 16 bytes, as required per SW Conventions manual.
2352 (output_unw_records): Output info-block header as a dword to get
2353 byte-order right.
2354
2355 2000-05-08 Alan Modra <alan@linuxcare.com.au>
2356
2357 * as.h: #include "file", not <file> on files from ../include.
2358 (as_abort, as_fatal): Add ATTRIBUTE_NORETURN.
2359 * config/tc-m68k.c (m68k_ip): Fix signed/unsigned warnings.
2360 (md_convert_frag): Add ATTRIBUTE_UNUSED.
2361 (tc_coff_symbol_emit_hook): Ditto.
2362 (OPTCOUNT): Cast to int to avoid compiler warning.
2363 (md_begin): Fix signed/unsigned warnings.
2364
2365 2000-05-08 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2366
2367 * config/tc-m68k.c (md_convert_frag_1): Abort if we end up in the
2368 ABRANCH LONG case for a conditional branch on a 68000.
2369 (md_estimate_size_before_relax): Likewise. Also handle
2370 flag_short_refs correctly for ABRANCH, BCC68000, and DBCC.
2371 (m68k-ip: case ABSL): Relax absolute references to 16-bit
2372 PC-relative on all CPUs.
2373 (md_estimate_size_before_relax): Likewise.
2374
2375 2000-05-04 Alan Modra <alan@linuxcare.com.au>
2376
2377 * as.c (parse_args): Just mention current year in printed
2378 copyright message.
2379
2380 2000-05-03 J.T. Conklin <jtc@redback.com>
2381
2382 * config/tc-ppc.c (pre_defined_registers): Add entries for vector
2383 unit registers.
2384 (md_parse_option): Recognize -m7400.
2385
2386 2000-05-03 Ian Lance Taylor <ian@zembu.com>
2387
2388 * config/atof-ieee.c (gen_to_words): When adding carry back in,
2389 don't permit lp to become less than the words array.
2390
2391 2000-05-03 Rodney Brown <RodneyBrown@pmsc.com>
2392
2393 config/tc-mcore.c (md_apply_fix3): BFD_RELOC_MCORE_PCREL_IMM11BY2
2394 Fix little-endian case.
2395
2396 2000-05-03 David O'Brien <obrien@NUXI.com>
2397
2398 * as.c (parse_args): Update copyright.
2399
2400 2000-05-03 Mark Elbrecht <snowball3@bigfoot.com>
2401
2402 * gas/config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4
2403 for the .bss section too.
2404
2405 2000-05-02 Alan Modra <alan@linuxcare.com.au>
2406
2407 * configure.in: Set em=linux for hppa-*-linux.
2408 * configure: Regenerate.
2409 * doc/Makefile.in: Regenerate with correct automake.
2410
2411 * frags.c (frag_grow): Sanity check chunk_size.
2412
2413 * config/obj-elf.h: #include "bfd.h" not <bfd.h>
2414 * config/obj-som.h: Likewise.
2415 * config/obj-ieee.h: Likewise.
2416
2417 * config/tc-hppa.h: Test BFD_ARCH_SIZE, not BFD64.
2418
2419 * config/tc-hppa.c (log2): Only compile when OBJ_SOM.
2420 (md_pseudo_table): Fully initialise OBJ_ELF cases.
2421 (fix_new_hppa): Add ATTRIBUTE_UNUSED to args as appropriate.
2422 (pa_ip): low_sign_unext now returns via function value. Use
2423 re_assemble_* instead of dis_assemble_* and
2424 INSERT_FIELD_AND_CONTINUE combination. Don't call sign_unext
2425 unnecessarily.
2426 (md_convert_frag): Add ATTRIBUTE_UNUSED to args as appropriate.
2427 (md_section_align, md_parse_option, md_show_usage,
2428 md_undefined_symbol, pa_align, pa_block, pa_brtab, pa_try,
2429 pa_callinfo, pa_code, pa_comm, pa_end, pa_enter, pa_entry,
2430 pa_exit, pa_export, pa_import, pa_label, pa_leave, pa_level,
2431 pa_origin, pa_param, pa_proc, pa_procend, pa_space, pa_spnum,
2432 pa_version, pa_compiler, pa_copyright, pa_data, pa_fill, pa_lsym,
2433 pa_text): Likewise.
2434 (md_apply_fix): Change type of new_val to offsetT. Delete w1, w2,
2435 w, resulti. Add insn, val. Move bfd_get_32 and bfd_put_32
2436 outside of switch. Correct mask and shifting errors in case 10
2437 and case -11. In case 21, compare against signed range to suit
2438 hppa_field_adjust changes. In case 12, use re_assemble_12. In
2439 case 17 and case 22, use offsetT variable to properly check range.
2440 Use re_assemble_* here too.
2441 (evaluate_absolute): Change type of value to offsetT. Call
2442 hppa_field_adjust to do the work for us.
2443 (pa_parse_cmpb_64_cmpltr): Delete save_s.
2444 (pa_parse_cmpib_64_cmpltr): Ditto.
2445 (pa_build_unwind_subspace): Delete unused var subseg. Change type
2446 of i to unsigned int.
2447 (pa_type_args): Conditionally declare symbol if OBJ_SOM.
2448 (pa_end_of_source): Return type is void.
2449
2450 Mon May 1 08:54:23 2000 Catherine Moore <clm@cygnus.com>
2451
2452 * macro.c (macro_expand_body): Don't prepend macro number with zeroes.
2453
2454 Mon May 1 14:19:39 2000 Denis Chertykov <denisc@overta.ru>
2455
2456 * config/tc-avr.c: ATTRIBUTE_UNUSED added to the necessary places.
2457 More comments added.
2458 (md_begin): Removed "construct symbols for each register name".
2459 Because register names conflicts with GCC generated function
2460 names.
2461 (avr_operand): Now constant numbers can be used as a register
2462 identifiers (0 as r0, 31 as r31).
2463 (md_assemble): use skip_space () before parsing instruction
2464 operands.
2465
2466 2000-05-01 Alan Modra <alan@linuxcare.com.au>
2467
2468 * configure.in: Set bfd_gas=yes on i386-*-pe and i386-*-nt* to
2469 ensure all pe targets use bfd. Remove unnecessary bfd_gas=yes on
2470 arm-*-netbsd* and arm-*-wince as this is set for all arm*.
2471 * configure: Regenerate.
2472
2473 2000-04-29 Andreas Jaeger <aj@suse.de>
2474
2475 * as.h: Correctly check GCC version.
2476
2477 2000-04-26 David O'Brien <obrien@FreeBSD.org>
2478
2479 * doc/as.1: Fix unbalanced brackets.
2480
2481 * config/tc-i386.c (comment_chars): Don't use '/' as comment start if
2482 TE_FreeBSD.
2483 (line_comment_chars): Set to '/' if TE_FreeBSD.
2484
2485 Tue Apr 25 11:02:02 2000 Jeffrey A Law (law@cygnus.com)
2486
2487 * configure.in: Configury support for PA64 (currently disabled).
2488 * configure: Rebuilt.
2489
2490 2000-04-25 Machida Hiroyuki <machida@sm.sony.co.jp>
2491
2492 * config/tc-mips.c (s_change_sec): Use record_alignment, not
2493 bfd_set_section_alignment.
2494
2495 2000-04-25 Alan Modra <alan@linuxcare.com.au>
2496
2497 * config/tc-i386.c (offset_in_range): Ensure shift counts are less
2498 than 32.
2499
2500 2000-04-24 Nick Clifton <nickc@cygnus.com>
2501
2502 * doc/c-arm.texi (ARM Directives): Document behaviour of .align 0.
2503 * doc/as.texinfo (Align): Include arm and strongarm in list of
2504 targets that have the second form of the behaviour of the .align
2505 directive.
2506
2507 2000-04-24 Mark Klein <mklein@dis.com>
2508
2509 * obj-som.c: Terminate obj_pseudo_table.
2510
2511 Mon Apr 24 15:21:11 2000 Clinton Popetz <cpopetz@cygnus.com>
2512
2513 * as.c (parse_args): Allow md_parse_option to override -a listing
2514 option.
2515 * config/obj-coff.c (add_lineno): Change type of offset parameter
2516 from "int" to "bfd_vma."
2517 * config/tc-ppc.c (md_pseudo_table): Add "llong" and "machine."
2518 (ppc_mach, ppc_subseg_align, ppc_target_format): New.
2519 (ppc_change_csect): Align correctly for XCOFF64.
2520 (ppc_machine): New function, which discards "ppc_machine" line.
2521 (ppc_tc): Cons for 8 when code is 64 bit.
2522 (md_apply_fix3): Don't check operand->insert. Handle 64 bit
2523 relocations.
2524 (md_parse_option): Handle -a64 and -a32.
2525 (ppc_xcoff64): New.
2526 * config/tc-ppc.h (TARGET_MACH): Define.
2527 (TARGET_FORMAT): Move to function.
2528 (SUB_SEGMENT_ALIGN): Use ppc_subseg_align.
2529
2530 Sun Apr 23 16:45:45 2000 Denis Chertykov <denisc@overta.ru>
2531
2532 * config/tc-avr.c: New AVR_ISA_ defined.
2533 (md_assemble): Handle opcodes with optional operands (lpm,elpm).
2534 (avr_operand): Handle 'a', 'v' and 'z' constraint letters needed
2535 for `fmul', `movw' and `lpm R,Z' instructions.
2536 (avr_operands): Warn if current opcode is a two-word instruction
2537 and previous opcode was cpse/sbic/sbis/sbrc/sbrs.
2538 (avr_opcodes): New commands added.
2539 (REGISTER_P): Check 'a' and 'v' constraint letters.
2540 (mcu_types): New MCU added.
2541
2542 2000-04-22 Timothy Wall <twall@cygnus.com>
2543
2544 * config/tc-ia64.c (pseudo_func[]): Add new "nat" entry equivalent
2545 to "natval".
2546 (operand_match): Conditionally insert default bit values for IMMU9.
2547
2548 2000-04-14 Matthew Green <mrg@cygnus.com>
2549
2550 * configure.in: Add NetBSD/sparc ELF and NetBSD/sparc64 support.
2551 * configure: Rebuilt.
2552
2553 Fri Apr 21 14:29:43 2000 Jeffrey A Law (law@cygnus.com)
2554 Jason Eckhardt <jle@cygnus.com>
2555
2556 * config/tc-hppa.c (md_apply_fix): Handle new PA2.0 formats.
2557
2558 * config/tc-hppa.c (CHECK_ALIGN): New macro.
2559 Added handling of new operand types l,y,&,fe,fE,fx.
2560
2561 Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
2562 David Mosberger <davidm@hpl.hp.com>
2563 Timothy Wall <twall@cygnus.com>
2564 Andrew MacLeod <amacleod@cygnus.com>
2565 Jim Wilson <wilson@cygnus.com>
2566
2567 * Makefile.am (CPU_TYPES): Add ia64.
2568 (TARGET_CPU_CFILES): Add config/tc-ia64.c.
2569 (TARGET_CPU_HFILES): Add config/tc-ia64.h.
2570 * Makefile.in: Rebuild.
2571 * app.c (do_scrub_chars): Handle DOUBLESLASH_COMMENTS.
2572 * configure: Rebuild.
2573 * configure.in: Recognize ia64 as cpu type. Set bfd_gas.
2574 (ia64-*-elf*, ia64-*-linux-gnu*): New targets.
2575 * expr.c (expr): Handle md_optimize_expr.
2576 * read.c (LEX_HASH): Add comment.
2577 * config/tc-ia64.c, config/tc-ia64.h: New files.
2578
2579 2000-04-21 Richard Henderson <rth@cygnus.com>
2580
2581 * config/tc-d30v.c (write_2_short): Disregard opcode1->ecc when
2582 bundling a non-delayed branch type instruction.
2583
2584 2000-04-20 Alexandre Oliva <aoliva@cygnus.com>
2585
2586 * config/tc-mn10300.c (HAVE_AM30): Define.
2587 (md_assemble): Use it.
2588
2589 2000-04-19 Alan Modra <alan@linuxcare.com.au>
2590
2591 * config/obj-elf.c (obj_elf_change_section): Check for changed
2592 section attributes.
2593
2594 * Makefile.am: (CPU_MULTI_VALID): Remove.
2595 (MULTI_CPU_TYPES): Define.
2596 (MULTI_CPU_OBJ_VALID): Define.
2597 (DEPTC): Use the above.
2598 (DEPOBJ): Same here.
2599 (DEP2): And here.
2600 Regenerate dependencies.
2601 * Makefile.in: Regenerate.
2602
2603 2000-04-19 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2604
2605 * Makefile.am (YACC, LEX): Get them from configure.
2606
2607 2000-04-18 H.J. Lu (hjl@gnu.org)
2608
2609 * config/tc-i386.c (offset_in_range): Use addressT instead of
2610 bfd_vma for non-bfd assemblers.
2611
2612 2000-04-17 Alan Modra <alan@linuxcare.com.au>
2613
2614 * config/tc-i386.c (offset_in_range): Sign extend val so BFD64
2615 doesn't give spurious errors.
2616
2617 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2618
2619 * as.h (SEEK_SET): Define if undefined.
2620
2621 2000-04-13 Alan Modra <alan@linuxcare.com.au>
2622
2623 * config/tc-arm.c (md_apply_fix3): Don't use UL suffix on
2624 constants, and don't assume offsetT is 32 bits.
2625
2626 2000-04-12 Andrew Cagney <cagney@b1.cygnus.com>
2627
2628 * config/tc-d10v.h: Include "write.h" to get definition of fixS.
2629 (md_pcrel_from_section): Add prototype.
2630 (d10v_fix_adjustable): Add prototype.
2631 (d10v_force_relocation): Replace 'struct fix' with 'fixS'.
2632
2633 * config/tc-d10v.c (md_apply_fix3): Add paren around &&.
2634
2635 2000-04-12 Nick Clifton <nickc@cygnus.com>
2636
2637 * config/tc-d10v.c (find_opcode): Correctly calculate position of
2638 symbol in frag chain.
2639
2640 2000-04-10 Alan Modra <alan@linuxcare.com.au>
2641
2642 * config/tc-i386.c (fits_in_signed_byte): Change arg to offsetT.
2643 (fits_in_unsigned_byte, fits_in_unsigned_word): Ditto.
2644 (fits_in_signed_word, smallest_imm_type): Ditto.
2645 (md_assemble): Use an offsetT var to hold offsetT values, not a
2646 long.
2647 (offset_in_range): New.
2648 (md_assemble): Use it.
2649 (md_convert_frag): Change type of target_address, opcode_address,
2650 and displacement_from_opcode_start to offsetT.
2651 (md_create_short_jump): Change type of offset to offsetT.
2652 (md_create_long_jump): Ditto.
2653 (md_apply_fix3): Use -4, not 0xfffffffc for BFD_RELOC_386_PLT32.
2654 (md_chars_to_number): Remove.
2655 (output_invalid): Remove duplicate prototype.
2656
2657 2000-04-09 Nick Clifton <nickc@cygnus.com>
2658
2659 * Makefile.am (CPU_TYPES): Add 'avr'.
2660 (TARGET_CPU_CFILES): Add 'tc-avr.c'.
2661 (TARGET_CPU_HFILES): Add 'tc-avr.h'.
2662
2663 * Makefile.in: Regenerate.
2664
2665 * doc/as.texinfo: Add M32R documentation.
2666
2667 Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
2668
2669 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
2670 --enable-build-warnings option.
2671 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
2672 * Makefile.in, configure: Re-generate.
2673
2674 2000-04-07 Nick Clifton <nickc@cygnus.com>
2675
2676 * config/tc-arm.c (md_apply_fix3): Treat BFD_RELOC_ARM_PCREL_BLX
2677 in the same way as BFD_RELOC_ARM_PCREL_BRANCH, and
2678 BFD_RELOC_THUMB_PCREL_BLX lie BFD_RELOC_THUMB_PCREL_BRANCH.
2679 (tc_gen_reloc): Accept BFD_RELOC_{ARM|THUMB}_PCREL_BLX.
2680 (arm_force_relocation): Force relocations for
2681 BFD_RELOC_{ARM|THUMB}_PCREL_BLX as well.
2682
2683 Wed Apr 5 22:26:32 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2684
2685 * config/tc-sh.c (get_operands): There's no third operand if the
2686 first operand is an immediate.
2687
2688 Wed Apr 5 22:07:19 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2689
2690 * config/tc-sh.c (immediate): Delete.
2691 (sh_operand_info): Add immediate member.
2692 (parse_reg): Use A_PC for pc.
2693 (parse_exp): Add second argument 'op'. All callers changed.
2694 (parse_at): Expect pc to be coded as A_PC.
2695 Use immediate field in *op.
2696 (insert): Add fourth argument 'op'. All callers changed.
2697 (build_relax): Add second argument 'op'. All callers changed.
2698 (insert_loop_bounds): New function.
2699 (build_Mytes): Remove DISP_4.
2700 Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT.
2701 (assemble_ppi): Use immediate field in *operand.
2702 (sh_force_relocation): Handle BFD_RELOC_SH_LOOP_{START,END}.
2703 (md_apply_fix): Likewise.
2704 (tc_gen_reloc): Likewise. Check for a pcrel BFD_RELOC_SH_LABEL.
2705
2706 Wed Apr 5 06:35:45 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2707
2708 * config/tc-sparc.c (sparc_ip): Avoid string pasting.
2709
2710 Tue Apr 4 19:27:50 2000 Hans-Peter Nilsson <hp@axis.com>
2711
2712 * internals.texi (CPU backend): Document
2713 TC_CHECK_ADJUSTED_BROKEN_DOT_WORD.
2714
2715 2000-04-04 Alan Modra <alan@linuxcare.com.au>
2716
2717 * po/gas.pot: Regenerate.
2718
2719 * as.c (show_usage): Restore translated part of bug string.
2720 * gasp.c (show_usage): Likewise.
2721
2722 * Makefile.am (MKDEP): Use gcc -MM rather than ../mkdep.
2723 (DEP): Quote when passing vars to sub-make. Use "mv -f" rather
2724 than move-if-change.
2725 (DEP1): Modify for "gcc -MM".
2726 (DEPTC): Likewise.
2727 (DEPOBJ): Likewise.
2728 (DEP2): Likewise.
2729 (CLEANFILES): Add DEPTCA, DEPOBJA, DEP2a, DEPA.
2730 Update dependencies.
2731 * Makefile.in: Regenerate.
2732
2733 2000-04-03 Alexandre Oliva <aoliva@cygnus.com>
2734
2735 * config/tc-mn10300.c (md_pseudo_table): Use constant names.
2736 (md_begin): Likewise.
2737 (HAVE_AM33): New macro.
2738 (md_assemble): Use it. Match r_regs and xr_regs only if
2739 HAVE_AM33.
2740
2741 2000-04-03 Alan Modra <alan@linuxcare.com.au>
2742
2743 * as.h: #include "bin-bugs.h"
2744 * as.c (show_usage): Use REPORT_BUGS_TO.
2745 * gasp.c: #include "bin-bugs.h"
2746 (show_usage): Use REPORT_BUGS_TO.
2747
2748 * config/tc-sparc.c (md_show_usage): Add a trailing newline.
2749
2750 Mon Apr 3 13:56:03 2000 Hans-Peter Nilsson <hp@axis.com>
2751
2752 * write.c (write_object_file) [! WORKING_DOT_WORD]: If defined,
2753 call TC_CHECK_ADJUSTED_BROKEN_DOT_WORD for each word after
2754 adjustments.
2755
2756 2000-04-03 Alan Modra <alan@linuxcare.com.au>
2757
2758 * config/tc-i386.c (i386_immediate): Don't assume a constant
2759 immediate is necessarily 16 bits when in 16 bit code mode.
2760 (md_assemble): Instead set guess_suffix here after we have checked
2761 registers.
2762
2763 2000-04-02 Richard Henderson <rth@cygnus.com>
2764
2765 * config/tc-d30v.c (check_range): Allow signed or unsigned 32-bit
2766 quantities. Correct right shift sign extension.
2767 (build_insn): Make `number' unsigned long. Mask top 6 bits of
2768 32-bit value when shifting into place.
2769
2770 2000-04-01 Ian Lance Taylor <ian@zembu.com>
2771
2772 * app.c: Add ATTRIBUTE_UNUSED as needed.
2773 * config/tc-ppc.c: Likewise.
2774 (ppc_size): Make unsigned long.
2775 (ppc_insert_operand): Add casts to avoid warnings.
2776
2777 2000-03-31 Nick Clifton <nickc@cygnus.com>
2778
2779 * config/tc-d10v.h (md_flush_pending_output): Define.
2780
2781 2000-03-29 Nick Clifton <nickc@cygnus.com>
2782
2783 * config/tc-sh.h (SEG_NAME): New macro: return the name of a
2784 segment. Works for both BFD_ASSEMBLER and others.
2785 (SUB_SEGMENT_ALIGN): Use SEG_NAME.
2786
2787 2000-03-29 Nick Clifton <nickc@cygnus.com
2788
2789 * config/tc-arm.c (tinsns): Add "bal" instruction pattern.
2790
2791 2000-03-28 Alan Modra <alan@linuxcare.com.au>
2792
2793 * listing.c (LISTING_LHS_WIDTH): Default depends on
2794 LISTING_WORD_SIZE.
2795 (LISTING_LHS_WIDTH_SECOND): Default to LISTING_LHS_WIDTH.
2796
2797 2000-03-27 Ian Lance Taylor <ian@zembu.com>
2798
2799 * config/tc-sh.c (md_show_usage): Use backslash before newline in
2800 string literal.
2801
2802 2000-03-27 Alan Modra <alan@linuxcare.com.au>
2803
2804 * config/tc-avr.h (TC_HANDLES_FX_DONE): Define.
2805
2806 * config/tc-avr.c (mcu_types): Add missing initialiser.
2807 (md_pcrel_from_section): Add prototype.
2808 (avr_operand): Remove redundant test of unsigned < 0.
2809 (avr_cons_fix_new): Ensure exp_mod_pm zero on function exit.
2810
2811 2000-03-27 Denis Chertykov <denisc@overta.ru>
2812
2813 * config/tc-avr.c: New file for AVR support.
2814 * config/tc-avr.h: Likewise.
2815 * configure.in: Add AVR support.
2816 * configure: Regenerate.
2817
2818 2000-03-26 Timothy Wall <twall@cygnus.com>
2819
2820 * gasp.c (macro_op): Add new argument to check_macro call.
2821 Macro structure definitions moved to macro.h
2822 * sb.h: Add argument to prototype for input_scrub_include_sb.
2823 * input-scrub.c (input_scrub_include_sb): Allow disabling of sb
2824 nesting checks with an additional flag.
2825 (struct input_save): Add flag to indicate whether current sb
2826 should be checked for proper macro/conditional nesting.
2827 (input_scrub_push/pop): Save/restore nest check flag.
2828 (input_scrub_next_buffer): Ditto. Also call end of macro hook if
2829 defined.
2830 * macro.c (check_macro): Allow caller to retrieve parsed macro
2831 information if a pointer is provided. This information may be
2832 used by the new macro hooks.
2833 * macro.h: Update prototype for check_macro. Macro struct
2834 definitions moved here from macro.c/gasp.c.
2835 * read.c (read_a_source_file): Add parameter to check_macro call,
2836 and pass macro info to the macro hook, if defined.
2837 (input_scrub_insert_line): New. Allow insertion of a line of
2838 characters into the input stream.
2839 (input_scrub_insert_file): New. Allow insertion of an arbitrary
2840 file into the input stream.
2841 (s_include): Use input_scrub_insert_file.
2842 * internals.texi: Document new macro hooks.
2843 * as.h: New prototypes added.
2844
2845 2000-03-26 Alan Modra <alan@linuxcare.com.au>
2846
2847 * config/tc-i386.c: Don't start any as_bad or as_warn message with
2848 an initial capital letter.
2849 (i386_index_check): Reindent.
2850
2851 2000-03-19 Nick Clifton <nickc@cygnus.com>
2852
2853 * config/tc-arm.c (md_apply_fix3): Fix bug detecting overflow of pc
2854 relative branches.
2855
2856 2000-03-17 Thomas de Lellis <tdel@windriver.com>
2857
2858 * config/tc-arm.c (do_t_adr): Flag "adr Rd,label"
2859 instruction operand bad if Rd > 7 when generating
2860 thumb instructions. Prevents for example,
2861 "adr r12,label" from silently failing and generating
2862 the wrong instruction.
2863
2864 2000-03-17 Nick Clifton <nickc@cygnus.com>
2865
2866 * config/tc-arm.c (md_apply_fix3): Handle same-section relocations
2867 that have a destingation >= 0x400000.
2868 Fix compile time warning messages.
2869
2870 Thu Mar 16 23:45:16 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2871
2872 * config/tc-sh.c (md_begin): When encountering insn that are
2873 not supported by the current arch, only change the name if
2874 its contents are the same as prev_name.
2875 (get_specific): If the the architecture doesn't match, fail.
2876
2877 Thu Mar 16 21:18:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2878
2879 * config/tc-sh.c (IDENT_CHAR): Define.
2880 (parse_reg): Use it instead of isalnum. Put r[0..7]_bank operand
2881 matching back where it came from.
2882
2883 Thu Mar 16 20:58:10 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2884
2885 * config/tc-sh.c (md_show_usage): Add description of -dsp.
2886
2887 2000-03-15 Jonathan Larmour <jlarmour@redhat.co.uk>
2888
2889 * config/tc-sh.c (parse_reg): Match r[0..7]_bank operands before
2890 normal operands.
2891
2892 2000-03-15 Kazu Hirata <kazu@hxi.com>
2893
2894 * config/tc-h8300.c: Add ATTRIBUTE_UNUSED as appropriate.
2895
2896 Mon Mar 13 22:02:59 2000 Hans-Peter Nilsson <hp@axis.se>
2897
2898 * expr.c (operand) [case 'f']: When testing if '0f' can start a
2899 floating-point-number, make sure 'f' is in FLT_CHARS.
2900
2901 Sat Mar 11 00:01:39 2000 Hans-Peter Nilsson <hp@axis.se>
2902
2903 * read.c (TC_IMPLICIT_LCOMM_ALIGNMENT): New default-definition.
2904 (s_lcomm_internal): Use it.
2905 * doc/internals.texi (CPU backend): Document it.
2906 * config/obj-evax.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Set to 2**3
2907 bytes.
2908
2909 2000-03-10 Geoffrey Keating <geoffk@cygnus.com>
2910
2911 * config/tc-mips.c (mips_ip): Don't put stuff in .rodata
2912 when embedded-pic.
2913
2914 * config/tc-mips.c (SWITCH_TABLE): The ELF embedded-pic
2915 implementation doesn't have special handling for switch
2916 statements.
2917 (macro_build): Allow for code in sections other than .text.
2918 (macro): Likewise.
2919 (mips_ip): Likewise.
2920 (md_apply_fix): Do pc-relative relocation madness for MIPS ELF.
2921 Don't perform relocs if we will be outputting them.
2922 (tc_gen_reloc): For ELF, just use fx_addnumber for pc-relative
2923 relocations. Allow BFD_RELOC_16_PCREL_S2 relocs when
2924 embedded-pic.
2925
2926 2000-03-09 Catherine Moore <clm@cygnus.com>
2927
2928 * config/tc-m32r.c (m32r_fix_adjustable): Look up the
2929 relocation type based on the entry in the fixup structure.
2930 Put S_IS_EXTERN processing back in.
2931
2932 2000-03-08 H.J. Lu (hjl@gnu.org)
2933
2934 * Makefile.am (install-exec-tooldir): Depend on
2935 install-exec-bindir for parallel make.
2936 * Makefile.in: Regenerated.
2937
2938 2000-03-06 Nick Clifton <nickc@cygnus.com>
2939
2940 * config/tc-m32r.c (struct md_longopts): Add -m32r command line
2941 switch.
2942 (md_parse_option): Parse -m32r command line switch - disable m32rx
2943 compatability.
2944 (md_show_usage): Document new option.
2945
2946 * doc/Makefile.am (CPU_DOCS): Add c-m32r.texi.
2947 * doc/Makefile.in: Regenerate.
2948 * doc/c-m32r.texi (M32R-Opts): Document new command line switch.
2949
2950 2000-03-02 Michael Meissner <meissner@redhat.com>
2951
2952 * config/tc-d30v.c (check_range): Remove code that incorrectly
2953 sign extended values where bits < 32.
2954
2955 2000-03-02 H.J. Lu (hjl@gnu.org)
2956
2957 * configure.in: Support --enable-targets=all on ia32.
2958 * configure: Regenerated.
2959
2960 2000-03-01 Nick Clifton <nickc@cygnus.com>
2961
2962 * gasp.c (do_align): Remove bogus check of alignment value.
2963
2964 2000-02-27 Thomas de Lellis <tdel@windriver.com>
2965
2966 * config/obj-elf.c (elf_frob_symbol): Remove code which when
2967 TC_PPC was defined forced the type of a symbol with no other type
2968 to be BSF_OBJECT.
2969
2970 2000-02-27 Hans-Peter Nilsson <hp@axis.com>
2971
2972 * doc/internals.texi (CPU backend): Mention that
2973 line_separator_chars do not break up comments. Fix typos for
2974 LEX_AT and LEX_NAME descriptions. Document operands for
2975 TC_EQUAL_IN_INSN, md_operand and md_section_align. Correct
2976 description of md_create_short_jump usage. Document argument for
2977 md_undefined_symbol.
2978
2979 2000-02-27 Jakub Jelinek <jakub@redhat.com>
2980
2981 * config/tc-sparc.c (OPTION_UNDECLARED_REGS): New option.
2982 (md_parse_option): Handle it.
2983 (md_show_usage): Document it.
2984
2985 2000-02-27 Ian Lance Taylor <ian@zembu.com>
2986
2987 * config/tc-alpha.c (md_assemble): Accept `1' and `9' in an
2988 opcode, for the instruction `pal19'. From Andrea Arcangeli
2989 <andrea@suse.de>.
2990
2991 2000-02-26 Alan Modra <alan@spri.levels.unisa.edu.au>
2992
2993 * config/tc-i386.c (i386_immediate): Move constant operand sizing
2994 from here..
2995 (md_assemble): To here, before template operands are matched.
2996 Also ensure a constant immediate is sign extended when we know the
2997 size is at most 16 bits. This is to catch cases like "add
2998 $0xffc0,%ax" where we don't know the size, and thus that the
2999 immediate can be represented as Imm8S until after parsing the
3000 register operand.
3001 (i386_displacement): Similarly sign extend 16 bit constant
3002 displacements.
3003 (md_assemble): Relax 16-bit jump constant range check to suit sign
3004 extended displacements.
3005
3006 2000-02-26 Andreas Jaeger <aj@suse.de>
3007
3008 * doc/c-mips.texi (MIPS Opts): Fix typo in last patch.
3009
3010 2000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au>
3011
3012 * config/tc-i386.c (md_assemble): Don't swap intersegment jmp and
3013 call operands when intel_syntax.
3014 (intel_float_operand): Return 2 for "fi...".
3015 (i386_operand_modifier): Change "DWORD PTR" test to suit above.
3016 Return SHORT_MNEM_SUFFIX for "WORD PTR" when "fi...". Revert
3017 earlier "SHORT" change.
3018 (md_assemble): When determining suffix from Regs, exclude
3019 InOutPortReg.
3020
3021 2000-02-24 Nick Clifton <nickc@cygnus.com>
3022
3023 * configure: Add arm-wince, mips-pe and sh-pe targets.
3024 * configure: Regenerate.
3025
3026 * config/obj-coff.h (COFF_WITH_PE): Define for mips-pe and
3027 sh-pe targets.
3028 (TARGET_FORMAT): Set to "pe-shl" for the sh-pe target and to
3029 "pe-mips" for the mips-pe target.
3030
3031 * config/tc-arm.c (insns): Change displacement encoded in BL
3032 and B instructions if the target port is arm-wince.
3033 (do_ldst): Do not bias the relocation offset if the target
3034 port is arm-wince.
3035 (md_pcrel_from): Add in missing relocation offset bias if the
3036 target os arm-wince.
3037
3038 * config/tc-mips.c (mips_target_format): Support COFF flavour.
3039 (md_begin): Disable -G support for mips-pe target.
3040 (md_apply_fix): Treat BFD_RELOC_RVA reloc as BFD_RELOC_32.
3041 * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Add support for
3042 COFF flavour.
3043
3044 * config/tc-sh.c (md_begin): sh-pe target is little endian.
3045 * config/tc-sh.h (SUB_SEGMENT_ALIGN): If using a BFD
3046 assembler, just set the alignment to 4.
3047
3048 * config/te-wince-pe.h: New file for WinCE targets. Define
3049 TE_WINCE.
3050
3051 2000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au>
3052
3053 * config/tc-i386.c (md_assemble): Swap segments too for intel mode
3054 string instructions.
3055 (i386_operand_modifier): Set i.suffix = WORD_MNEM_SUFFIX for SHORT.
3056 (i386_intel_memory_operand): After finding a segment override,
3057 check again for no `[' before looking for a displacement. Bomb if
3058 more than one displacement rather than silently discarding the
3059 second and subsequent ones. Free strings malloc'd by
3060 build_displacement_string.
3061
3062 2000-02-24 Catherine Moore <clm@cygnus.com>
3063
3064 * config/obj-som.c (obj_pseudo_table): Add "weak".
3065 (obj_som_weak): New routine.
3066
3067 2000-02-24 Alan Modra <alan@spri.levels.unisa.edu.au>
3068
3069 * config/tc-i386.c (union i386_op): New.
3070 (struct _i386_insn): Delete disps[], imms[], regs[]. Add op[].
3071 Throughout file replace occurences of disps[n], imms[n], regs[n]
3072 with equivalent op[n].disps, op[n].imms, op[n].regs. Simplify
3073 intel mode operand swapping. Add assert in regKludge and
3074 fake_zero_displacement code. Test i.types[n] when outputting
3075 displacements and immediates. Combine output of Disp16 with
3076 Disp32.
3077 (md_assemble): Don't try to fix broken UNIXWARE_COMPAT opcodes
3078 when in intel mode by (not) reversing fsub and fdiv operands
3079 before the template search. This fails for single operand
3080 shorthand forms of the instruction, and if UNIXWARE_COMPAT is
3081 undefined. Instead fix the base_opcode after we've found the
3082 template. Move base_opcode xor with found_reverse_match from
3083 opcode output code to before this fix so we test for the correct
3084 opcodes.
3085 (md_assemble): Don't use strcmp when deciding to ignore the suffix
3086 check in intel mode. Instead compare opcodes.
3087
3088 * config/tc-i386.h (TC_RELOC): Delete.
3089 * config/tc-i386.c (TC_RELOC): Delete. Replace usage of TC_RELOC
3090 with equivalent call to reloc.
3091
3092 * as.h (flag_m68k_mri): Move declaration after target include, and
3093 only declare when TC_M68K defined. Define as zero otherwise.
3094 (LABELS_WITHOUT_COLONS, NO_PSEUDO_DOT): If undefined, define as 0.
3095 * app.c (scrub_m68k_mri): Declare only when TC_M68K defined.
3096 Define as zero otherwise.
3097 (do_scrub_begin): Use m68k_mri parameter only when TC_M68K defined.
3098 (struct app_save): Declare scrub_m68k_mri only when TC_M68K.
3099 (app_push, app_pop): Save scrub_m68k_mri only when TC_M68K.
3100 (do_scrub_chars): Use LABELS_WITHOUT_COLONS directly rather than
3101 testing whether defined.
3102 * cond.c (ignore_input): Use NO_PSEUDO_DOT directly.
3103 * expr.c (operand): #ifdef unused case labels when TC_M68K undefined.
3104 * read.c: Use LABELS_WITHOUT_COLONS and NO_PSEUDO_DOT directly
3105 rather than testing whether defined.
3106 (s_mri): Set flag_m68k_mri only when TC_M68K defined.
3107 (parse_mri_cons): Declare and use only when TC_M68K.
3108 * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define as 1.
3109 * config/tc-m68k.h (NO_PSEUDO_DOT): Define as 1.
3110 * config/tc-m88k.h (NO_PSEUDO_DOT): Define as 1.
3111
3112 * NEWS: Mention IBM 370 support.
3113
3114 2000-02-23 Richard Henderson <rth@cygnus.com>
3115
3116 * config/tc-i386.c (md_assemble): When swapping operands for
3117 intel_syntax, assume everything that's not Imm or Disp is a
3118 register.
3119
3120 2000-02-23 Linas Vepstas <linas@linas.org>
3121
3122 * config/tc-i370.c, config/tc-i370.h: New files.
3123 * Makefile.am: Add support for Linux/IBM 370.
3124 * configure.in: Likewise.
3125 * app.c (do_scrub_begin): Don't lex single quote when TC_I370.
3126 * config/obj-elf.c: Include elf/i370.h
3127 (obj_elf_section): Don't do anything special for flag_mri if TC_I370.
3128
3129 * Makefile.in: Regenerate.
3130 * configure: Regenerate.
3131
3132 * doc/c-i370.texi: New file.
3133 * doc/all.texi: Include it.
3134 * doc/as.texinfo: And here.
3135 * doc/Makefile.am(CPU_DOCS): Add c-i370.texi.
3136 * doc/Makefile.in: Regenerate.
3137
3138 2000-02-19 Michael Meissner <meissner@redhat.com>
3139
3140 * config/tc-d30v.c (parallel_ok): Use FLAG_NOT_WITH_ADDSUBppp to
3141 determine if an instruction can be used in parallel with an ADDppp
3142 or SUBppp instruction.
3143
3144 2000-02-22 Andrew Haley <aph@cygnus.com>
3145
3146 * doc/c-mips.texi (MIPS Opts): Document -mgp32 and -mgp64.
3147
3148 1999-12-30 Andrew Haley <aph@cygnus.com>
3149
3150 * config/tc-mips.c (mips_gp32): New variable.
3151 (macro_build) Use mips_gp32.
3152 (mips_ip): Ditto.
3153 (md_longopts): Add "-mgp32" and "-mgp64".
3154 (md_parse_option): Add OPTION_GP32 and OPTION_GP64.
3155
3156 (OPTION_M7900): Change offset
3157 (OPTION_NO_M7900): Ditto.
3158
3159 2000-02-22 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3160
3161 * config/obj-coff.c (add_lineno): Accept non-positive lineno with
3162 warning, and bump it to 1.
3163
3164 2000-02-22 Ian Lance Taylor <ian@zembu.com>
3165
3166 From Brad Lucier <lucier@math.purdue.edu>:
3167 * dwarf2dbg.c (print_stats): Add cast to force printf argument to
3168 match format.
3169
3170 2000-02-21 Catherine Moore <clm@cygnus.com>
3171
3172 * config/tc-mips.c (MF_HILO_INSN): Define.
3173 (mips_7000_hilo_fix): Declare.
3174 (append_insn): Conditionally insert nops after an mfhi/mflo insn.
3175 (md_parse_option): Check for 7000_HILO_FIX options.
3176 (OPTION_M7000_HILO_FIX): Define.
3177 (OPTION_NO_M7000_HILO_FIX): Define.
3178 * doc/c-mips.texi (-mfix7000): Describe.
3179
3180 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
3181
3182 * listing.c (print_lines): Remove unused variable `end'.
3183
3184 * config/tc-i386.c (md_assemble): Use `reloc()' to select reloc
3185 type for JumpInterSegment output. Use enum bfd_reloc_code_real for
3186 reloc_type when BFD_ASSEMBLER.
3187 (md_estimate_size_before_relax): Use enum bfd_reloc_code_real for
3188 reloc_type when BFD_ASSEMBLER. Move common code out of switch
3189 statement and quell signed vs. unsigned comparison warning.
3190
3191 2000-02-18 Nick Clifton <nickc@cygnus.com>
3192
3193 * config/tc-d10v.c (find_opcode): Add a symbol's value to
3194 the computed frag offset, rather than overwriting it.
3195
3196 Thu Feb 17 00:11:08 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3197
3198 * config/tc-sh.c ("elf/sh.h"): Include.
3199 (sh_dsp, valid_arch, reg_x, reg_y, reg_efg): New static variables.
3200 (md.begin): Initialize target_arch.
3201 Only include opcodes in has table that match selected architecture.
3202 (parse_reg): Recognize register names for sh-dsp.
3203 (parse_at): Recognize post-modify addressing.
3204 (get_operands): The leading space is now optional.
3205 (get_specific): Remove FDREG_N support. Add support for sh-dsp
3206 arguments. Update valid_arch.
3207 (build_Mytes): Add support for SDT_REG_N.
3208 (find_cooked_opcode): New function, broken out of md_assemble.
3209 (assemble_ppi, sh_elf_final_processing): New functions.
3210 (md_assemble): Use find_cooked_opcode and assemble_ppi.
3211 (md_longopts, md_parse_option): New option: -dsp.
3212 * config/tc-sh.h (elf_tc_final_processing): Define.
3213 (sh_elf_final_processing): Declare.
3214
3215 Fri Feb 11 14:21:51 2000 Jeffrey A Law (law@cygnus.com)
3216
3217 * config/tc-hppa.c (pa_build_unwind_subspace): Use subseg_new to create
3218 the unwinder subspace. Save the current seg/subseg before creating
3219 the new seg/subseg.
3220
3221 2000-02-10 Nick Clifton <nickc@cygnus.com>
3222
3223 * config/tc-mcore.c (INST_BYTE0): Redefine to handle big and
3224 little endian targets.
3225 (INST_BYTE1): Redefine to handle big and little endian
3226 targets.
3227 (cpu_type): New type: Select between M340 and M210.
3228 (parse_psrmod): New function: Parse the PSRCLR and PSRSET
3229 instructions of the M340.
3230 (md_assemble): Add support for the MULSH and OPSR classes of
3231 instructions.
3232 (md_atof): Add support for little endian targets.
3233 (md_parse_option): Add support for -EL, -EB and -mcpu command
3234 line switches.
3235 (md_convert_frag): Add support for little endian targets.
3236 (md_apply_fix3): Add support for little endian targets.
3237 (md_number_to_chars): Add support for little endian targets.
3238
3239 2000-02-10 Timothy Wall <twall@redhat.com>
3240
3241 * read.c (read_a_source_file): If TC_START_LABEL_WITHOUT_COLON is
3242 defined, use it to verify the symbol just read should be a label.
3243
3244 2000-02-10 Timothy Wall <twall@redhat.com>
3245
3246 * app.c (do_scrub_chars): Handle "||" for parallel instructions
3247 when DOUBLEBAR_PARALLEL is defined. Avoid stripping whitespace
3248 around colons when KEEP_WHITE_AROUND_COLON is defined.
3249 * doc/internals.texi (CPU backend): Document DOUBLEBAR_PARALLEL
3250 and KEEP_WHITE_AROUND_COLON.
3251
3252 2000-02-08 Timothy Wall <twall@redhat.com>
3253
3254 * read.c (s_rept): Call do_repeat, which abstracts the repeat
3255 logic.
3256 (do_repeat): New. Abstract repeat logic so that a "break" can be
3257 implemented.
3258 (end_repeat): New. Provide support for a "break" out of the
3259 repeat loop.
3260 * read.h: Add prototypes for new functions.
3261
3262 2000-02-08 Timothy Wall <twall@redhat.com>
3263
3264 * doc/internals.texi: Document NUMBERS_WITH_SUFFIX macro.
3265 * as.h: Provide a default NUMBERS_WITH_SUFFIX definition (zero).
3266 * expr.c: Handle numbers with suffixes if NUMBERS_WITH_SUFFIX is
3267 non-zero.
3268
3269 2000-02-08 Timothy Wall <twall@redhat.com>
3270
3271 * read.c: Added elseif to directives table.
3272 * read.h: Added prototype for s_elseif.
3273 * doc/as.texinfo: Added description for elseif.
3274 * cond.c (s_elseif): New function
3275
3276 2000-02-04 Timothy Wall <twall@redhat.com>
3277
3278 * listing.c (print_lines): Remove conditionals causing bug in
3279 listings.
3280
3281 2000-02-03 Timothy Wall <twall@cygnus.com>
3282
3283 * as.h: Define OCTETS_PER_BYTE and OCTETS_PER_BYTE_POWER
3284 default values.
3285 * frags.c (frag_new): Calculate fr_fix in octets
3286 (frag_now_fix) Return offset as target address offset (bytes).
3287 (frag_now_fix_octets) New - Return offset in octets (8-bit
3288 quantities).
3289 * frags.h: Added prototype for frag_now_fix_octets().
3290 Distinguish between octets and bytes in field descriptions.
3291 * listing.c (calc_hex): Account for octets vs bytes when
3292 printing addresses/offsets.
3293 (print_lines) Ditto. Also, if LISTING_WORD_SIZE is not 1, and
3294 target is little-endian, print the octets in a word in big-endian
3295 order so that the display looks like a proper hexadecimal number,
3296 instead of having the octets reversed.
3297 * read.c (do_align): When recording alignment, alignment power
3298 should be in terms of target bytes (minimum addressible unit)
3299 instead of octets.
3300 (do_org) Convert ORG target address (byte) argument into an
3301 octet offset when generating a variable fragment.
3302 * symbols.c (resolve_symbol_value): Symbol final value
3303 converted to a target address offset (bytes) from its octet offset.
3304 * config/obj-coff.c (coff_frob_symbol): Symbol target address
3305 offset (bytes) is adjusted by the frag offset (octets) converted
3306 to bytes.
3307 (coff_frob_section) Section alignment power is in terms of bytes;
3308 convert it to an octet alignment power when calculating size (and
3309 size mask) in octets. Don't modify the section size in order to
3310 "align" it for TI COFF, since that format has a different method
3311 for storing alignment information.
3312
3313 2000-02-01 Timothy Wall <twall@cygnus.com>
3314
3315 * stabs.c (generate_asm_file): Escape backslashes in stabs file
3316 entries, matching the way GCC generates them. If not escaped, the
3317 filename is encoded incorrectly.
3318
3319 2000-01-31 Nick Clifton <nickc@cygnus.com>
3320
3321 * config/tc-arm.c (reg_table): Add support for ATPCS register
3322 naming conventions.
3323
3324 2000-01-31 Geoff Keating <geoffk@cygnus.com>
3325
3326 * config/obj-coff.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Don't define if
3327 already defined.
3328 * config/tc-ppc.h [OBJ_XCOFF] (OBJ_COPY_SYMBOL_ATTRIBUTES):
3329 New macro.
3330 * config/tc-ppc.c (ppc_fix_adjustable): Don't look at the frag
3331 of a symbol when we really care about its value.
3332
3333 2000-01-19 Chandra Chavva <cchavva@cygnus.com>
3334
3335 * config/tc-mcore.c (md_assemble): Give warning message if
3336 operands passes to instruction are more than the spec.
3337
3338 2000-01-27 Thomas de Lellis <tdel@windriver.com>
3339
3340 * config/tc-arm.c (armadjust_symtab): If the assembler is in
3341 Thumb mode but the label seen was not declared as '.thumb_func'
3342 then set the ST_INFO type to STT_ARM_16BIT mode. This allows
3343 correct disassembly of Thumb code bounded by non function labels.
3344
3345 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
3346
3347 * Makefile.am (MULTI_CFILES): Add config/e-i386aout.c
3348 Add dependencies for e-i386aout.o. Fix 2 comment lines.
3349
3350 * Makefile.in: Same here.
3351 Update copyright.
3352
3353 * configure.in: Set bfd_gas for i386-aout when primary target
3354 is bfd. Handle i386aout emulation. Don't use te_file=multi, as
3355 we may need the primary te_file. Remove incorrect comment.
3356
3357 * configure: Regenerate.
3358
3359 * config/e-i386aout.c: New file.
3360
3361 * as.c (USE_EMULATIONS): Move to before print_version_id.
3362 (struct emulation): Add i386aout.
3363 (show_usage): Split text strings. Reformat -a text. Add --em
3364 help.
3365 Update copyright.
3366
3367 * obj.h (struct format_ops): Add s_get_other and s_get_desc.
3368 (aout_format_ops): New.
3369 Update copyright.
3370
3371 * read.c (s_lcomm_internal): Rewrite OBJ_AOUT,OBJ_BOUT
3372 preprocessor conditional and add aout USE_EMULATIONS tests.
3373 (read_a_source_file): Don't pass error strings to printf as
3374 format arg.
3375 Update copyright.
3376
3377 * gasp.c (exp_get_abs): Don't pass error strings to printf as
3378 format arg.
3379 (do_data): Same here.
3380 (process_file): And here.
3381 Update copyright.
3382
3383 * symbols.c (colon): Rewrite "already defined" fatal message
3384 code for aout with USE_EMULATIONS.
3385 Update copyright.
3386
3387 * config/obj-aout.c (OBJ_HEADER): Define.
3388 (obj_pseudo_table): Rename to aout_pseudo_table. Init all
3389 fields of sentinel.
3390 (obj_aout_frob_symbol): Expand S_GET_DESC, S_GET_TYPE,
3391 S_GET_OTHER, S_SET_TYPE macros since we don't need obj-multi
3392 forms here.
3393 (obj_aout_type): Expand S_SET_OTHER here too.
3394 (obj_read_begin_hook): Remove.
3395 (aout_pop_insert): New.
3396 (obj_aout_s_get_other): New.
3397 (obj_aout_s_get_desc): New.
3398 (aout_format_ops): New.
3399 Update copyright.
3400
3401 * config/obj-aout.h (obj_pop_insert): Define so non-multi usage
3402 gets aout_pseudo_table.
3403 (aout_pseudo_table): Declare.
3404 (obj_read_begin_hook): Define.
3405 Update copyright.
3406
3407 * config/obj-coff.c (obj_pseudo_table): Rename to
3408 coff_pseudo_table.
3409 (coff_pop_insert): Use coff_pseudo_table.
3410 (coff_sec_sym_ok_for_reloc): Remove.
3411 (coff_format_ops): Add 0 entries for s_get_size, s_set_size,
3412 and comment all zero entries and remove #if 0 code.
3413 Update copyright.
3414
3415 * config/obj-coff.h (obj_pop_insert): Define.
3416 (coff_pseudo_table): Declare.
3417 Update copyright.
3418
3419 * config/obj-ecoff.c (ecoff_format_ops): Add 0 entries for
3420 s_get_size, s_set_size. Comment all zero entries.
3421 Update copyright.
3422
3423 * config/obj-elf.c (elf_s_get_other): New function.
3424 (obj_read_begin_hook): Rename to elf_obj_read_begin_hook.
3425 (obj_symbol_new_hook): Rename to elf_obj_symbol_new_hook.
3426 (elf_format_ops): Add elf_s_get_other, 0 s_get_size entry, and
3427 comment.
3428 (obj_elf_parse_section_letters): Don't pass error strings to
3429 printf as format arg.
3430 Update copyright.
3431
3432 * config/obj-elf.h (ECOFF_DEBUGGING): Define when
3433 OBJ_MAYBE_ECOFF.
3434 (elf_s_get_other): Declare.
3435 (S_GET_OTHER) Define as elf_s_get_other if not already
3436 defined.
3437 (S_SET_OTHER): Only define when not already defined.
3438 (elf_obj_read_begin_hook): Declare.
3439 (obj_read_begin_hook): Define.
3440 (elf_obj_symbol_new_hook): Declare.
3441 (obj_symbol_new_hook): Define.
3442 Update copyright.
3443
3444 * config/obj-multi.h: Add copyright header and protect against
3445 multiple inclusion. Add * to all function pointers.
3446 (OBJ_HEADER): If defined, include it rather than other defines
3447 in this file.
3448 (obj_frob_file_after_relocs): Test for NULL.
3449 (obj_symbol_new_hook): Here too.
3450 (obj_sec_sym_ok_for_reloc): And here.
3451 (S_GET_OTHER): Define.
3452 (S_GET_DESC): Define.
3453 (ECOFF_DEBUGGING): Remove as it's done in obj-elf.h
3454 (OBJ_MAYBE_ELF): Update comment.
3455
3456 * config/tc-i386.c (i386_immediate): Add OBJ_MAYBE_AOUT to
3457 OBJ_AOUT preprocessor conditional and handle emulation by
3458 testing OUTPUT_FLAVOR.
3459 (i386_displacement): Here too.
3460 (md_section_align): Similarly here.
3461 (i386_target_format): Conditionally compile when more than one
3462 of OBJ_MAYBE_{ELF,COFF,AOUT} defined. Add aout case.
3463 (i386_immediate): Fix error message for aout BFD_ASSMBLER.
3464 (i386_displacement): Here too.
3465 Update copyright.
3466
3467 * config/tc-i386.h (AOUT_TARGET_FORMAT): Define for each TE_*.
3468 Define TARGET_FORMAT for aout only when not multi.
3469 Update copyright.
3470
3471 * config/te-multi.h: Delete file as it's identical to te-generic.h
3472
3473 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
3474
3475 * config/tc-i386.h (DWORD_MNEM_SUFFIX): Delete.
3476 * config/tc-i386.c (DWORD_MNEM_SUFFIX): Rename all occurrences to
3477 LONG_MNEM_SUFFIX.
3478
3479 * config/tc-i386.h (INTEL_DWORD_MNEM_SUFFIX): Rename to
3480 DWORD_MNEM_SUFFIX.
3481 * config/tc-i386.c (INTEL_DWORD_MNEM_SUFFIX): Here too. Fix some
3482 comments.
3483
3484 2000-01-13 Clinton Popetz <cpopetz@cygnus.com>
3485
3486 * config/tc-mips.c (mips_do_align): New function.
3487 * config/tc-mips.h (md_do_align): Define.
3488
3489 2000-01-10 Philip Blundell <philb@gnu.org>
3490
3491 * doc/c-arm.texi (ARM Options): Fix typo.
3492 (ARM-Chars): Correct description of `#'. Mention that `;' is a
3493 line separator for Linux.
3494 * doc/as.texinfo (Comments): Mention the ARM.
3495
3496 2000-01-10 Philip Blundell <pb@futuretv.com>
3497
3498 * configure.in (arm*-*-conix*): New target.
3499 (arm*-*-linux-gnu*): Match instead of arm-*-linux* and
3500 armv*-*-linux-gnu.
3501 * configure: Regenerate.
3502
3503 2000-01-03 Martin v. Loewis <loewis@informatik.hu-berlin.de>
3504
3505 * config/obj-elf.c (elf_pseudo_table): Define visibility pseudos.
3506 (obj_elf_visibility): New function.
3507
3508 * doc/as.texinfo (Visibility): New node: document visibility
3509 pseudo ops.
3510
3511 1999-12-27 Alan Modra <alan@spri.levels.unisa.edu.au>
3512
3513 * config/tc-i386.c (MATCH): Relax JumpAbsolute check. Emit a
3514 warning for absolute jump/call without `*' in non-intel mode. No
3515 need to set i.types[0] JumpAbsolute in intel mode.
3516
3517 1999-12-22 Philip Blundell <pb@futuretv.com>
3518
3519 * config/tc-arm.c (arm_s_text): If OBJ_ELF, call the appropriate
3520 hook function when changing sections.
3521 (arm_s_data): Likewise.
3522
3523 1999-12-14 Nick Clifton <nickc@cygnus.com>
3524
3525 * config/tc-arm.c (md_parse_option): Add support for -marm720
3526 command line switch.
3527
3528 Tue Nov 30 22:59:00 1999 Jeffrey A Law (law@cygnus.com)
3529
3530 * config/tc-mn10300.c (md_pseudo_table): Add ".am33" pseudo-op.
3531 (r_registers, xr_registers): Define.
3532 (r_register_name, xr_register_name): New functions.
3533 (md_assemble): Handle new am33 operand types and instruction
3534 formats.
3535 (mn10300_insert_operand, check_operand): Likewise.
3536
3537 1999-11-29 Nick Clifton <nickc@cygnus.com>
3538
3539 * config/tc-arm.c (thumb_mode): Turn into a tristate variable.
3540 (s_force_thumb): Set thumb_mode to 2.
3541 (md_assemble): Do not complain about thumb instructions on a
3542 non-thumb target if thumb_mode is set to 2.
3543
3544 1999-11-28 Michael Meissner <meissner@cygnus.com>
3545
3546 * config/tc-alpha.c (toplevel): Include struc-symbol.h.
3547 (alpha_macro_arg): Add MACRO_{LITERAL,BASE,BYTOFF,JSR} cases.
3548 (O_...): Add new machine dependent expressions if we are handling
3549 explicit relocations.
3550 (alpha_reloc_op): New static table holding the explicit relocation
3551 information.
3552 (alpha_literal_hash): New static to hold the hash table for
3553 explicit relocations.
3554 (alpha_macros): Add support for explicit relocations.
3555 (md_begin): If explicit relocations, initialize hash table.
3556 (md_assemble): Don't print a second error if tokenize_arguments
3557 already printed an error message.
3558 (md_apply_fix): Add support for explicit relocations.
3559 (alpha_force_relocation): Ditto.
3560 (alpha_fix_adjustable): Ditto.
3561 (alpha_adjust_symtab): New function to support explicit
3562 relocations.
3563 (alpha_adjust_symtab_relocs): Ditto.
3564 (debug_exp): Debug stub compiled if DEBUG_ALPHA is defined.
3565 (tokenize_arguments): Add debug code if DEBUG_ALPHA is defined.
3566 Add support for explicit relocations. Return -2 if an error
3567 message was already printed.
3568 (find_macro_match): Add support for explicit relocations. Comment
3569 each of the cases.
3570 (emit_insn): Add support for explicit relocations.
3571 (assemble_tokens): Ditto.
3572 (emit_ldgp): Ditto.
3573 (load_expression): Ditto.
3574 (emit_lda): Ditto.
3575 (emit_ldah): Ditto.
3576 (emit_ir_load): Ditto.
3577 (emit_loadstore): Ditto.
3578 (emit_ldXu): Ditto.
3579 (emit_ldil): Ditto.
3580 (emit_sextX): Ditto.
3581 (emit_division): Ditto.
3582 (emit_jsrjmp): Ditto.
3583 (emit_retjcr): Ditto.
3584
3585 * config/tc-alpha.h (RELOC_OP_P): Enable explicit relocations if
3586 ELF object format.
3587 (tc_adjust_symtab): If explicit relocations, call the function
3588 alpha_adjust_symtab.
3589 (TC_FIX_TYPE): Add fields to be able to move explicit lituse
3590 relocations next to the literal relocation they reference.
3591 (TC_INIT_FIX_DATA): Initialize the new fields.
3592 (TC_FIX_DATA_PRINT): Print the new fields if DEBUG5 is defined.
3593
3594 Wed Nov 24 20:27:58 1999 Jeffrey A Law (law@cygnus.com)
3595
3596 * config/tc-hppa.c (pa_ip): Handle PA2.0 unit completers. Handle
3597 'B' operand for PA2.0 bb instruction.
3598
3599 1999-11-18 Nick Clifton <nickc@cygnus.com>
3600
3601 * config/tc-mcore.h (TC_FORCE_RELOCATION): Define for Mcore-pe
3602 target.
3603
3604 * config/tc-mcore.c (tc_gen_reloc): Support generation of RVA
3605 relocs.
3606 (mcore_force_relocation): Force relocations to be generated for
3607 RVA relocs.
3608
3609 1999-11-16 Alan Modra <alan@spri.levels.unisa.edu.au>
3610
3611 * config/tc-i386.c (i386_immediate): Disallow O_big immediates.
3612 (i386_displacement): Disallow O_big displacements.
3613
3614 Mon Nov 15 20:12:43 1999 Donald Lindsay <dlindsay@cygnus.com>
3615
3616 * config/tc-arm.c (do_mia,do_mar,do_mra,do_pld,do_ldrl,do_co_reg):
3617 Small improvements in error checking.
3618 (md_assemble): Support for unconditional ARM instructions.
3619 (md_parse_option): Support for -m[arm]v5e flag.
3620
3621 1999-11-12 Nick Clifton <nickc@cygnus.com>
3622
3623 * macro.c (buffer_and_nest): Do not check beyond the end of the
3624 buffer.
3625
3626 1999-11-11 Nick Clifton <nickc@cygnus.com>
3627
3628 * macro.c (buffer_and_nest): Look for seperator after TO and
3629 FROM tokens.
3630
3631 1999-11-08 Andrew Haley <aph@cygnus.com>
3632
3633 * app.c (do_scrub_chars): When in State 10, treat backslash
3634 characters in the same way as as symbol characters.
3635
3636 1999-11-07 Richard Henderson <rth@cygnus.com>
3637
3638 * config/tc-alpha.c (alpha_align): Check, don't assert, that
3639 the previous label was in the current section before playing
3640 with auto-alignment.
3641
3642 1999-11-06 Nick Clifton <nickc@cygnus.com>
3643
3644 * config/tc-v850.c (v850_force_relocation): Force relocation
3645 for weak symbols.
3646 (v850_pcrel_from_selection): Do not compute a pcrel offset if
3647 the symbol is weak.
3648
3649 1999-11-05 Michael Meissner <meissner@cygnus.com>
3650
3651 * expr.h (operatorT): Increase machine dependent operators to 16.
3652 * expr.c (op_rank): Ditto.
3653
3654 1999-11-03 Ian Lance Taylor <ian@zembu.com>
3655
3656 * read.c (pseudo_set): Reject attempts to set the value of a
3657 section symbol.
3658
3659 * config/obj-elf.c (obj_elf_ident): Call md_flush_pending_output
3660 if it is defined.
3661
3662 * config/obj-elf.c (elf_set_index): Add ATTRIBUTE_UNUSED.
3663
3664 * config/obj-elf.c (elf_frob_file_after_relocs): Don't pass NULL
3665 to bfd_set_section_contents.
3666
3667 1999-11-03 Nick Clifton <nickc@cygnus.com>
3668
3669 * config/tc-mcore.h (TARGET_BYTES_BIG_ENDIAN): Change to false.
3670
3671 1999-11-01 Gavin Romig-Koch <gavin@cygnus.com>
3672
3673 * config/tc-mips.c (macro_build): Use OPCODE_IS_MEMBER.
3674 (mips_ip): Use OPCODE_IS_MEMBER.
3675
3676 Wed Oct 27 16:50:44 1999 Don Lindsay <dlindsay@cygnus.com>
3677
3678 * config/tc-arm.c (reg_required_here): Improve comments.
3679
3680 * config/tc-arm.c (thumb_opcode): Add "variants" field.
3681 (tinsns): Initialize variants field.
3682
3683 * config/tc-arm.c (bad_args, bad_pc): Renamed to BAD_ARGS and
3684 BAD_PC respectively.
3685
3686 1999-10-27 Scott Bambrough <scottb@netwinder.org>
3687
3688 * config/tc-arm.c (reloc_map[]): Fix compiler warning.
3689 * config/tc-arm.h: Fix compile time warnings.
3690
3691 Mon Oct 18 18:11:10 MDT 1999 Diego Novillo <dnovillo@cygnus.com>
3692
3693 * tc_d10v.c (find_opcode): Allow ATSIGN to match expressions of the
3694 form @abs16, @(abs16) and @(abs16 + imm).
3695
3696 1999-10-21 Gavin Romig-Koch <gavin@cygnus.com>
3697
3698 * config/tc-mips.c (ISA_HAS_COPROC_DELAYS) : New.
3699 (ISA_HAS_64_BIT_REGS) New.
3700 (gpr_interlocks,md_begin,reg_needs_delay,append_insn,
3701 mips_emit_delays,macro_build,load_register,load_addresss,
3702 macro,macro2,mips_ip,s_cprestore,s_cpadd): Simplify
3703 and/or use new ISA_xxx macros in expressions involving
3704 ISA, particularly mips_opts.isa.
3705
3706 1999-10-18 Michael Meissner <meissner@cygnus.com>
3707
3708 * expr.h (operatorT): Add machine dependent operators md1..md8.
3709 (expressionS): Make X_op 8 bits instead of 7. Add a X_md field
3710 for the machine dependent operators to use.
3711
3712 * expr.c (op_rank): Add machine dependent operators.
3713
3714 * config/tc-alpha.c (O_pregister): Define as a machine dependent
3715 operator.
3716 (O_cpregister): Ditto.
3717 (md_begin): Change X_op test that field is wide enough to use
3718 O_max instead of O_alpha_max.
3719 (cpu_types): Fill in missing initializer.
3720 (alpha_num_macros): Make unsigned.
3721 (md_assemble): Make opnamelen be size_t.
3722 (md_apply_fix): Cast alpha_num_operands to int before testing.
3723 (alpha_force_relocation): Ditto.
3724 (alpha_fix_adjustable): Ditto.
3725 (alpha_fix_adjustable): Mark unused arguments ATTRIBUTE_UNUSED.
3726 (tc_gen_reloc): Ditto.
3727 (tc_get_register): Ditto.
3728 (emit_ldgp): Ditto.
3729 (emit_lda): Ditto.
3730 (emit_ldah): Ditto.
3731 (emit_ldil): Ditto.
3732 (s_alpha_ent): Ditto.
3733 (s_alpha_end): Ditto.
3734 (s_alpha_frame): Ditto.
3735 (s_alpha_prologue): Ditto.
3736 (s_alpha_file): Ditto.
3737 (s_alpha_gprel32): Ditto.
3738 (s_alpha_proc): Ditto.
3739 (s_alpha_set): Ditto.
3740 (s_alpha_base): Ditto.
3741 (s_alpha_align): Ditto.
3742 (s_alpha_arch): Ditto.
3743 (alpha_align): Ditto.
3744 (assemble_insn): Suppress unused variable warning.
3745 (emit_insn): Ditto.
3746 (assemble_insn): Don't assume X_op and X_unsigned are in a given
3747 order in the structure.
3748 (s_alpha_coff_wrapper): Avoid int/unsigned comparison.
3749
3750 Sun Oct 17 17:15:58 1999 Jeffrey A Law (law@cygnus.com)
3751
3752 * config/tc-hppa.c (md_apply_fix): Make "fmt" an int.
3753
3754 1999-10-12 Alan Modra <alan@spri.levels.unisa.edu.au>
3755
3756 * config/tc-i386.c (i386_index_check): Correct #endif location.
3757
3758 Mon Oct 11 14:02:40 1999 Geoffrey Keating <geoffk@cygnus.com>
3759
3760 * as.c (show_usage): Document new options.
3761 (parse_args): Add --no-warn, --warn, --fatal-warnings,
3762 which become 'W', OPTION_WARN, and OPTION_WARN_FATAL.
3763 (parse_args): Parse the new options.
3764 (main): If there were warnings, and --fatal-warnings
3765 was specified, print an error.
3766 * as.h: New variable, flag_fatal_warnings, for new option.
3767
3768 Sun Oct 10 01:47:23 1999 Jerry Quinn <jerry.quinn.adv91@alum.dartmouth.org>
3769
3770 * config/tc-hppa.c (pa_ip): Add new codes 'cc', 'cd', 'cC', 'co',
3771 '@'. Change autoincrement completers to fall through to cache control
3772 completers.
3773
3774 * config/tc-hppa.c (pa_ip): Remove unused args. Add code to '?W'
3775 arg.
3776 (pa_parse_addb_64_cmpltr): New function.
3777
3778 * config/tc-hppa.c (pa_ip): Change error message.
3779 (pa_ip,pa_parse_cmpb_64_cmpltr,pa_parse_cmpib_64_cmpltr) Fix '?N' and
3780 '?Q' args to allow falling through.
3781
3782 * config/tc-hppa.c (pa_ip): Implement conditional codes "?N", "?Q".
3783 Remove unused conditional codes.
3784 (pa_parse_cmpb_64_cmpltr,pa_parse_cmpib_64_cmpltr): New.
3785
3786 Thu Oct 7 00:23:53 MDT 1999 Diego Novillo <dnovillo@cygnus.com>
3787
3788 * config/tc-d30v.c (CHAR_BIT): Define.
3789 (check_range): Fix bit operations to support integers bigger than
3790 32 bits.
3791
3792 Thu Oct 7 00:11:50 MDT 1999 Diego Novillo <dnovillo@cygnus.com>
3793
3794 * config/tc-d10v.c (check_range): Check range for RESTRICTED_NUM3
3795 operands.
3796
3797 Mon Oct 4 17:24:23 1999 Nick Clifton <nickc@cygnus.com>
3798 Doug Evans <devans@cygnus.com>
3799
3800 Add support for m32rx.
3801 * config/tc-m32r.c (enable_m32rx): New static global.
3802 (enable_special,warn_explicit_parallel_conflicts,optimize): Ditto.
3803 (allow_m32rx): New function.
3804 (M32R_SHORTOPTS): Add `O'.
3805 (md_longopts): Add --m32rx plus several warning options.
3806 (md_parse_option): Handle new options.
3807 (md_show_usage): Print them.
3808 (md_begin): Enable m32rx.
3809 (OPERAND_IS_COND_BIT): New macro.
3810 (first_writes_to_seconds_operands): New function.
3811 (writes_to_pc,can_make_parallel,make_parallel): New functions.
3812 (target_make_parallel,assemble_two_insns): New functions.
3813 (md_assemble): Recognize "insn1 -> insn2" and "insn1 || insn2".
3814 If optimizing and m32rx, try to make consecutive insns parallel.
3815
3816 Tue Sep 28 14:06:44 1999 Geoffrey Keating <geoffk@cygnus.com>
3817
3818 * config/tc-mips.c (nopic_need_relax): Allow for the
3819 .sdata.foo sections generated by -fdata-sections,
3820 and for the .gnu.linkonce.s sections generated by C++.
3821
3822 Thu Sep 23 07:13:45 1999 Jerry Quinn <jquinn@nortelnetworks.com>
3823
3824 * config/tc-hppa.c (pa_ip): Replace 'B', 'M', 'l' and 'g' handling
3825 with cleaner code using completer prefixes. Add 'Y'.
3826
3827 * config/tc-hppa.c (pa_ip): Add parens to silence compiler.
3828
3829 Wed Sep 22 09:37:19 1999 Jeffrey A Law (law@cygnus.com)
3830
3831 * config/tc-hppa.c (pa_ip): Avoid ANSI specific initialization.
3832 (pa_ip, case 'm'): Failure to get a CBIT specifier just means the
3833 insn does not match and we should try the next insn in the table.
3834
3835 1999-09-22 Nick Clifton <nickc@cygnus.com>
3836
3837 * config/tc-arm.c (MULTI_SET_PSR): Rename to LDM_TYPE_2_OR_3.
3838
3839 Mon Sep 20 04:01:41 1999 Jeffrey A Law (law@cygnus.com)
3840
3841 * config/tc-hppa.c (pa_ip): Fix thinkos in recent cleanup
3842 of PA2.0 support.
3843
3844 1999-09-19 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3845
3846 * config/tc-i386.c (md_shortopts): Check OBJ_MAYBE_ELF as well as
3847 OBJ_ELF. If ELF, add "sq".
3848 (md_parse_option): If ELF, ignore -s and -q.
3849 (md_show_usage): Mention ELF options.
3850
3851 Sun Sep 19 10:43:31 1999 Jeffrey A Law (law@cygnus.com)
3852
3853 * config/tc-hppa.c (pa_ip): Handle 'J', 'K' and 'cc'
3854 operands.
3855
3856 * config/tc-hppa.c (pa_ip); Handle "fe", and 'cJ'.
3857
3858 * config/tc-hppa.c (pa_ip): Handle 'd', '#' and 'cq'.
3859
3860 * config/tc-hppa.c (struct pa_it): New field "trunc".
3861 (pa_ip): Hadnle 'h', 'm', '=', '{', and '_' operands.
3862 (pa_parse_ftest_gfx_completer): New function
3863 (pa_parse_fp_cnv_format): New function.
3864
3865 * config/tc-hppa.c (pa_ip): Handle 'X' operand.
3866 (md_apply_fix): Handle 22bit pc-rel branches.
3867
3868 * config/tc-hppa.c (pa_ip): Handle 'B' operand.
3869
3870 * config/tc-hppa.c (pa_ip): Handle 'L' and 'M' operands.
3871
3872 * config/tc-hppa.c (pa_ip): Handle 'l' operand.
3873
3874 * config/tc-hppa.c (pa_ip): Handle 'g' operand.
3875
3876 Sat Sep 18 12:13:28 1999 Jeffrey A Law (law@cygnus.com)
3877
3878 * config/tc-hppa.c (md_assemble): Fix dwarf2 line handling.
3879 (pa_ip): Handle 'fX'.
3880
3881 Fri Sep 17 11:57:34 1999 Jeffrey A Law (law@cygnus.com)
3882
3883 * config/tc-hppa.c (pa_build_unwind_subspace): Do not build
3884 unwinds unless the function is in the text space.
3885 (pa_type_args): Set BSF_FUNCTION for an exproted data symbol.
3886
3887 Wed Sep 15 05:14:32 1999 Jeffrey A Law (law@cygnus.com)
3888
3889 * config/tc-hppa.c (pa_ip): Move dwarf2 stuff from here.
3890 (md_assemble): To here. Tweak address generation.
3891
3892 * config/tc-hppa.c: Include dwarf2dbg.h if OBJ_ELF. Declare
3893 debug_line.
3894 (md_pseudo_table): Add .file and .line pseudo-ops for OBJ_ELF.
3895 (md_assemble): Call dwarf2_where for OBJ_ELF.
3896 (pa_ip): Call dwarf2_gen_line_info for OBJ_ELF.
3897 (pa_end_of_source): New function.
3898 * tc-hppa.h (md_end): Define for OBJ_ELF.
3899
3900 1999-09-14 Michael Meissner <meissner@cygnus.com>
3901
3902 * configure.in (Canonicalization of target names): Remove adding
3903 ${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14
3904 generates $ac_config_sub with a ${CONFIG_SHELL} already.
3905 * configure: Regenerate.
3906
3907 1999-09-14 Donn Terry <donn@interix.com>
3908
3909 * config/te-interix.h (GLOBAL_OFFSET_TABLE_NAME): Define.
3910
3911 1999-09-13 Alan Modra <alan@spri.levels.unisa.edu.au>
3912
3913 * config/tc-i386.c (md_assemble): Handle "jmp/call constant" as a
3914 pc-relative jmp/call to an absolute symbol.
3915 (md_apply_fix3): When OBJ_ELF, don't add the values in twice for
3916 absolute section symbols.
3917
3918 * config/tc-i386.c (md_assemble): Correct frag_var size. Tidy
3919 jump handling code and comments.
3920
3921 1999-09-12 Ian Lance Taylor <ian@zembu.com>
3922
3923 * config/tc-i386.c (md_apply_fix3): Add horrible adjustments to
3924 the value if TE_PE and a global defined symbol.
3925
3926 1999-09-11 Ian Lance Taylor <ian@zembu.com>
3927
3928 * write.c (dump_section_relocs): Call print_symbol_value_1 to
3929 print the symbol, rather than printing it here.
3930
3931 1999-09-11 Donn Terry <donn@interix.com>
3932
3933 * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
3934 BFD_RELOC_RVA relocations.
3935
3936 * config/tc-i386.c (md_undefined_symbol): Compare the name against
3937 the macro GLOBAL_OFFSET_TABLE_NAME, rather than assuming that it
3938 starts with "_G".
3939
3940 * write.c (write_relocs): Call SET_SECTION_RELOCS if it is
3941 defined.
3942 * config/obj-coff.h (SET_SECTION_RELOCS): Define.
3943 * doc/internals.texi (Object format backend): Document
3944 SET_SECTION_RELOCS.
3945
3946 * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
3947 relocations against global symbols if TE_PE.
3948
3949 * config/obj-coff.c (obj_coff_ident): Add BFD_ASSEMBLER version.
3950 (obj_pseudo_table): Always handle ".ident" with obj-coff_ident.
3951
3952 * config/obj-coff.c (coff_frob_symbol): Prohibit weak common
3953 symbols.
3954
3955 * config/obj-coff.c (obj_coff_endef): Don't merge labels, or
3956 symbols which do not have a constant value, or tags with
3957 non-tags. Remove the symbol from the list before adding it at the
3958 end.
3959
3960 * config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Handle .ef
3961 C_FCN symbol differently if TE_PE.
3962 (obj_coff_line) [BFD_ASSEMBLER]: Always use the line number which
3963 appears in the pseudo-op, rather coff_line_base which is only set
3964 for a .bf symbol.
3965
3966 * config/obj-coff.c (obj_coff_loc): New static function.
3967 (obj_pseudo_table): Add "loc".
3968
3969 * config/obj-coff.c (add_lineno): Check that the line number is
3970 positive.
3971
3972 * config/atof-ieee.c (atof_ieee): Change what_kind to int.
3973 * config/atof-vax.c (flonum_gen2vax): Change format_letter to
3974 int.
3975 (md_atof): Return NULL rather than 0.
3976 * config/tc-i386.c (md_atof): Change type to int.
3977 * expr.c (expr): Change first parameter to int.
3978 * config/obj-coff.c: Add declarations for static functions.
3979 (coff_frob_symbol): Use SYM_AUXENT.
3980 * config/tc-i386.h (flag_16bit_code): Don't declare.
3981
3982 * config/obj-coff.c (obj_coff_section): Default to setting
3983 SEC_LOAD. Don't set SEC_DATA for 'w' modifier.
3984
3985 * write.c (adjust_reloc_syms): Print adjusted fixup.
3986
3987 * expr.c (integer_constant): Correct too_many_digits calculation
3988 in base 10 case.
3989
3990 1999-09-09 Andreas Schwab <schwab@suse.de>
3991
3992 * doc/c-arm.texi: Fix arguments of @var to not contain
3993 punctuation.
3994
3995 1999-09-08 Philip Blundell <pb@nexus.co.uk>
3996
3997 * config/tc-arm.c (s_thumb_set): Only support interworking for ELF
3998 and COFF targets.
3999 (md_parse_option): Only support -k flag for ELF and COFF targets.
4000
4001 Tue Sep 7 13:28:59 1999 Jeffrey A Law (law@cygnus.com)
4002
4003 * config/tc-hppa.c (pa_ip): Put strict register checks before
4004 call to pa_parse_number.
4005
4006 * config/tc-hppa.c (pa_ip): Support 'Z' argument.
4007
4008 1999-09-06 Ian Lance Taylor <ian@zembu.com>
4009
4010 * config/obj-coff.c: Add ATTRIBUTE_UNUSED as needed for
4011 BFD_ASSEMBLER code.
4012
4013 1999-09-06 Donn Terry <donn@interix.com>
4014
4015 * as.c (perform_an_assembly_pass): Set SEC_DATA for data_section.
4016
4017 Mon Sep 6 04:26:56 1999 Jeffrey A Law (law@cygnus.com)
4018
4019 * config/tc-hppa.c (pa_ip): Get strict/non-strict mode from the
4020 candidate instruction. Require registers for register arguments
4021 when in strict mode. Require assemble-time constants for
4022 constants when in strict mode.
4023 (pa_get_absolute_expression): Require a constant when in strict
4024 mode.
4025
4026 1999-09-06 Nick Clifton <nickc@cygnus.com>
4027
4028 * config/tc-m32r.c (md_longopts): Fix value for -Wnuh.
4029
4030 1999-09-04 Steve Chamberlain <sac@pobox.com>
4031
4032 * config/tc-pj.c: New file, supports picoJava in ELF.
4033 * config/tc-pj.h: Ditto.
4034 * configure.in (pjl*, pj*): New targets.
4035 * Makefile.am: Rebuild dependencies.
4036 (CPU_TYPES): Add pj.
4037 (TARGET_CPU_CFILES): Add config/tc-pj.c.
4038 (TARGET_CPU_HFILES): Add config/tc-pj.h.
4039 * doc/c-pj.texi: New file.
4040 * doc/as.texinfo: Add some PJ specifics.
4041 * doc/all.texi: Add PJ to the list of all architectures, sort them
4042 all alphabetically.
4043 * doc/Makefile.in (CPU_DOCS): Add c-pj.texi.
4044 * configure, Makefile.in, doc/Makefile.in: Rebuild.
4045
4046 1999-09-02 Alan Modra <alan@spri.levels.unisa.edu.au>
4047
4048 * config/obj-multi.h: Include obj-elf.h if OBJ_MAYBE_ELF. Reformat.
4049 (obj_frob_file): Test for null pointer.
4050 (OBJ_COPY_SYMBOL_ATTRIBUTES): Here too.
4051 (OBJ_PROCESS_STAB): And here.
4052 (elf_obj_sy): Remove
4053
4054 * config/obj-elf.h: #ifndef everything defined in obj-multi.h,
4055 except OBJ_PROCESS_STAB, which we #undef for ecoff.
4056 (elf_obj_sy): Remove #ifndef OBJ_SYMFIELD_TYPE.
4057
4058 * config/obj-coff.c (no_func): Remove.
4059 (coff_format_ops): Change occurrences of no_func to 0, as we test
4060 for 0 in obj-multi.h.
4061
4062 * configure.in: Enable bfd for i386-coff when primary target is
4063 bfd. Enable i386 elf,coff emulation support. Don't set
4064 USE_EMULATIONS=1 or te_file=multi unless there is more than one
4065 emulation to support.
4066 *configure: Regenerate.
4067
4068 1999-09-02 Nick Clifton <nickc@cygnus.com>
4069
4070 * config/tc-mcore.c (mcore_s_section): Do not dump literals if a
4071 .section .line directive is encountered.
4072
4073 1999-09-01 Nick Clifton <nickc@cygnus.com>
4074
4075 * config/tc-arm.c (md_section_align): Do not align sections in ELF
4076 format.
4077
4078 * as.c (show_usage): Add --gdwarf2 to list of options displayed.
4079 * as.texinfo: Document --gdwarf2 command line option.
4080 Add additional documentation of ARM command line switches.
4081
4082 1999-08-30 Alan Modra <alan@spri.levels.unisa.edu.au>
4083
4084 * config/tc-i386.c (i386_intel_memory_operand): Combine
4085 i386_is_reg and parse_register calls. Remove END_STRING_AND_SAVE
4086 and RESTORE_END_STRING around parse_register calls.
4087 (i386_operand): Here too.
4088 (i386_is_reg): Remove.
4089 (parse_register): Move as_bad calls from within this function to
4090 callers.
4091
4092 1999-08-29 Alan Modra <alan@spri.levels.unisa.edu.au>
4093
4094 Based on a patch from H.J. Lu <hjl@gnu.org>
4095 * config/tc-i386.c (parse_register): Handle FP regs specially.
4096 (md_begin): Remove '(' and ')' from register_chars.
4097
4098 1999-08-29 Doug Evans <devans@casey.cygnus.com>
4099
4100 * config/tc-m32r.c (md_parse_option): Delete unrecognized option
4101 error message (done elsewhere).
4102
4103 Sat Aug 28 01:23:11 1999 Jeffrey A Law (law@cygnus.com)
4104
4105 * config/tc-hppa.c (pa_ip): Do not allow '*' in 32bit completers.
4106
4107 Sat Aug 28 00:26:26 1999 Jerry Quinn <jquinn@nortelnetworks.com>
4108
4109 * config/tc-hppa.c (pa_ip): Replace 'f' by 'v'. Prefix float register
4110 args by 'f'.
4111
4112 * config/tc-hppa.c (pa_ip): Add args q, %, and |.
4113
4114 * config/tc-hppa.c (pa_ip): Absorb white space in instructions
4115 between args.
4116 Add new completers. Fix bug in 64 bit condition handling.
4117
4118 * config/tc-hppa.c (pa_ip): Add completer codes 'a', 'ch', 'cH',
4119 'cS', and 'c*'.
4120
4121 * config/tc-hppa.c (pa_ip): Place completers behind prefix 'c'.
4122
4123 * config/tc-hppa.c (pa_ip): Add cases for '.', '~'. '$'. and '!'
4124
4125 * config/tc-hppa.c (pa_ip): Add case for 'I'.
4126
4127 1999-08-27 Jim Wilson <wilson@cygnus.com>
4128
4129 * dwarf2dbg.c (MAX_SPECIAL_ADDR_DELTA): Correct typo in comment.
4130 (struct ls): Add frag field. Initialize it to zero.
4131 (out_end_sequence): New local text_frag. Set it while in text section.
4132 Replace address check with frag check. Set ls.frag to text_frag if
4133 out_set_addr called.
4134 (dwarf2_gen_line_info): Add explanatory comment. New local saved_frag.
4135 Set it before switching sections. Replace address check with frag
4136 check. Set ls.frag to saved_frag if out_set_addr called.
4137
4138 1999-08-26 David Mosberger <davidm@hpl.hp.com>
4139
4140 * dwarf2dbg.c (out_end_sequence): If address changed, directly
4141 output "advance_pc" opcode instead of calling gen_addr_line().
4142 The latter has the undesired side-effect of creating a new row
4143 in the debug line info matrix.
4144
4145 1999-08-26 Jim Wilson <wilson@cygnus.com>
4146
4147 * dwarf2dbg.c (out_end_sequence): Correct comments. Set last to
4148 ls.last_filename if last is less than zero. Set ls.last_filename
4149 when allocating new entry.
4150 (dwarf2_gen_line_info): Save seg and subseg info before subseg_new
4151 call.
4152
4153 1999-08-20 Alan Modra <alan@spri.levels.unisa.edu.au>
4154
4155 * config/tc-i386.c (i386_index_check): Fix the displacement size
4156 when INFER_ADDR_PREFIX.
4157
4158 1999-08-18 Nick Clifton <nickc@cygnus.com>
4159
4160 * config/tc-arm.c (md_apply_fix3): If an offset is invalid,
4161 display its value.
4162
4163 1999-08-17 Ian Lance Taylor <ian@zembu.com>
4164
4165 * config/tc-ppc.c (md_assemble): Trim @ha constant to 16 bits, to
4166 handle 0xffffNNNN constants correctly.
4167
4168 1999-08-16 Nick Clifton <nickc@cygnus.com>
4169
4170 * config/tc-arm.c (do_ldst): Look for register conflicts on stores
4171 as well as loads.
4172
4173 1999-08-13 Nick Clifton <nickc@cygnus.com>
4174
4175 * config/tc-arm.c (validate_offset_imm): Work on unsigned values.
4176 (md_apply_fix3): Always pass positive values to
4177 validate_offset_imm.
4178
4179 1999-08-12 Nick Clifton <nickc@cygnus.com>
4180
4181 * config/tc-arm.c (skip_whitespace): New macro.
4182 Formatting tidy ups.
4183
4184 (md_apply_fix3): Store relocation offset in addend for ELF based
4185 relocs.
4186 (arm_force_relocation): Always generate relocs for Thumb function
4187 calls.
4188
4189 1999-08-11 Alan Modra <alan@spri.levels.unisa.edu.au>
4190
4191 * config/tc-i386.c (md_assemble): Remove dead code. intel_syntax
4192 LONG_DOUBLE_MNEM_SUFFIX floating point is done in opcode/i386.h
4193
4194 Tue Aug 10 12:58:31 1999 Jeffrey A Law (law@cygnus.com)
4195
4196 * config/tc-hppa.c (pa_build_unwind_subspace): Use sane section
4197 flags for the unwind subspace.
4198
4199 * config/tc-hppa.c (UNWIND_SECTION_NAME): Define for ELF.
4200 (pa_build_unwind_subspace): Remove #if 0 wrapper. Select a
4201 suitable relocation based on the size of the target's pointer.
4202 Always Use subsegment zero for the unwinders.
4203 (pa_level): Handle "2.0w".
4204
4205 Mon Aug 9 20:02:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4206
4207 * config/tc-d30v.c (write_2_short): Don't group repeat instructions
4208 with the following instruction unless this was specified.
4209
4210 1999-08-09 Ian Lance Taylor <ian@zembu.com>
4211
4212 * config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4 for
4213 certain sections, to match BFD changes.
4214
4215 1999-08-08 Mumit Khan <khan@xraylith.wisc.edu>
4216
4217 * Makefile.am (noinst_SCRIPTS): Change .gdbinit to $(GDBINIT).
4218 (EXTRA_SCRIPTS): Define to keep automake happy.
4219 * Makefile.in: Rebuild.
4220
4221 1999-08-08 Ian Lance Taylor <ian@zembu.com>
4222
4223 * Makefile.am: Rename .dep* files to DEP*.
4224 (MKDEP): Rename from DEP. Change all uses. Use $${srcdir} rather
4225 than $(srcdir). Rename TCDEP targets to DEPTC. Rename OBJDEP
4226 targets to DEPOBJ.
4227 * Makefile.in: Rebuild.
4228
4229 1999-08-08 Jakub Jelinek <jj@ultra.linux.cz>
4230
4231 * config/tc-sparc.c (sparc_ip): Allow assembly of %lo()+%reg.
4232
4233 1999-08-08 Ian Lance Taylor <ian@zembu.com>
4234
4235 * Makefile.am: Change all uses of itbl-test-ops to itbl-tops to
4236 avoid problems on DOS filesystems.
4237 * Makefile.in: Rebuild.
4238
4239 * doc/as.texinfo (Section): Document 's' flag for COFF version.
4240
4241 1999-08-08 Mumit Khan <khan@xraylith.wisc.edu>
4242
4243 * config/obj-coff.c (obj_coff_section): Handle 's' (shared)
4244 section flag.
4245
4246 1999-08-08 Ian Lance Taylor <ian@zembu.com>
4247
4248 * configure.in: Define and substitute GDBINIT. Change AC_OUTPUT
4249 line to create ${GDBINIT} rather than .gdbinit.
4250 * configure, Makefile.in, doc/Makefile.in: Rebuild.
4251
4252 Fri Aug 6 12:12:44 1999 Jeffrey A Law (law@cygnus.com)
4253
4254 * config/tc-hppa.c (pa_ip, case '?'): Add missing break.
4255
4256 Fri Aug 6 09:46:35 1999 Jerry Quinn <jquinn@nortelnetworks.com>
4257
4258 * config/tc-hppa.c (pa_ip): Add 64 bit condition completers.
4259
4260 1999-08-06 Jakub Jelinek <jj@ultra.linux.cz>
4261
4262 * config/tc-sparc.h (tc_fix_adjustable): Fix check for PIC local
4263 non-adjustable symbols.
4264
4265 Thu Aug 5 16:52:51 1999 Jerry Quinn <jquinn@nortelnetworks.com>
4266
4267 * config/tc-hppa.c (pa_ip): Change condition args to have '?' prefix.
4268
4269 Thu Aug 5 23:05:56 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4270
4271 * config/tc-sh.c (md_assemble): Call as_bad when there are excess
4272 operands.
4273
4274 1999-08-05 Donn Terry <donn@interix.com>
4275
4276 * config/te-interix.h: New file.
4277 * configure.in (i386-*-interix*): New target.
4278 * configure: Rebuild.
4279
4280 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
4281
4282 * config/tc-hppa.c (pa_chk_field_selector): Allow 3 byte
4283 selectors for ELF too.
4284 (selector_table): Add "ltp" and "rtp" selectors.
4285
4286 1999-08-04 Alan Modra <alan@spri.levels.unisa.edu.au>
4287
4288 * config/tc-i386.c (i386_operand): No need to change
4289 operand_string pointer in segment reg case before goto
4290 do_memory_reference. Initialise displacement_string_start and
4291 displacement_string_end after do_memory_reference label.
4292 (i386_index_check): Add operand_string param, and print error
4293 message on failure here.
4294 (i386_intel_memory_operand): Instead of here.
4295 (i386_operand): And here.
4296 (INFER_ADDR_PREFIX): Enable.
4297
4298 * doc/c-i386.texi (i386-16bit): Document .code16gcc.
4299
4300 * config/tc-i386.h (DefaultSize): Define. Renumber following
4301 opcode_modifier defines.
4302
4303 From Etienne Lorrain <etienne.lorrain@ibm.net>
4304 * config/tc-i386.c (stackop_size): New variable.
4305 (set_16bit_code_flag): Clear it here.
4306 (set_16bit_gcc_code_flag): New function.
4307 (md_pseudo_table): Add "code16gcc" entry.
4308 (md_assemble): Set i.suffix for insns with DefaultSize modifier.
4309
4310 1999-08-03 Ian Lance Taylor <ian@zembu.com>
4311
4312 * config/obj-coff.c (coff_frob_symbol): Always update set_end with
4313 next_set_end even if the end symbol is being discarded.
4314
4315 * gasp.c: Add ATTRIBUTE_UNUSED as needed for non-BFD_ASSEMBLER.
4316 * output-file.c, symbols.c, config/tc-i386.c: Likewise.
4317 * config/obj-coff.c: Likewise.
4318 (seg_info_type): Remove.
4319 (seg_info_off_by_4): Change to array of segT.
4320 (s_get_segment): Adjust accordingly.
4321 (obj_pseudo_table): Fully initialize sentinel entry.
4322
4323 * config/tc-mips.c (append_insn): Correct INSN_SYNC test. From
4324 Ralf Baechle <ralf@uni-koblenz.de>.
4325
4326 1999-08-03 Etienne Lorrain <etienne.lorrain@ibm.net>
4327
4328 * config/tc-i386.c (f16_3): New. Fixes 16 bit 3 byte nop.
4329
4330 1999-08-03 Alan Modra <alan@spri.levels.unisa.edu.au>
4331
4332 * config/tc-i386.c: Indentation and white space changes.
4333 (i386_index_check): New function. Add INFER_ADDR_PREFIX code, but
4334 don't enable it by default.
4335 (i386_intel_operand): Remove redundant prototype.
4336 Move check on number of memory operands, and i.mem_operands++
4337 (i386_intel_memory_operand): To here.
4338 Remove i386_immediate code from here. Remove special case code
4339 for input and output using (%dx). Remove base/index checks and
4340 call i386_index_check instead. Save initial operand_string
4341 argument for error message.
4342 (i386_operand): Remove redundant prototype. Move base/index
4343 checks to i386_index_check.
4344 (i386_displacement): Move intel mode check for non-zero
4345 i.disp_operand
4346 (i386_intel_memory_operand): To here.
4347
4348 1999-07-30 Jakub Jelinek <jj@ultra.linux.cz>
4349
4350 * config/tc-sparc.c (md_longopts): Add --no-undeclared-regs option.
4351 (sparc_ip): Warn if %g2 or %g3 register is used and not covered
4352 by .register pseudo-op if -64 and --no-undeclared-regs.
4353 (s_register, sparc_adjust_symtab): New functions.
4354 * config/tc-sparc.h (tc_adjust_symtab, sparc_adjust_symtab):
4355 Declare sparc_adjust_symtab as tc_adjust_symtab.
4356 * doc/c-sparc.texi: Add description of #ignore special literal
4357 for .register pseudo-op.
4358
4359 1999-07-30 Catherine Moore <clm@cygnus.com>
4360
4361 * config/tc-arm.c (tc_gen_reloc): Record the vtable entry in
4362 the relocation's section offset.
4363
4364 1999-07-29 Alan Modra <alan@spri.levels.unisa.edu.au>
4365
4366 * write.c (fixup_segment): Fix generic error check overflow test.
4367
4368 * config/tc-i386.c (pe): Change %d to %ld, %x to %lx, and cast
4369 X_add_number to long.
4370
4371 Wed Jul 28 02:04:24 1999 "Jerry Quinn" <jquinn@nortelnetworks.com>
4372
4373 * config/tc-hppa.c (pa_ip): Add 'J' and 'K' code
4374 processing.
4375
4376 1999-07-27 Ian Lance Taylor <ian@zembu.com>
4377
4378 * config/tc-sparc.h (tc_fix_adjustable): Don't adjust GOT, PLT, or
4379 VTABLE relocations.
4380
4381 1999-07-21 Mark Elbrecht <snowball3@bigfoot.com>
4382
4383 * config/te-go32.h (COFF_LONG_SECTION_NAMES): Define.
4384
4385 * configure.bat: Remove; obsolete.
4386 * config/go32.cfg: Likewise.
4387
4388 1999-07-21 Brad M. Garcia <bgarcia@fore.com>
4389
4390 * configure.in (i386-*-vxworks*): New target.
4391 * configure: Rebuild.
4392
4393 1999-07-16 Jakub Jelinek <jj@ultra.linux.cz>
4394
4395 * doc/c-sparc.texi: Document .register and .nword pseudo-ops.
4396
4397 1999-07-16 Jakub Jelinek <jj@ultra.linux.cz>
4398
4399 * config/tc-sparc.c (sparc_ip): Allow OLO10 relocations
4400 on -64 and not pic.
4401 (output_insn): Put OLO10's secondary addend into tc_fix_data.
4402 (md_apply_fix3): Handle BFD_RELOC_SPARC_OLO10.
4403 (tc_gen_reloc): Return two relocs for OLO10, LO10 and SPARC13.
4404 * config/tc-sparc.h (RELOC_EXPANSION_POSSIBLE,
4405 MAX_RELOC_EXPANSION): Define.
4406 (TC_FIX_TYPE, TC_INIT_FIX_DATA, TC_FIX_DATA_PRINT): Likewise.
4407
4408 1999-07-16 Alan Modra <alan@spri.levels.unisa.edu.au>
4409
4410 * config/tc-i386.c (intel_float_operand): Add prototype, make static.
4411 (md_assemble): Localize *exp variable to if (fake_zero_displacement)
4412 block. Print a warning if an 8-bit or 16-bit constant
4413 displacement or immediate is truncated on output.
4414 (i386_immediate): Ensure Imm16 is always legal for a 16-bit mode
4415 immediate.
4416 (i386_operand): Disallow immediate jump absolute operand.
4417
4418 1999-07-15 Ian Lance Taylor <ian@zembu.com>
4419
4420 * configure.in: Bump version number to 2.9.5.
4421 * configure: Rebuild.
4422
4423 * dwarf2dbg.c (dwarf2_gen_line_info): Don't assume that long long
4424 or %llx work.
4425
4426 Thu Jul 15 02:45:30 1999 Jeffrey A Law (law@cygnus.com)
4427
4428 * config/tc-hppa.c (md_pseudo_table): Add ".dword" pseudo-op.
4429 (cons_fix_new_hppa): Derive size of fixup from size of the object.
4430
4431 1999-07-14 Philip Blundell <pb@nexus.co.uk>
4432
4433 * symbols.c (dollar_label_name): Prepend LOCAL_LABEL_PREFIX if it
4434 is defined.
4435 * config/tc-arm.h (LOCAL_LABEL_PREFIX): Define to '.' for ELF.
4436
4437 * config/tc-arm.c (md_begin): Set F_SOFTFLOAT in the output file
4438 if -mno-fpu was given.
4439 (tc_gen_reloc): Fix typo. Delete bogus code related to GOTPC
4440 relocs.
4441 (cons_fix_new_arm): Remove misleading comments.
4442
4443 1999-07-14 Ian Lance Taylor <ian@zembu.com>
4444
4445 * write.c (cvt_frag_to_fill): Use frag file and line in rs_org
4446 error message.
4447 (relax_segment): Likewise. After giving a rs_org error, convert
4448 the frag to rs_align to avoid cascading errors.
4449
4450 1999-07-12 Andreas Schwab <schwab@suse.de>
4451
4452 * config/tc-m68k.c: Add some ATTRIBUTE_UNUSED.
4453
4454 1999-07-11 Ian Lance Taylor <ian@zembu.com>
4455
4456 * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
4457 as appropriate. Fill in structure initializations. Add variable
4458 initializations. Add casts.
4459 * dwarf2dbg.c (print_stats): Change i to size_t.
4460 * listing.c (listing_listing): Change list_line to unsigned int.
4461
4462 1999-07-10 Ian Lance Taylor <ian@zembu.com>
4463
4464 * config/tc-ppc.h (tc_fix_adjustable) [OBJ_ELF]: Call S_IS_LOCAL
4465 rather than checking for \001 and \002 in symbol name.
4466 * config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: Likewise.
4467
4468 Thu Jul 8 12:32:23 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
4469
4470 * configure.in (hppa*-linux-gnu*): New target.
4471 * configure: Rebuilt.
4472
4473 1999-07-08 Nick Clifton <nickc@cygnus.com>
4474
4475 * doc/c-arm.texi (ARM Directives): Document .thumb_set directive.
4476
4477 1999-07-07 Nick Clifton <nickc@cygnus.com>
4478
4479 * config/tc-v850.c (v850_comm): Use symbol_get_obj() rather than
4480 accessing symbolP directly.
4481
4482 Tue Jul 6 10:41:42 1999 Jeffrey A Law (law@cygnus.com)
4483
4484 * config/tc-hppa.h (tc_frob_symbol): Always punt "$global$" symbol
4485 for ELF.
4486
4487 1999-07-05 Nick Clifton <nickc@cygnus.com>
4488
4489 * config/tc-arm.c (ARM_EXT_V5): Define.
4490 (ARM_ARCH_V5, ARM_ARCH_V5T): Define.
4491 (md_begin): Detect ARM v5 architectures.
4492 (md_parse_option): Accept arm v5 specification.
4493 (md_show_usage): Documment -marmv5 switch.
4494
4495 * doc/c-arm.texi: Document -marmv5 command line option.
4496
4497 * config/tc-arm.c (do_adrl): New function. Implement ADRL pseudo
4498 op.
4499 (validate_immediate_twopart): New function. Determine if a
4500 constant can be computed by two ADD instructions.
4501 (output_inst): Remove its command line parameter - it was never
4502 used.
4503 (md_apply_fix3): Support BFD_RELOC_ARM_ADRL_IMMEDIATE, used to
4504 implememt the ADRL pseudo op.
4505 (tc_gen_reloc): Generate a suitable error message if an ADRL
4506 instruction tries to generate a real reloc.
4507
4508 * doc/c-arm.texi: Document NOP, ADR and ADRL pseudo ops.
4509
4510 Thu Jul 1 15:33:10 1999 Jeffrey A Law (law@cygnus.com)
4511
4512 * config/tc-hppa.c (pa_ip): Convert the opcode and all completers
4513 into lower case.
4514
4515 1999-06-27 H.J. Lu <hjl@gnu.org>
4516
4517 * subsegs.c (subseg_text_p): Use 1/0 instead of true/false for
4518 non BFD_ASSEMBLER case.
4519
4520 1999-06-26 Mumit Khan <khan@xraylith.wisc.edu>
4521
4522 * config/obj-coff.c (obj_coff_section): Mark writable sections as
4523 data.
4524
4525 1999-06-26 David Mosberger <davidm@hpl.hp.com>
4526
4527 * dwarf2dbg.c (dwarf2_gen_line_info): Don't call
4528 out_end_sequence() when the address decreases due to a new frag.
4529 (gen_dir_list): Set ls.file[i].dir to j + 1 (not j) because file
4530 numbering starts with 1.
4531
4532 1999-06-23 Nick Clifton <nickc@cygnus.com>
4533
4534 * config/tc-mcore.c (md_pseudo_table): Add .comm for ELF and allow
4535 .section for COFF.
4536 (mcore_s_text): Call obj_elf_text for ELF target.
4537 (mcore_s_data): Call obj_elf_data for ELF target.
4538 (mcore_s_section): No longer ELF specific. Call obj_coff_section
4539 for COFF target.
4540 (mcore_s_bss): New function: Dump literal table before changing
4541 sections.
4542 (mcore_s_comm): New function: Dump literal table before changing
4543 sections.
4544
4545 * config/obj-elf.c (obj_elf_common, obj_elf_data, obj_elf_text):
4546 No longer static functions.
4547 * config/obj-elf.h (obj_elf_common, obj_elf_data, obj_elf_text):
4548 Provide prototypes for these functions.
4549
4550 1999-06-22 Ian Lance Taylor <ian@zembu.com>
4551
4552 * subsegs.c (subseg_text_p): Rewrite non BFD_ASSEMBLER case to use
4553 a list of names, to try obj_segment_name, and to try abbreviated
4554 names when using COFF without long section names.
4555
4556 * config/tc-alpha.c: More use of symbol accessor functions.
4557 * config/tc-arc.c: Likewise.
4558 * config/tc-d30v.c: Likewise.
4559 * config/tc-fr30.c: Likewise.
4560 * config/tc-i860.c: Likewise.
4561 * config/tc-m88k.c: Likewise.
4562 * config/tc-mcore.c: Likewise.
4563 * config/tc-ns32k.c: Likewise.
4564 * config/tc-sparc.c: Likewise.
4565 * config/tc-v850.c: Likewise.
4566
4567 * config/tc-arc.c (get_arc_exp_reloc_type): Change uses of
4568 sy_value with appropriate accessor functions.
4569 * config/tc-arm.c (md_apply_fix3): Likewise.
4570 * config/tc-d10v.c (AT_WORD_P): Likewise.
4571 * config/tc-v850.c (reg_name_search): Likewise.
4572
4573 * config/obj-ecoff.c (obj_ecoff_set_ext): Change uses of bsym to
4574 use symbol_get_bfdsym instead.
4575 * config/tc-ppc.c (md_assemble): Likewise.
4576 * config/tc-v850.c (v850_comm): Likewise.
4577
4578 1999-06-22 Jonathan Larmour <jlarmour@cygnus.co.uk>
4579
4580 * config/tc-arc.c (tc_gen_reloc): Use symbol_get_bfdsym to get at
4581 the symbol, rather than accessing the bsym member.
4582 * config/tc-d10v.c (tc_gen_reloc): Likewise.
4583 * config/tc-d30v.c (tc_gen_reloc): Likewise.
4584 * config/tc-mcore.c (tc_gen_reloc): Likewise.
4585 * config/tc-mn10200.c (tc_gen_reloc): Likewise.
4586 * config/tc-mn10300.c (tc_gen_reloc): Likewise.
4587 * config/tc-ns32k.c (tc_gen_reloc): Likewise.
4588 * config/tc-tic30.c (tc_gen_reloc): Likewise.
4589 * config/tc-v850.c (tc_gen_reloc): Likewise.
4590
4591 Mon Jun 21 16:45:19 1999 Jeffrey A Law (law@cygnus.com)
4592
4593 * tc-hppa.c (elf_hppa_reloc_type): Renamed from elf32_hppa_reloc_type.
4594 (hppa_gen_reloc_type): Conditionalize on BFD64.
4595 (tc_gen_reloc): Re-enable ELF relocations.
4596 * tc-hppa.h (TARGET_FORMAT): Handle elf64-hppa format.
4597
4598 1999-06-21 Ian Lance Taylor <ian@zembu.com>
4599
4600 * config/tc-arm.c (ldst_extend): Add parentheses to avoid
4601 warning.
4602 (do_ldst): Move assignment out of if condition.
4603 (md_apply_fix3): Add casts to avoid printf format warnings. Add
4604 parentheses to avoid warning.
4605
4606 1999-06-21 Nick Clifton <nickc@cygnus.com>
4607
4608 * config/tc-arm.c (arm_adjust_symtab): Use symbol_get_bfdsym()
4609 macro to get at the BFD symbol associated with a GAS symbol.
4610
4611 1999-06-19 Ian Lance Taylor <ian@zembu.com>
4612
4613 * config/tc-ppc.c: Update for symbol handling changes.
4614 * config/obj-coff.c: Likewise.
4615
4616 Fri Jun 18 14:34:18 1999 Jeffrey A Law (law@cygnus.com)
4617
4618 * tc-hppa.c: General cleanups of ELF support. No more spaces
4619 and subspaces for ELF.
4620 (GDB_DEBUG_SPACE_NAME): Delete definition for ELF.
4621 (GDB_STRINGS_SUBSPACE_NAME): Likewise.
4622 (GDB_SYMBOLS_SUBSPACE_NAME): Likewise
4623 (UNWIND_SECTION_NAME): Likewise.
4624 (space/subspace related structures): Conditionalize definitions
4625 on OBJ_SOM.
4626 (space/subspace directives and support routines): Conditionalize
4627 definitions and references/uses on OBJ_SOM.
4628 (label_symbol_struct): For ELF, track the symbol's segment. For
4629 SOM track its space.
4630 (pa_define_label, pa_undefine_label, pa_get_label): Corresponding
4631 changes.
4632 (USE_ALIASES): Kill for both SOM & ELF.
4633 (pa_def_subspaces, pa_def_spaces): Corresponding changes.
4634 (pa_space, pa_subspace): Corresponding changes.
4635 (pa_spaces_begin): Corresponding chagnes.
4636 (md_begin): Do not muck around with space/subspace stuff for
4637 OBJ_ELF.
4638 (md_apply_fix): Temporarily disable argument relocation stuff
4639 for OBJ_ELF.
4640 (tc_gen_reloc): Temporarily disable relocation generation for
4641 OBJ_ELF
4642 (pa_build_unwind_subspace): Similarly.
4643
4644 1999-06-16 Nick Clifton <nickc@cygnus.com>
4645
4646 * config/tc-arm.c (thumb_set): New pseudo op.
4647 (text, data, section): Override these pseudo ops with ARM
4648 specific versions.
4649 (s_thumb_set): New function: Perform the same as a .set pseudo
4650 op, but also mark the alias'ed symbol as being a Thumb
4651 function.
4652 (arm_s_text): New function: Perform the same as the .text
4653 pseudo op, but dump the literal pool before changing
4654 sections.
4655 (arm_s_data): New function: Perform the same as the .data
4656 pseudo op, but dump the literal pool before changing
4657 sections.
4658 (arm_s_section): New function: Perform the same as the
4659 .section pseudo op, but dump the literal pool before changing
4660 sections.
4661 (arm_cleanup): Do not reset the current section before dumping
4662 the literal pool.
4663
4664 1999-06-17 Nick Clifton <nickc@cygnus.com>
4665
4666 * config/tc-m32r.c (md_longopts): Fix OPTION_WARN_UNMATCHED and
4667 OPTION_NO_WARN_UNMATCHED entries.
4668 (md_parse_option): Generate a warning message if an unrecognised
4669 option is encountered.
4670
4671 * config/tc-d10v.c (do_not_ignore_hash): New variable.
4672 (get_operands): When parsing an expression after an '@' symbol
4673 has been detected, do not ignore '#' symbols.
4674 (md_operand): Only ignore '#' symbols if do_not_ignore_hash is
4675 false.
4676
4677 1999-06-13 Ian Lance Taylor <ian@zembu.com>
4678
4679 From K. Richard Pixley <rich@noir.com>:
4680 * configure.in (ppc-*-vxworks*): New target.
4681 * configure: Rebuild.
4682
4683 1999-06-12 Philip Blundell <philb@gnu.org>
4684
4685 * config/tc-arm.c (tc_gen_reloc): Fix handling of GOTPC relocs.
4686
4687 1999-06-13 Ian Lance Taylor <ian@zembu.com>
4688
4689 * write.c (adjust_reloc_syms): Rather than never reducing reloc
4690 which refer to symbols in linkonce sections, permit reducing the
4691 relocs if the symbol is local.
4692
4693 1999-06-12 Ian Lance Taylor <ian@zembu.com>
4694
4695 * subsegs.c (subseg_text_p): New function.
4696 * as.h (subseg_text_p): Declare.
4697 * read.c (do_align): Use subseg_text_p to set the default fill.
4698 * write.c (subsegs_finish): Likewise.
4699 * config/obj-coff.c (write_object_file): Likewise.
4700 * config/tc-i386.h (md_maybe_text): Don't define.
4701 (md_do_align): Use subseg_text_p to set the default fill.
4702 * config/tc-m32r.c (m32r_do_align): Likewise.
4703 * config/tc-sh.c (sh_do_align): Likewise.
4704 * config/tc-sparc.h (md_do_align): Likewise.
4705
4706 1999-06-12 David O'Brien <obrien@freebsd.org>
4707
4708 * configure.in: (i[3456]86-*-freebsd*): Now defaults to ELF.
4709 * configure: Rebuild.
4710
4711 1999-06-12 Ian Lance Taylor <ian@zembu.com>
4712
4713 * dwarf2dbg.c: Include elf/dwarf2.h with "", not <>.
4714 * Makefile.am: Rebuild dependencies.
4715 * Makefile.in: Rebuild.
4716
4717 * config/tc-i386.c (i386_immediate): Remove unused label
4718 seg_unimplemented.
4719
4720 * struc-symbol.h: Put local_symbol code in ifdef BFD_ASSEMBLER.
4721 * symbols.c: Likewise.
4722 * config/obj-aout.c (obj_crawl_symbol_chain): Refer directly to
4723 sy_next field when taking address, rather than symbol_next.
4724
4725 * dwarf2dbg.c: Change bfd_vma to addressT and bfd_signed_vma to
4726 offsetT.
4727 (out_set_addr): Don't use BYTES_PER_ADDRESS. Instead, get the
4728 value from the output file architecture.
4729 (dwarf2_gen_line_info): Ifdef BFD_ASSEMBLER specific code.
4730 * dwarf2dbg.h: Change bfd_vma to addressT.
4731
4732 1999-06-11 Ian Lance Taylor <ian@zembu.com>
4733
4734 * dwarf2dbg.h: Use PARAMS in function declarations.
4735
4736 1999-06-11 Martin Dorey <mdorey@madge.com>
4737
4738 * write.c (fixup_segment): Don't add symbol value for i960 ELF.
4739 * config/tc-i960.c (s_leafproc): Don't call tc_set_bal_of_cal if
4740 OBJ_ELF.
4741 (md_apply_fix): Simplify BFD_ASSEMBLER handling.
4742
4743 1999-06-11 Ian Lance Taylor <ian@zembu.com>
4744
4745 * config/tc-i386.c (md_apply_fix3): Add default case to switch.
4746
4747 * config/tc-sparc.c (md_pseudo_table): Remove pushsection and
4748 popsection.
4749
4750 * config/tc-sparc.c (sparc_ip): Add default case to reloc switch.
4751
4752 * read.c (read_a_source_file): Only declare inescape if
4753 QUOTES_IN_INSN.
4754
4755 * itbl-ops.c (itbl_disassemble): Change sprintf format strings to
4756 match parameters.
4757 (find_entry_byval): Add parens to avoid warning.
4758
4759 * as.c: If HAVE_ITBL_CPU, include "itbl-ops.h".
4760
4761 * symbols.c (resolve_symbol_value): Don't permit subtraction of
4762 undefined symbols.
4763
4764 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
4765
4766 * config/tc-sparc.c (sparc_ip): Don't use side-effect expression
4767 with isoctal.
4768
4769 * config/tc-sparc.c (synthetize_setuw, synthetize_setsw,
4770 synthetize_setx): New functions.
4771 (md_assemble): Broken the special cases into the above
4772 functions. Make compiler happy if sizeof(bfd_vma)==4.
4773 Fix sethi generated from set/setuw. If instructions have a relloc,
4774 always clear the fields to be relocated in the opcode.
4775 (sparc_ip): Remove special_case global variable.
4776
4777 1999-06-10 Ian Lance Taylor <ian@zembu.com>
4778
4779 Based on patches from John W. Woznack <jwoznack@concentric.net>:
4780 * itbl-ops.c (itbl_get_reg_val): Add pval parameter. Return
4781 indication of success rather than a value.
4782 (itbl_get_val): Likewise.
4783 (itbl_get_field): Use strcspn. Change delimiters to include
4784 parens.
4785 * itbl-ops.h (itbl_get_reg_val): Update declaration.
4786 (itbl_get_val): Likewise.
4787 * config/tc-mips.c (mips_ip): Update call to itbl_get_reg_val.
4788
4789 * symbols.c (copy_symbol_attributes): Convert local symbols to
4790 regular symbols.
4791
4792 1999-06-10 Nick Clifton <nickc@cygnus.com>
4793
4794 * config/tc-arm.c (md_parse_option): Add support for ARM920 and
4795 ARM920t.
4796
4797 1999-06-07 Jakub Jelinek <jj@ultra.linux.cz>
4798
4799 * config/tc-sparc.c (md_assemble): Fix up setx, support setsw.
4800 Optimize set if sizeof(bfd_vma) == 64.
4801 (sparc_ip): Fix sethi - without %hi() it should generate
4802 R_SPARC_22 reloc, not R_SPARC_HI22.
4803 (tc_gen_reloc): Handle BFD_RELOC_SPARC22.
4804
4805 1999-06-07 Jakub Jelinek <jj@ultra.linux.cz>
4806
4807 * config/tc-sparc.c (md_begin): Handle native wordsize aliases.
4808 (s_ncons): New function.
4809 (native_op_table): New table.
4810 (sparc_ip): Be more strict on %hi() etc.; prepare assembler for
4811 R_SPARC_OLO10 handling.
4812
4813 Mon Jun 7 10:22:16 1999 Richard Henderson <rth@cygnus.com>
4814
4815 * expr.h (struct expressionS): Revert last change; widen X_op.
4816 * config/tc-alpha.c (md_begin): Check the field is wide enough.
4817
4818 Mon Jun 7 11:25:16 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4819
4820 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-fr30.c.
4821 (TARGET_CPU_HFILES): Add config/tc-fr30.h.
4822 (TARG_ENV_HFILES): Add config/te-epoc-pe.h.
4823 * Makefile.in: Regenerated.
4824
4825 * config/obj-elf.c (obj_elf_common): In MRI mode if called as
4826 `common' pass on to s_mri_common.
4827 (elf_pseudo_table): Pass 1 to obj_elf_common for `common'.
4828
4829 1999-06-06 Richard Henderson <rth@cygnus.com>
4830
4831 * config/obj-elf.c (obj_elf_section): Don't free the return
4832 value of demand_copy_C_string.
4833
4834 1999-06-05 Richard Henderson <rth@cygnus.com>
4835
4836 * dwarf2dbg.c (dwarf2_gen_line_info): Mirror the section symbol
4837 creation logic from obj_elf_create_section.
4838
4839 * config/obj-elf.c (elf_pseudo_tab): Add pushsection/popsection.
4840 (section_stack): New.
4841 (special_sections): Make const.
4842 (obj_elf_section): Gut and rewrite parsing.
4843 (obj_elf_change_section): New function broken out of obj_elf_section.
4844 (obj_elf_parse_section_letters): Likewise.
4845 (obj_elf_section_word): Likewise.
4846 (obj_elf_section_type): Likewise.
4847 (obj_elf_previous): Treat as a toggle.
4848 (obj_elf_popsection): New.
4849 * config/tc-ppc.c (ppc_section_word): Take str+len not ptr_str.
4850 (ppc_section_type): Likewise.
4851 * config/tc-ppc.h: Likewise.
4852
4853 * expr.h (struct expressionS): Don't make X_op a bitfield.
4854 * config/tc-alpha.c: Update for symbol handling changes.
4855 (md_apply_fix) [case GPREL]: Use now_seg instead of absolute_section.
4856 (load_expression, emit_ir_load, emit_loadstore, emit_jsrjmp): Likewise.
4857
4858 1999-06-05 Richard Henderson <rth@cygnus.com>
4859
4860 * dwarf2dbg.c (*): Convert to K&R + prototypes.
4861 (dwarf2_gen_line_info): Kill unused variables.
4862 (dwarf2_finish): Likewise.
4863 (dwarf2_where): Likewise.
4864 (dwarf2_directive_file): If we've only got a string,
4865 hand off to s_app_file.
4866 * ecoff.c: Move the include of ecoff.h.
4867 * symbols.h (S_IS_FUNCTION): Prototype.
4868
4869 * read.c (LEX_HASH): Supply a default.
4870 (lex_type): Use it.
4871 (s_globl): Update `c' after skipping whitespace.
4872 * read.h (LEX_END_NAME, is_name_ender): New.
4873 * expr.c (get_symbol_end): Respect it.
4874
4875 1999-06-04 Mark Klein <mklein@dis.com>
4876
4877 * config/tc-hppa.c (md_begin): Convert local symbol dummy_symbol
4878 to real if OBJ_SOM
4879 (tc_gen_reloc): Still need bfd_abs_symbol in some relocs.
4880
4881 * config/tc-hppa.c: Update for symbol handling changes.
4882
4883 1999-06-03 Ian Lance Taylor <ian@zembu.com>
4884
4885 * cgen.c: Update for symbol handling changes.
4886 * config/tc-m32r.c: Likewise.
4887
4888 * config/tc-hppa.h: Update for symbol handling changes.
4889 * config/tc-hppa.c: Likewise.
4890
4891 * config/tc-arm.h: Update for symbol handling changes.
4892 * config/tc-arm.c: Likewise.
4893 (symbol_make_empty): Remove. Just use symbol_create.
4894
4895 * symbols.c (symbol_set_tc): Correct name.
4896
4897 * Makefile.am: Rebuild dependencies.
4898 ($(OBJS)): Don't depend upon struc-symbol.h.
4899 (.dep1, .tcdep, .objdep): Create itbl-parse.h.
4900 * dep-in.sed: Don't remove struc-symbol.h.
4901 * Makefile.in: Rebuild.
4902
4903 * doc/internals.texi (Symbols): Describe changes in symbol
4904 handling.
4905
4906 1999-06-03 Richard Henderson <rth@cygnus.com>
4907
4908 * dwarf2dbg.c (dwarf2_gen_line_info): Use section_symbol
4909 instead of doing the work by hand.
4910
4911 1999-06-03 David Mosberger <davidm@hpl.hp.com>
4912
4913 * dwarf2dbg.c (INITIAL_STATE): New macro encapsulating initial
4914 state of line state-machine.
4915 (struct ls): Collect DWARF2 line state-machine state in new member
4916 SM. Add member EMPTY_SEQUENCE to keep track if a code sequence
4917 resulted in any DWARF2 directives.
4918 (reset_state_machine): New function.
4919 (out_end_sequence): Ditto.
4920 (dwarf2_gen_line_info): When switching sections or switching to a
4921 lower text address, call out_end_sequence() first to terminate the
4922 previous code sequence as code sequences MUST have monotonically
4923 increasing addresses.
4924 (dwarf2_finish): Call out_end_sequence() instead of open coding it.
4925
4926 1999-06-03 David Mosberger <davidm@hpl.hp.com>
4927
4928 * as.c (parse_args): Add option -gdwarf2 to allow requesting
4929 DWARF2 debug info (line information only, at this point).
4930 * as.h: Update comment about supported debug formats.
4931 * dwarf2dbg.c, dwarf2dbg.h: New files.
4932 * Makefile.am (GAS_CFILES, HFILES, GENERIC_OBJS): Add them.
4933
4934 * expr.c (operand): Don't use [ for parens if we want an index op.
4935 (op_encoding): Switch [ into O_index, if desired.
4936 (op_rank): Renumber with O_index on bottom.
4937 (expr): If O_index, match closing bracket.
4938 * expr.h (O_index): New.
4939
4940 * read.c (read_a_source_file): Conditionally allow matched "
4941 in lines passed to md_assemble.
4942
4943 * config/obj-elf.c (elf_pseudo_table): Add `common'.
4944
4945 1999-06-03 Ian Lance Taylor <ian@zembu.com>
4946
4947 Add support for storing local symbols in a small structure to save
4948 memory when assembling large files.
4949 * as.h: Don't include struc-symbol.h.
4950 (symbolS): Add typedef.
4951 * symbols.c: Include struc-symbol.h.
4952 (local_hash): New static variable.
4953 (save_symbol_name): New static function, from symbol_create.
4954 (symbol_create): Call save_symbol_name.
4955 (local_symbol_count): New static variable.
4956 (local_symbol_conversion_count): Likewise.
4957 (LOCAL_SYMBOL_CHECK): Define.
4958 (local_symbol_make): New static function.
4959 (local_symbol_convert): New static function.
4960 (colon): Handle local symbols. Create local symbol for local
4961 label name.
4962 (symbol_table_insert): Handle local symbols.
4963 (symbol_find_or_make): Create local symbol for local label name.
4964 (symbol_find_base): Check for local symbol.
4965 (symbol_append, symbol_insert): Check for local symbols.
4966 (symbol_clear_list_pointers, symbol_remove): Likewise.
4967 (verify_symbol_chain): Likewise.
4968 (copy_symbol_attributes): Likewise.
4969 (resolve_symbol_value): Handle local symbols.
4970 (resolve_local_symbol): New static function.
4971 (resolve_local_symbol_values): New function.
4972 (S_GET_VALUE, S_SET_VALUE): Handle local symbols.
4973 (S_IS_FUNCTION, S_IS_EXTERNAL, S_IS_WEAK, S_IS_COMMON): Likewise.
4974 (S_IS_DEFINED, S_IS_DEBUG, S_IS_LOCAL, S_GET_NAME): Likewise.
4975 (S_GET_SEGMENT, S_SET_SEGMENT, S_SET_EXTERNAL): Likewise.
4976 (S_CLEAR_EXTERNAL, S_SET_WEAK, S_SET_NAME): Likewise.
4977 (symbol_previous, symbol_next): New functions.
4978 (symbol_get_value_expression): Likewise.
4979 (symbol_set_value_expression): Likewise.
4980 (symbol_set_frag, symbol_get_frag): Likewise.
4981 (symbol_mark_used, symbol_clear_used, symbol_used_p): Likewise.
4982 (symbol_mark_used_in_reloc): Likewise.
4983 (symbol_clear_used_in_reloc, symbol_used_in_reloc_p): Likewise.
4984 (symbol_mark_mri_common, symbol_clear_mri_common): Likewise.
4985 (symbol_mri_common_p): Likewise.
4986 (symbol_mark_written, symbol_clear_written): Likewise.
4987 (symbol_written_p): Likewise.
4988 (symbol_mark_resolved, symbol_resolved_p): Likewise.
4989 (symbol_section_p, symbol_equated_p): Likewise.
4990 (symbol_constant_p): Likewise.
4991 (symbol_get_bfdsym, symbol_set_bfdsym): Likewise.
4992 (symbol_get_obj, symbol_set_obj): Likewise.
4993 (symbol_get_tc, symbol_set_tc): Likewise.
4994 (symbol_begin): Initialize local_hash.
4995 (print_symbol_value_1): Handle local symbols.
4996 (symbol_print_statistics): Print local symbol statistics.
4997 * symbols.h: Include "struc-symbol.h" if not BFD_ASSEMBLER.
4998 Declare new symbols.c functions. Move many declarations here from
4999 struc-symbol.h.
5000 (SYMBOLS_NEED_BACKPOINTERS): Define if needed.
5001 * struc-symbol.h (SYMBOLS_NEED_BACKPOINTERS): Don't set.
5002 (struct symbol): Move bsym to make it clearly the first field.
5003 Remove TARGET_SYMBOL_FIELDS.
5004 (symbolS): Don't typedef.
5005 (struct broken_word): Remove.
5006 (N_TYPE_seg, seg_N_TYPE): Move to symbol.h.
5007 (SEGMENT_TO_SYMBOL_TYPE, N_REGISTER): Likewise.
5008 (symbol_clear_list_pointers): Likewise.
5009 (symbol_insert, symbol_remove): Likewise.
5010 (symbol_previous, symbol_append): Likewise.
5011 (verify_symbol_chain, verify_symbol_chain_2): Likewise.
5012 (struct local_symbol): Define.
5013 (local_symbol_converted_p, local_symbol_mark_converted): Define.
5014 (local_symbol_resolved_p, local_symbol_mark_resolved): Define.
5015 (local_symbol_get_frag, local_symbol_set_frag): Define.
5016 (local_symbol_get_real_symbol): Define.
5017 (local_symbol_set_real_symbol): Define.
5018 Define.
5019 * write.c (write_object_file): Call resolve_local_symbol_values.
5020 * config/obj-ecoff.h (OBJ_SYMFIELD_TYPE): Define.
5021 (TARGET_SYMBOL_FIELDS): Don't define.
5022 * config/obj-elf.h (OBJ_SYMFIELD_TYPE): Add local field. If
5023 ECOFF_DEBUGGING, add ECOFF fields.
5024 (ELF_TARGET_SYMBOL_FIELDS, TARGET_SYMBOL_FIELDS): Don't define.
5025 * config/obj-multi.h (struct elf_obj_sy): Add local field. If
5026 ECOFF_DEBUGGING, add ECOFF fields.
5027 (ELF_TARGET_SYMBOL_FIELDS, TARGET_SYMBOL_FIELDS): Don't define.
5028 (ECOFF_DEBUG_TARGET_SYMBOL_FIELDS): Don't define.
5029 * config/tc-mcore.h: Don't include struc-symbol.h.
5030 (TARGET_SYMBOL_FIELDS): Don't define.
5031 (struct mcore_tc_sy): Define.
5032 (TC_SYMFIELD_TYPE): Define.
5033 * Many files: Use symbolS instead of struct symbol. Use new
5034 accessor functions rather than referring to symbolS fields
5035 directly.
5036
5037 * read.c (s_mri_common): Don't add in value of line_label.
5038
5039 * config/tc-mips.c (md_apply_fix): Correct parenthesization when
5040 checking for SEC_LINK_ONCE.
5041
5042 * config/tc-sh.h (sh_fix_adjustable): Declare.
5043
5044 * app.c (input_buffer): New static variable.
5045 (app_push): Save saved_input in allocated buffer.
5046 (app_pop): Restored saved_input.
5047 (do_scrub_chars): Change get parameter to take char * and int as
5048 arguments. Change GET macro to pass input_buffer to get
5049 function. Don't save input into allocated buffer.
5050 * as.h (do_scrub_chars): Update declaration.
5051 * input-file.c (input_file_get): Change to take char * and int.
5052 Read data into passed in buffer. Remove static buffer.
5053 * read.c (scrub_from_string): Change to take char * and int. Copy
5054 data into passed in buffer.
5055
5056 * hash.h: Neaten. Declare hash_traverse.
5057 * hash.c: Complete rewrite based on BFD hashing code.
5058 * gasp.c (chunksize): New variable.
5059 * macro.c (macro_expand_body): Call hash_jam with NULL rather than
5060 hash_delete.
5061
5062 1999-05-28 Nick Clifton <nickc@cygnus.com>
5063
5064 * config/tc-arm.c (md_apply_fix3): Add pipeline offset into reloc
5065 addend unless the target uses an old ABI.
5066
5067 Mon May 24 13:36:55 1999 Doug Evans <devans@canuck.cygnus.com>
5068
5069 -Wchar-subscripts cleanup
5070 * listing.c (listing_newline): Use unsigned char variable, so
5071 calls to isascii,iscntrl are correct.
5072 * atof-generic.c (atof_generic): Cast arg to isdigit, et. al. with
5073 (unsigned char).
5074 * ecoff.c (ecoff_directive_ent,ecoff_stab): Ditto.
5075 * config/obj-elf.c (obj_elf_vtable_inherit): Ditto.
5076 * config/tc-mips.c (mips_ip,mips16_ip): Ditto.
5077 (my_getSmallExpression,get_number,s_mips_ent): Ditto.
5078
5079 1999-05-28 Torbjorn Granlund <tege@matematik.su.se>
5080
5081 * config/tc-m68k.c (m68k_ip): Check for disallowed index register
5082 width for Coldfire.
5083 (arch_coldfire_p): New #define.
5084 (m68k_ip, m68k_init_after_args): Use arch_coldfire_p.
5085
5086 1999-05-28 Linus Nordberg <linus.nordberg@canit.se>
5087
5088 * config/tc-m68k.c (install_operand): Add places `n', `o'.
5089
5090 * config/tc-m68k.c (m68k_ip): Add formats `E', `G', `H'.
5091 (install_operand): Add place `N'.
5092 (init_table): Add registers ACC, MACSR, MASK.
5093
5094 * config/m68k-parse.h (m68k_register): Add ACC, MACSR, MASK.
5095
5096 * config/tc-m68k.c: Change mcf5200 --> mcf.
5097 (archs): Add mcf5206e, mcf5307.
5098 (m68k_ip): Add format `u'.
5099 (install_operand): Add place `m', `M', `h'.
5100 (init_table): Add upper/lower registers.
5101
5102 * config/m68k-parse.h (m68k_register): Add upper/lower registers.
5103
5104 1999-05-28 Martin Dorey <mdorey@madge.com>
5105
5106 * config/tc-i960.c: Several minor changes to add ELF and
5107 BFD_ASSEMBLER support.
5108 * config/tc-i960.h: Likewise.
5109 * configure.in (i960-*-elf*): New target.
5110 * aclocal.m4, configure: Rebuild.
5111
5112 1999-05-25 Alan Modra <alan@spri.levels.unisa.edu.au>
5113
5114 * config/tc-i386.c (md_apply_fix3): Only do 1999-05-17 fx_pcrel
5115 reloc changes when defined(BFD_ASSEMBLER).
5116
5117 1999-05-17 Alan Modra <alan@spri.levels.unisa.edu.au>
5118
5119 * config/tc-i386.c (tc_gen_reloc): Remove F and MAP macros.
5120
5121 * write.c (write_print_statistics): Output to file, not stderr.
5122
5123 * expr.c (generic_bignum_to_int32,64): Prototype.
5124
5125 * read.c (s_lcomm_internal, sizeof_sleb128, sizeof_uleb128,
5126 output_sleb128, output_uleb128, output_big_sleb128,
5127 output_big_uleb128, output_big_leb128): Prototype.
5128 (output_big_sleb128, output_big_uleb128): Make inline.
5129 (output_big_leb128): Remove inline
5130
5131 From Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5132 * config/tc-i386.c (md_apply_fix3): Convert BFD_RELOC_16 with
5133 fx_pcrel set to BFD_RELOC_16_PCREL. Similarly for BFD_RELOC_8.
5134 Handle BFD_RELOC_16_PCREL and BFD_RELOC_8_PCREL. Return changed
5135 value for correct overflow check in write.c:fixup_segment.
5136 * write.c (fixup_segment): Move bitfield overflow checks to after
5137 the md_apply_fix call.
5138 * config/obj-coff.c (fixup_segment): Likewise.
5139 * doc/internals.texi (CPU backend): Mention md_apply_fix modifying
5140 valueT *val argument.
5141
5142 Fri May 14 10:52:13 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5143
5144 * config/atof-ieee.c (gen_to_words): Correctly round a
5145 denormalized number. Fix off-by-one in range checking for
5146 exponent in a denormal.
5147
5148 1999-05-10 Nick Clifton <nickc@cygnus.com>
5149
5150 * config/tc-mcore.c (parse_reg): Accept 'sp' as a valid register
5151 name.
5152
5153 Thu May 13 09:46:59 1999 Joel Sherrill (joel@OARcorp.com)
5154
5155 * configure.in (i386-*-rtemself*, sh-*-rtemself*): New targets.
5156
5157 1999-05-12 Alan Modra <alan@spri.levels.unisa.edu.au>
5158
5159 * config/tc-i386.h (InvMem): New flag. Add to AnyMem.
5160 (ReverseRegRegmem): Remove.
5161 (ImmExt): New flag. Renumber some of the opcode_modifier bits.
5162 * config/tc-i386.c (md_assemble): Test for PIII SIMD and AMD
5163 3DNow! via ImmExt opcode_modifier. Remove ReverseRegRegmem
5164 kludge.
5165
5166 From Doug Ledford <dledford@redhat.com>
5167 * config/tc-i386.h (RegXMM): New for P/III.
5168 * config/tc-i386.c: Add support for P/III.
5169
5170 Sat May 8 23:28:50 1999 Richard Henderson <rth@cygnus.com>
5171
5172 * config/tc-ppc.c (md_parse_option): Recognize -mppc64bridge.
5173 (md_begin): Allow ppc32 insns in ppc64bridge mode.
5174 (ppc_insert_operand): Accept SIGNOPT in ppc64 mode.
5175
5176 Thu May 6 23:13:39 1999 Richard Henderson <rth@cygnus.com>
5177
5178 * config/tc-i386.c (i386_immediate): Skip whitespace before
5179 complaining about junk after expression.
5180 (i386_displacement): Likewise.
5181
5182 Thu May 6 19:50:14 1999 Richard Henderson <rth@cygnus.com>
5183
5184 * symbols.c (symbol_find_base): Use memcpy instead of strcpy.
5185 Don't copy before downcaseing.
5186
5187 1999-05-05 Catherine Moore <clm@cygnus.com>
5188
5189 * tc-m68k.c: Include elf/m68k.h.
5190 (m68k_elf_final_processing): New routine.
5191 * tc-m68k.h (elf_tc_final_processing m68k_elf_final_processing):
5192 Define.
5193
5194 Mon May 3 10:26:03 1999 Jeffrey A Law (law@cygnus.com)
5195
5196 * config/tc-hppa.c (md_apply_fix): Handle 22 bit fmt insn like a
5197 17 bit fmt insn.
5198
5199 1999-04-30 Nick Clifton <nickc@cygnus.com>
5200
5201 * config/tc-mcore.c (mcore_s_section): Dump literals before
5202 changing section.
5203
5204 1999-04-29 Nick Clifton <nickc@cygnus.com>
5205
5206 * config/tc-mcore.c (md_apply_fix3): Insert reloc addend into insn
5207 for COFF/PE port.
5208
5209 Mon Apr 26 12:34:37 1999 Doug Evans <devans@canuck.cygnus.com>
5210
5211 * config/tc-fr30.h (TC_FIX_TYPE): Delete, cgen fields moved to write.h.
5212 (TC_INIT_FIX_DATA): Delete.
5213 * config/tc-m32r.h (TC_FIX_TYPE): Delete, cgen fields moved to write.h.
5214 (TC_INIT_FIX_DATA): Delete.
5215 * write.h (struct fix): New member fx_cgen, ifdef USING_CGEN.
5216 * write.c (fix_new_internal): Initialize fx_cgen member.
5217 * cgen.c (gas_cgen_record_fixup,gas_cgen_record_fixup_exp): Update.
5218 (gas_cgen_md_apply_fix3): Update.
5219 * config/tc-m32r.c (md_cgen_lookup_reloc): Update.
5220 (md_cgen_record_fixup_exp): Update.
5221 (FX_OPINFO_R_TYPE): Update.
5222
5223 * frags.c (frag_var,frag_variant): Initialize fr_cgen here.
5224 * config/tc-fr30.h (TC_FRAG_INIT): Delete.
5225 * config/tc-m32r.h (TC_FRAG_INIT): Delete.
5226 * frags.h (struct frag): Make opindex, opinfo ints.
5227
5228 * config/tc-fr30.c (FX_OPINFO_R_TYPE): Delete, unused.
5229
5230 1999-04-26 Tom Tromey <tromey@cygnus.com>
5231
5232 * aclocal.m4, configure: Updated for new version of libtool.
5233
5234 1999-04-22 Nick Clifton <nickc@cygnus.com>
5235
5236 * config/tc-mcore.c (md_apply_fix3): Renamed function from
5237 md_apply_fix.
5238 (md_apply_fix3): Do not fix up absolute relocations against
5239 symbolic values.
5240
5241 * config/tc-mcore.h (MD_APPLY_FIX3): Define.
5242
5243 1999-04-20 Nick Clifton <nickc@cygnus.com>
5244
5245 * config/tc-mcore.c (md_pseudo_table): Add intercepts for section
5246 changes and data-in-text directives.
5247 (mcore_cons): New function: intercept cons() operations.
5248 (mcore_float_cons): New function: intercept float_cons()
5249 operations.
5250 (mcore_stringer): New function: intercept stringer() operations.
5251
5252 1999-04-18 Ian Lance Taylor <ian@zembu.com>
5253
5254 * obj.h (struct format_ops): Change generate_asm_lineno field to
5255 take no parameters.
5256 * config/obj-ecoff.h (OBJ_GENERATE_ASM_LINENO): Don't define.
5257
5258 * config/tc-alpha.c (find_opcode_match): Add default case to
5259 switch.
5260 (find_macro_match): Likewise.
5261 (load_expression): Parenthesize && within ||.
5262
5263 * config/tc-alpha.h (TC_RELOC_RTSYM_LOC_FIXUP): Define.
5264
5265 1999-04-17 Nick Clifton <nickc@cygnus.com>
5266
5267 * config/tc-mcore.c (md_pseudo_table): Add overrides for .bss
5268 .text .data .section pseudo ops.
5269 (mcore_s_section): New function. Dump lits before changing secs.
5270 (mcore_s_text): New function. Dump lits before changing secs.
5271 (mcore_s_data): New function. Dump lits before changing secs.
5272
5273 1999-04-16 Gavin Romig-Koch <gavin@cygnus.com>
5274
5275 * config/tc-mips.c (mips_32bitmode): New.
5276 (md_begin): Set mips_32bitmode if needed.
5277 (mips_elf_final_processing): Don't set EF_MIPS_ARCH.
5278 Set EF_MIPS_32BITMODE.
5279
5280 Fri Apr 16 12:26:39 1999 Bob Manson <manson@charmed.cygnus.com>
5281
5282 * config/obj-coff.c (c_section_symbol): Fix typo in previous
5283 change.
5284
5285 1999-04-16 Nick Clifton <nickc@cygnus.com>
5286
5287 * config/tc-mcore.h (LOCAL_LABELS_FB): Define to 1.
5288
5289 Thu Apr 15 16:52:09 1999 Jeffrey A Law (law@cygnus.com)
5290
5291 * tc-hppa.c (pa_get_absolute_exression): Try to handle "5 %r3"
5292 expressions correctly.
5293
5294
5295 1999-04-15 Gavin Romig-Koch <gavin@cygnus.com>
5296
5297 * config/tc-mips.c (mips_elf_final_processing): Set EF_MIPS_ARCH.
5298
5299 Mon Apr 12 23:45:07 1999 Jeffrey A Law (law@cygnus.com)
5300
5301 * tc-hppa.c (pa_ip, case '3'): New case for PA2.0 fmpyfadd
5302 and fmpynfadd instructions.
5303
5304 1999-04-11 Richard Henderson <rth@cygnus.com>
5305
5306 * as.h (environ): Declare it, if needed.
5307 * as.c (dump_statistics): Don't declare environ.
5308 * configure.in (environ): Detect declaration.
5309 * configure, config.in: Rebuild
5310
5311 * config/tc-i386.c (i386_immediate): Accept @GOT relocations.
5312 (i386_displacement): Allocate enough space for replacement buffer.
5313 Clean up replacement buffer initialization.
5314
5315 1999-04-11 Bob Manson <manson@charmed.cygnus.com>:
5316
5317 * subsegs.c (section_symbol): Don't create a new symbol if one
5318 already exists; instead, use the existing one, but set its segment
5319 and frag data if it hasn't already been defined.
5320 * config/obj-coff.c (c_section_symbol): Likewise.
5321
5322 Sat Apr 10 20:10:02 1999 Richard Henderson <rth@cygnus.com>
5323
5324 * tc-alpha.c (load_expression): Call as_bad instead of abort.
5325
5326 1999-04-08 Nick Clifton <nickc@cygnus.com>
5327
5328 * config/tc-mcore.c: New File: Support routines for MCore
5329 assembler.
5330 * config/tc-mcore.h: New File: Definitions for MCore assembler.
5331 * config/obj-coff.c: Add support for mcore-pe target.
5332
5333 * Makefile.am: Add support for MCore targets.
5334 * Makefile.in: Regenerate.
5335 * configure.in: Add support for MCore targets.
5336 * configure: Regenerate.
5337
5338 * doc/all.texi: Set MCORE.
5339 * doc/as.texinfo: Document MCore specific command line options.
5340
5341 * write.h: Prevent multiple inclusion.
5342
5343 1999-04-06 Ian Lance Taylor <ian@zembu.com>
5344
5345 * asintl.h (LC_MESSAGES): Never define.
5346 * as.c (main): Don't pass LC_MESSAGES to setlocale if the system
5347 does not define it.
5348 * gasp.c (main): Don't pass LC_MESSAGES to setlocale if the system
5349 does not define it.
5350
5351 * Makefile.am (m68k-parse.c): If configuring in the source
5352 directory, copy m68k-parse.y into the local directory before
5353 running ylwrap, to remove spurious differences when generating
5354 snapshots.
5355 * Makefile.in: Rebuild.
5356
5357 * config/tc-sparc.h (md_do_align): Just allocate the number of
5358 bytes necessary, rather than always allocating 1024.
5359
5360 1999-04-04 Ian Lance Taylor <ian@zembu.com>
5361
5362 * listing.c (listing_newline): Add cast to avoid warning.
5363 * read.c (generate_lineno_debug): Add cases to switch. Reindent.
5364 * config/tc-i386.c (i386_scale): Add return value.
5365 (build_displacement_string): Remove unused local temp_disp2.
5366 (i386_intel_memory_operand): Add parentheses to avoid warning.
5367 (i386_intel_operand): Remove unused local end_of_operand_string.
5368 (i386_operand): Remove unused local operand_modifier.
5369 (i386_operand): Add parens to avoid warning.
5370
5371 1999-04-04 Don Bowman <don@pixsci.com>
5372
5373 * configure.in: Add mips*-*-vxworks* target; have it define
5374 MIPS_STABS_ELF.
5375 * configure, config.in: Rebuild.
5376
5377 1999-03-31 Nick Clifton <nickc@cygnus.com>
5378
5379 * configure.in (emulations): Add support for arm-epoc-pe.
5380 * configure: Regenerate.
5381 * config/te-epoc-pe.h: New file. Define macros specific to
5382 arm-epoc-pe target.
5383 * config/tc-arm.h: Select epoc-pe-arm target format if configured
5384 for arm-epoc-pe target.
5385
5386 Mon Mar 29 10:15:40 CST 1999 Catherine Moore <clm@cygnus.com>
5387
5388 * tc-mips.c (md_apply_fix): Adjust value for linkonce sections.
5389
5390 Wed Mar 24 14:11:10 1999 Jeffrey A Law (law@cygnus.com)
5391
5392 * tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): Clean up code to
5393 detect ",n" without a condition.
5394 (pa_parse_neg_cmpsub_cmpltr): Likewise.
5395
5396
5397 Tue Mar 23 11:28:23 1999 Jeffrey A Law (law@cygnus.com)
5398
5399 * tc-hppa.c (pa_ip, case '~'): The condition for a branch on bit
5400 instruction is encoded with one bit.
5401
5402
5403 1999-03-23 Ian Lance Taylor <ian@zembu.com>
5404
5405 * doc/internals.texi (CPU backend): Mention that
5406 line_separator_chars should not include newline. From thi
5407 <ttn@mingle.glug.org>.
5408
5409 1999-03-22 Doug Evans <devans@casey.cygnus.com>
5410
5411 * config/tc-fr30.c (md_begin): Update call to fr30_cgen_cpu_open.
5412 * config/tc-m32r.c (md_begin): Update call to m32r_cgen_cpu_open.
5413
5414 Sun Mar 21 18:08:18 1999 Richard Henderson <rth@cygnus.com>
5415
5416 * tc-alpha.c (md_assemble): Allow '6' in an opcode.
5417
5418 Thu Mar 18 10:55:30 1999 Jeffrey A Law (law@cygnus.com)
5419
5420 * tc-hppa.c (pa_ip, case 'a'): Do not call pa_parse_..._cmpsub_cmpltr.
5421
5422
5423 Thu Mar 18 02:30:07 1999 Jeffrey A Law (law@cygnus.com)
5424
5425 * tc-hppa.c (pa_ip, case 'd'): Do not allow ",n".
5426
5427 1999-03-15 Martin Hunt <hunt@cygnus.com>
5428
5429 * app.c (do_scrub_begin): Change '-' back to a symbol char
5430 so we can use multiple opcodes on a line again.
5431
5432 * config/tc-d30v.c: By default, warn if a symbol has
5433 the same name as a register. Plus some minor
5434 updates from the branch.
5435
5436 1999-03-13 Nick Clifton <nickc@cygnus.com>
5437
5438 * config/tc-d30v.c (md_apply_fix3): Handle BFD_RELOC_8,
5439 BFD_RELOC_16 and BFD_RELOC_64.
5440
5441 1999-03-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5442
5443 * expr.c (expr): Add missing else.
5444
5445 1999-03-12 Nick Clifton <nickc@cygnus.com>
5446
5447 * config/tc-arm.c (md_apply_fix3): Improve error message.
5448
5449 1999-03-11 Doug Evans <devans@casey.cygnus.com>
5450
5451 * Makefile.am (CPU_TYPES): Add fr30.
5452 (cgen.o): Add $(CGEN_CPU_PREFIX)-desc.h dependency.
5453 (fr30,m32r dependencies): Update.
5454 * Makefile.in: Rebuild.
5455
5456 * cgen.c (gas_cgen_record_fixup): Update use of operand->type.
5457 (gas_cgen_record_fixup_exp): Ditto.
5458 (gas_cgen_finish_insn): Call cgen_operand_lookup_by_num.
5459 (gas_cgen_md_apply_fix3): Ditto. Update call to set_vma_operand.
5460 * config/tc-fr30.c (md_begin): Update call to fr30_cgen_cpu_open.
5461 (md_cgen_lookup_reloc): Update use of operand->type.
5462 * config/tc-m32r.c (md_begin): Update call to fr30_cgen_cpu_open.
5463 (md_convert_frag): Call cgen_operand_lookup_by_num.
5464 (md_cgen_lookup_reloc): Update use of operand->type.
5465 (m32r_cgen_record_fixup_exp): Ditto.
5466
5467 1999-03-09 Jim Blandy <jimb@zwingli.cygnus.com>
5468
5469 * config/tc-mips.c (md_show_usage): Fix message.
5470
5471 1999-03-03 Nick Clifton <nickc@cygnus.com>
5472
5473 * doc/c-arm.texi (ARM Syntax): Document new command line switches
5474 and LDR reg,=<expr> instruction.
5475
5476 * config/tc-arm.c: Add support for -mcpu=arm810, -mcpu=arm9 and
5477 -mcpu=arm9tdmi.
5478
5479 Fri Feb 19 09:36:30 1999 Ian Lance Taylor <ian@cygnus.com>
5480
5481 * doc/c-arm.texi (ARM-Chars): Fix typo in use of '@'.
5482
5483 1999-02-17 Nick Clifton <nickc@cygnus.com>
5484
5485 This patch was created by: Scott Bambrough
5486 <scottb@corelcomputer.com>
5487
5488 * app.c:
5489 Special cased '@' character. The '@' character is used as the
5490 ARM assembler comment character, as a special character
5491 and in ELF .symver pseudo-op's, and as a special character in
5492 .type and .section pseudo-ops.
5493 (symver_pseudo): New static variable.
5494 (symver_state): New static variable.
5495 (struct app_save): Add field 'symver_state'.
5496 (app_push): Save global symver_state int struct app_save.
5497 (app_pop): Restore global symver_state from struct app_save.
5498 (do_scrub_chars): Special case handling of '@' character in
5499 .symver pseudo-ops.
5500
5501 * configure.in: Modified to recognize armv* uname syntax from ARM
5502 Linux kernel.
5503 * configure: Regenerated.
5504
5505 * config/obj-elf.c (obj_elf_section): Allow '%' as well as '@' as
5506 a prefix to the section's type.
5507 (obj_elf_type): Allow '%' as well as '@' and '#' as prefixes to
5508 the type's typename.
5509
5510 * config/tc-arm.h: Add support for PIC generation:
5511 (pic_code): New boolean.
5512 (obj_relocate_extern): Define.
5513 (TC_RELOC_RTSYM_LOC_FIXUP): Define
5514 (TC_CONS_FIX_NEW): Define.
5515 (tc_fix_adjustable): Define.
5516 (GLOBAL_OFFSET_TABLE_NAME): Define.
5517
5518 * config/tc-arm.c: Add support for PIC generation:
5519 (line_seperator_chars): Allow ';' as a seperator for Linux.
5520 (is_immediate_prefix): New macro.
5521 (arm_parse_reloc): New function.
5522 (s_arm_elf_cons): New function.
5523 (do_branch): Special case for BFD_RELOC_ARM_PLT32.
5524 (md_undefined_symbol): Special case handling for the Global Offset
5525 Table's symbol.
5526 (md_apply_fix3): Handle PIC relocs.
5527 (tc_gen_reloc): Handle PIC relocs.
5528 (md_parse_option): Add support for '-k' command line switch to
5529 enable PIC generation.
5530 (cons_fix_new_arm): New function.
5531 (s_arm_elf_cons): New function.
5532
5533 Tue Feb 16 16:31:53 1999 Ian Lance Taylor <ian@cygnus.com>
5534
5535 * configure.in: Add comments for uses of AC_DEFINE.
5536 * acinclude.m4: Likewise.
5537 * acconfig.h: Remove.
5538 * aclocal.m4: Rebuild.
5539 * configure: Rebuild.
5540 * Makefile.in: Rebuild.
5541 * config.in: Rebuild.
5542
5543 1999-02-15 Jim Lemke <jlemke@cygnus.com>
5544
5545 * config/tc-mips.c (mips_ip: case 'o'): Fix assertion failure for
5546 non-constant offset from a base register.
5547
5548 1999-02-14 Ken Raeburn <raeburn@raeburn.org>
5549
5550 * config/tc-alpha.c (md_show_usage): Put \ before newline in
5551 strings always.
5552
5553 Sat Feb 13 14:10:10 1999 Richard Henderson <rth@cygnus.com>
5554
5555 * config/tc-alpha.c (cpu_types): Enable EV6 PALcode with -m21264.
5556 (emit_insn): Look for pc-relative and no-overflow specifiers on
5557 internal relocation types.
5558
5559 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
5560
5561 * doc/c-mips.texi (MIPS Opts): Updated list of -mNNNN and
5562 -mcpu=NNNN flags.
5563
5564 * config/tc-mips.c: Remove all the mips_NNNN variables; just use
5565 mips_cpu instead.
5566 (mips_4650, mips_4010, mips_4100): Variables removed.
5567 (hilo_interlocks, gpr_interlocks, append_insn, macro_build, macro,
5568 macro2, mips16_macro, mips_ip): Test mips_cpu, not the mips_NNNN
5569 variables.
5570 (md_begin): Don't bother initializing the mips_NNNN variables;
5571 mips_cpu is set, and that's good enough now.
5572 (md_parse_option): Have the -mNNNN options set mips_cpu instead of
5573 the mips_NNNN variable. The -no-mNNNN flags are now no-ops.
5574 (show): New function, to handle wrapping in the CPU lists.
5575 (md_show_usage): Update lists of -mcpu and -mNNNN switches.
5576
5577 Sat Feb 13 00:17:26 1999 Richard Henderson <rth@cygnus.com>
5578
5579 * config/tc-i386.c (i386_intel_operand): Ignore `SHORT' rather
5580 than treat as an immediate specifier.
5581
5582 Thu Feb 11 16:18:31 1999 Richard Henderson <rth@cygnus.com>
5583
5584 * config/tc-i386.c: Prototype many functions.
5585 (set_intel_syntax): Accept `prefix'/`noprefix' specifiers.
5586 (i386_immediate): Remove unused second argument.
5587 (i386_intel_operand): Fix i386_is_reg typo.
5588 (i386_operand): Use allow_naked_reg.
5589 (output_invalid): Make operand int for K&R.
5590
5591 Thu Feb 11 11:21:02 1999 Ian Lance Taylor <ian@cygnus.com>
5592
5593 * Makefile.am (EXTRA_as_new_SOURCES): Uncomment--fixed by automake
5594 patch.
5595 * Makefile.in: Rebuild.
5596
5597 1999-02-09 Doug Evans <devans@casey.cygnus.com>
5598
5599 * Makefile.am (DISTCLEANFILES): Change cgen-opc.h to cgen-desc.h.
5600 (cgen.o): Ditto.
5601 (EXTRA_as_new_SOURCES): Comment out.
5602 (.tcdep): <arch>-opc.h renamed to <arch>-desc.h.
5603 * Makefile.in: Rebuild.
5604 * doc/Makefile.in: Rebuild.
5605 * configure.in: Require autoconf 2.13. Redo using_cgen handling.
5606 Delete call to AM_CYGWIN32. Replace AM_EXEEXT with AC_EXEEXT.
5607 (AC_OUTPUT): <arch>-opc.h renamed to <arch>-desc.h.
5608 * configure: Rebuild.
5609 * aclocal.m4: Rebuild.
5610 * config.in: Rebuild.
5611 * cgen.c: Include cgen-desc.h, not cgen-opc.h.
5612 (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
5613 (gas_cgen_cpu_desc): Renamed from gas_cgen_opcode_desc.
5614 CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
5615 CGEN_OPERAND_ATTR renamed to CGEN_OPERAND_ATTR_VALUE.
5616 (gas_cgen_record_fixup): Remove unnecessary != 0 test.
5617 (gas_cgen_record_fixup_exp): Ditto.
5618 (gas_cgen_finish_insn): Ditto. Refer to operand table via cpu
5619 descriptor, not global variable.
5620 (gas_cgen_md_apply_fix3): Refer to operand_table via cpu
5621 descriptor, not global variable. Refer to insert_operand handler
5622 via cpu descriptor, not global function.
5623 * cgen.h (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
5624 * config/tc-fr30.c: Include opcodes/fr30-desc.h.
5625 (*): gas_cgen_opcode_desc renamed to gas_cgen_cpu_desc.
5626 CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
5627 Update call to CGEN_OPERAND_TYPE,CGEN_INSN_OPERANDS.
5628 * config/tc-m32r.c: Ditto.
5629 (assemble_two_insns): Update calls to cgen_lookup_get_insn_operands.
5630 (md_assemble): Ditto.
5631 (md_convert_frag): Update call to CGEN_OPERAND_ENTRY.
5632
5633 1999-02-09 Nick Clifton <nickc@cygnus.com>
5634
5635 * config/tc-arm.c (md_apply_fix3): Fix handling of label1 - label2
5636 relocations for ELF targets.
5637
5638 1999-02-08 Nick Clifton <nickc@cygnus.com>
5639
5640 * configure.in: Add support for StrongARM target.
5641 * configure: Regenerate.
5642
5643 1999-02-05 Nick Clifton <nickc@cygnus.com>
5644
5645 * config/tc-arm.h: Tidy OBJ_ELF and OBJ_COFF definitions.
5646
5647 * config/tc-arm.c (md_apply_fix3): Fix BFD_RELOC_ARM_PCREL_BRANCH
5648 for COFF ports.
5649
5650 Wed Feb 3 11:35:47 1999 Richard Henderson <rth@cygnus.com>
5651
5652 * config/tc-alpha.c (md_show_usage): Document pca56 and ev6 options.
5653
5654 Mon Feb 1 20:37:30 1999 Catherine Moore <clm@cygnus.com>
5655
5656 * config/tc-i386.h (LONG_DOUBLE_MNEM_SUFFIX): Define.
5657 (INTEL_DWORD_MNEM_SUFFIX): Define.
5658 (BYTE_PTR): Define.
5659 (WORD_PTR): Define.
5660 (DWORD_PTR): Define.
5661 (XWORD_PTR): Define.
5662 (SHORT): Define.
5663 (OFFSET_FLAT): Define.
5664 (FLAT): Define.
5665 (NONE_FOUND): Define.
5666 (No_dSuf): Define.
5667 (No_xSuf): Define.
5668 * config/tc-i386.c (set_intel_syntax): New routine.
5669 (intel_syntax): Declare.
5670 (allow_naked_reg): Declare.
5671 (md_pseudo_table): Support .intel_syntax and .att_syntax.
5672 (intel_float_operand): New routine.
5673 (md_assemble): Handle INTEL_DWORD_MNEM_SUFFIX.
5674 Handle brackets as well as parens. Call i386_intel_operand for
5675 intel syntax. Reverse operands if appropriate. Handle new
5676 suffixes. Handle movzx and movsx.
5677 (i386_is_reg): New routine.
5678 (i386_immediate): New routine.
5679 (i386_scale): New routine.
5680 (i386_displacement): New routine.
5681 (i386_operand_modifier): New routine.
5682 (build_displacement_string): New routine.
5683 (i386_parse_seg): New routine.
5684 (i386_intel_memory_operand): New routine.
5685 (i386_intel_operand): New routine.
5686 (i386_operand): Call i386_displacement, i386_immediate,
5687 i386_scale, etc. instead of handling inline.
5688 (parse_register): Handle registers without prefix.
5689
5690 Mon Feb 1 12:24:58 1999 Catherine Moore <clm@cygnus.com>
5691
5692 * configure: Regenerate.
5693 * configure.in (arm-*-oabi): New.
5694 (thumb-*-oabi): New.
5695 * config/tc-arm.c (target_oabi): Declare.
5696 (md_apply_fix3): Support REL relocs.
5697 (md_parse_option): Handle -oabi.
5698 (elf32_arm_target_format): New routine.
5699 (md_longopts): Add OPTION_OABI.
5700 * config/tc-arm.h: Redefine TARGET_FORMAT.
5701
5702
5703 1999-01-28 Nick Clifton <nickc@cygnus.com>
5704
5705 * write.c (write_relocs): Handle out of range error.
5706
5707 * config/tc-fr30.c (fr30_fix_adjustable): New function.
5708 (fr30_force_relocation): Default to 0.
5709
5710 * config/tc-fr30.h (obj_fix_adjustable): Define.
5711 (TC_FORCE_RELOCATION): Define.
5712
5713 * cgen.c (gas_cgen_md_apply_fix3): Do not apply fixes to VTABLE
5714 relocs.
5715
5716 1999-01-16 Nick Clifton <nickc@cygnus.com>
5717
5718 * config/tc-d30v.c (write_2_short): Do not generate a sequential
5719 merge of two instructions if the left instruciton kills the right.
5720
5721 1999-01-11 Doug Evans <devans@casey.cygnus.com>
5722
5723 * Makefile.in: Regenerate.
5724 * configure.in: Redo test for using cgen.
5725 * configure: Regenerate.
5726
5727 1999-01-09 Nick Clifton <nickc@cygnus.com>
5728
5729 * config/obj-coff.h (obj_adjust_symtab): Prevent accidental
5730 redefinition of this macro.
5731
5732 Tue Jan 5 21:58:03 1999 Doug Evans <devans@canuck.cygnus.com>
5733
5734 * config/tc-mips.c (mips_frob_file): Disable "Unmatched %hi reloc"
5735 warning.
5736
5737 1998-12-29 Gavin Romig-Koch <gavin@cygnus.com>
5738
5739 * config/tc-mips.c (append_insn): For mips16, insert a nop between
5740 a read of HI or LO and an immediatly following branch.
5741
5742 1998-12-29 Gavin Romig-Koch <gavin@cygnus.com>
5743
5744 * config/tc-mips.c (md_begin): Another correction to the setting of
5745 mips_eabi64.
5746
5747 1998-12-23 Gavin Romig-Koch <gavin@cygnus.com>
5748
5749 * config/tc-mips.c (md_begin): Correct type-o in setting of
5750 mips_eabi64.
5751
5752 1998-12-21 Nick Clifton <nickc@cygnus.com>
5753
5754 * config/tc-m32r.c (md_assemble): Emit a NOP after a relaxable 16
5755 bit insn when optimizing, so that parallelised instructions will
5756 start on a 32 bit boundary.
5757
5758 1998-12-19 Gavin Romig-Koch <gavin@cygnus.com>
5759
5760 * config/tc-mips.c (mips_eabi64): New.
5761 (md_begin): Set mips_eabi64.
5762 (mips_elf_final_processing): Use it.
5763
5764 1998-12-18 Gavin Romig-Koch <gavin@cygnus.com>
5765
5766 * config/tc-mips.c (mips_elf_final_processing):
5767 Correct setting of ABI in e_flags.
5768
5769 Wed Dec 16 16:17:22 1998 Dave Brolley <brolley@cygnus.com>
5770
5771 * config/tc-fr30.c (md_assemble): Warn about invalid instructions
5772 in delay slots.
5773
5774 1998-12-16 Gavin Romig-Koch <gavin@cygnus.com>
5775
5776 * config/tc-mips.c (md_begin,md_parse_option): Handle vr4111.
5777
5778 1998-12-15 Doug Evans <devans@casey.cygnus.com>
5779
5780 * cgen.c (gas_cgen_md_apply_fix3): Mark as an error, rather than a
5781 warning, values that don't fit in the field.
5782
5783 1998-12-15 Gavin Romig-Koch <gavin@cygnus.com>
5784
5785 * config/tc-mips.c (mips_abi_string): New.
5786 (md_parse_option,md_longopts): Add mabi.
5787 (mips_elf_final_processing): Set e_flags based on mabi flag.
5788
5789 1998-12-15 Gavin Romig-Koch <gavin@cygnus.com>
5790
5791 * config/tc-mips.c (md_parse_option): Handle vr4111.
5792
5793 98-12-11 Ken Raeburn <raeburn@cygnus.com>
5794
5795 * config/tc-h8300.c (build_bytes): Change message given if the
5796 instruction requires H8/300H mode and we're not in Hmode, to
5797 suggest that it may be the operand modes that are the problem, not
5798 necessarily the opcode.
5799
5800 1998-12-10 Nick Clifton <nickc@cygnus.com>
5801
5802 * config/tc-fr30.c: Add line separator character.
5803
5804 Tue Dec 8 19:51:50 1998 Mark Klein <mklein@dis.com>
5805
5806 * configure.in (hppa-*-mpeix*): New target.
5807 * config/obj-som.h (obj_som_compiler): Declare.
5808 * config/obj-som.c (compiler_seen): New static variable.
5809 (obj_som_compiler): New function.
5810 * config/tc-hppa.c: Update tc_data uses for change to bfd/som.h.
5811 (md_pseudo_table): Add "compiler" if OBJ_SOM.
5812 (pa_type_args): Set hppa_priv_level.
5813 (pa_compiler): New static function if OBJ_SOM.
5814 * configure: Rebuild.
5815
5816 Tue Dec 8 15:00:50 1998 Ian Lance Taylor <ian@cygnus.com>
5817
5818 * read.c (output_leb128): Don't mark as inline.
5819
5820 1998-12-08 Andrew MacLeod <amacleod@cygnus.com>
5821
5822 * config/tc-ppc.c (ppc_vbyte): Prototype and new function for
5823 AIX .vbyte unaligned data support.
5824 (md_pseudo_table): Add 'vbyte' to list of valid pseudos.
5825 (ppc_elf_validate_fix): Add eh_frame to list of ELF relocatable
5826 sections.
5827
5828 1998-12-07 Nick Clifton <nickc@cygnus.com>
5829
5830 * config/tc-d30v.c (md_assemble, do_assemble): Improve erroneous
5831 input handling.
5832
5833 Mon Dec 7 09:48:34 1998 Catherine Moore <clm@cygnus.com>
5834
5835 * config/tc-arm.c (elf32_arm_force_relocation): Check for
5836 BFD_RELOC_ARM_PCREL_BRANCH.
5837
5838 Sun Dec 6 12:46:36 1998 Ian Lance Taylor <ian@cygnus.com>
5839
5840 * configure.in: Define TARGET_BYTES_{BIG,LITTLE}_ENDIAN after
5841 checking the target type.
5842 (mips-dec-bsd*): Set endian to little.
5843 * configure: Rebuild.
5844
5845 COFF weak symbol support, based on patches from Mark Elbrecht
5846 <snowball3@usa.net>:
5847 * config/obj-coff.h (S_IS_WEAK): Define if not BFD_ASSEMBLER.
5848 * config/obj-coff.c (obj_coff_weak): New static function.
5849 (obj_coff_endef) [both versions]: Handle weak symbols.
5850 (coff_frob_symbol): Likewise.
5851 (yank_symbols): Likewise.
5852 (obj_pseudo_table): Add "weak".
5853
5854 * configure.in (m68k-*-gnu*): New target. From Aymeric Vincent
5855 <aymeric.vincent@emi.u-bordeaux.fr>.
5856 * aclocal.m4: Rebuild with current tools.
5857 * configure: Rebuild.
5858
5859 * config/tc-alpha.c (emit_ldgp): Give an error message rather than
5860 an assertion failure for a case we can't handle when OBJ_ECOFF.
5861
5862 * expr.c (operator): And with 0xff to avoid problems with signed
5863 char.
5864
5865 1998-12-03 Nick Clifton <nickc@cygnus.com>
5866
5867 * config/tc-fr30.c (md_cgen_lookup_reloc): Generate
5868 BFD_RELOC_FR30_48 instead of BFD_RELOC_FR30_32.
5869
5870 1998-12-02 Nick Clifton <nickc@cygnus.com>
5871
5872 * config/tc-fr30.c (md_cgen_lookup_reloc): Enable relocs for
5873 LDI:20 insn.
5874
5875 Thu Nov 26 11:23:48 1998 Dave Brolley <brolley@cygnus.com>
5876
5877 * config/tc-fr30.c (md_pcrel_from_section): Restore previous
5878 calculation of pcrel point.
5879
5880 Tue Nov 24 17:21:52 1998 Nick Clifton <nickc@cygnus.com>
5881
5882 * config/tc-fr30.c (md_pcrel_from_section): Fix calculation of
5883 pcrel point.
5884
5885 Tue Nov 24 14:54:38 1998 Nick Clifton <nickc@cygnus.com>
5886
5887 * config/tc-d10v.c (md_assemble): Make static 'etype' have file
5888 scope.
5889 (d10v_cleanup): Only generate previous insn if a multiline insn is
5890 not pending.
5891
5892 Fri Nov 20 11:41:13 1998 Nick Clifton <nickc@cygnus.com>
5893
5894 * config/tc-fr30.c (md_cgen_lookup_reloc): Add support for
5895 FR30_OPERAND_I32.
5896
5897 Thu Nov 19 15:01:29 1998 Nick Clifton <nickc@cygnus.com>
5898
5899 * config/tc-arm.c (md_parse_option): Add support for -marm7xxx and
5900 -marm6xxx command line switches.
5901
5902 1998-11-18 Doug Evans <devans@casey.cygnus.com>
5903
5904 * Makefile.am (DEP): Use $(srcdir)/../mkdep.
5905 (itbl-ops.o): Delete duplicate dependencies.
5906 Rebuild dependencies.
5907 Add fr30 dependencies.
5908 * Makefile.in: Rebuild.
5909
5910 Tue Nov 17 13:42:42 1998 Nick Clifton <nickc@cygnus.com>
5911
5912 * config/tc-fr30.c (md_cgen_lookup_reloc): Updated to match latest
5913 opcode list.
5914 * listing.c: Ignore line terminator characters found inside
5915 strings.
5916
5917 Thu Nov 12 19:21:24 1998 Dave Brolley <brolley@cygnus.com>
5918
5919 * po/gas.pot: Regenerated.
5920
5921 Thu Nov 12 10:54:16 1998 Nick Clifton <nickc@cygnus.com>
5922
5923 * config/tc-fr30.c (fr30_is_colon_insn): New name for
5924 fr30_is_label_start(). Also checks for delay slot insns.
5925
5926 * config/tc-fr30.c (fr30_is_label_start): New function: Handle
5927 FR30 instructions which contain a colon in the mnemonic.
5928
5929 * config/tc-fr30.h (TC_START_LABEL): Define this macro.
5930
5931 Wed Nov 11 09:58:21 1998 Nick Clifton <nickc@cygnus.com>
5932
5933 * config/tc-fr30.c: Removed currently superflous code.
5934
5935 Tue Nov 10 13:13:05 1998 Nick Clifton <nickc@cygnus.com>
5936
5937 * config/tc-fr30.h: New file.
5938 * config/tc-fr30.c: Tweaking so that it will compile.
5939
5940 Tue Nov 10 14:41:33 1998 Catherine Moore <clm@cygnus.com>
5941
5942 * config/tc-d10v.h (obj_fix_adjustable): Define.
5943 (TC_FORCE_RELOCATION): Define.
5944 (d10v_force_relocation): Declare.
5945 * config/tc-d10v.c (tc_gen_reloc): Handle Vtable relocs.
5946 (md_apply_fix3): Handle Vtable relocs.
5947 (d10v_fix_adjustable): New.
5948 (d10v_force_relocation): New.
5949
5950 Mon Nov 9 14:25:06 1998 Nick Clifton <nickc@cygnus.com>
5951
5952 * config/tc-d30v.c: Change default behaviour to ignore potential
5953 conflicts between register name and symbol names.
5954
5955 Wed Nov 4 18:42:00 1998 Dave Brolley <brolley@cygnus.com>
5956
5957 * configure.in: Add fr30-*-*.
5958 * config/tc-fr30.c: New file.
5959 * Makefile.in: Regenerated.
5960 * config.in: Regenerated.
5961 * configure: Regenerated.
5962 * doc/Makefile.in: Regenerated.
5963 * po/gas.pot: Regenerated.
5964
5965 Mon Nov 2 20:54:16 1998 Doug Evans <devans@canuck.cygnus.com>
5966
5967 * config/tc-m32r.c (assemble_two_insns): Ensure both insns
5968 are 16 bit insns.
5969
5970 Mon Nov 2 20:10:18 1998 Martin von Loewis <loewis@informatik.hu-berlin.de>
5971
5972 * app.c (do_scrub_begin): Set characters above 127 to be symbol
5973 characters.
5974 (do_scrub_chars): Add some casts to unsigned char to avoid
5975 unwanted sign extension.
5976 * read.c (lex_type): Set characters about 127 to be symbol
5977 characters.
5978 * config/tc-i386.c (md_begin): Set identifier_chars and
5979 operand_chars for values above 127.
5980
5981 Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
5982
5983 * configure.in: detect cygwin* instead of cygwin32*
5984 * configure: regenerate
5985
5986 Tue Oct 27 13:18:40 1998 Nick Clifton <nickc@cygnus.com>
5987
5988 * listing.c: Add support for producing a listing from piped
5989 input.
5990
5991 Tue Oct 27 08:56:44 1998 Gavin Romig-Koch <gavin@cygnus.com>
5992
5993 * config/tc-mips.c (hilo_interlocks): Remove mips_3900.
5994 (append_insn): Account for the tx39's multiply behavior.
5995
5996 1998-10-26 Michael Meissner <meissner@cygnus.com>
5997
5998 * config/tc-m32r.c (assemble_two_insns): Rename assemble_two_insns
5999 from assemble_parallel_insns. Add support for '->' to indicate
6000 explicitly serializing the instructions.
6001 (md_assemble): Ditto.
6002
6003 Sat Oct 24 15:12:19 1998 Catherine Moore <clm@cygnus.com>
6004
6005 * config/tc-sh.c (sh_fix_adjustable): Adjust EXTERN and
6006 WEAK handling.
6007
6008 Thu Oct 22 12:41:33 1998 Catherine Moore <clm@cygnus.com>
6009
6010 * cgen.c (gas_cgen_md_apply_fix3): Revert last change.
6011
6012 Thu Oct 22 10:03:15 1998 Ron Unrau <runrau@cygnus.com>
6013
6014 * config/tc-mips.c : support frame and regmask/fregmask when
6015 MIPS_STABS_ELF is specified.
6016
6017 Wed Oct 21 11;34:51 1998 Catherine Moore <clm@cygnus.com>
6018
6019 * config/tc-sh.c (sh_fix_adjustable): Only include if OBJ_ELF.
6020 (md_apply_fix): Don't return 1 for VTABLE relocs.
6021 * config/tc-sh.h (obj_fix_adjustable): Define only if OBJ_ELF.
6022
6023 Tue Oct 20 11:18:28 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
6024
6025 * doc/c-i386.texi: Replace occurences of "opcode" with
6026 "instruction mnemonic", "instruction", or "mnemonic" when
6027 referring to the name of an instruction. Use "opcode" when
6028 referring to the sequence of machine bytes.
6029
6030 * config/tc-i386.c (opcode_chars): Rename to mnemonic_chars.
6031 (is_opcode_char): Rename to is_mnemonic_char.
6032 (md_assemble and i386_operand): Correct error messages from
6033 "opcode" to "instruction mnemonic"
6034 Rename throughout opcode[] -> mnemonic[], opp -> mnem_p,
6035 MAX_OPCODE_SIZE -> MAX_MNEM_SIZE,
6036 DWORD_OPCODE_SUFFIX -> DWORD_MNEM_SUFFIX,
6037 WORD_OPCODE_SUFFIX -> WORD_MNEM_SUFFIX,
6038 BYTE_OPCODE_SUFFIX -> BYTE_MNEM_SUFFIX,
6039 SHORT_OPCODE_SUFFIX -> SHORT_MNEM_SUFFIX
6040 LONG_OPCODE_SUFFIX -> LONG_MNEM_SUFFIX
6041
6042 * config/tc-i386.h (*_MNEM_SUFFIX): Rename from *_OPCODE_SUFFIX.
6043
6044 * config/tc-i386.c (i386_operand): Check for garbage after
6045 register name.
6046
6047 Tue Oct 20 10:49:42 1998 Ian Lance Taylor <ian@cygnus.com>
6048
6049 * config/tc-i386.c (md_apply_fix3): Change handling of PCREL reloc
6050 for BFD_ASSEMBLER to only change value when COFF if TE_PE.
6051
6052 Mon Oct 19 20:20:42 1998 Catherine Moore <clm@cygnus.com>
6053
6054 * config/tc-sh.h (obj_fix_adjustable): Define.
6055 * config/tc-sh.c (sh_force_relocation): Handle VT relocs.
6056 (md_apply_fix): Likewise.
6057 (tc_gen_reloc): Likewise.
6058 (sh_fix_adjustable): New.
6059
6060 Mon Oct 19 12:35:43 1998 Doug Evans <devans@seba.cygnus.com>
6061
6062 * cgen.c (gas_cgen_finish_insn): Update handling of CGEN_INT_INSN_P.
6063 * cgen.h (gas_cgen_finish_insn): Update prototype.
6064 * config/tc-m32r.c (m32r_insn): CGEN_INT_INSN -> CGEN_INT_INSN_P.
6065 cgen_insn_t -> CGEN_INSN_INT.
6066 (make_parallel): Update handling of CGEN_INT_INSN_P.
6067 (assemble_parallel_insn): Ditto.
6068 (target_make_parallel): New function.
6069 (md_assemble): Use it.
6070
6071 Mon Oct 19 13:16:12 1998 Catherine Moore <clm@cygnus.com>
6072
6073 * config/tc-m32r.c (m32r_force_relocation): Fix typo.
6074
6075 Sun Oct 18 18:48:57 1998 Jeffrey A Law (law@cygnus.com)
6076
6077 * config/tc-sh.c (md_assemble): Make sure the entire opcode is
6078 converted into lower case.
6079
6080 Fri Oct 16 13:36:34 CDT Catherine Moore <clm@cygnus.com>
6081
6082 * cgen.c (gas_cgen_md_apply_fix3): Handle VTABLE relocs.
6083 (gas_cgen_tc_gen_reloc): Likewise.
6084 * config/tc-m32r.h (obj_fix_adjustable): Define.
6085 * config/tc-m32r.c (m32r_fix_adjustable): New.
6086 (m32r_force_relocation): Handle VTABLE relocs.
6087
6088 Wed Oct 14 11:33:38 1998 Nick Clifton <nickc@cygnus.com>
6089
6090 * doc/c-arm.texi (ARM Directives): Document .ltorn directive.
6091
6092 Mon Oct 12 11:07:21 1998 Nick Clifton <nickc@cygnus.com>
6093
6094 * config/tc-m32r.c (assemble_parallel_insn): Convert second opcode
6095 to lower case before parsing.
6096
6097 * config/tc-d30v.c (parallel_ok): Ignore conflicts when explicitly
6098 parallel insns modift buts in the PSW as a side effect.
6099
6100 Thu Oct 8 10:18:33 1998 Nick Clifton <nickc@cygnus.com>
6101
6102 * config/tc-d30v.c (find_format): Test for missing flag and
6103 control registers.
6104
6105 (md_apply_fix3): Fix error messages to avoid
6106 assumption about presence of a symbol.
6107
6108 (parallel_ok): Disallow parallel instructions that both modify the
6109 same flag register.
6110
6111 (find_format): Generate a warning if an odd numbered register is
6112 used as the first register in a mutli-register instruction.
6113
6114 Wed Oct 7 14:09:14 1998 Nick Clifton <nickc@cygnus.com>
6115
6116 * config/tc-d30v.c (md_apply_fix3): Do not assume that bad
6117 relocations are always associated with a symbol.
6118
6119 Tue Oct 6 09:31:15 1998 Catherine Moore <clm@cygnus.com>
6120
6121 * tc-sparc.h (TC_FORCE_RELOCATION): Define.
6122 (elf32_sparc_force_relocation): Declare.
6123 * tc-sparc.c (md_apply_fix3): Handle vtable relocs.
6124 (tc_gen_reloc): Handle vtable relocs.
6125 (elf32_sparc_force_relocation): New.
6126
6127 Mon Oct 5 09:25:32 1998 Catherine Moore <clm@cygnsu.com>
6128
6129 * symbols.c (S_IS_FUNCTION): New.
6130 * config/tc-v850.h (obj_fix_adjustable): Define.
6131 (TC_FORCE_RELOCATION): Define.
6132 (v850_force_relocation): Declare.
6133 * config/tc-v850.c (tc_gen_reloc): Use offset instead
6134 of fx_addnumber for VTABLE reloc addends.
6135 (md_apply_fix3): Handle VTABLE relocs.
6136 (v850_fix_adjustable): New.
6137 (v850_force_relocation): New.
6138
6139 Mon Oct 5 00:48:52 1998 Jeffrey A Law (law@cygnus.com)
6140
6141 * tc-hppa.c (fp_operand_format): Add some additional formats.
6142 (pa_ip): Do not automatically promote into pa2.0 mode.
6143 (pa_level): Handle ".level 2.0".
6144
6145 Sun Oct 4 20:57:43 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
6146
6147 * config/tc-i386.c (md_assemble): Handle AMD_3DNOW_OPCODE.
6148 * config/tc-i386.h (template.extension_opcode): Change to
6149 unsigned int to allow full range of 8-bit opcode suffixes.
6150 (None): Redefine as 0xffff.
6151
6152 From Jeff B Epler <jepler@usgs.gov>
6153 * doc/c-i386.texi (i386-SIMD): New section.
6154
6155 Thu Oct 1 15:37:54 1998 Richard Henderson <rth@cygnus.com>
6156
6157 * read.c (discard_rest_of_line): New function.
6158 * read.h: Declare it.
6159 * config/tc-alpha.c (s_alpha_mask, s_alpha_frame): Use it.
6160
6161 Thu Oct 1 10:33:53 1998 Nick Clifton <nickc@cygnus.com>
6162
6163 * config/tc-d10v.c (find_symbol_matching_register): New function.
6164 (find_opcode): Cope with the case where a register name matches
6165 a symbol name.
6166
6167 Wed Sep 30 10:52:32 1998 Nick Clifton <nickc@cygnus.com>
6168
6169 * config/tc-v850.c (md_pcrel_from): Rename to
6170 v850_pcrel_from_section.
6171 (v850_pcrel_from_section): Do not resolves symbols in other
6172 sections.
6173
6174 * config/tc-v850.h (MD_PCREL_FROM_SECTION): Define.
6175
6176 Mon Sep 28 11:01:20 1998 Nick Clifton <nickc@cygnus.com>
6177
6178 * config/tc-d10v.c (find_opcode): Generate an error if a register
6179 is supplied for an operand that should not be a register.
6180
6181 Fri Sep 25 10:04:21 1998 Nick Clifton <nickc@cygnus.com>
6182
6183 * config/tc-d30v.c (write_2_short): But do allow delayed branch
6184 instructions to have another instruction in the right bin.
6185
6186 Thu Sep 24 09:28:34 1998 Nick Clifton <nickc@cygnus.com>
6187
6188 * config/tc-d30v.c (write_2_short): Do not allow instructions in
6189 the right container if the left container holds a branch
6190 instruction.
6191
6192 Wed Sep 23 10:54:29 1998 Nick Clifton <nickc@cygnus.com>
6193
6194 * config/tc-d30v.c (reg_name_search): Only warn if a name matches
6195 both a register name and symbol name.
6196 (find_format): Allow correct parsing of MVTSYS and MVFSYS insns.
6197
6198 Tue Sep 22 17:49:16 1998 Nick Clifton <nickc@cygnus.com>
6199
6200 * config/tc-d30v.c (write_2_short): Implement EITHER_BUT_PREFER_MU
6201 execution unit class.
6202
6203 (reg_name_search): If a name matches a register and a symbol,
6204 prefer the register.
6205 (find_format): Disallow flag registers when a general purpose
6206 register is required.
6207 If a number is required, but a register has been given, check to
6208 see if a symbol with the same name as the register exists, and if
6209 so, use that symbol.
6210
6211 Tue Sep 22 16:40:52 1998 Jim Wilson <wilson@cygnus.com>
6212
6213 * config/obj-elf.h (ECOFF_DEBUGGING): Add missing parens.
6214
6215 Tue Sep 22 15:44:21 1998 Nick Clifton <nickc@cygnus.com>
6216
6217 * config/tc-d30v.c (find_format): Do not accept flag registers as
6218 general purpose registers.
6219 (find_format): If an immediate value is expected at a given place
6220 in a format, but a register name has been provided instead, check
6221 to see if that register name matches the name of a predefined
6222 symbol and if it does, then use the symbol instead.
6223 (reg_name_search): If a register name matches a symbol name,
6224 prefer the register name to the symbol name.
6225
6226 Mon Sep 21 10:42:57 1998 Nick Clifton <nickc@cygnus.com>
6227
6228 * config/tc-m32r.c (m32r_do_align): After inserting NOPs, reset
6229 the previous insn to empty.
6230
6231 1998-09-20 Michael Meissner <meissner@cygnus.com>
6232
6233 * config/tc-ppc.c (md_apply_fix3): Do not break string into two
6234 pieces, forcing the use of an ANSI compiler.
6235
6236 Sun Sep 20 00:58:12 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6237
6238 * config/tc-m68k.h (TC_FORCE_RELOCATION): New macro. Force vtable
6239 relocs.
6240 * config/tc-m68k.c (md_apply_fix_2): Do nothing for vtable relocs.
6241
6242 Tue Sep 15 08:51:07 1998 Catherine Moore <clm@cygnus.com>
6243
6244 * config/obj-elf.c (obj_elf_vtable_inherit): Handle arm
6245 assembler syntax.
6246 (obj_elf_vtable_entry): Likewise.
6247 * config/tc-arm.h: Define TC_FORCE_RELOCATION for OBJ_ELF.
6248 * config/tc-arm.c (md_apply_fix3): Handle VTABLE relocations.
6249 (tc_gen_reloc): Likewise.
6250 (arm_fix_adjustable): Likewise.
6251 (elf32_arm_force_relocation): New.
6252 (armelf_frob_symbol): Remove coff-style symbol support.
6253
6254 Wed Sep 9 11:27:16 1998 Richard Henderson <rth@cygnus.com>
6255
6256 * config/tc-i386.c (i386_operand): Fix typo in last patch.
6257
6258 Tue Sep 8 18:10:01 1998 Catherine Moore <clm@cygnus.com>
6259
6260 * config/tc-arm.c (arm_adjust_symtab): Move #ifdef
6261 OBJ_COFF so that routine is defined for a.out format.
6262
6263 Tue Sep 8 15:56:19 1998 Richard Henderson <rth@cygnus.com>
6264
6265 * config/tc-i386.c (i386_operand): Detect non-segment registers
6266 used as segment prefixes.
6267
6268 Sat Sep 5 19:00:38 1998 Ian Lance Taylor <ian@cygnus.com>
6269
6270 * ehopt.c (check_eh_frame): Check the size of the FDE, and don't
6271 optimize across FDE boundaries.
6272
6273 * config/obj-coff.c (obj_coff_section): Preserve any link once
6274 flags when setting the section flags.
6275
6276 Fri Sep 4 17:07:14 1998 Nick Clifton <nickc@cygnus.com>
6277
6278 * config/tc-arm.h (obj_adjust_symtab): Fixed typo.
6279 * config/tc-arm.c (armelf_adjust_symtab): Reformatted.
6280
6281 Fri Sep 4 13:57:43 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
6282
6283 * config/tc-sparc.c (in_signed_range): Sign extend 32-bit words
6284 to the host width.
6285
6286 Wed Sep 2 11:31:14 1998 Richard Henderson <rth@cygnus.com>
6287
6288 * frags.c (frag_grow): Include the size of the frag struct in the
6289 obstack chunk size.
6290
6291 * subsegs.c (subseg_set_rest): Adjust the seginfo frchain start
6292 if the new subseg comes before the old.
6293
6294 Tue Sep 1 15:01:33 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
6295
6296 * config/tc-sparc.c (sparc_ip): Allow all digits in an instruction
6297 to handle edge8 and edge16.
6298
6299 Mon Aug 31 09:51:14 1998 Richard Henderson <rth@cygnus.com>
6300
6301 * config/obj-elf.c (obj_elf_vtable_inherit): Print error message
6302 before we clobber the symbol involved.
6303
6304 Mon Aug 31 10:58:06 1998 Catherine Moore <clm@cygnus.com>
6305
6306 * config/tc-arm.c: Remove OBJ_ELF definitions for
6307 S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS. Only
6308 use arm_adjust_symtab for OBJ_COFF.
6309 (armelf_adjust_symtab): New Routine.
6310 * config/tc-arm.h: Define obj_adjust_symtab to
6311 armelf_adjust_symtab for OBJ_ELF.
6312
6313 Sat Aug 29 22:18:51 1998 Richard Henderson <rth@cygnus.com>
6314
6315 * configure.in: Make all i386-elf targets use bfd_gas.
6316 * config/tc-i386.c (tc_i386_force_relocation): New.
6317 (tc_i386_fix_adjustable): Don't fix vtable relocs.
6318 (md_apply_fix3): Likewise.
6319 (tc_gen_reloc): Handle them.
6320 * config/tc-i386.h (TC_FORCE_RELOCATION): Always define, calling
6321 tc_i386_force_relocation.
6322
6323 Mon Aug 24 13:40:21 1998 Nick Clifton <nickc@cygnus.com>
6324
6325 * config/tc-arm.c (md_show_usage): Improve formatting of --help output.
6326
6327 Fri Aug 21 18:43:48 1998 Nick Clifton <nickc@cygnus.com>
6328
6329 * config/tc-d30v.c (md_assemble): Copy previous opcode over
6330 current opcode after writing the first insturction of a reverse
6331 sequential pair.
6332
6333 Fri Aug 21 07:30:35 1998 Doug Evans <devans@canuck.cygnus.com>
6334
6335 * read.h (generate_lineno_debug): Add prototype.
6336 * read.c (generate_lineno_debug): Make non-static.
6337
6338 Thu Aug 20 23:17:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
6339
6340 * config/tc-i386.c (md_assemble): Only warn for address/data size
6341 prefixes.
6342
6343 Thu Aug 20 14:45:08 1998 Nick Clifton <nickc@cygnus.com>
6344
6345 * config/tc-arm.c (arm_fix_adjustable): Do not adjust relocations
6346 against Thumb function names, as the linker needs this information.
6347
6348 1998-08-20 Vladimir N. Makarov <vmakarov@cygnus.com>
6349
6350 * expr.c (operand): Check also that there is no advance in operand
6351 after atof_generic in order to decide "is it label 0f or floating
6352 point number?".
6353
6354 Wed Aug 19 09:30:16 1998 Nick Clifton <nickc@cygnus.com>
6355
6356 * config/tc-m32r.c: Replace double dash prefix to M32R specific
6357 command line options with a single dash.
6358 * doc/c-m32r.texi: Replace double dash prefix with a single dash.
6359
6360 Tue Aug 18 11:59:43 1998 Catherine Moore <clm@cygnus.com>
6361
6362 * tc-arm.h: Define obj_fix_adjustable for OBJ_ELF.
6363 * tc-arm.c (arm_fix_adjustable): New routine.
6364
6365 1998-08-13 Vladimir N. Makarov <vmakarov@cygnus.com>
6366
6367 * read.c (s_align, s_comm, s_mri_common, s_fail, s_globl, s_space,
6368 s_float_space, s_struct, cons_worker): Move ignore_rest_of_line or
6369 demand_empty_rest_of_line before mri_comment_end.
6370 (equals): Check garbage after expression before
6371 mri_comment_end in MRI mode.
6372
6373 Thu Aug 13 15:08:42 1998 Ian Lance Taylor <ian@cygnus.com>
6374
6375 * config/tc-mips.c (macro): Correct M_SGE_I/M_SGEUI_I case for a
6376 small immediate constant to use the constant itself rather than
6377 always using 1.
6378
6379 Wed Aug 12 18:47:38 1998 Ian Lance Taylor <ian@cygnus.com>
6380
6381 * config/tc-hppa.c (pa_enter): Call as_bad rather than abort.
6382 (pa_leave): Likewise.
6383
6384 Wed Aug 12 13:25:03 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
6385
6386 * config/tc-i386.c (md_assemble): Emit a warning for stand-alone
6387 prefixes.
6388 (i386_operand): Fix an error message.
6389
6390 Tue Aug 11 14:44:32 1998 Nick Clifton <nickc@cygnus.com>
6391
6392 * doc/c-arm.texi (ARM Directives): Document .req directive.
6393
6394 * config/tc-arm.c (reg_required_here): Display erroneous string if
6395 the register name could not be decoded.
6396 Do not set inst.instruction if the sift is -1.
6397
6398 Mon Aug 10 15:39:56 1998 Richard Henderson <rth@cygnus.com>
6399
6400 * config/tc-alpha.c (tc_gen_reloc): Bias WEAK symbols just as
6401 we do for EXTERN.
6402
6403 Mon Aug 10 15:06:18 1998 Nick Clifton <nickc@cygnus.com>
6404
6405 * config/tc-d30v.c (d30v_align): Always perform alignment request,
6406 even if it is belived to be unnecessary.
6407
6408 Mon Aug 10 17:48:09 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
6409
6410 config/tc-i386.c (i386_operand): Size immediate constants by
6411 suffix (erroneously removed as part of July 7 change).
6412
6413 Sun Aug 9 20:45:32 1998 Catherine Moore <clm@cygnus.com>
6414
6415 * config/obj-elf.h: Check for redefinition of obj_frob_symbol.
6416 * config/tc-arm.c: Define S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS.
6417 (armelf_frob_symbol): New Routine.
6418 * config/tc-arm.h: Define obj_frob_symbol if OBJ_ELF.
6419
6420 Sat Aug 8 15:21:28 1998 Richard Henderson <rth@cygnus.com>
6421
6422 * config/tc-alpha.c (alpha_fix_adjustable): Don't adjust weak syms.
6423
6424 Wed Aug 5 15:54:14 1998 Nick Clifton <nickc@cygnus.com>
6425
6426 * config/tc-arm.c (md_begin): Set BFD private flags depending upon
6427 command line switches passed to assembler.
6428
6429 Mon Aug 3 14:02:52 1998 Doug Evans <devans@seba.cygnus.com>
6430
6431 * cgen.h (GAS_CGEN_MAX_FIXUPS): GAS_ prepended, all uses updated.
6432 (gas_cgen_opcode_desc): Declare.
6433 (gas_cgen_parse_operand): Declare.
6434 (*): Prepend gas_ to gas specific fns to denote them as such.
6435 All uses updated.
6436 * cgen.c (gas_cgen_opcode_desc): New global
6437 (gas_cgen_init_parse): Renamed from cgen_asm_init_parse.
6438 (queue_fixup): Renamed from cgen_queue_fixup.
6439 (*): Prepend gas_ to gas specific fns to denote them as such.
6440 All uses updated.
6441 (gas_cgen_md_apply_fix3): Update call to insert_operand.
6442 (gas_cgen_finish_insn): Renamed from cgen_asm_finish_insn.
6443 * config/tc-m32r.c (md_begin): Remove use of CGEN_SYM.
6444 Open opcode table and initialize it.
6445 (make_parallel): Use gas_cgen_opcode_desc.
6446 (assemble_parallel_insn): Ditto. Remove use of CGEN_SYM.
6447 (md_assemble): Ditto.
6448
6449 Sat Aug 1 19:27:30 1998 Richard Henderson <rth@cygnus.com>
6450
6451 * as.h (debug_info_type): Add entries for unspecified and dwarf*.
6452 * ecoff.c (ecoff_generate_asm_lineno): Take no arguments; call
6453 as_where ourselves. Provide a stub for !ECOFF_DEBUGGING.
6454 * ecoff.h: Move ECOFF_DEBUGGING protection inside GAS_ECOFF_H.
6455 Move ecoff_generate_asm_lineno outside ECOFF_DEBUGGING protection.
6456 * read.c (generate_lineno_debug): Tidy ECOFF bits. Use
6457 DEBUG_UNSPECIFIED rather than DEBUG_NONE for initial test.
6458 * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Define to a variable.
6459 (SEPARATE_STAB_SECTIONS): Conditionalize on value of ECOFF_DEBUGGING.
6460 (INIT_STAB_SECTION): Likewise.
6461 (OBJ_PROCESS_STAB): Likewise.
6462
6463 * config/tc-alpha.c (md_longopts): New options -mdebug/-no-mdebug.
6464 (md_parse_option): Watch for them.
6465 (alpha_cur_ent_sym, alpha_flag_mdebug): New variables.
6466 (md_begin): Kill neverdef code.
6467 (s_alpha_ent, s_alpha_end, s_alpha_mask, s_alpha_frame): New.
6468 (s_alpha_prologue): Watch alpha_cur_ent_sym.
6469 (s_alpha_coff_wrapper): New.
6470 (md_pseudo_table): Trap all ECOFF pseudos.
6471
6472 Fri Jul 31 16:45:54 1998 Ron Unrau <runrau@cygnus.com>
6473
6474 Start of changes to remove mdebug section from mips*-elf
6475 Based on MIPS_STAB_ELF definition
6476 * acconfig.h: undef if not configured
6477 * config.in: undef if not configured
6478 * config/mips-elf.h: only set ECOFF debugging if not stabs-in-elf
6479 * config/tc-mips.c (s_ent): set BSF_FUNCTION
6480 * stabs.c (s_stab_generic): flush frag
6481
6482 Fri Jul 31 16:14:45 1998 Catherine Moore <clm@cygnus.com>
6483
6484 * configure.in: (arm-*-elf): Handle.
6485 (thumb-*-elf): Handle.
6486 * configure: Regenerate.
6487 * read.c (stringer): Fix typo in comment.
6488 * write.c (fixup_segment): Don't add symbol value to addend if
6489 TC_ARM and OBJ_ELF.
6490 * config/tc-arm.c (md_section_align): Don't align dwarf debug
6491 sections.
6492 (tc_gen_reloc): Always set the reloc addend to fixp->fx_offset
6493 for OBJ_ELF.
6494
6495 Thu Jul 30 21:38:43 1998 Frank Ch. Eigler <fche@cygnus.com>
6496
6497 * config/tc-d30v.c ({cur,prev}_left_kills_right_p): New variables.
6498 (write_2_short): Emit warning if new flag is set.
6499 (do_assemble): Set flags if left instruction is one of special
6500 "right-instruction-killer" type.
6501
6502 Tue Jun 28 18:12:28 1998 Stan Cox <scox@cygnus.com>
6503
6504 * config/tc-sparc.c (md_number_to_chars, cons_fix_new_sparc):
6505 Always output words in debug_info section as big endian.
6506 (sparc_target_format): Choose correct bfd target.
6507 (md_apply_fix3): Rename BFD_RELOC_SPARC_32LE to BFD_RELOC_SPARC_REV32.
6508
6509 Tue Jul 28 11:01:21 1998 Jeffrey A Law (law@cygnus.com)
6510
6511 * config/tc-mn10300.c (md_assemble): Fix "errmsg" initialization
6512 to work with internationalization code. Issue an error when two
6513 operands match that are not allowed to match.
6514
6515 Mon Jul 27 16:25:58 1998 Doug Evans <devans@canuck.cygnus.com>
6516
6517 * configure.in (install_tooldir): Allow target to specify whether
6518 it wants to be installed in $(tooldir)/bin.
6519 * configure: Regenerate.
6520 * Makefile.am (install-exec-local): Set install-exec-tooldir
6521 dependency via configure.
6522 * Makefile.in: Regenerate.
6523
6524 Fri Jul 24 19:58:59 1998 Doug Evans <devans@canuck.cygnus.com>
6525
6526 * Makefile.am (install-exec-local): Split into two ...
6527 (install-exec-bindir,install-exec-tooldir): New rules.
6528 * Makefile.in: Regenerate.
6529
6530 Fri Jul 24 16:31:49 1998 Ian Lance Taylor <ian@cygnus.com>
6531
6532 * Makefile.am (install-exec-local): Don't remove the file before
6533 checking whether $(bindir) == $(tooldir)/bin. From Maciej
6534 W. Rozycki <macro@ds2.pg.gda.pl>.
6535 * Makefile.in: Rebuild.
6536
6537 Fri Jul 24 09:13:46 1998 Doug Evans <devans@canuck.cygnus.com>
6538
6539 * cgen.c: Include libiberty.h.
6540 (cgen_md_apply_fix3): Update call to md_cgen_lookup_reloc.
6541 (cgen_tc_gen_reloc): Use xmalloc, not bfd_alloc.
6542 * cgen.h (cgen_md_apply_fix3,cgen_tc_gen_reloc): Declare.
6543 (md_cgen_lookup_reloc)): Declare.
6544 (md_cgen_record_fixup_exp): Declare.
6545 * config/tc-m32r.h (md_pcrel_from_section): Declare.
6546 (m32r_relax_frag): Declare.
6547 (cgen_md_apply_fix3): Decls moved to cgen.h.
6548 (cgen_record_fixup_exp,cgen_tc_gen_reloc): Ditto.
6549 (m32r_cgen_record_fixup_exp): Delete decl.
6550 * config/tc-m32r.c (m32r_cpu_desc): #if 0 out.
6551 (assemble_nop): Delete.
6552 (expand_debug_syms): Delete unused `exp'.
6553 (md_cgen_lookup_reloc): Renamed from CGEN_SYM (lookup_reloc).
6554 Add default case for -Wall.
6555 (m32r_cgen_record_fixup_exp): Add default case for -Wall.
6556 (md_atof): Delete unused wordP.
6557
6558 Thu Jul 23 13:19:50 1998 Jeffrey A Law (law@cygnus.com)
6559
6560 * config/tc-mn10300.c (md_assemble): Make sure "errmsg" has a non-NULL
6561 value.
6562
6563 Wed Jul 22 14:36:56 1998 Ian Lance Taylor <ian@cygnus.com>
6564
6565 * doc/as.texinfo: Add documentation for .end, .exitm, .fail,
6566 .ifc, .ifeqs, .ifge, .ifgt, .ifle, .iflt, .ifnc, .ifne, .ifnes,
6567 .print, .purgem, and .struct. Remove documentation for
6568 .app-file.
6569
6570 Tue Jul 21 16:50:52 1998 Doug Evans <devans@seba.cygnus.com>
6571
6572 * cgen.c (cgen_md_apply_fix3): set_operand renamed to set_vma_operand.
6573 Update call to insert_operand.
6574
6575 Fri Jul 17 11:42:20 1998 Nick Clifton <nickc@cygnus.com>
6576
6577 * config/tc-m32r.c (ms_show_usage): Formatting changes.
6578
6579 Wed Jul 15 15:38:28 1998 Ian Lance Taylor <ian@cygnus.com>
6580
6581 * config/tc-i386.c (md_assemble): Don't get confused by trailing
6582 whitespace after a prefix operator.
6583
6584 Tue Jul 14 15:32:56 1998 Richard Henderson <rth@cygnus.com>
6585
6586 * configure.in (i386-*-beos{pe,elf,}*): Recognize.
6587
6588 Tue Jul 14 12:33:44 1998 Chris Torek <torek@bsdi.com>
6589
6590 * config/tc-sparc.c (log2): New static function.
6591 (s_reserve): Use log2 to convert alignment before calling
6592 record_alignment.
6593 (s_common): Use log2 to convert alignment before calling
6594 record_alignment and frag_align.
6595 (sparc_cons_align): Use log2.
6596
6597 Tue Jul 14 11:58:40 1998 Ian Lance Taylor <ian@cygnus.com>
6598
6599 * config/tc-sparc.c (s_reserve): Set symbol size if OBJ_ELF.
6600 (s_common): Likewise.
6601
6602 * config/tc-sparc.c (sparc_handle_align): Reindent a bit. Correct
6603 initialization of waddr.
6604 (sparc_elf_final_processing): Add default case to switch.
6605
6606 Tue Jul 14 11:00:16 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
6607
6608 * doc/c-i386.texi: Fix a typo. Use the term 80-bit real rather
6609 than temporary real.
6610
6611 Mon Jul 13 13:55:42 1998 Ian Lance Taylor <ian@cygnus.com>
6612
6613 * write.c (subsegs_finish): Don't align the segments if there were
6614 any errors.
6615
6616 * config/obj-coff.c (c_symbol_merge): Correct number of bytes when
6617 copying aux information.
6618
6619 * expr.c (make_expr_symbol): Catch attempts to turn an O_big
6620 expression into a symbol.
6621
6622 Mon Jul 13 13:29:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
6623
6624 * config/tc-i386.c (mode_from_disp_size): Change arg and return
6625 type to unsigned int.
6626 (md_assemble): Change type used to store offsets from unsigned
6627 long to long.
6628 (i386_operand): Switch error check to only call RESTORE_END_STRING
6629 once after parse_register.
6630
6631 Fri Jul 10 16:00:04 1998 Nick Clifton <nickc@cygnus.com>
6632
6633 * config/tc-v850.c (md_show_usage): Changed format to match that
6634 of gcc, ld, etc.
6635
6636 * as.c (show_usage): Changed format to match that of gcc, ld, etc.
6637
6638 Thu Jul 9 12:09:57 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6639
6640 * config/tc-m68k.c (tc_m68k_fix_adjustable): Don't adjust vtable
6641 relocs.
6642 (md_apply_fix_2): Force the symbol of the vtable reloc to be
6643 weak.
6644
6645 Thu Jul 9 11:31:54 1998 Ian Lance Taylor <ian@cygnus.com>
6646
6647 * doc/Makefile.am (MAINTAINERCLEANFILES): Define.
6648 * doc/Makefile.in: Rebuild.
6649
6650 Wed Jul 8 12:18:56 1998 Jeffrey A Law (law@cygnus.com)
6651
6652 * config/tc-mips.c (mips_ip, case 'i' and 'j'): Mask off high bits
6653 for %lo expressions.
6654 (mips_ip, case 'u'): Move range check after code to mask
6655 off bits in %hi/%lo expressions. Mask off high bits for
6656 %lo expressions.
6657
6658 Tue Jul 7 17:57:38 1998 Ian Lance Taylor <ian@cygnus.com>
6659
6660 * doc/Makefile.am (gasver.texi): New target.
6661 (as.info, as.dvi): Depends upon gasver.texi.
6662 * doc/as.texinfo: Include gasver.texi. Mention version number on
6663 title page and in top node.
6664 * doc/Makefile.in: Rebuild.
6665
6666 Tue Jul 7 11:42:16 1998 Richard Henderson <rth@cygnus.com>
6667
6668 * listing.c (listing_listing): For EDICT_LIST, skip all lines up to
6669 but not including the line containing the edict.
6670 * listing.h (LISTING_EOF): New.
6671 * input-scrub.c (input_scrub_next_buffer): Call it.
6672
6673 Tue Jul 7 13:00:37 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
6674
6675 * config/tc-i386.c (i386_operand): Don't set the size of an
6676 immediate address based solely on the suffix and the mode.
6677
6678 * config/tc-i386.c (md_assemble): Add assertion to make sure
6679 overlap2 does not set Imm.
6680
6681 * config/tc-i386.c (space_chars): Remove. The scrubber converts
6682 sequences of whitespace to a single space.
6683 (is_space_chars): Just compare with space.
6684 (md_begin): Don't initialize space_chars.
6685 (md_assemble): Just skip a single whitespace character.
6686 (i386_operand): Rewrite base-index parsing to use new
6687 parse_register, and to skip white space. Skip white space in a
6688 number of other places too. Don't give error message if
6689 parse_register fails.
6690 (parse_register): Change reg_string parameter to be non-const.
6691 Add end_op parameter. Skip white space after the `%', and return
6692 end of register string. Give error message here rather than
6693 caller.
6694
6695 Fri Jul 3 15:34:34 1998 Ian Lance Taylor <ian@cygnus.com>
6696
6697 Based on patch from Matt Semersky <matts@scd.hp.com>:
6698 * expr.c (op_encoding): Make const.
6699 (expr_set_precedence): New function.
6700 (expr_begin): Don't set operator rankings, just call
6701 expr_set_precedence.
6702 * expr.h (expr_set_precedence): Declare.
6703 * read.c (s_mri): Call expr_set_precedence.
6704
6705 Thu Jul 2 16:24:58 1998 Ian Lance Taylor <ian@cygnus.com>
6706
6707 * doc/as.texinfo (Statements): Remove paragraph discussing
6708 continuing lines with a backslash. This hasn't worked for years,
6709 if it ever did.
6710
6711 Thu Jul 2 14:06:22 1998 Klaus Kaempf <kkaempf@rmi.de>
6712
6713 * obj-vms.c: Add C++ support with ctors/dtors sections. Add weak
6714 symbol definitions.
6715 (Ctors_Symbols, Dtors_Symbols): New symbol chains.
6716 (ps_CTORS, ps_DTORS): New section types.
6717 (vms_fixup_xtors_section): New function
6718 (Ctors_Psect, Dtors_Psect): Define.
6719 (IS_GXX_XTOR): Define
6720 (global_symbol_directory): Change check of gxx_bug_fixed to 0.
6721 Filter static constructors/destructors and add to
6722 Ctors_Symbols/Dtors_Symbols chain.
6723 (vms_write_object_file): Write Ctors_Symbols/Dtors_Symbols to
6724 appropriate section.
6725
6726 * tc-alpha.h (TARGET_FORMAT): Rename "evax-alpha" to "vms-alpha".
6727 * makefile.vms: Merge vax/vms support.
6728
6729 Wed Jul 1 20:06:20 1998 Richard Henderson <rth@cygnus.com>
6730
6731 * config/obj-elf.c (obj_elf_vtable_inherit, obj_elf_vtable_entry): New.
6732 (elf_pseudo_table): Add them.
6733 * config/tc-mips.c (mips_force_relocation): Force vtable relocs.
6734 (md_apply_fix): Accept them.
6735 (mips_fix_adjustable): Don't adjust them.
6736 (tc_gen_reloc): Mung BFD_RELOC_VTABLE_ENTRY for Rel.
6737 * config/tc-ppc.c (md_apply_fix3): Accept vtable relocs.
6738 * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Force vtable relocs.
6739 (tc_fix_adjustable): Don't adjust them.
6740
6741 Wed Jul 1 16:35:32 1998 Doug Evans <devans@seba.cygnus.com>
6742
6743 * Makefile.am (CGEN_CPU_PREFIX): New variable.
6744 (cgen.o): Use it.
6745 * Makefile.in: Regenerate.
6746 * configure.in: AC_SUBST cgen_cpu_prefix.
6747 * configure: Regenerate.
6748
6749 Wed Jul 1 21:38:56 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6750
6751 * config/tc-sh (COND_JUMP_DELAY, COND12_DELAY_LENGTH): Define.
6752 Changed all users of COND12_DELAY.
6753
6754 Fri Jun 26 11:21:11 1998 Jeffrey A Law (law@cygnus.com)
6755
6756 * config/tc-mn10300.c (set_arch_mach): New function.
6757 (md_pseudo_table): Add pseudo-ops to set the current machine type.
6758 (md_begin): Default to mn10300 mode.
6759 (md_assemble): Only accept instructions for the core mn10300
6760 chip and the active machine type.
6761
6762 Wed Jun 24 19:06:04 1998 Ian Lance Taylor <ian@cygnus.com>
6763
6764 * subsegs.h (segment_info_type): Give the struct a name.
6765 * config/tc-h8300.h (tc_reloc_mangle): Add prototype.
6766 * config/tc-h8500.h (tc_reloc_mangle): Declare.
6767 * config/tc-sh.h (sh_coff_reloc_mangle): Add prototype.
6768 * config/tc-w65.h (tc_reloc_mangle): Declare.
6769 * config/tc-z8k.h (tc_reloc_mangle): Declare.
6770
6771 Wed Jun 24 13:45:00 1998 Catherine Moore <clm@cygnus.com>
6772
6773 * config/tc-v850.c (v850_comm): Restore old section
6774 after common processing.
6775
6776 Wed Jun 24 11:50:54 1998 Klaus Kaempf <kkaempf@progis.de>
6777
6778 * config/obj-vms.c (Create_VMS_Object_File): Force binary file.
6779
6780 Tue Jun 23 17:47:31 1998 Jim Wilson <wilson@cygnus.com>
6781
6782 * config/tc-h8300.c (do_a_fix_imm, build_bytes): Replace cast to
6783 char with code that explicitly sign-extends.
6784
6785 Tue Jun 23 13:54:57 1998 Nick Clifton <nickc@cygnus.com>
6786
6787 * config/tc-v850.c (md_begin): Restore text section as the current
6788 section after creating call table sections.
6789 * config/obj-coff.h (SYM_AUXINFO): New macro to conceal ugly
6790 code.
6791
6792 * config/obj-coff.c (c_symbol_merge): Replace complex expresion
6793 with call to macro SYM_AUXINFO.
6794
6795 Tue Jun 23 15:09:27 1998 Mike Stump <mrs@wrs.com>
6796
6797 * Makefile.am (install-exec-local): Don't let EXEEXT interfere
6798 with the program transform name.
6799 * Makefile.in: Rebuild.
6800
6801 Mon Jun 22 19:52:42 1998 Ian Lance Taylor <ian@cygnus.com>
6802
6803 * config/obj-coff.c (c_symbol_merge): Fix copying of auxiliary
6804 information.
6805
6806 Mon Jun 22 15:18:58 1998 Ian Lance Taylor <ian@cygnus.com>
6807
6808 * config/tc-i386.c (i386_operand): Be prepared for a space between
6809 the open parenthesis and the start of the register operand,
6810 because of the June 16 change.
6811
6812 Sun Jun 21 21:27:03 1998 Ian Lance Taylor <ian@cygnus.com>
6813
6814 * config/tc-sh.c (md_apply_fix): Handle weak symbols correctly if
6815 BFD_ASSEMBLER.
6816
6817 Sun Jun 21 12:26:36 1998 Nick Clifton <nickc@cygnus.com>
6818
6819 * config/tc-d30v.c (d30v_align): Always perform alignment request,
6820 even if it is belived to be unnecessary.
6821
6822 Fri Jun 19 13:57:06 1998 Ian Lance Taylor <ian@cygnus.com>
6823
6824 * write.c (adjust_reloc_syms): Never adjust relocs against weak
6825 symbols.
6826 * config/tc-mips.c (md_apply_fix): Adjust accordingly.
6827
6828 Fri Jun 19 09:50:17 1998 Jeffrey A Law (law@cygnus.com)
6829
6830 * config/tc-mn10300.c (mn10300_insert_operand): Do not hardcode the
6831 shift amount for a repeated operand. The shift amount for the
6832 repeated copy comes from the size of the operand.
6833
6834 Fri Jun 19 00:44:19 1998 Jeffrey A Law (law@cygnus.com)
6835
6836 * config/tc-h8300.c (get_operand): Fix typos in ldm/stm support.
6837
6838 Wed Jun 17 13:07:05 1998 Ian Lance Taylor <ian@cygnus.com>
6839
6840 * config/tc-mips.c (md_show_usage): Fix -mipsN usage.
6841
6842 Tue Jun 16 13:06:21 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
6843
6844 * app.c (do_scrub_begin): If tc_symbol_chars is defined, treat all
6845 characters in it as LEX_IS_SYMBOL_COMPONENT.
6846 * config/tc-i386.h (tc_symbol_chars): Define.
6847 (extra_symbol_chars): Declare.
6848 * config/tc-i386.c (extra_symbol_chars): Define.
6849 (comment_chars): Don't use '/' as comment start if TE_LINUX.
6850 (line_comment_chars): Set to '/' if TE_LINUX.
6851 * doc/c-i386.texi (i386-prefixes): Update.
6852 * doc/internals.texi (CPU backend): Document tc_symbol_chars.
6853
6854 Fri Jun 12 13:36:54 1998 Tom Tromey <tromey@cygnus.com>
6855
6856 * po/Make-in (all-yes): If maintainer mode, depend on .pot file.
6857 ($(PACKAGE).pot): Unconditionally depend on POTFILES.
6858
6859 1998-06-12 Vladimir N. Makarov <vmakarov@cygnus.com>
6860
6861 * config/tc-d10v.c (md_apply_fix3): Checking displacement
6862 constraint in instructions REP & REPI.
6863
6864 Thu Jun 11 08:56:46 1998 Nick Clifton <nickc@cygnus.com>
6865
6866 * config/tc-d30v.c (md_apply_fix3): Catch BFD_RELOC_8,
6867 BFD_RELOC_16, BFD_RELOC_64 and issue appropriate error messages.
6868
6869 (check_range): If the operand is shifted, then shift the number
6870 before checking its range.
6871
6872 * write.c (adjust_reloc_syms): Add more checks for NULL pointers.
6873
6874 * config/tc-v850.c (v850_comm): Set SEC_COMMON bit on special
6875 common sections.
6876
6877 Wed Jun 10 17:26:35 1998 Nick Clifton <nickc@cygnus.com>
6878
6879 * config/tc-v850.c (v850_comm): Create special sections as needed.
6880
6881 1998-06-10 Vladimir N. Makarov <vmakarov@cygnus.com>
6882
6883 * config/tc-d10v.c (write_2_short): Addition of swapping
6884 instructions for sequential and reverse sequential order when
6885 given order is not possible.
6886
6887 Tue Jun 9 13:52:53 1998 Ian Lance Taylor <ian@cygnus.com>
6888
6889 * Makefile.am: Rebuild dependencies.
6890 (DEP_INCLUDES): Fix reference to intl build directory.
6891 * Makefile.in: Rebuild.
6892
6893 Tue Jun 9 12:20:05 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
6894
6895 * doc/c-i386.texi: Update 16 bit documentation.
6896
6897 * config/tc-i386.h: Change Data16 to Size16, Data32 to Size32,
6898 IgnoreDataSize to IgnoreSize as they are used for address size as
6899 well as data size.
6900 * config/tc-i386.c: Likewise. Add code to reject addr32/data32 in
6901 32-bit mode, similarly addr16/data16 and variants.
6902
6903 Mon Jun 8 18:32:01 1998 Nick Clifton <nickc@cygnus.com>
6904
6905 * config/tc-d30v.c (md_assemble): Fix handling of reverse
6906 sequential word multiply instructions.
6907
6908 (do_assemble): Add extra command line argument, to allow mul32
6909 attribute to be preserved across parallel insns.
6910 (md_assemble): Insert NOPs between explicitly parallel insns which
6911 contain an 32 bit multiply and a 16 multiply.
6912
6913 Mon Jun 8 12:20:30 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
6914
6915 * config/tc-i386.c: REPNE renamed to REPNE_PREFIX_OPCODE, and
6916 likewise for REPE.
6917
6918 * config/tc-i386.c (reloc): Add braces.
6919
6920 * config/tc-i386.c (struct _i386_insn): Rename bi to sib to be
6921 consistent with Intel naming.
6922 * config/tc-i386.h (base_index_byte): Rename to sib_byte. Don't
6923 use bitfields in sib_byte.
6924 (modrm_byte): Don't use bitfields here either.
6925
6926 * config/tc-i386.c (current_templates): Add const.
6927 (parse_register): Add const to return, param, and char *s.
6928 (i386_operand): Add const to reg_entry *r.
6929 * config/tc-i386.h (templates): Add const to start, end.
6930
6931 Inspired by code for 16 bit gas support from Martynas Kunigelis
6932 <martynas@nm3.ktu.lt>:
6933 * config/tc-i386.c (md_assemble): Add full support for 16 bit
6934 modrm, and Jump, JumpByte, JumpDword, JumpInterSegment insns.
6935 (uses_mem_addrmode): Remove.
6936 (md_estimate_size_before_relax): Add support here too.
6937 (md_relax_table): Rewrite interface to md_relax for 16 bit
6938 support.
6939 (BYTE, WORD, DWORD, UNKNOWN_SIZE): Remove.
6940 (opcode_suffix_to_type): Remove.
6941 (CODE16, SMALL, SMALL16, BIG, BIG16): Define.
6942 (SIZE_FROM_RELAX_STATE): Modify to suit above.
6943 (md_convert_frag): Likewise.
6944 (i386_operand): Add support for 16 bit base/index regs,
6945 immediates, and displacements. Remove some unnecessary casts, and
6946 localise end_of_operand_string, displacement_string_start,
6947 displacement_string_end variables. Add GCC_ASM_O_HACK.
6948 * config/tc-i386.h (NO_BASE_REGISTER_16): Define.
6949
6950 * config/tc-i386.c (prefix_hash): Remove.
6951 (md_begin): Rewrite without obstacks. Remove prefix hash table
6952 handling. Rewrite lexical table handling.
6953 (i386_print_statistics): Don't print prefix statistics.
6954 (md_assemble): Rewrite instruction parser so that line is not
6955 converted to lower case. Don't do a hash_find for prefixes,
6956 instead recognise them via opcode modifier.
6957 (expecting_operand, paren_not_balanced): Localise variables.
6958 * config/tc-i386.h (IsPrefix): Define.
6959 (prefix_entry): Remove.
6960
6961 * config/tc-i386.h (PREFIX_SEPERATOR): Don't define.
6962 * config/tc-i386.c (PREFIX_SEPARATOR): Define here instead, using
6963 '\\' in case where comment_chars contains '/'.
6964
6965 * config/tc-i386.c (MATCH): Ensure given operand and template
6966 match for JumpAbsolute. Makes e.g. `ljmp table(%ebx)' invalid;
6967 you must write `ljmp *table(%ebx)'.
6968
6969 From H.J. Lu <hjl@gnu.org>:
6970 * config/tc-i386.c (BFD_RELOC_16, BFD_RELOC_16_PCREL): Define
6971 as 0 ifndef BFD_ASSEMBLER.
6972 (md_assemble): Allow immediate operands without suffix or
6973 other reg operand to default in size to the current code size.
6974
6975 Mon Jun 8 09:45:00 1998 Catherine Moore <clm@cygnus.com>
6976
6977 * config/tc-v850.c (md_begin): Restore creation of
6978 .call_table_text and .call_table_data sections.
6979
6980 Sat Jun 6 00:02:41 1998 Nick Clifton <nickc@cygnus.com>
6981
6982 * config/tc-d30v.c (md_assemble): Set execution type to unknown
6983 after emitting a word of noops.
6984
6985 Fri Jun 5 23:27:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
6986
6987 * config/tc-i386.c (mode_from_disp_size): Disp16 is mode 2.
6988 (i386_operand): Simplify checks for valid base/index combinations.
6989 Disallow `in 4(%dx),%al'.
6990
6991 * config/tc-i386.c (struct _i386_insn): Make regs, base_reg, and
6992 index_reg const.
6993 (add_prefix): Change parameter from char to int.
6994
6995 * config/tc-i386.h (Ugh): Define opcode modifier.
6996 * config/tc-i386.c (md_assemble): Print warnings for Ugh insns.
6997
6998 * config/tc-i386.c (md_assemble): Rewrite MATCH and
6999 CONSISTENT_REGISTER_MATCH macros to check register types more
7000 thoroughly. Check for illegal suffix/operand combinations
7001 when matching insns with operands. Handle new `s' suffix, and
7002 associated FloatMF opcode modifier for float insns with memory
7003 operands.
7004 * config/tc-i386.h (FloatMF): Define new opcode modifier.
7005 (No_sSuf, No_bSuf, No_wSuf, No_lSuf): Likewise.
7006 (SHORT_OPCODE_SUFFIX, LONG_OPCODE_SUFFIX): Define.
7007 * config/tc-i386.c: Rename WORD_PREFIX_OPCODE to
7008 DATA_PREFIX_OPCODE throughout.
7009
7010 * config/tc-i386.c (REGISTER_WARNINGS): Define.
7011 (md_assemble): Rewrite suffix/register operand checking code to be
7012 more thorough. Remove Abs8,16,32. Change occurrences of Mem to
7013 AnyMem, the better to grep.
7014 (pi): Remove Abs.
7015 (i386_operand): Don't set Mem bits in i.types[this_operand] when
7016 given a memory operand. Don't set Abs bits either.
7017 (type_names): Remove Mem*, Abs*.
7018 * config/tc-i386.h (Mem8, Mem16, Mem32, Abs8, Abs16, Abs32): Don't
7019 define opcode_modifiers as these cases are handled by Disp8,
7020 Disp16, Disp32 and suffix checks.
7021 (COMES_IN_BOTH_DIRECTIONS): Remove.
7022 (FloatR): Define. It's OK to share the bit with ReverseRegRegmem.
7023
7024 * config/tc-i386.c (md_assemble): Don't emit operand size prefix
7025 if IgnoreDataSize modifier given. Remove ShortformW modifier
7026 test. Add test for ShortForm in W base_opcode modification.
7027 Merge Seg2ShortForm and Seg3ShortForm code.
7028 * config/tc-i386.h (ShortFormW): Remove.
7029 (IgnoreDataSize): Define.
7030
7031 Fri Jun 5 10:50:53 1998 Nick Clifton <nickc@cygnus.com>
7032
7033 * config/tc-d30v.c (md_assemble): Store previous segment state
7034 with previous instruction.
7035
7036 Wed Jun 3 18:21:56 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
7037
7038 * config/tc-i386.c (SCALE1_WHEN_NO_INDEX): Define.
7039 (ebp, esp): Remove static variables.
7040 (MATCH): Remove test for InOutPortReg.
7041 (i386_operand): Properly handle InOutPortReg here instead.
7042 Disallows `inb (%dx,2)', `inb %es:(%dx)' and `mov (%dx),%ax'
7043 (md_assemble): Simplify and correct modrm and sib generation.
7044 (i386_operand): Add warning for scale without index.
7045 Rewrite checks for valid base/index combinations.
7046
7047 * config/tc-i386.c (END_STRING_AND_SAVE): Protect arguments of
7048 macros and enclose in do while(0).
7049 (RESTORE_END_STRING): Likewise.
7050 (md_assemble): Add one to printed operand number so we start
7051 from 1 not 0. Add some more gettext invocations.
7052 (i386_operand): Fix `%%s' -> `%%%s'. Inc printed operand
7053 number here too.
7054
7055 * config/tc-i386.h (WAIT_PREFIX, LOCKREP_PREFIX, ADDR_PREFIX,
7056 DATA_PREFIX, SEG_PREFIX): Define.
7057 * config/tc-i386.c (struct _i386_insn): Remove wait_prefix field.
7058 (check_prefix): Remove function.
7059 (add_prefix): New function. Add prefix to i.prefix as well as
7060 doing checks.
7061 (md_assemble): Changes for add_prefix. Remove hack for wait
7062 prefix, instead always output prefixes in fixed order. Test
7063 for jcxz/loop when selecting between word & dword operations,
7064 and add address size prefix rather than operand size prefix.
7065 Remove operand -> address size hack when emitting jcxz/loop.
7066 (i386_operand): Remove O_Absent check as it's done in expr.
7067
7068 Wed Jun 3 15:09:10 1998 Ian Lance Taylor <ian@cygnus.com>
7069
7070 * configure.in: Recognize m5200 as a cpu_type of m68k.
7071 * aclocal.m4: Rebuild with current libtool.
7072 * configure: Rebuild.
7073
7074 Wed Jun 3 14:11:59 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7075
7076 * config/tc-m68k.c (md_estimate_size_before_relax): Add more calls
7077 to relaxable_symbol to prevent references to external symbol from
7078 being relaxed.
7079
7080 Wed Jun 3 14:10:36 1998 Ian Lance Taylor <ian@cygnus.com>
7081
7082 * config/tc-m68k.c (relaxable_symbol): If TARGET_OS is "elf", all
7083 symbols are relaxable.
7084
7085 Wed Jun 3 09:16:00 1998 Catherine Moore <clm@cygnus.com>
7086
7087 * config/tc-v850.c (md_begin): Don't create special
7088 sections by default.
7089
7090 Tue Jun 2 14:52:56 1998 Jeffrey A Law (law@cygnus.com)
7091
7092 * config/tc-mips.c (macro): For div and udiv, close the
7093 reorder block as soon as possible.
7094
7095 Tue Jun 2 15:36:13 1998 Ian Lance Taylor <ian@cygnus.com>
7096
7097 From Matt Semersky <matts@scd.hp.com>:
7098 * macro.c (macro_mri_mode): New function.
7099 * macro.h (macro_mri_mode): Declare.
7100 * read.c (s_mri): Call macro_mri_mode when switching in and out of
7101 MRI mode.
7102
7103 Tue Jun 2 13:32:22 1998 Klaus Kaempf <kkaempf@progis.de>
7104
7105 * config/tc-alpha.c (s_alpha_comm): Allow alignment parameter in
7106 OBJ_EVAX case.
7107
7108 * config/tc-alpha.c (s_alpha_comm): Defer restoring character
7109 until after xstrdup in OBJ_EVAX case.
7110
7111 Tue Jun 2 13:11:13 1998 Pat Rankin <rankin@eql.caltech.edu>
7112
7113 * config/tc-vax.c (md_create_short_jump): Fix off by two bug in
7114 offset calculation. Also, use VAX_BRW from vax-inst.h instead
7115 of hardcoded magic number.
7116 (md_create_long_jump): Use VAX_JMP and VAX_ABSOLUTE_MODE macros.
7117
7118 Tue Jun 2 09:25:34 1998 Doug Evans <devans@canuck.cygnus.com>
7119
7120 * read.c (do_s_func): New function.
7121 (s_func): Call it.
7122 * read.h (do_s_func): Add prototype.
7123
7124 Mon Jun 1 12:47:30 1998 Doug Evans <devans@canuck.cygnus.com>
7125
7126 * config/tc-m32r.c (m32r_do_align): Only fill code sections with
7127 nops if fill pattern not specified.
7128
7129 Mon Jun 1 14:08:35 1998 Ian Lance Taylor <ian@cygnus.com>
7130
7131 From Andrew Crabtree <andrewc@typhoon.rose.hp.com>:
7132 * config/te-go32.h (TE_GO32): Define.
7133 * config/tc-i386.h (LOCAL_LABEL): Don't define if TE_GO32.
7134
7135 Sun May 31 15:43:06 1998 Doug Evans <devans@canuck.cygnus.com>
7136
7137 Implement .func/.endfunc pseudo-ops.
7138 * read.h (stabs_generate_asm_func,stabs_generate_asm_endfunc): Declare.
7139 (s_func): Declare.
7140 * read.c (potable): Add .func,.endfunc.
7141 (s_func): New function.
7142 * stabs.c (stabs_generate_asm_func,stabs_generate_asm_endfunc): New
7143 functions.
7144 (in_doc_func_p,current_function_label): New static globals.
7145 (stabs_generate_asm_lineno): Emit function relative stabs if in .func.
7146
7147 Fri May 29 18:13:12 1998 Ian Lance Taylor <ian@cygnus.com>
7148
7149 * config/tc-a29k.h (WORKING_DOT_WORD): Define.
7150 * config/tc-alpha.h (WORKING_DOT_WORD): Define.
7151 * config/tc-arm.h (WORKING_DOT_WORD): Define.
7152 * config/tc-h8300.h (WORKING_DOT_WORD): Define.
7153 * config/tc-h8500.h (WORKING_DOT_WORD): Define.
7154 * config/tc-hppa.h (WORKING_DOT_WORD): Define.
7155 * config/tc-i860.h (WORKING_DOT_WORD): Define.
7156 * config/tc-i960.h (WORKING_DOT_WORD): Define.
7157 * config/tc-tic30.h (WORKING_DOT_WORD): Define.
7158 * config/tc-w65.h (WORKING_DOT_WORD): Define.
7159 * config/tc-z8k.h (WORKING_DOT_WORD): Define.
7160 * config/tc-a29k.c: Don't define md_short_jump_size,
7161 md_long_jump_size, md_create_short_jump or md_create_long_jump.
7162 * config/tc-alpha.c: Likewise.
7163 * config/tc-alpha.h: Likewise.
7164 * config/tc-arm.c: Likewise.
7165 * config/tc-h8300.c: Likewise.
7166 * config/tc-h8500.c: Likewise.
7167 * config/tc-hppa.c: Likewise.
7168 * config/tc-i860.c: Likewise.
7169 * config/tc-i960.c: Likewise.
7170 * config/tc-ppc.c: Likewise.
7171 * config/tc-sh.c: Likewise.
7172 * config/tc-sparc.h: Likewise.
7173 * config/tc-tic30.c: Likewise.
7174 * config/tc-w65.c: Likewise.
7175 * config/tc-z8k.c: Likewise.
7176
7177 Fri May 29 16:03:26 1998 Pat Rankin <rankin@eql.caltech.edu>
7178
7179 * config/tc-vax.c (_): Delete this macro used for placeholder
7180 values in vax_operand_width_size; it conflicts with the _() macro
7181 used for internationalization.
7182
7183 Fri May 29 13:46:07 1998 Ian Lance Taylor <ian@cygnus.com>
7184
7185 * symbols.c (symbol_find_base): Fix case insensitive symbol name
7186 code. From Chris Moller <moller@bops.com>.
7187
7188 Based on patch from Klaus Kaempf <kkaempf@progis.de>:
7189 * struc-symbol.h (struct broken_word): Add seg and subseg fields.
7190 * read.c (emit_expr): Initialize seg and subseg fields of a new
7191 broken word.
7192 * write.c (write_object_file): Switch to the appropriate segment
7193 and subsegment when processing a broken word.
7194
7195 * config/tc-m68k.c (mri_assemble): New static function.
7196 (build_mri_control_operand): Call mri_assemble rather than
7197 md_assemble.
7198 (s_mri_else, s_mri_break, s_mri_next, s_mri_for): Likewise.
7199 (s_mri_endf, s_mri_endw): Likewise.
7200
7201 Wed May 27 11:16:25 1998 Ian Lance Taylor <ian@cygnus.com>
7202
7203 * read.c (s_org): Call md_flush_pending_output if it is defined.
7204
7205 * config/tc-sparc.c (md_show_usage): Add \n\ to new string.
7206
7207 Tue May 26 19:27:52 1998 Stan Cox <scox@equinox.cygnus.com>
7208
7209 * config/tc-sparc.c (OPTION_LITTLE_ENDIAN_DATA): New.
7210 (md_parse_option): Add for same.
7211 (sparc_md_end): Set bfd_mach_sparc_sparclite_le.
7212 (md_apply_fix3, tc_gen_reloc): Allow BFD_RELOC_SPARC_32LE.
7213 (cons_fix_new_sparc): Added to create BFD_RELOC_SPARC_32LE.
7214
7215 * config/tc-sparc.h (cons_fix_new_sparc): Added.
7216
7217 Thu May 21 15:02:41 1998 Nick Clifton <nickc@cygnus.com>
7218
7219 * config/tc-arm.c (find_real_start): Relax definition of local
7220 labels.
7221
7222 Tue May 19 16:59:44 1998 Nick Clifton <nickc@cygnus.com>
7223
7224 * config/tc-d30v.c (d30v_align): Apply address adjustment to all
7225 symbols at the given address, not just the last one specified.
7226
7227 Tue May 19 08:25:19 1998 Catherine Moore <clm@cygnus.com>
7228
7229 * config/tc-sparc.c (sparc_handle_align): Use number_to_chars_bigendian
7230 or number_to_chars_littleendian to write data.
7231
7232 Mon May 18 17:09:30 1998 Nick Clifton <nickc@cygnus.com>
7233
7234 * config/tc-v850.c (md_assemble): Remove artificially created
7235 register name symbols.
7236
7237 Mon May 18 13:47:06 1998 Doug Evans <devans@canuck.cygnus.com>
7238
7239 * write.c (fixup_segment): Change "segment" to "section" in
7240 error message.
7241
7242 Mon May 18 16:55:40 1998 Michael Meissner <meissner@cygnus.com>
7243
7244 * write.c (fixup_segment): Change sym1-sym2 message again.
7245
7246 Mon May 18 09:31:43 1998 Michael Meissner <meissner@cygnus.com>
7247
7248 * write.c (fixup_segment): Improve error message for sym1-sym2
7249 errors when sym1 is in a different segment from sym2.
7250
7251 Wed May 13 10:16:37 1998 Doug Evans <devans@canuck.cygnus.com>
7252
7253 * config/tc-m32r.c (warn_unmatched_high): New static local.
7254 (OPTION_WARN_PARALLEL): Rename from OPTION_WARN.
7255 (OPTION_NO_WARN_PARALLEL): Rename from OPTION_NO_WARN.
7256 (md_longopts): Recognize --{no-,}warn-unmatched-high.
7257 (md_parse_option): Likewise.
7258 (md_show_usage): Likewise.
7259 (m32r_frob_file): Likewise.
7260
7261 * read.c (generate_file_debug,generate_lineno_debug): New functions.
7262 (read_a_source_file): Call them.
7263 * read.h (stabs_generate_asm_file): Declare.
7264 * stabs.c (stabs_generate_asm_file): New function.
7265 (generate_asm_file): New function.
7266 (stabs_generate_asm_lineno): Move file name handling into
7267 generate_asm_file.
7268
7269 Tue May 12 12:03:44 1998 Richard Henderson <rth@cygnus.com>
7270
7271 * config/tc-d30v.c (cur_mul32_p, prev_mul32_p): Make static.
7272 (d30v_current_align, d30v_current_align_seg): New variables.
7273 (d30v_last_label): New variable.
7274 (d30v_align, s_d30v_align, s_d30v_text): New functions.
7275 (s_d30v_data, s_d30v_section): Likewise.
7276 (md_pseudo_table): Call them.
7277 (md_begin): Initialize d30v_current_align_seg.
7278 (md_assemble): Call d30v_align when needed by known current alignment.
7279 (d30v_frob_label, d30v_cons_align): New functions.
7280 * config/tc-d30v.h (md_do_align): Remove.
7281 (tc_frob_label): Call d30v_frob_label.
7282 (md_cons_align): New.
7283
7284 * config/tc-d30v.c (find_format): Convert complex expressions to
7285 expression symbols before processing. Clean up code formatting.
7286
7287 Sun May 10 22:35:02 1998 Jeffrey A Law (law@cygnus.com)
7288
7289 * po/Make-in (install-info): New target.
7290
7291 Thu May 7 15:49:07 1998 Jeffrey A Law (law@cygnus.com)
7292
7293 * config/tc-mn10200.c (md_assemble): Handle "bra" just like "jmp"
7294 instructions.
7295 * config/tc-mn10300.c (md_assemble): Likewise.
7296
7297 Thu May 7 11:47:22 1998 Doug Evans <devans@canuck.cygnus.com>
7298
7299 * Makefile.am: Update with `make dep-am'.
7300 (HFILES): Add cgen.h.
7301 (cgen.o): Depend on cgen.h.
7302 * Makefile.in: Regenerate.
7303
7304 * cgen.c (cgen_md_apply_fix3): Don't pass newline to as_warn_where.
7305
7306 Thu May 7 13:20:56 1998 Anders Blomdell <anders.blomdell@control.lth.se>
7307
7308 * gasp.c (grab_label): Permit a label to be a preprocessor
7309 variable by permitting a label to start with a backslash.
7310
7311 Thu May 7 12:50:33 1998 Frank Ch. Eigler <fche@cygnus.com>
7312
7313 * config/tc-mips.c (validate_mips_insn): Removed hack
7314 for previously inaccessible bitfields in some INSN_TRAP
7315 instructions.
7316
7317 Thu May 7 11:13:00 1998 Frank Ch. Eigler <fche@cygnus.com>
7318
7319 * config/tc-d30v.c (do_assemble): Abort with error message
7320 if opcode operands do not match.
7321
7322 Thu May 7 09:36:06 1998 Frank Ch. Eigler <fche@cygnus.com>
7323
7324 * config/tc-mips.c (macro_build, validate_mips_insn): Implement
7325 'q' operand format for 20-bit "break"/"sdbbp" instructions.
7326 (mips_ip): Truncate overflowed "break" 'c' operand. Implement
7327 similar new 'q' operand.
7328
7329 Thu May 7 07:47:14 1998 Michael Meissner <meissner@cygnus.com>
7330
7331 * cgen.c (cgen_asm_finish_insn): Fix typo.
7332
7333 Thu May 7 02:19:14 1998 Doug Evans <devans@charmed.cygnus.com>
7334
7335 * cgen.h: New file.
7336 * cgen.c: Include it.
7337 (MAX_FIXUPS): Renamed to CGEN_MAX_FIXUPS.
7338 (cgen_asm_finish_insn): Result is now void. New arg `result'.
7339 All callers updated.
7340 * config/tc-m32r.c: Include cgen.h.
7341 (m23r_insn): New members num_fixups,fixups.
7342
7343 Wed May 6 16:29:19 1998 Jeffrey A Law (law@cygnus.com)
7344
7345 * config/tc-hppa.c (md_apply_fix): Slightly rework some code
7346 to avoid compiler warning.
7347
7348 Wed May 6 15:26:34 1998 Klaus Kaempf <kkaempf@progis.de>
7349
7350 * makefile.vms: Run dec c with /nodebug. Pass CC value when
7351 calling make.
7352
7353 * makefile.vms (OBJS): Add ehopt.obj
7354
7355 Wed May 6 15:11:12 1998 Klaus Kaempf <kkaempf@progis.de>
7356
7357 * doc/c-vax.texi: Correct and extend vax/vms documentation.
7358
7359 Wed May 6 11:51:51 1998 Richard Henderson <rth@cygnus.com>
7360
7361 * config/tc-d30v.c (do_assemble): Accept a new parameter requesting
7362 a short format insn.
7363 (md_assemble): Set it for explicitly packed insns.
7364
7365 Tue May 5 13:23:13 1998 Nick Clifton <nickc@cygnus.com>
7366
7367 * config/obj-coff.c (c_symbol_merge): Do not take address of
7368 native fields when performing the memcpy.
7369
7370 Tue May 5 13:10:41 1998 Gavin Koch <gavin@cygnus.com>
7371
7372 * config/tc-mips.c (macro,macro2): Implement
7373 M_DMULO_I, M_MULO_I, M_DMULOU_I, and M_MULOU_I.
7374
7375 Mon May 4 17:49:14 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7376
7377 * config/tc-m68k.h (TC_RELOC_RTSYM_LOC_FIXUP): Changed to keep
7378 relocations against globally visible symbols.
7379 * config/tc-m68k.c (relaxable_symbol): New macro.
7380 (m68k_ip, md_estimate_size_before_relax): Use it.
7381 (tc_m68k_fix_adjustable): Also handle weak symbols.
7382
7383 Mon May 4 16:12:23 1998 Ian Lance Taylor <ian@cygnus.com>
7384
7385 * config/tc-i386.h (TC_RELOC_RTSYM_LOC_FIXUP): Keep relocs for all
7386 references to externally visible symbols.
7387 * config/tc-i386.c (md_apply_fix3): When OBJ_ELF, don't add the
7388 values in twice for a PC relative reloc if the symbol is
7389 externally defined.
7390
7391 * config/tc-sparc.h (tc_fix_adjustable) [OBJ_AOUT]: When PIC,
7392 don't adjust a PC relative reloc against an externally visible
7393 symbol.
7394 * config/tc-sparc.c (md_apply_fix3): When generating a.out PIC,
7395 for a PC relative fixup against an externally visible defined
7396 symbol, arrange to store object file and addend values as though
7397 the symbol were not defined.
7398 (tc_gen_reloc): Likewise.
7399
7400 Thu Apr 30 13:09:39 1998 Fred Fish <fnf@ninemoons.com>
7401
7402 * read.c (sizeof_leb128): Referenced externally by write.c so
7403 don't inline.
7404
7405 Wed Apr 29 15:45:57 1998 Michael Meissner <meissner@cygnus.com>
7406
7407 * config/tc-m32r.c ({,expand_}debug_sym): New functions to record
7408 and expand a 'debug' symbol associated with the next instruction
7409 that does not cause a short instruction to be filled with a NOP.
7410 (md_pseudo_table): Add support for .debugsym.
7411 (assemble_parallel_insn): Add calls to expand_debug_sym as
7412 appropriate.
7413 (md_assemble): Ditto.
7414
7415 Tue Apr 28 19:16:26 1998 Tom Tromey <tromey@cygnus.com>
7416
7417 * as.c (main): Conditionally call setlocale.
7418 * gasp.c (main): Likewise.
7419 * asintl.h: Include <locale.h> if HAVE_LOCALE_H.
7420 (LC_MESSAGES): Now can be defined even when ENABLE_NLS.
7421
7422 Tue Apr 28 18:33:23 1998 Frank Ch. Eigler <fche@cygnus.com>
7423
7424 * config/tc-d30v.c (md_show_usage): Correct gettext typo.
7425
7426 Tue Apr 28 12:16:30 1998 Ian Lance Taylor <ian@cygnus.com>
7427
7428 * config/tc-hppa.c: Change all calls to bzero to use memset.
7429 (pa_ip): Add cast to avoid warning.
7430 (tc_gen_reloc, md_apply_fix): Likewise.
7431 (pa_find_space_by_number): Likewise.
7432 (hppa_force_relocation): Likewise.
7433 (pa_block): Change i to unsigned int.
7434 * config/obj-som.h (obj_som_copyright): Declare.
7435
7436 Tue Apr 28 11:35:56 1998 Frank Ch. Eigler <fche@cygnus.com>
7437
7438 * ecoff.c (ecoff_build_lineno): Do not use dummy first_lineno
7439 for line numbers for assembly source.
7440
7441 Mon Apr 27 15:58:46 1998 Ian Lance Taylor <ian@cygnus.com>
7442
7443 * configure.in: Change version number to 2.9.4
7444 * configure: Rebuild.
7445
7446 Mon Apr 27 12:07:33 1998 Doug Evans <devans@seba.cygnus.com>
7447
7448 * cgen.c (cgen_asm_finish_insn): New arg relax_p. All callers updated.
7449
7450 Mon Apr 27 15:16:12 1998 Ian Lance Taylor <ian@cygnus.com>
7451
7452 * ecoff.h: Change symbolS in function declaration to struct
7453 symbol.
7454
7455 Sun Apr 26 13:44:22 1998 Ian Lance Taylor <ian@cygnus.com>
7456
7457 * config/tc-sh.c (parse_reg): Add casts to avoid warnings.
7458 (md_convert_frag): Fix i18n typo.
7459
7460 Sat Apr 25 20:12:02 1998 Richard Henderson <rth@cygnus.com>
7461
7462 * ecoff.c (ecoff_get_cur_proc_sym): New function.
7463 * ecoff.h: Protoype it.
7464 * config/tc-alpha.c [ELF] (s_alpha_prologue): New function.
7465 [EVAX] (s_alpha_prologue): Delete.
7466 (md_pseudo_table): Update.
7467
7468 Sat Apr 25 14:00:52 1998 Ian Lance Taylor <ian@cygnus.com>
7469
7470 * config/tc-i960.c (md_assemble): Change bp_error_msg from static
7471 array to local pointer.
7472 (get_args, parse_expr): Add casts to avoid warnings.
7473
7474 Fri Apr 24 12:47:42 1998 Philippe De Muyter <phdm@macqel.be>
7475
7476 * read.c (s_set): Cast xmalloc return value to fragS *.
7477 * config/tc-m68k.c (m68k_ip): Function made static to match
7478 previous forward declaration.
7479 (insert_reg, init_regtable, md_convert_frag_1): Likewise.
7480
7481 Fri Apr 24 09:26:46 1998 Nick Clifton <nickc@cygnus.com>
7482
7483 * config/tc-v850.c: Add internationalisation macros to error
7484 strings.
7485
7486 * config/tc-m32r.c (can_make_parallel): Add internationalisation
7487 macros to error strings.
7488
7489 Thu Apr 23 19:23:23 1998 Ian Lance Taylor <ian@cygnus.com>
7490
7491 * config/tc-ppc.c (ppc_fix_adjustable): Correct test of whether a
7492 reloc is in the TOC csect.
7493 (md_apply_fix3): Correct gettext typo.
7494
7495 Thu Apr 23 14:58:31 1998 Nick Clifton <nickc@cygnus.com>
7496
7497 * config/tc-arm.c (find_real_start): Ignore symbols starting with
7498 .L - they are local labels and the branches are not really
7499 function calls but rather far jumps.
7500
7501 Wed Apr 22 15:57:21 1998 Tom Tromey <tromey@cygnus.com>
7502
7503 * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir).
7504
7505 Wed Apr 22 14:52:36 1998 Ian Lance Taylor <ian@cygnus.com>
7506
7507 * config/tc-i386.c (md_assemble): Print operand number rather than
7508 using ordinal_names.
7509 (i386_operand): Likewise.
7510
7511 Tue Apr 21 22:34:25 1998 Tom Tromey <tromey@scribbles.cygnus.com>
7512
7513 * Makefile.am (INTLLIBS): Define to work around apparent automake
7514 bug.
7515 All Makefiles: Regenerated.
7516
7517 * Many files: Added gettext invocations around user-visible
7518 strings.
7519 * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
7520 HAVE_LC_MESSAGES): Define.
7521 * dep-in.sed: Added asintl.h.
7522 * po/Make-in: New file.
7523 * gasp.c (main): Call setlocale, bindtextdomain, and textdomain.
7524 Include "asintl.h".
7525 * read.c (Z_): Renamed from `_'.
7526 * Makefile.am (SUBDIRS): Added po.
7527 (POTFILES): new macro.
7528 (po/POTFILES.in): New target.
7529 ($(OBJS)): Added asintl.h.
7530 (HFILES): Likewise.
7531 (INCLUDES): Added -DLOCALEDIR, -I$(top_srcdir)/../intl.
7532 (as_new_LDADD): Added $(INTLLIBS).
7533 (as_new_DEPENDENCIES): Added $(INTLDEPS).
7534 (gasp_new_LDADD): Added $(INTLLIBS).
7535 (gasp_new_DEPENDENCIES): New macro.
7536 * configure, aclocal.m4: Rebuilt.
7537 * configure.in: Call CY_GNU_GETTEXT. Generate po/Makefile.in and
7538 po/Makefile.
7539 (ALL_LINGUAS): Define.
7540 * macro.c: Include "asintl.h".
7541 * as.c (main): Call setlocale, bindtextdomain, and textdomain.
7542 * as.h: Include "asintl.h".
7543 * config/tc-i386.c (ordinal_names): Removed.
7544 (md_assemble): Changed error text to avoid ordinal_names.
7545 (i386_operand): Likewise.
7546 (reloc): Added as_bad to avoid i18n problems.
7547 (tc_gen_reloc): Likewise.
7548 * config/tc-arm.c (bad_args): Now a #define.
7549 (bad_pc): Likewise.
7550 * config/obj-vms.c (VMS_stab_parse): Changed type of
7551 `long_const_msg'.
7552 (global_symbol_directory): Unified strings to avoid i18n
7553 problems.
7554 * config/tc-m68k.c (get_reloc_code): Added some as_bad calls to
7555 avoid i18n problems.
7556 * config/tc-ns32k.c (reloc): Added as_bad to avoid i18n problems.
7557 * config/tc-ppc.c (md_apply_fix3): Added as_bad_where to avoid
7558 i18n problems.
7559 * config/tc-sh.c (md_convert_frag): Added as_bad to avoid i18n
7560 problems.
7561 * config/tc-v850.c (md_assemble): Changed C++ comment into C
7562 comment.
7563 * config/tc-vax.c (md_assemble): Added as_warn to avoid i18n
7564 problems.
7565 * as.c (print_version_id): Added an fprintf to avoid i18n
7566 problems.
7567 * cond.c (cond_finish_check): Added as_bad call to avoid i18n
7568 problems.
7569 * expr.c (expr): Added as_warn call to avoid i18n problems.
7570 * messages.c (as_assert): Changed code to avoid i18n problems.
7571 (as_abort): Likewise.
7572 * read.c (pseudo_set): Added as_bad call to avoid i18n problems.
7573 (s_space): Likewise.
7574 * po/Make-in, po/POTFILES.in, po/gas.pot: New files.
7575
7576 Tue Apr 21 17:01:22 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
7577
7578 * config/tc-i386.c (check_prefix): New static function, split out
7579 from md_assemble.
7580 (struct _i386_insn): Add wait_prefix field.
7581 (md_assemble): Remove wait_prefix local variable. Use
7582 check_prefix when adding a prefix.
7583
7584 * config/tc-i386.c (current_templates): New static variable.
7585 (md_assemble): Remove current_templates local variable.
7586 (md_assemble, i386_operand): Improve error and warning messages in
7587 many places. Add RESTORE_END_STRING in many places before error
7588 return. Clarify some comments.
7589
7590 * config/tc-i386.c (struct _i386_insn): Change seg field to a two
7591 element array.
7592 (md_assemble): Parse string instruction operands, looking for
7593 segment override prefixes. Check for invalid segment prefixes on
7594 string instruction.
7595 (i386_operand): i.seg[] and max mem_operand changes for string
7596 insns.
7597 * config/tc-i386.h (EsSeg): Define.
7598
7599 * config/tc-i386.h (regKludge): Define.
7600 (iclrKludge, imulKludge): Don't define.
7601 * config/tc-i386.c (md_assemble): Merge imulKludge and iclrKludge
7602 code. Move ReverseRegRegmem fudges into Modrm case. Reorder
7603 opcode_modifier checks to look for more common cases first. Add
7604 default_seg for IsString case.
7605
7606 Tue Apr 21 16:18:12 1998 Ian Lance Taylor <ian@cygnus.com>
7607
7608 * configure.in: Call AM_PROG_LEX rather than AC_PROG_LEX and
7609 AC_DECL_YYTEXT.
7610 * configure: Rebuild with new automake and libtool.
7611 * aclocal.m4, Makefile.in: Likewise.
7612
7613 * doc/Makefile.am (as.dvi): New target.
7614 * doc/Makefile.in: Rebuild.
7615
7616 Sat Apr 18 01:21:04 1998 Stan Cox <scox@cygnus.com>
7617
7618 * configure.in: Added sparc86x support.
7619
7620 * configure: Rebuild.
7621
7622 * config/tc-sparc.c (lookup_arch): Added arch_type to struct
7623 sparc_arch.
7624 (md_parse_option): Warn if -EL is not supported for this architecture.
7625
7626 * config/tc-sparc.h (SPARC_BIENDIAN) Always define.
7627
7628 Sat Apr 18 01:19:01 1998 Jeffrey A Law (law@cygnus.com)
7629
7630 * config/tc-mips.c (mips_ip): Note when we use get match on
7631 the full instruction name.
7632
7633 Wed Apr 15 15:17:27 1998 Richard Henderson <rth@cygnus.com>
7634
7635 * symbols.c (resolve_symbol_value) [O_symbol]: Also store the symbol
7636 back into the expression to handle add/sub simplification correctly.
7637
7638 Wed Apr 15 07:06:04 1998 Catherine Moore <clm@cygnus.com>
7639
7640 * config/tc-mips.c (hilo_interlocks): Remove 4300.
7641
7642 Mon Apr 13 16:51:04 1998 Nick Clifton <nickc@cygnus.com>
7643
7644 * config/tc-arm.c (do_msr): Support undocumented 'msr cpsr_flg,
7645 #<n>' instruction.
7646
7647 Thu Apr 9 10:29:42 1998 Doug Evans <devans@canuck.cygnus.com>
7648
7649 * symbols.c (max_indent_level): New global.
7650 (print_symbol_value_1): Use it.
7651 * expr.h (expr_build_dot): Declare.
7652 * expr.c (expr_build_dot): New function.
7653
7654 Wed Apr 8 16:16:11 1998 Doug Evans <devans@canuck.cygnus.com>
7655
7656 * symbols.c (print_binary): New function.
7657 (print_expr_1): Call it.
7658
7659 Mon Apr 6 12:06:39 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7660
7661 * config/tc-m68k.c (m68k_ip, case "#B"): Install the offset of the
7662 operand in the opcode.
7663
7664 Fri Apr 3 11:58:19 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
7665
7666 * config/tc-i386.h: Reorder operand flags and opcode modifier
7667 flags for clarity. Remove unused definitions: Unknown,
7668 ImmUnknown, DispUnknown, NoModrm.
7669 * config/tc-i386.c (type_names): Add missing Debug type.
7670 (md_assemble): Better duplicate prefix checking. Quicker string
7671 instruction check via new opcode_modifier flag.
7672
7673 Fri Apr 3 11:44:34 1998 Ian Lance Taylor <ian@cygnus.com>
7674
7675 * doc/as.texinfo (Invoking): Clarify -Wa example.
7676
7677 Fri Apr 3 09:12:23 1998 Gavin Koch <gavin@cetus.cygnus.com>
7678
7679 * config/tc-mips.c (mips_pseudo_table): Add weakext entry.
7680 (s_mips_weakext): Define.
7681 * ecoff.c (ecoff_directive_weakext): Don't define if defined(TC_MIPS).
7682 * config/obj-ecoff.c (obj_pseudo_table): Don't add weakext if
7683 defined(TC_MIPS).
7684
7685 Thu Apr 2 22:42:02 1998 Jeffrey A Law (law@cygnus.com)
7686
7687 * config/tc-mn10200.c (tc_gen_reloc): The difference of two symbols
7688 is an error if the value can not be computed at assembly time.
7689 * config/tc-mn10300.c (tc_gen-reloc): Likewise.
7690
7691 Thu Apr 2 16:36:47 1998 Ian Lance Taylor <ian@cygnus.com>
7692
7693 * gasp.c (main): Set next field of new include_path structure to
7694 NULL. From Avery Pennarun <averyp@gdc.ca>.
7695
7696 * read.c (s_mri_sect): Call as_bad rather than abort for an
7697 unsupported MRI target.
7698
7699 Wed Apr 1 11:08:27 1998 Nick Clifton <nickc@cygnus.com>
7700
7701 * config/tc-arm.c (arm_validate_fix): New function. Determine if
7702 the destination of a branch instruction should be altered.
7703 (find_real_start): New function: Locate the real, Thumb coded
7704 start of a Thumb function.
7705 (do_t_branch23): Alter the destination of branches to Thumb
7706 functions.
7707
7708 * config/tc-arm.h: Define TC_VALIDATE_FIX.
7709
7710 Tue Mar 31 13:27:33 1998 Dean M. Deaver <deaver@amt.tay1.dec.com>
7711
7712 * config/tc-arm.c (decode_shift): Handle addressing mode 2 w/rrx
7713 also.
7714
7715 Wed Apr 1 13:13:20 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7716
7717 * doc/as.texinfo: Use @itemx for a secondary item in a table.
7718 * doc/c-hppa.texi: Likewise.
7719
7720 Tue Mar 31 17:52:40 1998 Ian Lance Taylor <ian@cygnus.com>
7721
7722 * Makefile.am: Rebuild dependencies.
7723 * Makefile.in: Rebuild.
7724
7725 * Makefile.am (DEP_INCLUDES): New variable.
7726 (.dep1): Change to work when srcdir is not an absolute path.
7727 (.tcdep, .objdep, .dep2, dep.sed): Likewise.
7728 * Makefile.in: Rebuild.
7729
7730 Mon Mar 30 12:46:48 1998 Ian Lance Taylor <ian@cygnus.com>
7731
7732 * config/tc-i386.h, config/tc-i386.c: Revert March 24
7733 LinearAddress patch.
7734
7735 * configure.in: Set version to 2.9.1.
7736 * configure: Rebuild.
7737
7738 * Branched binutils 2.9.
7739
7740 Mon Mar 30 11:22:08 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
7741
7742 * config/tc-i386.h (FWait): Define.
7743 * config/tc-i386.c (md_assemble): Emit fwait prefix before any
7744 other prefixes. Check FWait flag in opcode table to see which
7745 instructions require an fwait prefix.
7746
7747 Mon Mar 30 10:12:00 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7748
7749 * stabs.c (get_stab_string_offset): Always create a stab string
7750 section.
7751
7752 Sat Mar 28 22:28:02 1998 Ian Lance Taylor <ian@cygnus.com>
7753
7754 Fix some gcc -Wall warnings:
7755 * atof-generic.c (atof_generic): Add casts to avoid warnings.
7756 * ehopt.c (eh_frame_code_alignment): Likewise.
7757 * expr.c (integer_constant, operand): Likewise.
7758 * frags.c (frag_align): Likewise.
7759 * gasp.c (level_0, change_base, doinstr): Likewise.
7760 * hash.c (hash_ask): Likewise.
7761 * listing.c (listing_page, calc_hex, print_lines): Likewise.
7762 (debugging_pseudo): Likewise.
7763 * macro.c (define_macro, check_macro): Likewise.
7764 * read.c (read_a_source_file, s_align, s_float_space): Likewise.
7765 (ignore_rest_of_line, float_cons): Likewise.
7766 * symbols.c (decode_local_label_name): Likewise.
7767 * write.c (record_alignment, cvs_frag_to_fill): Likewise.
7768 (fixup_segment, number_to_chars_bigendian): Likewise.
7769 (number_to_chars_littleendian): Likewise.
7770 * config/atof-ieee.c (gen_to_words): Likewise.
7771 * config/tc-sparc.c (md_begin, md_assemble): Likewise.
7772 (sparc_ip, parse_keyword_arg, s_common): Likewise.
7773 * read.c (output_big_sleb128): Initialize locals to avoid
7774 warnings.
7775 (output_big_uleb128, equals): Likewise.
7776 * atof-generic.c (atof_generic): Change number_of_digits_* locals
7777 to unsigned int. Change zeros to unsigned int.
7778 * cond.c (s_if): Add return to default case.
7779 * frags.c (frag_now_fix): Change return type to addressT.
7780 * frags.h (frag_now_fix): Update declaration.
7781 * listing.c (file_info_struct): Change linenum to unsigned int.
7782 (struct list_info_struct): Change hll_line to unsigned int.
7783 (print_source): Update format string.
7784 * read.c (emit_expr): Change scan to unsigned int, and don't
7785 bother to initialize it.
7786 * symbols.c (dollar_label_count): Change to unsigned long.
7787 * write.c (adjust_reloc_syms): Remove unused label reduce_fixup.
7788 * config/tc-sparc.c (sparc_memory_model): Only define if OBJ_ELF.
7789 * config/tc-sparc.c (tc_gen_reloc): Add return to default case.
7790
7791 Fri Mar 27 12:46:47 1998 Ian Lance Taylor <ian@cygnus.com>
7792
7793 * config/tc-m68k.c (m68k_ip): Check legal addressing modes for
7794 mcf5200 just as we do for m68000.
7795 (m68k_init_after_args): Likewise.
7796 (md_estimate_size_before_relax): Likewise.
7797
7798 Fri Mar 27 10:30:01 1998 Catherine Moore <clm@cygnus.com>
7799
7800 * config/tc-v850.c (md_assemble): Store relocation addend in
7801 fixup instead of instruction.
7802
7803 Thu Mar 26 23:07:18 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
7804
7805 * config/tc-i386.c (md_assemble): Swap template arguments to
7806 CONSISTENT_REGISTER_MATCH macro in reverse direction test.
7807 This macro is currently symmetric, so passing them the wrong
7808 way didn't cause any problem, but may if the macro is changed
7809 in the future.
7810 After copying template to i.tm, use i.tm. rather than t-> to
7811 access fields, and make t a const*
7812 Move i.tm.operand_types[] swap to immediately after the copy.
7813
7814 Wed Mar 25 13:44:18 1998 Doug Evans <devans@canuck.cygnus.com>
7815
7816 * expr.h (expr_build_uconstant): Add prototype.
7817 (expr_build_unary,expr_build_binary): Add prototypes.
7818 * expr.c (expr_build_uconstant): New function.
7819 (expr_build_unary,expr_build_binary): New functions.
7820
7821 Wed Mar 25 13:10:42 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
7822
7823 * gasp.c (IS*): Cast argument to unsigned char, not unsigned int.
7824 * macro.c (macro_expand_body): Increase buffer size.
7825 * messages.c (as_warn): Likewise.
7826 (as_warn_where, as_bad, as_bad_where): Likewise.
7827
7828 Wed Mar 25 12:59:07 1998 Ian Lance Taylor <ian@cygnus.com>
7829
7830 Based on patch from H.J. Lu <hjl@gnu.org>:
7831 * Makefile.am (DISTSTUFF): New variable.
7832 (diststuff): New target.
7833 * Makefile.in: Rebuild.
7834
7835 Tue Mar 24 16:51:29 1998 Nick Clifton <nickc@cygnus.com>
7836
7837 * config/tc-m32r.h (md_cleanup, md_elf_section_change_hook): Call
7838 m32r_elf_section_change_hook.
7839
7840 * config/tc-m32r.c (m32r_elf_section_change_hook): New function to
7841 emit a nop if a section ends with a 16 bit instruction.
7842
7843 Tue Mar 24 19:48:09 1998 Ian Lance Taylor <ian@cygnus.com>
7844
7845 * config/obj-coff.c (obj_coff_bss): Compile unconditionally. Call
7846 s_lcomm rather than obj_coff_lcomm.
7847 (obj_pseudo_table): Compile .bss pseudo-op unconditionally.
7848
7849 Tue Mar 24 18:30:58 1998 H.J. Lu <hjl@gnu.org>
7850
7851 * config/tc-i386.h (LinearAddress): Define.
7852 * config/tc-i386.c (md_assemble): If LinearAddress is set for the
7853 instruction, don't use a default segment.
7854
7855 Mon Mar 23 18:53:40 1998 Joel Sherrill <joel@OARcorp.com>
7856
7857 * configure.in: (sh*-*-rtems*): Switched from ELF to COFF.
7858 * configure: Rebuild.
7859
7860 Fri Mar 20 19:15:44 1998 Ian Lance Taylor <ian@cygnus.com>
7861
7862 * aclocal.m4, configure: Rebuild with libtool 1.2.
7863
7864 Thu Mar 19 16:03:12 1998 Nick Clifton <nickc@cygnus.com>
7865
7866 * config/tc-arm.c (md_apply_fix3): fix code to test the range of
7867 PC relative branches. Patch courtesy of Jonathan Walton.
7868
7869
7870 Wed Mar 18 09:29:51 1998 Nick Clifton <nickc@cygnus.com>
7871
7872 * configure.in (emulations): Add thumb-pe target.
7873
7874 * configure (emulations): Add thumb-pe target.
7875
7876 1998-03-17 Ken Raeburn <raeburn@cygnus.com>
7877
7878 * itbl-lex.l (yywrap): Don't define if already defined as a
7879 macro.
7880
7881 Fri Mar 13 16:31:38 1998 Tom Tromey <tromey@cygnus.com>
7882
7883 * depend.c (quote_string_for_make): New function.
7884 (wrap_output): Use it.
7885
7886 Thu Mar 12 18:28:22 1998 Nick Clifton <nickc@cygnus.com>
7887
7888 * config/obj-elf.c (obj_elf_section): Set bss flag in seg_info
7889 structure if type is SHT_NOBITS. [Bug fix courtesy of rth]
7890
7891 Sat Feb 28 17:28:55 1998 Richard Henderson <rth@cygnus.com>
7892
7893 * config/tc-alpha.c (md_shortopts, md_longopts, md_parse_option):
7894 Recognize -GN and -relax.
7895 (md_begin): Initialize gp size from -G switch.
7896 (alpha_force_relocation): Always force if -relax.
7897 (alpha_align): Take a new argument that will specify when to
7898 emit an R_ALPHA_ALIGN relocation (though we don't do that now).
7899 Change all callers. Emit nop alignment padding as nop+unop pair.
7900
7901 Sat Feb 28 17:06:22 1998 Richard Henderson <rth@cygnus.com>
7902
7903 * config/obj-elf.c [TC_ALPHA]: Include <elf/alpha.h>.
7904 * config/tc-alpha.h (ELF_TC_SPECIAL_SECTIONS): New.
7905
7906 Thu Feb 26 15:49:04 1998 Michael Meissner <meissner@cygnus.com>
7907
7908 * config/tc-d30v.c (write_2_short): Delayed jsr instructions don't
7909 require padding to the next long word boundary.
7910
7911 Mon Feb 23 11:29:06 1998 Doug Evans <devans@seba.cygnus.com>
7912
7913 * cgen.c: #include symcat.h.
7914 * config/tc-m32r.c: Likewise.
7915
7916 Mon Feb 23 10:27:40 1998 Jeffrey A Law (law@cygnus.com)
7917
7918 * config/tc-mips.c (mips_ip, case 'P'): Make 'P' arguments be
7919 absolute expressions instead of '$' prefixed register names.
7920
7921 Sat Feb 21 22:36:52 1998 Richard Henderson <rth@cygnus.com>
7922
7923 * read.c (s_set): Record file and line info for symbols when -as.
7924 (pseudo_set): Don't overwrite that dummy fragment.
7925
7926 Fri Feb 20 15:03:13 1998 Ian Lance Taylor <ian@cygnus.com>
7927
7928 * config/tc-ppc.c (md_pseudo_table): Add "section".
7929 (ppc_named_section): New static function.
7930
7931 Thu Feb 19 22:25:42 1998 Richard Henderson <rth@cygnus.com>
7932
7933 * tc-ppc.c (ppc_biei): Cache the last symbol we inserted
7934 so we don't have to scan the entire list.
7935
7936 Tue Feb 17 17:02:15 1998 Fred Fish <fnf@cygnus.com>
7937
7938 * config/tc-d30v.c (parallel_ok): For the explicitly parallel
7939 case, allow the parallel instructions to modify the same flag
7940 bits.
7941
7942 Thu Feb 19 16:08:15 1998 Richard Henderson <rth@cygnus.com>
7943
7944 * listing.c (list_symbol_table): Categorize symbols by
7945 undefined_section rather than sy_frag->line == NULL.
7946
7947 Wed Feb 18 23:39:46 1998 Richard Henderson <rth@cygnus.com>
7948
7949 * Makefile.am (install-exec-local): Install properly when ln
7950 fails or tooldir == prefix.
7951
7952 Tue Feb 17 18:58:51 1998 Doug Evans <devans@seba.cygnus.com>
7953
7954 * cgen.c (cgen_md_apply_fix3): Delete call to validate_operand.
7955 Test result of insert_operand for error.
7956
7957 Fri Feb 13 16:41:42 1998 Ian Lance Taylor <ian@cygnus.com>
7958
7959 * Makefile.am (AUTOMAKE_OPTIONS): Add cygnus.
7960 * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.
7961 * doc/Makefile.am (AUTOMAKE_OPTIONS): Define.
7962 * doc/Makefile.in: Rebuild.
7963
7964 Fri Feb 13 00:47:44 1998 Ian Lance Taylor <ian@cygnus.com>
7965
7966 * config/tc-mips.c (macro_build): Handle operand type 'C'.
7967 (macro): Fix handling of M_COP[0-3].
7968
7969 Thu Feb 12 14:06:59 1998 Ian Lance Taylor <ian@cygnus.com>
7970
7971 Based on patches from Ross Harvey <ross@teraflop.com>:
7972 * macro.c (ISSEP): Only treat '<' and '>' as separator characters
7973 if macro_alternate or macro_mri.
7974 (getstring): Remove support for byte constants between < and >.
7975 (get_any_string): '<' only starts a string if macro_alternate or
7976 macro_mri.
7977 (macro_expand_body): Permit keyword parameters following
7978 positional parameters.
7979
7980 NetBSD patches from Gordon W. Ross <gwr@mc.com>:
7981 * configure.in (alpha*-*-netbsd*): New target.
7982 * config/te-nbsd.h (LOCAL_LABELS_FB): Define.
7983 * configure: Rebuild.
7984
7985 * as.h (flag_warn_suppress_instructionswap): Move from here...
7986 * config/tc-d10v.c (flag_warn_suppress_instructionswap): ...to
7987 here, and make static.
7988
7989 * ehopt.c (eh_frame_code_alignment): Only use seg_info if
7990 BFD_ASSEMBLER or MANY_SEGMENTS.
7991
7992 * as.c (show_usage): Update bug-gnu-utils address.
7993 * gasp.c (show_usage): Likewise.
7994 * doc/as.texinfo (Bug Reporting): Likewise.
7995
7996 Wed Feb 11 23:26:28 1998 Jeffrey A Law (law@cygnus.com)
7997
7998 * config/tc-mips.c (load_address): Don't use mips III or mips IV
7999 insns regardless of the size of a pointer if we're in mips I or
8000 MIPS II mode.
8001 (macro, macro2, s_cprestore, s_cpadd): Likewise.
8002
8003 Thu Feb 12 03:41:00 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8004
8005 Fix rac to accept only a0:
8006 * tc-d10v.c (parallel_ok, find_opcode):
8007 Split OPERAND_ACC into OPERAND_ACC0 and OPERAND_ACC1.
8008 Introduce OPERAND_GPR.
8009
8010 Wed Feb 11 16:28:13 1998 Richard Henderson <rth@cygnus.com>
8011
8012 * read.c (s_fill): Handle non-constant repeat counts by creating
8013 an rs_space fragment.
8014
8015 Tue Feb 10 18:31:31 1998 Ian Lance Taylor <ian@cygnus.com>
8016
8017 * config/tc-i386.c (i386_operand): Change error added Jan 2 1998
8018 from as_bad to as_warn.
8019
8020 Tue Feb 10 18:04:00 1998 Jim Lemke <jlemke@cygnus.com>
8021
8022 * as.c: (perform_an_assembly_pass): Use [TEXT|DATA|BSS]_SECTION_NAME
8023 * as.h: Define default values of [TEXT|DATA|BSS]_SECTION_NAME
8024 * config/obj-elf.c (elf_begin): Use [TEXT|DATA|BSS]_SECTION_NAME
8025
8026 Tue Feb 10 17:58:18 1998 Ian Lance Taylor <ian@cygnus.com>
8027
8028 * ehopt.c (eh_frame_code_alignment): If not BFD_ASSEMBLER, use
8029 seg_fix_rotP rather than fix_root from seg_info.
8030
8031 Tue Feb 10 15:32:22 1998 Ian Carmichael <iancarm@cygnus.com>
8032
8033 * expr.c: Add support for 0x1_2_3_4 bignums.
8034
8035 Tue Feb 10 14:43:40 1998 Ian Lance Taylor <ian@cygnus.com>
8036
8037 * configure.in: Change -linux* to -linux-gnu*.
8038 * configure: Rebuild.
8039
8040 * app.c (do_scrub_begin): Treat \r as whitespace.
8041
8042 Mon Feb 9 14:16:11 1998 Ian Lance Taylor <ian@cygnus.com>
8043
8044 * Makefile.am: Update dependencies.
8045 * Makefile.in: Rebuild.
8046
8047 Sat Feb 7 15:33:51 1998 Ian Lance Taylor <ian@cygnus.com>
8048
8049 * configure, aclocal.m4: Rebuild with new libtool.
8050
8051 Fri Feb 6 16:08:30 1998 Jeffrey A Law (law@cygnus.com)
8052
8053 * config/tc-mips.c (md_begin): If mips_cpu is set, then use it as
8054 the argument to bfd_set_arch_mach.
8055 (load_address): Use bfd_arch_bits_per_address to determine the
8056 bit size of an address instead of looking at the isa level.
8057 (macro, macro2, s_cprestore, s_cpadd): Likewise.
8058
8059 Fri Feb 6 14:44:34 1998 Nick Clifton <nickc@cygnus.com>
8060
8061 * config/tc-v850.c (md_parse_option): Add -mv850any command line option.
8062
8063 Thu Feb 5 12:39:08 1998 Ian Lance Taylor <ian@cygnus.com>
8064
8065 * ehopt.c: New file.
8066 * as.h (enum _relax_state): Add rs_cfa.
8067 (check_eh_frame, eh_frame_estimate_size_before_relax): Declare.
8068 (eh_frame_relax_frag, eh_frame_convert_frag): Declare.
8069 * read.c (emit_expr): Call check_eh_frame.
8070 * write.c (cvt_frag_to_fill): Handle rs_cfa.
8071 (relax_segment): Likewise.
8072 * Makefile.am: Rebuild dependencies.
8073 (GAS_CFILES): Add ehopt.c.
8074 (GENERIC_OBJS): Add ehopt.o.
8075 * doc/internals.texi (Frags): Document rs_cfa.
8076
8077 * as.c (show_usage): Mention --traditional-format.
8078 (parse_args): Accept --traditional-format.
8079 * as.h (flag_traditional_format): Declare.
8080 * output-file.c (output_file_create): If flag_traditional_format,
8081 set BFD_TRADITIONAL_FORMAT on stdoutput.
8082 * doc/as.texinfo, doc/as.1: Document --traditional-format.
8083
8084 * config/tc-mips.c (append_insn): Make sure that if we have a
8085 fixup for an unmatched %hi reloc, it does not associated with a
8086 variant frag.
8087
8088 * configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
8089 * doc/Makefile.in: Likewise.
8090
8091 Wed Feb 4 15:41:54 1998 Nick Clifton <nickc@cygnus.com>
8092
8093 * config/tc-m32r.c (check_for_side_effects): New function.
8094 (can_make_parallel): Add checks for instruction side effects
8095 clashing with the other instruction.
8096 (assemble_parallel_insn): Improve warning messages. Return error
8097 message from non-swapped instruction order.
8098
8099 Wed Feb 4 20:00:26 1998 James G. Smith <jsmith@teknema.demon.co.uk>
8100
8101 * config/tc-arm.c: Rename arm_after_pass_hook() to arm_cleanup().
8102
8103 * config/tc-arm.h: Replace md_after_pass_hook definition with a
8104 md_cleanup definition. This moves the forced literal output to
8105 the end of the source pass, and avoids macro's inserting literals
8106 into the code immediately after the macro expansion.
8107
8108 Wed Feb 4 13:17:19 1998 Ian Lance Taylor <ian@cygnus.com>
8109
8110 * config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: A reloc against
8111 a gas internal symbol is adjustable.
8112 * config/tc-ppc.h (tc_fix_adjustable): Likewise.
8113
8114 * as.h: If gcc version greater than 2.6, use `__format__' and
8115 `__printf__' in function attributes, rather than `format' and
8116 `printf'.
8117
8118 Mon Feb 2 18:38:18 1998 Ian Lance Taylor <ian@cygnus.com>
8119
8120 * config/tc-sparc.c: Only include elf/sparc.h if OBJ_ELF.
8121
8122 Mon Feb 2 18:30:34 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU>
8123
8124 Add tms320c30 support:
8125 * config/tc-tic30.h: New file.
8126 * config/tc-tic30.c: New file.
8127 * config/obj-coff.h: If TC_TIC30, include coff/tic30.h and define
8128 TARGET_FORMAT as "coff-tic30".
8129 * configure.in (tic30-*-*aout*, tic30-*-*coff*): New targets.
8130 * Makefile.am: Rebuild dependencies.
8131 (CPU_TYPES): Add tic30.
8132 (CPU_OBJ_VALID): tic30-aout is valid.
8133 (TARGET_CPU_CFILES): Add config/tc-tic30.c.
8134 (TARGET_CPU_HFILES): Add config/tc-tic30.h.
8135 * configure, Makefile.in: Rebuild.
8136
8137 Mon Feb 2 10:20:37 1998 Nick Clifton <nickc@cygnus.com>
8138
8139 * config/tc-v850.c (md_assemble): Improvements to error messages.
8140
8141 Mon Feb 2 12:39:05 1998 Geoff Keating <geoffk@ozemail.com.au>
8142
8143 * config/tc-ppc.c (md_apply_fix3): Change BFD_RELOC_HI16 and
8144 BFD_RELOC_HI16_S to store the high bits of any value.
8145
8146 * config/tc-ppc.h (tc_fix_adjustable): Undo change of Fri Jun 27.
8147 (TC_RELOC_RTSYM_LOC_FIXUP): Don't let the
8148 assembler calculate relocations to any external symbol at all.
8149 * config/tc-ppc.c (md_apply_fix3) [OBJ_ELF]: Correct bugs
8150 involving generation of pc-relative relocs.
8151 (md_pcrel_from_section) [OBJ_ELF]: The job this code used to do
8152 has been moved to md_apply_fix3.
8153
8154 * config/tc-ppc.c (md_apply_fix3): Fix test for too-far branch.
8155 (ppc_elf_suffix): Warn about 'identifier+constant@got' syntax,
8156 which actually means (the address of identifier's GOT entry) +
8157 constant, which is not particularly useful.
8158
8159 Fri Jan 30 11:02:35 1998 Doug Evans <devans@canuck.cygnus.com>
8160
8161 * read.h (include_dirs): Declare.
8162 (include_dir_count,include_dir_maxlen): Declare.
8163
8164 Fri Jan 30 11:47:02 1998 Ian Lance Taylor <ian@cygnus.com>
8165
8166 * configure.in: Correct check for shared opcodes library.
8167 * configure: Rebuild.
8168
8169 * listing.c (buffer_line): If we can't open the file, set at_end.
8170 (listing_print): Remove unused local variable fi.
8171
8172 * config/m68k-parse.y (reglistpair): Handle register list in
8173 either order.
8174
8175 * config/vms-conf.h: Don't undef VERSION.
8176
8177 Thu Jan 29 14:42:44 1998 Pat Rankin <rankin@eql.caltech.edu>
8178
8179 * Makefile.am (CONFIG_OBJS): New variable, containing part of old
8180 OBJS variable.
8181 (GENERIC_OBJS): New variable, with the rest of the old OBJS
8182 variable.
8183 (OBJS): Now just $(CONFIG_OBJS) and $(GENERIC_OBJS).
8184 ($(srcdir)/make-gas.com): Rename from make-gas.com.
8185 (stamp-mk.com): Replace $(OBJS) with $(GENERIC_OBJS).
8186 (EXTRA_DIST): Define.
8187 * vmsconf.sh: Handle {targ-cpu, obj-format, atof-targ} modules
8188 explicitly rather than via the list of object files.
8189 (gcc-as.opt): New file created when make-gas.com is run.
8190 * config-gas.com: Create {targ-cpu.h, obj-format.h, targ-env.h,
8191 itbl-cpu.h} to #include appropriate file rather than copying that
8192 file.
8193 * config/vms-conf.h: Synchronize with current config.in.
8194 * Makefile.in: Rebuild.
8195
8196 Thu Jan 29 18:48:19 1998 Bill Moyer <billm@cygnus.com>
8197
8198 * config/tc-d30v.c (do_assemble): Added flag_explicitly_parallel.
8199 (parallel_ok): Relaxed parallel subinstruction dependency check.
8200
8201 Wed Jan 28 14:35:00 1998 Bill Moyer <billm@cygnus.com>
8202
8203 * as.h (flag_warn_suppress_instructionswap): added new flag.
8204 * tc-d10v.c (md_parse_option,md_longopts): added "--nowarnswap"
8205 command line argument.
8206 * tc-d10v.c (write_2_short): emit "Swapping instructions"
8207 warning only if flag_warn_suppress_instructionswap is false.
8208
8209 Wed Jan 28 16:41:19 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
8210
8211 * configure.in (i386-*-mingw32*): New target.
8212 * configure: Rebuild.
8213
8214 Wed Jan 28 14:51:18 1998 Ian Lance Taylor <ian@cygnus.com>
8215
8216 * symbols.c (resolve_symbol_value): Don't set the segment if it
8217 hasn't changed, and this is OBJ_AOUT without BFD_ASSEMBLER.
8218
8219 * config/obj-aout.h (S_IS_LOCAL): Correct typo--pass argument to
8220 S_GET_SEGMENT.
8221
8222 Wed Jan 28 13:54:50 1998 Pat Rankin <rankin@eql.caltech.edu>
8223
8224 as.h (unlink): Reverse 13-Feb-97 change; use of unlink vs remove
8225 depends upon HAVE_{UNLINK,REMOVE} values rather than host
8226 compiler.
8227
8228 Wed Jan 28 13:48:08 1998 Ian Lance Taylor <ian@cygnus.com>
8229
8230 * config/obj-coff.h (RESOLVE_SYMBOL_REDEFINITION): Define.
8231
8232 Wed Jan 28 09:52:00 1998 Nick Clifton <nickc@cygnus.com>
8233
8234 * config/tc-v850.c (v850_insert_operand): Display instruction when
8235 an error is encountered.
8236
8237 Tue Jan 27 13:32:01 1998 Robert Lipe <robertl@dgii.com>
8238
8239 * configure.in (i386-*-sco3.2v5*): Defaults to ELF now.
8240 (i386-*-sco3.2v5*coff): New target.
8241 (i386-*-sco3.2*): New target.
8242 * configure: Rebuild.
8243
8244 Tue Jan 27 11:06:52 1998 Nick Clifton <nickc@cygnus.com>
8245
8246 * config/tc-v850.c: Tidy error message production.
8247
8248 Tue Jan 27 12:24:32 1998 Ian Lance Taylor <ian@cygnus.com>
8249
8250 * config/tc-arm.c (md_apply_fix3): Add new variable newimm to hold
8251 validate_immediate return value in the right type for comparisons
8252 to FAIL.
8253
8254 Tue Jan 27 06:51:59 1998 Richard Henderson <rth@cygnus.com>
8255
8256 * listing.c (MAX_BYTES): Use listing variables not constants.
8257 (data_buffer): No longer an array, but a pointer.
8258 (calc_hex): sizeof(data_buffer) -> MAX_BYTES.
8259 (listing_listing): Allocate data_buffer.
8260
8261 Tue Jan 27 06:38:35 1998 Richard Henderson <rth@cygnus.com>
8262
8263 * as.c (parse_args): Add --listing-lhs-width, --listing-lhs-width2,
8264 --listing-rhs-width, --listing-cont-lines.
8265 (show_usage): Update.
8266 * listing.c (listing_lhs_width, listing_lhs_width_second): New vars.
8267 (listing_lhs_cont_lines, listing_rhs_width): New vars.
8268 (print_lines): Use the variables instead of the constants.
8269 (listing_listing): Likewise.
8270 * listing.h: Declare the new vars.
8271
8272 Tue Jan 27 05:32:05 1998 Richard Henderson <rth@cygnus.com>
8273
8274 * as.c (parse_args): Add --keep-locals alias for -L.
8275 Add --strip-local-absolute.
8276 (show_usage): Update.
8277 * as.h (flag_strip_local_absolute): New flag.
8278 * symbols.c (S_IS_LOCAL): Use it.
8279 * config/obj-aout.h (S_IS_LOCAL): Likewise.
8280 * config/obj-bout.h (S_IS_LOCAL): Likewise.
8281 * config/obj-coff.h (S_IS_LOCAL): Likewise.
8282
8283 Mon Jan 26 13:07:41 1998 Nick Clifton <nickc@cygnus.com>
8284
8285 * config/tc-m32r.c: Detect if explicitly parallel instructions
8286 might have an io conflict and issue a warning message.
8287
8288 Thu Jan 22 17:51:44 1998 Nick Clifton <nickc@cygnus.com>
8289
8290 * cgen.c (cgen_save_fixups, cgen_restore_fixups,
8291 cgen_swap_fixups): Functions to save, restore and swap the fixup
8292 chain with a backup copy.
8293 (cgen_asm_finish_insn): Returns address of constructed insn.
8294
8295 Wed Jan 21 16:49:10 1998 Richard Henderson <rth@cygnus.com>
8296
8297 * listing.c (file_info_struct): Remove FILE, add POS.
8298 (last_open_file_info, last_open_file): New; a one entry FILE* cache.
8299 (file_info): Don't open the file.
8300 (buffer_line): Check for the file in the last_open cache, updating
8301 as necessary.
8302 (print_source): Don't reference file_info->file.
8303 (listing_listing): Likewise.
8304 (listing_print): Close the file in the cache, if any.
8305
8306 Fri Jan 16 14:51:48 1998 Ian Lance Taylor <ian@cygnus.com>
8307
8308 * read.c (dwarf_file_string): New file static variable.
8309 (emit_expr): Look for constant sequence that leads up to a file
8310 name in DWARF debugging output.
8311 (stringer): Use dwarf_file_string to decide whether to accept a
8312 string as a file name.
8313
8314 Fri Jan 16 11:30:37 1998 Richard Henderson <rth@cygnus.com>
8315
8316 * tc-m68k.c (m68k_ip): Remove absl->reglst MRI hack.
8317 (crack_operand): Add reg->reglst MRI hack.
8318 (r_seg): Put reglst symbols in reg_section.
8319 (m68k_frob_symbol): Frob reglst symbols into absolute_section.
8320
8321 Thu Jan 15 14:19:01 1998 Richard Henderson <rth@cygnus.com>
8322
8323 * tc-sh.c (get_specific): Handle SGR & DBR.
8324
8325 Thu Jan 15 13:46:48 1998 Richard Henderson <rth@cygnus.com>
8326
8327 * tc-h8300.c (parse_reg): Take the length of the symbol into
8328 account when attempting to match a register name.
8329 * tc-h8500.c (parse_reg): Likewise.
8330
8331 Wed Jan 14 17:52:33 1998 Nick Clifton <nickc@cygnus.com>
8332
8333 * cgen.c: Formatting changes to improve readability.
8334
8335 Wed Jan 14 15:41:41 1998 Jeffrey A Law (law@cygnus.com)
8336
8337 * config/tc-mips.c (macro): Rework division code to avoid unfilled
8338 delay slot.
8339
8340 Wed Jan 14 18:04:20 1998 Michael Meissner <meissner@cygnus.com>
8341
8342 Based on a patch from Jim Wilson
8343 * config/tc-d30v.c (do_assemble): Remove non-ansi default case.
8344 (tc_gen_reloc): Handle cross section PC relative relocs
8345 correctly.
8346
8347 Wed Jan 14 15:02:19 1998 Doug Evans <devans@seba.cygnus.com>
8348
8349 * config/tc-mips.c (mips_ip): Don't test pinfo flags if INSN_MACRO.
8350
8351 Mon Jan 12 13:04:57 1998 Doug Evans <devans@seba.cygnus.com>
8352
8353 * cgen.c: #include setjmp.h. Clean up pass over `struct foo' usage.
8354 (expr_jmp_buf): New static local.
8355 (cgen_parse_operand): Allow use of longjmp in parsing to handle errors.
8356 (cgen_md_operand): New function.
8357 * tc-m32r.c: Clean up pass over `struct foo' usage.
8358 (md_estimate_size_before_relax): Use CGEN_INSN_MNEMONIC.
8359
8360 Tue Jan 6 15:36:02 1998 Richard Henderson <rth@cygnus.com>
8361
8362 * symbols.c (S_SET_SEGMENT): Don't set the segment for section syms.
8363 (S_IS_EXTERNAL, S_IS_LOCAL): Correct parenthetication.
8364
8365 Fri Jan 2 16:08:54 1998 Ian Lance Taylor <ian@cygnus.com>
8366
8367 * config/tc-i386.c (i386_operand): Give an error if there are
8368 unrecognized characters after an expression.
8369
8370 For older changes see ChangeLog-9697