]> Git Repo - binutils.git/blob - gas/ChangeLog
* config/tc-mn10300.h (tc_fix_adjustable): Don't do any
[binutils.git] / gas / ChangeLog
1 Sun Dec  1 21:46:05 1996  Jeffrey A Law  ([email protected])
2
3         * config/tc-mn10300.h (tc_fix_adjustable): Don't do any
4         reloc adjustments.
5
6 Sat Nov 30 17:34:48 1996  Eliot Dresselhaus  <[email protected]>
7
8         * config/tc-i386.c: Correct misspelling: balenced to balanced.
9
10 Wed Nov 27 13:25:39 1996  Ian Lance Taylor  <[email protected]>
11
12         * config/tc-mips.c (md_section_align): Check for an alignment of
13         4, not an alignment of 16.  Corrects August 7 patch.
14
15 Tue Nov 26 10:33:16 1996  Ian Lance Taylor  <[email protected]>
16
17         * configure, conf.in: Rebuild with autoconf 2.12.
18
19         * config/tc-ppc.c (ppc_elf_lcomm): Don't give an error if no
20         alignment is specified.
21
22         Add support for mips16 (16 bit MIPS implementation):
23         * config/tc-mips.c: Extensive additions for mips16 support, not
24         listed here.
25         (RELAX_OLD, RELAX_NEW): Use only 7 bits each.
26         (insn_uses_reg): Change last parameter to an enum.
27         * config/tc-mips.h (LOCAL_LABELS_DOLLAR): Define as 0.
28         (md_relax_frag): Define as mips_relax_frag.
29         (mips_relax_frag): Declare.
30         (struct mips_cl_insn): Add use_extend and extend fields.
31         (tc_fix_adjustable): Define.
32         * config/obj-elf.h (S_GET_OTHER): Define.
33         (S_SET_OTHER): Define.
34
35 Mon Nov 25 18:02:29 1996  J.T. Conklin  <[email protected]>
36
37         * config/tc-m68k.c (m68k_ip): Implement cases for new <, >, m, n,
38         o and p operand specifiers.
39
40 Mon Nov 25 10:45:14 1996  Doug Evans  <[email protected]>
41
42         * write.c: Delete "ifndef md_relax_frag" around is_dnrange.
43         (relax_segment, case rs_org): Move code inside braces.  Move locals
44         target,after inside too.
45         (relax_segment, case rs_machine_dependent): Guts moved to ...
46         (relax_frag): New function.
47         Call md_prepare_relax_scan if defined.
48         * config/tc-m68k.h (md_prepare_relax_scan): Renamed from
49         M68K_AIM_KLUDGE.
50
51 Mon Nov 25 08:49:36 1996  Jeffrey A Law  ([email protected])
52
53         * config/tc-mn10300.c (address_registers): Use '$' as register
54         prefix instead of '%'.
55         (data_registers, other_registers, md_assemble): Likewise.
56
57         * config/tc-mn10300.c (address_registers): Use '%' prefix for regs.
58         (data_registers, other_registers, md_assemble): Likewise.
59
60         * config/tc-mn10300.c (md_assemble): Correctly determine the
61         correct location and type for each relocation.
62         (md_pcrel_from): Simplify.
63
64 Fri Nov 22 15:42:26 1996  Ian Lance Taylor  <[email protected]>
65
66         * config/tc-sh.c (md_convert_frag): Improve warning when branch is
67         converted into branch around branch.
68
69 Thu Nov 21 11:56:11 1996  Jeffrey A Law  ([email protected])
70
71         * config/tc-mn10300.h (DIFF_EXPR_OK): Don't define this.
72         (tc_fix_adjustable): Don't adjust relocs against weak symbols or 
73         pc-relative relocs.
74         * config/tc-mn10300.c (md_begin): Set linkrelax.
75         (md_assemble): Create fixups as needed.
76         (md_apply_fix3): Gut.  It shouldn't ever get called anymore.
77
78 start-sanitize-d10v
79 Tue Nov 19 17:48:06 1996  Michael Meissner  <[email protected]>
80
81         * config/tc-d10v.c (parallel_ok): When automatically converting
82         serial ops to parallel, do not consider a branch as the first
83         instruction.
84
85 end-sanitize-d10v
86 Tue Nov 19 13:35:22 1996  Jeffrey A Law  ([email protected])
87
88         * config/tc-mn10300.c (md_assemble): Handle MN10300_OPERAND_REG_LIST.
89
90 Mon Nov 18 15:26:55 1996  Jeffrey A Law  ([email protected])
91
92         * config/tc-mn10300.c (mn10300_insert_operand): Provide prototype
93         via PARAMS.
94         (check_operand): Likewise.
95
96 start-sanitize-d10v
97 Mon Nov 18 15:22:28 1996  Michael Meissner  <[email protected]>
98
99         * config/tc-d10v.c (parallel_ok): Branch and link instructions
100         modify r13.
101         (write_2_short): Call parallel_ok to check whether two short
102         instructions the user requested execute in parallel, can be
103         executed that way.
104
105 Thu Nov 14 11:17:49 1996  Martin M. Hunt  <[email protected]>
106
107         * config/tc-d10v.c (write_2_short): Fix bug that wouldn't
108         allow a branch and link in parallel with an exe instruction.
109
110 Fri Nov  8 13:55:03 1996  Martin M. Hunt  <[email protected]>
111
112         * doc/c-d10v.texi: Add info on @word modifier.
113
114 end-sanitize-d10v       
115 Wed Nov  6 13:46:07 1996  Jeffrey A Law  ([email protected])
116         
117         * config/tc-mn10300.c (mn10300_insert_operand): MN10300_OPERAND_SPLIT
118         operands are assumed to be 32bits.  Use "bits" field to hold the
119         number of bits in the main instruction word for MN10300_OPERAND_SPLIT.
120         (mn10300_check_operand): MN10300_OPERAND_SPLIT operands are assumed
121         to be 32bits.
122
123         * config/tc-mn10300.c (mn10300_insert_operand): Shift low part
124         of a MN10300_OPERAND_SPLIT operand by operand->shift.
125
126         * config/tc-mn10300.c (mn10300_insert_operand): Handle
127         MN10300_OPERAND_SPLIT.
128
129 Tue Nov  5 13:30:40 1996  Jeffrey A Law  ([email protected])
130
131         * config/tc-mn10300.c (md_assemble): Insert operands into
132         the extension part of the instruction if necessary.
133         (mn10300_insert_operand): Accept pointer to extension word
134         argument.  Make insn a pointer argument too.  Return type
135         is now void.  All callers changed.
136
137 Mon Nov  4 12:53:40 1996  Jeffrey A Law  ([email protected])
138
139         * config/tc-mn10300.c (mn10300_insert_operand): Handle
140         repeated register operands.
141
142 Fri Nov  1 10:42:49 1996  Ian Lance Taylor  <[email protected]>
143
144         * doc/as.texinfo: Added section on reporting bugs.
145
146         * config/tc-alpha.c: Change uses of void * to PTR.  Change the
147         alpha_macro emit field to expect a const argument, and change the
148         arg field to be const.  Fix some spacing to follow the GNU
149         standard.
150
151 Fri Nov  1 10:32:03 1996  Richard Henderson  <[email protected]>
152
153         * config/tc-alpha.c (md_parse_option): Add knowledge of 21164pc
154         (pca56) and 21264 (ev6) cpus.
155         (md_apply_fix): Private relocation types are now negative.
156         (alpha_force_relocation): Likewise.
157         (tc_gen_reloc): Likewise.
158         (emit_insn): Likewise.
159         (emit_ldXu): Do the right thing when the hardware can do byte insns.
160         (emit_stX): Likewise.
161         (emit_sextX): Likewise.
162
163 Thu Oct 31 16:33:21 1996  Ian Lance Taylor  <[email protected]>
164
165         * config/obj-coff.c (do_relocs_for): Call resolve_symbol_value on
166         a symbol found in a reloc.
167
168         * symbols.c (resolve_symbol_value): Improve the error message if
169         an undefined symbol is used in an expression.
170
171 Wed Oct 30 20:15:35 1996  Ian Lance Taylor  <[email protected]>
172
173         * doc/internals.texi: Rewrite, and add a lot of documentation.
174         * doc/Makefile.in (internals.info): New target.
175
176 start-sanitize-v850
177 Wed Oct 30 14:55:57 1996  Jeffrey A Law  ([email protected])
178
179         * config/tc-v850.h (tc_fix_adjustable): Don't adjust relocs
180         against weak symbols.
181
182 Tue Oct 29 12:28:16 1996  Jeffrey A Law  ([email protected])
183
184         * config/tc-v850.c (md_assemble): Don't lose for relaxable
185         addresses like .+6.
186
187         * config/tc-v850.c (md_convert_frag): Make sure we insert the
188         fixup at the right address within the frag.
189
190         * config/tc-v850.c (md_convert_frag): Don't set fragP->fr_fix
191         to an absolute value, instead increment it as needed.
192
193         * config/tc-v850.h (TC_GENERIC_RELAX_TABLE): Define.
194         * config/tc-v850.c: Fix some indention problems.
195         (md_relax_table): Define for D9->D99 branch displacement
196         relaxing.
197         (md_convert_frag): Do something useful instead of aborting.
198         (md_estimate_size_before_relax): Likewise.
199         (md_assemble): Note if the matching instruction has a relaxable
200         operand.  If it does, allocate frag with frag_var and don't
201         do any fixups.
202
203 end-sanitize-v850
204 start-sanitize-d10v
205 Mon Oct 28 10:48:40 1996  Martin M. Hunt  <[email protected]>
206
207         * config/tc-d10v.h (md_cleanup): New function.  This is needed to
208         write out any buffered instructions when a ".end" is found.
209
210 end-sanitize-d10v       
211 Mon Oct 28 10:43:45 1996  Martin M. Hunt  <[email protected]>
212
213         * read.c (read_a_source_file): New hook md_cleanup().
214
215 Fri Oct 25 00:01:00 1996  Ian Lance Taylor  <[email protected]>
216
217         * write.c (fix_new_exp): Use make_expr_symbol to build an
218         expression symbol for a complex fixup.
219
220 start-sanitize-v850
221 Thu Oct 24 14:31:04 1996  Jeffrey A Law  ([email protected])
222
223         * config/tc-v850.c (v850_reloc_prefix): Several disgusting
224         hacks to improve parsing of complex hi, lo, zda, etc
225         expressions.
226         (md_assemble): Don't demand and eat a trailing ')' after finding
227         a v850 relocation prefix.  Sign extend the constant in a
228         BFD_RELOC_LO16 expression.  Do eat a trailing ')' after a complete
229         operand.
230         (parse_cons_expression_v850): Don't eat a trailing ')' after
231         finding a v850 relocation prefix.
232
233         * config/tc-v850.h (TC_PARSE_CONS_EXPRESSION): Define.
234         (TC_CONS_FIX_NEW): Likewise.
235         * config/tc-v850.c (parse_cons_expression_v850): New function.
236         (cons_fix_new_v850): Likewise.
237
238         * config/tc-v850.h (tc_fix_adjustable): Don't adjust TDA relocs.
239
240 end-sanitize-v850
241 Wed Oct 23 18:20:29 1996  Ian Lance Taylor  <[email protected]>
242
243         * config/tc-ppc.c (md_apply_fix3): Give a better warning message
244         for an unknown relocation type.
245
246 start-sanitize-v850
247 Wed Oct 23 16:21:28 1996  Jeffrey A Law  ([email protected])
248
249         * config/tc-v850.c (md_pseudo_table): Add .word; allocates
250         4 bytes of space.
251
252 Tue Oct 22 22:01:25 1996  Jeffrey A Law  ([email protected])
253
254         * config/tc-v850.c (md_assemble): Handle TDAOFF relocs
255         differently for movea & sst/sld insns.
256
257 end-sanitize-v850
258 start-sanitize-d10v
259 Tue Oct 22 17:09:32 1996  Michael Meissner  <[email protected]>
260
261         * config/tc-d10v.c (parallel_ok): Don't allow illegal combinations
262         of instructions.
263
264 end-sanitize-d10v
265 Tue Oct 22 11:28:39 1996  Ian Lance Taylor  <[email protected]>
266
267         * obj.h (struct format_ops): Add frob_file_after_relocs field.
268         * config/obj-multi.h (obj_frob_file_after_relocs): Define.
269         * config/obj-ecoff.c (ecoff_format_ops): Initialize new
270         frob_file_after_relocs field.
271         * config/obj-elf.c (elf_format_ops): Likewise.
272         * config/tc-mips.c: Undefine obj_frob_file_after_relocs before
273         including obj-elf.h.
274
275 Mon Oct 21 11:38:30 1996  Ian Lance Taylor  <[email protected]>
276
277         * config/tc-mips.c (cons_fix_new_mips): Only treat 8 byte reloc
278         specially if not ELF.
279         (md_apply_fix): Handle BFD_RELOC_64.
280         (tc_gen_reloc): Handle BFD_RELOC_64.
281
282         * config/tc-i386.c (md_apply_fix3): Don't increment value for a PC
283         relative reloc when BFD_ASSEMBLER and OBJ_AOUT (more ugly gas
284         reloc hacking).
285
286         * config/obj-aout.h (S_IS_DEFINE): non BFD_ASSEMBLER version:
287         Don't check S_GET_OTHER.
288
289 Fri Oct 18 14:06:26 1996  Ian Lance Taylor  <[email protected]>
290
291         * config/tc-mips.c (mips_ip): Accept an odd floating point
292         register with l.s or s.s.
293
294         * config/obj-aout.c (obj_pseudo_table): Use obj_aout_type for
295         .type pseudo-op.
296         (obj_aout_type): New static function.
297
298 Thu Oct 17 17:55:17 1996  Ian Lance Taylor  <[email protected]>
299
300         * Makefile.in ($(OBJS)): Depend upon libiberty.h.
301
302 start-sanitize-v850
303 Wed Oct 16 11:28:31 1996  Jeffrey A Law  ([email protected])
304
305         * config/tc-v850.c (v850_reloc_prefix): Recognize zdaoff, tdaoff
306         and sdaoff expressions.
307
308         * write.c (fixup_segment): Don't add symbol value to addend if
309         TC_V850 and OBJ_ELF.
310         * config/tc-v850.h (tc_fix_adjustable): Don't adjust any
311         pc-relative fixups.
312
313         * config/tc-v850.c (md_pcrel_from): Undo yesterday's changes.
314         (md_pcrel_from_section): Likewise.
315         * config/tc-v850.h (MD_PCREL_FROM_SECTION): Likewise.
316
317 Tue Oct 15 23:19:00 1996  Jeffrey A Law  ([email protected])
318
319         * config/tc-v850.c (md_pcrel_from): Delete unused function.
320         (md_pcrel_from_section): New function.
321         * config/tc-v850.h (MD_PCREL_FROM_SECTION): Define.
322
323 end-sanitize-v850
324 Mon Oct 14 13:59:12 1996  Ian Lance Taylor  <[email protected]>
325
326         * config/tc-mips.c (load_register): Add cast to offsetT when using
327         a constant with &~.
328
329 Mon Oct 14 11:24:28 1996  Richard Henderson  <[email protected]>
330
331         * config/obj-elf.c (elf_frob_file): Move ECOFF debug processing to ...
332         (elf_frob_file_after_relocs): ... here.  New function.
333         * config/obj-elf.h (obj_from_file_after_relocs): New macro.
334         * write.c (write_object_file): Call *frob_after_relocs after the
335         call to write_relocs.
336
337         * config/tc-alpha.c: Use new BFD_RELOC_ALPHA_ELF_LITERAL reloc.
338
339         * config/tc-alpha.c (load_expression): Don't SET_VALUE on the section
340         symbol, as this messes up linking.  Instead, expand the recursive call
341         inline and change up the appropriate bits to get the 0x8000 offset
342         in the reloc addend.
343
344 Thu Oct 10 17:30:31 1996  Ian Lance Taylor  <[email protected]>
345
346         * config/tc-sparc.h (tc_fix_adjustable): Permit the difference of
347         two symbols in the same segment to be adjusted.
348
349         * configure.in: Don't get confused by CPU-VENDOR-linux-gnu.
350         * configure: Rebuild.
351
352 Thu Oct 10 17:22:18 1996  Michael Meissner  <[email protected]>
353
354         * config/tc-ppc.c (ppc_insert_operand): Change most warnings into
355         errors.
356         (ppc_elf_validate_fix): Ditto.
357         (md_assemble): Ditto.
358         (ppc_tc): Ditto.
359         (ppc_pe_section): Ditto.
360         (ppc_frob_symbol): Ditto.
361
362 Thu Oct 10 12:05:45 1996  Jeffrey A Law  ([email protected])
363
364         * config/mn10300.c (md_assemble): Pass an extra shift count
365         to mn10300_insert_operand based on the opcode format.
366         (mn10300_insert_operand): Accept and use extra shift count
367         parameter.
368
369         * config/tc-mn10300.c (md_assemble): Use FMT_* macros for
370         formats rather than hard-coded constants.
371
372         * config/tc-mn10300.c (md_assemble): Format D5 instructions
373         are 7 bytes long.  Write out instructions in big-endian format.
374
375 Tue Oct  8 14:56:15 1996  Jeffrey A Law  ([email protected])
376
377         * config/tc-mn10300.c (md_assemble): Tweak further so
378         that all instructions are parsed correctly.
379
380 Tue Oct  8 13:02:21 1996  Ian Lance Taylor  <[email protected]>
381
382         * as.h: Include libiberty.h.
383         (xmalloc, xrealloc): Don't declare.
384         * as.c: Don't include libiberty.h.
385         * expr.c, read.c, stabs.c, config/obj-coff.c: Likewise.
386         * config/tc-mips.c: Likewise.
387         * messages.c: Likewise.
388         (xstrerror): Don't declare.
389         * xmalloc.c: Remove.
390
391 Mon Oct  7 16:53:23 1996  Jeffrey A Law  ([email protected])
392
393         * config/tc-mn10300.h (pre_defined_registers) Remove.
394         (system_registers, cc_names): Likewise.
395         (address_registers, data_registers, other_registers): New register
396         arrays.
397         (register_name, system_register_name, cc_name): Remove.
398         (mn10300_reloc_prefix): Likewise.
399         (data_register_name): New function.
400         (address_register_name, other_register_name): Likewise.
401         (md_assemble): Rough cut at parsing operands.  Remove lots of
402         unwanted code.
403         (md_apply_fix3): Disable for now.
404
405 Mon Oct  7 11:38:34 1996  Andreas Schwab  <[email protected]>
406
407         * config/tc-m68k.c (select_control_regs): New function, extracted
408         out of m68k_init_after_args.
409         (m68k_init_after_args): Use it.
410         (mri_chip): Use it here as well to update set of allowed control
411         regs for movec.
412
413 Mon Oct  7 11:24:29 1996  Ian Lance Taylor  <[email protected]>
414
415         * config/obj-elf.c (elf_begin): New function.
416         (obj_elf_section): Add the section symbol to the symbol table.
417         * config/obj-elf.h (obj_begin): Define.
418         (elf_begin): Declare.
419         * as.c (perform_an_assembly_pass): Call obj_begin if it is
420         defined.
421
422 Fri Oct  4 18:37:32 1996  Ian Lance Taylor  <[email protected]>
423
424         * config/obj-coff.c (fixup_segment): Subtract the section address
425         from a PC relative reloc if TC_M68K.
426
427 Thu Oct  3 15:15:30 1996  Ian Lance Taylor  <[email protected]>
428
429         * config/tc-sparc.c (md_pseudo_table): Make .uahalf, .uaword, and
430         .uaxword available even if not OBJ_ELF.
431         (md_atof): Remove unused local variable wordP.
432
433 Thu Oct  3 00:16:50 1996  Jeffrey A Law  ([email protected])
434
435         * config/tc-mn10x00.c, config/tc-mn10x00.h: New files
436         for Matsushita MN10x00 support.
437         * configure.in: Recognize mn10x00-*-*
438         * configure: Rebuilt.
439
440 Wed Oct  2 15:54:03 1996  Klaus Kaempf  <[email protected]>
441
442         * obj-evax.h: move openvms definitions from here to tc-alpha.c.
443         * tc-alpha.c: add support for vms_case_hack like in vax/vms.
444         (load_expression): track clobbering of base reg before jmp/jsr.
445         (s_alpha_file): pass case_hack flags and source filename via
446         symbol table to bfd.
447         * tc-alpha.h (TC_CONS_FIX_NEW): define
448
449 Tue Oct  1 16:16:01 1996  Joel Sherrill  <[email protected]>
450
451         * configure.in (mips-*-rtems*): New target, like mips-*-elf*.
452         * configure: Rebuild.
453
454 Tue Oct  1 12:37:48 1996  Ian Lance Taylor  <[email protected]>
455
456         * read.c (s_macro): Warn if a macro has the same name as a
457         pseudo-op.
458         (s_space): In m68k MRI mode, align to a word boundary.
459         * macro.c (define_macro): Add namep parameter.  Change all
460         callers.
461         * macro.h (define_macro): Update declaration.
462
463         * as.c (show_usage): Print bug report address.
464         (parse_args): Change version printing to match current GNU
465         standards.
466         * gasp.c (show_usage): Print bug report address.
467         (main): Change version printing to match current GNU standards.
468
469         * config/tc-m68k.c (init_table): Correct access control unit
470         register numbers.  From Ken Rose <[email protected]>.
471
472         * config/tc-alpha.c: Add some static function prototypes.
473         (alpha_macros): Move to top of file.  Make static.
474         (alpha_num_macros): Move to top of file.
475
476 start-sanitize-v850
477 Tue Oct  1 09:36:19 1996  Stu Grossman  ([email protected])
478
479         * tc-v850.h:  Define LOCAL_LABEL to recognise _.L_* symbols
480         generated by DWARF.
481
482 end-sanitize-v850
483 Sat Sep 28 03:38:08 1996  Ian Lance Taylor  <[email protected]>
484
485         * listing.c (list_symbol_table): Remove bogus code in BFD64 case,
486         and just call sprintf_vma.
487
488 Thu Sep 26 16:04:11 1996  Ian Lance Taylor  <[email protected]>
489
490         * expr.c (expr): Change >>= to >> (fix typo).  (From meissner).
491
492 Tue Sep 24 19:05:08 1996  Ian Lance Taylor  <[email protected]>
493
494         * read.c (float_cons): Call md_flush_pending_output if it is
495         defined.
496
497 start-sanitize-d10v
498 Tue Sep 24 12:22:18 1996  Martin M. Hunt  <[email protected]>
499
500         * config/tc-d10v.c (md_operand): Created.  Allows operands to 
501         start with '#'.
502         * config/tc-d10v.h (md_operand): Undefined.
503
504 end-sanitize-d10v       
505 Mon Sep 23 12:13:18 1996  Ian Lance Taylor  <[email protected]>
506
507         * config/tc-m68k.c (add_fix): Treat a width of '3' like 'B'.
508         (md_assemble): A fixup width of '3' means a 1 byte reloc.
509
510 Thu Sep 19 12:21:24 1996  Ian Lance Taylor  <[email protected]>
511
512         * config/obj-coff.c (fixup_segment): Don't adjust PC relative
513         reloc for the i960 for a reloc in the same section.  This undoes
514         one of the two changes made Aug 19.
515
516 Wed Sep 18 12:11:58 1996  Ian Lance Taylor  <[email protected]>
517
518         * config/obj-coff.c (obj_coff_endef): Both versions: Move C_STAT
519         symbols to the position of the debugging information.
520
521 Mon Sep 16 11:41:40 1996  Ian Lance Taylor  <[email protected]>
522
523         * expr.c (expr): Always use unsigned right shifts for >>.
524
525 Thu Sep 12 10:25:45 1996  James G. Smith  <[email protected]>
526
527         * config/tc-arm.c (md_apply_fix3): Update two thumb instruction
528         slots when processing BL fixups.
529
530         * config/tc-arm.c (output_inst): Ensure Thumb BL fixup is marked
531         on the first half of the instruction.
532
533 Wed Sep 11 00:09:35 1996  Ian Lance Taylor  <[email protected]>
534
535         * ecoff.c (ecoff_stab): Create an expression symbol for a complex
536         stabs expression, rather than giving an error.
537
538         * ecoff.c (ecoff_new_file): Don't do anything if we are still in
539         the same file.
540
541 Tue Sep 10 11:45:37 1996  Ian Lance Taylor  <[email protected]>
542
543         * config/tc-mips.c (append_insn): Fill in the value for a constant
544         jump, rather than creating a reloc.
545
546 Mon Sep  9 10:57:42 1996  Ian Lance Taylor  <[email protected]>
547
548         * config/tc-mips.c (append_insn): Don't swap an instruction which
549         sets a condition code with an instruction which uses a condition
550         code.
551         (mips_ip): In cases 'N' and 'M', look for $fccN rather than an
552         immediate value.
553
554         * config/tc-mips.c (md_begin): Recognize r5000 for cpu.
555         (mips_ip): Give a better error message if the ISA level is wrong.
556         (md_parse_option): Recognize -mcpu=[v][r]5000.
557
558 Sat Sep  7 13:25:55 1996  James G. Smith  <[email protected]>
559
560         * config/tc-mips.c (COUNT_TOP_ZEROES): Added macro to count
561         leading zeroes.
562         (load_register): Ensure hi32 bits are not lost during lo32bit
563         processing. Fix shift offset that was overflowing into the next
564         instruction field. Add code to generate shorter sequences for
565         constants with a single contiguous seqeuence of ones.
566
567 start-sanitize-d10v
568 Fri Sep  6 17:07:12 1996  Martin M. Hunt  <[email protected]>
569
570         * config/tc-d10v.c (d10v_dot_word): New function to support
571         "@word" with the word pseudo-op.
572         (md_apply_fix3): Cleanup and changes to support correct sizes
573         for 16 and 18-bit relocs.
574
575 end-sanitize-d10v       
576 Fri Sep  6 16:00:29 1996  Doug Evans  <[email protected]>
577
578         * configure.in (sparc-*-aout): Set `em'.
579         * configure: Regenerated.
580         * config/te-sparcaout.h: New file.
581         * config/tc-sparc.h (TARGET_BYTES_BIG_ENDIAN): Define.
582         Ifdef TE_SPARCOUT define TARGET_FORMAT and SPARC_BIENDIAN.
583         * config/tc-sparc.c (INSN_BIG_ENDIAN): New macro.
584         (SPECIAL_CASE_{SETSW,SETX}): Define.
585         ({NOP,OR,FMOVS,SETHI,SLLX,SRA}_INSN): Define.
586         (md_begin): Delete setting of `target_big_endian'.
587         (output_insn): New function.
588         (md_assemble): Rewrite.  Add `setx' support.
589         (sparc_ip): Handle `0' operand char.  Recognize setuw, setsw, setx
590         special cases.
591         (md_atof): Add little endian support.
592         (md_number_to_chars): Likewise.
593         (md_apply_fix): Likewise.
594         (md_longopts): Recognize -EL,-EB ifdef SPARC_BIENDIAN.
595         (md_parse_option): Likewise.
596         (md_show_usage): Print -EL, -EB ifdef SPARC_BIENDIAN.
597
598 Thu Sep  5 13:40:29 1996  Ian Lance Taylor  <[email protected]>
599
600         * ecoff.c (ecoff_new_file): New function.
601         * ecoff.h (ecoff_new_file): Declare.
602         * config/obj-ecoff.h (obj_app_file): Define.
603
604 Thu Sep  5 13:39:25 1996  Richard Henderson  <[email protected]>
605
606         * config/tc-alpha.c (load_expression): Bias the .lit8 section
607         symbol by 32k so that our 16-bit signed offset can address the
608         entire chunk.  Reported by <[email protected]>.
609
610 Wed Sep  4 10:23:20 1996  Ian Lance Taylor  <[email protected]>
611
612         * config/tc-mips.c (load_register): Remove unused variable tmp.
613
614 Wed Sep  4 11:24:29 1996  James G. Smith  <[email protected]>
615
616         * config/tc-mips.c (load_register): Remove unnecessary code that
617         was causing the high 32bits of 64bit constants to be lost.
618         
619 start-sanitize-d10v
620 Tue Sep  3 13:52:56 1996  Martin M. Hunt  <[email protected]>
621
622         * config/tc-d10v.c: Added changes to support function
623         pointers and "@word" syntax.
624
625 end-sanitize-d10v       
626 start-sanitize-v850
627 Tue Sep  3 11:57:18 1996  Jeffrey A Law  ([email protected])
628
629         * config/tc-v850.c: Remove commented out and #if 0'd code.
630         (v850_reloc_prefix): Provide prototype.
631         (postfix, get_reloc, build_insn): Remove prototypes for nonexistant
632         functions.
633         (md_begin, md_assemble, md_apply_fix3): Remove unused variables.
634         (md_assemble): Add default to case statement.
635
636 Sat Aug 31 16:03:00 1996  Jeffrey A Law  ([email protected])
637
638         * config/tc-v850.c (md_assemble): Compute size of the instrction
639         from the opcode.
640
641         * config/tc-v850.c (md_apply_fix3): Do simple byte, short and
642         word fixups too.
643
644 Fri Aug 30 23:50:08 1996  Jeffrey A Law  ([email protected])
645
646         * config/tc-v850.c (md_apply_fix3): Use little endian get/put
647         routines to fetch/store the updated instruction from/to memory.
648         (v850_insert_operand): If the operand has a specialized insert
649         routine, call it.
650
651 Fri Aug 30 18:35:26 1996  J.T. Conklin  <[email protected]>
652
653         * config/tc-v850.c (reg_name_search): Align calling convention to
654         be like identical function found in tc-ppc.c.
655         (get_reloc): Removed.
656         (v850_reloc_prefix): New function, parse lo(), hi() and hi0().
657         (md_assemble): emit fixups.
658         (md_pcrel_from): renamed from md_pcrel_from_section, emit proper
659         displacement.
660         (md_apply_fix3): handle fixups/relocs.
661         * config/tc-v850.h (MD_PCREL_FROM_SECTION): Removed definition.
662         
663 end-sanitize-v850
664 Fri Aug 30 18:12:00 1996  Ian Lance Taylor  <[email protected]>
665
666         Add SH ELF support.
667         * configure.in (sh-*-elf*): New target.
668         * config/tc-sh.h (TARGET_ARCH): Define.
669         (WORKING_DOT_WORD): Define.
670         (TC_COFF_FIX2RTYPE): Only define if OBJ_COFF.
671         (BFD_ARCH, COFF_MAGIC, TC_COUNT_RELOC): Likewise.
672         (TC_RELOC_MANGLE, tc_coff_symbol_emit_hook): Likewise.
673         (DO_NOT_STRIP, NEED_FX_R_TYPE, TC_KEEP_FX_OFFSET): Likewise.
674         (TC_COFF_SIZEMACHDEP, tc_frob_file): Likewise.
675         (SUB_SEGMENT_ALIGN): Likewise.
676         (RELOC_32): Don't define.
677         (tc_frob_file_before_adjust): Define if BFD_ASSEMBLER.
678         (target_big_endian): Declare if OBJ_ELF.
679         (TARGET_FORMAT): Define if OBJ_ELF.
680         * config/tc-sh.c: Use BFD reloc codes instead of SH COFF reloc
681         numbers throughout.
682         (tc_crawl_symbol_chain): Only define if OBJ_COFF.
683         (tc_headers_hook, tc_coff_sizemachdep): Likewise.
684         (struct sh_count_relocs): Define.
685         (sh_count_relocs): New static function, broken out of
686         sh_frob_file.  Add BFD_ASSEMBLER code.
687         (sh_frob_section): Likewise.
688         (sh_frob_file): Call sh_frob_section.
689         (md_convert_frag): If BFD_ASSEMBLER, change type of headers, and
690         call section_symbol rather than seg_info (seg)->dot.
691         (md_section_align): Add OBJ_ELF version.
692         (SWITCH_TABLE_CONS): Define.
693         (SWITCH_TABLE): Use SWITCH_TABLE_CONS.
694         (md_apply_fix): Change parameter types if BFD_ASSEMBLER.  Only
695         handle fx_r_type == 0 if not BFD_ASSEMBLER.  Return 0 if
696         BFD_ASSEMBLER.
697         (struct reloc_map): Define if not BFD_ASSEMBLER.
698         (coff_reloc_map): Likewise.
699         (sh_coff_reloc_mangle): Use coff_reloc_map to convert fx_r_type.
700         (tc_gen_reloc): New function if BFD_ASSEMBLER.
701         * write.c (write_relocs): Ifdef out fx_where test which triggers
702         inappropriately for SH ELF.
703         (write_object_file): Call tc_frob_file_before_adjust and
704         obj_frob_file_before_adjust if they are defined.
705
706         * write.c (write_object_file): Use BFD_RELOC_16, not
707         BFD_RELOC_NONE, when calling fix_new_exp for a broken word.
708
709         * read.c (emit_expr): Fix conversion of byte count to BFD reloc
710         code.
711
712 start-sanitize-d10v
713 Fri Aug 30 14:47:38 1996  Martin M. Hunt  <[email protected]>
714
715         * config/tc-d10v.c (find_opcode): Fix problem with calculating 
716         branch sizes in across sections.
717
718 end-sanitize-d10v       
719 start-sanitize-v850
720 Fri Aug 30 00:44:13 1996  Jeffrey A Law  ([email protected])
721
722         * config/tc-850.c (md_assemble): Handle hi() correctly.  Handle
723         hi0() too.
724
725 Wed Aug 28 23:11:08 1996  Jeffrey A Law  ([email protected])
726
727         * config/tc-v850.c (md_begin): Deal with end of opcode
728         table marker.
729
730 end-sanitize-v850
731 start-sanitize-d10v
732 Wed Aug 28 19:20:04 1996  Martin M. Hunt  <[email protected]>
733
734         * config/tc-d10v.c (find_opcode): Fix a bug which could generate
735         the wrong opcode for cases like st2w where there are many forms
736         of the same instruction.
737
738 end-sanitize-d10v
739 Tue Aug 27 13:53:22 1996  Ian Lance Taylor  <[email protected]>
740
741         * expr.c (operand): If md_parse_name is defined, call it before
742         calling symbol_find_or_make.
743         * config/tc-ppc.h (md_parse_name): Define.
744         (ppc_parse_name): Declare.
745         * config/tc-ppc.c (reg_name_search): Add regs and regcount
746         parameters.
747         (register_name): Update call to reg_name_search.
748         (cr_operand): New static variable.
749         (cr_names): New static const array.
750         (ppc_parse_name): New function.
751         (md_assemble): If PPC_OPERAND_CR is set in the operand flags, set
752         cr_operand before calling expression.
753
754 Tue Aug 27 09:05:50 1996  Jeffrey A Law  ([email protected])
755
756         * config/tc-hppa.c (tc_gen_reloc): Add new argument to
757         hppa_gen_reloc_type call.
758
759 start-sanitize-d10v
760 Mon Aug 26 18:24:51 1996  Martin M. Hunt  <[email protected]>
761
762         * config/tc-d10v.c: Fixed ".word".  Fixed problem with range checking
763         on addresses.  Improved error messages.
764         * doc/c-d10v.texi: Added docs for register pairs.
765
766 Mon Aug 26 13:39:27 1996  Martin M. Hunt  <[email protected]>
767
768         * config/tc-d10v.c (parallel_ok): Fix bug in parallel 
769         checking code.
770
771 end-sanitize-d10v
772 Mon Aug 26 14:38:22 1996  Ian Lance Taylor  <[email protected]>
773
774         * ecoff.c (init_file): Initialize fMerge to 1.
775         (add_file): Restore old file merging code, but only merge files if
776         fMerge is set.
777         (ecoff_directive_loc): Clear fMerge field of current file.
778         (ecoff_generate_asm_lineno): Likewise.
779
780 start-sanitize-d10v
781 Fri Aug 23 11:40:47 1996  Martin M. Hunt  <[email protected]>
782
783         * doc/c-d10v.texi: Fix typo. 
784
785 end-sanitize-d10v       
786 start-sanitize-v850
787 Fri Aug 23 10:41:32 1996  Jeffrey A Law  ([email protected])
788
789         * config/tc-v850.c (md_assemble): Correct bit masking for
790         hi and lo expressions.
791
792         * config/tc-v850.c (md_assemble): Rough cut at demanding
793         "ep" or "r30" in sst and sld instructions.
794         (md_apply_fix3): Don't abort.  Just warn that we don't
795         have relocs yet.
796
797         * config/tc-v850.c (CC_NAME_CNT): Define.
798         (cc_name): New function.
799         (md_assemble): Handle V850_OPERAND_CC correctly.
800
801         * config/tc-v850.c (md_assemble): Don't forget to initialize
802         "insn"!
803
804         * config/tc-v850.c (reg_name_search): Generalize to search
805         any given register table.
806         (register_name): Pass appropriate table and size to reg_name_search.
807         (system_register_name): New function.
808         (SYSREG_NAME_CNT): Define.
809         (md_assemble): Handle operands which are system registers.
810         
811         * config/tc-v850.c (md_assemble): If we find a register, but the
812         opcode doesn't want a register, then we don't have a match.
813         (md_assemble): Get size of the instruction from the opcode table.
814
815 end-sanitize-v850
816 Thu Aug 22 10:20:30 1996  Ian Lance Taylor  <[email protected]>
817
818         * configure.in: Set and substitute HLDENV.
819         * configure: Rebuild.
820         * Makefile.in (HLDENV): New variable.
821         (as.new): Use $(HLDENV).
822
823         * ecoff.c (ecoff_directive_endef): Avoid a division by zero error
824         if an array dimension is not known.
825
826 start-sanitize-d10v
827 Thu Aug 22 10:50:00 1996  Martin M. Hunt  <[email protected]>
828
829         * config/tc-d10v.c: Fix a reloc bug caused by my last change. 
830         * doc/c-d10v.texi: Cleanup.
831         
832 end-sanitize-d10v       
833 start-sanitize-v850
834 Tue Aug 20 15:15:16 1996  J.T. Conklin  <[email protected]>
835
836         * config/tc-v850.c: New file.
837         * config/tc-v850.h: New file.
838         * configure (v850-*-elf): New target.
839         * configure.in (v850-*-elf): New target.
840         
841 end-sanitize-v850
842 start-sanitize-d10v
843 Wed Aug 21 15:50:54 1996  Martin M. Hunt  <[email protected]>
844
845         * doc/c-d10v.texi: New file.
846         * doc/all.texi: Added D10V stuff.
847         * doc/as.texinfo: Added D10V stuff.
848
849 Tue Aug 20 14:10:02 1996  Martin M. Hunt  <[email protected]>
850
851         * config/tc-d10v.c: All references to defined symbols should
852         now use the optimal instruction.  .float and .double now work. 
853
854 end-sanitize-d10v       
855 Mon Aug 19 14:41:36 1996  Ian Lance Taylor  <[email protected]>
856
857         * config/obj-coff.c (fixup_segment): Adjust PC relative reloc by
858         section address for the i960 as is done for the i386.
859
860 Thu Aug 15 16:37:59 1996  Stan Shebs  <[email protected]>
861
862         * mpw-config.in: Add wildcards for config matching, add mips-*-*
863         case, forward-include bfd/elf-bfd.h.
864
865 start-sanitize-d10v
866 Thu Aug 15 13:24:30 1996  Martin M. Hunt  <[email protected]>
867
868         * config/tc-d10v.c: Add additional information to the opcode
869         table to help determinine which instructions can be done
870         in parallel. 
871
872 end-sanitize-d10v       
873 Thu Aug 15 17:01:31 1996  James G. Smith  <[email protected]>
874
875         * config/tc-arm.c: Major changes to add Thumb support, with lots
876         of change input from <[email protected]>.
877         Reverted to INSN_SIZE macro, rather than insn_size variable.
878         (insns): Added ARM "bx" instruction support.
879         (tinsns): Added Thumb instruction definition structure.
880         (arm_tops_hsh): Added hash structure for Thumb opcodes.
881         (md_pseudo_table): Added ".arm", ".thumb" and ".code" pseudo-ops.
882         (opcode_select,s_arm,s_thumb,s_code): Added.
883         (decode_shift): Allow upper-case RRX.
884         (do_ldst): Simpler halfword support.
885         (do_ldmstm): Improved.
886         (reg_list, do_bx, thumb_reg, thumb_add_sub, thumb_shift,
887         thumb_mov_compare, thumb_load_store, do_t_arit, do_t_add,
888         do_t_asr, do_t_branch, do_t_bx, do_t_compare, do_t_ldmstm,
889         do_t_ldrb, do_t_ldrh, do_t_lds, do_t_lsl, do_t_lsr, do_t_mov,
890         do_t_push_pop, do_t_str, do_t_strb, do_t_strh, do_t_sub, do_t_swi,
891         do_t_adr): Added.
892         (md_apply_fix3): Add support for BFD_RELOC_ARM_THUMB_* relocations.
893         (md_parse_option): Add support for -mthumb.
894         (md_show_usage): Updated to reflect new command line option.
895         (arm_data_in_code, arm_canonicalize_symbol_name): Added.
896         * config/tc-arm.h: Provide TC_FIX_TYPE to allow private ARM
897         fragment information to be held.
898
899 Thu Aug 15 16:12:00 1996  Richard Earnshaw ([email protected])
900
901         * tc-arm.c (md_apply_fix3): Also set fixP->fx_done if fx_addsy is 
902         non-null, but is a constant.
903         (fix_new_arm): Call make_expr_symbol to make the expression symbol
904         so that error reporting will work correctly.
905
906 Wed Aug 14 10:37:21 1996  Ian Lance Taylor  <[email protected]>
907
908         * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust relocs
909         against weak symbols.
910
911 Tue Aug 13 17:39:24 1996  Ian Lance Taylor  <[email protected]>
912
913         * config/tc-ppc.h (TC_FORCE_RELOCTION): Define if OBJ_XCOFF.
914         (ppc_force_relocation): Declare if OBJ_XCOFF.
915         * config/tc-ppc.c (ppc_force_relocation): New function if
916         OBJ_XCOFF.
917
918 Mon Aug 12 16:49:43 1996  Ian Lance Taylor  <[email protected]>
919
920         * config/tc-mips.h (BYTE_ORDER): Don't define.  No longer used.
921
922 start-sanitize-d10v
923 Fri Aug  9 17:48:28 1996  Martin M. Hunt  <[email protected]>
924
925         * config/tc-d10v.c: Fix problem with relocs. 
926
927 end-sanitize-d10v       
928 Fri Aug  9 14:16:14 1996  Ian Lance Taylor  <[email protected]>
929
930         * config/tc-sh.c (sh_do_align): If not BFD_ASSEMBLER, always align
931         with nops if not in data_section or bss_section.
932
933 Thu Aug  8 12:32:56 1996  Klaus Kaempf  <[email protected]>
934
935         Add support for openVMS/Alpha.
936         * as.h (PRINTF_LIKE): Don't define if VMS, for now.
937         * config/obj-evax.c: New file.
938         * config/obj-evax.h: New file.
939         * config/tc-alpha.c: Add support for EVAX format if OBJ_EVAX is
940         defined.
941         * config/tc-alpha.h: Add support for EVAX format if OBJ_EVAX is
942         defined.  Add case for bfd_target_evax_flavour.
943         * config/vms-a-conf.h: New file.
944         * conf-a-gas.com: New file.
945         * configure.in: Add target alpha-*-*vms*.
946         * configure: Rebuild.
947         * makefile.vms: New file.
948         * read.c (s_lcomm): Align bss_seg on 8 byte boundary if OBJ_EVAX.
949         Don't call ffs on openVMS/Alpha.
950
951 Wed Aug  7 14:19:03 1996  Philippe De Muyter  <[email protected]>
952
953         * configure.in: Make GAS_CHECK_DECL_NEEDED include <string.h> or
954         <strings.h> if they exist.  Call GAS_CHECK_DECL_NEEDED on strstr
955         and sbrk.
956         * acconfig.h (NEED_DECLARATION_STRSTR): New macro.
957         (NEED_DECLARATION_SBRK): New macro.
958         * configure, conf.in: Rebuild.
959         * as.h: Only include <strings.h> if HAVE_STRINGS_H.
960         (strstr): Declare if NEED_DECLARATION_STRSTR.
961         * as.c: If HAVE_SBRK and NEED_DECLARATION_SBRK, declare sbrk.
962
963 Wed Aug  7 11:50:26 1996  Ian Lance Taylor  <[email protected]>
964
965         * symbols.c (resolve_symbol_value): Handle addition or subtraction
966         by a constant before entering the main switch.  Reject attempts to
967         apply an arithmetic function to non-absolute symbols, except for
968         the special case of subtraction of two symbols in the same
969         section.
970
971         * config/tc-mips.c (md_section_align): Do align if OBJ_ELF, but
972         not to more than a 16 byte boundary.
973
974         * config/tc-i386.c (tc_gen_reloc): Accept all relocs; remove
975         #ifndef OBJ_ELF lines.  From Eric Valette <[email protected]>.
976         (tc_gen_reloc): If out of memory call as_fatal rather than
977         assert.  If no howto found, call as_bad_where rather than
978         as_fatal.  Change the error message slightly.  Set howto to a
979         non-NULL value in order to keep going.
980
981 start-sanitize-d10v
982 Tue Aug  6 12:58:03 1996  Martin M. Hunt  <[email protected]>
983
984         * config/tc-d10v.c: Added code to support 32-bit fixups for stabs.
985
986 end-sanitize-d10v       
987 Tue Aug  6 11:15:26 1996  Jeffrey A Law  ([email protected])
988
989         * config/tc-h8300.c (get_specific): New operand "size" derived
990         from ".b", ".w" and ".l" extensions.  All callers changed.  If
991         the base instruction has no operands, then use the size to
992         determine which specific instruction to use.
993
994 Mon Aug  5 14:21:10 1996  Ian Lance Taylor  <[email protected]>
995
996         * config/tc-i960.c (mem_fmt): Call parse_expr before emit.
997
998 Fri Aug  2 11:23:31 1996  Ian Lance Taylor  <[email protected]>
999
1000         * config/tc-mips.c (md_section_align): Don't change addr if
1001         OBJ_ELF.
1002
1003 Thu Aug  1 23:51:52 1996  Jeffrey A Law  ([email protected])
1004
1005         * config/tc-hppa.c: Revert yesterday's changes.
1006         
1007 start-sanitize-d10v
1008 Wed Jul 31 14:46:11 1996  Martin M. Hunt  <[email protected]>
1009
1010         * config/tc-d10v.c: Disable range checking on 16-bit values.
1011
1012 end-sanitize-d10v       
1013 Wed Jul 31 16:27:19 1996  Ian Lance Taylor  <[email protected]>
1014
1015         * config/tc-m68k.c (m68k_ip): Set ok_arch for every instruction,
1016         not just the ones that don't match.
1017
1018 start-sanitize-d10v
1019 Wed Jul 31 11:45:15 1996  Martin M. Hunt  <[email protected]>
1020
1021         * config/tc-d10v.c: Fixed bugs in short relocs and range checking.
1022
1023 end-sanitize-d10v
1024 Wed Jul 31 15:41:42 1996  James G. Smith  <[email protected]>
1025
1026         * config/tc-arm.c: Changed INSN_SIZE to variable insn_size, as
1027         pre-cursor to adding Thumb support. Also added cpu_variant flag
1028         information to each of the asm_flg structures.
1029         (md_parse_option): Updated ARM7 parsing to allow 't' for
1030         thumb/halfword support, aswell as 'm' for long multiply.
1031         (md_show_usage): Updated help message.
1032         (md_assemble): Check that instruction flags are applicated to the
1033         current cpu variant.
1034         (md_apply_fix3, tc_gen_reloc): Add BFD_RELOC_ARM_OFFSET_IMM8 and
1035         BFD_RELOC_ARM_HWLITERAL relocation support for new halfword and
1036         signextension instructions.
1037         (do_ldst): Generate halfword and signextension variants if
1038         mnemonic flags match.
1039         (ldst_extend): Do not allow shifts in the offset field of halfword
1040         or signextension instructions.
1041         (validate_offset_imm): Provide check on halfword and signextension
1042         immediate range.
1043         (add_to_lit_pool): Merge identical literal pool values.
1044
1045 Tue Jul 30 14:28:23 1996  Jeffrey A Law  ([email protected])
1046
1047         * config/tc-hppa.c (selector_table): Add 'E' selector.
1048         (cons_fix_new_hppa): Don't coke on e_esel.
1049         (tc_gen_reloc, SOM version): Handle R_COMP2 when used
1050         to help generate exception handling tables.
1051         (md_apply_fix): Don't try to apply fixups with an e_esel
1052         selector.
1053         (hppa_fix_adjustable): Fixups with e_esel selectors
1054         are not adjustable.
1055
1056 Tue Jul 30 15:51:41 1996  Ian Lance Taylor  <[email protected]>
1057
1058         * config/tc-sparc.c (md_pseudo_table): Add 2byte, 4byte, and 8byte
1059         pseudo-ops.
1060
1061 start-sanitize-d10v
1062 Fri Jul 26 11:43:03 1996  Martin M. Hunt  <[email protected]>
1063
1064         * config/tc-d10v.c: Added lots of error checking.  Added hacks
1065         to support accumulator shifts.
1066         
1067 end-sanitize-d10v
1068 Fri Jul 26 11:56:08 1996  Ian Lance Taylor  <[email protected]>
1069
1070         * symbols.c (S_SET_EXTERNAL): Let .weak override.
1071         (S_CLEAR_EXTERNAL): Likewise.
1072         (S_SET_WEAK): Remove error; just let .weak override.
1073
1074 start-sanitize-d10v
1075 Thu Jul 25 15:22:51 1996  Martin M. Hunt  <[email protected]>
1076
1077         * config/tc-d10v.c (md_assemble): Now handles multiline
1078         instructions.
1079
1080 Thu Jul 25 12:03:33 1996  Martin M. Hunt  <[email protected]>
1081
1082         * config/tc-d10v.c: Fix packaging bug. Added range checking.
1083         Added kludge for divs instruction.  Fixed minor problem with
1084         multiple text sections.
1085         * config/tc-d10v.h (d10v_cleanup): Change prototype. 
1086         
1087 Tue Jul 23 10:49:36 1996  Martin M. Hunt  <[email protected]>
1088
1089         * config/tc-d10v.c (md_apply_fix3): Fix all instruction
1090         addresses to be right-shifted by 2.
1091
1092 Mon Jul 22 11:32:36 1996  Martin M. Hunt  <[email protected]>
1093
1094         * config/tc-d10v.c: Many changes to get relocs working.
1095         (register_name): No longer creates a symbol for register names.
1096         (pre_defined_registers): moved to opcodes/d10v-opc.c.
1097         (d10v_insert_operand): Now works correctly for either container.
1098         * config/tc-d10v.h (d10v_cleanup): Declare. 
1099         
1100 end-sanitize-d10v       
1101 Mon Jul 22 14:01:33 1996  Ian Lance Taylor  <[email protected]>
1102
1103         * config/tc-mips.c (tc_gen_reloc): BFD_RELOC_PCREL_HI16_S and
1104         BFD_RELOC_PCREL_LO16 are expected to be PC relative.
1105
1106 Mon Jul 22 12:46:55 1996  Richard Henderson  <[email protected]>
1107
1108         * tc-alpha.c: Patches to track current minimum alignment to reduce
1109         the number of fragments created with frag_align.
1110         (alpha_current_align): New static variable.
1111         (s_alpha_text): Reset alignment to 0.
1112         (s_alpha_data, s_alpha_rdata, s_alpha_sdata): Likewise.
1113         (s_alpha_stringer, s_alpha_space): New functions.
1114         (s_alpha_cons, alpha_flush_pending_output): Remove functions.
1115         (alpha_cons_align): New function to replace both of them.
1116         (emit_insn): Only align if alpha_current_align is less than 2;
1117         reset alpha_current_align to 2.
1118         (s_alpha_gprel32): Likewise.
1119         (s_alpha_section): New function.  Basically duplicate the other
1120         alpha section change hooks.  Only define for ELF.
1121         (s_alpha_float_cons): Simplify alignment handling.
1122         (md_pseudo_table): Only define "rdata" and "sdata" if OBJ_ECOFF.
1123         If OBJ_ELF, define "section", "section.s", "sect", and "sect.s".
1124         Don't define the s_alpha_cons pseudo-ops.  Do define
1125         s_alpha_stringer and s_alpha_space pseudo-ops.
1126         (alpha_align): Skip if less than current default alignment.  Set
1127         default alignment.
1128         * tc-alpha.h (md_flush_pending_output): Remove.
1129         (md_cons_align): Add.
1130
1131         * tc-alpha.c: Add oodles of function description comments.
1132         (md_bignum_to_chars): Remove; there are no callers.
1133         (md_show_usage): Mention some more variants.
1134
1135 Thu Jul 18 15:54:54 1996  Ian Lance Taylor  <[email protected]>
1136
1137         From Andrew Gierth <[email protected]>:
1138         * configure.in (sparc-*-sysv4*): New target.
1139         * configure: Rebuild.
1140
1141         * config/tc-sparc.c (md_pseudo_table): Change uahalf, uaword, and
1142         uaxword to use s_uacons.
1143         (sparc_no_align_cons): New static variable.
1144         (s_uacons): New static function.
1145         (sparc_cons_align): If sparc_no_align_cons is set, just clear it
1146         and return.
1147
1148         * config/tc-sparc.c (s_common): Remove unused label allocate_bss.
1149
1150         * configure.in: Add mips-*-irix6* target.  Handle Irix 6 like Irix
1151         5 with regard to shared libraries.
1152         * configure: Rebuild.
1153
1154         * config/tc-m68k.c (m68k_ip): Use the correct length when
1155         allocating space for the unsupported architecture error message.
1156
1157 start-sanitize-d10v
1158 Thu Jul 18 12:57:10 1996  Michael Meissner  <[email protected]>
1159
1160         * configure.in (d10v-*-*): Allow d10v-*-*, don't require d10v-*-elf*.
1161
1162 Wed Jul 17 14:25:13 1996  Martin M. Hunt  <[email protected]>
1163
1164         * config/tc-d10v.c: New file.
1165         * config/tc-d10v.h: New file.
1166         * configure (d10v-*-elf): New target.
1167         * configure.in (d10v-*-elf): New target.
1168 end-sanitize-d10v
1169         
1170 Fri Jul 12 20:54:19 1996  Michael Meissner  <[email protected]>
1171
1172         * config/tc-ppc.c (md_parse_option): Recognize -K PIC.
1173
1174 Wed Jul 10 12:39:08 1996  Richard Henderson  <[email protected]>
1175
1176         * config/tc-alpha.c (alpha_align): Change fill parameter
1177         to a pointer.  Take NULL as 0 or nop depending on section.  Change
1178         all callers.
1179         (s_alpha_align): Rename local variables.
1180
1181         * doc/as.texinfo (.align): Document action of omitted
1182         fill parameter.
1183
1184 Wed Jul 10 00:23:30 1996  Ian Lance Taylor  <[email protected]>
1185
1186         * config/tc-ppc.c (md_apply_fix3): Give a useful error message
1187         when an unsupported PC relative reloc is seen, rather than calling
1188         abort.
1189
1190         * app.c (do_scrub_chars): Remove not_cpp_line local variable.
1191         Instead, check state when '#' comment is seen.
1192
1193 Mon Jul  8 14:11:49 1996  Ian Lance Taylor  <[email protected]>
1194
1195         * config/tc-mips.c (mips_regmask_frag): Only define if OBJ_ELF or
1196         OBJ_MAYBE_ELF.
1197         (tc_gen_reloc): If fixup was changed to be PC relative, change
1198         reloc type accordingly.  Use name of reloc in error message.
1199
1200         * as.h: Don't define const or volatile.
1201         * flonum.h: Don't define const.
1202
1203         * config/tc-m68k.c (tc_gen_reloc): Change the code appropriately
1204         if fx_pcrel is set.  Correct setting the addend case in the
1205         OBJ_ELF case (from Andreas Schwab
1206         <[email protected]>).
1207         (md_show_usage): Correct -mfc5200 to -m5200.
1208
1209 Fri Jul  5 10:32:58 1996  J.T. Conklin  <[email protected]>
1210
1211         * doc/c-m68k.texi: Document -m5200 flag.
1212         * doc/as.texinfo: Likewise.
1213
1214         * config/tc-m68k.c (m68k_ip): The coldfire does not support 8x
1215         scale factor.
1216
1217 Fri Jul  5 11:07:24 1996  Ian Lance Taylor  <[email protected]>
1218
1219         * symbols.c (S_SET_EXTERNAL): Change as_warn to as_bad.
1220         (S_CLEAR_EXTERNAL, S_SET_WEAK): Likewise.
1221
1222 Thu Jul  4 11:59:46 1996  Ian Lance Taylor  <[email protected]>
1223
1224         * Makefile.in (VERSION): Set to cygnus-2.7.1.
1225
1226         * Released binutils 2.7.
1227
1228 Thu Jul  4 10:11:33 1996  James G. Smith  <[email protected]>
1229
1230         * config/tc-mips.c (mips_ip): Only perform range check when
1231         dealing with O_constant expressions.
1232
1233 Wed Jul  3 15:02:21 1996  J.T. Conklin  <[email protected]>
1234
1235         * m68k-parse.h (m68k_register): Add new coldfile control
1236         registers.
1237
1238         * config/tc-m68k.c (mcf5200_control_regs): New variable, 
1239         array of control registers for the coldfire.
1240         (cpu_of_arch): Added mcf5200.
1241         (archs): Added mcf5200.
1242         (init_table): Add new control registers.
1243         (m68k_ip): Added support for new control registers.
1244         (m68k_init_after_args): Likewise.
1245
1246         * config/tc-m68k.c (md_show_usage): Add -m5200 to usage text.
1247
1248 Wed Jul  3 16:05:50 1996  Ian Lance Taylor  <[email protected]>
1249
1250         * read.h (is_it_end_of_statement): Declare.
1251         * read.c (is_it_end_of_statement): Remove declaration.
1252
1253         * config/tc-ppc.c (ppc_elf_suffix): Correct parenthesization of ||
1254         within &&.
1255         (md_assemble): Fix handling of @l with an unsigned constant.  Add
1256         default case to reloc switch.
1257
1258         * config/tc-i386.h (AOUT_MACHTYPE): Define as 0 if TE_386BSD.
1259
1260         Based on patches from Tom Quiggle <[email protected]>:
1261         * ecoff.c (last_lineno): New static variable.
1262         (add_procedure): Set last_lineno.
1263         (ecoff_directive_loc): Likewise.
1264         (ecoff_generate_asm_lineno): Likewise.
1265         (ecoff_fix_loc): New function.
1266         * ecoff.h (ecoff_fix_loc): Declare.
1267         * config/tc-mips.c (append_insn): When inserting nops, and using
1268         ECOFF debugging, call ecoff_fix_loc.
1269
1270 Tue Jul  2 23:02:12 1996  Jeffrey A Law  ([email protected])
1271
1272         * config/tc-h8300.c (build_bytes): If an operand type is 
1273         marked as SRC_IN_DST retrieve it from the "destination" op.
1274
1275 Sat Jun 29 13:38:31 1996  Ian Lance Taylor  <[email protected]>
1276
1277         * configure.in (arm-*-riscix*): Set emulation to riscix.
1278         * configure: Rebuild.
1279         * config/te-riscix.h: New file to define TE_RISCIX.
1280
1281         * config/tc-sh.h (SUB_SEGMENT_ALIGN): Define.
1282
1283 Fri Jun 28 15:14:31 1996  Ian Lance Taylor  <[email protected]>
1284
1285         * Makefile.in (config.status): Just run config.status as other
1286         tools do.
1287
1288 Fri Jun 28 11:09:38 1996  Stan Shebs  <[email protected]>
1289
1290         * mpw-config.in (TARGET_OS): Add definition to conf.
1291
1292 Thu Jun 27 20:39:40 1996  James G. Smith  <[email protected]>
1293
1294         * config/tc-mips.c (append_insn): Parenthesize
1295         cop_interlocks expressions.
1296
1297 Thu Jun 27 12:18:26 1996  Ian Lance Taylor  <[email protected]>
1298
1299         * listing.c (listing_print): Close the listing file if it is not
1300         stdout.  Close the other files opened for the listing.
1301
1302         * config/tc-sparc.h (md_cons_align): Define.
1303         (sparc_cons_align): Declare.
1304         (HANDLE_ALIGN): Define.
1305         (sparc_handle_align): Declare.
1306         * config/tc-sparc.c (sparc_cons_align): New function.
1307         (sparc_handle_align): New function.
1308         * read.c (cons_worker): Call md_cons_align if it is defined.
1309
1310         * as.h (struct frag): Add fr_file and fr_line fields.
1311         * frags.c (frag_new): Set fr_file and fr_line.
1312         (frag_var): Likewise.
1313         (frag_variant): Likewise.
1314
1315         * as.h (struct frag): Remove unused align_mask and align_offset
1316         fields.
1317
1318         * listing.c (calc_hex): Offset by fr_fix when examining fr_var.
1319         From <[email protected]>.
1320
1321 Wed Jun 26 13:21:34 1996  Ian Lance Taylor  <[email protected]>
1322
1323         * configure.in (mips-*-osf*): New target.
1324         * configure: Rebuild.
1325
1326         * config/tc-m68k.c: Add 68ec060 as a synonym for 68060.
1327
1328 Wed Jun 26 16:23:08 1996  James G. Smith  <[email protected]>
1329
1330         * config/tc-mips.c: Added cop_interlocks, to avoid NOP insertion
1331         between co-processor comparisons and branches for the VR4300.
1332
1333 Mon Jun 24 18:02:50 1996  Jason Molenda  ([email protected])
1334
1335         * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
1336         INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
1337         (docdir): Removed.
1338         * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1339         * doc/Makefile.in (bindir, libdir, datadir, mandir, infodir,
1340         includedir): Use autoconf set values.
1341         (docdir): Removed.
1342
1343 Mon Jun 24 11:58:14 1996  Ian Lance Taylor  <[email protected]>
1344
1345         * listing.c (listing_eject): Don't do anything if listing is 0.
1346         (listing_list): Likewise.
1347         (listing_source_line): Likewise.
1348         (listing_title): Don't save title if listing is 0.
1349         (listing_source_file): Check listing rather than listing_tail.
1350
1351         * configure.in: On alpha*-*-osf*, link against libbfd.a if not
1352         using shared libraries.
1353         * configure: Rebuild.
1354
1355 Fri Jun 21 18:22:23 1996  Ian Lance Taylor  <[email protected]>
1356
1357         * config/tc-mips.c (mips_ip): In case 'i'/'j', don't require an
1358         absolute expression if a relocation type was specified.
1359
1360 Fri Jun 21 17:40:16 1996  Joel Sherrill  <[email protected]>
1361
1362         * configure.in: Add support for *-*-rtems* configurations.
1363         * configure: Rebuild.
1364
1365 Fri Jun 21 16:01:18 1996  Richard Henderson  <[email protected]>
1366
1367         * configure.in: Add alpha-*-linuxecoff* target.  Use elf for
1368         alpha-*-linux* target.  Force bfd_gas for alpha-*.  Require
1369         opcodes library for alpha.
1370         * configure: Rebuild with autoconf 2.10.
1371         * config/tc-alpha.c: Substantial rewrite to add ELF support and
1372         use new opcode table.
1373         * config/tc-alpha.h (md_undefined_symbol): Don't define.
1374         (LOCAL_LABEL): Define differently if OBJ_ELF.
1375         (FAKE_LABEL_NAME): Define if OBJ_ELF.
1376         * config/alpha-opcode.h: Remove.
1377         * config/obj-elf.h: If TC_ALPHA, define ECOFF_DEBUGGING.
1378         * Makefile.in (TARG_CPU_DEP_alpha): Depend upon
1379         include/opcode/alpha.h rather than config/alpha-opcode.h.
1380
1381 Thu Jun 20 19:10:28 1996  Ian Lance Taylor  <[email protected]>
1382
1383         * config/obj-aout.c (obj_emit_relocations): Give an error if the
1384         relocation symbol was not resolved.
1385         * config/obj-coff.c (do_relocs_for): Likewise.
1386
1387         * write.c (adjust_reloc_syms): Refetch the symbol section after
1388         calling S_GET_VALUE, since it may have changed.
1389
1390         * expr.c (struct expr_symbol_line): Define.
1391         (expr_symbol_lines): New static variable.
1392         (make_expr_symbol): Add entry to expr_symbol_lines.
1393         (expr_symbol_where): New function.
1394         * expr.h: Use extern on function declarations.
1395         (expr_symbol_where): Declare.
1396         * symbols.c (resolve_symbol_value): Try to use expr_symbol_where
1397         rather than printing the meaningless name of an expression
1398         symbol.
1399
1400 Thu Jun 20 15:57:41 1996  Ken Raeburn  <[email protected]>
1401
1402         * config/tc-i386.c (md_number_to_chars): Deleted.
1403         * config/tc-i386.h (md_number_to_chars): New macro.
1404
1405         * config/tc-alpha.c (build_operate_n, build_mem): Moved earlier in
1406         the file.
1407         (load_symbol_address, load_expression): Use build_mem.
1408         (build_operate): New function.
1409         (emit_addq_r): Use it.
1410
1411         Wed Mar 13 22:14:14 1996  Pat Rankin  <[email protected]>
1412
1413         * symbols.c (colon):  #if VMS, use S_SET_OTHER to store `const_flag'.
1414
1415         Tue Mar  5 14:31:45 1996  Pat Rankin  <[email protected]>
1416
1417         * config/tc-vax.h (NOP_OPCODE): Define.
1418
1419         Sun Feb  4 21:01:03 1996  Pat Rankin  <[email protected]>
1420
1421         * config/obj-vms.h (S_IS_COMMON): Define.
1422         (S_IS_LOCAL): Check for \002 as well as \001.
1423         (LONGWORD_ALIGNMENT): New macro.
1424         (SUB_SEGMENT_ALIGN): Use it.
1425
1426         Fri Jan 26 17:44:09 1996  Pat Rankin  <[email protected]>
1427
1428         * config/vms-conf.h: Reconcile with conf.in.
1429
1430 Wed Jun 19 11:31:50 1996  Ian Lance Taylor  <[email protected]>
1431
1432         * write.c (is_dnrange): Only define if TC_GENERIC_RELAX_TABLE is
1433         defined.
1434
1435         * doc/as.texinfo: Document that any number of hex digits can
1436         follow \x.
1437
1438         * as.c (struct defsym_list): Define.
1439         (defsyms): New static variable.
1440         (parse_args): Just put --defsym arguments on defsyms list, rather
1441         than defining them.
1442         (main): Define defsyms after output file is created.
1443
1444         * config/tc-m68k.c (m68k_ip): Reject PRE and POST indexing mode on
1445         cpu32.  From Eric Norum <[email protected]>.
1446
1447         * config/tc-mips.c (mips_ip): In cases 'I', 'i', and 'j', set
1448         insn_error rather than calling check_absolute_expr.
1449
1450         * as.c (emulation_name): Remove unused static variable.
1451         (default_emul_bfd_name): Add return NULL to avoid warning.
1452         * ecoff.c (ecoff_stab): Remove unused variables name and
1453         name_end.
1454         * frags.c (frag_new): Remove unused variable tmp.
1455         * hash.c (hash_grow): Parenthesize + within <<.
1456         (hash_print_statistics): Use %lu, not %d, to print unsigned
1457         long variables.
1458         * messages.c: Include "libiberty.h".
1459         (fprint_value): Add cast to avoid printf warning.
1460         (sprint_value): Likewise.
1461         * read.c: Include "ecoff.h".
1462         (emit_expr): Add casts to avoid printf warnings.
1463         * read.h: Use extern for function declarations.
1464         (pop_insert): Declare.
1465         * stabs.c: Include "ecoff.h".
1466         * subsegs.c (subseg_set_rest): Remove unused variables tmp,
1467         former_last_fragP, and new_fragP.
1468         * subsegs.h (subsegs_print_statistics): Declare.
1469         * symbols.c (debug_verify_symchain): Change macro to discard
1470         arguments.
1471         * write.c (dump_section_relocs): Likewise.
1472         * write.h: Use extern for function declarations.
1473         (write_print_statistics): Declare.
1474         * config/e-mipsecoff.c (mipsecoff_bfd_name): Return NULL to avoid
1475         warning.
1476         * config/e-mipself.c (mipself_bfd_name): Likewise.
1477         * config/obj-elf.h (elf_ecoff_set_ext): Declare.
1478
1479         * config/tc-sparc.h (TC_RELOC_RTSYM_LOC_FIXUP): If OBJ_ELF, always
1480         emit relocations against external symbols.
1481
1482         * config/tc-alpha.c (tc_gen_reloc): Output a sensible error
1483         message if bfd_reloc_type_lookup fails, rather than calling
1484         assert.
1485
1486         * config/tc-alpha.c (alpha_force_relocation): Add
1487         BFD_RELOC_12_PCREL to switch.
1488
1489 Tue Jun 18 20:29:57 1996  Doug Evans  <[email protected]>
1490
1491         * config/tc-i386.h (LOCAL_LABEL,FAKE_LABEL_NAME): Use defaults for
1492         TE_PE (Lfoo, not .Lfoo).
1493
1494 Tue Jun 18 17:13:33 1996  Ian Lance Taylor  <[email protected]>
1495
1496         * read.c (s_fill): Don't warn about a zero repeat count.
1497
1498         * config/tc-mips.c (mips_ip): Don't warn about using AT as a
1499         coprocessor register.
1500
1501         * config/tc-i386.c (md_assemble): When checking the size of a
1502         register to set the size of an instruction, do a bitwise and with
1503         Reg8 and Reg16 rather than requiring the type to be exactly Reg8
1504         or Reg16.
1505
1506 Tue Jun 18 13:19:51 1996  Jeffrey A. Law  <[email protected]>
1507
1508         * config/tc-h8300.c (parse_reg): Tweak error messages.
1509         (build_bytes): Likewise.
1510         (skip_colonthing): Handle :32 suffix.
1511         (get_specific): Promote L_24 to L_32 if it makes a match.
1512         Don't always promote L_8 to L_16.
1513         (do_a_fix_imm): Clean up L_32 and L_24 handling.
1514
1515         * config/tc-h8300.c (Smode): New variable.
1516         (h8300hmode): Turn off Hmode.
1517         (h8300smode): New function.  Turn on Smode and Hmode.
1518         (md_pseudo_table): New ".h8300s" pseudo-op.
1519         (parse_reg): Handle "exr" register.
1520         (get_operand): Handle bizarre syntax for "stm.l" and "ldm.l".
1521         Handle "mach" and "machl" operands for ldmac.
1522         (get_specific): Handle "stm.l" and "ldm.l".
1523         (build_bytes): Handle "stm.l" and "ldm.l"; handle MACREG operands.
1524         * config/tc-h8300.h (COFF_MAGIC): Handle H8/S magic number.
1525         (Smode): Declare.
1526
1527 Mon Jun 17 15:50:53 1996  J.T. Conklin  <[email protected]>
1528
1529         * doc/as.texinfo: Reorder chapter of machine dependent options so
1530         that it is sorted by chip name.  
1531
1532         * doc/as.texinfo: Use consistant spelling of Vax.
1533         * doc/c-vax.texi: Likewise.
1534
1535 Mon Jun 17 11:26:56 1996  Jeffrey A. Law  <[email protected]>
1536
1537         * config/tc-hppa.c (md_pseudo_table): Add ".begin_try" and ".end_try"
1538         pseudo ops.
1539         (tc_gen_reloc, SOM version): Handle R_BEGIN_TRY and R_END_TRY.
1540         (md_apply_fix): Likewise.
1541         (pa_try): New function.
1542         (hppa_force_relocation): Force relocs for BEGIN_TRY and END_TRY.
1543
1544 Sun Jun 16 22:57:47 1996  Jeffrey A. Law  <[email protected]>
1545
1546         * config/tc-hppa.c (md_pseudo_table): Add ".level" pseudo op.
1547         (pa_level): New function.
1548
1549 Fri Jun 14 20:06:44 1996  Ian Lance Taylor  <[email protected]>
1550
1551         * listing.c (listing_newline): Don't do anything if listing is 0.
1552
1553 Thu Jun 13 17:50:54 1996  Ian Lance Taylor  <[email protected]>
1554
1555         * subsegs.c (section_symbol): If symbol_table_frozen is set, call
1556         symbol_create, not symbol_new.
1557
1558 Wed Jun 12 14:10:44 1996  Ian Lance Taylor  <[email protected]>
1559
1560         * write.c (adjust_reloc_syms): Don't set sy_used_in_reloc for an
1561         absolute symbol unless TC_FORCE_RELOCATION returns true.
1562
1563         * config/obj-coff.c (previous_file_symbol): Remove BFD_ASSEMBLER
1564         version.
1565         (c_dot_file_symbol): BFD_ASSEMBLER version: Don't set the value of
1566         the symbol to a pointer.  Don't set previous_file_symbol.
1567         Simplify symbol list rearrangement.
1568         (coff_frob_symbol): Don't do anything with C_FILE symbols.
1569         (coff_adjust_symtab): Don't check previous_file_symbol.
1570
1571 Mon Jun 10 14:52:29 1996  Michael Meissner  <[email protected]>
1572
1573         * config/tc-ppc.c (ppc_elf_lcomm): New function for .lcomm
1574         directive.
1575         (md_pseudo_table): Add ppc_elf_lcomm.
1576
1577 Mon Jun 10 11:45:51 1996  Ian Lance Taylor  <[email protected]>
1578
1579         * config/tc-m68k.c (m68k_ip): Accept ABSL for 'O', so that `bfextu
1580         d0{24:1},d0' works without an immediate prefix on the bit numbers.
1581         (md_begin): Add digits to alt_notend_table.
1582         (md_parse_option): Make s a const pointer.
1583
1584         * config/tc-sparc.c (md_pseudo_table): Add "empty".
1585         (s_empty): New static function.
1586
1587         * config/obj-coff.c (struct filename_list): Only define if not
1588         BFD_ASSEMBLER.
1589         (filename_list_head, filename_list_tail): Likewise.
1590         (c_section_symbol): Remove unused BFD_ASSEMBLER version.
1591         (obj_coff_endef, BFD_ASSEMBLER version): Don't set the debugging
1592         flag for C_MOS, C_MOE, C_MOU, or C_EOS symbols, since they should
1593         have a section of N_ABS rather than N_DEBUG.  If we do a merge,
1594         remove the new symbol from the list.
1595         (obj_coff_endef, both versions): Call tag_insert even if there is
1596         an old symbol with the same name, if the old symbol does not
1597         happen to be a tag.
1598         (coff_frob_symbol): Check SF_GET_TAG, C_EOF, and C_FILE outside of
1599         the SF_GET_DEBUG condition.  Don't call SA_SET_SYM_ENDNDX with a
1600         symbol that will be moved to the end of the symbol list.
1601         (coff_adjust_section_syms): Always call section_symbol for .text,
1602         .data, and .bss.
1603         (coff_frob_section): Likewise.  Also, remove unused variable
1604         strname.
1605
1606         * config/tc-ns32k.c (convert_iif): Call frag_grow rather than
1607         manipulating frags directly.
1608         (md_number_to_field): Adjust mem_ptr correctly if ENDIAN is
1609         defined.
1610
1611         * app.c (do_scrub_chars): If '/' is LINE_COMMENT_START, check
1612         whether the next character is '*' before checking whether we are
1613         at the start of a line.  Permit LINE_COMMENT_START to start a
1614         comment in state 1 (seen some whitespace) as well, to match the
1615         documentation.
1616
1617         * gasp.c (do_align): Permit a fill value for .align.
1618
1619 Wed Jun  5 17:09:26 1996  Ian Lance Taylor  <[email protected]>
1620
1621         * read.c (next_char_of_string): Warn if a newline is seen in the
1622         middle of a string.  Call bump_line_counters when appropriate.
1623
1624 Wed Jun  5 17:08:36 1996  Richard Henderson  <[email protected]>
1625
1626         * symbols.c (colon): Use LOCAL_LABEL.
1627
1628 Tue Jun  4 10:55:16 1996  Tom Tromey  <[email protected]>
1629
1630         * Makefile.in (install): Don't check to see if tooldir exists.
1631         Make $(tooldir) and $(tooldir)/bin.
1632
1633 Tue Jun  4 10:14:53 1996  Michael Meissner  <[email protected]>
1634
1635         * config/ppc-sol.mt (TDEFINES): Don't turn on -mregnames by
1636         default.
1637
1638 Mon Jun  3 11:34:41 1996  Ian Lance Taylor  <[email protected]>
1639
1640         * config/tc-mips.c (mips_ip): Don't call as_warn if we are setting
1641         insn_error.  Don't put the string "ERROR" in insn_error.  Set
1642         insn_error rather than calling as_warn for an unsupported opcode.
1643
1644 Sat Jun  1 21:51:55 1996  Ian Lance Taylor  <[email protected]>
1645
1646         * config/tc-mips.c (md_parse_option): Check for a 64 bit format
1647         before permitting -64.
1648         * output-file.c (output_file_create): Remove duplicate
1649         bfd_perror.
1650
1651 Fri May 31 01:08:06 1996  Ian Lance Taylor  <[email protected]>
1652
1653         * config/tc-mips.c (md_begin): If -64, create a .MIPS.options
1654         section rather than a .reginfo section.
1655         (mips_elf_final_processing): If -64, write out 64 bit RegInfo
1656         information.
1657
1658         * config/tc-mips.c (load_register): If mips_isa < 3, permit a 32
1659         bit value with the high bit set.
1660
1661 Thu May 30 19:00:19 1996  Ian Lance Taylor  <[email protected]>
1662
1663         * read.c (s_lcomm): Set section flags for .sbss section.
1664
1665         * config/tc-mips.c (mips_64): New static variable.
1666         (mips_target_format): If mips_64, return elf64 targets rather than
1667         elf32 ones.
1668         (md_longopts): Add "32" and "64".
1669         (md_parse_option): Handle -32 and -64.
1670         (md_show_usage): Mention -32 and -64.
1671         (cons_fix_new_mips): If mips_64, don't convert an 8 byte reloc to
1672         a 4 byte one.
1673
1674 Thu May 30 10:36:19 1996  Michael Meissner  <[email protected]>
1675
1676         * config/tc-ppc.c (comment_chars): Make '!' a comment character
1677         for Solaris compatibility.
1678
1679         * stabs.c (s_stab_generic): Under PowerPC Solaris, convert a
1680         .stabd with 4 arguments into a .stabn.
1681
1682 Wed May 29 16:43:16 1996  Ian Lance Taylor  <[email protected]>
1683
1684         * config/tc-mips.c (macro): When passing X_add_number to
1685         macro_build, cast it to int first.
1686
1687 Tue May 28 13:29:39 1996  Ian Lance Taylor  <[email protected]>
1688
1689         * config/tc-z8k.c (md_apply_fix): Handle fx_r_type of 0, as
1690         created by emit_expr.
1691
1692         * symbols.c (symbol_create): If bfd_make_empty_symbol fails, call
1693         as_perror rather than assert.
1694
1695 Fri May 24 18:24:11 1996  Ian Lance Taylor  <[email protected]>
1696
1697         * config/tc-mips.c (mips_ip): Mark sections created to hold
1698         floating point information as read only.
1699
1700 Fri May 24 12:07:54 1996  David Edelsohn  <[email protected]>
1701
1702         * config/tc-ppc.c (ppc_set_cpu): Change defaults to match AIX.
1703
1704 Thu May 23 17:34:24 1996  Michael Meissner  <[email protected]>
1705
1706         * read.c (potable): Add .skip as a synonym for .space.
1707
1708         * stabs.c (s_stab_generic): For PowerPC ELF, allow .stabd to take
1709         4 arguments, providing the 4th argument is 0, to allow
1710         compatibility with the Solaris assembler.
1711
1712 Thu May 16 15:51:48 1996  Ian Lance Taylor  <[email protected]>
1713
1714         * config/tc-sh.h (struct sh_segment_info_type): Define.
1715         (TC_SEGMENT_INFO_TYPE): Define.
1716         (sh_frob_label): Declare.
1717         (tc_frob_label): Define.
1718         (sh_flush_pending_output): Declare.
1719         (md_flush_pending_output): Define.
1720         * config/tc-sh.c (md_assemble): If relaxing, emit a R_SH_CODE
1721         reloc before the instruction if necessary.
1722         (sh_frob_label): New function.
1723         (sh_flush_pending_output): New function.
1724         (sh_coff_frob_file): Ignore ALIGN, CODE, DATA, and LABEL relocs
1725         when looking for the reloc for the target of .uses.
1726         (md_convert_frag): Fix printf format (%0xlx to 0x%lx).
1727         (sh_force_relocation): Force CODE, DATA, and LABEL relocs to be
1728         emitted.
1729         (md_apply_fix): Ignore CODE, DATA, and LABEL relocs.
1730         (sh_coff_reloc_mangle): Force CODE, DATA, and LABEL relocs to use
1731         the absolute symbol.
1732
1733         * subsegs.h (segment_info_type): Add tc_segment_info_data field if
1734         TC_SEGMENT_INFO_TYPE is defined.
1735
1736 Wed May 15 12:23:53 1996  Ian Lance Taylor  <[email protected]>
1737
1738         * config/tc-i386.c (md_assemble): Make sure the opcode suffix
1739         matches the register size.
1740
1741 Wed May 15 08:33:37 1996  Jeffrey A Law  ([email protected])
1742
1743         * config/obj-coff.c (count_entries_in_chain): Ignore Fixups with
1744         fx_done set. 
1745         (do_relocs_for): Likewise.
1746         (fixup_segment): Don't just quit if linkrelax is set.  Try to
1747         apply non pc-relative sym1-sym2 fixups, even if linkrelax is
1748         nonzero.
1749
1750 Fri May 10 14:16:59 1996  Michael Meissner  <[email protected]>
1751
1752         * config/tc-ppc.c (ppc_elf_validate_fix): Allow GOT and section
1753         relative relocations with -mrelocatable.  Also allow unfixed
1754         relocs in .ex_shared.
1755
1756 Tue May  7 11:24:10 1996  Ian Lance Taylor  <[email protected]>
1757
1758         * config/obj-coff.c (yank_symbols): Check that FNAME_OFFSET is
1759         non-zero before assuming this is a long file name.
1760         (w_strings): Likewise.
1761         (c_dot_file_symbol): Set FNAME_OFFSET to 1 for a long file name.
1762
1763         * config/obj-coff.c (w_strings): Move declaration of i inside
1764         #ifdef block which uses it.
1765
1766 Tue May  7 00:49:58 1996  Jeffrey A Law  ([email protected])
1767
1768         * config/tc-h8300.c (do_a_fix_imm): Rename last argument to
1769         "relaxmode".  Output relocs which identify various relaxing
1770         possibilities for mov.[bwl] instructions.
1771         (build_bytes): Pass in a relaxing mode to do_a_fix_imm.
1772
1773 Mon May  6 15:26:28 1996  Doug Evans  <[email protected]>
1774
1775         * config/tc-arm.h (TC_HANDLES_FX_DONE): Define.
1776         (MD_APPLY_FIX3): Define.
1777         * config/tc-arm.c (my_get_expression): Only watch for bad segments
1778         if OBJ_AOUT.
1779         (md_apply_fix3): Renamed from md_apply_fix.
1780         If pcrel reloc and symbol is in different section, undo effects
1781         of md_pcrel_from.
1782
1783 Sat May  4 12:49:35 1996  Jeffrey A Law  ([email protected])
1784
1785         * config/tc-hppa.c (hppa_fix_adjustable): Don't adjust
1786         any reloc with an LR% or RR% field selector for SOM.
1787
1788 Sat May  4 11:26:19 1996  Ian Lance Taylor  <[email protected]>
1789
1790         * Makefile.in: Add subsegs.h to appropriate TARG_CPU_DEP_*
1791         variables.
1792
1793 Fri May  3 17:58:31 1996  Ian Lance Taylor  <[email protected]>
1794
1795         * config/obj-coff.c (coff_frob_symbol): Don't merge a symbol with
1796         SF_GET_STATICS set.
1797         (yank_symbols): Likewise.
1798
1799 Wed May  1 13:38:17 1996  Ian Lance Taylor  <[email protected]>
1800
1801         * subsegs.h (segment_info_type): If MANY_SEGMENTS and not
1802         BFD_ASSEMBLER, add name field.
1803         * config/obj-coff.c: Include "libiberty.h".
1804         (coff_header_append): Handle long section names.
1805         (crawl_symbols): Just use the name field for the symbol name,
1806         without worrying about null byte termination.
1807         (w_strings): Handle long section names.
1808         (write_object_file): Likewise.  Also, use the name field, rather
1809         than scnhdr.s_name.
1810         (obj_coff_add_segment): Permit long section names.
1811         (obj_coff_init_stab_section): Use the name field, rather than
1812         scnhdr.s_name.
1813         (adjust_stab_section): Likewise.
1814         * config/te-pe.h (COFF_LONG_SECTION_NAMES): Define.
1815
1816         * config/tc-i960.c (brtab_emit): Don't set fx_im_disp field.
1817         (mem_fmt): Likewise.
1818         (md_apply_fix): Don't check fx_im_disp field.
1819
1820 Thu Apr 25 11:39:51 1996  Ian Lance Taylor  <[email protected]>
1821
1822         * configure.in: Add * after sparc*-*-vxworks.
1823         * configure: Rebuild.
1824
1825         * app.c (do_scrub_begin): If tc_comment_chars is not defined,
1826         define it to comment_chars.  Use tc_comment_chars rather than
1827         comment_chars.
1828         (do_scrub_chars): Use tc_comment_chars rather than comment_chars.
1829         * config/tc-m68k.h (tc_comment_chars): Define.
1830         (m68k_comment_chars): Declare.
1831         * config/tc-m68k.c (m68k_comment_chars): Rename from
1832         comment_chars.  Change into a pointer rather than an array.
1833         (md_longopts): Add "bitwise-or".
1834         (md_parse_option): Handle OPTION_BITWISE_OR.
1835         (md_show_usage): Mention --bitwise-or.
1836         * doc/c-m68k.texi: Document --bitwise-or.
1837
1838 Wed Apr 24 11:28:38 1996  Ian Lance Taylor  <[email protected]>
1839
1840         * config/tc-m68k.c (m68k_ip): Prevent attempts to use long offsets
1841         in 68000 mode.
1842
1843         * config/obj-coff.c (obj_coff_section): BFD_ASSEMBLER version:
1844         call demand_empty_rest_of_line.  Non BFD_ASSEMBLER version:
1845         correct handling of input line pointer, and call
1846         demand_empty_rest_of_line.
1847
1848 Mon Apr 22 18:02:37 1996  Doug Evans  <[email protected]>
1849
1850         * config/tc-sparc.c (in_bitfield_range): New static function.
1851         (sparc_ip): New cases X,Y.  Use SPARC_OPCODE_ARCH_V9_P.
1852         (md_apply_fix, cases BFD_RELOC_32_PCREL_S2,
1853         BFD_RELOC_SPARC_{WDISP16,WDISP19}): Fix undefined code.
1854         (md_apply_fix): New cases BFD_RELOC_SPARC_[56].
1855         (tc_gen_reloc): New cases BFD_RELOC_SPARC_[56].
1856
1857 Thu Apr 18 18:58:33 1996  Ian Lance Taylor  <[email protected]>
1858
1859         * config/obj-coff.c: BFD_ASSEMBLER:
1860         (coff_last_bf): New static variable.
1861         (coff_frob_symbol): Set endndx of a .bf symbol.
1862         Non BFD_ASSEMBLER:
1863         (obj_coff_endef): Call SF_SET_PROCESS on a .bf symbol.
1864         (last_bfP): New static variable.
1865         (yank_symbols): Set endndx of a .bf symbol.
1866
1867 Thu Apr 18 11:53:58 1996  Michael Meissner  <[email protected]>
1868
1869         * config/tc-ppc.c (md_parse_option): Add support for Solaris's -le
1870         and -s options.  Add -be for good measure.
1871
1872 Wed Apr 17 12:31:01 1996  Ian Lance Taylor  <[email protected]>
1873
1874         * read.c (s_space): Support non-constant fill value.  Handle fill
1875         value correctly for a size other than 1.
1876
1877 Tue Apr 16 15:17:40 1996  Doug Evans  <[email protected]>
1878
1879         * config/tc-arm.c (my_get_float_expression): Update call to
1880         gen_to_words, X_PRECISION changed from 6 to 5.
1881
1882 Tue Apr 16 10:25:42 1996  Michael Meissner  <[email protected]>
1883
1884         * config/tc-ppc.c (register_name,reg_name_search): Move register
1885         name lookup from PE specific code to all targets.  Add support for
1886         -mregnames/-mno-regnames to control whether register names are
1887         expanded or not.
1888         (md_assemble): Call register_name for all platforms.
1889         (md_parse_option): Add support for -mregnames/-mno-regnames.
1890
1891         * configure.in (powerpcle*-*-solaris): Add support.
1892         (powerpc*-*-linux): Ditto.
1893         * configure: Regenerate.
1894
1895         * config/ppc-sol.mt: New config file for PowerPC Solaris.
1896
1897 Mon Apr 15 12:26:33 1996  Ian Lance Taylor  <[email protected]>
1898
1899         * config/tc-mips.c (mips_frob_file): Permit multiple %hi relocs to
1900         be associated with a single %lo reloc.
1901
1902         * config/tc-mips.c (load_address): Cast X_add_number to valueT
1903         before comparing against MAX_GPREL_OFFSET, so that negative
1904         numbers are handled correctly.
1905         (macro): Likewise.
1906
1907 Thu Apr 11 12:39:02 1996  Ian Lance Taylor  <[email protected]>
1908
1909         * config/tc-sparc.c (last_insn): New static variable.
1910         (md_assemble): Warn about putting floating point branches in a
1911         delay slot.  If architecture is less than v9, insert NOP
1912         instructions between floating point instructions and floating
1913         point branches.  (The SunOS assembler does both these operations.)
1914         Save the last instruction opcode.
1915         (sparc_ip): Add pinsn parameter.  Change caller.
1916
1917         * config/tc-m68k.c (md_estimate_size_before_relax): Correct check
1918         for byte jump to next instruction to skip empty frags.
1919
1920 Wed Apr 10 16:48:12 1996  Ian Lance Taylor  <[email protected]>
1921
1922         * config/tc-alpha.c (alpha_ip): If we are going to call emit_add64
1923         for addq with a 16 bit signed value, just emit a lda instruction
1924         instead.
1925
1926 Wed Apr 10 14:34:49 1996  Jeffrey A Law  ([email protected])
1927
1928         * config/tc-h8300.c (do_a_fix_imm): Don't cut off high bits
1929         of a 32bit operand.
1930
1931 Mon Apr  8 14:42:53 1996  Ian Lance Taylor  <[email protected]>
1932
1933         * configure.in: Permit --enable-shared to specify a list of
1934         directories.
1935         * configure: Rebuild.
1936
1937 Fri Apr  5 17:01:35 1996  Jeffrey A Law  ([email protected])
1938
1939         * config/tc-h8300.c (get_specific): Remove some #if 0 code.
1940         (build_bytes): Remove all ABSMOV related code; it's unnecessary.
1941
1942 Fri Apr  5 15:13:10 1996  Andreas Schwab  <[email protected]>
1943
1944         * config/atof-ieee.c: Fix handling of denormalized extended
1945         precision numbers and overflow/underflow detection.
1946         (MAX_PRECISION, X_PRECISION, P_PRECISION): Changed from 6 to 5, to
1947         not include the 16 bit gap in the m68k extended precision format.
1948
1949 Fri Apr  5 14:29:23 1996  Ian Lance Taylor  <[email protected]>
1950
1951         * configure.in: Add i386-*-freebsdelf* target; from John Polstra
1952         <[email protected]>.
1953         * configure: Rebuild.
1954
1955 Fri Apr  5 18:39:28 1996  James G. Smith  <[email protected]>
1956
1957         * config/tc-mips.c: Allow non-zero offsets from .sdata symbols to
1958         be accessed using the $gp register.
1959         * config/tc-mips.h (MAX_GPREL_OFFSET): Added.
1960
1961 Wed Apr  3 10:56:14 1996  Doug Evans  <[email protected]>
1962
1963         * config/tc-sparc.c (sparc_md_end): Set bfd machine number to
1964         bfd_mach_sparc_sparclet if current_architecture is sparclet.
1965
1966 Mon Apr  1 16:55:44 1996  Ian Lance Taylor  <[email protected]>
1967
1968         * read.c (get_line_sb): Bump line counters based on
1969         input_line_pointer[-1], not *input_line_pointer.  Don't bother to
1970         call LISTING_NEWLINE.
1971         (s_macro): Don't call demand_empty_rest_of_line.
1972         * app.c (do_scrub_chars): When handling C style comments, unget
1973         ch2 rather than ch.
1974
1975 Fri Mar 29 16:15:06 1996  Ian Lance Taylor  <[email protected]>
1976
1977         * read.h (enum linkonce_type): Define.
1978         (s_linkonce): Declare.
1979         * read.c (potable): Add "linkonce".
1980         (s_linkonce): New function.
1981         * subsegs.h (segment_info_type): Add linkonce field to
1982         MANY_SEGMENTS && ! BFD_ASSEMBLER section.
1983         * config/obj-coff.h (obj_handle_link_once): Define if TE_PE.
1984         (obj_coff_pe_handle_link_once): Declare if TE_PE.
1985         * config/obj-coff.c: If TE_PE and not BFD_ASSEMBLER, #include
1986         "coff/pe.h".
1987         (obj_coff_pe_handle_link_once): New function, defined if TE_PE.
1988         (c_section_symbol): If TE_PE, set the x_comdat field in the aux
1989         entry based on the linkonce field in segment_info.
1990         * doc/as.texinfo: Document .linkonce.
1991
1992 Fri Mar 29 11:31:27 1996  J.T. Conklin  ([email protected])
1993
1994         * doc/as.1: Changed to be recognized by catman -w on Solaris.
1995
1996 Thu Mar 28 15:27:47 1996  Ian Lance Taylor  <[email protected]>
1997
1998         * stabs.c (s_stab_generic): Call the listing functions before
1999         doing the rest of the processing, which may involve freeing the
2000         string.  Pass string, not string + stroff, to OBJ_PROCESS_STAB in
2001         SEPARATE_STAB_SECTIONS case.
2002
2003         * config/tc-hppa.c: Remove nested comment.
2004         (tc_gen_reloc): Move label done inside the ifdef in which it is
2005         used.
2006         (md_apply_fix): Pass pointers to correct types to libhppa.h
2007         functions.  Always return a value.
2008
2009         * config/tc-mips.h (tc_frob_file): Define.
2010         (mips_frob_file): Declare.
2011         * config/tc-mips.c (struct mips_hi_fixup): Define.
2012         (mips_hi_fixup_list): New static variable.
2013         (imm_unmatched_hi): New static variable.
2014         (md_assemble): Clear imm_reloc, imm_unmatched_hi, and
2015         offset_reloc.  Pass imm_unmatched_hi to append_insn.
2016         (append_insn): Add unmatched_hi parameter.  If it is set, add the
2017         new fixup to mips_hi_fixup_list.  Change all callers.
2018         (mips_ip): Set imm_unmatched_hi when appropriate.
2019         (mips_frob_file): New function.
2020
2021 Thu Mar 28 11:47:59 1996  Doug Evans  <[email protected]>
2022
2023         * configure.in (sparc-*-solaris2*): Renamed from sparc*-*-solaris2*.
2024         * configure: Regenerated.
2025
2026 Tue Mar 26 18:19:12 1996  Ian Lance Taylor  <[email protected]>
2027
2028         * as.c (main): Call bfd_set_error_program_name.
2029
2030 Fri Mar 22 11:13:00 1996  Ian Lance Taylor  <[email protected]>
2031
2032         * as.h (strdup): Don't declare.
2033         * stabs.c: Include libiberty.h
2034         (get_stab_string_offset): Use xstrdup rather than strdup.
2035         (s_stab_generic): Likewise.
2036         * as.c (parse_args): Likewise.
2037         * read.c (s_mri_sect): Likewise.
2038
2039         * gasp.c (change_base): Recognize \(...) construct documented to
2040         pass through enclosed characters literally through to the output.
2041         (process_assigns): Likewise.  Also, be more careful to avoid
2042         looking past the end of the buffer.
2043
2044 Thu Mar 21 13:18:43 1996  Ian Lance Taylor  <[email protected]>
2045
2046         * config/tc-i386.c (md_parse_option): If OBJ_ELF, ignore -k for
2047         FreeBSD compatibility.  From John Polstra <[email protected]>.
2048
2049 Wed Mar 20 18:13:32 1996  Andreas Schwab  <[email protected]>
2050
2051         * doc/as.texinfo, doc/c-i960.texi: Fix typos.
2052
2053 Wed Mar 20 17:05:16 1996  David Mosberger-Tang  <[email protected]>
2054
2055         * config/alpha-opcode.h: Added cvtst instruction.
2056
2057 Mon Mar 18 13:12:46 1996  Ian Lance Taylor  <[email protected]>
2058
2059         * ecoff.c (ecoff_stab): Don't try to make a symbol out of the stab
2060         string.  Extract the addend from the result of expression.
2061
2062 Fri Mar 15 17:10:43 1996  Ian Lance Taylor  <[email protected]>
2063
2064         * app.c (do_scrub_chars): If whitespace is seen in state 11, and
2065         LABELS_WITHOUT_COLONS is not defined, and we are not in m68k MRI
2066         mode, change the state to 3 rather than 1.
2067
2068 Thu Mar 14 18:18:25 1996  Ian Lance Taylor  <[email protected]>
2069
2070         * config/obj-coff.h (C_REGISTER_SECTION): Change from 20 to 50, to
2071         correspond to 11 March change.
2072
2073 Thu Mar 14 15:27:10 1996  Jeffrey A Law  ([email protected])
2074
2075         * config/tc-h8300.c (build_bytes, MEMIND case): Generate
2076         an R_MEM_INDIRECT reloc rather than R_RELBYTE.
2077
2078 Tue Mar 12 12:21:10 1996  Ian Lance Taylor  <[email protected]>
2079
2080         * configure: Rebuild with autoconf 2.8.
2081
2082 Mon Mar 11 18:57:12 1996  Ian Lance Taylor  <[email protected]>
2083
2084         * config/atof-ieee.c (gen_to_words): Improve handling of
2085         X_PRECISION numbers.  Based on patches from Andreas Schwab
2086         <[email protected]>.
2087
2088 Mon Mar 11 09:59:53 1996  Steve Chamberlain  <[email protected]>
2089
2090         * as.h (SEG_NORMAL, SEG_LIST): Bump segment limit from 10 to 40.
2091         (SEG_LAST): New.
2092         * subsegs.c (MANY_SEGMENTS): Increase segment limit.
2093         * obj-coff.c (seg_N_TYPE, seg_info_off_by_4): Likewise.
2094         (do_relocs_for, w_symbols, obj_coff_add_segment, do_linenos_for,
2095         crawl_symbols, coff_header_append): Loop to SEG_LAST rather than
2096         SEG_E9.
2097         
2098 Thu Mar  7 15:17:39 1996  Doug Evans  <[email protected]>
2099
2100         * config/tc-sparc.c (sparc_ip): Handle operand char 'O' (neg reg).
2101
2102 Thu Mar  7 09:19:15 1996  Jeffrey A Law  ([email protected])
2103
2104         * config/tc-hppa.c (SUBSEG_MILLI): Define.
2105         (pa_def_subspaces): Add $MILLICODE$.
2106         (pa_spaces_begin): Set section flags for $MILLICODE$.
2107
2108 Wed Mar  6 14:11:30 1996  Ian Lance Taylor  <[email protected]>
2109
2110         * config/obj-elf.c (obj_elf_section): Only SEC_LOAD if the type is
2111         not SHT_NOBITS.  Don't tamper with flags based on type if a
2112         special section was found (revert Feb 29 change).
2113
2114         * config/tc-sh.c (sh_do_align): Only align using the nop pattern
2115         if aligning to a longword boundary or greater.
2116
2117 Tue Mar  5 15:10:43 1996  Jim Wilson  <[email protected]>
2118
2119         * config/tc-sh.c (sh_do_align): Pass 1 not 2 to frag_align.
2120
2121 Mon Mar  4 20:50:57 1996  Steve Chamberlain  <[email protected]>
2122
2123         * configure.in (i386-*-cygwin32): Don't use bfd_gas.
2124         * configure: Regenerated.
2125
2126 Mon Mar  4 10:13:06 1996  Jeffrey A Law  ([email protected])
2127
2128         * config/tc-hppa.c: Add default definitions for R_N0SEL and
2129         R_N1SEL since they're not defined for old versions of hpux.
2130
2131         * config/tc-hppa.c (tc_gen_reloc): Fix typo in R_COMP2 code.
2132         Set "sym_ptr_ptr" and "addend" fields to dummy values for
2133         R_N0SEL and R_N1SEL.
2134
2135 Fri Mar  1 10:20:52 1996  Andreas Schwab  <[email protected]>
2136
2137         * flonum-konst.c: Add two more constants for 1e+-2048 and
2138         1e+-4096, and correct the other constants.
2139
2140         * symbols.c (resolve_symbol_value): Handle O_logical_not.
2141
2142 Thu Feb 29 13:58:35 1996  Michael Meissner  <[email protected]>
2143
2144         * config/obj-elf.c (obj_elf_section): Allow predefined section
2145         types to set the nobits type.  Avoid a shadowed declaration.
2146
2147 Wed Feb 28 15:38:56 1996  Jeffrey A Law  ([email protected])
2148
2149         * config/tc-hppa.c (hppa_fix_adjustable): For SOM, don't
2150         reduce relocs using e_nlrsel field selectors.
2151
2152         * write.c (fix_new_exp): Don't use #elif.  Some compilers
2153         don't handle it.
2154
2155         * config/tc-hppa.c (selector_table): Add "n", "nl", and "nlr" to
2156         the selector table.
2157         (pa_chk_field_selector): Handle new field selectors for SOM.
2158
2159 Tue Feb 27 14:42:27 1996  Andreas Schwab  <[email protected]>
2160
2161         * configure.in (m68k-*-linux*aout*, m68k-*-linux*): New targets.
2162         * configure: Rebuild.
2163         * config/te-linux.h (LOCAL_LABELS_FB): Define.
2164         * config/tc-m68k.h (TARGET_FORMAT) [TE_LINUX]: Define to
2165         "a.out-m68k-linux".
2166         * config/tc-m68k.c (comment_chars): Don't include '#' if TE_LINUX
2167         is defined.
2168
2169 Mon Feb 26 18:58:58 1996  Stan Shebs  <[email protected]>
2170
2171         * mpw-make.sed: Update to handle shared library support.
2172
2173 Mon Feb 26 10:34:10 1996  Doug Evans  <[email protected]>
2174
2175         * config/tc-sparc.c (sparc_ip): Print all architectures that support
2176         the insn on mismatch.
2177
2178 Fri Feb 23 21:44:39 1996  Rob Savoye  <[email protected]>
2179
2180         * configure.in: Add support for a29-coff.
2181         * configure: Rebuild.
2182
2183 Thu Feb 22 16:39:43 1996  Ian Lance Taylor  <[email protected]>
2184
2185         * config/tc-sh.c (sh_coff_frob_file): Don't consider the address
2186         of the section when looking for the R_SH_USES fixup, because the
2187         frag addresses have not yet been adjusted.
2188
2189         * gdbinit.in: Set a breakpoint on as_warn_where.
2190
2191         * config/tc-mips.c (macro): Add missing arguments to macro_build
2192         omitted in last change.  From Jim Wilson <[email protected]>.
2193
2194 Wed Feb 21 17:00:32 1996  Ian Lance Taylor  <[email protected]>
2195
2196         * config/tc-h8300.c (tc_reloc_mangle): Change reloc based on size
2197         if it is TC_CONS_RELOC.  Set a size of 4 to R_RELLONG.
2198
2199 Wed Feb 21 09:25:39 1996  Doug Evans  <[email protected]>
2200
2201         * config/tc-sparc.c (sparc_ip): Recognize %asr0 for v8.
2202
2203 Tue Feb 20 21:48:03 1996  Doug Evans  <[email protected]>
2204
2205         * config/tc-sparc.c (parse_keyword_arg): Accept leading '%'.
2206         (sparc_ip): Accept %asr[1..31] for v8 and %asr[%16..31] for v9.
2207         Recognize [uU] format args as sparclet cpregs.
2208
2209 Tue Feb 20 22:25:55 1996  Ian Lance Taylor  <[email protected]>
2210
2211         * config/tc-sh.c (sh_handle_align): Don't emit R_SH_ALIGN relocs
2212         in bss_section.
2213
2214 Mon Feb 19 14:16:24 1996  Ian Lance Taylor  <[email protected]>
2215
2216         * config/tc-sparc.h (TC_RELOC_RTSYM_LOC_FIXUP): Check S_IS_WEAK as
2217         well as S_IS_EXTERNAL.
2218         (tc_fix_adjustable): Likewise.
2219         * config/tc-sparc.c (md_apply_fix): In OBJ_ELF case, check for
2220         S_IS_WEAK as well as S_IS_EXTERNAL when deciding whether to return
2221         early.
2222         (tc_gen_reloc): Check S_IS_WEAK as wel as S_IS_EXTERNAL when
2223         deciding whether to convert BFD_RELOC_32_PCREL_S2 if PIC.
2224
2225 Mon Feb 19 02:15:57 1996  Doug Evans  <[email protected]>
2226
2227         * config/tc-sparc.c (max_architecture): Change to sparclite for
2228         32 bit arch.
2229         (default_compatible): Delete.
2230         (sparc_ffs): New function.
2231         (md_begin): Only call SPARC_OPCODE_CONFLICT_P once.
2232         (sparc_ip): Rewrite architecture match and bump logic.
2233
2234 Sun Feb 18 15:03:50 1996  Ian Lance Taylor  <[email protected]>
2235
2236         * configure.in: Check for 'do not mix' from native linker before
2237         trying to use -rpath.
2238         * configure: Rebuild.
2239
2240 Fri Feb 16 16:53:31 1996  Ian Lance Taylor  <[email protected]>
2241
2242         * config/obj-coff.h (SF_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER).
2243         (SF_GET_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER).
2244         (SF_SET_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER).
2245         * config/obj-coff.c (obj_coff_endef): Set ADJ_LNNOPTR when LNNOPTR
2246         is set.
2247         (w_symbols): If ADJ_LNNOPTR is set, add the section lnnoptr field
2248         to the symbol lnnoptr field, to get the correct file offset.
2249
2250 Thu Feb 15 14:48:38 1996  Michael Meissner  <[email protected]>
2251
2252         * config/obj-elf.c (elf_frob_symbol): On the PowerPC, force all
2253         symbols that are not function, file, or section symbols to be
2254         object types.
2255
2256 Thu Feb 15 11:20:18 1996  Ian Lance Taylor  <[email protected]>
2257
2258         * configure: Set and substitute RPATH_ENVVAR.
2259         * configure: Rebuild.
2260         * Makefile.in (RPATH_ENVVAR): New variable.
2261         (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH.
2262
2263         * configure.in: Accept i686.  From H.J. Lu <[email protected]>: i386
2264         doesn't need opcodes.  If configuring shared, opcodes needs bfd.
2265         * configure: Rebuild.
2266
2267 Wed Feb 14 16:33:12 1996  Martin Anantharaman  <[email protected]>
2268
2269         * read.c (s_mri_sect): Don't return '\0' in type.  Set all
2270         appropriate flags in BFD section.
2271
2272         * configure.in (m68k-*-psos*): New target.
2273         * configure: Rebuild.
2274         * config/te-psos.h: New file.
2275         * config/tc-m68k.c (comment_chars): Don't include '#' if TE_PSOS
2276         is defined.
2277
2278 Wed Feb 14 13:43:24 1996  Ian Lance Taylor  <[email protected]>
2279
2280         From Alan Modra <[email protected]>:
2281         * configure.in: Remove duplicate setting of cpu_type.  Check
2282         whether opcodes library is required for on all targets, not just
2283         primary one.
2284         * configure: Rebuild.
2285
2286         * config/tc-mips.c (mips_big_got): New static variable.
2287         (s_extern): Don't declare.
2288         (reg_needs_delay): New static function.
2289         (macro_build): Permit GOT/CALL_HI/LO relocs.
2290         (macro_build_lui): If place is not NULL, use the number in the
2291         expression.
2292         (load_address): Handle mips_big_got case.
2293         (macro): Handle mips_big_got for M_LA_AB, M_JAL_A, and load and
2294         store macros.
2295         (OPTION_XGOT): Define.
2296         (md_longopts): Add "xgot" if OBJ_ELF.
2297         (md_parse_option): Handle -xgot.
2298         (md_show_usage): Mention -xgot.
2299         (md_apply_fix): Permit GOT/CALL_HI/LO relocs.
2300         (tc_gen_reloc): Handle GOT/CALL_HI/LO relocs.
2301
2302 Wed Feb 14 11:22:27 1996  Andreas Schwab  <[email protected]>
2303
2304         * config/tc-m68k.c (m68k_ip) [operand kind '#']: When fixing
2305         the byte relocation, point it to the low byte of the word.
2306
2307 Tue Feb 13 15:31:18 1996  Ian Lance Taylor  <[email protected]>
2308
2309         * configure.in: Set HDLFLAGS for *-*-hpux with --enable-shared.
2310         * configure: Rebuild.
2311
2312 Mon Feb 12 15:53:46 1996  Doug Evans  <[email protected]>
2313
2314         * configure.in: Recognize any sparc* cpu.
2315         * configure: Regenerated.
2316
2317 Mon Feb 12 15:41:21 1996  Ian Lance Taylor  <[email protected]>
2318
2319         * read.c (potable): Add "mri" and ".mri".
2320         (s_mri): New function.
2321         * read.h (s_mri): Declare.
2322         * app.c (scrub_m68k_mri): New static variable.
2323         (mri_pseudo): New static variable.
2324         (do_scrub_begin): Add m68k_mri parameter.  Use it rather than
2325         flag_m68k_mri.  Initialize scrub_m68k_mri.
2326         (mri_state, mri_last_ch): New static variables.
2327         (struct app_save): Add scrub_m68k_mri, mri_state, and mri_last_ch
2328         fields.
2329         (app_push): Save new fields.
2330         (app_pop): Restore new fields.
2331         (do_scrub_chars): Check scrub_m68k_mri rather than flag_mri_mri.
2332         If TC_M68K, use a trivial state machine to look for occurrences of
2333         the .mri pseudo-op, and change the mode appropriately.
2334         * as.h (do_scrub_begin): Update prototype.
2335         * input-scrub.c (input_scrub_begin): Pass flag_m68k_mri to
2336         do_scrub_begin.
2337         * config/tc-m68k.c (reg_prefix_optional_seen): New static
2338         variable.
2339         (m68k_mri_mode_change): New function.
2340         (md_parse_option): Set reg_prefix_optional_seen.
2341         * config/tc-m68k.h (m68k_mri_mode_change): Declare.
2342         (MRI_MODE_CHANGE): Define.
2343         * doc/as.texinfo: Document .mri pseudo-op.
2344
2345         * app.c (do_scrub_chars): In MRI mode, don't treat '#' as a
2346         comment character.
2347
2348 Mon Feb 12 15:16:29 1996  Andreas Schwab  <[email protected]>
2349
2350         Support for OBJ_ELF on m68k, mostly inside #ifdef OBJ_ELF:
2351         * config/m68k-parse.h (enum pic_relocation): Define.
2352         (struct m68k_exp): Add pic_reloc field.
2353         * config/tc-m68k.h (TC_RELOC_RTSYM_LOC_FIXUP): Define.
2354         (tc_fix_adjustable): Define to call tc_m68k_fix_adjustable.
2355         (NO_RELOC): Define to BFD_RELOC_NONE if BFD_ASSEMBLER, to zero
2356         otherwise.
2357         * config/tc-m68k.c: Delete definition of NO_RELOC.
2358         (struct m68k_it): Add pic_reloc field.
2359         (add_fix): Copy over pic_reloc field.
2360         (md_pseudo_table): Interpret .align parameter as byte count.
2361         (mote_pseudo_table): Likewise.
2362         (tc_m68k_fix_adjustable): New function.
2363         (get_reloc_code): New function.
2364         (md_assemble): Use it as last argument to fix_new_exp.
2365         (md_apply_fix_2): For a relocation against a symbol don't put the
2366         addend into the data.
2367         (tc_gen_reloc): Different addend computation for OBJ_ELF.
2368         (m68k_ip): Don't relax an operand that requires pic relocation.
2369         (md_begin): Align .text, .data and .bss on 4 byte boundary by
2370         default.
2371         * write.c (fixup_segment): Don't add symbol value to addend if
2372         TC_M68K and OBJ_ELF.
2373         * config/m68k-parse.y (yylex): Handle @PLTPC, etc.
2374         (motorola_operand): Add rule for `(zapc, EXPR)'.
2375
2376 Mon Feb 12 10:07:33 1996  David Mosberger-Tang  <[email protected]>
2377
2378         * ecoff.c (ecoff_directive_weakext): Fixed so that whitespace
2379         *really* is permissible before the comma.
2380
2381 Mon Feb 12 00:12:13 1996  Ian Lance Taylor  <[email protected]>
2382
2383         * config/tc-sh.c (sh_do_align): Align to a 2 byte boundary before
2384         inserting nop instructions.
2385
2386 Fri Feb  9 10:54:19 1996  Ian Lance Taylor  <[email protected]>
2387
2388         * config/te-aux.h: Change include of aux.h to aux-coff.h.
2389
2390 Thu Feb  8 20:02:58 1996  Ian Lance Taylor  <[email protected]>
2391
2392         * config/tc-i960.c (tc_coff_symbol_emit_hook): Correct storage
2393         class setting for a CALLNAME symbol in COFF.
2394
2395         * read.c (potable): Pass negative numbers for new .balign[wl] and
2396         .p2align[wl] pseudo-ops.
2397         (s_align_bytes): Treat a negative argument as specifying the fill
2398         length.
2399         (s_align_ptwo): Likewise.
2400
2401 Wed Feb  7 14:12:03 1996  Ian Lance Taylor  <[email protected]>
2402
2403         * read.c (potable): Add balignw, balignl, p2alignw, and p2alignl.
2404         (do_align): Take new len parameter.  Change all callers.  Pass it
2405         to md_do_align.
2406         (s_align_bytes): Arg now indicates the length of the fill pattern.
2407         (s_align_ptwo): Likewise.
2408         * config/obj-coff.c (write_object_file): Pass length to
2409         md_do_align.
2410         * config/tc-i386.h (md_do_align): Take new len parameter.
2411         * config/tc-m88k.h (md_do_align): Likewise.
2412         * config/tc-m88k.c (m88k_do_align): Likewise.
2413         * config/tc-sh.h (md_do_align): Likewise.
2414         * config/tc-sh.c (sh_do_align): Likewise.
2415         * doc/as.texinfo: Document new pseudo-ops.
2416
2417         * config/obj-coff.c (fixup_mdeps): Divide offset by fr_var, as is
2418         done in cvt_frag_to_fill.
2419
2420         * config/tc-sh.h (sh_do_align): Declare.
2421         (md_do_align): Define.
2422         * config/tc-sh.c (sh_do_align): New function.
2423
2424         * ecoff.c (ecoff_build_lineno): Don't try to store the address
2425         difference if the next address is before the current one.
2426
2427         * config/tc-m68k.c (struct m68k_cpu): Add alias field.
2428         (archs): Initialize new field.
2429         (m68k_ip): Don't list alias names when listing CPUs which support
2430         an instruction.
2431
2432         * as.c (main): Call parse_args before read_begin.
2433         * app.c (do_scrub_chars): If flag_m68k_mri, don't put a dot in
2434         front of generated pseudo-ops.
2435         * read.c (potable): Ignore "name".
2436         (s_app_file): Permit a single quote after the string, since one
2437         may appear in m68k MRI mode.
2438
2439         * configure.in: Check for --enable-shared.  If linking against
2440         shared BFD and opcodes, fix library name on SunOS, and try to set
2441         -rpath reasonably.
2442         * configure: Rebuild.
2443
2444 Tue Feb  6 15:16:17 1996  Ian Lance Taylor  <[email protected]>
2445
2446         * as.h (flag_m68k_mri): Declare.
2447         * as.c (parse_args): If TC_M68K, set flag_m68k_mri for -M.
2448         * Many files: For MRI syntax that is specific to the m68k MRI
2449         assembler, check flag_m68k_mri rather than flag_mri or
2450         MRI_MODE_NEEDS_PSEUDO_DOT.
2451
2452 Mon Feb  5 16:29:11 1996  Ian Lance Taylor  <[email protected]>
2453
2454         * config/tc-i960.c (ARCH_HX): Define.
2455         (arch_tab): Add HX.
2456         (targ_has_sfr): Handle ARCH_HX.
2457         (targ_has_iclass): Handle ARCH_HX.
2458         (tc_coff_fix2rtype): Add return 0 to avoid warning.
2459         (tc_headers_hook): If the architecture was specified explicitly,
2460         use it when setting the flags.  Set the extern variable coff_flags
2461         rather than headers->filehdr.f_flags, since the latter is set
2462         unconditionally in obj-coff.c.
2463         (i960_handle_align): Remove unused variable fixp.
2464
2465         Support for building bfd and opcodes as shared libraries, based on
2466         patches from Alan Modra <[email protected]>:
2467         * configure.in: Set OPCODES and BFD to search directories.
2468         Substitute OPCODES_DEP and BFDDEP.  On SunOS, set HLDFLAGS.
2469         * configure: Rebuild.
2470         * Makefile.in (LDFLAGS, HLDFLAGS): New variables.
2471         (LIBDEPS): New variable.
2472         (as.new0: Depend upon $(LIBDEPS) rather than $(LIBS).  Use
2473         $(HLDFLAGS) in link.
2474         (check): Set LD_LIBRARY_PATH in the environment.
2475
2476 Fri Feb  2 17:41:53 1996  Michael Meissner  <[email protected]>
2477
2478         * config/tc-ppc.h (ELF_TC_SPECIAL_SECTIONS): Make .sdata2, .sbss2,
2479         .PPC.EMB.sdata0, and .PPC.EMB.sbss0 sections all default to
2480         read-only, not read/write.
2481
2482 Fri Feb  2 14:09:25 1996  Alan Modra  <[email protected]>
2483
2484         * Makefile.in (INSTALL_XFORM): Remove -e.
2485
2486 Fri Feb  2 12:32:15 1996  Ian Lance Taylor  <[email protected]>
2487
2488         * write.c (write_relocs): Use S_IS_DEFINED and S_IS_COMMON rather
2489         than comparing S_GET_SEGMENT to undefined_section.
2490         (write_object_file): Skip symbols which were equated to an
2491         undefined or common symbol.
2492         * symbols.c (resolve_symbol_value): Use S_IS_DEFINED and
2493         S_IS_COMMON rather than comparing S_GET_SEGMENT to
2494         undefined_section.
2495         (S_GET_VALUE): Likewise.  Avoid recursion problems if S_IS_DEFINED
2496         or S_IS_COMMON call S_GET_VALUE.
2497         * config/obj-aout.h (S_IS_COMMON): Define if not BFD_ASSEMBLER.
2498         * config/obj-aout.c (obj_emit_relocations): If a reloc is equated
2499         to an undefined or common symbol, convert the reloc to be against
2500         the target symbol.
2501         (obj_crawl_symbol_chain): Skip symbols which were equated to an
2502         undefined or common symbol.
2503         * config/obj-bout.h (S_IS_COMMON): Define if not BFD_ASSEMBLER.
2504         * config/obj-bout.c (obj_emit_relocations): If a reloc is equated
2505         to an undefined or common symbol, convert the reloc to be against
2506         the target symbol.
2507         (obj_crawl_symbol_chain): Skip symbols which were equated to an
2508         undefined or common symbol.
2509         * config/obj-coff.c (do_relocs_for): Use S_IS_DEFINED and
2510         S_IS_COMMON rather than comparing S_GET_SEGMENT to
2511         undefined_section.
2512         (yank_symbols): Skip symbols which were equated to an undefined or
2513         common symbol.
2514
2515 Thu Feb  1 15:34:32 1996  Ian Lance Taylor  <[email protected]>
2516
2517         * config/obj-aout.h (S_IS_LOCAL): Check for \002 as well as \001.
2518         * config/obj-bout.h (S_IS_LOCAL): Likewise.
2519
2520         * configure.in: Make sure we only add m68k-parse.o to
2521         ${extra_objects} once, no matter how many m68k targets have been
2522         enabled.
2523         * configure: Rebuild.
2524
2525 Wed Jan 31 18:31:46 1996  Steve Chamberlain  <[email protected]>
2526
2527         * configure.in (i386-*-cygwin32, ppc-*-cygwin32): New.
2528         * configure: Rebuild.
2529
2530 Wed Jan 31 14:03:17 1996  Richard Henderson  <[email protected]>
2531
2532         * config/tc-m68k.c (md_pseudo_table): Add "extend" and "ldouble".
2533         * doc/c-m68k.texi: Document .extend and .ldouble.
2534
2535         * configure.in (m68*-apple-aux*): New target.
2536         * config/te-aux.h: New file.
2537         * config/obj-coff.c (compare_external_relocs): New static function
2538         if TE_AUX.
2539         (do_relocs_for): Sort relocs if TE_AUX.
2540         (fixup_segment): If TE_AUX, store common symbol value in segment.
2541         * config/tc-m68k.h (TARGET_FORMAT): Define if TE_AUX.
2542
2543 Wed Jan 31 12:24:58 1996  Ian Lance Taylor  <[email protected]>
2544
2545         * config/obj-coff.h (S_IS_LOCAL): Check for \002 as well as \001.
2546
2547         * config/tc-mips.c (s_mips_globl): Set BSF_OBJECT if it is not
2548         BSF_FUNCTION.
2549         (s_cpload): Set BSF_OBJECT for _gp_disp symbol.
2550         * read.c (s_lcomm): If S_SET_SIZE is defined, set the size of the
2551         symbol.
2552         * ecoff.c (add_procedure): Set the BSF_FUNCTION flag.
2553         (ecoff_build_symbols): If S_SET_SIZE is defined, set the size of
2554         an undefined symbol and the size of a function symbol.
2555         * config/obj-elf.c (elf_frob_symbol): If TC_MIPS, set BSF_OBJECT
2556         for all common symbols.
2557
2558 Tue Jan 30 12:35:24 1996  Ken Raeburn  <[email protected]>
2559
2560         * config/tc-i960.c (parse_memop): In MRI mode, don't use implicit
2561         scaling of index.
2562
2563         * expr.c (operand): Accept 0x hex constants in MRI mode if not on
2564         m68k.
2565
2566 Mon Jan 29 12:21:30 1996  Ian Lance Taylor  <[email protected]>
2567
2568         * config/obj-elf.c (obj_elf_type): Set BSF_OBJECT flag for a type
2569         of object.  From Ronald F. Guilmette <[email protected]>.
2570
2571         * ecoff.c (localsym_t): Add addend field.
2572         (add_ecoff_symbol): Add addend argument.  Change all callers.
2573         (coff_sym_value): Make static.
2574         (coff_sym_addend): New static variable.
2575         (ecoff_directive_def): Initialize coff_sym_addend.
2576         (ecoff_directive_val): Accept symbol + constant.
2577         (ecoff_directive_endef): Pass coff_sym_addend to add_ecoff_symbol.
2578         (ecoff_build_symbols): Include the addend in the symbol value.
2579
2580 Fri Jan 26 19:28:52 1996  Kim Knuttila  <[email protected]>
2581
2582         * config/tc-ppc.c (md_assemble): Ignore overflow on 
2583         BFD_RELOC_16_GOTOFF and BFD_RELOC_PPC_TOC16.
2584
2585 Fri Jan 26 16:14:17 1996  Michael Meissner  <[email protected]>
2586
2587         * config/tc-ppc.c (md_apply_fix3): SDA21 relocations are now 4
2588         bytes in size, so offset appropriately in big endian mode when
2589         writing the bottom 2 bytes.
2590
2591 Thu Jan 25 20:26:23 1996  Doug Evans  <[email protected]>
2592
2593         * config/tc-sparc.c (default_compatible): New static local.
2594         (md_begin): Initialize it.  Rewrite warn_on_bump handling.
2595         (sparc_ip): If no architecture or -bump specified, don't mark as
2596         mismatched those in default_compatible.
2597
2598 Thu Jan 25 12:21:53 1996  Ian Lance Taylor  <[email protected]>
2599
2600         SCO ELF support from Robert Lipe <[email protected]>:
2601         * configure.in (i386-*-sco*elf*): Use fmt elf, targ sco5.
2602         * configure: Rebuild.
2603         * config/sco5.mt: New file; set TDEFINES to -DSCO_ELF.
2604         * config/tc-i386.c (sco_id): New function, if SCO_ELF.
2605         * config/tc-i386.h (tc_init_after_args): Define if SCO_ELF.
2606         (sco_id): Declare if SCO_ELF.
2607
2608 Thu Jan 25 03:10:53 1996  Doug Evans  <[email protected]>
2609
2610         * config/tc-sparc.c (initial_architecture,can_bump_v9_p): Deleted.
2611         ({max,warn_after}_architecture): New static locals.
2612         (md_begin): Replace NUMOPCODES with sparc_num_opcodes.
2613         If both architecture and -bump requested, set max_architecture to max.
2614         (sparc_md_end): Simplify.
2615         (sparc_ip): Replace references to can_bump_v9_p with max_architecture.
2616         Rewrite code to bump architecture and check for conflicts.
2617         (md_longopts): Recognize -xarch={v8plus,v8plusa} for compatibility
2618         with Solaris assembler.
2619         (md_parse_option): Likewise.  Call sparc_opcode_lookup_arch.
2620         (md_show_usage): Update.
2621
2622 Wed Jan 24 22:11:03 1996  Doug Evans  <[email protected]>
2623
2624         * Makefile.in (RUNTEST): Fix reference to $${srcdir}.
2625
2626 Mon Jan 22 09:21:36 1996  Doug Evans  <[email protected]>
2627
2628         * config/tc-sparc.h (TARGET_FORMAT): Use #ifdef SPARC_ARCH64 instead of
2629         #ifdef sparcv9 when choosing value.
2630         (ENV64): Delete.
2631         (md_end): Define.
2632         (sparc_md_end): Declare.
2633         * config/tc-sparc.c (SPARC_V9): Renamed from sparcv9.
2634         (initial_architecture): New static local.
2635         (can_bump_v9_p): Likewise.
2636         (NO_V9): Delete all occurrences.
2637         (sparc_md_end): New function.
2638         (sparc_ip): New local v9_arg_p.  Rework fp reg number test.
2639         Don't bump architecture to v9 unless can_bump_v9_p set.
2640         (md_parse_option): -A<arch> passed, set can_bump_v9_p accordingly.
2641         * configure.in (sparc64 target cpu): Don't set obj_format here.
2642         (SPARC_V9): Renamed from sparcv9.
2643         (sparc64-*-elf*): Define SPARC_ARCH64.
2644         * configure: Regenerated.
2645         * acconfig.h (SPARC_V9): Renamed from sparcv9.
2646         (SPARC_ARCH64): Add.
2647         * conf.in: Regenerated.
2648         * config/vmsconf.h: Update.
2649
2650 Mon Jan 22 17:24:47 1996  James G. Smith  <[email protected]>
2651
2652         * config/tc-mips.c (load_register): Optimise "dli" loads.
2653         (md_show_usage): add "-mcpu=vr4100" to help text.
2654
2655 Mon Jan 22 11:53:00 1996  Ian Lance Taylor  <[email protected]>
2656
2657         * symbols.c (resolve_symbol_value): If a symbol is equated to an
2658         undefined symbol, preserve the X_op of O_symbol.
2659         (S_GET_VALUE): Fix check to permit this case.
2660         * write.c (write_relocs): If a reloc is against an undefined
2661         symbol equated to another symbol, change the reloc to be against
2662         the latter symbol.
2663         * config/obj-coff.c (do_relocs_for): Likewise.
2664
2665         * config/tc-ppc.c (ppc_csect): An unnamed csect is storage class
2666         XMC_PR.
2667
2668 Mon Jan 22 10:59:48 1996  Michael Meissner  <[email protected]>
2669
2670         * config/obj-elf.c (elf/ppc.h): Include elf/ppc.h if target
2671         computer is PowerPC.
2672
2673         * config/tc-ppc.c (md_apply_fix3): Add more embedded relocations.
2674
2675         * config/tc-ppc.h (ELF_TC_SPECIAL_SECTIONS): Add sections
2676         mentioned in the eabi.
2677
2678 Thu Jan 18 17:58:19 1996  Kim Knuttila  <[email protected]>
2679
2680         * config/tc-ppc.c (ppc_reldata): Changed alignement on reldata_section
2681         * config/tc-ppc.c (ppc_pdata): Changed the alignment on pdata_section
2682
2683 Mon Jan 15 17:43:42 1996  Michael Meissner  <[email protected]>
2684
2685         * config/tc-ppc.c (mapping): Add more relocation suffixes.
2686
2687 Sun Jan 14 21:29:36 1996  Michael Meissner  <[email protected]>
2688
2689         * config/tc-ppc.c (ppc_elf_validate_fix): Allow .gcc_except_table
2690         as a section it is ok to have unadorned -mrelocatable pointers in.
2691
2692 Sat Jan 13 11:09:08 1996  Michael Meissner  <[email protected]>
2693
2694         * config/tc-ppc.c (ppc_section*): Wrap these functions inside
2695         #ifdef OBJ_ELF.
2696
2697 Fri Jan 12 15:32:07 1996  Michael Meissner  <[email protected]>
2698
2699         * config/obj-elf.c (obj_elf_section): Add hooks so machine
2700         dependent section attributes can be handled.
2701
2702         * config/tc-ppc.h: (md_elf_section_{letter,type,word,flags}): New
2703         macros to add support for exclude section flag and ordered section
2704         type.
2705
2706         * config/tc-ppc.c (ppc_elf_section_{letter,type,word,flags}): New
2707         functions to add support for exclude section flag and ordered
2708         section type.
2709
2710 Fri Jan 12 12:04:00 1996  Ian Lance Taylor  <[email protected]>
2711
2712         * subsegs.c (section_symbol): Don't try to look up the section
2713         symbol in the hash table.  It should be possible to have a symbol
2714         with the same name as a section, but no connection to it.
2715
2716         * read.c (cons_worker): Only call mri_comment_end from flag_mri.
2717         From James Carlson <[email protected]>.
2718
2719         * expr.c (operand): Skip whitespace after a close parenthesis.
2720         From James Carlson <[email protected]>.
2721
2722 Tue Jan  2 12:43:23 1996  Jim Wilson  <[email protected]>
2723
2724         * config/tc-sh.c (md_apply_fix): Call as_bad_where instead of
2725         as_warn_where for relocation overflow.
2726         (parse_reg): Accept register name only if next character is
2727         not alphanumeric.
2728
2729 Sat Dec 30 23:42:51 1995  Jeffrey A Law  ([email protected])
2730
2731         * ecoff.c (ecoff_stab): Simplify.  Correctly handle sym + offset
2732         addresses for static variables.
2733
2734 Thu Dec 21 12:54:32 1995  Michael Meissner  <[email protected]>
2735
2736         * config/tc-ppc.c (mapping): Make @got give a real GOT relocation,
2737         and xgot give the old toc16 relocation.
2738         (md_apply_fix3): Support all GOT relocations.
2739
2740 Wed Dec 20 14:57:17 1995  Ian Lance Taylor  <[email protected]>
2741
2742         * config/tc-mips.c (load_address): Correctly handle a constant in
2743         SVR4_PIC case.  From Richard Kenner <[email protected]>.
2744
2745 Fri Dec 15 14:25:07 1995  J.T. Conklin  <[email protected]>
2746
2747         * config/tc-sh.c (parse_reg): Recognize SH3 registers.
2748         (get_specific): Handle A_SSR, A_SPC and A_REG_B.
2749         (build_Mbytes): Handle REG_B.
2750
2751 Fri Dec 15 16:07:25 1995  Ian Lance Taylor  <[email protected]>
2752
2753         * ecoff.c (ecoff_build_aux): Use new bfd_big_endian macro.
2754
2755 Fri Dec 15 12:11:48 1995  Raymond Jou  <[email protected]>
2756
2757         * mpw-make.sed: If linking, edit ALL_CFLAGS to CFLAGS.
2758
2759 Thu Dec 14 15:09:52 1995  Ian Lance Taylor  <[email protected]>
2760
2761         * config/obj-coff.c (write_object_file): Set the s_align field to
2762         the number of bytes, rather than to the power of 2.
2763
2764 Tue Dec 12 12:19:37 1995  Ian Lance Taylor  <[email protected]>
2765
2766         * Makefile.in (DISTCLEAN_HERE): New variable.
2767         (distclean): Use it.
2768         (maintainer-clean): Depend upon clean-here rather than clean,
2769         distclean, and clean-info.  Run make maintainer-clean in doc.
2770         Remove files listed in DISTCLEAN_HERE.
2771         * doc/Makefile.in (maintainer-clean realclean): Split out from
2772         distclean.  Depend upon clean-info and distclean.
2773
2774 Mon Dec 11 16:23:51 1995  Stan Shebs  <[email protected]>
2775
2776         * mac-as.r: Fix copyright and version strings.
2777         (cfrg): Use PROG_NAME instead of literal name.
2778
2779 Mon Dec 11 14:14:08 1995  Ian Lance Taylor  <[email protected]>
2780
2781         * read.c (read_a_source_file): If tc_unrecognized_line is defined,
2782         call it.
2783         * config/tc-a29k.h (tc_unrecognized_line): Define.
2784         * config/tc-a29k.c (a29k_unrecognized_line): New function.
2785         (md_operand): Handle a29k style local dollar labels.
2786
2787 Wed Dec  6 17:52:52 1995  Ian Lance Taylor  <[email protected]>
2788
2789         * config/obj-multi.h: If OBJ_MAYBE_ELF, define OBJ_SYMFIELD_TYPE.
2790
2791 Tue Dec  5 13:26:34 1995  Ken Raeburn  <[email protected]>
2792
2793         * read.c (s_fill): If md_flush_pending_output is defined, call
2794         it.
2795
2796 Mon Dec  4 15:10:53 1995  Ken Raeburn  <[email protected]>
2797
2798         * config/obj-coff.c (size_section, fill_section, fixup_mdeps):
2799         Treat rs_align_code like rs_align.
2800
2801 Sun Dec  3 16:46:54 1995  Richard Earnshaw ([email protected])
2802
2803         * config/tc-arm.c (cp_address_required_here): Set pre_inc when
2804         converting an absolute address into a PC-relative one.
2805
2806 Fri Dec  1 11:57:56 1995  Stan Shebs  <[email protected]>
2807
2808         * mpw-config.in: Don't always use te-generic.h for emulation.
2809         (powerpc-apple-macos): Use emulation te-macos.h.
2810 start-sanitize-gm
2811         (mips-gm-magic): New configuration.
2812 end-sanitize-gm
2813         * mpw-make.sed (install, install-only): Edit in Mac-specific
2814         install procedure.
2815
2816 Fri Dec  1 10:59:25 1995  Ian Lance Taylor  <[email protected]>
2817
2818         * configure.in: Improve message about unsupported ELF targets.
2819         * configure: Rebuild.
2820
2821         * config/tc-m88k.c (m88k_do_align): Correct check for whether fill
2822         pattern is zero.  From Manfred Hollstein.
2823
2824 Thu Nov 30 13:25:49 1995  Kim Knuttila  <[email protected]>
2825
2826         * config/tc-ppc.c (ppc_pe_section): To get the alignment right for
2827         the various idata sections, we check the name on the .section pseudo.
2828
2829 Thu Nov 30 11:23:42 1995  Manfred Hollstein KS/EF4A 60/1F/110 #40283  <[email protected]>
2830
2831         * config/obj-coff.c (fixup_segment): If TC_M88K is defined, do not
2832         add section's paddr to add_number; compatibility to native as and
2833         ld forbids.
2834
2835 Wed Nov 29 23:14:27 1995  Ken Raeburn  <[email protected]>
2836
2837         * configure.in: Treat m68k-sysv4 like m68k-elf, not m68k-sysv3.
2838
2839         * hash.c (struct hash_entry): Moved here...
2840         * hash.h (struct hash_entry): ...from here.
2841
2842         * config/obj-elf.c (elf_frob_symbol): Don't free and clear sy_obj
2843         if it's already known to be null.
2844
2845 Wed Nov 29 13:00:20 1995  Michael Meissner  <[email protected]>
2846
2847         * config/tc-ppc.c (md_apply_fix3): Don't adjust the value for 32
2848         bit relocs converted to PC relative relocs.  This turned out to
2849         add the offset from the beginning of .text twice.
2850
2851 Tue Nov 28 10:42:36 1995  Ken Raeburn  <[email protected]>
2852
2853         * stabs.c (s_stab_generic): In 's' case, free string from
2854         obstack.
2855
2856         * config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Remove unused field
2857         sy_name_offset.
2858         * config/obj-multi.h (ELF_TARGET_SYMBOL_FIELDS) [OBJ_MAYBE_ELF]:
2859         Ditto.
2860
2861         * subsegs.h (segment_info_type): Make bitfields unsigned.
2862
2863         * expr.h (struct expressionS): Make X_op and X_unsigned bitfields,
2864         and move them together.  On most systems this will reduce the
2865         structure size by one word.
2866         (operatorT): Define O_max.
2867         * expr.c (expr_begin): Verify that X_op is wide enough to hold
2868         O_max.
2869
2870         * read.c (pop_insert): Print error returned by hash table
2871         insertion code.
2872
2873         * as.c (dump_statistics): Split out from main; dump some hash
2874         table stats and target-specific stats.
2875         (start_time): No longer automatic to main.
2876         (main): Set file-level start_time and call dump_statistics at
2877         exit.  Exit by calling xexit.
2878         (show_usage): Make --statistics description less specific.
2879         * subsegs.c (subsegs_print_statistics): New function.
2880         * write.c (write_print_statistics): New function.
2881         (n_fixups): New static variable.
2882         (fix_new_internal): Increment it.
2883         * read.c (read_print_statistics): New function.
2884         * read.h (read_print_statistics): Declare.
2885         * symbol.c (symbol_print_statistics): New function.
2886         * symbol.h (symbol_print_statistics): Declare.
2887         * hash.c (hash_print_statistics): New function.
2888         * hash.h (hash_print_statistics): Declare.
2889         * config/tc-i386.c (i386_print_statistics): New function.
2890         * config/tc-i386.h (i386_print_statistics): Declare.
2891         (tc_print_statistics): New macro.
2892         * messages.c (as_fatal, as_assert, as_abort): Use xexit, not
2893         exit.
2894
2895         * hash.c (DELETED): Rewrite to use a valid but unique address.
2896         (START_POWER): Reduce to 10.
2897         (enum stat_enum): New enumerator, replacing STAT_* index macros.
2898         Add new values for counting strcmp calls.
2899         (GROW_FACTOR): New macro.
2900         (hash_grow): Use GROW_FACTOR.  Rewrite for quick returns instead
2901         of nesting blocks.
2902         (FULL_VALUE): New macro.  Use 1/4 of table size instead of 1/2.
2903         (hash_new): Use FULL_VALUE.
2904         (struct hash_control): Definition moved here.
2905         (hash_code): Don't mask to low bits.
2906         (hash_ask): Mask returned hash code here.  Check hash value before
2907         calling strcmp; count strcmp calls.
2908         * hash.h (struct hash_control): Declare, don't define, here.
2909         (HASH_STATLENGTH): Deleted.
2910         (struct hash_entry): Add field for hash code.
2911         (hash_say, hash_apply): Don't declare.
2912
2913         * hash.c (destroy): Return void.
2914         (applicatee): Ditto.
2915         (main): Fix declarations.
2916         (hash_apply): Return void.  Argument `function' returns void.  Put
2917         inside "#ifdef TEST".
2918         (hash_say): Define only if TEST is defined.
2919         * hash.h (hash_apply, hash_say): Declarations deleted.
2920
2921 Mon Nov 27 13:18:25 1995  Ian Lance Taylor  <[email protected]>
2922
2923         * configure: Rebuild with autoconf 2.7.
2924
2925 Tue Nov 21 18:39:01 1995  Ian Lance Taylor  <[email protected]>
2926
2927         * aclocal.m4 (AC_PROG_CC): Remove local definition.
2928         * configure: Rebuild with autoconf 2.6.
2929
2930 Mon Nov 20 17:26:00 1995  Ian Lance Taylor  <[email protected]>
2931
2932         * config/tc-ppc.c (ppc_debug_name_section_size): Remove.
2933         (ppc_stabx): Don't increment ppc_debug_name_section_size.
2934         (ppc_bc): Likewise.
2935         (ppc_frob_file): Remove.
2936         * config/tc-ppc.h (tc_frob_file): Don't define.
2937         (ppc_frob_file): Don't declare.
2938
2939 Mon Nov 20 13:37:05 1995  Ken Raeburn  <[email protected]>
2940
2941         * Makefile.in (TARG_CPU_DEP_alpha): Mention alpha-opcode.h.
2942         * config/alpha-opcode.h: Include one-operand variants of jmp and
2943         jsr.
2944
2945         * config/te-delt88.h: Renamed from te-delta88.h, to avoid conflict
2946         with te-delta.h in 8.3 file systems.
2947         * configure.in: Adjusted.
2948
2949 Thu Nov 16 12:49:38 1995  Ian Lance Taylor  <[email protected]>
2950
2951         * config/tc-mips.c (s_err): Remove; just use the one in read.c.
2952
2953         * config/m68k-parse.y (yylex): In MRI mode, '@' can start an octal
2954         number.
2955         * expr.c (operand): Handle MRI suffixes after unadorned 0.
2956
2957 Thu Nov 16 00:21:44 1995  Ken Raeburn  <[email protected]>
2958
2959         Version 2.6 released.
2960         * Makefile.in (VERSION): Updated to 2.6.
2961
2962         * config/obj-coff.c (write_object_file): Change use of md_do_align
2963         to pass a pointer rather than a fill value, to match other uses.
2964
2965 Wed Nov 15 03:52:00 1995  Ken Raeburn  <[email protected]>
2966
2967         * config/tc-ns32k.h (TC_FIX_TYPE): Add missing semicolon.
2968
2969         * as.c (main): Move md_end call to just after call to
2970         perform_an_assembly_pass.  Delete cpu-specific code here.
2971         * config/tc-i960.h (md_end): New macro, calls brtab_emit.
2972         * config/tc-arm.c (md_end): Unused function deleted.
2973         * config/tc-ns32k.c (md_end): Ditto.
2974
2975         * config/tc-i386.c (i386_align_code): New function, moved here
2976         from HANDLE_ALIGN macro.
2977         * config/tc-i386.h (HANDLE_ALIGN): Call it.
2978
2979         Mon Jul 31 14:53:19 1995  Alan Modra  <[email protected]>
2980
2981         * config/tc-i386.h (md_do_align): cast fill and 0x90 to char
2982         before comparing
2983
2984         Mon May  1 10:91:49 1995  Alan Modra  <[email protected]>
2985
2986         * config/tc-i386.h (md_do_align):  Make ".align n,0x90" generate
2987         multi-byte nops to avoid changing gcc.  The necessary gcc change
2988         might break old assemblers.
2989
2990         Sat Apr 22 20:53:05 1995  Alan Modra  <[email protected]>
2991
2992         * config/tc-i386.h (md_do_align, HANDLE_ALIGN):  Add macros to
2993         generate optimal multi-byte nop instructions for ".align n"
2994         ".align n,0x90", and aligns requiring more than 15 bytes of
2995         padding still generate multiple 0x90's as before.
2996
2997 Mon Nov 13 17:40:21 1995  Ian Lance Taylor  <[email protected]>
2998
2999         * config/tc-m68k.c (s_mri_until): Call pop_mri_control.
3000
3001 Mon Nov 13 20:39:06 1995  Stan Shebs  <[email protected]>
3002
3003         * configure.in (ppc-*-macos*, ppc-*-mpw*): New configurations.
3004         * configure: Update.
3005         * mpw-make.sed: Reorder commands to make sed happier.
3006         * config/te-macos.h: New file.
3007         * config/tc-ppc.h (TARGET_FORMAT): Set correctly for PowerMac.
3008
3009 Sun Nov 12 21:14:56 1995  Jeffrey A Law  ([email protected])
3010
3011         * config/tc-hppa.c (pa_ip): Fix off-by-2 bug in length check for
3012         conditional branches.
3013         (md_apply_fix): Likewise.
3014
3015 Thu Nov  9 16:14:01 1995  Ian Lance Taylor  <[email protected]>
3016
3017         * config/tc-a29k.c (md_apply_fix): Warn if an attempt is made to
3018         generate a reloc which the linker will not handle correctly.  Fix
3019         overflow checking--R_IREL is 18 bits, not 17.
3020
3021 Wed Nov  8 19:59:36 1995  Ian Lance Taylor  <[email protected]>
3022
3023         * config/obj-coff.c (fixup_segment): Don't subtract md_pcrel_from
3024         from a PC relative reloc if TC_A29K.
3025
3026         * config/tc-a29k.c (line_separator_chars): Restore '@'.  Existing
3027         code depends upon it.
3028
3029         * config/tc-a29k.c (md_operand): Handle $float, $double, and
3030         $extend.  Based on code from Eric Freudenthal
3031         <[email protected]>.
3032         * config/tc-a29k.h (LEX_DOLLAR): Define.
3033         * read.c (LEX_DOLLAR): Define if not defined.
3034         (lex_type): Use LEX_DOLLAR.
3035
3036 Wed Nov  8 16:38:14 1995  Eric Freudenthal <[email protected]>
3037
3038         * configure.in (a29k-nyu-sym1): New target, just like other a29k
3039         targets.
3040
3041 Wed Nov  8 11:38:48 1995  Ian Lance Taylor  <[email protected]>
3042
3043         * config/obj-coff.c (c_dot_file_symbol): Cast xmalloc return.
3044
3045 Tue Nov  7 09:14:35 1995  Kim Knuttila  <[email protected]>
3046
3047         * config/tc-ppc.c (md_apply_fix3): Added BFD_RELOC_RVA. Currently
3048         used only by "dlltool.c".
3049
3050 Mon Nov  6 18:51:26 1995  Ian Lance Taylor  <[email protected]>
3051
3052         * config/tc-alpha.c: Undefine inline if not __GNUC__.
3053         (md_pseudo_table): Don't define "extern".
3054
3055 Sat Nov  4 00:51:21 1995  Ian Lance Taylor  <[email protected]>
3056
3057         * config/tc-ppc.c (ppc_biei): Force symbol into text_section.
3058
3059         * config/tc-ppc.c (md_show_usage): Put backslash at end of line.
3060
3061 Fri Nov  3 13:02:59 1995  Ian Lance Taylor  <[email protected]>
3062
3063         * macro.c (macro_expand_body): Don't warn about == with a
3064         nonexistent parameter, in case it is in a comment field.
3065
3066         * as.c (main): On TC_A29K, call macro_init with macro_alternate
3067         set to 1.
3068         * macro.c (get_any_string): Don't keep quotes if macro_strip_at is
3069         set, even if macro_alternate is set.
3070         (get_apost_token): If macro_strip_at, only skip kind if it is '@'.
3071         (sub_actual): If macro_strip_at, and kind is '@', don't look up
3072         the token unless it ended in '@'.
3073         * config/tc-a29k.c (line_separator_chars): Remove '@'.
3074         * doc/c-a29k.texi: Document macro usage on A29K.
3075
3076 Thu Nov  2 23:07:57 1995  Ian Lance Taylor  <[email protected]>
3077
3078         * config/tc-m68k.c (m68k_ip): Handle new 'W' place, meaning a
3079         signed word.
3080         (install_operand): Likewise.
3081
3082         * config/obj-elf.c (ecoff_debug_pseudo_table): Add "extern".
3083
3084 Wed Nov  1 15:17:02 1995  Manfred Hollstein KS/EF4A 60/1F/110 #40283  <[email protected]>
3085
3086         * configure.in (m88k-motorola-sysv*): New target.
3087         * configure: Rebuild.
3088         * config/te-delta88.h: New file.
3089         * config/obj-coff.c (write_object_file): Use md_do_align if it is
3090         defined.
3091         * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Define.
3092         (md_do_align): Define.
3093         * config/tc-m88k.c: Include "subsegs.h".
3094         (m88k_do_align): New function.
3095
3096         * config/te-delta.h (STRIP_UNDERSCORE): Don't define.
3097         (COFF_NOLOAD_PROBLEM): Define.
3098         (LOCAL_LABELS_DOLLAR, LOCAL_LABELS_FB): Define.
3099
3100 Wed Nov  1 16:07:43 1995  Ken Raeburn  <[email protected]>
3101
3102         * config/tc-i386.c (md_assemble): For a jump instruction with
3103         non-constant target, require 7 available bytes in the current
3104         frag, not 6.
3105
3106 Tue Oct 31 15:37:16 1995  Fred Fish  <[email protected]>
3107
3108         * config/obj-elf.h: Include bfd/elf-bfd.h rather than
3109         bfd/libelf.h.
3110
3111 Tue Oct 31 16:34:28 1995  David Mosberger-Tang  <[email protected]>
3112
3113         * configure.in (alpha-*-linux*): Use ecoff.
3114         * configure: Rebuild.
3115         * ecoff.c (ecoff_directive_extern): New function.
3116         (ecoff_directive_weakext): New function.
3117         (ecoff_build_symbols): Handle weak symbols.
3118         (ecoff_setup_ext): Likewise.
3119         (ecoff_frob_symbol): Warn about weak common symbols.
3120         * ecoff.h (ecoff_directive_extern): Declare.
3121         (ecoff_directive_weakext): Declare.
3122         * symbols.c (S_IS_WEAK): New function.
3123         * symbols.h (S_IS_WEAK): Declare.
3124         * config/obj-ecoff.c (obj_pseudo_table): Add "extern" and
3125         "weakext".
3126         * config/tc-mips.c (mips_pseudo_table): Remove "extern".
3127         (s_extern): Remove.
3128
3129 Tue Oct 31 13:29:08 1995  Ian Lance Taylor  <[email protected]>
3130
3131         * config/tc-ppc.c (ppc_lglobl): Do the right thing.
3132
3133         * config/tc-ppc.c (ppc_bb): Call SF_SET_PROCESS.
3134         (ppc_eb): Likewise.  Set the storage class to C_BLOCK, not C_FCN.
3135         (ppc_frob_symbol): Don't change C_BLOCK symbols to C_HIDEXT.
3136         * config/obj-coff.c (coff_frob_symbol): Don't call
3137         SA_SET_SYM_ENDNDX with the current symbol; call it with the next
3138         one.  If OBJ_XCOFF, try to figure out whether the symbol is going
3139         to be dropped.
3140
3141         * config/tc-ppc.c (md_pseudo_table): Add "bc" and "ec".
3142         (ppc_stab_symbol): New static variable.
3143         (ppc_change_csect): Check that ppc_toc_csect is not NULL.
3144         (ppc_stabx): Set ppc_stab_symbol around call to symbol_make.  Set
3145         sy_tc.real_name to the stab string.
3146         (ppc_bc, ppc_ec): New static functions.
3147         (ppc_canonicalize_symbol_name): If ppc_stab_symbol is set, don't
3148         do anything.
3149         (ppc_symbol_new_hook): If ppc_stab_symbol is set, don't look for a
3150         suffix.
3151         (ppc_frob_symbol): Set BSF_NOT_AT_END for symbols with csect aux
3152         entries.
3153
3154         * input-scrub.c (input_scrub_push): Reset sb_index.
3155
3156 Mon Oct 30 17:52:46 1995  Ian Lance Taylor  <[email protected]>
3157
3158         * listing.c (listing_newline): Don't create a frag in the absolute
3159         section.
3160
3161 Sat Oct 28 01:02:05 1995  Ian Lance Taylor  <[email protected]>
3162
3163         * config/tc-ppc.c (md_pseudo_table): Add "data" and "text".
3164         (ppc_csect): Move most of the code to ppc_change_csect, and call
3165         it.
3166         (ppc_change_csect): New static function, taken from ppc_csect.
3167         (ppc_section): New static function.
3168         (ppc_saw_abs): New static varable.
3169         (ppc_frob_symbol): Create aux entry for absolute symbols.  Warn if
3170         a symbol has no csect.
3171         (ppc_adjust_symtab): New function.
3172         * config/tc-ppc.h (tc_adjust_symtab): Define if OBJ_XCOFF.
3173         (ppc_adjust_symtab): Declare if OBJ_XCOFF.
3174
3175         * write.c (write_object_file): If tc_adjust_symtab is defined,
3176         call it just before the call to obj_adjust_symtab.
3177
3178         * symbols.c (symbol_find_or_make): Change name to be const.
3179         * symbols.h (symbol_find_or_make): Update declaration.
3180
3181 Thu Oct 26 19:18:27 1995  Ken Raeburn  <[email protected]>
3182
3183         * doc/as.texinfo (Align): Mention SH.
3184         * doc/c-m68k.texi (M68K-Directives, .even): Describe behavior, not
3185         .align value.
3186         * doc/c-z8k.texi (Z8000 Directives, global): Fix minor typo.
3187         (Z8000 Directives, even): Don't give numeric align value, instead
3188         explain behavior.
3189
3190 Thu Oct 26 11:45:03 1995  Richard Earnshaw ([email protected])
3191
3192         * tc-arm.c (do_ldst): Assemble ldr/str r0, [r1] as a pre-increment
3193         instruction.
3194
3195 Wed Oct 25 11:59:24 1995  Per Bothner  <[email protected]>
3196
3197         * Makefile.in (diststuff):  Also make info.
3198         (maintainer-clean realclean):  Also make clean-info.
3199
3200 Tue Oct 24 15:21:33 1995  Jeffrey A Law  ([email protected])
3201
3202         * config/tc-hppa.c (md_pseudo_table): Add new ".nsubspa" opcode.
3203         (pa_subspace): For ".nsubspa", always create a new subspace
3204         with the given attributes, even if one already exists with the
3205         same name.
3206
3207 Tue Oct 24 14:50:38 1995  Michael Meissner  <[email protected]>
3208
3209         * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Rename from
3210         TC_FORCE_RELOCATION, taking an additional section argument.  If
3211         the section of the target symbol is not the same as the current
3212         section, always force the relocation to be used.
3213         (MD_PCREL_FROM_SECTION): New macro to call md_pcrel_from_section.
3214
3215         * config/tc-ppc.c (md_pcrel_from_section): Rename from the
3216         md_pcrel_from function, taking an additional section argument.
3217         Invoke TC_FORCE_RELOCATION_SECTION instead of TC_FORCE_RELOCATION.
3218
3219         * write.c (TC_FORCE_RELOCATION_SECTION): Define in terms of the
3220         older TC_FORCE_RELOCATION if not defined.
3221         (MD_PCREL_FROM_SECTION): If not defined, invoke md_pcrel_from.
3222         (fixup_segment): Use MD_PCREL_FROM_SECTION instead of
3223         md_pcrel_from, and TC_FORCE_RELOCATION_SECTION instead of
3224         TC_FORCE_RELOCATION.
3225         
3226 Mon Oct 23 16:20:04 1995  Ken Raeburn  <[email protected]>
3227
3228         * input-scrub.c (as_where): Set name to null pointer if we don't
3229         have a file name.
3230         * messages.c (identify): Only print filename if non-null.
3231         (as_show_where): Ditto, for line number too.
3232         (as_warn_internal, as_bad_internal): Ditto.
3233
3234         * input-file.c (input_file_open): If the input file can't be
3235         opened, consider it an error.
3236
3237 Mon Oct 23 11:15:44 1995  James G. Smith  <[email protected]>
3238
3239         * config/tc-mips.c: Added mips_4100 control, and support for
3240         accepting the 4100 as a MIPS architecture variant (md_begin,
3241         macro_build, mips_ip, md_parse_option). Adding suitable
3242         command-line OPTIONs, and updating the help text (md_show_usage).
3243         
3244 Wed Oct 18 13:20:32 1995  Ken Raeburn  <[email protected]>
3245
3246         * subsegs.c (subseg_begin): Only set absolute_frchain.fix_* when
3247         BFD_ASSEMBLER is defined.
3248
3249         * Use one active frag and one obstack per frag chain:
3250         * frags.c (frags): Variable deleted.
3251         (frag_alloc): New function.
3252         (frag_grow, frag_more, frag_variant, frag_now_fix,
3253         frag_append_1_char): Refer to frchain_now->frch_obstack instead of
3254         frags variable.
3255         (frag_new): Ditto.  Verify that frch_last and frag_now match on
3256         entry and exit, and that old frag_now has non-zero type.  Replace
3257         "know" uses with "assert".  Use frag_alloc instead of mucking with
3258         obstack alignment.
3259         * frags.h (frags): Declaration deleted.
3260         * subsegs.h (struct frchain): Add new field frch_frag_now.
3261         * subsegs.c (frchains, dummy_frag, absolute_frchain): New static
3262         variables.
3263         (subsegs_begin): Initialize frchains obstack.  Under gcc, don't
3264         give it any stricter alignment than frchainS structures need.  Do
3265         not initialize frags obstack.  Set frag_now to point to
3266         dummy_obstack.  Initialize absolute_frchain.
3267         (subseg_set_rest): Save and restore frag_now in frch_frag_now
3268         field of frchainS.  Don't create new frags on section switch, and
3269         use frag_alloc when creating a new frag chain.  For absolute
3270         section, set frchain_now to absolute_frchain.  Verify that
3271         frch_last and frag_now match on entry and exit.  Initialize
3272         per-chain obstack, and under gcc, set required alignment to that
3273         needed by fragS structure.
3274
3275         * write.c (chain_frchains_together_1): Verify fr_type is nonzero.
3276
3277         * stabs.c (get_stab_string_offset): Only copy input string if a
3278         fresh copy is needed, not if the section already exists.
3279         (s_stab_generic): Cache stab section name to bypass lookups, since
3280         usually it will match.  Could be made faster still by changing the
3281         memory allocation rules.
3282         (s_xstab): Cache section name to bypass repeated string
3283         allocation.
3284
3285         * frags.c (frag_new): Deleted register declarations.
3286
3287         * listing.c (frag_now): Don't declare.
3288
3289         * as.c (chunksize): New variable.
3290         (debug_memory): New variable.
3291         (main): If debug_memory is set, reduce chunksize and
3292         _bfd_chunksize.
3293         * as.h (chunksize): Declare it.
3294         * read.c (read_begin): Use it.
3295
3296         * config/tc-alpha.c (md_shortopts): Include 'g'.
3297         (md_parse_option): Ignore it.
3298
3299         * Makefile.in (distclean): Remove Makefile and config.status from
3300         testsuite directory.
3301         (clean-here): Don't delete testsuite.  Instead, delete only the
3302         files within it that would be generated by running tests.
3303
3304         * config/tc-hppa.c (hppa_elf_mark_end_of_function): Call
3305         frag_now_fix instead of accessing obstack info directly.
3306         * config/tc-arm.c (s_ltorg): Ditto.
3307         (md_assemble): Ditto.
3308
3309         * config/tc-i386.c (md_assemble): Call frag_grow instead of
3310         obstack_room.
3311
3312 Wed Oct 18 12:22:59 1995  Ken Raeburn  <[email protected]>
3313
3314         * stabs.c (aout_process_stab): Insert debug symbol into symbol
3315         chain after parsing value expression, if any, to avoid separating
3316         continued .stabs lines.
3317
3318 Mon Oct 16 10:56:41 1995  Ian Lance Taylor  <[email protected]>
3319
3320         * config/tc-mips.c (mips_elf_pseudo_table): Remove.
3321         (mips_pop_insert): Don't call pop_insert on mips_elf_pseudo_table.
3322
3323 Mon Oct 16 07:07:37 1995  Michael Meissner  <[email protected]>
3324
3325         * config/tc-ppc.c (md_begin): Use new flags PPC_OPCODE_COMMON for
3326         -mcom support and PPC_OPCODE_ANY for -many.
3327         (md_parse_option): Ditto.
3328         (ppc_arch): Ditto.
3329         (md_begin): For duplicate instructions, print all duplicates
3330         before aborting.
3331
3332 Sun Oct 15 22:06:14 1995  Michael Meissner  <[email protected]>
3333
3334         * config/tc-ppc.c (md_parse_option): Support for -mcom to turn on
3335         common mode operation.
3336         (md_show_usage): Add -mcom to usage message.
3337
3338 Fri Oct 13 13:32:45 1995  steve chamberlain  <[email protected]>
3339
3340         * expr.c (op_rank): Add O_symbol_rva.
3341         * expr.h (operatorT): Add O_symbol_rva.
3342         * read.c (cons_worker): Set O_symbol_rva when necessary.
3343         * write.c (fix_new_exp): Understand O_symbol_rva.
3344
3345 Tue Oct 10 11:34:14 1995  Ian Lance Taylor  <[email protected]>
3346
3347         * config/tc-mips.c: Correct s_cons arguments.  From Michael
3348         Joosten <[email protected]>.
3349
3350 Mon Oct  9 19:59:53 1995  Ian Lance Taylor  <[email protected]>
3351
3352         * config/tc-ppc.c (ppc_macro): Make count unsigned.
3353         (ppc_biei): Set segment to now_seg and value to coff_n_line_nos.
3354         (ppc_frob_symbol): Handle C_BINCL and C_EINCL symbols by setting
3355         the fix_line field.
3356         * config/obj-coff.c (coff_n_line_nos): Rename from n_line_nos, and
3357         make non-static.  Change all users.
3358         * config/obj-coff.h (coff_n_line_nos): Declare.
3359
3360 Fri Oct  6 16:24:27 1995  Ken Raeburn  <[email protected]>
3361
3362         Mon Sep 25 22:49:32 1995  Andreas Schwab  <[email protected]>
3363
3364         * configure.in (AC_ARG_WITH(bfd-assembler)): Fix help message.
3365
3366         * config/obj-elf.c (obj_elf_common): Convert specified byte
3367         alignment to power of two.  Set size of local bss symbol.
3368
3369         * config/tc-m68k.c (tc_gen_reloc): Fix typo in variable name.
3370
3371 Fri Oct  6 15:22:25 1995  Ian Lance Taylor  <[email protected]>
3372
3373         * sb.c, macro.c: Decide whether to include <string.h> or
3374         <strings.h> just as as.h does.
3375
3376 Fri Oct  6 09:55:33 1995  Doug Evans  <[email protected]>
3377
3378         * Makefile.in (site.exp): Fix setting of $srcdir.
3379
3380         * config/tc-arm.c (md_atof): Fix little-endian output.
3381         * config/tc-arm.h (ARM_BI_ENDIAN): Move definition so defined for
3382         all coff targets.
3383
3384 Thu Oct  5 20:17:30 1995  Ken Raeburn  <[email protected]>
3385
3386         * doc/as.texinfo: Split out the NS32k family documentation,
3387         despite its being commented out for now.
3388         * doc/c-ns32k.texi: New file.
3389
3390         * sb.c, macro.c: Include string.h.
3391
3392         * Makefile.in (comparison): Only check *.o; we don't care if
3393         timestamps inserted by the native linker differ.
3394
3395         * config/tc-alpha.c (alpha_align): Only fill with a no-op pattern
3396         if alignment stricter than 4 bytes is requested; in that case,
3397         align to a 4-byte boundary first.
3398
3399         Thu Sep 28 19:35:27 1995  Pat Rankin  <[email protected]>
3400
3401         * config/obj-vms.c (VMS_RSYM_Parse): eliminate "might be used
3402         uninitialized" warning for `Max_Source_Offset'.
3403
3404 Wed Oct  4 16:17:02 1995  Kim Knuttila  <[email protected]>
3405
3406         * config/tc-ppc.c (parse_toc_entry): New function to parse [toc]
3407         qualifiers and detect errors if present.
3408         (md_assemble): Add call to parse_toc_entry. Also added some support
3409         for the [tocv] qualifier.
3410         (ppc_pe_tocd): New function to support data in the toc section.
3411
3412 Wed Oct  4 14:03:39 1995  Ian Lance Taylor  <[email protected]>
3413
3414         * config/tc-ppc.c (ppc_frob_symbol): Don't create an aux entry for
3415         an absolute symbol.
3416
3417 Tue Oct  3 12:18:19 1995  Ian Lance Taylor  <[email protected]>
3418
3419         * config/tc-m68k.c (isword): Accept all values from -65536 to
3420         +65535, so ~VAL will not be rejected.
3421
3422         * cond.c (s_endif): Call demand_empty_rest_of_line.  In MRI mode,
3423         skip characters after the pseudo-op.
3424         (s_else): Likewise.
3425         * read.c (get_line_sb): Don't look past buffer_limit.
3426         (s_include): In MRI mode, skip characters after the file name.
3427
3428 Mon Oct  2 16:15:27 1995  Ian Lance Taylor  <[email protected]>
3429
3430         * config/m68k-parse.y (m68k_reg_parse): In MRI mode, permit
3431         periods in register names.
3432
3433 For older changes see ChangeLog.1.
This page took 0.228247 seconds and 4 git commands to generate.