-
Notifications
You must be signed in to change notification settings - Fork 7
/
ChangeLog-2007
2644 lines (1967 loc) · 87 KB
/
ChangeLog-2007
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
2007-12-29 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (md_show_usage): Add -mmnemonic, -msyntax,
-mindex-reg, -mnaked-reg and -mold-gcc.
2007-12-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* config/tc-hppa.h (DWARF2_CIE_DATA_ALIGNMENT): Wrap negative
number in parens.
2007-12-23 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (set_intel_mnemonic): New.
(intel_mnemonic): Likewise.
(old_gcc): Likewise.
(OPTION_MMNEMONIC): Likewise.
(OPTION_MSYNTAX): Likewise.
(OPTION_MINDEX_REG): Likewise.
(OPTION_MNAKED_REG): Likewise.
(OPTION_MOLD_GCC): Likewise.
(md_pseudo_table): Add .intel_mnemonic and .att_mnemonic.
(match_template): Don't allow AT&T/Intel mnemonic if Intel/AT&T
mnemonic is specified. Don't allow old gcc support if old_gcc
is 0.
(md_longopts): Add -mmnemonic, -msyntax, -mindex-reg,
-mmnaked-reg and -mold-gcc.
(md_parse_option): Handle OPTION_MMNEMONIC, OPTION_MSYNTAX,
OPTION_MINDEX_REG, OPTION_MNAKED_REG and OPTION_MOLD_GCC.
* doc/c-i386.texi: Docoument -mmnemonic, -msyntax, --mnaked-reg
and AT&T mnemonic vs. Intel mnemonic.
2007-12-20 Bob Wilson <bob.wilson@acm.org>
* config/tc-xtensa.c (xtensa_elf_cons): Set frag flags for
expressions without suffixes.
(get_frag_property_flags): Preserve is_no_transform flag for frags
not marked as either instructions or literals.
2007-12-17 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (output_insn): Use ARRAY_SIZE.
(lex_got): Likewise.
2007-12-17 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (output_insn): Use FRAG_APPEND_1_CHAR
instead of frag_more/md_number_to_chars.
(md_short_jump_size): Removed.
(md_long_jump_size): Likewise.
(md_create_short_jump): Likewise.
(md_create_long_jump): Likewise.
2007-12-13 Bob Wilson <bob.wilson@acm.org>
* config/tc-xtensa.c (xg_symbolic_immeds_fit): Relax for weak
references but not weak definitions.
2007-12-12 Bob Wilson <bob.wilson@acm.org>
* config/tc-xtensa.c (xg_symbolic_immeds_fit): Do not relax calls to
weak symbols if longcalls are disabled.
2007-12-11 Sterling Augustine <sterling@tensilica.com>
Bob Wilson <bob.wilson@acm.org>
* config/tc-xtensa.c (frag_format_size): Handle frags that expand to
wide branches.
(get_aligned_diff): For RELAX_ALIGN_NEXT_OPCODE, skip to the next
non-empty frag to find the LOOP instruction. Change comma typo to
a semicolon.
(relax_frag_immed, convert_frag_immed): Rename wide_insn variable to
from_widen_insn.
2007-12-11 Alan Modra <amodra@bigpond.net.au>
* config/tc-m32r.c (md_begin): Mark .sbss as being bss style section.
2007-12-10 Richard Sandiford <rsandifo@nildram.co.uk>
* config/tc-mips.h (mips_nop_opcode): Declare.
(NOP_OPCODE): Define.
(mips_segment_info): New structure.
(TC_SEGMENT_INFO_TYPE): Use it instead of insn_label_list.
* config/tc-mips.c (label_list): Adjust for new TC_SEGMENT_INFO_TYPE.
(mips_record_mips16_mode): New function.
(install_insn): Call it.
(mips_align): Likewise. Turn the fill argument into an "int *".
Use frag_align_code for code segments if no fill data is given.
(s_align): Adjust call accordingly.
(mips_nop_opcode): New function.
(mips_handle_align): Use the first variable byte to decide which
nop sequence is needed. Use md_number_to_chars and mips16_nop_insn.
2007-12-07 Bob Wilson <bob.wilson@acm.org>
* config/tc-xtensa.c (O_pcrel): Define.
(suffix_relocs): Add pcrel suffix.
(md_pseudo_table): Add 4byte and 2byte directives.
(xtensa_elf_cons): Pass correct pcrel argument to fix_new_exp.
(xg_assemble_literal): Likewise. Check for O_pcrel.
(expression_maybe_register): Reorganize. Handle BFD_RELOC_32_PCREL.
(xg_valid_literal_expression): Allow O_pcrel.
(md_pcrel_from, md_apply_fix): Handle BFD_RELOC_32_PCREL.
(tc_gen_reloc): Fix punctuation in error message.
2007-12-06 Bob Wilson <bob.wilson@acm.org>
* config/tc-xtensa.c (xg_force_frag_space): Delete.
(xg_finish_frag, xg_assemble_literal_space): Replace calls to it.
(xtensa_create_property_segments, xtensa_create_xproperty_segments):
Set output_section for new property sections. Use subseg_set and
seg_info instead of retrieve_segment_info. Adjust arguments to
add_xt_block_frags and add_xt_prop_frags. Use standard functions
to create frags and fix records.
(retrieve_segment_info): Delete.
(add_xt_block_frags, add_xt_prop_frags): Replace calls to
retrieve_segment_info. Remove unused xt_block_sec arguments.
2007-12-04 Alan Modra <amodra@bigpond.net.au>
* config/tc-ppc.c (ppc_tc): Allow a space between toc symbol
name and bracket.
2007-11-30 Bob Wilson <bob.wilson@acm.org>
* config/tc-xtensa.h (md_allow_eh_opt): Define.
2007-11-29 Mark Shinwell <shinwell@codesourcery.com>
* config/tc-mips.c (mips_cpu_info_table): Add loongson2e
and loongson2f entries.
* doc/c-mips.texi: Document -march=loongson{2e,2f} options.
2007-11-29 Martin Schwidefsky <schwidefsky@de.ibm.com>
* config/tc-s390.c (md_begin): If the -mesa option is specified
add zarch opcodes to the hash table only if there is no variant
that is available for the esa mode as well.
2007-11-26 Thomas Ogrisegg <tom-bugs@gas.fnord.at>
* config/tc-alpha.c (assemble_insn): Don't segv on NULL reloc_operand.
2007-11-19 Bob Wilson <bob.wilson@acm.org>
* config/xtensa-istack.h (tinsn_struct): Replace linenum field
with loc_directive_seen and debug_line.
* config/tc-xtensa.c: Include xtensa-istack.h after dwarf2dbg.h.
(xg_build_to_insn): Copy the new fields instead of linenum.
(xg_build_token_insn): Likewise. Abort on INSTR_LABEL_DEF and move
common code out of the switch.
(md_assemble): Set new tinsn fields from DWARF information. Call
dwarf2_consume_line_info.
(xg_assemble_vliw_tokens): Update the code to select the "best" line
number to use new information. Call dwarf2_gen_line_info instead
of dwarf2_emit_insn.
2007-11-19 Bob Wilson <bob.wilson@acm.org>
* dwarf2dbg.h (dwarf2_loc_directive_seen): New.
* dwarf2dbg.c (loc_directive_seen): Make external and rename to...
(dwarf2_loc_directive_seen): ...this.
(dwarf2_emit_insn, dwarf2_consume_line_info)
(dwarf2_emit_label, dwarf2_directive_loc): Use new name.
2007-11-19 Bob Wilson <bob.wilson@acm.org>
* dwarf2dbg.c (dwarf2_emit_label): Use dwarf2_consume_line_info.
2007-11-19 Bob Wilson <bob.wilson@acm.org>
* dwarf2dbg.c (dwarf2_consume_line_info): New.
(dwarf2_emit_insn): Use it here.
(dwarf2_directive_loc): Fix check for consecutive .loc directives
when debug_type is DEBUG_DWARF2.
* dwarf2dbg.h (dwarf2_consume_line_info): New prototype.
* config/tc-ia64.c (ia64_flush_insns): Call dwarf2_consume_line_info.
(md_assemble): Likewise.
2007-11-17 Thiemo Seufer <ths@mips.com>
* config/tc-mips.c (md_parse_option): Match mips_optimize to the -O
option supplied, but still keep mips_optimize == 2 as default value.
2007-11-17 Thiemo Seufer <ths@mips.com>
* doc/as.texinfo: Document the new attribute value.
2007-11-16 Eric B. Weddington <eric.weddington@atmel.com>
* config/tc-avr.c (mcu_types): Add ATmega32HVB device.
* doc/c-avr.texi: Likewise.
2007-11-16 Eric B. Weddington <eric.weddington@atmel.com>
* config/tc-avr.c (mcu_types): Add ATmega1284P device.
* doc/c-avr.texi: Likewise.
2007-11-14 Tristan Gingold <gingold@adacore.com>
* config/tc-ia64.c (AR_RUC): Defined.
(ar): Add "ar.ruc".
(specify_resource): Handle AR_RUC like AR_ITC.
2007-11-13 Nick Clifton <nickc@redhat.com>
* config/tc-mn10300.c (mn10300_force_relocation): Force a reloc to
be generated for alignment fixups.
* config/tc-mn10300.h (TC_FORCE_RELOCATION): Call
mn10300_force_relocation.
2007-11-12 Nick Clifton <nickc@redhat.com>
PR gas/5269
* config/tc-frv.c (md_show_usage): Rewrite usage description to
make it easier to translate.
* gas/po/gas.pot: Regenerate.
2007-11-12 Tristan Gingold <gingold@adacore.com>
* config/tc-ppc.c (md_assemble): If -mregnames, when parsing
PPC_OPERAND_CR always parse as expression to allow register name
followed by an expression.
2007-11-09 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (match_template): Re-order suffix check.
2007-11-07 Bob Wilson <bob.wilson@acm.org>
* config/tc-xtensa.c (relaxable_section): Check for .eh_frame.
2007-11-07 Eric B. Weddington <eweddington@cso.atmel.com>
* config/tc-avr.c (mcu_types): Add ATtiny88 device.
* doc/c-avr.texi: Likewise.
2007-11-07 Anatoly Sokolov <aesok@post.ru>
* config/tc-avr.c (mcu_types): Add new devices: ATmega48P,
ATmega88P, ATmega168P, Atmega328P
* doc/c-avr.texi: Document new devices.
2007-11-07 Tristan Gingold <gingold@adacore.com>
* config/tc-ppc.c (md_apply_fix): For PPC_TOC16 on XCOFF, uses
offset within the TOC instead of the VMA.
2007-11-06 Paul Brook <paul@codesourcery.com>
* config/tc-arm.c (do_mull): Allow overlapping Rm for armv6.
2007-11-06 Nick Clifton <nickc@redhat.com>
* ehopt.c (check_eh_frame): If md_allow_eh_opt is defined, invoke
it to see if the optimizations should be applied.
* config/tc-mn10300.h (md_allow_eh_opt): Define. Only allow call
frame optimization if linker relaxation is not enabled.
2007-11-05 Danny Smith <dannysmith@users.sourceforge.net>
* read.c (ALIGN_LIMIT): Rename to ...
(TC_ALIGN_LIMIT): Guard against prior definition.
* config/tc-i386.h (TC_ALIGN_LIMIT)[TE_PE]: Define.
2007-11-01 Sterling Augustine <sterling@tensilica.com>
* config/tc-xtensa.c (xtensa_symbol_new_hook): New.
(xtensa_mark_difference_of_two_symbols): New.
(xtensa_post_relax_hook): Call xtensa_mark_difference_of_two_symbols.
* config/tc-xtensa.h (xtensa_symfield_type): Add next_expr_symbol.
(tc_symbol_new_hook): Define.
2007-11-01 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (md_assemble): Replace no_xsuf with
no_ldsuf.
(match_template): Likewise.
2007-11-01 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.h (LONG_DOUBLE_MNEM_SUFFIX): Use a non-ascii
letter.
2007-11-01 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (process_suffix): Check addrprefixop0 to
see if the address size override prefix changes the size of the
first operand.
(check_byte_reg): Don't warn if byteokintel is set.
(check_long_reg): Set i.suffix to QWORD_MNEM_SUFFIX if toqword
is set.
(check_qword_reg): Set i.suffix to LONG_MNEM_SUFFIX if todword
is set.
2007-10-31 Eric B. Weddington <eweddington@cso.atmel.com>
* config/tc-avr.c (mcu_types): Remove devices that were never produced:
attiny10, atmega83, atmega85, atmega603.
* doc/c-avr.texi: Likewise.
2007-10-30 Nick Clifton <nickc@redhat.com>
* config/tc-mn10300.c (tc_gen_reloc): Fix test that decides when
sym_diff relocs should be generated.
(md_apply_fix): Skip R_MN10300_ALIGN relocs.
(mn10300_fix_adjustable): Do not adjust R_MN10300_ALIGN relocs.
(mn10300_handle_align): New function. Generate R_MN10300_ALIGN
relocs to record alignment requests.
* config/tc-mn10300.h (TC_FORCE_RELOCATION_SUB_SAME): Also force
R_MN10300_ALIGN relocs.
(HANDLE_ALIGN): Define. Call mn10300_handle_align.
2007-10-30 Nick Clifton <nickc@redhat.com>
* doc/as.texinfo (Section): Replace "subsegment" with
"subsection".
2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5221
* config/obj-elf.c (obj_elf_section): Handle optional
parameters for .pushsection.
* doc/as.texinfo: Document optional parameters for
.pushsection.
2007-10-24 H.J. Lu <hongjiu.lu@intel.com>
* configure.in: Move AM_PROG_LIBTOOL after AC_GNU_SOURCE.
* configure: Regenerated.
2007-10-24 Alan Modra <amodra@bigpond.net.au>
* Makefile.am (INCLUDES, DEP_INCLUDES): Remove -D_GNU_SOURCE.
Run "make dep-am".
* configure.in: Invoke AC_GNU_SOURCE.
* Makefile.in: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
2007-10-19 Nick Clifton <nickc@redhat.com>
* expr.c (expr): Test md_allow_local_subtract (if defined) before
allowing the evaluation of an expression involving two symbols
defined in the same section.
* doc/internals.texi (md_allow_local_subtract): Document the new
macro.
* config/tc-mn10300.h (md_allow_local_subtract): Define.
(RELAX_EXPANSION_POSSIBLE): Define.
(MAX_RELOC_EXPANSION): Define.
(TC_FRAG_TYPE): Define.
* config/tc-mn10300.c (md_assemble): Mark fragments as containing code.
(tc_gen_reloc): Return an array of relocs. If necessary generate
two relocs to handle an expressions involving the difference of
two symbols.
(mn10300_fix_adjustable): Do not test TC_FORCE_RELOCATION_LOCAL
when then fixup is not pc-relative.
(mn10300_allow_local_subtract): New function. Determine when it
is safe to compute the difference between two symbols at assemble
time.
2007-10-19 Alan Modra <amodra@bigpond.net.au>
* config/tc-ppc.c (ppc_parse_name): Skip leading '%'.
(md_assemble): When parsing PPC_OPERAND_CR, add '%' to set of
chars that can start a name.
2007-10-18 Carlos O'Donell <carlos@systemhalted.org>
* config/tc-hppa.c (pa_ip): Fix comment typo.
(pa_comm): Likewise.
2007-10-18 Nick Clifton <nickc@redhat.com>
PR gas/5172
* config/tc-arc.c (md_estimate_size_before_relax): Change error
message.
(md_convert_frag): Just call abort.
* config/tc-i860.c (md_estimate_size_before_relax): Change error
message.
* config/tc-i860.h (md_convert_frag): Just call abort.
* config/tc-ip2k.c (md_estimate_size_before_relax): Change error
message.
(md_convert_frag): Just call abort.
* config/tc-m68k.c (m68k_ip): Do not attempt translation of
architecture names.
PR gas/5174
* config/tc-arm.c: Fix formatting and spelling errors.
PR gas/5175
* config/tc-xc16x.c: Fix formatting and internationalization.
* po/gas.pot: Regenerate.
2007-10-17 Nick Clifton <nickc@redhat.com>
PR gas/5173
* as.h (ieee_md_atof, vax_md_atof): New prototypes.
* read.c (s_float_space): Allow a zero length return from md_atof
if the error message has been set.
(float_cons): Likewise.
* config/atof-ieee.c (ieee_md_atof): New function. Performs the
md_atof() function in a generic way for IEEE using targets.
* config/atof-vax.c (md_atof): Rename to vax_md_atof. Use the
same error message as ieee_md_atof.
* tc-alpha.c (md_atof): Use ieee_md_atof. Remove #define of vax_md_atof.
* tc-arc.c (md_atof): Use ieee_md_atof.
* tc-arm.c (md_atof): Use sizeof (LITTLENUM_TYPE) instead of the
constant 2. Use a precision of 5 for the 'x' and 'p' types.
* tc-avr.c (md_atof): Use ieee_md_atof.
* tc-bfin.c (md_atof): Use ieee_md_atof.
* tc-cr16.c (md_atof): Use ieee_md_atof.
* tc-crx.c (md_atof): Use ieee_md_atof.
* tc-d10v.c (md_atof): Use ieee_md_atof.
* tc-d30v.c (md_atof): Use ieee_md_atof.
* tc-dlx.c (md_atof): Use ieee_md_atof.
* tc-fr30.c (md_atof): Use ieee_md_atof.
* tc-frv.c (md_atof): Use ieee_md_atof.
* tc-h8300.c (md_atof): Use ieee_md_atof.
* tc-hppa.c (md_atof): Use ieee_md_atof.
* tc-i370.c (md_atof): Use ieee_md_atof.
(i370_dc): Convert the 'E' type to 'f' before calling md_atof.
* tc-i386.c (md_atof): Use ieee_md_atof.
* tc-i860.c (md_atof): Use ieee_md_atof.
* tc-i960.c (md_atof): Use ieee_md_atof.
* tc-ia64.c (md_atof): Use the same error message as ieee_md_atof.
* tc-ip2k.c (md_atof): Use ieee_md_atof.
* tc-iq2000.c (md_atof): Use ieee_md_atof.
* tc-m32c.c (md_atof): Use ieee_md_atof.
* tc-m32r.c (md_atof): Use ieee_md_atof.
* tc-m68hc11.c (md_atof): Use ieee_md_atof.
* tc-m68k.c (md_atof): Use ieee_md_atof.
* tc-maxq.c (md_atof): Use ieee_md_atof.
* tc-mcore.c (md_atof): Use ieee_md_atof.
* tc-mep.c (md_atof): Use ieee_md_atof.
* tc-mips.c (md_atof): Use ieee_md_atof.
* tc-mmix.c (md_atof): Use ieee_md_atof.
* tc-mn10200.c (md_atof): Use ieee_md_atof.
* tc-mn10300.c (md_atof): Use ieee_md_atof.
* tc-msp430.c (md_atof): Use ieee_md_atof.
* tc-mt.c (md_atof): Use ieee_md_atof.
* tc-ns32k.c (md_atof): Use ieee_md_atof.
* tc-openrisc.c (md_atof): Use ieee_md_atof.
* tc-or32.c (md_atof): Use ieee_md_atof.
* tc-pdp11.c (md_atof): New function. Call vax_md_atof.
* tc-pj.c (md_atof): Use ieee_md_atof.
* tc-ppc.c (md_atof): Use ieee_md_atof.
* tc-s390.c (md_atof): Use ieee_md_atof.
* tc-score.c (md_atof): Use ieee_md_atof.
* tc-sh.c (md_atof): Use ieee_md_atof.
* tc-sparc.c (md_atof): Use ieee_md_atof.
* tc-spu.c (md_atof): Use ieee_md_atof.
* tc-tic30.c (md_atof): Use the same error message as ieee_md_atof.
* tc-tic4x.c (md_atof): Use the same error message as ieee_md_atof.
* tc-tic54.c (md_atof): Use ieee_md_atof.
* tc-v850.c (md_atof): Use ieee_md_atof.
* tc-vax.c (md_atof): New function. Call vax_md_atof.
* tc-xc16x.c (md_atof): Use ieee_md_atof.
* tc-xstormy16.c (md_atof): Use ieee_md_atof.
* tc-xtensa.c (md_atof): Use ieee_md_atof.
* tc-z8k.c (md_atof): Use ieee_md_atof.
* doc/internals.texi: Update description of md_atof function.
* po/gas.pot: Regenerate.
2007-10-16 Bob Wilson <bob.wilson@acm.org>
* doc/as.texinfo (Overview): Add Xtensa --rename-section option.
2007-10-16 Nick Clifton <nickc@redhat.com>
* config/obj-elf.c (obj_elf_type): Accept "common" as a valid
symbol type.
* doc/as.texinfo (.type): Document the types accepted by the
type pseudo op, including "common".
2007-10-15 Peter Bergner <bergner@vnet.ibm.com>
* config/tc-ppc.c (ppc_setup_opcodes): Verify instructions are sorted
according to major opcode number.
2007-10-15 Alan Modra <amodra@bigpond.net.au>
* read.c (do_s_func): Check asprintf return status.
* stabs.c (stabs_generate_asm_func): Likewise.
(stabs_generate_asm_endfunc): Likewise.
2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (process_operands): Simplify implicit xmm0
handling.
2007-10-12 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (process_operands): Check the firstxmm0
field in opcode_modifier for instruction with a implicit
xmm0 as the first operand.
2007-10-12 Eric B. Weddington <eweddington@cso.atmel.com>
* config/tc-avr.c (mcu_types): Add new devices: AT90PWM2B,
AT90PWM3B.
* doc/c-avr.texi: Document new devices.
2007-10-12 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
* config/tc-cr16.c: Update the md_relax_table for 1 word b<cc>
instruction range information.
2007-10-12 Daniel Jacobowitz <dan@codesourcery.com>
* doc/as.texinfo (Object Attributes): New chapter.
(Pseudo Ops): Document .gnu_attribute.
(LNS directives): Correct .loc_mark_labels documentation.
2007-10-11 Nick Clifton <nickc@redhat.com>
* config/obj-elf.c (obj_elf_section): When pushing a section, if
there is a comma then the following argument must be a subsection
number.
2007-10-11 H.J. Lu <hongjiu.lu@intel.com>
* doc/c-i386.texi: Update which instruction's operands are
swapped.
2007-10-11 Nick Clifton <nickc@redhat.com>
PR gas/5161
* config/tc-ia64.c: Allow for translations of error and warning
messages.
* po/gas.pot: Regenerate.
PR gas/5158
* config/tc-h8300.c (tc_gen_reloc): Allow for translation of error
message.
* po/gas.pot: Regenerate.
PR gas/5155
* config/tc-msp430.c: Fix spelling typos.
2007-10-11 Nick Clifton <nickc@redhat.com>
* doc/as.texinfo (Type): Fix typo: STT_FUNC not STT_FUNCTION.
2007-10-08 Maciej W. Rozycki <macro@linux-mips.org>
* config/tc-mips.c (AT): Rename to...
(ATREG): ... this.
(AT): New definition.
(mips_set_options): Rename "noat" to "at"; change the type.
(mips_opts): Update accordingly.
(append_insn): Likewise.
(macro_build_ldst_constoffset): Likewise.
(load_address): Likewise.
(macro, macro2): Likewise.
(s_mipsset): Handle ".set at=REG". Update handling of ".set at"
and ".set noat".
2007-10-08 Nick Clifton <nickc@redhat.com>
* doc/as.texinfo (Previous): Clarify explanation of the behaviour
of this pseudo-op and add a couple of examples.
2007-10-08 Nick Clifton <nickc@redhat.com>
PR gas/5121 gas/5122 gas/5123
* Makefile.am (CFILES): Add cgen.c
(TARGET_CPU_CFILES): Add tc-iq2000.c, tc-maxq.c, tc-mt.c,
tc-tic4x.c and xtensa-relax.c.
(TARGET_CPU_HFILES): Add tc-iq2000.h, tc-maxq.h, tc-mt.h,
tc-tic4x.h and xtensa-relax.h.
(TARG_ENV_HFILES): Remove te-aux.h, te-delta.h, te-delt88.h,
te-ic960.h, te-linux.h. Add te-aix5.h, te-armeabi.h,
te-freebsd.h, te-gnu.h, te-interix.h, te-vxworks.h.
(CONFIG_ATOF_CFILES): New variable.
(POTFILES): Add CONFIG_ATOF_CFILES to dependencies. Fix typo with
dependency upon TARG_ENV_HFILES.
(DEPTC): Do not put "#include opcodes/<foo>-desc.h" into
cgen-desc.h when foo-desc.h does not exit.
Run make dep-am.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.
PR gas/5124 gas/5125
* po/es.po: Regenerate.
* po/fr.po: Regenerate.
* po/gas.pot: Regenerate.
* po/rw.po: Regenerate.
* po/tr.po: Regenerate.
* config/obj-elf.c (obj_elf_vtable_inherit): Allow for translation
of error messages.
PR gas/5126
* config/obj-som.c: Likewise.
PR gas/5129
* config/tc-arc.c: Likewise.
PR gas/5131 gas/5132
* config/tc-arm.c: Likewise.
PR gas/5137
* config/tc-bfin.c: Likewise.
PR gas/5143
* config/tc-frv.c: Likewise.
PR gas/5142
* config/tc-dlx.c: Likewise.
2007-10-08 Eric B. Weddington <eweddington@cso.atmel.com>
* config/tc-avr.c (mcu_types): Add new devices: ATtiny43U,
ATtiny48, AT90PWM216, AT90PWM316.
* doc/c-avr.texi: Document new devices.
2007-10-08 Nick Clifton <nickc@redhat.com>
PR gas/5133
* config/tc-arm.c (md_apply_fix): Correct error message.
PR gas/5134
* config/tc-arm.c (md_apply_fix): Likewise.
PR gas/5136
* config/tc-bfin.c (md_apply_fix): Fix error message.
PR gas/5135
(Expr_Node_Gen_Reloc_R): Fix spelling typos in error messages.
2007-10-05 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (build_modrm_byte): Check the first 2 8bit
immediate operands directly for instructions with 4 operands.
2007-10-04 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5109
* config/tc-i386.c (process_suffix): Clear QWORD suffix if it
is ignored in Intel mode.
2007-10-04 Helge Deller <deller@gmx.de>
* read.c (potable): Add string8, string16, string32 and string64.
Add bit size for stringer function.
(stringer_append_char): New.
(stringer): Use stringer_append_char().
* config/obj-coff.c (obj_coff_ident): Add bit size for stringer function.
* config/obj-elf.c (obj_elf_ident): Likewise.
* config/tc-alpha.c (s_alpha_stringer): Likewise.
* config/tc-dlx.c (dlx_pseudo_table): Likewise.
* config/tc-hppa.c (pa_stringer): Likewise.
* config/tc-ia64.c (md_pseudo_table, pseudo_opcode): Likewise.
* config/tc-m68hc11.c (md_pseudo_table): Likewise.
* config/tc-mcore.c (md_pseudo_table): Likewise.
* config/tc-mips.c (mips_pseudo_table): Likewise.
* config/tc-spu.c (md_pseudo_table): Likewise.
* config/tc-s390.c (md_pseudo_table): Likewise. Replace '2' by '1'.
* doc/as.texinfo (ABORT): Fix identing.
(String): Document new string8, string16, string32, string64
functions.
* NEWS: Mention the new feature.
2007-10-03 Nick Clifton <nickc@redhat.com>
PR gas/5078
* config/tc-avr.c (avr_get_constant): Extend error message to
mention that the constant must be positive.
2007-10-03 Nick Clifton <nickc@redhat.com>
* config/tc-avr.c (avr_get_constant):
PR gas/5089
* config/tc-arm.c (s_arm_unwind_handlerdata): Fix spelling typo.
PR gas/5090
(md_assemble): Fix spelling typo.
2007-10-03 Alan Modra <amodra@bigpond.net.au>
PR 4303
* stabs.c (aout_process_stab): Set BSF_DEBUGGING.
2007-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
* config/tc-cr16.c: Replaced 'tabs' with white spaces and
added R_CR16_DISP8 as default reloc type for b<cc> instructions.
2007-09-30 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5080
* config/tc-i386.c (check_long_reg): Also handle cvttss2si.
(check_qword_reg): Also handle cvttsd2si.
2007-09-27 Kazu Hirata <kazu@codesourcery.com>
* config/m68k-parse.h (m68k_register): Use MBO instead of MBB.
(last_movec_reg): Change to MBO.
* config/tc-m68k.c (fido_ctrl): Use MBO instead of MBB.
(m68k_ip): Use MBO instead of MBO.
(init_table): Use MBO instead of MBO. Add an entry for mbo.
2007-09-26 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.c (build_modrm_byte): Also check for RegEip
when considering IP-relative addressing.
2007-09-26 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.h (md_register_arithmetic): Define.
* config/tc-ia64.h (md_register_arithmetic): Likewise.
* doc/internals.texi: Document md_register_arithmetic.
* expr.c (make_expr_symbol): Force O_register expressions into
reg_section.
(expr): Provide default for md_register_arithmetic. Don't resolve
adding/subtracting constants to/from registers if
md_register_arithmetic is zero.
2007-09-26 Jan Beulich <jbeulich@novell.com>
* dw2gencfi.c: Conditionalize whole body upon TARGET_USE_CFIPOP.
(cfi_finish): Add second empty instance.
2007-09-26 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (dot_pred_rel): Replace specialized handling
with simple call to parse_operand.
2007-09-26 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.c (NUM_FLAG_CODE): Remove.
2007-09-26 Jan Beulich <jbeulich@novell.com>
* as.c (itbl_parse): Remove #define.
(struct itbl_file_list): Move down and ...
(itbl_files): .. conditionalize upon HAVE_ITBL_CPU.
(show_usage): Conditionalize printing of --itbl option upon
HAVE_ITBL_CPU.
(parse_args): Conditionalize handling of -t/--itbl options upon
HAVE_ITBL_CPU. Remove OPTION_INSTTBL and replace its use with
't'.
2007-09-25 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (output_insn): Use i.tm.opcode_length to
check opcode length.
2007-09-25 Nathan Sidwell <nathan@codesourcery.com>
* config/tc-m68k.c (LONG_BRANCH_VIA_COND): New.
(BRANCHBWPL, FRAG_VAR_SIZE): New.
(md_relax_table): Add BRANCHBWPL entries.
(m68k_ip): Choose BRANCHBWPL relaxation if necessary.
(md_assemble): Use FRAG_VAR_SIZE.
(md_convert_frag_1): Add BRANCHBWPL cases.
(md_estimate_size_before_relaz): Likewise.
2007-09-24 Carlos O'Donell <carlos@codesourcery.com>
* config/tc-mips.c (s_align): Set max_alignment to 28.
2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
PR 658
* config/tc-i386.c (SCALE1_WHEN_NO_INDEX): Removed.
(set_allow_index_reg): New.
(allow_index_reg): Likewise.
(md_pseudo_table): Add "allow_index_reg" and
"disallow_index_reg".
(build_modrm_byte): Set i.sib.index to NO_INDEX_REGISTER for
fake index registers.
(i386_scale): Updated.
(i386_index_check): Support fake index registers.
(parse_real_register): Return NULL on eiz/riz if fake index
registers aren't allowed.
2007-09-19 Nick Clifton <nickc@redhat.com>
* config/tc-h8300.c (md_apply_fix): Do not abort or handle 8 byte
fixups.
2007-09-19 Bob Wilson <bob.wilson@acm.org>
* doc/c-xtensa.texi (Xtensa Immediate Relaxation): Fix "addi" typo.
2007-09-18 Bernd Schmidt <bernd.schmidt@analog.com>
* config/bfin-parse.y (asm_1): Slightly improve error messages
for "reg += const;".
2007-09-18 Alan Modra <amodra@bigpond.net.au>
PR gas/5026
* read.c (emit_expr): Only use long long if required and available.
2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (baseindex): Removed.
(build_modrm_byte): Check reg_num for RIP register instead of
reg_type.
(i386_index_check): Likewise.
2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5035
* config/obj-coff.c (obj_coff_endef): Remove checking size of
def_symbol_in_progress.
2007-09-17 Evandro Menezes <evandro@yahoo.com>
PR gas/5026
* read.c (emit_expr): Use unsigned long long values in warning
message about truncated expressions.
2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (intel_e04): Revert the last change.
2007-09-17 Nick Clifton <nickc@redhat.com>
* po/es.po: Updated Spanish translation.
2007-09-15 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5034
* config/tc-i386.c (intel_e04): Return 1 if cur_token.code is
T_NIL.
2007-09-14 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (build_modrm_byte): Adjust comment line
wrap.
2007-09-14 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (build_modrm_byte): Use (A || B) instead
of (A || B) != 0.
2007-09-14 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (build_modrm_byte): Adjust indentation.
2007-09-14 Michael Meissner <michael.meissner@amd.com>
Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
Tony Linthicum <tony.linthicum@amd.com>
* NEWS: Add SSE5 support to NEWS file.
* config/tc-i386.h (drex_byte): Add fields to allow process_drex
and build_modrm_byte to communicate.
(DREX_OC0): New SSE5 macro.
(DREX_OC0_MASK): Ditto.
(DREX_OC1): Ditto.
(DREX_OC1_MASK): Ditto.
(DREX_XMEM_X1_X2_X2): Ditto.
(DREX_X1_XMEM_X2_X2): Ditto.
(DREX_X1_XMEM_X2_X1: Ditto.
(DREX_X1_X2_XMEM_X1: Ditto.
(DREX_XMEM_X1_X2): Ditto.
(DREX_X1_XMEM_X2): Ditto.
(drex_byte): New structure to describe the DREX byte.
* config/tc-i386.c (process_drex): New function to handle SSE5
DREX bits.
(build_modrm_byte): Use the information cached away in
process_drex in the case of DREX instructions.
(i386_insn): Add drex field.
(pi): Add debugging of drex field.
(md_assemble): Treat SSE5 like SSE3 in instructions with an
immediate byte. Move REX field to DREX if this is a DREX
instruction.
(process_operands): Add SSE5 support.
(build_modrm_byte): Ditto.
(output_insn): Ditto.
(cpu_arch): Ditto.
(i386_align_code): Ditto.
2007-09-12 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.c (md_assemble): Move handling of extrq/insertq
after generic operand swapping, and swap only the immediate operands.
2007-09-11 Nathan Sidwell <nathan@codesourcery.com>
* config/tc-m68k.c (m68k_ip): Add mcfisa_c case.
(m68k_elf_final_processing): Add EF_M68K_CF_ISA_C_NODIV.
2007-09-09 H.J. Lu <hongjiu.lu@intel.com>
* tc-i386.c (output_insn): Only check SSE4.2 and ABM for 3
byte opcode.
2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (cpu_flags_check_x64): Renamed to ...
(cpu_flags_check_cpu64): This. Inline.
(uints_all_zero): New.
(uints_set): Likewise
(uints_equal): Likewise
(UINTS_ALL_ZERO): Likewise
(UINTS_SET): Likewise
(UINTS_CLEAR): Likewise
(UINTS_EQUAL): Likewise
(cpu_flags_and): Likewise.
(cpu_flags_or): Likewise.
(operand_type_and): Likewise.
(operand_type_or): Likewise.
(operand_type_xor): Likewise.
(cpu_flags_not): Inline and use switch instead of loop.
(cpu_flags_match): Updated.
(operand_type_match): Likewise.
(smallest_imm_type): Likewise.
(set_cpu_arch): Likewise.
(pt): Likewise.
(md_assemble): Likewise.
(parse_insn): Likewise.
(optimize_imm): Likewise.
(match_template): Likewise.
(process_suffix): Likewise.
(update_imm): Likewise.
(finalize_imm): Likewise.
(process_operands): Likewise.
(build_modrm_byte): Likewise.
(i386_immediate): Likewise.
(i386_displacement): Likewise.
(i386_index_check): Likewise.
(i386_operand): Likewise.
(i386_target_format): Likewise.
(intel_e11): Likewise.
(operand_type): Remove implicitregister.
(operand_type_check): Updated. Inline.
(cpu_flags_all_zero): Removed.
(operand_type_all_zero): Likewise.
(i386_array_biop): Likewise.
(cpu_flags_biop): Likewise.
(operand_type_biop): Likewise.
2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
* configure.in (AC_CHECK_HEADERS): Add limits.h.
* configure: Regenerated.
* config.in: Likewise.
* config/tc-i386.c: Include "opcodes/i386-init.h".
(_i386_insn): Use i386_operand_type for types.
(cpu_arch_flags): Updated to new types with bitfield.
(cpu_arch_tune_flags): Likewise.
(cpu_arch_isa_flags): Likewise.
(cpu_arch): Likewise.
(i386_align_code): Likewise.
(set_code_flag): Likewise.
(set_16bit_gcc_code_flag): Likewise.
(set_cpu_arch): Likewise.
(md_assemble): Likewise.
(parse_insn): Likewise.
(process_operands): Likewise.
(output_branch): Likewise.
(output_jump): Likewise.
(parse_real_register): Likewise.
(mode_from_disp_size): Likewise.
(smallest_imm_type): Likewise.
(pi): Likewise.
(type_names): Likewise.
(pt): Likewise.
(pte): Likewise.
(swap_2_operands): Likewise.
(optimize_imm): Likewise.
(optimize_disp): Likewise.
(match_template): Likewise.
(check_string): Likewise.
(process_suffix): Likewise.
(check_byte_reg): Likewise.
(check_long_reg): Likewise.
(check_qword_reg): Likewise.
(check_word_reg): Likewise.
(finalize_imm): Likewise.
(build_modrm_byte): Likewise.
(output_insn): Likewise.
(disp_size): Likewise.
(imm_size): Likewise.
(output_disp): Likewise.
(output_imm): Likewise.
(gotrel): Likewise.
(i386_immediate): Likewise.
(i386_displacement): Likewise.
(i386_index_check): Likewise.
(i386_operand): Likewise.
(parse_real_register): Likewise.
(i386_intel_operand): Likewise.
(intel_e09): Likewise.
(intel_bracket_expr): Likewise.
(intel_e11): Likewise.
(cpu_arch_flags_not): New.
(cpu_flags_check_x64): Likewise.
(cpu_flags_all_zero): Likewise.
(cpu_flags_not): Likewise.
(i386_cpu_flags_biop): Likewise.
(cpu_flags_biop): Likewise.
(cpu_flags_match); Likewise.
(acc32): New.
(acc64): Likewise.
(control): Likewise.
(reg16_inoutportreg): Likewise.
(disp16): Likewise.