-
Notifications
You must be signed in to change notification settings - Fork 7
/
ChangeLog-9697
5972 lines (4337 loc) · 212 KB
/
ChangeLog-9697
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Wed Dec 31 12:29:47 1997 Jeffrey A Law (law@cygnus.com)
* config/tc-mn10200.c (md_relax_table): Correct branch ranges.
Mon Dec 22 13:06:05 1997 Joel Sherrill <joel@oarcorp.com>
* configure.in (i386*-go32-rtems*): Fix to be the same as
i[3456]86-go32.
* configure: Rebuild.
Mon Dec 22 12:54:07 1997 Ian Lance Taylor <ian@cygnus.com>
* config/tc-mips.c (macro): The 4650 doesn't permit M_LDC1_AB,
M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB, or M_S_DOB.
(mips_ip): Always check for FP_D, not just for instructions that
are not part of the regular ISA.
Thu Dec 18 16:49:28 1997 Richard Henderson <rth@cygnus.com>
* config/tc-d10v.c (build_insn): Make `number' a long for 64-bit hosts.
Thu Dec 18 16:42:57 1997 Richard Henderson <rth@cygnus.com>
* config/tc-alpha.c (cpu_types): 21164pc/pca56 does not have CIX.
Wed Dec 17 21:23:07 1997 Jeffrey A Law (law@cygnus.com)
* expr.c (integer_constant 32bit bignum): Mask off bits outside
the range we care about.
Wed Dec 17 15:29:03 1997 Michael Meissner <meissner@cygnus.com>
* config/tc-d30v.c (md_shortopts): Add 'n' and 'N' options.
(exec_type_enum): Enumeration giving all of the exec types.
(warn_nops): New static variable to give nop warning level.
({cur,prev}_mul32_p): New static variable to keep track of whether
the current/previous instruction is a 32-bit multiply.
(Optimizing): Make static.
(NOP{2,_LEFT,_RIGHT}): Macros for word of nops and left/right
nops.
(d30v_insert_operand): Delete declaration of unused function.
(write_2_short): Make exec_type argument enum, not int.
(parallel_ok): Ditto.
(check_range): Delete unused variable(s).
(build_insn): Ditto.
(find_format): Ditto.
(md_apply_fix3): Ditto.
(md_show_usage): Document -n and -N.
(md_parse_option): Parse -n and -N.
(write_1_short): If -n, warn about adding a nop. Use
NOP_{LEFT,RIGHT}.
(write_2_short): Use enumeration values instead of hard coded
integers. Reset exec_type for default operations. For explicit
parallel operations, call parallel_ok to make sure everything is
ok. If writing out a parallel operation, and the previous
instruction was a 32-bit multiply, indicate current instruction
is.
(parallel_ok): Allow add/tx ... to be done in parallel with
another add/tx ... assuming the gpr registers don't overlap.
(md_assemble): Use exec type enumeration values, not hard coded
ints. Check for loads or 16-bit multiplies following in the next
cycle after a 32-bit multiply. Add nops if that is the case.
(do_assemble): Copy prev_mul32_p to cur_mul32_p, and set
cur_mul32_p if current instruction is a 32-bit multiply.
(find_format): Change spacing and layout.
Tue Dec 16 16:55:45 1997 Fred Fish <fnf@cygnus.com>
* config/tc-tic80.c (tic80_relax): New static variable.
(md_longopts): Add new OPTION_RELAX and OPTION_NO_RELAX options.
(md_parse_option): Handle new relax options.
(md_show_usage): Document new relax options.
(find_opcode): Don't use short forms of PC relative branches if
tic80_relax is set.
Tue Dec 16 15:26:03 1997 Michael Meissner <meissner@cygnus.com>
* config/tc-d30v.c (parallel_ok): Remove non-register bits from
used/set flag fields. Make flag vars unsigned long. Use
FLAG_A{0,1} for accumulators. Allow any 2 insns to be done in
parallel if they use the same conditional flag with reversed
meaning. Allow 2 add/sub insns that set the carry or overflow
flags but do not query them to be done in parallel. Don't allow 2
word store operations to be done in parallel with ADDppp or
SUBppp. Don't allow loads to be done in parallel with 16 bit
multiplies.
Tue Dec 16 09:20:43 1997 Nick Clifton <nickc@cygnus.com>
* config/tc-arm.c: Prevent use of interworking support for
non-COFF targets.
Mon Dec 15 15:20:32 1997 Nick Clifton <nickc@cygnus.com>
* doc/all.texi: Add M32R cpu.
* doc/as.texinfo: Add documentation of m32r processor.
* doc/c-m32r.texi: New file, documenting m32r specific features.
Mon Dec 15 10:32:28 1997 Jeffrey A Law (law@cygnus.com)
* config/tc-mips.c (mips_ip): Correctly insert 'P' operands into
the instruction.
Fri Dec 12 11:44:20 1997 Fred Fish <fnf@cygnus.com>
* config/tc-tic80.c (build_insn): Handle instructions that have
long (32 bit) PC relative offsets. Fix places that previously
misused R_MPPCR for 15 bit offsets to use the new R_MPPCR15W type.
(md_apply_fix): Add case to handle long PC relative offsets.
Fri Dec 12 10:35:01 1997 Nick Clifton <nickc@cygnus.com>
* doc/c-arm.texi (ARM Options): Document support for new ARM
processor names.
* config/tc-arm.c (md_parse_option): Add support for new ARM
processor names.
Thu Dec 11 17:46:50 1997 Richard Henderson <rth@cygnus.com>
* config/tc-m68k.c (m68k_ip): Don't overwrite opcode table data.
(insop, m68k_ip): Make `opcode' const so it doesn't happen again.
Fri Dec 5 11:23:59 1997 Nick Clifton <nickc@cygnus.com>
* config/tc-v850.c (md_assemble): Fix BFD_RELOC_32 against a
symbol + offset.
* config/tc-v850.h (ELF_TC_SPECIAL_SECTIONS): Use
SHT_V850_{S|T|Z}COMMON to mark special common sections.
Tue Dec 2 17:05:13 1997 Nick Clifton <nickc@cygnus.com>
* config/tc-v850.c: Brought up to date with the branch.
Mon Dec 1 20:24:18 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
* config/tc-sh.c (SWITCH_TABLE_CONS): Handle (fix)->fx_size == 1.
(SWITCH_TABLE): Handle BFD_RELOC_8.
(md_apply_fix): #ifndef BFD_ASSEMBLER code: Handle fixP->fx_size == 1.
(coff_reloc_map): Add BFD_RELOC_8_PCREL entry.
(sh_coff_reloc_mangle): SWITCH_TABLE case: Handle BFD_RELOC_8.
Sat Nov 22 16:19:22 1997 Richard Henderson <rth@cygnus.com>
* config/tc-alpha.c (range_signed_16, range_signed_32): Work around an
apparent bug in gcc's long long support crossing from x86.
Sat Nov 22 14:26:09 1997 Nick Clifton <nickc@cygnus.com>
* config/tc-arm.c: Brought up to date with latest changes on arm
branch.
Sat Nov 22 15:50:09 1997 Klaus Kaempf <kkaempf@progis.de>
* config-gas.com: Get version info from configure.in.
* makefile.vms: include depend.obj in OBJS.
* config/tc-alpha.c (s_alpha_section): Remove ".lcomm" handling.
* config/tc-alpha.c (alpha_basereg_clobbered): Remove variable and
all corresponding code.
Thu Nov 20 15:06:08 1997 Richard Earnshaw <rearnsha@arm.com>
* config/tc-arm.h (TARGET_FORMAT for generic a.out targets): Allow
run-time endian selection.
Wed Nov 19 17:44:42 1997 Richard Henderson <rth@cygnus.com>
* config/tc-sh.c (parse_reg): Properly quote for fv4.
Wed Nov 19 23:46:18 1997 Ian Lance Taylor <ian@cygnus.com>
* symbols.c (resolve_symbol_value): Add missing breaks in case on
symbol value operator.
Tue Nov 18 18:45:14 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
* config/tc-d10v.c (parallel_ok, find_opcode):
Split OPERAND_FLAG into OPERAND_FFLAG and OPERAND_CFLAG.
Sun Nov 16 10:05:07 1997 Fred Fish <fnf@cygnus.com>
* config/obj-coff.c (fixup_segment): Cast second arg of
md_apply_fix3 call to type "valueT *".
Thu Nov 13 13:53:10 1997 Andrew Cagney <cagney@b1.cygnus.com>
* configure.in (emulations): Make FreeBSD an aout / i386bsd
variant.
* configure: Re-generate.
Thu Nov 13 11:07:14 1997 Gavin Koch <gavin@cygnus.com>
* config/tc-mips.c (macro_build): Use the membership field
for INSN_MACRO's.
(mips_ip): Same.
Thu Nov 13 02:04:55 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
* config/tc-d10v.c (find_opcode): For OPCODE_FAKE, add check for
first argument if it's supposed to be a register.
Tue Nov 11 19:25:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
* app.c (do_scrub_chars): If d10v, re-insert a space before
a '#' when in state 10.
Tue Nov 11 13:33:15 1997 Ian Lance Taylor <ian@cygnus.com>
* config/tc-h8300.c: Include "subsegs.h".
(tc_reloc_mangle): Handle references to symbols which are not
being output, so that references to `.' work.
Mon Nov 10 13:43:33 1997 Ian Lance Taylor <ian@cygnus.com>
* config/tc-m68k.c (m68k_ip): Call add_fix when needed for '_'
case.
* macro.c (sub_actual): If we don't find a parameter for an &,
just substitute &.
Fri Nov 7 21:29:32 1997 Ken Raeburn <raeburn@cygnus.com>
* config/tc-mips.c (mips_ip): In default case, call as_bad
instead of fprintf, to get "assembler messages:" message output
before instead of after.
Fri Nov 7 10:36:22 1997 Doug Evans <devans@canuck.cygnus.com>
* frags.h: Handle multiple inclusion.
Wed Nov 5 10:51:49 1997 Doug Evans <devans@canuck.cygnus.com>
Based on a patch from Ian.Dall@dsto.defence.gov.au.
* as.h (struct frag, frag support): Moved from here.
* frags.h: To here.
(struct frag, member tc_frag_data): New member if TC_FRAG_TYPE
is defined.
(struct frag, member fr_cgen): Renamed from fr_targ.cgen.
* cgen.c (cgen_asm_finish_insn): Update.
* config/tc-m32r.c (md_estimate_size_before_relax): Update.
* config/tc-m32r.h (TC_FRAG_INIT): Renamed from md_init_frag.
(md_convert_frag): Ditto.
* config/tc-ns32k.h (TC_FRAG_TYPE): Define.
(frag_opcode_frag,frag_opcode_offset,frag_bsr): Update.
(TC_FRAG_INIT): Update.
Tue Nov 4 16:35:57 1997 Ian Dall <Ian.Dall@dsto.defence.gov.au>
* write.c (print_fixup): Use TC_FIX_DATA_PRINT (if defined) to
print out MD fields of fix.
* frags.c (frag_var, frag_variant): Use TC_FRAG_INIT macro (if
defined) to initialize MD fields in frag.
* as.h (struct frag, ns32k support): Rename ns32k to fr_ns32k.
Delete pcrel_adjust. Add fr_opcode_fragP, fr_opcode_offset.
* config/tc-ns32k.h: Add comments. Remove obsolete
BFD_FAST_SECTION_FILL definition, change prototypes for
fix_new_ns32k and fix_new_ns32k_exp to add new arguments
opcode_frag and opcode_offset and remove pcrel_adjust.
(TC_FIX_TYPE): add opcode_fragP and opcode_offset fields.
(TC_FIX_DATA_PRINT): new macro to print out TC_FIX_TYPE.
(TC_FRAG_INIT): new macro to initialize machine dependent field in
frags.
(frag_opcode_frag, frag_opcode_offset, frag_bsr): macros to access
MD fields in frag structure.
(fix_im_disp, fix_bit_fixP, fix_opcode_frag, fix_opcode_offset,
fix_bsr): macros to access MD fields in fix structure.
* config/tc-ns32k.c: Avoid overlength lines. Align comments. Don't
use struct opcode_location as these fields are now in the frag
structure.
(convert_iif): Call frag_more as it is needed instead
of trying to allocate for the whole insn. Avoid call of frag_more
with negative argument.
(md_pcrel_adjust, md_fix_pcrel_adjust, md_apply_fix,
md_estimate_size_before_relax, md_pcrel_from,
tc_aout_fix_to_chars): use accessor macros to get md fields in fix
and frag structures.
(fix_new_ns32k, fix_new_ns32k_exp): add new arguments opcode_frag and
opcode_offset and remove pcrel_adjust.
(convert_iif, cons_fix_new_ns32k): call fix_new_ns32k,
fix_new_ns32k_exp with changed arguments.
Mon Nov 3 13:30:17 1997 Gavin Koch <gavin@cygnus.com>
* config/tc-mips.c (md_begin): Reorganize setting of default values so
that mips_cpu depends on TARGET_CPU, and mips_opts.isa depends on
mips_cpu.
(md_parse_option): Remove all code that sets defaults; md_begin
handles all of this now.
Sun Nov 2 14:46:09 1997 Ian Lance Taylor <ian@cygnus.com>
* Makefile.am (STAGESTUFF): Change bin_PROGRAMS to
noinst_PROGRAMS.
(bootstrap, bootstrap2, bootstrap3): Likewise.
* Makefile.in: Rebuild.
* config/tc-ppc.c (ppc_fix_adjustable): Don't adjust relocs in the
TOC section to be against the csect.
Fri Oct 31 18:19:55 1997 Ken Raeburn <raeburn@cygnus.com>
* config/tc-mips.c (validate_mips_insn): New function, checks
match versus mask bits, and also verifies that all bits to be
output are actually specified somewhere.
(md_begin): Call it for 32-bit instructions, instead of doing
match/mask check here. In case of failure, print a message, but
check the rest of the opcode table before exiting.
Thu Oct 30 13:46:20 1997 Nick Clifton <nickc@cygnus.com>
* config/tc-arm.c (md_apply_fix3): Fix thumb ADR pseudo op. Patch
from Tony Thompson at ARM: athompso@arm.com
Thu Oct 30 11:11:26 1997 Michael Meissner <meissner@cygnus.com>
* config/tc-d30v.c (build_insn): Allow odd registers for ld2w and
friends.
Fri Oct 24 15:56:47 1997 Ian Lance Taylor <ian@cygnus.com>
* config/tc-ppc.c (md_assemble): When handling @l, always sign
extend if the operand expects a signed value.
* config/tc-mips.h (LOCAL_LABELS_DOLLAR): Don't define; use
default which is to permit dollar labels.
Fri Oct 24 11:19:22 1997 Jakub Jelinek <jj@sunsite.mff.cuni.cz>
* config/tc-sparc.c (sparc_memory_model): New variable.
(md_longopts): Add -TSO/-PSO/-RMO options.
(md_parse_options): Handle them.
(sparc_elf_final_processing): For 64 ELF, set required
memory ordering in e_flags. Default to RMO and let the user
override it through command line.
* config/tc-sparc.h (elf_tc_final_processing): Add.
Wed Oct 22 17:42:12 1997 Richard Henderson <rth@cygnus.com>
* config/tc-sparc.c (v9a_asr_table): New variable.
(sparc_ip): Handle v9a asr's.
Patch from David Miller <davem@vger.rutgers.edu>.
Wed Oct 22 17:22:59 1997 Richard Henderson <rth@cygnus.com>
* config/tc-sparc.h (md_do_align): New macro.
* config/tc-sparc.c (sparc_handle_align): Handle rs_align_code.
Patch from Jakub Jelinek <jj@sunsite.mff.cuni.cz>.
Wed Oct 22 12:51:18 1997 Ian Lance Taylor <ian@cygnus.com>
* config/tc-sh.c (sh_small): New variable.
(OPTION_SMALL): Define.
(md_longopts): Add "small".
(md_parse_option): Handle OPTION_SMALL.
(md_show_usage): Mention -small.
* config/tc-sh.h (sh_small): Declare.
(SUB_SEGMENT_ALIGN): Handle sh_small.
* config/obj-coff.h (TARGET_FORMAT): Check sh_small in TC_SH
case.
* config/tc-mips.c (macro): Correct handling of constant in M_LI_D
case in little endian mode.
Tue Oct 21 10:20:11 1997 Doug Evans <devans@canuck.cygnus.com>
* config/tc-sparc.c (md_apply_fix3, cases ..._H44, ..._HIX22): Leave
overflow signalling to linker.
Mon Oct 20 14:54:06 1997 Klaus K"ampf <kkaempf@progis.de>
* makefile.vms: Fix for dec c.
* config-gas.com: Give explanation for dec c setup in error
message.
* config/tc-alpha.c (s_alpha_comm): Make .comm symbols separate
sections on openvms/alpha.
* config/obj-evax.c: support .weak pseudo-op
Mon Oct 20 10:13:32 1997 Doug Evans <devans@canuck.cygnus.com>
* config/tc-sparc.c (default_arch_size): New static local.
(struct sparc_arch): Rename arch_size to default_arch_size.
New member user_option_p.
(sparc_arch_table): Always include v9, v9a. New entry v9-64.
(init_default_arch): Check whether default arch is valid.
Set default_arch_size in addition to sparc_arch_size.
(OPTION_32,OPTION_64): Define.
(md_longopts): New entries for -32, -64.
(md_parse_option): Handle them.
(md_show_usage): Print them. Ensure init_default_arch called.
* configure.in (sparc64): Set arch to v9-64.
* configure: Regenerated.
Sun Oct 19 13:50:50 1997 Ian Lance Taylor <ian@cygnus.com>
* write.c (subsegs_finish): New function, broken out of
write_object_file.
(write_object_file): Some code moves into subsegs_finish.
* write.c (subsegs_finish): Declare.
* as.c (main): Call subsegs_finish.
* read.c (s_include): Check for error return from
demand_copy_string.
Tue Oct 14 20:50:58 1997 Richard Henderson <rth@cygnus.com>
* read.c (get_line_sb): Accept any eol marker while scanning macros.
Tue Oct 14 19:12:45 1997 Richard Henderson <rth@cygnus.com>
* config/tc-alpha.h (DIFF_EXPR_OK): Define.
* config/tc-i386.h (DIFF_EXPR_OK): Define.
* config/tc-alpha.c (md_apply_fix): Notice fx_pcrel and substitute
the correct relocation when it exists.
* config/tc-i386.c (md_apply_fix3): Likewise.
* config/tc-ppc.h: Correct typo in comment.
* config/tc-v850.h: Likewise.
Fri Oct 10 16:09:35 1997 Andrew Cagney <cagney@b1.cygnus.com>
* config/tc-d10v.c (parallel_ok): Allow parallel instruction issue
when second instruction is writing to first instructions inputs.
Mon Oct 13 15:27:17 1997 Richard Henderson <rth@cygnus.com>
* ecoff.c (PAGE_SIZE): Double to 8k as a hack to allow some C++
templated programs to build with -g.
Fri Oct 10 17:48:29 1997 Nick Clifton <nickc@cygnus.com>
* config/tc-v850.c (md_relax_table): Add support for relaxing
unconditional branches. This patch is courtesy of Jim Wilson.
(md_convert_frag): Fix relaxing of branches. This patch is
courtesy of Jim Wilson.
(md_assemble): Create different fixups for conditional and
unconditional branches. This patch is courtesy of Jim Wilson.
(md_estimate_size_before_relax): Estimate size of variable part of
fixup based on whether it is for a conditional or an unconditional
branch. This patch is courtesy of Jim Wilson.
(v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss,
v850_zbss, v850_rosdata, v850_rozdata, v850_bss): Add call to
obj_elf_section_change_hook().
(v850_comm): New function.
(md_pseudo_table): Add new pseudo ops .zcomm, .scomm and .tcomm.
(md_begin): Add bss flag to seg_info of bss sections.
Add support for .scommon, .tcommon and .zcommon sections.
* config/tc-v850.h (ELF_TC_SPECIAL_SECTIONS): Add .scommon,
.zcommon, .tbss, .call_table_data and .call_table_text.
Fri Oct 10 15:01:14 1997 Doug Evans <dje@canuck.cygnus.com>
* configure.in (sparc): Set DEFAULT_ARCH from correct target.
* configure: Regenerated.
Fri Oct 10 11:22:45 1997 Martin M. Hunt <hunt@cygnus.com>
* config/tc-d10v.c: Fixes to make sure the AT_WORD
expression is not confused with -1.
Fri Oct 10 11:54:50 1997 Andrew Cagney <cagney@b1.cygnus.com>
* config/tc-d10v.c (parallel_ok): Flag SP as modified for @-sp
operand - OPERAND_ATMINUS.
Fri Oct 10 00:47:44 1997 Michael Meissner <meissner@cygnus.com>
* config/tc-d10v.c (parallel_ok): Note that auto increment and
decrement modify the index register.
Thu Oct 9 15:17:50 1997 Ian Lance Taylor <ian@cygnus.com>
From Robin Kirkham <Robin.Kirkham@mlb.dmt.csiro.au>:
* config/tc-m68k.c (archs): Add 68306, 68307, 68322, 68356, 68334,
68336, 68341, 68349.
* doc/c-m68k.texi (M68K-Opts): Add -m68ec000 -m68hc000 -m68hc001
-m68306, -m68307, -m68322, -m68356, -m68ec020, -m68ec030,
-m68ec040, -m68ec060, -m68330, -m68334, -m68336, -m68341,
-m68349.
* doc/Makefile.am (CPU_DOCS): Define.
(as.info): Depend upon $(CPU_DOCS).
* doc/Makefile.in: Rebuild.
* configure.in: Remove AM_PROG_INSTALL; it's called by
AM_INIT_AUTOMAKE.
* configure: Rebuild.
Thu Oct 9 01:44:36 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
* config/tc-d10v.h (TC_START_LABEL): Don't define.
(tc_frob_label): Define.
Thu Oct 9 00:07:23 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
* config/tc-d10v.c (write_2_short): Fix bug that wouldn't allow
to pair a branch and link with anything but an exe instruction.
Wed Oct 8 16:28:53 1997 Richard Henderson <rth@cygnus.com>
* config/tc-alpha.c (load_expression): Disable the sym+const .got
optimization to reduce the alignment surprises for gcc.
Wed Oct 8 16:11:15 1997 Doug Evans <dje@canuck.cygnus.com>
* config/obj-coff.h (TC_SPARC): Don't define TARGET_FORMAT.
* config/tc-sparc.c (sparc_target_format): Handle coff here.
(sparc_ip): Add %hix,%lox.
(md_apply_fix3): Call as_bad_where, not as_bad.
Add support for BFD_RELOC_SPARC_{HIX22,LOX10}.
(tc_gen_reloc): Add support for BFD_RELOC_SPARC_{HIX22,LOX10}.
Wed Oct 8 12:33:32 1997 Richard Henderson <rth@cygnus.com>
* configure.in: Change alpha-*-* to alpha*-*-*; config.guess now
recognizes alphaev5 etc.
* configure: Rebuild.
Wed Oct 8 00:04:05 1997 Gavin Koch <gavin@cygnus.com>
* config/tc-mips.c (md_begin): Replace the TARGET_CPU value
of mipsr3900 with mipstx39.
* config/tc-mips.c (mips_ip): Don't print the 'opcode requires
-mipsXX message' if the insn isn't an ISA insn.
Tue Oct 7 12:48:30 1997 Doug Evans <dje@canuck.cygnus.com>
* config/tc-sparc.h (TARGET_FORMAT support): Moved to tc-sparc.c.
Redefine TARGET_FORMAT to call sparc_target_format.
* config/tc-sparc.c (in_unsigned_range): New function.
(sparc_arch_size): Make static.
(sparc_target_format): New function.
(sparc_ip): Delete variable immediate_max. Rewrite %hi/etc reloc
handling. Add support for %hh,%hm,%lm,%h44,%m44,%l44.
(output_insn): Set `fx_no_overflow'.
(md_apply_fix3): Handle BFD_RELOC_SPARC_{7,H44,M44,L44}.
(tc_gen_reloc): Likewise.
Mon Oct 6 14:04:50 1997 Nick Clifton <nickc@cygnus.com>
* config/tc-v850.c (v850_section): Remove.
* config/obj-elf.c (obj_elf_section): Enhance error message.
Fri Oct 3 15:40:38 1997 Ian Lance Taylor <ian@cygnus.com>
* config/tc-mips.c: Undef OBJ_COPY_SYMBOL_ATTRIBUTES before
including obj-elf.h in OBJ_MAYBE_ELF case.
(mips_target_format): Return NULL after abort to avoid warning.
* ecoff.c (generate_ecoff_stab): Remove unused static function.
* expr.c (operator): Accept ==. From Anders Blomdell
<anders.blomdell@control.lth.se>.
* config/atof-ieee.c (gen_to_words): When generating a denormal
number, handle an overflow into the smallest normalized number.
Mon Sep 29 15:24:52 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
* as.h, input-scrub.c (new_logical_line): New return value.
* read.c (s_app_file): Don't note the same file several times
in a row.
Thu Sep 25 13:08:02 1997 Ian Lance Taylor <ian@cygnus.com>
* config/tc-m68k.c (m68k_ip): Remove ` operand specifier.
Wed Sep 24 16:54:40 1997 Joel Sherrill <joel@oarcorp.com>
* configure.in (sh*-*-rtems*): New target, like sh-*-elf*.
* configure: Rebuild.
Wed Sep 24 11:30:25 1997 Ian Lance Taylor <ian@cygnus.com>
* config/tc-m68k.c (m68k_ip): Handle q and v operand specifiers.
* doc/c-i386.texi (i386-Float): Remove incorrect assertion that
fn* instructions do not insert implicit fwait. This was changed
Jan 29, 1996.
* config/m68k-parse.y (yylex): Permit an expression to be used for
the scale factor.
* Makefile.am (EXTRA_as_new_SOURCES): Set to config/m68k-parse.y,
not m68k-parse.y.
* Makefile.in: Rebuild.
* aclocal.m4: Rebuild with new libtool.
* configure: Rebuild.
Tue Sep 23 17:48:09 1997 Ian Lance Taylor <ian@cygnus.com>
* app.c (do_scrub_chars): Clear mri_state at end of .mri
pseudo-op.
* config/tc-mips.c (hilo_interlocks): Change from a static
variable to a macro, so that it varies with the variables upon
which it depends.
(gpr_interlocks, cop_interlocks): Likewise.
(md_begin): Don't initialize them.
Fri Sep 19 17:08:41 1997 Jeffrey A Law (law@cygnus.com)
* config/tc-mn10300.c (md_assemble): Use strcasecomp instead
of strcmp where appropriate.
Thu Sep 18 14:11:56 1997 Nick Clifton <nickc@cygnus.com>
* config/tc-v850.c (md_assemble): Cope with a zero data area
relocation with a constant offset.
(md_assemble): Produce error message when special data area
relocations are used on instructions which do not support them.
(md_assemble): Reset processor mask if defined by command line
switch.
Thu Sep 18 11:24:01 1997 Doug Evans <dje@canuck.cygnus.com>
* config/tc-sparc.c: Reorganize file.
(parse_keyword_arg): Allow numbers in reg names.
(SPECIAL_CASE_NONE): New macro.
(md_assemble): Use it.
(lookup_arch,init_default_arch): New functions.
(default_arch,default_init_p,sparc_arch_table): New static locals.
(sparc_arch_size): New static local.
(max_architecture): Initialize in init_default_arch.
(md_parse_options): Call init_default_arch if necessary.
Rewrite -xarch/-A processing.
(md_show_usage): Print -A values from sparc_arch_table.
(md_begin): Call init_default_arch if necessary.
(sparc_md_end): Handle both 32 and 64 bit environments.
* config/tc-sparc.h (TARGET_FORMAT): Likewise.
* acconfig.h (SPARC_V9,SPARC_ARCH64): Delete.
(DEFAULT_ARCH): Add.
* config.in: Regenerate.
* configure.in (sparc): Default DEFAULT_ARCH based on target cpu.
(SPARC_V9,SPARC_ARCH64): Delete.
* configure: Regenerate.
* config/vms-conf.h (SPARC_V9,SPARC_ARCH64): Delete.
Wed Sep 17 16:54:20 1997 Nick Clifton <nickc@cygnus.com>
* config/tc-v850.c (v850_reloc_prefix): Recoded to use CHECK_ ()
macro.
(handle_tdaoff, handle_zdaoff, handle_sdaoff): New functions.
* config/tc-v850.c (md_assemble): Corrected typo.
* config/tc-v850.c Add new sections: call_table_data and
call_table_text.
(v850_reloc_prefix): Add support for ctoff() relocation prefix.
(handle_ctoff): New Function.
* doc/c-v850.texi (V850 Opcodes): Document call table relocations.
Tue Sep 16 14:18:22 1997 Nick Clifton <nickc@cygnus.com>
* config/tc-v850.c (v850_reloc_prefix): Add support for a 16 bit
displacement from the tiny data area pointer.
Mon Sep 15 21:28:09 1997 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (fix_new_hppa): Make declaration match
definition.
Mon Sep 15 18:33:06 1997 Nick Clifton <nickc@cygnus.com>
* config/tc-v850.c (processor_mask): New variable.
(set_machine, md_parse_option): Set processor_mask.
(md_assemble): Check that instruction is available to target
processor.
* config/tc-v850.h (TARGET_PROCESSOR): New constant.
Mon Sep 15 11:28:04 1997 Ken Raeburn <raeburn@cygnus.com>
Merge in work from Martin Hunt:
* config/tc-d30v.c (build_insn): For mvfsys and mvtsys,
CR is 0 for PSWL and PSWH.
* config/tc-d30v.c (do_assemble): Don't accept
illegal condition codes for cmpu instruction.
* config/tc-d30v.c: Add support for BFD_RELOC_D30V_9_PCREL
used in d*i instructions.
* config/tc-d30v.c (check_size): New function. Check
relocations for overflows.
(md_pcrel_from_section): Fix relocations between sections.
(md_apply_fix3): Use new relocation types for 15 and 21
bit relocations in the right container. Needed because
the address of the instruction is not eight-byte aligned
but the relocations must be.
* config/tc-d30v.c (md_apply_fix3): Check for overflow.
(find_format): If ".s" or ".l" are used, don't try
to compute branch sizes.
* config/tc-d30v.c (do_assemble): Check for ".s" or
".l" extensions to opcode names.
(find_format): Generate the correct instructions when
".s" or ".l" are used.
* config/tc-d30v.c (build_insn): Check for odd registers
on instructions that require even registers.
* config/tc-d30v.h (md_start_line_hook): Define.
* config/tc-d30v.c (md_start_line_hook): New hook.
Checks the beginning of each line for a ".". If it
finds one, assume a pseudo-op and flush any unwritten
instructions.
* config/tc-d30v.c (md_apply_fix3): Fix problem
with determining when fixups were done.
* config/tc-d30v.c (build_insn): Fix bug where the numeric
part of a symbol (for example, "foo+8") was being written
into the instruction.
(md_pseudo_table): Change .word to be 32 bits and add
.hword as 16 bits.
* config/tc-d30v.c (parallel_ok): Check to see if first
instruction is a jump.
* config/tc-d30v.c (parallel_ok): Major code reorganization.
Wed Sep 10 10:07:08 1997 Nick Clifton <nickc@cygnus.com>
* config/tc-v850.c (md_assemble): Corrected spelling mistake.
* configure.in (emulations): Add v850 emulation.
Tue Sep 9 17:14:33 1997 Doug Evans <dje@canuck.cygnus.com>
* Makefile.am (CPU_TYPES): Add arc.
(TARGET_CPU_CFILES): Add tc-arc.c.
(TARGET_CPU_HFILES): Add tc-arc.h.
(dependencies): Rebuild.
* Makefile.in: Rebuild.
* configure.in: Recognize arc-*-elf*.
* configure: Regenerated.
* config/tc-arc.[ch]: New files.
Tue Sep 9 10:19:37 1997 Nick Clifton <nickc@cygnus.com>
* doc/c-v850.texi (V850 Opcodes): Document hi0() reloc prefix.
Correct description of hi() reloc prefix.
* doc/c-v850.texi (V850 Opcodes): Document new reloc prefix.
* config/tc-v850.c (v850_reloc_prefix): Add hilo() reloc prefix.
* config/tc-v850.c (md_assemble): Add support for BFD_RELOC_32.
* doc/c-v850.texi: Document new pseudo ops and command line
options.
* config/tc-v850.c (set_machine): New function.
* config/tc-v850.c (.v850): New pseudo op.
* config/tc-v850.c (.v850e): New pseudo op.
* config/tc-v850.c (.v850ea): New pseudo op.
Mon Sep 8 23:08:04 1997 Ian Lance Taylor <ian@cygnus.com>
Support -alh and -ald for DWARF 1:
* listing.c (struct list_info_struct): Add debugging field.
(listing_newline): Initialize the debugging field. If ELF, if the
section starts with .debug or .line, set the debugging field in
the listing structure.
(debugging_pseudo): Add list parameter. Change all callers. If
the debugging field is set, consider it to be a debugging pseudo.
If ELF, skip blank lines between debugging lines.
* read.c (emit_expr): If ELF, look for line numbers.
(stringer): If ELF, look for file names.
Mon Sep 8 12:33:40 1997 Nick Clifton <nickc@cygnus.com>
* config/tc-v850.c (v850_insert_operand): Only test for overflow
if there is no insert function.
* config/tc-v850.h (TARGET_MACHINE): New constant.
* config/tc-v850.c (v850_insert_operand): Add
-mwarn_unsigned_overflow.
(md_begin): Set BFD machine number based on machine variable.
(md_parse_option): Add -mv850, -mv850e and -mv850ea options.
Mon Sep 8 11:20:46 1997 Ian Lance Taylor <ian@cygnus.com>
* as.h: Don't declare alloca if it is a macro.
* macro.c: Likewise.
Sun Sep 7 00:30:19 1997 Richard Henderson <rth@cygnus.com>
* config/tc-alpha.c (md_parse_option): Move m[] out to top level and
rename to cpu_types[].
(s_alpha_arch): New function.
(md_pseudo_table): Add "arch".
* config/tc-alpha.c (md_begin): Merge the two loops through the
opcode table.
(s_alpha_proc): Add initial SKIP_WHITESPACE.
(s_alpha_set): Likewise. Use get_symbol_end instead local while loop.
Sat Sep 6 19:38:12 1997 Fred Fish <fnf@cygnus.com>
* read.h (s_lcomm_bytes): Add prototype (for real this time).
Thu Sep 4 12:10:01 1997 Ian Lance Taylor <ian@cygnus.com>
* config/obj-elf.c (elf_frob_symbol): Only set BSF_OBJECT for
symbols on Irix.
Wed Sep 3 11:21:33 1997 Nick Clifton <nickc@cygnus.com>
* config/tc-v850.c: Remove BFD_RELOC_V850_16_PCREL.
Tue Sep 2 18:32:30 1997 Jeffrey A Law (law@cygnus.com)
* config/tc-mn10200.c (md_convert_frag): PC relative instructions arex
relative to the next instruction, not the current instruction.
(md_assemble): Similarly.
Tue Sep 2 15:58:52 1997 Nick Clifton <nickc@cygnus.com>
* doc/c-v850.texi: Explanations of offsets in SDA/ZDA areas
correcetd.
* config/tc-v850.c: Add support for SDA/TDA/ZDA sections.
(v850_reloc_prefix): Duplicate code eliminated. Add code to
recognise special instructions.
(md_assemble): Calculation of the size of a fixups corrected.
* config/tc-v850.h (ELF_TC_SPECIAL_SECTIONS): Add SDA/TDA/ZDA
sections.
Tue Sep 2 15:40:56 1997 Andrew Cagney <cagney@b1.cygnus.com>
* config/tc-v850.c (md_assemble): Use opcode->name instead of
opcode->opcode as the sentinal. Zero is a valid opcode.
Tue Aug 26 16:51:14 1997 Ian Lance Taylor <ian@cygnus.com>
* doc/as.texinfo (Machine Dependencies): Add v850 to menu.
* doc/c-v850.texi: Change node name to match other chapter nodes.
Tue Aug 26 09:46:22 1997 Nick Clifton <nickc@cygnus.com>
* doc/c-v850.texi (V850 Opcodes): Correct name for tiny data area
pointer.
Tue Aug 26 12:23:25 1997 Ian Lance Taylor <ian@cygnus.com>
* expr.c (integer_constant): If BFD64, don't make a bignum if the
number will fit in 64 bits.
* config/tc-alpha.c (load_expression): Check explicitly for O_big,
rather than calling abort.
* as.h: Don't define alloca if __GNUC__. Just declare it.
* macro.c: Copy alloca handling from as.h.
* config/tc-i386.c (i386_align_code): Correct 16 bit noops. From
Gabriel Paubert <paubert@iram.es>.
* config/tc-i386.c (md_assemble): In JumpByte case, when looking
for a WORD_PREFIX_OPCODE, change it to ADDR_PREFIX_OPCODE if this
is jcxz or a loop instruction.
Mon Aug 25 16:04:14 1997 Nick Clifton <nickc@cygnus.com>
* config/tc-v850.c (pre_defined_registers): Add 'hp' as alias for
r2.
(md_begin): Set up machine architecture and type.
Mon Aug 25 14:25:48 1997 Ian Lance Taylor <ian@cygnus.com>
* symbols.c (resolve_symbol_value): Store the value back into the
symbol expression, to handle add or subtract simplification
correctly. Handle O_symbol_rva. Add default case.
* config/tc-ppc.c (ppc_change_csect): Temporarily lower the
chunksize while creating the new subsection.
* as.c (chunksize): Initialize to zero.
* subsegs.c (subseg_set_rest): Change 5000 to chunksize when
calling obstack_begin.
Mon Aug 25 11:21:48 1997 Nick Clifton <nickc@cygnus.com>
* config/tc-v850.c (md_assemble): Restore input_line_pointer upon
exit.
* config/tc-v850.c (parse_register_list): Support constant
expressions as register lists.
Mon Aug 25 10:19:34 1997 Nick Clifton <nickc@cygnus.com>
* doc/c-v850.texi: Change the major node to v850 Machine
Dependencies.
Fri Aug 22 11:16:14 1997 Nick Clifton <nickc@cygnus.com>
* doc/as.texinfo: Add inclusion of c-v850.texi
* doc/c-v850.texi: New file.
* read.c (is_end_of_line): Make NUL character be considered to be
a line terminator.
Fri Aug 22 10:45:33 1997 Nick Clifton <nickc@cygnus.com>
* config/tc-v850.c (parse_register_list): Add support for curly
brace syntax.
(cc_names): Add "e" and "ne" conditions.
Thu Aug 21 11:00:36 1997 Nick Clifton <nickc@cygnus.com>
* app.c (do_scrub_chars): Support a double dash as starting a
comment that extends to end of line.
Thu Aug 21 10:54:27 1997 Nick Clifton <nickc@cygnus.com>
* config/tc-v850.c (v850_section, v850_bss, v850_offset): New
functions.
(md_pseudo_table): New pseudo ops: .bss, .offset, .section
Thu Aug 21 00:59:53 1997 Doug Evans <dje@canuck.cygnus.com>
* config/tc-m32r.c (md_estimate_size_before_relax): Update recorded
insn when changing to a different instruction.
Wed Aug 20 00:45:20 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
* config/tc-sh.c (parse_reg, get_specific, build_Mytes): Add SH4
floating point extensions.
(parse_reg): parse sgr and dbr.
Tue Aug 19 17:07:34 1997 Nick Clifton <nickc@cygnus.com>
* config/tc-v850.c (system_register_name): Support numbers for
system register IDs.
Tue Aug 19 08:59:12 1997 Fred Fish <fnf@cygnus.com>
* read.c (s_lcomm_internal): Renamed from s_lcomm, added arg to
flag when alignment is in bytes instead of power of 2, and code to
use that flag to convert alignment to bytes.
(s_lcomm, s_lcomm_bytes): New helpers that call s_lcomm_internal.
* read.h (s_lcomm_bytes): Add prototype.
* config/obj-coff.c (write_object_file): If ALIGNMENT_IN_S_FLAGS is
defined, write alignment to alignment bits in section header s_flags
rather than the s_align field.
* config/obj-coff.h (ALIGNMENT_IN_S_FLAGS): Define for TC_TIC80.
* config/tc-tic80.c (md_pseudo_table): Use s_lcomm_bytes for bss
pseudo, instead of s_lcomm which wants a power of two for alignment.
Mon Aug 18 20:42:23 1997 Richard Henderson <rth@cygnus.com>
* macro.c (check_macro): use alloca instead of xmalloc to plug leak.
Mon Aug 18 20:33:06 1997 Richard Henderson <rth@cygnus.com>
* as.c (show_usage): Add -am.
* input-scrub.c (input_scrub_include_sb): Don't add leading \n
if we've already got one.
* listing.c (struct list_info_struct): Add line_contents.
(listing_newline): Put unused argument to work: if non-null, save it...
(listing_listing): ... and regurgitate during listing instead of line
from file.
* listing.h (LISTING_MACEXP): New define.
(LISTING_NEWLINE): Argument is NULL.
* read.c (read_a_source_file): If expanding macros, break up input
lines and pass them to listing_newline.
* doc/as.texinfo: Document -ac and -am.
* cond.c (s_ifc): Add missing demand_empty_rest_of_line.
Mon Aug 18 11:26:36 1997 Nick Clifton <nickc@cygnus.com>
* config/tc-v850.c (md_apply_fix3): Add support for new 16 bit PC
relative reloc.
Mon Aug 18 11:24:21 1997 Nick Clifton <nickc@cygnus.com>
* config/tc-v850.c: Remove support_v850e flag and command line
option.
* configure.in (emulations): Add support for v850e target
* configure (emulations): Add support for v850e target