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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
|
diff -Nurd gcc-4.3/ChangeLog.csl gcc-4.3-new/ChangeLog.csl
--- gcc-4.3/ChangeLog.csl 2008-10-01 14:56:28.000000000 +0200
+++ gcc-4.3-new/ChangeLog.csl 2008-10-18 13:08:51.000000000 +0200
@@ -1,3 +1,190 @@
+2008-10-16 Nathan Froyd <froydnj@codesourcery.com>
+
+ gcc/
+ * config.gcc (powerpc-*-eabi*): Add rs6000/t-cs-eabi when
+ --enable-extra-sgxx-multilibs is passed to configure.
+ * config/rs6000/t-ppcgas (MULTILIB_OPTIONS): Remove te500mc.
+ (MULTILIB_DIRNAMES): Likewise.
+ (MULTILIB_EXCEPTIONS): Likewise.
+ * config/rs6000/t-cs-eabi: New file.
+
+2008-10-16 Julian Brown <julian@codesourcery.com>
+
+ Issue #4039
+
+ gcc/
+ * config/arm/neon.md (movmisalign<mode>): Use expander/unnamed insn
+ for both D & Q variants. Don't permit both operands to be mems.
+ * release-notes-csl.xml (Misaligned NEON memory accesses): Add note.
+
+2008-10-15 Catherine Moore <clm@codesourcery.com>
+
+ gcc/testsuite/
+ * gcc-target/mips/octeon-1.c (dg-mips-options): Use -mno-abicalls.
+ * gcc-target/mips/octeon-5.c (dg-mips-options): Likewise.
+ * gcc-target/mips/octeon-6.c (dg-mips-options): Likewise.
+ * gcc-target/mips/octeon-18.c (dg-mips-options): Likewise.
+ * gcc-target/mips/octeon-19.c (dg-mips-options): Likewise.
+ * gcc-target/mips/octeon-23.c (dg-mips-options): Likewise.
+ * gcc-target/mips/octeon-28.c (dg-mips-options): Likewise.
+ * gcc-target/mips/octeon-34.c (dg-mips-options): Likewise.
+ * gcc-target/mips/octeon-37.c (dg-mips-options): Likewise.
+ * gcc-target/mips/octeon-43.c (dg-mips-options): Likewise.
+ * gcc-target/mips/octeon-44.c (dg-mips-options): Likewise.
+ * gcc-target/mips/octeon-49.c (dg-mips-options): Likewise.
+ * gcc-target/mips/octeon-54.c (dg-mips-options): Likewise.
+
+2008-10-14 Sandra Loosemore <sandra@codesourcery.com>
+
+ Issue #4017
+
+ * release-notes-csl.xml (Linker script option syntax): New note.
+
+ gcc/
+ * config.gcc (powerpc-*): Make t-ppcgas imply usegas.h.
+ * config/svr4.h (SVR4_ASM_SPEC): New.
+ (ASM_SPEC): Inherit from SVR4_ASM_SPEC.
+ * config/rs6000/sysv4.h (ASM_SPEC): Inherit from SVR4_ASM_SPEC.
+
+ gcc/doc/
+ * invoke.texi (Option Summary): Add -T to linker options.
+ (Link Options): Document -T.
+
+2008-10-13 Nathan Froyd <froydnj@codesourcery.com>
+
+ gcc/
+ * config/rs6000/rs6000.c (rs6000_file_start): Output gnu
+ attribute for struct return convention.
+
+2008-10-13 Paul Brook <paul@codesourcery.com>
+
+ gcc/
+ * config/arm/arm.h (fputype): Remove stray comma.
+
+2008-10-13 Andrew Stubbs <ams@codesourcery.com>
+
+ Issue #3884
+
+ gcc/
+ * doc/invoke.texi (PowerPC Options): -meabi option no longer places
+ __eabi function in main.
+
+2008-10-12 Mark Mitchell <mark@codesourcery.com>
+
+ Issue #3224
+ * release-notes-csl.xml: Mention OpenMP add-on.
+
+2008-10-12 Catherine Moore <clm@codesourcery.com>
+
+ Issue # 3903
+
+ Backport:
+
+ 2008-07-28 Ilie Garbacea <ilie@mips.com>
+ Chao-ying Fu <fu@mips.com>
+
+ * configure.tgt: Enable futex for MIPS.
+ * config/linux/mips/futex.h: New file.
+
+2008-10-12 Catherine Moore <clm@codesourcery.com>
+
+ gcc/
+ * config/mips/mips.opt (muclibc): New option entry.
+ * config/mips/mips.c (mips_override_options): Disable
+ __thread support when the -muclibc option is used.
+
+2008-10-11 Maxim Kuvyrkov <maxim@codesourcery.com>
+
+ gcc/
+ * config/m68k/lb1sf68.asm (PICCALL, PICJUMP): Use GOT instead of
+ PC-relative addressing when compiling for uclinux PIC.
+
+2008-10-09 Catherine Moore <clm@codesourcery.com>
+
+ Issue #3312
+
+ gcc/
+ * config/mips/mips.h ( DSP_CTRL_REG_FIRST): Define.
+ (DSP_CTRL_REG_LAST): Define.
+ * config/mips/mips.c (mips_conditional_register_usage): Handle
+ DSP registers.
+
+2008-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
+
+ * release-notes-csl.xml: Fix typo.
+
+2008-10-08 Nathan Sidwell <nathan@codesourcery.com>
+ Maxim Kuvyrkov <maxim@codesourcery.com>
+
+ * release-notes-csl.xml (Shared Libraries bug fix): New.
+
+ gcc/
+ * config/m68k/lb1sf68.asm (__cmpdf_internal, __cmpsf_internal): Hide.
+ (__cmpdf, __cmpsf): Use PIC call sequence.
+
+2008-10-07 Nathan Froyd <froydnj@codesourcery.com>
+
+ Issue #3988
+
+ * release-notes-csl.xml (Dynamic libraries and -Os bug fix): New.
+
+ gcc/
+ * config/rs6000/ppc-asm.h (HIDDEN_FUNC): New macro.
+ * config/rs6000/crtresfpr.asm, config/rs6000/crtresgpr.asm,
+ config/rs6000/crtresxfpr.asm, config/rs6000/crtresxgpr.asm,
+ config/rs6000/crtsavfpr.asm, config/rs6000/crtsavgpr.asm,
+ config/rs6000/e500crtres32gpr.asm,
+ config/rs6000/e500crtres64gpr.asm,
+ config/rs6000/e500crtres64gprctr.asm,
+ config/rs6000/e500crtrest32gpr.asm,
+ config/rs6000/e500crtrest64gpr.asm,
+ config/rs6000/e500crtresx32gpr.asm,
+ config/rs6000/e500crtresx64gpr.asm,
+ config/rs6000/e500crtsav32gpr.asm,
+ config/rs6000/e500crtsav64gpr.asm,
+ config/rs6000/e500crtsav64gprctr.asm,
+ config/rs6000/e500crtsavg32gpr.asm,
+ config/rs6000/e500crtsavg64gpr.asm,
+ config/rs6000/e500crtsavg64gprctr.asm: Use it.
+
+2008-10-07 Nathan Sidwell <nathan@codesourcery.com>
+
+ * release-notes-csl.xml: Document it.
+
+ gcc/
+ * doc/invoke.texi (MIPS Options): Add ice9 arch.
+ * config/mips/mips.c (mips_cpu_info_table): Add ice9 arch.
+
+2008-10-03 Catherine Moore <clm@codesourcery.com>
+
+ gcc/testsuite/
+ * gcc.target/mips/fix-ice9a-1.c: Disable for soft-float
+ multilibs.
+ * gcc.target/mips/fix-ice9a-1.c: Likewise.
+
+2008-10-03 Kazu Hirata <kazu@codesourcery.com>
+
+ Backport:
+ gcc/testsuite/
+ 2008-09-23 Eric Botcazou <ebotcazou@adacore.com>
+
+ * gcc.dg/pragma-init-fini.c: Use dg-warning in lieu of dg-error.
+ * gcc.dg/pragma-align-2.c: Likewise.
+ * gcc.dg/format/cmn-err-1.c: Likewise.
+
+2008-10-02 Catherine Moore <clm@codesourcery.com>
+
+ gcc/testsuite/
+ * gcc.target/mips/lazy-binding-1.c: Compile with -fpic.
+
+2008-10-02 Maciej W. Rozycki <macro@codesourcery.com>
+
+ Issue #3673
+ gcc/testsuite/
+ * lib/target-supports.exp
+ (check_effective_target_arm_iwmmxt_ok): New procedure.
+ * gcc.dg/arm-mmx-1.c: Only run if arm_iwmmxt_ok.
+
2008-09-29 Joseph Myers <joseph@codesourcery.com>
Backport:
diff -Nurd gcc-4.3/gcc/config/arm/arm.h gcc-4.3-new/gcc/config/arm/arm.h
--- gcc-4.3/gcc/config/arm/arm.h 2008-10-01 14:51:02.000000000 +0200
+++ gcc-4.3-new/gcc/config/arm/arm.h 2008-10-18 12:44:43.000000000 +0200
@@ -329,7 +329,7 @@
/* Neon. */
FPUTYPE_NEON,
/* Neon with half-precision float extensions. */
- FPUTYPE_NEON_FP16,
+ FPUTYPE_NEON_FP16
};
/* Recast the floating point class to be the floating point attribute. */
diff -Nurd gcc-4.3/gcc/config/arm/neon.md gcc-4.3-new/gcc/config/arm/neon.md
--- gcc-4.3/gcc/config/arm/neon.md 2008-10-01 14:51:02.000000000 +0200
+++ gcc-4.3-new/gcc/config/arm/neon.md 2008-10-18 12:44:43.000000000 +0200
@@ -659,21 +659,36 @@
neon_disambiguate_copy (operands, dest, src, 4);
})
-(define_insn "movmisalign<mode>"
+(define_expand "movmisalign<mode>"
+ [(set (match_operand:VDQX 0 "nonimmediate_operand" "")
+ (unspec:VDQX [(match_operand:VDQX 1 "general_operand" "")]
+ UNSPEC_MISALIGNED_ACCESS))]
+ "TARGET_NEON && !BYTES_BIG_ENDIAN"
+{
+ if (!s_register_operand (operands[0], <MODE>mode)
+ && !s_register_operand (operands[1], <MODE>mode))
+ FAIL;
+})
+
+(define_insn "*movmisalign<mode>_neon"
[(set (match_operand:VDX 0 "nonimmediate_operand" "=Um,w")
(unspec:VDX [(match_operand:VDX 1 "general_operand" " w, Um")]
UNSPEC_MISALIGNED_ACCESS))]
- "TARGET_NEON && !BYTES_BIG_ENDIAN"
+ "TARGET_NEON && !BYTES_BIG_ENDIAN
+ && ( s_register_operand (operands[0], <MODE>mode)
+ || s_register_operand (operands[1], <MODE>mode))"
"@
vst1.<V_sz_elem>\t{%P1}, %A0
vld1.<V_sz_elem>\t{%P0}, %A1"
[(set_attr "neon_type" "neon_vst1_1_2_regs_vst2_2_regs,neon_vld1_1_2_regs")])
-(define_insn "movmisalign<mode>"
+(define_insn "*movmisalign<mode>_neon"
[(set (match_operand:VQX 0 "nonimmediate_operand" "=Um,w")
(unspec:VQX [(match_operand:VQX 1 "general_operand" " w, Um")]
UNSPEC_MISALIGNED_ACCESS))]
- "TARGET_NEON && !BYTES_BIG_ENDIAN"
+ "TARGET_NEON && !BYTES_BIG_ENDIAN
+ && ( s_register_operand (operands[0], <MODE>mode)
+ || s_register_operand (operands[1], <MODE>mode))"
"@
vst1.<V_sz_elem>\t{%q1}, %A0
vld1.<V_sz_elem>\t{%q0}, %A1"
diff -Nurd gcc-4.3/gcc/config/m68k/lb1sf68.asm gcc-4.3-new/gcc/config/m68k/lb1sf68.asm
--- gcc-4.3/gcc/config/m68k/lb1sf68.asm 2008-10-01 14:50:48.000000000 +0200
+++ gcc-4.3-new/gcc/config/m68k/lb1sf68.asm 2008-10-18 12:43:53.000000000 +0200
@@ -129,30 +129,6 @@
#else /* __PIC__ */
- /* Common for Linux and uClinux, the latter with either
- -mid-shared-library or -msep-data. */
-
- .macro PICCALL addr
-#if defined (__mcoldfire__) && !defined (__mcfisab__) && !defined (__mcfisac__)
- lea \addr-.-8,a0
- jsr pc@(a0)
-#else
- bsr \addr
-#endif
- .endm
-
- .macro PICJUMP addr
- /* ISA C has no bra.l instruction, and since this assembly file
- gets assembled into multiple object files, we avoid the
- bra instruction entirely. */
-#if defined (__mcoldfire__) && !defined (__mcfisab__)
- lea \addr-.-8,a0
- jmp pc@(a0)
-#else
- bra \addr
-#endif
- .endm
-
# if defined (__uClinux__)
/* Versions for uClinux */
@@ -171,6 +147,16 @@
movel \sym@GOT(\areg), sp@-
.endm
+ .macro PICCALL addr
+ PICLEA \addr,a0
+ jsr a0@
+ .endm
+
+ .macro PICJUMP addr
+ PICLEA \addr,a0
+ jmp a0@
+ .endm
+
# else /* !__ID_SHARED_LIBRARY__ */
/* Versions for -msep-data */
@@ -183,6 +169,27 @@
movel \sym@GOT(a5), sp@-
.endm
+ .macro PICCALL addr
+#if defined (__mcoldfire__) && !defined (__mcfisab__) && !defined (__mcfisac__)
+ lea \addr-.-8,a0
+ jsr pc@(a0)
+#else
+ bsr \addr
+#endif
+ .endm
+
+ .macro PICJUMP addr
+ /* ISA C has no bra.l instruction, and since this assembly file
+ gets assembled into multiple object files, we avoid the
+ bra instruction entirely. */
+#if defined (__mcoldfire__) && !defined (__mcfisab__)
+ lea \addr-.-8,a0
+ jmp pc@(a0)
+#else
+ bra \addr
+#endif
+ .endm
+
# endif
# else /* !__uClinux__ */
@@ -201,6 +208,27 @@
movel \sym@GOT(\areg), sp@-
.endm
+ .macro PICCALL addr
+#if defined (__mcoldfire__) && !defined (__mcfisab__) && !defined (__mcfisac__)
+ lea \addr-.-8,a0
+ jsr pc@(a0)
+#else
+ bsr \addr
+#endif
+ .endm
+
+ .macro PICJUMP addr
+ /* ISA C has no bra.l instruction, and since this assembly file
+ gets assembled into multiple object files, we avoid the
+ bra instruction entirely. */
+#if defined (__mcoldfire__) && !defined (__mcfisab__)
+ lea \addr-.-8,a0
+ jmp pc@(a0)
+#else
+ bra \addr
+#endif
+ .endm
+
# endif
#endif /* __PIC__ */
@@ -648,6 +676,7 @@
.globl SYM (__negdf2)
.globl SYM (__cmpdf2)
.globl SYM (__cmpdf2_internal)
+ .hidden SYM (__cmpdf2_internal)
.text
.even
@@ -2410,7 +2439,7 @@
movl a6@(16),sp@-
movl a6@(12),sp@-
movl a6@(8),sp@-
- bsr SYM (__cmpdf2_internal)
+ PICCALL SYM (__cmpdf2_internal)
unlk a6
rts
@@ -2562,6 +2591,7 @@
.globl SYM (__negsf2)
.globl SYM (__cmpsf2)
.globl SYM (__cmpsf2_internal)
+ .hidden SYM (__cmpsf2_internal)
| These are common routines to return and signal exceptions.
@@ -3816,7 +3846,7 @@
pea 1
movl a6@(12),sp@-
movl a6@(8),sp@-
- bsr (__cmpsf2_internal)
+ PICCALL SYM (__cmpsf2_internal)
unlk a6
rts
diff -Nurd gcc-4.3/gcc/config/mips/mips.c gcc-4.3-new/gcc/config/mips/mips.c
--- gcc-4.3/gcc/config/mips/mips.c 2008-10-01 14:51:08.000000000 +0200
+++ gcc-4.3-new/gcc/config/mips/mips.c 2008-10-18 12:45:05.000000000 +0200
@@ -657,6 +657,7 @@
{ "sr71000", PROCESSOR_SR71000, 64, PTF_AVOID_BRANCHLIKELY },
{ "xlr", PROCESSOR_XLR, 64, 0 },
{ "octeon", PROCESSOR_OCTEON, 64, 0 },
+ { "ice9", PROCESSOR_5KF, 64 }, /* May diverge from 5kf in future. */
};
/* Default costs. If these are used for a processor we should look
@@ -12577,6 +12578,10 @@
/* Function to allocate machine-dependent function status. */
init_machine_status = &mips_init_machine_status;
+ /* __thread_support is not supported by uClibc. */
+ if (building_for_uclibc)
+ targetm.have_tls = 0;
+
/* Default to working around R4000 errata only if the processor
was selected explicitly. */
if ((target_flags_explicit & MASK_FIX_R4000) == 0
@@ -12629,18 +12634,24 @@
#undef SWAP_STRING
#undef SWAP_INT
}
-
-/* Implement CONDITIONAL_REGISTER_USAGE. */
-
void
mips_conditional_register_usage (void)
{
+
+ /* These DSP control register fields are global. */
+ if (ISA_HAS_DSP)
+ {
+ global_regs[CCDSP_PO_REGNUM] = 1;
+ global_regs[CCDSP_SC_REGNUM] = 1;
+ }
if (!ISA_HAS_DSP)
{
int regno;
for (regno = DSP_ACC_REG_FIRST; regno <= DSP_ACC_REG_LAST; regno++)
fixed_regs[regno] = call_used_regs[regno] = 1;
+ for (regno = DSP_CTRL_REG_FIRST; regno <= DSP_CTRL_REG_LAST; regno++)
+ fixed_regs[regno] = call_used_regs[regno] = 1;
}
if (!TARGET_HARD_FLOAT)
{
diff -Nurd gcc-4.3/gcc/config/mips/mips.h gcc-4.3-new/gcc/config/mips/mips.h
--- gcc-4.3/gcc/config/mips/mips.h 2008-10-01 14:51:08.000000000 +0200
+++ gcc-4.3-new/gcc/config/mips/mips.h 2008-10-18 12:45:05.000000000 +0200
@@ -1615,6 +1615,9 @@
#define DSP_ACC_REG_LAST 181
#define DSP_ACC_REG_NUM (DSP_ACC_REG_LAST - DSP_ACC_REG_FIRST + 1)
+#define DSP_CTRL_REG_FIRST 182
+#define DSP_CTRL_REG_LAST 187
+
#define AT_REGNUM (GP_REG_FIRST + 1)
#define HI_REGNUM (TARGET_BIG_ENDIAN ? MD_REG_FIRST : MD_REG_FIRST + 1)
#define LO_REGNUM (TARGET_BIG_ENDIAN ? MD_REG_FIRST + 1 : MD_REG_FIRST)
diff -Nurd gcc-4.3/gcc/config/mips/mips.opt gcc-4.3-new/gcc/config/mips/mips.opt
--- gcc-4.3/gcc/config/mips/mips.opt 2008-10-01 14:51:08.000000000 +0200
+++ gcc-4.3-new/gcc/config/mips/mips.opt 2008-10-18 12:45:05.000000000 +0200
@@ -272,6 +272,10 @@
Target RejectNegative Joined Var(mips_tune_string)
-mtune=PROCESSOR Optimize the output for PROCESSOR
+muclibc
+Target RejectNegative Var(building_for_uclibc)
+Building with -muclibc
+
muninit-const-in-rodata
Target Report Var(TARGET_UNINIT_CONST_IN_RODATA)
Put uninitialized constants in ROM (needs -membedded-data)
diff -Nurd gcc-4.3/gcc/config/rs6000/crtresfpr.asm gcc-4.3-new/gcc/config/rs6000/crtresfpr.asm
--- gcc-4.3/gcc/config/rs6000/crtresfpr.asm 2008-10-01 14:50:54.000000000 +0200
+++ gcc-4.3-new/gcc/config/rs6000/crtresfpr.asm 2008-10-18 12:44:16.000000000 +0200
@@ -49,24 +49,24 @@
/* Called with r11 pointing to the stack header word of the caller of the */
/* function, just beyond the end of the floating point save area. */
-FUNC_START(_restfpr_14) lfd 14,-144(11) /* restore fp registers */
-FUNC_START(_restfpr_15) lfd 15,-136(11)
-FUNC_START(_restfpr_16) lfd 16,-128(11)
-FUNC_START(_restfpr_17) lfd 17,-120(11)
-FUNC_START(_restfpr_18) lfd 18,-112(11)
-FUNC_START(_restfpr_19) lfd 19,-104(11)
-FUNC_START(_restfpr_20) lfd 20,-96(11)
-FUNC_START(_restfpr_21) lfd 21,-88(11)
-FUNC_START(_restfpr_22) lfd 22,-80(11)
-FUNC_START(_restfpr_23) lfd 23,-72(11)
-FUNC_START(_restfpr_24) lfd 24,-64(11)
-FUNC_START(_restfpr_25) lfd 25,-56(11)
-FUNC_START(_restfpr_26) lfd 26,-48(11)
-FUNC_START(_restfpr_27) lfd 27,-40(11)
-FUNC_START(_restfpr_28) lfd 28,-32(11)
-FUNC_START(_restfpr_29) lfd 29,-24(11)
-FUNC_START(_restfpr_30) lfd 30,-16(11)
-FUNC_START(_restfpr_31) lfd 31,-8(11)
+HIDDEN_FUNC(_restfpr_14) lfd 14,-144(11) /* restore fp registers */
+HIDDEN_FUNC(_restfpr_15) lfd 15,-136(11)
+HIDDEN_FUNC(_restfpr_16) lfd 16,-128(11)
+HIDDEN_FUNC(_restfpr_17) lfd 17,-120(11)
+HIDDEN_FUNC(_restfpr_18) lfd 18,-112(11)
+HIDDEN_FUNC(_restfpr_19) lfd 19,-104(11)
+HIDDEN_FUNC(_restfpr_20) lfd 20,-96(11)
+HIDDEN_FUNC(_restfpr_21) lfd 21,-88(11)
+HIDDEN_FUNC(_restfpr_22) lfd 22,-80(11)
+HIDDEN_FUNC(_restfpr_23) lfd 23,-72(11)
+HIDDEN_FUNC(_restfpr_24) lfd 24,-64(11)
+HIDDEN_FUNC(_restfpr_25) lfd 25,-56(11)
+HIDDEN_FUNC(_restfpr_26) lfd 26,-48(11)
+HIDDEN_FUNC(_restfpr_27) lfd 27,-40(11)
+HIDDEN_FUNC(_restfpr_28) lfd 28,-32(11)
+HIDDEN_FUNC(_restfpr_29) lfd 29,-24(11)
+HIDDEN_FUNC(_restfpr_30) lfd 30,-16(11)
+HIDDEN_FUNC(_restfpr_31) lfd 31,-8(11)
blr
FUNC_END(_restfpr_31)
FUNC_END(_restfpr_30)
diff -Nurd gcc-4.3/gcc/config/rs6000/crtresgpr.asm gcc-4.3-new/gcc/config/rs6000/crtresgpr.asm
--- gcc-4.3/gcc/config/rs6000/crtresgpr.asm 2008-10-01 14:50:54.000000000 +0200
+++ gcc-4.3-new/gcc/config/rs6000/crtresgpr.asm 2008-10-18 12:44:16.000000000 +0200
@@ -49,24 +49,24 @@
/* Called with r11 pointing to the stack header word of the caller of the */
/* function, just beyond the end of the integer restore area. */
-FUNC_START(_restgpr_14) lwz 14,-72(11) /* restore gp registers */
-FUNC_START(_restgpr_15) lwz 15,-68(11)
-FUNC_START(_restgpr_16) lwz 16,-64(11)
-FUNC_START(_restgpr_17) lwz 17,-60(11)
-FUNC_START(_restgpr_18) lwz 18,-56(11)
-FUNC_START(_restgpr_19) lwz 19,-52(11)
-FUNC_START(_restgpr_20) lwz 20,-48(11)
-FUNC_START(_restgpr_21) lwz 21,-44(11)
-FUNC_START(_restgpr_22) lwz 22,-40(11)
-FUNC_START(_restgpr_23) lwz 23,-36(11)
-FUNC_START(_restgpr_24) lwz 24,-32(11)
-FUNC_START(_restgpr_25) lwz 25,-28(11)
-FUNC_START(_restgpr_26) lwz 26,-24(11)
-FUNC_START(_restgpr_27) lwz 27,-20(11)
-FUNC_START(_restgpr_28) lwz 28,-16(11)
-FUNC_START(_restgpr_29) lwz 29,-12(11)
-FUNC_START(_restgpr_30) lwz 30,-8(11)
-FUNC_START(_restgpr_31) lwz 31,-4(11)
+HIDDEN_FUNC(_restgpr_14) lwz 14,-72(11) /* restore gp registers */
+HIDDEN_FUNC(_restgpr_15) lwz 15,-68(11)
+HIDDEN_FUNC(_restgpr_16) lwz 16,-64(11)
+HIDDEN_FUNC(_restgpr_17) lwz 17,-60(11)
+HIDDEN_FUNC(_restgpr_18) lwz 18,-56(11)
+HIDDEN_FUNC(_restgpr_19) lwz 19,-52(11)
+HIDDEN_FUNC(_restgpr_20) lwz 20,-48(11)
+HIDDEN_FUNC(_restgpr_21) lwz 21,-44(11)
+HIDDEN_FUNC(_restgpr_22) lwz 22,-40(11)
+HIDDEN_FUNC(_restgpr_23) lwz 23,-36(11)
+HIDDEN_FUNC(_restgpr_24) lwz 24,-32(11)
+HIDDEN_FUNC(_restgpr_25) lwz 25,-28(11)
+HIDDEN_FUNC(_restgpr_26) lwz 26,-24(11)
+HIDDEN_FUNC(_restgpr_27) lwz 27,-20(11)
+HIDDEN_FUNC(_restgpr_28) lwz 28,-16(11)
+HIDDEN_FUNC(_restgpr_29) lwz 29,-12(11)
+HIDDEN_FUNC(_restgpr_30) lwz 30,-8(11)
+HIDDEN_FUNC(_restgpr_31) lwz 31,-4(11)
blr
FUNC_END(_restgpr_31)
FUNC_END(_restgpr_30)
diff -Nurd gcc-4.3/gcc/config/rs6000/crtresxfpr.asm gcc-4.3-new/gcc/config/rs6000/crtresxfpr.asm
--- gcc-4.3/gcc/config/rs6000/crtresxfpr.asm 2008-10-01 14:50:54.000000000 +0200
+++ gcc-4.3-new/gcc/config/rs6000/crtresxfpr.asm 2008-10-18 12:44:16.000000000 +0200
@@ -51,24 +51,24 @@
/* In addition to restoring the fp registers, it will return to the caller's */
/* caller */
-FUNC_START(_restfpr_14_x) lfd 14,-144(11) /* restore fp registers */
-FUNC_START(_restfpr_15_x) lfd 15,-136(11)
-FUNC_START(_restfpr_16_x) lfd 16,-128(11)
-FUNC_START(_restfpr_17_x) lfd 17,-120(11)
-FUNC_START(_restfpr_18_x) lfd 18,-112(11)
-FUNC_START(_restfpr_19_x) lfd 19,-104(11)
-FUNC_START(_restfpr_20_x) lfd 20,-96(11)
-FUNC_START(_restfpr_21_x) lfd 21,-88(11)
-FUNC_START(_restfpr_22_x) lfd 22,-80(11)
-FUNC_START(_restfpr_23_x) lfd 23,-72(11)
-FUNC_START(_restfpr_24_x) lfd 24,-64(11)
-FUNC_START(_restfpr_25_x) lfd 25,-56(11)
-FUNC_START(_restfpr_26_x) lfd 26,-48(11)
-FUNC_START(_restfpr_27_x) lfd 27,-40(11)
-FUNC_START(_restfpr_28_x) lfd 28,-32(11)
-FUNC_START(_restfpr_29_x) lfd 29,-24(11)
-FUNC_START(_restfpr_30_x) lfd 30,-16(11)
-FUNC_START(_restfpr_31_x) lwz 0,4(11)
+HIDDEN_FUNC(_restfpr_14_x) lfd 14,-144(11) /* restore fp registers */
+HIDDEN_FUNC(_restfpr_15_x) lfd 15,-136(11)
+HIDDEN_FUNC(_restfpr_16_x) lfd 16,-128(11)
+HIDDEN_FUNC(_restfpr_17_x) lfd 17,-120(11)
+HIDDEN_FUNC(_restfpr_18_x) lfd 18,-112(11)
+HIDDEN_FUNC(_restfpr_19_x) lfd 19,-104(11)
+HIDDEN_FUNC(_restfpr_20_x) lfd 20,-96(11)
+HIDDEN_FUNC(_restfpr_21_x) lfd 21,-88(11)
+HIDDEN_FUNC(_restfpr_22_x) lfd 22,-80(11)
+HIDDEN_FUNC(_restfpr_23_x) lfd 23,-72(11)
+HIDDEN_FUNC(_restfpr_24_x) lfd 24,-64(11)
+HIDDEN_FUNC(_restfpr_25_x) lfd 25,-56(11)
+HIDDEN_FUNC(_restfpr_26_x) lfd 26,-48(11)
+HIDDEN_FUNC(_restfpr_27_x) lfd 27,-40(11)
+HIDDEN_FUNC(_restfpr_28_x) lfd 28,-32(11)
+HIDDEN_FUNC(_restfpr_29_x) lfd 29,-24(11)
+HIDDEN_FUNC(_restfpr_30_x) lfd 30,-16(11)
+HIDDEN_FUNC(_restfpr_31_x) lwz 0,4(11)
lfd 31,-8(11)
mtlr 0
mr 1,11
diff -Nurd gcc-4.3/gcc/config/rs6000/crtresxgpr.asm gcc-4.3-new/gcc/config/rs6000/crtresxgpr.asm
--- gcc-4.3/gcc/config/rs6000/crtresxgpr.asm 2008-10-01 14:50:54.000000000 +0200
+++ gcc-4.3-new/gcc/config/rs6000/crtresxgpr.asm 2008-10-18 12:44:16.000000000 +0200
@@ -49,24 +49,24 @@
/* Called with r11 pointing to the stack header word of the caller of the */
/* function, just beyond the end of the integer restore area. */
-FUNC_START(_restgpr_14_x) lwz 14,-72(11) /* restore gp registers */
-FUNC_START(_restgpr_15_x) lwz 15,-68(11)
-FUNC_START(_restgpr_16_x) lwz 16,-64(11)
-FUNC_START(_restgpr_17_x) lwz 17,-60(11)
-FUNC_START(_restgpr_18_x) lwz 18,-56(11)
-FUNC_START(_restgpr_19_x) lwz 19,-52(11)
-FUNC_START(_restgpr_20_x) lwz 20,-48(11)
-FUNC_START(_restgpr_21_x) lwz 21,-44(11)
-FUNC_START(_restgpr_22_x) lwz 22,-40(11)
-FUNC_START(_restgpr_23_x) lwz 23,-36(11)
-FUNC_START(_restgpr_24_x) lwz 24,-32(11)
-FUNC_START(_restgpr_25_x) lwz 25,-28(11)
-FUNC_START(_restgpr_26_x) lwz 26,-24(11)
-FUNC_START(_restgpr_27_x) lwz 27,-20(11)
-FUNC_START(_restgpr_28_x) lwz 28,-16(11)
-FUNC_START(_restgpr_29_x) lwz 29,-12(11)
-FUNC_START(_restgpr_30_x) lwz 30,-8(11)
-FUNC_START(_restgpr_31_x) lwz 0,4(11)
+HIDDEN_FUNC(_restgpr_14_x) lwz 14,-72(11) /* restore gp registers */
+HIDDEN_FUNC(_restgpr_15_x) lwz 15,-68(11)
+HIDDEN_FUNC(_restgpr_16_x) lwz 16,-64(11)
+HIDDEN_FUNC(_restgpr_17_x) lwz 17,-60(11)
+HIDDEN_FUNC(_restgpr_18_x) lwz 18,-56(11)
+HIDDEN_FUNC(_restgpr_19_x) lwz 19,-52(11)
+HIDDEN_FUNC(_restgpr_20_x) lwz 20,-48(11)
+HIDDEN_FUNC(_restgpr_21_x) lwz 21,-44(11)
+HIDDEN_FUNC(_restgpr_22_x) lwz 22,-40(11)
+HIDDEN_FUNC(_restgpr_23_x) lwz 23,-36(11)
+HIDDEN_FUNC(_restgpr_24_x) lwz 24,-32(11)
+HIDDEN_FUNC(_restgpr_25_x) lwz 25,-28(11)
+HIDDEN_FUNC(_restgpr_26_x) lwz 26,-24(11)
+HIDDEN_FUNC(_restgpr_27_x) lwz 27,-20(11)
+HIDDEN_FUNC(_restgpr_28_x) lwz 28,-16(11)
+HIDDEN_FUNC(_restgpr_29_x) lwz 29,-12(11)
+HIDDEN_FUNC(_restgpr_30_x) lwz 30,-8(11)
+HIDDEN_FUNC(_restgpr_31_x) lwz 0,4(11)
lwz 31,-4(11)
mtlr 0
mr 1,11
diff -Nurd gcc-4.3/gcc/config/rs6000/crtsavfpr.asm gcc-4.3-new/gcc/config/rs6000/crtsavfpr.asm
--- gcc-4.3/gcc/config/rs6000/crtsavfpr.asm 2008-10-01 14:50:54.000000000 +0200
+++ gcc-4.3-new/gcc/config/rs6000/crtsavfpr.asm 2008-10-18 12:44:16.000000000 +0200
@@ -49,24 +49,24 @@
/* Called with r11 pointing to the stack header word of the caller of the */
/* function, just beyond the end of the floating point save area. */
-FUNC_START(_savefpr_14) stfd 14,-144(11) /* save fp registers */
-FUNC_START(_savefpr_15) stfd 15,-136(11)
-FUNC_START(_savefpr_16) stfd 16,-128(11)
-FUNC_START(_savefpr_17) stfd 17,-120(11)
-FUNC_START(_savefpr_18) stfd 18,-112(11)
-FUNC_START(_savefpr_19) stfd 19,-104(11)
-FUNC_START(_savefpr_20) stfd 20,-96(11)
-FUNC_START(_savefpr_21) stfd 21,-88(11)
-FUNC_START(_savefpr_22) stfd 22,-80(11)
-FUNC_START(_savefpr_23) stfd 23,-72(11)
-FUNC_START(_savefpr_24) stfd 24,-64(11)
-FUNC_START(_savefpr_25) stfd 25,-56(11)
-FUNC_START(_savefpr_26) stfd 26,-48(11)
-FUNC_START(_savefpr_27) stfd 27,-40(11)
-FUNC_START(_savefpr_28) stfd 28,-32(11)
-FUNC_START(_savefpr_29) stfd 29,-24(11)
-FUNC_START(_savefpr_30) stfd 30,-16(11)
-FUNC_START(_savefpr_31) stfd 31,-8(11)
+HIDDEN_FUNC(_savefpr_14) stfd 14,-144(11) /* save fp registers */
+HIDDEN_FUNC(_savefpr_15) stfd 15,-136(11)
+HIDDEN_FUNC(_savefpr_16) stfd 16,-128(11)
+HIDDEN_FUNC(_savefpr_17) stfd 17,-120(11)
+HIDDEN_FUNC(_savefpr_18) stfd 18,-112(11)
+HIDDEN_FUNC(_savefpr_19) stfd 19,-104(11)
+HIDDEN_FUNC(_savefpr_20) stfd 20,-96(11)
+HIDDEN_FUNC(_savefpr_21) stfd 21,-88(11)
+HIDDEN_FUNC(_savefpr_22) stfd 22,-80(11)
+HIDDEN_FUNC(_savefpr_23) stfd 23,-72(11)
+HIDDEN_FUNC(_savefpr_24) stfd 24,-64(11)
+HIDDEN_FUNC(_savefpr_25) stfd 25,-56(11)
+HIDDEN_FUNC(_savefpr_26) stfd 26,-48(11)
+HIDDEN_FUNC(_savefpr_27) stfd 27,-40(11)
+HIDDEN_FUNC(_savefpr_28) stfd 28,-32(11)
+HIDDEN_FUNC(_savefpr_29) stfd 29,-24(11)
+HIDDEN_FUNC(_savefpr_30) stfd 30,-16(11)
+HIDDEN_FUNC(_savefpr_31) stfd 31,-8(11)
blr
FUNC_END(_savefpr_31)
FUNC_END(_savefpr_30)
diff -Nurd gcc-4.3/gcc/config/rs6000/crtsavgpr.asm gcc-4.3-new/gcc/config/rs6000/crtsavgpr.asm
--- gcc-4.3/gcc/config/rs6000/crtsavgpr.asm 2008-10-01 14:50:54.000000000 +0200
+++ gcc-4.3-new/gcc/config/rs6000/crtsavgpr.asm 2008-10-18 12:44:16.000000000 +0200
@@ -49,24 +49,24 @@
/* Called with r11 pointing to the stack header word of the caller of the */
/* function, just beyond the end of the integer save area. */
-FUNC_START(_savegpr_14) stw 14,-72(11) /* save gp registers */
-FUNC_START(_savegpr_15) stw 15,-68(11)
-FUNC_START(_savegpr_16) stw 16,-64(11)
-FUNC_START(_savegpr_17) stw 17,-60(11)
-FUNC_START(_savegpr_18) stw 18,-56(11)
-FUNC_START(_savegpr_19) stw 19,-52(11)
-FUNC_START(_savegpr_20) stw 20,-48(11)
-FUNC_START(_savegpr_21) stw 21,-44(11)
-FUNC_START(_savegpr_22) stw 22,-40(11)
-FUNC_START(_savegpr_23) stw 23,-36(11)
-FUNC_START(_savegpr_24) stw 24,-32(11)
-FUNC_START(_savegpr_25) stw 25,-28(11)
-FUNC_START(_savegpr_26) stw 26,-24(11)
-FUNC_START(_savegpr_27) stw 27,-20(11)
-FUNC_START(_savegpr_28) stw 28,-16(11)
-FUNC_START(_savegpr_29) stw 29,-12(11)
-FUNC_START(_savegpr_30) stw 30,-8(11)
-FUNC_START(_savegpr_31) stw 31,-4(11)
+HIDDEN_FUNC(_savegpr_14) stw 14,-72(11) /* save gp registers */
+HIDDEN_FUNC(_savegpr_15) stw 15,-68(11)
+HIDDEN_FUNC(_savegpr_16) stw 16,-64(11)
+HIDDEN_FUNC(_savegpr_17) stw 17,-60(11)
+HIDDEN_FUNC(_savegpr_18) stw 18,-56(11)
+HIDDEN_FUNC(_savegpr_19) stw 19,-52(11)
+HIDDEN_FUNC(_savegpr_20) stw 20,-48(11)
+HIDDEN_FUNC(_savegpr_21) stw 21,-44(11)
+HIDDEN_FUNC(_savegpr_22) stw 22,-40(11)
+HIDDEN_FUNC(_savegpr_23) stw 23,-36(11)
+HIDDEN_FUNC(_savegpr_24) stw 24,-32(11)
+HIDDEN_FUNC(_savegpr_25) stw 25,-28(11)
+HIDDEN_FUNC(_savegpr_26) stw 26,-24(11)
+HIDDEN_FUNC(_savegpr_27) stw 27,-20(11)
+HIDDEN_FUNC(_savegpr_28) stw 28,-16(11)
+HIDDEN_FUNC(_savegpr_29) stw 29,-12(11)
+HIDDEN_FUNC(_savegpr_30) stw 30,-8(11)
+HIDDEN_FUNC(_savegpr_31) stw 31,-4(11)
blr
FUNC_END(_savegpr_31)
FUNC_END(_savegpr_30)
diff -Nurd gcc-4.3/gcc/config/rs6000/e500crtres32gpr.asm gcc-4.3-new/gcc/config/rs6000/e500crtres32gpr.asm
--- gcc-4.3/gcc/config/rs6000/e500crtres32gpr.asm 2008-10-01 14:50:54.000000000 +0200
+++ gcc-4.3-new/gcc/config/rs6000/e500crtres32gpr.asm 2008-10-18 12:44:16.000000000 +0200
@@ -43,24 +43,24 @@
/* Routines for restoring 32-bit integer registers, called by the compiler. */
/* "Bare" versions that simply return to their caller. */
-FUNC_START(_rest32gpr_14) lwz 14,-72(11)
-FUNC_START(_rest32gpr_15) lwz 15,-68(11)
-FUNC_START(_rest32gpr_16) lwz 16,-64(11)
-FUNC_START(_rest32gpr_17) lwz 17,-60(11)
-FUNC_START(_rest32gpr_18) lwz 18,-56(11)
-FUNC_START(_rest32gpr_19) lwz 19,-52(11)
-FUNC_START(_rest32gpr_20) lwz 20,-48(11)
-FUNC_START(_rest32gpr_21) lwz 21,-44(11)
-FUNC_START(_rest32gpr_22) lwz 22,-40(11)
-FUNC_START(_rest32gpr_23) lwz 23,-36(11)
-FUNC_START(_rest32gpr_24) lwz 24,-32(11)
-FUNC_START(_rest32gpr_25) lwz 25,-28(11)
-FUNC_START(_rest32gpr_26) lwz 26,-24(11)
-FUNC_START(_rest32gpr_27) lwz 27,-20(11)
-FUNC_START(_rest32gpr_28) lwz 28,-16(11)
-FUNC_START(_rest32gpr_29) lwz 29,-12(11)
-FUNC_START(_rest32gpr_30) lwz 30,-8(11)
-FUNC_START(_rest32gpr_31) lwz 31,-4(11)
+HIDDEN_FUNC(_rest32gpr_14) lwz 14,-72(11)
+HIDDEN_FUNC(_rest32gpr_15) lwz 15,-68(11)
+HIDDEN_FUNC(_rest32gpr_16) lwz 16,-64(11)
+HIDDEN_FUNC(_rest32gpr_17) lwz 17,-60(11)
+HIDDEN_FUNC(_rest32gpr_18) lwz 18,-56(11)
+HIDDEN_FUNC(_rest32gpr_19) lwz 19,-52(11)
+HIDDEN_FUNC(_rest32gpr_20) lwz 20,-48(11)
+HIDDEN_FUNC(_rest32gpr_21) lwz 21,-44(11)
+HIDDEN_FUNC(_rest32gpr_22) lwz 22,-40(11)
+HIDDEN_FUNC(_rest32gpr_23) lwz 23,-36(11)
+HIDDEN_FUNC(_rest32gpr_24) lwz 24,-32(11)
+HIDDEN_FUNC(_rest32gpr_25) lwz 25,-28(11)
+HIDDEN_FUNC(_rest32gpr_26) lwz 26,-24(11)
+HIDDEN_FUNC(_rest32gpr_27) lwz 27,-20(11)
+HIDDEN_FUNC(_rest32gpr_28) lwz 28,-16(11)
+HIDDEN_FUNC(_rest32gpr_29) lwz 29,-12(11)
+HIDDEN_FUNC(_rest32gpr_30) lwz 30,-8(11)
+HIDDEN_FUNC(_rest32gpr_31) lwz 31,-4(11)
blr
FUNC_END(_rest32gpr_31)
FUNC_END(_rest32gpr_30)
diff -Nurd gcc-4.3/gcc/config/rs6000/e500crtres64gpr.asm gcc-4.3-new/gcc/config/rs6000/e500crtres64gpr.asm
--- gcc-4.3/gcc/config/rs6000/e500crtres64gpr.asm 2008-10-01 14:50:54.000000000 +0200
+++ gcc-4.3-new/gcc/config/rs6000/e500crtres64gpr.asm 2008-10-18 12:44:16.000000000 +0200
@@ -43,24 +43,24 @@
/* Routines for restoring 64-bit integer registers, called by the compiler. */
/* "Bare" versions that return to their caller. */
-FUNC_START(_rest64gpr_14) evldd 14,0(11)
-FUNC_START(_rest64gpr_15) evldd 15,8(11)
-FUNC_START(_rest64gpr_16) evldd 16,16(11)
-FUNC_START(_rest64gpr_17) evldd 17,24(11)
-FUNC_START(_rest64gpr_18) evldd 18,32(11)
-FUNC_START(_rest64gpr_19) evldd 19,40(11)
-FUNC_START(_rest64gpr_20) evldd 20,48(11)
-FUNC_START(_rest64gpr_21) evldd 21,56(11)
-FUNC_START(_rest64gpr_22) evldd 22,64(11)
-FUNC_START(_rest64gpr_23) evldd 23,72(11)
-FUNC_START(_rest64gpr_24) evldd 24,80(11)
-FUNC_START(_rest64gpr_25) evldd 25,88(11)
-FUNC_START(_rest64gpr_26) evldd 26,96(11)
-FUNC_START(_rest64gpr_27) evldd 27,104(11)
-FUNC_START(_rest64gpr_28) evldd 28,112(11)
-FUNC_START(_rest64gpr_29) evldd 29,120(11)
-FUNC_START(_rest64gpr_30) evldd 30,128(11)
-FUNC_START(_rest64gpr_31) evldd 31,136(11)
+HIDDEN_FUNC(_rest64gpr_14) evldd 14,0(11)
+HIDDEN_FUNC(_rest64gpr_15) evldd 15,8(11)
+HIDDEN_FUNC(_rest64gpr_16) evldd 16,16(11)
+HIDDEN_FUNC(_rest64gpr_17) evldd 17,24(11)
+HIDDEN_FUNC(_rest64gpr_18) evldd 18,32(11)
+HIDDEN_FUNC(_rest64gpr_19) evldd 19,40(11)
+HIDDEN_FUNC(_rest64gpr_20) evldd 20,48(11)
+HIDDEN_FUNC(_rest64gpr_21) evldd 21,56(11)
+HIDDEN_FUNC(_rest64gpr_22) evldd 22,64(11)
+HIDDEN_FUNC(_rest64gpr_23) evldd 23,72(11)
+HIDDEN_FUNC(_rest64gpr_24) evldd 24,80(11)
+HIDDEN_FUNC(_rest64gpr_25) evldd 25,88(11)
+HIDDEN_FUNC(_rest64gpr_26) evldd 26,96(11)
+HIDDEN_FUNC(_rest64gpr_27) evldd 27,104(11)
+HIDDEN_FUNC(_rest64gpr_28) evldd 28,112(11)
+HIDDEN_FUNC(_rest64gpr_29) evldd 29,120(11)
+HIDDEN_FUNC(_rest64gpr_30) evldd 30,128(11)
+HIDDEN_FUNC(_rest64gpr_31) evldd 31,136(11)
blr
FUNC_END(_rest64gpr_31)
FUNC_END(_rest64gpr_30)
diff -Nurd gcc-4.3/gcc/config/rs6000/e500crtres64gprctr.asm gcc-4.3-new/gcc/config/rs6000/e500crtres64gprctr.asm
--- gcc-4.3/gcc/config/rs6000/e500crtres64gprctr.asm 2008-10-01 14:50:54.000000000 +0200
+++ gcc-4.3-new/gcc/config/rs6000/e500crtres64gprctr.asm 2008-10-18 12:44:16.000000000 +0200
@@ -43,41 +43,41 @@
/* Routines for restoring 64-bit integer registers where the number of
registers to be restored is passed in CTR, called by the compiler. */
-FUNC_START(_rest64gpr_ctr_14) evldd 14,0(11)
+HIDDEN_FUNC(_rest64gpr_ctr_14) evldd 14,0(11)
bdz _rest64_gpr_ctr_done
-FUNC_START(_rest64gpr_ctr_15) evldd 15,8(11)
+HIDDEN_FUNC(_rest64gpr_ctr_15) evldd 15,8(11)
bdz _rest64_gpr_ctr_done
-FUNC_START(_rest64gpr_ctr_16) evldd 16,16(11)
+HIDDEN_FUNC(_rest64gpr_ctr_16) evldd 16,16(11)
bdz _rest64_gpr_ctr_done
-FUNC_START(_rest64gpr_ctr_17) evldd 17,24(11)
+HIDDEN_FUNC(_rest64gpr_ctr_17) evldd 17,24(11)
bdz _rest64_gpr_ctr_done
-FUNC_START(_rest64gpr_ctr_18) evldd 18,32(11)
+HIDDEN_FUNC(_rest64gpr_ctr_18) evldd 18,32(11)
bdz _rest64_gpr_ctr_done
-FUNC_START(_rest64gpr_ctr_19) evldd 19,40(11)
+HIDDEN_FUNC(_rest64gpr_ctr_19) evldd 19,40(11)
bdz _rest64_gpr_ctr_done
-FUNC_START(_rest64gpr_ctr_20) evldd 20,48(11)
+HIDDEN_FUNC(_rest64gpr_ctr_20) evldd 20,48(11)
bdz _rest64_gpr_ctr_done
-FUNC_START(_rest64gpr_ctr_21) evldd 21,56(11)
+HIDDEN_FUNC(_rest64gpr_ctr_21) evldd 21,56(11)
bdz _rest64_gpr_ctr_done
-FUNC_START(_rest64gpr_ctr_22) evldd 22,64(11)
+HIDDEN_FUNC(_rest64gpr_ctr_22) evldd 22,64(11)
bdz _rest64_gpr_ctr_done
-FUNC_START(_rest64gpr_ctr_23) evldd 23,72(11)
+HIDDEN_FUNC(_rest64gpr_ctr_23) evldd 23,72(11)
bdz _rest64_gpr_ctr_done
-FUNC_START(_rest64gpr_ctr_24) evldd 24,80(11)
+HIDDEN_FUNC(_rest64gpr_ctr_24) evldd 24,80(11)
bdz _rest64_gpr_ctr_done
-FUNC_START(_rest64gpr_ctr_25) evldd 25,88(11)
+HIDDEN_FUNC(_rest64gpr_ctr_25) evldd 25,88(11)
bdz _rest64_gpr_ctr_done
-FUNC_START(_rest64gpr_ctr_26) evldd 26,96(11)
+HIDDEN_FUNC(_rest64gpr_ctr_26) evldd 26,96(11)
bdz _rest64_gpr_ctr_done
-FUNC_START(_rest64gpr_ctr_27) evldd 27,104(11)
+HIDDEN_FUNC(_rest64gpr_ctr_27) evldd 27,104(11)
bdz _rest64_gpr_ctr_done
-FUNC_START(_rest64gpr_ctr_28) evldd 28,112(11)
+HIDDEN_FUNC(_rest64gpr_ctr_28) evldd 28,112(11)
bdz _rest64_gpr_ctr_done
-FUNC_START(_rest64gpr_ctr_29) evldd 29,120(11)
+HIDDEN_FUNC(_rest64gpr_ctr_29) evldd 29,120(11)
bdz _rest64_gpr_ctr_done
-FUNC_START(_rest64gpr_ctr_30) evldd 30,128(11)
+HIDDEN_FUNC(_rest64gpr_ctr_30) evldd 30,128(11)
bdz _rest64_gpr_ctr_done
-FUNC_START(_rest64gpr_ctr_31) evldd 31,136(11)
+HIDDEN_FUNC(_rest64gpr_ctr_31) evldd 31,136(11)
_rest64gpr_ctr_done: blr
#endif
diff -Nurd gcc-4.3/gcc/config/rs6000/e500crtrest32gpr.asm gcc-4.3-new/gcc/config/rs6000/e500crtrest32gpr.asm
--- gcc-4.3/gcc/config/rs6000/e500crtrest32gpr.asm 2008-10-01 14:50:54.000000000 +0200
+++ gcc-4.3-new/gcc/config/rs6000/e500crtrest32gpr.asm 2008-10-18 12:44:16.000000000 +0200
@@ -43,24 +43,24 @@
/* Routines for restoring 32-bit integer registers, called by the compiler. */
/* "Tail" versions that perform a tail call. */
-FUNC_START(_rest32gpr_14_t) lwz 14,-72(11)
-FUNC_START(_rest32gpr_15_t) lwz 15,-68(11)
-FUNC_START(_rest32gpr_16_t) lwz 16,-64(11)
-FUNC_START(_rest32gpr_17_t) lwz 17,-60(11)
-FUNC_START(_rest32gpr_18_t) lwz 18,-56(11)
-FUNC_START(_rest32gpr_19_t) lwz 19,-52(11)
-FUNC_START(_rest32gpr_20_t) lwz 20,-48(11)
-FUNC_START(_rest32gpr_21_t) lwz 21,-44(11)
-FUNC_START(_rest32gpr_22_t) lwz 22,-40(11)
-FUNC_START(_rest32gpr_23_t) lwz 23,-36(11)
-FUNC_START(_rest32gpr_24_t) lwz 24,-32(11)
-FUNC_START(_rest32gpr_25_t) lwz 25,-28(11)
-FUNC_START(_rest32gpr_26_t) lwz 26,-24(11)
-FUNC_START(_rest32gpr_27_t) lwz 27,-20(11)
-FUNC_START(_rest32gpr_28_t) lwz 28,-16(11)
-FUNC_START(_rest32gpr_29_t) lwz 29,-12(11)
-FUNC_START(_rest32gpr_30_t) lwz 30,-8(11)
-FUNC_START(_rest32gpr_31_t) lwz 31,-4(11)
+HIDDEN_FUNC(_rest32gpr_14_t) lwz 14,-72(11)
+HIDDEN_FUNC(_rest32gpr_15_t) lwz 15,-68(11)
+HIDDEN_FUNC(_rest32gpr_16_t) lwz 16,-64(11)
+HIDDEN_FUNC(_rest32gpr_17_t) lwz 17,-60(11)
+HIDDEN_FUNC(_rest32gpr_18_t) lwz 18,-56(11)
+HIDDEN_FUNC(_rest32gpr_19_t) lwz 19,-52(11)
+HIDDEN_FUNC(_rest32gpr_20_t) lwz 20,-48(11)
+HIDDEN_FUNC(_rest32gpr_21_t) lwz 21,-44(11)
+HIDDEN_FUNC(_rest32gpr_22_t) lwz 22,-40(11)
+HIDDEN_FUNC(_rest32gpr_23_t) lwz 23,-36(11)
+HIDDEN_FUNC(_rest32gpr_24_t) lwz 24,-32(11)
+HIDDEN_FUNC(_rest32gpr_25_t) lwz 25,-28(11)
+HIDDEN_FUNC(_rest32gpr_26_t) lwz 26,-24(11)
+HIDDEN_FUNC(_rest32gpr_27_t) lwz 27,-20(11)
+HIDDEN_FUNC(_rest32gpr_28_t) lwz 28,-16(11)
+HIDDEN_FUNC(_rest32gpr_29_t) lwz 29,-12(11)
+HIDDEN_FUNC(_rest32gpr_30_t) lwz 30,-8(11)
+HIDDEN_FUNC(_rest32gpr_31_t) lwz 31,-4(11)
lwz 0,4(11)
mr 1,11
blr
diff -Nurd gcc-4.3/gcc/config/rs6000/e500crtrest64gpr.asm gcc-4.3-new/gcc/config/rs6000/e500crtrest64gpr.asm
--- gcc-4.3/gcc/config/rs6000/e500crtrest64gpr.asm 2008-10-01 14:50:54.000000000 +0200
+++ gcc-4.3-new/gcc/config/rs6000/e500crtrest64gpr.asm 2008-10-18 12:44:16.000000000 +0200
@@ -42,24 +42,24 @@
/* "Tail" versions that perform a tail call. */
-FUNC_START(_rest64gpr_14_t) evldd 14,0(11)
-FUNC_START(_rest64gpr_15_t) evldd 15,8(11)
-FUNC_START(_rest64gpr_16_t) evldd 16,16(11)
-FUNC_START(_rest64gpr_17_t) evldd 17,24(11)
-FUNC_START(_rest64gpr_18_t) evldd 18,32(11)
-FUNC_START(_rest64gpr_19_t) evldd 19,40(11)
-FUNC_START(_rest64gpr_20_t) evldd 20,48(11)
-FUNC_START(_rest64gpr_21_t) evldd 21,56(11)
-FUNC_START(_rest64gpr_22_t) evldd 22,64(11)
-FUNC_START(_rest64gpr_23_t) evldd 23,72(11)
-FUNC_START(_rest64gpr_24_t) evldd 24,80(11)
-FUNC_START(_rest64gpr_25_t) evldd 25,88(11)
-FUNC_START(_rest64gpr_26_t) evldd 26,96(11)
-FUNC_START(_rest64gpr_27_t) evldd 27,104(11)
-FUNC_START(_rest64gpr_28_t) evldd 28,112(11)
-FUNC_START(_rest64gpr_29_t) evldd 29,120(11)
-FUNC_START(_rest64gpr_30_t) evldd 30,128(11)
-FUNC_START(_rest64gpr_31_t) lwz 0,148(11)
+HIDDEN_FUNC(_rest64gpr_14_t) evldd 14,0(11)
+HIDDEN_FUNC(_rest64gpr_15_t) evldd 15,8(11)
+HIDDEN_FUNC(_rest64gpr_16_t) evldd 16,16(11)
+HIDDEN_FUNC(_rest64gpr_17_t) evldd 17,24(11)
+HIDDEN_FUNC(_rest64gpr_18_t) evldd 18,32(11)
+HIDDEN_FUNC(_rest64gpr_19_t) evldd 19,40(11)
+HIDDEN_FUNC(_rest64gpr_20_t) evldd 20,48(11)
+HIDDEN_FUNC(_rest64gpr_21_t) evldd 21,56(11)
+HIDDEN_FUNC(_rest64gpr_22_t) evldd 22,64(11)
+HIDDEN_FUNC(_rest64gpr_23_t) evldd 23,72(11)
+HIDDEN_FUNC(_rest64gpr_24_t) evldd 24,80(11)
+HIDDEN_FUNC(_rest64gpr_25_t) evldd 25,88(11)
+HIDDEN_FUNC(_rest64gpr_26_t) evldd 26,96(11)
+HIDDEN_FUNC(_rest64gpr_27_t) evldd 27,104(11)
+HIDDEN_FUNC(_rest64gpr_28_t) evldd 28,112(11)
+HIDDEN_FUNC(_rest64gpr_29_t) evldd 29,120(11)
+HIDDEN_FUNC(_rest64gpr_30_t) evldd 30,128(11)
+HIDDEN_FUNC(_rest64gpr_31_t) lwz 0,148(11)
evldd 31,136(11)
addi 1,11,144
blr
diff -Nurd gcc-4.3/gcc/config/rs6000/e500crtresx32gpr.asm gcc-4.3-new/gcc/config/rs6000/e500crtresx32gpr.asm
--- gcc-4.3/gcc/config/rs6000/e500crtresx32gpr.asm 2008-10-01 14:50:54.000000000 +0200
+++ gcc-4.3-new/gcc/config/rs6000/e500crtresx32gpr.asm 2008-10-18 12:44:16.000000000 +0200
@@ -43,24 +43,24 @@
/* Routines for restoring 32-bit integer registers, called by the compiler. */
/* "Exit" versions that return to the caller's caller. */
-FUNC_START(_rest32gpr_14_x) lwz 14,-72(11)
-FUNC_START(_rest32gpr_15_x) lwz 15,-68(11)
-FUNC_START(_rest32gpr_16_x) lwz 16,-64(11)
-FUNC_START(_rest32gpr_17_x) lwz 17,-60(11)
-FUNC_START(_rest32gpr_18_x) lwz 18,-56(11)
-FUNC_START(_rest32gpr_19_x) lwz 19,-52(11)
-FUNC_START(_rest32gpr_20_x) lwz 20,-48(11)
-FUNC_START(_rest32gpr_21_x) lwz 21,-44(11)
-FUNC_START(_rest32gpr_22_x) lwz 22,-40(11)
-FUNC_START(_rest32gpr_23_x) lwz 23,-36(11)
-FUNC_START(_rest32gpr_24_x) lwz 24,-32(11)
-FUNC_START(_rest32gpr_25_x) lwz 25,-28(11)
-FUNC_START(_rest32gpr_26_x) lwz 26,-24(11)
-FUNC_START(_rest32gpr_27_x) lwz 27,-20(11)
-FUNC_START(_rest32gpr_28_x) lwz 28,-16(11)
-FUNC_START(_rest32gpr_29_x) lwz 29,-12(11)
-FUNC_START(_rest32gpr_30_x) lwz 30,-8(11)
-FUNC_START(_rest32gpr_31_x) lwz 0,4(11)
+HIDDEN_FUNC(_rest32gpr_14_x) lwz 14,-72(11)
+HIDDEN_FUNC(_rest32gpr_15_x) lwz 15,-68(11)
+HIDDEN_FUNC(_rest32gpr_16_x) lwz 16,-64(11)
+HIDDEN_FUNC(_rest32gpr_17_x) lwz 17,-60(11)
+HIDDEN_FUNC(_rest32gpr_18_x) lwz 18,-56(11)
+HIDDEN_FUNC(_rest32gpr_19_x) lwz 19,-52(11)
+HIDDEN_FUNC(_rest32gpr_20_x) lwz 20,-48(11)
+HIDDEN_FUNC(_rest32gpr_21_x) lwz 21,-44(11)
+HIDDEN_FUNC(_rest32gpr_22_x) lwz 22,-40(11)
+HIDDEN_FUNC(_rest32gpr_23_x) lwz 23,-36(11)
+HIDDEN_FUNC(_rest32gpr_24_x) lwz 24,-32(11)
+HIDDEN_FUNC(_rest32gpr_25_x) lwz 25,-28(11)
+HIDDEN_FUNC(_rest32gpr_26_x) lwz 26,-24(11)
+HIDDEN_FUNC(_rest32gpr_27_x) lwz 27,-20(11)
+HIDDEN_FUNC(_rest32gpr_28_x) lwz 28,-16(11)
+HIDDEN_FUNC(_rest32gpr_29_x) lwz 29,-12(11)
+HIDDEN_FUNC(_rest32gpr_30_x) lwz 30,-8(11)
+HIDDEN_FUNC(_rest32gpr_31_x) lwz 0,4(11)
lwz 31,-4(11)
mr 1,11
mtlr 0
diff -Nurd gcc-4.3/gcc/config/rs6000/e500crtresx64gpr.asm gcc-4.3-new/gcc/config/rs6000/e500crtresx64gpr.asm
--- gcc-4.3/gcc/config/rs6000/e500crtresx64gpr.asm 2008-10-01 14:50:54.000000000 +0200
+++ gcc-4.3-new/gcc/config/rs6000/e500crtresx64gpr.asm 2008-10-18 12:44:16.000000000 +0200
@@ -42,24 +42,24 @@
/* "Exit" versions that return to their caller's caller. */
-FUNC_START(_rest64gpr_14_x) evldd 14,0(11)
-FUNC_START(_rest64gpr_15_x) evldd 15,8(11)
-FUNC_START(_rest64gpr_16_x) evldd 16,16(11)
-FUNC_START(_rest64gpr_17_x) evldd 17,24(11)
-FUNC_START(_rest64gpr_18_x) evldd 18,32(11)
-FUNC_START(_rest64gpr_19_x) evldd 19,40(11)
-FUNC_START(_rest64gpr_20_x) evldd 20,48(11)
-FUNC_START(_rest64gpr_21_x) evldd 21,56(11)
-FUNC_START(_rest64gpr_22_x) evldd 22,64(11)
-FUNC_START(_rest64gpr_23_x) evldd 23,72(11)
-FUNC_START(_rest64gpr_24_x) evldd 24,80(11)
-FUNC_START(_rest64gpr_25_x) evldd 25,88(11)
-FUNC_START(_rest64gpr_26_x) evldd 26,96(11)
-FUNC_START(_rest64gpr_27_x) evldd 27,104(11)
-FUNC_START(_rest64gpr_28_x) evldd 28,112(11)
-FUNC_START(_rest64gpr_29_x) evldd 29,120(11)
-FUNC_START(_rest64gpr_30_x) evldd 30,128(11)
-FUNC_START(_rest64gpr_31_x) lwz 0,148(11)
+HIDDEN_FUNC(_rest64gpr_14_x) evldd 14,0(11)
+HIDDEN_FUNC(_rest64gpr_15_x) evldd 15,8(11)
+HIDDEN_FUNC(_rest64gpr_16_x) evldd 16,16(11)
+HIDDEN_FUNC(_rest64gpr_17_x) evldd 17,24(11)
+HIDDEN_FUNC(_rest64gpr_18_x) evldd 18,32(11)
+HIDDEN_FUNC(_rest64gpr_19_x) evldd 19,40(11)
+HIDDEN_FUNC(_rest64gpr_20_x) evldd 20,48(11)
+HIDDEN_FUNC(_rest64gpr_21_x) evldd 21,56(11)
+HIDDEN_FUNC(_rest64gpr_22_x) evldd 22,64(11)
+HIDDEN_FUNC(_rest64gpr_23_x) evldd 23,72(11)
+HIDDEN_FUNC(_rest64gpr_24_x) evldd 24,80(11)
+HIDDEN_FUNC(_rest64gpr_25_x) evldd 25,88(11)
+HIDDEN_FUNC(_rest64gpr_26_x) evldd 26,96(11)
+HIDDEN_FUNC(_rest64gpr_27_x) evldd 27,104(11)
+HIDDEN_FUNC(_rest64gpr_28_x) evldd 28,112(11)
+HIDDEN_FUNC(_rest64gpr_29_x) evldd 29,120(11)
+HIDDEN_FUNC(_rest64gpr_30_x) evldd 30,128(11)
+HIDDEN_FUNC(_rest64gpr_31_x) lwz 0,148(11)
evldd 31,136(11)
addi 1,11,144
mtlr 0
diff -Nurd gcc-4.3/gcc/config/rs6000/e500crtsav32gpr.asm gcc-4.3-new/gcc/config/rs6000/e500crtsav32gpr.asm
--- gcc-4.3/gcc/config/rs6000/e500crtsav32gpr.asm 2008-10-01 14:50:54.000000000 +0200
+++ gcc-4.3-new/gcc/config/rs6000/e500crtsav32gpr.asm 2008-10-18 12:44:16.000000000 +0200
@@ -43,24 +43,24 @@
/* Routines for saving 32-bit integer registers, called by the compiler. */
/* "Bare" versions that simply return to their caller. */
-FUNC_START(_save32gpr_14) stw 14,-72(11)
-FUNC_START(_save32gpr_15) stw 15,-68(11)
-FUNC_START(_save32gpr_16) stw 16,-64(11)
-FUNC_START(_save32gpr_17) stw 17,-60(11)
-FUNC_START(_save32gpr_18) stw 18,-56(11)
-FUNC_START(_save32gpr_19) stw 19,-52(11)
-FUNC_START(_save32gpr_20) stw 20,-48(11)
-FUNC_START(_save32gpr_21) stw 21,-44(11)
-FUNC_START(_save32gpr_22) stw 22,-40(11)
-FUNC_START(_save32gpr_23) stw 23,-36(11)
-FUNC_START(_save32gpr_24) stw 24,-32(11)
-FUNC_START(_save32gpr_25) stw 25,-28(11)
-FUNC_START(_save32gpr_26) stw 26,-24(11)
-FUNC_START(_save32gpr_27) stw 27,-20(11)
-FUNC_START(_save32gpr_28) stw 28,-16(11)
-FUNC_START(_save32gpr_29) stw 29,-12(11)
-FUNC_START(_save32gpr_30) stw 30,-8(11)
-FUNC_START(_save32gpr_31) stw 31,-4(11)
+HIDDEN_FUNC(_save32gpr_14) stw 14,-72(11)
+HIDDEN_FUNC(_save32gpr_15) stw 15,-68(11)
+HIDDEN_FUNC(_save32gpr_16) stw 16,-64(11)
+HIDDEN_FUNC(_save32gpr_17) stw 17,-60(11)
+HIDDEN_FUNC(_save32gpr_18) stw 18,-56(11)
+HIDDEN_FUNC(_save32gpr_19) stw 19,-52(11)
+HIDDEN_FUNC(_save32gpr_20) stw 20,-48(11)
+HIDDEN_FUNC(_save32gpr_21) stw 21,-44(11)
+HIDDEN_FUNC(_save32gpr_22) stw 22,-40(11)
+HIDDEN_FUNC(_save32gpr_23) stw 23,-36(11)
+HIDDEN_FUNC(_save32gpr_24) stw 24,-32(11)
+HIDDEN_FUNC(_save32gpr_25) stw 25,-28(11)
+HIDDEN_FUNC(_save32gpr_26) stw 26,-24(11)
+HIDDEN_FUNC(_save32gpr_27) stw 27,-20(11)
+HIDDEN_FUNC(_save32gpr_28) stw 28,-16(11)
+HIDDEN_FUNC(_save32gpr_29) stw 29,-12(11)
+HIDDEN_FUNC(_save32gpr_30) stw 30,-8(11)
+HIDDEN_FUNC(_save32gpr_31) stw 31,-4(11)
blr
FUNC_END(_save32gpr_31)
FUNC_END(_save32gpr_30)
diff -Nurd gcc-4.3/gcc/config/rs6000/e500crtsav64gpr.asm gcc-4.3-new/gcc/config/rs6000/e500crtsav64gpr.asm
--- gcc-4.3/gcc/config/rs6000/e500crtsav64gpr.asm 2008-10-01 14:50:54.000000000 +0200
+++ gcc-4.3-new/gcc/config/rs6000/e500crtsav64gpr.asm 2008-10-18 12:44:16.000000000 +0200
@@ -42,24 +42,24 @@
/* Routines for saving 64-bit integer registers, called by the compiler. */
-FUNC_START(_save64gpr_14) evstdd 14,0(11)
-FUNC_START(_save64gpr_15) evstdd 15,8(11)
-FUNC_START(_save64gpr_16) evstdd 16,16(11)
-FUNC_START(_save64gpr_17) evstdd 17,24(11)
-FUNC_START(_save64gpr_18) evstdd 18,32(11)
-FUNC_START(_save64gpr_19) evstdd 19,40(11)
-FUNC_START(_save64gpr_20) evstdd 20,48(11)
-FUNC_START(_save64gpr_21) evstdd 21,56(11)
-FUNC_START(_save64gpr_22) evstdd 22,64(11)
-FUNC_START(_save64gpr_23) evstdd 23,72(11)
-FUNC_START(_save64gpr_24) evstdd 24,80(11)
-FUNC_START(_save64gpr_25) evstdd 25,88(11)
-FUNC_START(_save64gpr_26) evstdd 26,96(11)
-FUNC_START(_save64gpr_27) evstdd 27,104(11)
-FUNC_START(_save64gpr_28) evstdd 28,112(11)
-FUNC_START(_save64gpr_29) evstdd 29,120(11)
-FUNC_START(_save64gpr_30) evstdd 30,128(11)
-FUNC_START(_save64gpr_31) evstdd 31,136(11)
+HIDDEN_FUNC(_save64gpr_14) evstdd 14,0(11)
+HIDDEN_FUNC(_save64gpr_15) evstdd 15,8(11)
+HIDDEN_FUNC(_save64gpr_16) evstdd 16,16(11)
+HIDDEN_FUNC(_save64gpr_17) evstdd 17,24(11)
+HIDDEN_FUNC(_save64gpr_18) evstdd 18,32(11)
+HIDDEN_FUNC(_save64gpr_19) evstdd 19,40(11)
+HIDDEN_FUNC(_save64gpr_20) evstdd 20,48(11)
+HIDDEN_FUNC(_save64gpr_21) evstdd 21,56(11)
+HIDDEN_FUNC(_save64gpr_22) evstdd 22,64(11)
+HIDDEN_FUNC(_save64gpr_23) evstdd 23,72(11)
+HIDDEN_FUNC(_save64gpr_24) evstdd 24,80(11)
+HIDDEN_FUNC(_save64gpr_25) evstdd 25,88(11)
+HIDDEN_FUNC(_save64gpr_26) evstdd 26,96(11)
+HIDDEN_FUNC(_save64gpr_27) evstdd 27,104(11)
+HIDDEN_FUNC(_save64gpr_28) evstdd 28,112(11)
+HIDDEN_FUNC(_save64gpr_29) evstdd 29,120(11)
+HIDDEN_FUNC(_save64gpr_30) evstdd 30,128(11)
+HIDDEN_FUNC(_save64gpr_31) evstdd 31,136(11)
blr
FUNC_END(_save64gpr_31)
FUNC_END(_save64gpr_30)
diff -Nurd gcc-4.3/gcc/config/rs6000/e500crtsav64gprctr.asm gcc-4.3-new/gcc/config/rs6000/e500crtsav64gprctr.asm
--- gcc-4.3/gcc/config/rs6000/e500crtsav64gprctr.asm 2008-10-01 14:50:54.000000000 +0200
+++ gcc-4.3-new/gcc/config/rs6000/e500crtsav64gprctr.asm 2008-10-18 12:44:16.000000000 +0200
@@ -44,41 +44,41 @@
registers to be saved is passed in CTR, called by the compiler. */
/* "Bare" versions that return to their caller. */
-FUNC_START(_save64gpr_ctr_14) evstdd 14,0(11)
+HIDDEN_FUNC(_save64gpr_ctr_14) evstdd 14,0(11)
bdz _save64_gpr_ctr_done
-FUNC_START(_save64gpr_ctr_15) evstdd 15,8(11)
+HIDDEN_FUNC(_save64gpr_ctr_15) evstdd 15,8(11)
bdz _save64_gpr_ctr_done
-FUNC_START(_save64gpr_ctr_16) evstdd 16,16(11)
+HIDDEN_FUNC(_save64gpr_ctr_16) evstdd 16,16(11)
bdz _save64_gpr_ctr_done
-FUNC_START(_save64gpr_ctr_17) evstdd 17,24(11)
+HIDDEN_FUNC(_save64gpr_ctr_17) evstdd 17,24(11)
bdz _save64_gpr_ctr_done
-FUNC_START(_save64gpr_ctr_18) evstdd 18,32(11)
+HIDDEN_FUNC(_save64gpr_ctr_18) evstdd 18,32(11)
bdz _save64_gpr_ctr_done
-FUNC_START(_save64gpr_ctr_19) evstdd 19,40(11)
+HIDDEN_FUNC(_save64gpr_ctr_19) evstdd 19,40(11)
bdz _save64_gpr_ctr_done
-FUNC_START(_save64gpr_ctr_20) evstdd 20,48(11)
+HIDDEN_FUNC(_save64gpr_ctr_20) evstdd 20,48(11)
bdz _save64_gpr_ctr_done
-FUNC_START(_save64gpr_ctr_21) evstdd 21,56(11)
+HIDDEN_FUNC(_save64gpr_ctr_21) evstdd 21,56(11)
bdz _save64_gpr_ctr_done
-FUNC_START(_save64gpr_ctr_22) evstdd 22,64(11)
+HIDDEN_FUNC(_save64gpr_ctr_22) evstdd 22,64(11)
bdz _save64_gpr_ctr_done
-FUNC_START(_save64gpr_ctr_23) evstdd 23,72(11)
+HIDDEN_FUNC(_save64gpr_ctr_23) evstdd 23,72(11)
bdz _save64_gpr_ctr_done
-FUNC_START(_save64gpr_ctr_24) evstdd 24,80(11)
+HIDDEN_FUNC(_save64gpr_ctr_24) evstdd 24,80(11)
bdz _save64_gpr_ctr_done
-FUNC_START(_save64gpr_ctr_25) evstdd 25,88(11)
+HIDDEN_FUNC(_save64gpr_ctr_25) evstdd 25,88(11)
bdz _save64_gpr_ctr_done
-FUNC_START(_save64gpr_ctr_26) evstdd 26,96(11)
+HIDDEN_FUNC(_save64gpr_ctr_26) evstdd 26,96(11)
bdz _save64_gpr_ctr_done
-FUNC_START(_save64gpr_ctr_27) evstdd 27,104(11)
+HIDDEN_FUNC(_save64gpr_ctr_27) evstdd 27,104(11)
bdz _save64_gpr_ctr_done
-FUNC_START(_save64gpr_ctr_28) evstdd 28,112(11)
+HIDDEN_FUNC(_save64gpr_ctr_28) evstdd 28,112(11)
bdz _save64_gpr_ctr_done
-FUNC_START(_save64gpr_ctr_29) evstdd 29,120(11)
+HIDDEN_FUNC(_save64gpr_ctr_29) evstdd 29,120(11)
bdz _save64_gpr_ctr_done
-FUNC_START(_save64gpr_ctr_30) evstdd 30,128(11)
+HIDDEN_FUNC(_save64gpr_ctr_30) evstdd 30,128(11)
bdz _save64_gpr_ctr_done
-FUNC_START(_save64gpr_ctr_31) evstdd 31,136(11)
+HIDDEN_FUNC(_save64gpr_ctr_31) evstdd 31,136(11)
_save64gpr_ctr_done: blr
FUNC_END(_save64gpr_ctr_31)
FUNC_END(_save64gpr_ctr_30)
diff -Nurd gcc-4.3/gcc/config/rs6000/e500crtsavg32gpr.asm gcc-4.3-new/gcc/config/rs6000/e500crtsavg32gpr.asm
--- gcc-4.3/gcc/config/rs6000/e500crtsavg32gpr.asm 2008-10-01 14:50:54.000000000 +0200
+++ gcc-4.3-new/gcc/config/rs6000/e500crtsavg32gpr.asm 2008-10-18 12:44:16.000000000 +0200
@@ -43,24 +43,24 @@
/* Routines for saving 32-bit integer registers, called by the compiler. */
/* "GOT" versions that load the address of the GOT into lr before returning. */
-FUNC_START(_save32gpr_14_g) stw 14,-72(11)
-FUNC_START(_save32gpr_15_g) stw 15,-68(11)
-FUNC_START(_save32gpr_16_g) stw 16,-64(11)
-FUNC_START(_save32gpr_17_g) stw 17,-60(11)
-FUNC_START(_save32gpr_18_g) stw 18,-56(11)
-FUNC_START(_save32gpr_19_g) stw 19,-52(11)
-FUNC_START(_save32gpr_20_g) stw 20,-48(11)
-FUNC_START(_save32gpr_21_g) stw 21,-44(11)
-FUNC_START(_save32gpr_22_g) stw 22,-40(11)
-FUNC_START(_save32gpr_23_g) stw 23,-36(11)
-FUNC_START(_save32gpr_24_g) stw 24,-32(11)
-FUNC_START(_save32gpr_25_g) stw 25,-28(11)
-FUNC_START(_save32gpr_26_g) stw 26,-24(11)
-FUNC_START(_save32gpr_27_g) stw 27,-20(11)
-FUNC_START(_save32gpr_28_g) stw 28,-16(11)
-FUNC_START(_save32gpr_29_g) stw 29,-12(11)
-FUNC_START(_save32gpr_30_g) stw 30,-8(11)
-FUNC_START(_save32gpr_31_g) stw 31,-4(11)
+HIDDEN_FUNC(_save32gpr_14_g) stw 14,-72(11)
+HIDDEN_FUNC(_save32gpr_15_g) stw 15,-68(11)
+HIDDEN_FUNC(_save32gpr_16_g) stw 16,-64(11)
+HIDDEN_FUNC(_save32gpr_17_g) stw 17,-60(11)
+HIDDEN_FUNC(_save32gpr_18_g) stw 18,-56(11)
+HIDDEN_FUNC(_save32gpr_19_g) stw 19,-52(11)
+HIDDEN_FUNC(_save32gpr_20_g) stw 20,-48(11)
+HIDDEN_FUNC(_save32gpr_21_g) stw 21,-44(11)
+HIDDEN_FUNC(_save32gpr_22_g) stw 22,-40(11)
+HIDDEN_FUNC(_save32gpr_23_g) stw 23,-36(11)
+HIDDEN_FUNC(_save32gpr_24_g) stw 24,-32(11)
+HIDDEN_FUNC(_save32gpr_25_g) stw 25,-28(11)
+HIDDEN_FUNC(_save32gpr_26_g) stw 26,-24(11)
+HIDDEN_FUNC(_save32gpr_27_g) stw 27,-20(11)
+HIDDEN_FUNC(_save32gpr_28_g) stw 28,-16(11)
+HIDDEN_FUNC(_save32gpr_29_g) stw 29,-12(11)
+HIDDEN_FUNC(_save32gpr_30_g) stw 30,-8(11)
+HIDDEN_FUNC(_save32gpr_31_g) stw 31,-4(11)
b _GLOBAL_OFFSET_TABLE_-4
FUNC_END(_save32gpr_31_g)
FUNC_END(_save32gpr_30_g)
diff -Nurd gcc-4.3/gcc/config/rs6000/e500crtsavg64gpr.asm gcc-4.3-new/gcc/config/rs6000/e500crtsavg64gpr.asm
--- gcc-4.3/gcc/config/rs6000/e500crtsavg64gpr.asm 2008-10-01 14:50:54.000000000 +0200
+++ gcc-4.3-new/gcc/config/rs6000/e500crtsavg64gpr.asm 2008-10-18 12:44:16.000000000 +0200
@@ -43,24 +43,24 @@
/* Routines for saving 64-bit integer registers, called by the compiler. */
/* "GOT" versions that load the address of the GOT into lr before returning. */
-FUNC_START(_save64gpr_14_g) evstdd 14,0(11)
-FUNC_START(_save64gpr_15_g) evstdd 15,8(11)
-FUNC_START(_save64gpr_16_g) evstdd 16,16(11)
-FUNC_START(_save64gpr_17_g) evstdd 17,24(11)
-FUNC_START(_save64gpr_18_g) evstdd 18,32(11)
-FUNC_START(_save64gpr_19_g) evstdd 19,40(11)
-FUNC_START(_save64gpr_20_g) evstdd 20,48(11)
-FUNC_START(_save64gpr_21_g) evstdd 21,56(11)
-FUNC_START(_save64gpr_22_g) evstdd 22,64(11)
-FUNC_START(_save64gpr_23_g) evstdd 23,72(11)
-FUNC_START(_save64gpr_24_g) evstdd 24,80(11)
-FUNC_START(_save64gpr_25_g) evstdd 25,88(11)
-FUNC_START(_save64gpr_26_g) evstdd 26,96(11)
-FUNC_START(_save64gpr_27_g) evstdd 27,104(11)
-FUNC_START(_save64gpr_28_g) evstdd 28,112(11)
-FUNC_START(_save64gpr_29_g) evstdd 29,120(11)
-FUNC_START(_save64gpr_30_g) evstdd 30,128(11)
-FUNC_START(_save64gpr_31_g) evstdd 31,136(11)
+HIDDEN_FUNC(_save64gpr_14_g) evstdd 14,0(11)
+HIDDEN_FUNC(_save64gpr_15_g) evstdd 15,8(11)
+HIDDEN_FUNC(_save64gpr_16_g) evstdd 16,16(11)
+HIDDEN_FUNC(_save64gpr_17_g) evstdd 17,24(11)
+HIDDEN_FUNC(_save64gpr_18_g) evstdd 18,32(11)
+HIDDEN_FUNC(_save64gpr_19_g) evstdd 19,40(11)
+HIDDEN_FUNC(_save64gpr_20_g) evstdd 20,48(11)
+HIDDEN_FUNC(_save64gpr_21_g) evstdd 21,56(11)
+HIDDEN_FUNC(_save64gpr_22_g) evstdd 22,64(11)
+HIDDEN_FUNC(_save64gpr_23_g) evstdd 23,72(11)
+HIDDEN_FUNC(_save64gpr_24_g) evstdd 24,80(11)
+HIDDEN_FUNC(_save64gpr_25_g) evstdd 25,88(11)
+HIDDEN_FUNC(_save64gpr_26_g) evstdd 26,96(11)
+HIDDEN_FUNC(_save64gpr_27_g) evstdd 27,104(11)
+HIDDEN_FUNC(_save64gpr_28_g) evstdd 28,112(11)
+HIDDEN_FUNC(_save64gpr_29_g) evstdd 29,120(11)
+HIDDEN_FUNC(_save64gpr_30_g) evstdd 30,128(11)
+HIDDEN_FUNC(_save64gpr_31_g) evstdd 31,136(11)
b _GLOBAL_OFFSET_TABLE_-4
FUNC_END(_save64gpr_31_g)
FUNC_END(_save64gpr_30_g)
diff -Nurd gcc-4.3/gcc/config/rs6000/e500crtsavg64gprctr.asm gcc-4.3-new/gcc/config/rs6000/e500crtsavg64gprctr.asm
--- gcc-4.3/gcc/config/rs6000/e500crtsavg64gprctr.asm 2008-10-01 14:50:54.000000000 +0200
+++ gcc-4.3-new/gcc/config/rs6000/e500crtsavg64gprctr.asm 2008-10-18 12:44:16.000000000 +0200
@@ -43,41 +43,41 @@
/* Routines for saving 64-bit integer registers, called by the compiler. */
/* "GOT" versions that load the address of the GOT into lr before returning. */
-FUNC_START(_save64gpr_ctr_14_g) evstdd 14,0(11)
+HIDDEN_FUNC(_save64gpr_ctr_14_g) evstdd 14,0(11)
bdz _save64_gpr_ctr_g_done
-FUNC_START(_save64gpr_ctr_15_g) evstdd 15,8(11)
+HIDDEN_FUNC(_save64gpr_ctr_15_g) evstdd 15,8(11)
bdz _save64_gpr_ctr_g_done
-FUNC_START(_save64gpr_ctr_16_g) evstdd 16,16(11)
+HIDDEN_FUNC(_save64gpr_ctr_16_g) evstdd 16,16(11)
bdz _save64_gpr_ctr_g_done
-FUNC_START(_save64gpr_ctr_17_g) evstdd 17,24(11)
+HIDDEN_FUNC(_save64gpr_ctr_17_g) evstdd 17,24(11)
bdz _save64_gpr_ctr_g_done
-FUNC_START(_save64gpr_ctr_18_g) evstdd 18,32(11)
+HIDDEN_FUNC(_save64gpr_ctr_18_g) evstdd 18,32(11)
bdz _save64_gpr_ctr_g_done
-FUNC_START(_save64gpr_ctr_19_g) evstdd 19,40(11)
+HIDDEN_FUNC(_save64gpr_ctr_19_g) evstdd 19,40(11)
bdz _save64_gpr_ctr_g_done
-FUNC_START(_save64gpr_ctr_20_g) evstdd 20,48(11)
+HIDDEN_FUNC(_save64gpr_ctr_20_g) evstdd 20,48(11)
bdz _save64_gpr_ctr_g_done
-FUNC_START(_save64gpr_ctr_21_g) evstdd 21,56(11)
+HIDDEN_FUNC(_save64gpr_ctr_21_g) evstdd 21,56(11)
bdz _save64_gpr_ctr_g_done
-FUNC_START(_save64gpr_ctr_22_g) evstdd 22,64(11)
+HIDDEN_FUNC(_save64gpr_ctr_22_g) evstdd 22,64(11)
bdz _save64_gpr_ctr_g_done
-FUNC_START(_save64gpr_ctr_23_g) evstdd 23,72(11)
+HIDDEN_FUNC(_save64gpr_ctr_23_g) evstdd 23,72(11)
bdz _save64_gpr_ctr_g_done
-FUNC_START(_save64gpr_ctr_24_g) evstdd 24,80(11)
+HIDDEN_FUNC(_save64gpr_ctr_24_g) evstdd 24,80(11)
bdz _save64_gpr_ctr_g_done
-FUNC_START(_save64gpr_ctr_25_g) evstdd 25,88(11)
+HIDDEN_FUNC(_save64gpr_ctr_25_g) evstdd 25,88(11)
bdz _save64_gpr_ctr_g_done
-FUNC_START(_save64gpr_ctr_26_g) evstdd 26,96(11)
+HIDDEN_FUNC(_save64gpr_ctr_26_g) evstdd 26,96(11)
bdz _save64_gpr_ctr_g_done
-FUNC_START(_save64gpr_ctr_27_g) evstdd 27,104(11)
+HIDDEN_FUNC(_save64gpr_ctr_27_g) evstdd 27,104(11)
bdz _save64_gpr_ctr_g_done
-FUNC_START(_save64gpr_ctr_28_g) evstdd 28,112(11)
+HIDDEN_FUNC(_save64gpr_ctr_28_g) evstdd 28,112(11)
bdz _save64_gpr_ctr_g_done
-FUNC_START(_save64gpr_ctr_29_g) evstdd 29,120(11)
+HIDDEN_FUNC(_save64gpr_ctr_29_g) evstdd 29,120(11)
bdz _save64_gpr_ctr_g_done
-FUNC_START(_save64gpr_ctr_30_g) evstdd 30,128(11)
+HIDDEN_FUNC(_save64gpr_ctr_30_g) evstdd 30,128(11)
bdz _save64_gpr_ctr_g_done
-FUNC_START(_save64gpr_ctr_31_g) evstdd 31,136(11)
+HIDDEN_FUNC(_save64gpr_ctr_31_g) evstdd 31,136(11)
_save64gpr_ctr_g_done: b _GLOBAL_OFFSET_TABLE_-4
FUNC_END(_save64gpr_ctr_31_g)
FUNC_END(_save64gpr_ctr_30_g)
diff -Nurd gcc-4.3/gcc/config/rs6000/ppc-asm.h gcc-4.3-new/gcc/config/rs6000/ppc-asm.h
--- gcc-4.3/gcc/config/rs6000/ppc-asm.h 2008-10-01 14:50:54.000000000 +0200
+++ gcc-4.3-new/gcc/config/rs6000/ppc-asm.h 2008-10-18 12:44:16.000000000 +0200
@@ -110,6 +110,11 @@
.globl GLUE(.,name); \
GLUE(.,name):
+#define HIDDEN_FUNC(name) \
+ FUNC_START(name) \
+ .hidden name; \
+ .hidden GLUE(.,name);
+
#define FUNC_END(name) \
GLUE(.L,name): \
.size GLUE(.,name),GLUE(.L,name)-GLUE(.,name)
@@ -136,6 +141,11 @@
.globl GLUE(.,name); \
GLUE(.,name):
+#define HIDDEN_FUNC(name) \
+ FUNC_START(name) \
+ .hidden name; \
+ .hidden GLUE(.,name);
+
#define FUNC_END(name) \
GLUE(.L,name): \
.size GLUE(.,name),GLUE(.L,name)-GLUE(.,name)
@@ -153,6 +163,10 @@
.globl FUNC_NAME(name); \
FUNC_NAME(name):
+#define HIDDEN_FUNC(name) \
+ FUNC_START(name) \
+ .hidden FUNC_NAME(name);
+
#define FUNC_END(name) \
GLUE(.L,name): \
.size FUNC_NAME(name),GLUE(.L,name)-FUNC_NAME(name)
diff -Nurd gcc-4.3/gcc/config/rs6000/rs6000.c gcc-4.3-new/gcc/config/rs6000/rs6000.c
--- gcc-4.3/gcc/config/rs6000/rs6000.c 2008-10-01 14:50:54.000000000 +0200
+++ gcc-4.3-new/gcc/config/rs6000/rs6000.c 2008-10-18 12:44:16.000000000 +0200
@@ -2476,6 +2476,8 @@
(TARGET_ALTIVEC_ABI ? 2
: TARGET_SPE_ABI ? 3
: 1));
+ fprintf (file, "\t.gnu_attribute 12, %d\n",
+ aix_struct_return ? 2 : 1);
}
#endif
diff -Nurd gcc-4.3/gcc/config/rs6000/sysv4.h gcc-4.3-new/gcc/config/rs6000/sysv4.h
--- gcc-4.3/gcc/config/rs6000/sysv4.h 2008-10-01 14:50:54.000000000 +0200
+++ gcc-4.3-new/gcc/config/rs6000/sysv4.h 2008-10-18 12:44:16.000000000 +0200
@@ -585,9 +585,9 @@
/* Override svr4.h definition. */
#undef ASM_SPEC
#define ASM_SPEC "%(asm_cpu) \
-%{,assembler|,assembler-with-cpp: %{mregnames} %{mno-regnames}} \
-%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*} \
-%{mrelocatable} %{mrelocatable-lib} %{fpic|fpie|fPIC|fPIE:-K PIC} \
+%{,assembler|,assembler-with-cpp: %{mregnames} %{mno-regnames}}" \
+SVR4_ASM_SPEC \
+"%{mrelocatable} %{mrelocatable-lib} %{fpic|fpie|fPIC|fPIE:-K PIC} \
%{memb|msdata|msdata=eabi: -memb} \
%{mlittle|mlittle-endian:-mlittle; \
mbig|mbig-endian :-mbig; \
diff -Nurd gcc-4.3/gcc/config/rs6000/t-cs-eabi gcc-4.3-new/gcc/config/rs6000/t-cs-eabi
--- gcc-4.3/gcc/config/rs6000/t-cs-eabi 1970-01-01 01:00:00.000000000 +0100
+++ gcc-4.3-new/gcc/config/rs6000/t-cs-eabi 2008-10-18 12:44:16.000000000 +0200
@@ -0,0 +1,17 @@
+# Multilibs for powerpc embedded ELF targets.
+
+MULTILIB_OPTIONS = te500v1/te500v2/te600/te500mc \
+ msoft-float
+
+MULTILIB_DIRNAMES = te500v1 te500v2 te600 te500mc \
+ nof
+
+MULTILIB_EXCEPTIONS = *te600*/*msoft-float* \
+ *te500v1*/*msoft-float* \
+ *te500v2*/*msoft-float* \
+ *te500mc*/*msoft-float*
+
+MULTILIB_EXTRA_OPTS = mno-eabi mstrict-align
+
+MULTILIB_MATCHES = ${MULTILIB_MATCHES_FLOAT} \
+ ${MULTILIB_MATCHES_ENDIAN}
diff -Nurd gcc-4.3/gcc/config/rs6000/t-ppcgas gcc-4.3-new/gcc/config/rs6000/t-ppcgas
--- gcc-4.3/gcc/config/rs6000/t-ppcgas 2008-10-01 14:50:54.000000000 +0200
+++ gcc-4.3-new/gcc/config/rs6000/t-ppcgas 2008-10-18 12:44:16.000000000 +0200
@@ -1,15 +1,14 @@
# Multilibs for powerpc embedded ELF targets.
-MULTILIB_OPTIONS = te500v1/te500v2/te600/te500mc \
+MULTILIB_OPTIONS = te500v1/te500v2/te600 \
msoft-float
-MULTILIB_DIRNAMES = te500v1 te500v2 te600 te500mc \
+MULTILIB_DIRNAMES = te500v1 te500v2 te600 \
nof
MULTILIB_EXCEPTIONS = *te600*/*msoft-float* \
*te500v1*/*msoft-float* \
- *te500v2*/*msoft-float* \
- *te500mc*/*msoft-float*
+ *te500v2*/*msoft-float*
MULTILIB_EXTRA_OPTS = mno-eabi mstrict-align
diff -Nurd gcc-4.3/gcc/config/svr4.h gcc-4.3-new/gcc/config/svr4.h
--- gcc-4.3/gcc/config/svr4.h 2008-10-01 14:51:13.000000000 +0200
+++ gcc-4.3-new/gcc/config/svr4.h 2008-10-18 12:45:26.000000000 +0200
@@ -55,7 +55,8 @@
&& strcmp (STR, "Tdata") && strcmp (STR, "Ttext") \
&& strcmp (STR, "Tbss"))
-/* Provide an ASM_SPEC appropriate for svr4. Here we try to support as
+/* Provide an ASM_SPEC appropriate for svr4.
+ If we're not using GAS, we try to support as
many of the specialized svr4 assembler options as seems reasonable,
given that there are certain options which we can't (or shouldn't)
support directly due to the fact that they conflict with other options
@@ -74,9 +75,16 @@
read its stdin.
*/
-#undef ASM_SPEC
-#define ASM_SPEC \
+#ifdef USE_GAS
+#define SVR4_ASM_SPEC \
+ "%{v:-V} %{Wa,*:%*}"
+#else
+#define SVR4_ASM_SPEC \
"%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*}"
+#endif
+
+#undef ASM_SPEC
+#define ASM_SPEC SVR4_ASM_SPEC
#define AS_NEEDS_DASH_FOR_PIPED_INPUT
diff -Nurd gcc-4.3/gcc/config.gcc gcc-4.3-new/gcc/config.gcc
--- gcc-4.3/gcc/config.gcc 2008-10-01 14:51:16.000000000 +0200
+++ gcc-4.3-new/gcc/config.gcc 2008-10-18 12:45:36.000000000 +0200
@@ -2027,12 +2027,12 @@
tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcendian rs6000/t-ppccomm"
;;
powerpc-*-eabisim*)
- tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h rs6000/eabisim.h"
+ tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h rs6000/eabisim.h"
extra_options="${extra_options} rs6000/sysv4.opt"
tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm"
;;
powerpc-*-elf*)
- tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h"
+ tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h rs6000/sysv4.h"
extra_options="${extra_options} rs6000/sysv4.opt"
tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm"
use_fixproto=yes
@@ -2043,9 +2043,12 @@
tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcendian rs6000/t-ppccomm"
;;
powerpc-*-eabi*)
- tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h"
+ tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h"
extra_options="${extra_options} rs6000/sysv4.opt"
tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm"
+ if test x$enable_extra_sgxx_multilibs = xyes; then
+ tmake_file="${tmake_file} rs6000/t-cs-eabi"
+ fi
;;
powerpc-*-rtems*)
tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h rs6000/rtems.h rtems.h"
@@ -2132,7 +2135,7 @@
esac
;;
powerpc-wrs-windiss*) # Instruction-level simulator for VxWorks.
- tm_file="${tm_file} elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/windiss.h"
+ tm_file="${tm_file} elfos.h usegas.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/windiss.h"
tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm"
extra_options="${extra_options} rs6000/sysv4.opt"
thread_file=""
@@ -2156,28 +2159,28 @@
use_fixproto=yes
;;
powerpcle-*-elf*)
- tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/sysv4le.h"
+ tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/sysv4le.h"
tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm"
extra_options="${extra_options} rs6000/sysv4.opt"
use_fixproto=yes
;;
powerpcle-*-eabisim*)
- tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h rs6000/e500.h rs6000/eabisim.h"
+ tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h rs6000/e500.h rs6000/eabisim.h"
tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm"
extra_options="${extra_options} rs6000/sysv4.opt"
;;
powerpcle-*-eabi*)
- tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h rs6000/e500.h"
+ tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h rs6000/e500.h"
tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm"
extra_options="${extra_options} rs6000/sysv4.opt"
;;
powerpc-*-kaos*)
- tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h kaos.h rs6000/kaos-ppc.h"
+ tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h rs6000/sysv4.h kaos.h rs6000/kaos-ppc.h"
tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm"
extra_options="${extra_options} rs6000/sysv4.opt"
;;
powerpcle-*-kaos*)
- tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/sysv4le.h kaos.h rs6000/kaos-ppc.h"
+ tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/sysv4le.h kaos.h rs6000/kaos-ppc.h"
tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm"
extra_options="${extra_options} rs6000/sysv4.opt"
;;
diff -Nurd gcc-4.3/gcc/doc/invoke.texi gcc-4.3-new/gcc/doc/invoke.texi
--- gcc-4.3/gcc/doc/invoke.texi 2008-10-01 14:39:48.000000000 +0200
+++ gcc-4.3-new/gcc/doc/invoke.texi 2008-10-18 12:02:55.000000000 +0200
@@ -389,7 +389,7 @@
@gccoptlist{@var{object-file-name} -l@var{library} @gol
-nostartfiles -nodefaultlibs -nostdlib -pie -rdynamic @gol
-s -static -static-libgcc -shared -shared-libgcc -symbolic @gol
--Wl,@var{option} -Xlinker @var{option} @gol
+-T @var{script} -Wl,@var{option} -Xlinker @var{option} @gol
-u @var{symbol}}
@item Directory Options
@@ -7619,6 +7619,14 @@
option @samp{-Xlinker -z -Xlinker defs}). Only a few systems support
this option.
+@item -T @var{script}
+@opindex T
+@cindex linker script
+Use @var{script} as the linker script. This option is supported by most
+systems using the GNU linker. On some targets, such as bare-board
+targets without an operating system, the @option{-T} option may be required
+when linking to avoid references to undefined symbols.
+
@item -Xlinker @var{option}
@opindex Xlinker
Pass @var{option} as an option to the linker. You can use this to
@@ -11971,6 +11979,7 @@
@samp{24kec}, @samp{24kef2_1}, @samp{24kef1_1},
@samp{34kc}, @samp{34kf2_1}, @samp{34kf1_1},
@samp{74kc}, @samp{74kf2_1}, @samp{74kf1_1}, @samp{74kf3_2},
+@samp{ice9},
@samp{m4k},
@samp{orion},
@samp{r2000}, @samp{r3000}, @samp{r3900}, @samp{r4000}, @samp{r4400},
@@ -13600,12 +13609,11 @@
On System V.4 and embedded PowerPC systems do (do not) adhere to the
Embedded Applications Binary Interface (eabi) which is a set of
modifications to the System V.4 specifications. Selecting @option{-meabi}
-means that the stack is aligned to an 8 byte boundary, a function
-@code{__eabi} is called to from @code{main} to set up the eabi
-environment, and the @option{-msdata} option can use both @code{r2} and
+means that the stack is aligned to an 8 byte boundary,
+and the @option{-msdata} option can use both @code{r2} and
@code{r13} to point to two separate small data areas. Selecting
@option{-mno-eabi} means that the stack is aligned to a 16 byte boundary,
-do not call an initialization function from @code{main}, and the
+and the
@option{-msdata} option will only use @code{r13} to point to a single
small data area. The @option{-meabi} option is on by default if you
configured GCC using one of the @samp{powerpc*-*-eabi*} options.
diff -Nurd gcc-4.3/gcc/testsuite/gcc.dg/arm-mmx-1.c gcc-4.3-new/gcc/testsuite/gcc.dg/arm-mmx-1.c
--- gcc-4.3/gcc/testsuite/gcc.dg/arm-mmx-1.c 2008-10-01 14:44:19.000000000 +0200
+++ gcc-4.3-new/gcc/testsuite/gcc.dg/arm-mmx-1.c 2008-10-18 12:19:00.000000000 +0200
@@ -7,6 +7,7 @@
/* { dg-skip-if "" { *-*-* } { "-march=*" } { "-march=iwmmxt" } } */
/* { dg-options "-O -mno-apcs-frame -mcpu=iwmmxt -mabi=iwmmxt" } */
/* { dg-require-effective-target arm32 } */
+/* { dg-require-effective-target arm_iwmmxt_ok } */
/* { dg-final { scan-assembler "ldmfd\[ ]sp!.*ip,\[ ]*pc" } } */
/* This function uses all the call-saved registers, namely r4, r5, r6,
diff -Nurd gcc-4.3/gcc/testsuite/gcc.dg/format/cmn-err-1.c gcc-4.3-new/gcc/testsuite/gcc.dg/format/cmn-err-1.c
--- gcc-4.3/gcc/testsuite/gcc.dg/format/cmn-err-1.c 2008-10-01 14:44:18.000000000 +0200
+++ gcc-4.3-new/gcc/testsuite/gcc.dg/format/cmn-err-1.c 2008-10-18 12:18:58.000000000 +0200
@@ -27,12 +27,12 @@
cmn_err_func (0, "%p", string);
cmn_err_func (0, "%16b", i, "\01Foo");
- cmn_err_func (0, "%i", i); /* { dg-error "unknown|too many" } */
- cmn_err_func (0, "%d", l); /* { dg-error "expects type" } */
- cmn_err_func (0, "%b"); /* { dg-error "too few" } */
- cmn_err_func (0, "%b", i); /* { dg-error "too few" } */
- cmn_err_func (0, "%b", i, i); /* { dg-error "expects type" } */
- cmn_err_func (0, "%b", string, i); /* { dg-error "expects type" } */
- cmn_err_func (0, "%p", 3); /* { dg-error "expects type" } */
+ cmn_err_func (0, "%i", i); /* { dg-warning "unknown|too many" } */
+ cmn_err_func (0, "%d", l); /* { dg-warning "expects type" } */
+ cmn_err_func (0, "%b"); /* { dg-warning "too few" } */
+ cmn_err_func (0, "%b", i); /* { dg-warning "too few" } */
+ cmn_err_func (0, "%b", i, i); /* { dg-warning "expects type" } */
+ cmn_err_func (0, "%b", string, i); /* { dg-warning "expects type" } */
+ cmn_err_func (0, "%p", 3); /* { dg-warning "expects type" } */
return 0;
}
diff -Nurd gcc-4.3/gcc/testsuite/gcc.dg/pragma-align-2.c gcc-4.3-new/gcc/testsuite/gcc.dg/pragma-align-2.c
--- gcc-4.3/gcc/testsuite/gcc.dg/pragma-align-2.c 2008-10-01 14:44:19.000000000 +0200
+++ gcc-4.3-new/gcc/testsuite/gcc.dg/pragma-align-2.c 2008-10-18 12:19:00.000000000 +0200
@@ -19,15 +19,15 @@
#pragma align 8(not_defined)
-#pragma align 9(odd_align) /* { dg-error "invalid alignment" } */
-#pragma align 256(high_align) /* { dg-error "invalid alignment" } */
-#pragma align -1(neg_align) /* { dg-error "malformed" } */
-#pragma align bad_align /* { dg-error "malformed" } */
-#pragma align 1(bad_align /* { dg-error "malformed" } */
+#pragma align 9(odd_align) /* { dg-warning "invalid alignment" } */
+#pragma align 256(high_align) /* { dg-warning "invalid alignment" } */
+#pragma align -1(neg_align) /* { dg-warning "malformed" } */
+#pragma align bad_align /* { dg-warning "malformed" } */
+#pragma align 1(bad_align /* { dg-warning "malformed" } */
int x, x1, x2, x4, x8, y8, z8, x16, x32, x64, x128, y128, z128;
-#pragma align 16(x) /* { dg-error "must appear before" } */
+#pragma align 16(x) /* { dg-warning "must appear before" } */
int
main ()
diff -Nurd gcc-4.3/gcc/testsuite/gcc.dg/pragma-init-fini.c gcc-4.3-new/gcc/testsuite/gcc.dg/pragma-init-fini.c
--- gcc-4.3/gcc/testsuite/gcc.dg/pragma-init-fini.c 2008-10-01 14:44:19.000000000 +0200
+++ gcc-4.3-new/gcc/testsuite/gcc.dg/pragma-init-fini.c 2008-10-18 12:19:00.000000000 +0200
@@ -4,13 +4,13 @@
extern void abort ();
-#pragma init /* { dg-error "malformed" } */
-#pragma init () /* { dg-error "malformed" } */
-#pragma init init_func /* { dg-error "malformed" } */
+#pragma init /* { dg-warning "malformed" } */
+#pragma init () /* { dg-warning "malformed" } */
+#pragma init init_func /* { dg-warning "malformed" } */
-#pragma fini /* { dg-error "malformed" } */
-#pragma fini () /* { dg-error "malformed" } */
-#pragma fini fini_func /* { dg-error "malformed" } */
+#pragma fini /* { dg-warning "malformed" } */
+#pragma fini () /* { dg-warning "malformed" } */
+#pragma fini fini_func /* { dg-warning "malformed" } */
#pragma init (init_func, init_static_func)
diff -Nurd gcc-4.3/gcc/testsuite/gcc.target/mips/fix-ice9a-1.c gcc-4.3-new/gcc/testsuite/gcc.target/mips/fix-ice9a-1.c
--- gcc-4.3/gcc/testsuite/gcc.target/mips/fix-ice9a-1.c 2008-10-01 14:42:02.000000000 +0200
+++ gcc-4.3-new/gcc/testsuite/gcc.target/mips/fix-ice9a-1.c 2008-10-18 12:10:17.000000000 +0200
@@ -1,6 +1,7 @@
/* Check that nops are inserted before and after the fp operations. */
/* { dg-do compile } */
/* { dg-options "-mfix-ice9a -O3" } */
+/* { dg-mips-options "-mhard-float" } */
typedef double TYPE;
#include "fix-ice9a.h"
diff -Nurd gcc-4.3/gcc/testsuite/gcc.target/mips/fix-ice9a-2.c gcc-4.3-new/gcc/testsuite/gcc.target/mips/fix-ice9a-2.c
--- gcc-4.3/gcc/testsuite/gcc.target/mips/fix-ice9a-2.c 2008-10-01 14:42:02.000000000 +0200
+++ gcc-4.3-new/gcc/testsuite/gcc.target/mips/fix-ice9a-2.c 2008-10-18 12:10:17.000000000 +0200
@@ -1,6 +1,7 @@
/* Check that nops are inserted before and after the fp operations. */
/* { dg-do compile } */
/* { dg-options "-mfix-ice9a -O3" } */
+/* { dg-mips-options "-mhard-float" } */
typedef float TYPE;
#include "fix-ice9a.h"
diff -Nurd gcc-4.3/gcc/testsuite/gcc.target/mips/lazy-binding-1.c gcc-4.3-new/gcc/testsuite/gcc.target/mips/lazy-binding-1.c
--- gcc-4.3/gcc/testsuite/gcc.target/mips/lazy-binding-1.c 2008-10-01 14:42:02.000000000 +0200
+++ gcc-4.3-new/gcc/testsuite/gcc.target/mips/lazy-binding-1.c 2008-10-18 12:10:17.000000000 +0200
@@ -1,5 +1,5 @@
/* { dg-do compile { target nomips16 } } */
-/* { dg-mips-options "-mabicalls -mshared -mexplicit-relocs -O2 -fno-delayed-branch" } */
+/* { dg-mips-options "-mabicalls -mshared -mexplicit-relocs -O2 -fno-delayed-branch -fpic" } */
void bar (void);
diff -Nurd gcc-4.3/gcc/testsuite/gcc.target/mips/octeon-18.c gcc-4.3-new/gcc/testsuite/gcc.target/mips/octeon-18.c
--- gcc-4.3/gcc/testsuite/gcc.target/mips/octeon-18.c 2008-10-01 14:42:02.000000000 +0200
+++ gcc-4.3-new/gcc/testsuite/gcc.target/mips/octeon-18.c 2008-10-18 12:10:17.000000000 +0200
@@ -1,4 +1,4 @@
/* Check the *extendhisi2_hw pattern. */
-/* { dg-mips-options "-march=octeon -O2 -mabi=eabi -mgp32" } */
+/* { dg-mips-options "-march=octeon -O2 -mabi=eabi -mgp32 -mno-abicalls" } */
unsigned int f1 (unsigned int x) { return (short) x; }
/* { dg-final { scan-assembler "\tjr?\t\\\$31\n\tseh\t\\\$2,\\\$4\n" } } */
diff -Nurd gcc-4.3/gcc/testsuite/gcc.target/mips/octeon-19.c gcc-4.3-new/gcc/testsuite/gcc.target/mips/octeon-19.c
--- gcc-4.3/gcc/testsuite/gcc.target/mips/octeon-19.c 2008-10-01 14:42:01.000000000 +0200
+++ gcc-4.3-new/gcc/testsuite/gcc.target/mips/octeon-19.c 2008-10-18 12:10:17.000000000 +0200
@@ -1,4 +1,4 @@
/* Check the *extendqisi2_hw pattern. */
-/* { dg-mips-options "-march=octeon -O2 -mabi=eabi -mgp32" } */
+/* { dg-mips-options "-march=octeon -O2 -mabi=eabi -mgp32 -mno-abicalls" } */
unsigned int f1 (unsigned int x) { return (signed char) x; }
/* { dg-final { scan-assembler "\tjr?\t\\\$31\n\tseb\t\\\$2,\\\$4\n" } } */
diff -Nurd gcc-4.3/gcc/testsuite/gcc.target/mips/octeon-1.c gcc-4.3-new/gcc/testsuite/gcc.target/mips/octeon-1.c
--- gcc-4.3/gcc/testsuite/gcc.target/mips/octeon-1.c 2008-10-01 14:42:02.000000000 +0200
+++ gcc-4.3-new/gcc/testsuite/gcc.target/mips/octeon-1.c 2008-10-18 12:10:17.000000000 +0200
@@ -1,4 +1,4 @@
/* Check the *baddu_si pattern. */
-/* { dg-mips-options "-march=octeon -O2 -mabi=eabi -mgp32 -meb" } */
+/* { dg-mips-options "-march=octeon -O2 -mabi=eabi -mgp32 -meb -mno-abicalls" } */
unsigned int f1 (unsigned int x, unsigned int y) { return (x + y) & 0xff; }
/* { dg-final { scan-assembler "\tjr?\t\\\$31\n\tbaddu\t\\\$2,\\\$\[45\],\\\$\[45\]\n" } } */
diff -Nurd gcc-4.3/gcc/testsuite/gcc.target/mips/octeon-23.c gcc-4.3-new/gcc/testsuite/gcc.target/mips/octeon-23.c
--- gcc-4.3/gcc/testsuite/gcc.target/mips/octeon-23.c 2008-10-01 14:42:02.000000000 +0200
+++ gcc-4.3-new/gcc/testsuite/gcc.target/mips/octeon-23.c 2008-10-18 12:10:17.000000000 +0200
@@ -1,5 +1,5 @@
/* Check the extzvsi pattern. */
-/* { dg-mips-options "-march=octeon -O2 -mabi=eabi -mgp32" } */
+/* { dg-mips-options "-march=octeon -O2 -mabi=eabi -mgp32 -mno-abicalls" } */
#ifdef _MIPSEB
struct s1 { unsigned int x1 : 3, x2 : 10; };
struct s2 { unsigned int x1 : 5, x2 : 14; };
diff -Nurd gcc-4.3/gcc/testsuite/gcc.target/mips/octeon-28.c gcc-4.3-new/gcc/testsuite/gcc.target/mips/octeon-28.c
--- gcc-4.3/gcc/testsuite/gcc.target/mips/octeon-28.c 2008-10-01 14:42:01.000000000 +0200
+++ gcc-4.3-new/gcc/testsuite/gcc.target/mips/octeon-28.c 2008-10-18 12:10:17.000000000 +0200
@@ -1,5 +1,5 @@
/* Check the extvsi pattern. */
-/* { dg-mips-options "-march=octeon -O2 -mabi=eabi -mgp32" } */
+/* { dg-mips-options "-march=octeon -O2 -mabi=eabi -mgp32 -mno-abicalls" } */
#ifdef _MIPSEB
struct s1 { int x1 : 3, x2 : 10; };
struct s2 { int x1 : 5, x2 : 14; };
diff -Nurd gcc-4.3/gcc/testsuite/gcc.target/mips/octeon-34.c gcc-4.3-new/gcc/testsuite/gcc.target/mips/octeon-34.c
--- gcc-4.3/gcc/testsuite/gcc.target/mips/octeon-34.c 2008-10-01 14:42:02.000000000 +0200
+++ gcc-4.3-new/gcc/testsuite/gcc.target/mips/octeon-34.c 2008-10-18 12:10:17.000000000 +0200
@@ -1,5 +1,5 @@
/* Check the insvsi pattern. */
-/* { dg-mips-options "-march=octeon -O2 -mabi=eabi -mgp32 -fno-tree-sra" } */
+/* { dg-mips-options "-march=octeon -O2 -mabi=eabi -mno-abicalls -mgp32 -fno-tree-sra" } */
#ifdef _MIPSEB
struct s1 { unsigned int x1 : 3, x2 : 20; };
struct s2 { unsigned int x1 : 5, x2 : 10; };
diff -Nurd gcc-4.3/gcc/testsuite/gcc.target/mips/octeon-37.c gcc-4.3-new/gcc/testsuite/gcc.target/mips/octeon-37.c
--- gcc-4.3/gcc/testsuite/gcc.target/mips/octeon-37.c 2008-10-01 14:42:01.000000000 +0200
+++ gcc-4.3-new/gcc/testsuite/gcc.target/mips/octeon-37.c 2008-10-18 12:10:17.000000000 +0200
@@ -1,5 +1,5 @@
/* Check the mov_u[ls]w patterns. */
-/* { dg-mips-options "-march=octeon -O2 -mabi=eabi -mgp32 -mocteon-useun -meb" } */
+/* { dg-mips-options "-march=octeon -O2 -mabi=eabi -mno-abi-calls -mgp32 -mocteon-useun -meb" } */
struct __attribute__((packed)) s { unsigned int x; };
unsigned int f1 (struct s *s) { return s[0].x; };
void f2 (struct s *s, unsigned long x) { s[10].x = x; }
diff -Nurd gcc-4.3/gcc/testsuite/gcc.target/mips/octeon-43.c gcc-4.3-new/gcc/testsuite/gcc.target/mips/octeon-43.c
--- gcc-4.3/gcc/testsuite/gcc.target/mips/octeon-43.c 2008-10-01 14:42:02.000000000 +0200
+++ gcc-4.3-new/gcc/testsuite/gcc.target/mips/octeon-43.c 2008-10-18 12:10:17.000000000 +0200
@@ -1,5 +1,5 @@
/* Check the *branch_bit pattern. */
-/* { dg-mips-options "-march=octeon -Os -mabi=eabi -mgp32" } */
+/* { dg-mips-options "-march=octeon -mno-abicalls -Os -mabi=eabi -mgp32" } */
int foo (void);
int f1 (unsigned int x) { if (x & (1UL << 30)) foo (); return 1; }
int f2 (unsigned int x) { if (x & (1UL << 1)) foo (); return 1; }
diff -Nurd gcc-4.3/gcc/testsuite/gcc.target/mips/octeon-44.c gcc-4.3-new/gcc/testsuite/gcc.target/mips/octeon-44.c
--- gcc-4.3/gcc/testsuite/gcc.target/mips/octeon-44.c 2008-10-01 14:42:02.000000000 +0200
+++ gcc-4.3-new/gcc/testsuite/gcc.target/mips/octeon-44.c 2008-10-18 12:10:17.000000000 +0200
@@ -1,5 +1,5 @@
/* Check the *branch_bit pattern. */
-/* { dg-mips-options "-march=octeon -Os -mabi=eabi -mgp32" } */
+/* { dg-mips-options "-march=octeon -Os -mabi=eabi -mgp32 -mno-abicalls" } */
int foo (void);
int f1 (unsigned int x) { if ((x & (1UL << 30)) == 0) foo (); return 1; }
int f2 (unsigned int x) { if ((x & (1UL << 1)) == 0) foo (); return 1; }
diff -Nurd gcc-4.3/gcc/testsuite/gcc.target/mips/octeon-49.c gcc-4.3-new/gcc/testsuite/gcc.target/mips/octeon-49.c
--- gcc-4.3/gcc/testsuite/gcc.target/mips/octeon-49.c 2008-10-01 14:42:01.000000000 +0200
+++ gcc-4.3-new/gcc/testsuite/gcc.target/mips/octeon-49.c 2008-10-18 12:10:17.000000000 +0200
@@ -1,5 +1,5 @@
/* Check the *seq_si_seq pattern. */
-/* { dg-mips-options "-march=octeon -Os -mabi=eabi -mgp32" } */
+/* { dg-mips-options "-march=octeon -Os -mabi=eabi -mgp32 -mno-abicalls" } */
int f1 (int x) { return x == -513; }
int f2 (int x) { return x == -512; }
int f3 (int x) { return x == -1; }
diff -Nurd gcc-4.3/gcc/testsuite/gcc.target/mips/octeon-54.c gcc-4.3-new/gcc/testsuite/gcc.target/mips/octeon-54.c
--- gcc-4.3/gcc/testsuite/gcc.target/mips/octeon-54.c 2008-10-01 14:42:01.000000000 +0200
+++ gcc-4.3-new/gcc/testsuite/gcc.target/mips/octeon-54.c 2008-10-18 12:10:17.000000000 +0200
@@ -1,5 +1,5 @@
/* Check the *sne_si_sne pattern. */
-/* { dg-mips-options "-march=octeon -Os -mabi=eabi -mgp32" } */
+/* { dg-mips-options "-march=octeon -Os -mabi=eabi -mgp32 -mno-abicalls" } */
int f1 (int x) { return x != -513; }
int f2 (int x) { return x != -512; }
int f3 (int x) { return x != -1; }
diff -Nurd gcc-4.3/gcc/testsuite/gcc.target/mips/octeon-5.c gcc-4.3-new/gcc/testsuite/gcc.target/mips/octeon-5.c
--- gcc-4.3/gcc/testsuite/gcc.target/mips/octeon-5.c 2008-10-01 14:42:02.000000000 +0200
+++ gcc-4.3-new/gcc/testsuite/gcc.target/mips/octeon-5.c 2008-10-18 12:10:17.000000000 +0200
@@ -1,5 +1,5 @@
/* Check the *baddu_si pattern. */
-/* { dg-mips-options "-march=octeon -O2 -mabi=eabi -mgp32 -meb" } */
+/* { dg-mips-options "-march=octeon -O2 -mabi=eabi -mgp32 -mno-abicalls -meb" } */
unsigned int
f1 (unsigned int x, unsigned int y)
{ return (unsigned char) (x + y); }
diff -Nurd gcc-4.3/gcc/testsuite/gcc.target/mips/octeon-6.c gcc-4.3-new/gcc/testsuite/gcc.target/mips/octeon-6.c
--- gcc-4.3/gcc/testsuite/gcc.target/mips/octeon-6.c 2008-10-01 14:42:01.000000000 +0200
+++ gcc-4.3-new/gcc/testsuite/gcc.target/mips/octeon-6.c 2008-10-18 12:10:17.000000000 +0200
@@ -1,4 +1,4 @@
/* Check the popcountsi2 pattern. */
-/* { dg-mips-options "-march=octeon -O2 -mabi=eabi -mgp32" } */
+/* { dg-mips-options "-march=octeon -O2 -mabi=eabi -mgp32 -mno-abicalls" } */
unsigned int f1 (unsigned int x) { return __builtin_popcount (x); }
/* { dg-final { scan-assembler "\tjr?\t\\\$31\n\tpop\t\\\$2,\\\$4\n" } } */
diff -Nurd gcc-4.3/gcc/testsuite/lib/target-supports.exp gcc-4.3-new/gcc/testsuite/lib/target-supports.exp
--- gcc-4.3/gcc/testsuite/lib/target-supports.exp 2008-10-01 14:47:31.000000000 +0200
+++ gcc-4.3-new/gcc/testsuite/lib/target-supports.exp 2008-10-18 12:32:27.000000000 +0200
@@ -1367,6 +1367,19 @@
}]
}
+# Return 1 if this is an ARM target supporting -mcpu=iwmmxt.
+# Some multilibs may be incompatible with this option.
+
+proc check_effective_target_arm_iwmmxt_ok { } {
+ if { [check_effective_target_arm32] } {
+ return [check_no_compiler_messages arm_iwmmxt_ok object {
+ int dummy;
+ } "-mcpu=iwmmxt"]
+ } else {
+ return 0
+ }
+}
+
# Return 1 if this is a PowerPC target with floating-point registers.
proc check_effective_target_powerpc_fprs { } {
diff -Nurd gcc-4.3/libgomp/config/linux/mips/futex.h gcc-4.3-new/libgomp/config/linux/mips/futex.h
--- gcc-4.3/libgomp/config/linux/mips/futex.h 1970-01-01 01:00:00.000000000 +0100
+++ gcc-4.3-new/libgomp/config/linux/mips/futex.h 2008-10-18 12:02:42.000000000 +0200
@@ -0,0 +1,75 @@
+/* Copyright (C) 2005, 2008 Free Software Foundation, Inc.
+ Contributed by Ilie Garbacea <ilie@mips.com>, Chao-ying Fu <fu@mips.com>.
+
+ This file is part of the GNU OpenMP Library (libgomp).
+
+ Libgomp is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation; either version 2.1 of the License, or
+ (at your option) any later version.
+
+ Libgomp is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
+ more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with libgomp; see the file COPYING.LIB. If not, write to the
+ Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ MA 02110-1301, USA. */
+
+/* As a special exception, if you link this library with other files, some
+ of which are compiled with GCC, to produce an executable, this library
+ does not by itself cause the resulting executable to be covered by the
+ GNU General Public License. This exception does not however invalidate
+ any other reasons why the executable file might be covered by the GNU
+ General Public License. */
+
+/* Provide target-specific access to the futex system call. */
+
+#include <sys/syscall.h>
+#define FUTEX_WAIT 0
+#define FUTEX_WAKE 1
+
+static inline void
+sys_futex0 (int *addr, int op, int val)
+{
+ register unsigned long __v0 asm("$2") = (unsigned long) SYS_futex;
+ register unsigned long __a0 asm("$4") = (unsigned long) addr;
+ register unsigned long __a1 asm("$5") = (unsigned long) op;
+ register unsigned long __a2 asm("$6") = (unsigned long) val;
+ register unsigned long __a3 asm("$7") = 0;
+
+ __asm volatile ("syscall"
+ /* returns $a3 (errno), $v0 (return value) */
+ : "=r" (__v0), "=r" (__a3)
+ /* arguments in v0 (syscall) a0-a3 */
+ : "r" (__v0), "r" (__a0), "r" (__a1), "r" (__a2), "r" (__a3)
+ /* clobbers at, v1, t0-t9, memory */
+ : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", "$14",
+ "$15", "$24", "$25", "memory");
+}
+
+static inline void
+futex_wait (int *addr, int val)
+{
+ sys_futex0 (addr, FUTEX_WAIT, val);
+}
+
+static inline void
+futex_wake (int *addr, int count)
+{
+ sys_futex0 (addr, FUTEX_WAKE, count);
+}
+
+static inline void
+cpu_relax (void)
+{
+ __asm volatile ("" : : : "memory");
+}
+
+static inline void
+atomic_write_barrier (void)
+{
+ __sync_synchronize ();
+}
diff -Nurd gcc-4.3/libgomp/configure.tgt gcc-4.3-new/libgomp/configure.tgt
--- gcc-4.3/libgomp/configure.tgt 2008-10-01 14:39:39.000000000 +0200
+++ gcc-4.3-new/libgomp/configure.tgt 2008-10-18 12:02:43.000000000 +0200
@@ -35,6 +35,10 @@
config_path="linux/ia64 linux posix"
;;
+ mips*-*-linux*)
+ config_path="linux/mips linux posix"
+ ;;
+
powerpc*-*-linux*)
config_path="linux/powerpc linux posix"
;;
diff -Nurd gcc-4.3/release-notes-csl.xml gcc-4.3-new/release-notes-csl.xml
--- gcc-4.3/release-notes-csl.xml 2008-10-01 14:56:28.000000000 +0200
+++ gcc-4.3-new/release-notes-csl.xml 2008-10-18 13:08:51.000000000 +0200
@@ -5,6 +5,86 @@
relevant; it may be removed if it is relevant to all targets.
-->
+ <!-- UUID: a38e2a96-4845-410f-ba68-6f1091446123 -->
+ <!-- TARGET: arm* -->
+ <formalpara>
+ <title>Misaligned NEON memory accesses</title>
+ <para>
+ A bug has been fixed that caused the compiler to use aligned
+ NEON load/store instructions to access misaligned data when
+ autovectorizing certain loops. The bug affected code compiled
+ with <option>-mfpu=neon</option> and loop vectorization enabled
+ with <option>-O3</option> or <option>-ftree-vectorize</option>.
+ </para>
+ </formalpara>
+
+ <!-- UUID: 75802745-041d-4357-b48f-31fd30c58adc -->
+ <!-- TARGET: powerpc-* -->
+ <formalpara>
+ <title>Linker script option syntax</title>
+ <para>
+ GCC now accepts <option>-T <replaceable>script</replaceable></option>
+ (with whitespace before the <replaceable>script</replaceable>)
+ as well as <option>-T<replaceable>script</replaceable></option>
+ (with no whitespace) to specify a linker script on the command line.
+ </para>
+ </formalpara>
+
+ <!-- UUID: e4838603-bc80-40fe-add0-cb5aba3a235d -->
+ <!-- TARGET: arm*-linux* mips*-linux* i?86*-linux* -->
+ <formalpara features="openmp_addon">
+ <title>OpenMP support</title>
+ <para>
+ Support for the OpenMP application programming interface is
+ now available in &csl_sgxx; Professional Edition. To
+ compile programs that use OpenMP features, use the
+ <option>-fopenmp</option> command-line option. For more
+ information about using OpenMP with &csl_sgxx;, see <xref
+ linkend="sec-openmp"/>. For more information about the
+ OpenMP API, see <uri>http://www.openmp.org/</uri>.
+ </para>
+ </formalpara>
+
+ <!-- UUID: 934d8fb3-d31c-4051-aad3-f85fc72e7576 -->
+ <!-- TARGET: m68k-*uclinux -->
+ <formalpara>
+ <title>Shared libraries bug fix</title>
+ <para>
+ A bug has been fixed that caused
+ <literal>Invalid instruction</literal> errors in applications
+ compiled with <option>-mid-shared-library</option> for CPUs
+ without hardware floating point. The problem was caused by
+ incorrect linker attributes on internal compiler-generated
+ symbols in the shared library; you must rebuild both
+ the application and shared libraries to pick up the fix.
+ </para>
+ </formalpara>
+
+ <!-- UUID: 62a77a44-3f36-4d0c-aca2-eb327dce9ca0 -->
+ <!-- TARGET: powerpc-linux-gnu -->
+ <formalpara>
+ <title>Compiling dynamic libraries with <option>-Os</option></title>
+ <para>
+ A bug has been fixed that affected dynamic libraries compiled
+ with <option>-Os</option>. The bug caused runtime errors such
+ as segmentation faults in applications using the library, as a
+ result of incorrect linker attributes on internal
+ compiler-generated symbols in the library. You must rebuild
+ both the affected shared libraries and the applications that
+ use them to pick up this fix.
+ </para>
+ </formalpara>
+
+ <!-- UUID: 53bf0593-1f5d-4047-8e74-ad8889a3a1cb -->
+ <!-- TARGET: mips*-sicortex-* -->
+ <formalpara>
+ <title>SiCortex architecture option</title>
+ <para>
+ A new architecture option, <option>-march=ice9</option>, is
+ now available to target the SiCortex ICE9 architecture.
+ </para>
+ </formalpara>
+
<!-- UUID: e2f7a383-48cd-48b3-9a7c-a157f722414f -->
<!-- TARGET: m68k-* -->
<formalpara>
|