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 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 12135 12136 12137 12138 12139 12140 12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 12181 12182 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 12471 12472 12473 12474 12475 12476 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 12540 12541 12542 12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 12598 12599 12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 12613 12614 12615 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 12629 12630 12631 12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 12643 12644 12645 12646 12647 12648 12649 12650 12651 12652 12653 12654 12655 12656 12657 12658 12659 12660 12661 12662 12663 12664 12665 12666 12667 12668 12669 12670 12671 12672 12673 12674 12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 12703 12704 12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 12738 12739 12740 12741 12742 12743 12744 12745 12746 12747 12748 12749 12750 12751 12752 12753 12754 12755 12756 12757 12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 12776 12777 12778 12779 12780 12781 12782 12783 12784 12785 12786 12787 12788 12789 12790 12791 12792 12793 12794 12795 12796 12797 12798 12799 12800 12801 12802 12803 12804 12805 12806 12807 12808 12809 12810 12811 12812 12813 12814 12815 12816 12817 12818 12819 12820 12821 12822 12823 12824 12825 12826 12827 12828 12829 12830 12831 12832 12833 12834 12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849 12850 12851 12852 12853 12854 12855 12856 12857 12858 12859 12860 12861 12862 12863 12864 12865 12866 12867 12868 12869 12870 12871 12872 12873 12874 12875 12876 12877 12878 12879 12880 12881 12882 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 12949 12950 12951 12952 12953 12954 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 12974 12975 12976 12977 12978 12979 12980 12981 12982 12983 12984 12985 12986 12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 13009 13010 13011 13012 13013 13014 13015 13016 13017 13018 13019 13020 13021 13022 13023 13024 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 13037 13038 13039 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 13050 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130
|
Sat Dec 30 23:42:51 1995 Jeffrey A Law (law@cygnus.com)
* ecoff.c (ecoff_stab): Simplify. Correctly handle sym + offset
addresses for static variables.
Thu Dec 21 12:54:32 1995 Michael Meissner <meissner@tiktok.cygnus.com>
* config/tc-ppc.c (mapping): Make @got give a real GOT relocation,
and xgot give the old toc16 relocation.
(md_apply_fix3): Support all GOT relocations.
Wed Dec 20 14:57:17 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-mips.c (load_address): Correctly handle a constant in
SVR4_PIC case. From Richard Kenner <kenner@vlsi1.ultra.nyu.edu>.
Fri Dec 15 14:25:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
* config/tc-sh.c (parse_reg): Recognize SH3 registers.
(get_specific): Handle A_SSR, A_SPC and A_REG_B.
(build_Mbytes): Handle REG_B.
Fri Dec 15 16:07:25 1995 Ian Lance Taylor <ian@cygnus.com>
* ecoff.c (ecoff_build_aux): Use new bfd_big_endian macro.
Fri Dec 15 12:11:48 1995 Raymond Jou <rjou@mexican.cygnus.com>
* mpw-make.sed: If linking, edit ALL_CFLAGS to CFLAGS.
Thu Dec 14 15:09:52 1995 Ian Lance Taylor <ian@cygnus.com>
* config/obj-coff.c (write_object_file): Set the s_align field to
the number of bytes, rather than to the power of 2.
Tue Dec 12 12:19:37 1995 Ian Lance Taylor <ian@cygnus.com>
* Makefile.in (DISTCLEAN_HERE): New variable.
(distclean): Use it.
(maintainer-clean): Depend upon clean-here rather than clean,
distclean, and clean-info. Run make maintainer-clean in doc.
Remove files listed in DISTCLEAN_HERE.
* doc/Makefile.in (maintainer-clean realclean): Split out from
distclean. Depend upon clean-info and distclean.
Mon Dec 11 16:23:51 1995 Stan Shebs <shebs@andros.cygnus.com>
* mac-as.r: Fix copyright and version strings.
(cfrg): Use PROG_NAME instead of literal name.
Mon Dec 11 14:14:08 1995 Ian Lance Taylor <ian@cygnus.com>
* read.c (read_a_source_file): If tc_unrecognized_line is defined,
call it.
* config/tc-a29k.h (tc_unrecognized_line): Define.
* config/tc-a29k.c (a29k_unrecognized_line): New function.
(md_operand): Handle a29k style local dollar labels.
Wed Dec 6 17:52:52 1995 Ian Lance Taylor <ian@cygnus.com>
* config/obj-multi.h: If OBJ_MAYBE_ELF, define OBJ_SYMFIELD_TYPE.
Tue Dec 5 13:26:34 1995 Ken Raeburn <raeburn@cygnus.com>
* read.c (s_fill): If md_flush_pending_output is defined, call
it.
Mon Dec 4 15:10:53 1995 Ken Raeburn <raeburn@cygnus.com>
* config/obj-coff.c (size_section, fill_section, fixup_mdeps):
Treat rs_align_code like rs_align.
Sun Dec 3 16:46:54 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
* config/tc-arm.c (cp_address_required_here): Set pre_inc when
converting an absolute address into a PC-relative one.
Fri Dec 1 11:57:56 1995 Stan Shebs <shebs@andros.cygnus.com>
* mpw-config.in: Don't always use te-generic.h for emulation.
(powerpc-apple-macos): Use emulation te-macos.h.
* mpw-make.sed (install, install-only): Edit in Mac-specific
install procedure.
Fri Dec 1 10:59:25 1995 Ian Lance Taylor <ian@cygnus.com>
* configure.in: Improve message about unsupported ELF targets.
* configure: Rebuild.
* config/tc-m88k.c (m88k_do_align): Correct check for whether fill
pattern is zero. From Manfred Hollstein.
Thu Nov 30 13:25:49 1995 Kim Knuttila <krk@cygnus.com>
* config/tc-ppc.c (ppc_pe_section): To get the alignment right for
the various idata sections, we check the name on the .section pseudo.
Thu Nov 30 11:23:42 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
* config/obj-coff.c (fixup_segment): If TC_M88K is defined, do not
add section's paddr to add_number; compatibility to native as and
ld forbids.
Wed Nov 29 23:14:27 1995 Ken Raeburn <raeburn@cygnus.com>
* configure.in: Treat m68k-sysv4 like m68k-elf, not m68k-sysv3.
* hash.c (struct hash_entry): Moved here...
* hash.h (struct hash_entry): ...from here.
* config/obj-elf.c (elf_frob_symbol): Don't free and clear sy_obj
if it's already known to be null.
Wed Nov 29 13:00:20 1995 Michael Meissner <meissner@tiktok.cygnus.com>
* config/tc-ppc.c (md_apply_fix3): Don't adjust the value for 32
bit relocs converted to PC relative relocs. This turned out to
add the offset from the beginning of .text twice.
Tue Nov 28 10:42:36 1995 Ken Raeburn <raeburn@cygnus.com>
* stabs.c (s_stab_generic): In 's' case, free string from
obstack.
* config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Remove unused field
sy_name_offset.
* config/obj-multi.h (ELF_TARGET_SYMBOL_FIELDS) [OBJ_MAYBE_ELF]:
Ditto.
* subsegs.h (segment_info_type): Make bitfields unsigned.
* expr.h (struct expressionS): Make X_op and X_unsigned bitfields,
and move them together. On most systems this will reduce the
structure size by one word.
(operatorT): Define O_max.
* expr.c (expr_begin): Verify that X_op is wide enough to hold
O_max.
* read.c (pop_insert): Print error returned by hash table
insertion code.
* as.c (dump_statistics): Split out from main; dump some hash
table stats and target-specific stats.
(start_time): No longer automatic to main.
(main): Set file-level start_time and call dump_statistics at
exit. Exit by calling xexit.
(show_usage): Make --statistics description less specific.
* subsegs.c (subsegs_print_statistics): New function.
* write.c (write_print_statistics): New function.
(n_fixups): New static variable.
(fix_new_internal): Increment it.
* read.c (read_print_statistics): New function.
* read.h (read_print_statistics): Declare.
* symbols.c (symbol_print_statistics): New function.
* symbols.h (symbol_print_statistics): Declare.
* hash.c (hash_print_statistics): New function.
* hash.h (hash_print_statistics): Declare.
* config/tc-i386.c (i386_print_statistics): New function.
* config/tc-i386.h (i386_print_statistics): Declare.
(tc_print_statistics): New macro.
* messages.c (as_fatal, as_assert, as_abort): Use xexit, not
exit.
* hash.c (DELETED): Rewrite to use a valid but unique address.
(START_POWER): Reduce to 10.
(enum stat_enum): New enumerator, replacing STAT_* index macros.
Add new values for counting strcmp calls.
(GROW_FACTOR): New macro.
(hash_grow): Use GROW_FACTOR. Rewrite for quick returns instead
of nesting blocks.
(FULL_VALUE): New macro. Use 1/4 of table size instead of 1/2.
(hash_new): Use FULL_VALUE.
(struct hash_control): Definition moved here.
(hash_code): Don't mask to low bits.
(hash_ask): Mask returned hash code here. Check hash value before
calling strcmp; count strcmp calls.
* hash.h (struct hash_control): Declare, don't define, here.
(HASH_STATLENGTH): Deleted.
(struct hash_entry): Add field for hash code.
(hash_say, hash_apply): Don't declare.
* hash.c (destroy): Return void.
(applicatee): Ditto.
(main): Fix declarations.
(hash_apply): Return void. Argument `function' returns void. Put
inside "#ifdef TEST".
(hash_say): Define only if TEST is defined.
* hash.h (hash_apply, hash_say): Declarations deleted.
Mon Nov 27 13:18:25 1995 Ian Lance Taylor <ian@cygnus.com>
* configure: Rebuild with autoconf 2.7.
Tue Nov 21 18:39:01 1995 Ian Lance Taylor <ian@cygnus.com>
* aclocal.m4 (AC_PROG_CC): Remove local definition.
* configure: Rebuild with autoconf 2.6.
Mon Nov 20 17:26:00 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-ppc.c (ppc_debug_name_section_size): Remove.
(ppc_stabx): Don't increment ppc_debug_name_section_size.
(ppc_bc): Likewise.
(ppc_frob_file): Remove.
* config/tc-ppc.h (tc_frob_file): Don't define.
(ppc_frob_file): Don't declare.
Mon Nov 20 13:37:05 1995 Ken Raeburn <raeburn@cygnus.com>
* Makefile.in (TARG_CPU_DEP_alpha): Mention alpha-opcode.h.
* config/alpha-opcode.h: Include one-operand variants of jmp and
jsr.
* config/te-delt88.h: Renamed from te-delta88.h, to avoid conflict
with te-delta.h in 8.3 file systems.
* configure.in: Adjusted.
Thu Nov 16 12:49:38 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-mips.c (s_err): Remove; just use the one in read.c.
* config/m68k-parse.y (yylex): In MRI mode, '@' can start an octal
number.
* expr.c (operand): Handle MRI suffixes after unadorned 0.
Thu Nov 16 00:21:44 1995 Ken Raeburn <raeburn@cygnus.com>
Version 2.6 released.
* Makefile.in (VERSION): Updated to 2.6.
* config/obj-coff.c (write_object_file): Change use of md_do_align
to pass a pointer rather than a fill value, to match other uses.
Wed Nov 15 03:52:00 1995 Ken Raeburn <raeburn@cygnus.com>
* config/tc-ns32k.h (TC_FIX_TYPE): Add missing semicolon.
* as.c (main): Move md_end call to just after call to
perform_an_assembly_pass. Delete cpu-specific code here.
* config/tc-i960.h (md_end): New macro, calls brtab_emit.
* config/tc-arm.c (md_end): Unused function deleted.
* config/tc-ns32k.c (md_end): Ditto.
* config/tc-i386.c (i386_align_code): New function, moved here
from HANDLE_ALIGN macro.
* config/tc-i386.h (HANDLE_ALIGN): Call it.
Mon Jul 31 14:53:19 1995 Alan Modra <alan@spri.levels.unisa.edu.au>
* config/tc-i386.h (md_do_align): cast fill and 0x90 to char
before comparing
Mon May 1 10:91:49 1995 Alan Modra <alan@spri.levels.unisa.edu.au>
* config/tc-i386.h (md_do_align): Make ".align n,0x90" generate
multi-byte nops to avoid changing gcc. The necessary gcc change
might break old assemblers.
Sat Apr 22 20:53:05 1995 Alan Modra <alan@spri.levels.unisa.edu.au>
* config/tc-i386.h (md_do_align, HANDLE_ALIGN): Add macros to
generate optimal multi-byte nop instructions for ".align n"
".align n,0x90", and aligns requiring more than 15 bytes of
padding still generate multiple 0x90's as before.
Mon Nov 13 17:40:21 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-m68k.c (s_mri_until): Call pop_mri_control.
Mon Nov 13 20:39:06 1995 Stan Shebs <shebs@andros.cygnus.com>
* configure.in (ppc-*-macos*, ppc-*-mpw*): New configurations.
* configure: Update.
* mpw-make.sed: Reorder commands to make sed happier.
* config/te-macos.h: New file.
* config/tc-ppc.h (TARGET_FORMAT): Set correctly for PowerMac.
Sun Nov 12 21:14:56 1995 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (pa_ip): Fix off-by-2 bug in length check for
conditional branches.
(md_apply_fix): Likewise.
Thu Nov 9 16:14:01 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-a29k.c (md_apply_fix): Warn if an attempt is made to
generate a reloc which the linker will not handle correctly. Fix
overflow checking--R_IREL is 18 bits, not 17.
Wed Nov 8 19:59:36 1995 Ian Lance Taylor <ian@cygnus.com>
* config/obj-coff.c (fixup_segment): Don't subtract md_pcrel_from
from a PC relative reloc if TC_A29K.
* config/tc-a29k.c (line_separator_chars): Restore '@'. Existing
code depends upon it.
* config/tc-a29k.c (md_operand): Handle $float, $double, and
$extend. Based on code from Eric Freudenthal
<freudenthal@nyu.edu>.
* config/tc-a29k.h (LEX_DOLLAR): Define.
* read.c (LEX_DOLLAR): Define if not defined.
(lex_type): Use LEX_DOLLAR.
Wed Nov 8 16:38:14 1995 Eric Freudenthal <freudenthal@nyu.edu>
* configure.in (a29k-nyu-sym1): New target, just like other a29k
targets.
Wed Nov 8 11:38:48 1995 Ian Lance Taylor <ian@cygnus.com>
* config/obj-coff.c (c_dot_file_symbol): Cast xmalloc return.
Tue Nov 7 09:14:35 1995 Kim Knuttila <krk@cygnus.com>
* config/tc-ppc.c (md_apply_fix3): Added BFD_RELOC_RVA. Currently
used only by "dlltool.c".
Mon Nov 6 18:51:26 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-alpha.c: Undefine inline if not __GNUC__.
(md_pseudo_table): Don't define "extern".
Sat Nov 4 00:51:21 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-ppc.c (ppc_biei): Force symbol into text_section.
* config/tc-ppc.c (md_show_usage): Put backslash at end of line.
Fri Nov 3 13:02:59 1995 Ian Lance Taylor <ian@cygnus.com>
* macro.c (macro_expand_body): Don't warn about == with a
nonexistent parameter, in case it is in a comment field.
* as.c (main): On TC_A29K, call macro_init with macro_alternate
set to 1.
* macro.c (get_any_string): Don't keep quotes if macro_strip_at is
set, even if macro_alternate is set.
(get_apost_token): If macro_strip_at, only skip kind if it is '@'.
(sub_actual): If macro_strip_at, and kind is '@', don't look up
the token unless it ended in '@'.
* config/tc-a29k.c (line_separator_chars): Remove '@'.
* doc/c-a29k.texi: Document macro usage on A29K.
Thu Nov 2 23:07:57 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-m68k.c (m68k_ip): Handle new 'W' place, meaning a
signed word.
(install_operand): Likewise.
* config/obj-elf.c (ecoff_debug_pseudo_table): Add "extern".
Wed Nov 1 15:17:02 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
* configure.in (m88k-motorola-sysv*): New target.
* configure: Rebuild.
* config/te-delta88.h: New file.
* config/obj-coff.c (write_object_file): Use md_do_align if it is
defined.
* config/tc-m88k.h (SUB_SEGMENT_ALIGN): Define.
(md_do_align): Define.
* config/tc-m88k.c: Include "subsegs.h".
(m88k_do_align): New function.
* config/te-delta.h (STRIP_UNDERSCORE): Don't define.
(COFF_NOLOAD_PROBLEM): Define.
(LOCAL_LABELS_DOLLAR, LOCAL_LABELS_FB): Define.
Wed Nov 1 16:07:43 1995 Ken Raeburn <raeburn@cygnus.com>
* config/tc-i386.c (md_assemble): For a jump instruction with
non-constant target, require 7 available bytes in the current
frag, not 6.
Tue Oct 31 15:37:16 1995 Fred Fish <fnf@rtl.cygnus.com>
* config/obj-elf.h: Include bfd/elf-bfd.h rather than
bfd/libelf.h.
Tue Oct 31 16:34:28 1995 David Mosberger-Tang <davidm@azstarnet.com>
* configure.in (alpha-*-linux*): Use ecoff.
* configure: Rebuild.
* ecoff.c (ecoff_directive_extern): New function.
(ecoff_directive_weakext): New function.
(ecoff_build_symbols): Handle weak symbols.
(ecoff_setup_ext): Likewise.
(ecoff_frob_symbol): Warn about weak common symbols.
* ecoff.h (ecoff_directive_extern): Declare.
(ecoff_directive_weakext): Declare.
* symbols.c (S_IS_WEAK): New function.
* symbols.h (S_IS_WEAK): Declare.
* config/obj-ecoff.c (obj_pseudo_table): Add "extern" and
"weakext".
* config/tc-mips.c (mips_pseudo_table): Remove "extern".
(s_extern): Remove.
Tue Oct 31 13:29:08 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-ppc.c (ppc_lglobl): Do the right thing.
* config/tc-ppc.c (ppc_bb): Call SF_SET_PROCESS.
(ppc_eb): Likewise. Set the storage class to C_BLOCK, not C_FCN.
(ppc_frob_symbol): Don't change C_BLOCK symbols to C_HIDEXT.
* config/obj-coff.c (coff_frob_symbol): Don't call
SA_SET_SYM_ENDNDX with the current symbol; call it with the next
one. If OBJ_XCOFF, try to figure out whether the symbol is going
to be dropped.
* config/tc-ppc.c (md_pseudo_table): Add "bc" and "ec".
(ppc_stab_symbol): New static variable.
(ppc_change_csect): Check that ppc_toc_csect is not NULL.
(ppc_stabx): Set ppc_stab_symbol around call to symbol_make. Set
sy_tc.real_name to the stab string.
(ppc_bc, ppc_ec): New static functions.
(ppc_canonicalize_symbol_name): If ppc_stab_symbol is set, don't
do anything.
(ppc_symbol_new_hook): If ppc_stab_symbol is set, don't look for a
suffix.
(ppc_frob_symbol): Set BSF_NOT_AT_END for symbols with csect aux
entries.
* input-scrub.c (input_scrub_push): Reset sb_index.
Mon Oct 30 17:52:46 1995 Ian Lance Taylor <ian@cygnus.com>
* listing.c (listing_newline): Don't create a frag in the absolute
section.
Sat Oct 28 01:02:05 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-ppc.c (md_pseudo_table): Add "data" and "text".
(ppc_csect): Move most of the code to ppc_change_csect, and call
it.
(ppc_change_csect): New static function, taken from ppc_csect.
(ppc_section): New static function.
(ppc_saw_abs): New static varable.
(ppc_frob_symbol): Create aux entry for absolute symbols. Warn if
a symbol has no csect.
(ppc_adjust_symtab): New function.
* config/tc-ppc.h (tc_adjust_symtab): Define if OBJ_XCOFF.
(ppc_adjust_symtab): Declare if OBJ_XCOFF.
* write.c (write_object_file): If tc_adjust_symtab is defined,
call it just before the call to obj_adjust_symtab.
* symbols.c (symbol_find_or_make): Change name to be const.
* symbols.h (symbol_find_or_make): Update declaration.
Thu Oct 26 19:18:27 1995 Ken Raeburn <raeburn@cygnus.com>
* doc/as.texinfo (Align): Mention SH.
* doc/c-m68k.texi (M68K-Directives, .even): Describe behavior, not
.align value.
* doc/c-z8k.texi (Z8000 Directives, global): Fix minor typo.
(Z8000 Directives, even): Don't give numeric align value, instead
explain behavior.
Thu Oct 26 11:45:03 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
* config/tc-arm.c (do_ldst): Assemble ldr/str r0, [r1] as a
pre-increment instruction.
Wed Oct 25 11:59:24 1995 Per Bothner <bothner@kalessin.cygnus.com>
* Makefile.in (diststuff): Also make info.
(maintainer-clean realclean): Also make clean-info.
Tue Oct 24 15:21:33 1995 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (md_pseudo_table): Add new ".nsubspa" opcode.
(pa_subspace): For ".nsubspa", always create a new subspace
with the given attributes, even if one already exists with the
same name.
Tue Oct 24 14:50:38 1995 Michael Meissner <meissner@tiktok.cygnus.com>
* config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Rename from
TC_FORCE_RELOCATION, taking an additional section argument. If
the section of the target symbol is not the same as the current
section, always force the relocation to be used.
(MD_PCREL_FROM_SECTION): New macro to call md_pcrel_from_section.
* config/tc-ppc.c (md_pcrel_from_section): Rename from the
md_pcrel_from function, taking an additional section argument.
Invoke TC_FORCE_RELOCATION_SECTION instead of TC_FORCE_RELOCATION.
* write.c (TC_FORCE_RELOCATION_SECTION): Define in terms of the
older TC_FORCE_RELOCATION if not defined.
(MD_PCREL_FROM_SECTION): If not defined, invoke md_pcrel_from.
(fixup_segment): Use MD_PCREL_FROM_SECTION instead of
md_pcrel_from, and TC_FORCE_RELOCATION_SECTION instead of
TC_FORCE_RELOCATION.
Mon Oct 23 16:20:04 1995 Ken Raeburn <raeburn@cygnus.com>
* input-scrub.c (as_where): Set name to null pointer if we don't
have a file name.
* messages.c (identify): Only print filename if non-null.
(as_show_where): Ditto, for line number too.
(as_warn_internal, as_bad_internal): Ditto.
* input-file.c (input_file_open): If the input file can't be
opened, consider it an error.
Mon Oct 23 11:15:44 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
* config/tc-mips.c: Added mips_4100 control, and support for
accepting the 4100 as a MIPS architecture variant (md_begin,
macro_build, mips_ip, md_parse_option). Adding suitable
command-line OPTIONs, and updating the help text (md_show_usage).
Wed Oct 18 13:20:32 1995 Ken Raeburn <raeburn@cygnus.com>
* subsegs.c (subseg_begin): Only set absolute_frchain.fix_* when
BFD_ASSEMBLER is defined.
* Use one active frag and one obstack per frag chain:
* frags.c (frags): Variable deleted.
(frag_alloc): New function.
(frag_grow, frag_more, frag_variant, frag_now_fix,
frag_append_1_char): Refer to frchain_now->frch_obstack instead of
frags variable.
(frag_new): Ditto. Verify that frch_last and frag_now match on
entry and exit, and that old frag_now has non-zero type. Replace
"know" uses with "assert". Use frag_alloc instead of mucking with
obstack alignment.
* frags.h (frags): Declaration deleted.
* subsegs.h (struct frchain): Add new field frch_frag_now.
* subsegs.c (frchains, dummy_frag, absolute_frchain): New static
variables.
(subsegs_begin): Initialize frchains obstack. Under gcc, don't
give it any stricter alignment than frchainS structures need. Do
not initialize frags obstack. Set frag_now to point to
dummy_obstack. Initialize absolute_frchain.
(subseg_set_rest): Save and restore frag_now in frch_frag_now
field of frchainS. Don't create new frags on section switch, and
use frag_alloc when creating a new frag chain. For absolute
section, set frchain_now to absolute_frchain. Verify that
frch_last and frag_now match on entry and exit. Initialize
per-chain obstack, and under gcc, set required alignment to that
needed by fragS structure.
* write.c (chain_frchains_together_1): Verify fr_type is nonzero.
* stabs.c (get_stab_string_offset): Only copy input string if a
fresh copy is needed, not if the section already exists.
(s_stab_generic): Cache stab section name to bypass lookups, since
usually it will match. Could be made faster still by changing the
memory allocation rules.
(s_xstab): Cache section name to bypass repeated string
allocation.
* frags.c (frag_new): Deleted register declarations.
* listing.c (frag_now): Don't declare.
* as.c (chunksize): New variable.
(debug_memory): New variable.
(main): If debug_memory is set, reduce chunksize and
_bfd_chunksize.
* as.h (chunksize): Declare it.
* read.c (read_begin): Use it.
* config/tc-alpha.c (md_shortopts): Include 'g'.
(md_parse_option): Ignore it.
* Makefile.in (distclean): Remove Makefile and config.status from
testsuite directory.
(clean-here): Don't delete testsuite. Instead, delete only the
files within it that would be generated by running tests.
* config/tc-hppa.c (hppa_elf_mark_end_of_function): Call
frag_now_fix instead of accessing obstack info directly.
* config/tc-arm.c (s_ltorg): Ditto.
(md_assemble): Ditto.
* config/tc-i386.c (md_assemble): Call frag_grow instead of
obstack_room.
Wed Oct 18 12:22:59 1995 Ken Raeburn <raeburn@cygnus.com>
* stabs.c (aout_process_stab): Insert debug symbol into symbol
chain after parsing value expression, if any, to avoid separating
continued .stabs lines.
Mon Oct 16 10:56:41 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-mips.c (mips_elf_pseudo_table): Remove.
(mips_pop_insert): Don't call pop_insert on mips_elf_pseudo_table.
Mon Oct 16 07:07:37 1995 Michael Meissner <meissner@wogglebug.tiac.net>
* config/tc-ppc.c (md_begin): Use new flags PPC_OPCODE_COMMON for
-mcom support and PPC_OPCODE_ANY for -many.
(md_parse_option): Ditto.
(ppc_arch): Ditto.
(md_begin): For duplicate instructions, print all duplicates
before aborting.
Sun Oct 15 22:06:14 1995 Michael Meissner <meissner@cygnus.com>
* config/tc-ppc.c (md_parse_option): Support for -mcom to turn on
common mode operation.
(md_show_usage): Add -mcom to usage message.
Fri Oct 13 13:32:45 1995 steve chamberlain <sac@slash.cygnus.com>
* expr.c (op_rank): Add O_symbol_rva.
* expr.h (operatorT): Add O_symbol_rva.
* read.c (cons_worker): Set O_symbol_rva when necessary.
* write.c (fix_new_exp): Understand O_symbol_rva.
Tue Oct 10 11:34:14 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-mips.c: Correct s_cons arguments. From Michael
Joosten <joost@ori.cadlab.de>.
Mon Oct 9 19:59:53 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-ppc.c (ppc_macro): Make count unsigned.
(ppc_biei): Set segment to now_seg and value to coff_n_line_nos.
(ppc_frob_symbol): Handle C_BINCL and C_EINCL symbols by setting
the fix_line field.
* config/obj-coff.c (coff_n_line_nos): Rename from n_line_nos, and
make non-static. Change all users.
* config/obj-coff.h (coff_n_line_nos): Declare.
Fri Oct 6 16:24:27 1995 Ken Raeburn <raeburn@cygnus.com>
Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* configure.in (AC_ARG_WITH(bfd-assembler)): Fix help message.
* config/obj-elf.c (obj_elf_common): Convert specified byte
alignment to power of two. Set size of local bss symbol.
* config/tc-m68k.c (tc_gen_reloc): Fix typo in variable name.
Fri Oct 6 15:22:25 1995 Ian Lance Taylor <ian@cygnus.com>
* sb.c, macro.c: Decide whether to include <string.h> or
<strings.h> just as as.h does.
Fri Oct 6 09:55:33 1995 Doug Evans <dje@canuck.cygnus.com>
* Makefile.in (site.exp): Fix setting of $srcdir.
* config/tc-arm.c (md_atof): Fix little-endian output.
* config/tc-arm.h (ARM_BI_ENDIAN): Move definition so defined for
all coff targets.
Thu Oct 5 20:17:30 1995 Ken Raeburn <raeburn@cygnus.com>
* doc/as.texinfo: Split out the NS32k family documentation,
despite its being commented out for now.
* doc/c-ns32k.texi: New file.
* sb.c, macro.c: Include string.h.
* Makefile.in (comparison): Only check *.o; we don't care if
timestamps inserted by the native linker differ.
* config/tc-alpha.c (alpha_align): Only fill with a no-op pattern
if alignment stricter than 4 bytes is requested; in that case,
align to a 4-byte boundary first.
Thu Sep 28 19:35:27 1995 Pat Rankin <rankin@eql.caltech.edu>
* config/obj-vms.c (VMS_RSYM_Parse): eliminate "might be used
uninitialized" warning for `Max_Source_Offset'.
Wed Oct 4 16:17:02 1995 Kim Knuttila <krk@cygnus.com>
* config/tc-ppc.c (parse_toc_entry): New function to parse [toc]
qualifiers and detect errors if present.
(md_assemble): Add call to parse_toc_entry. Also added some support
for the [tocv] qualifier.
(ppc_pe_tocd): New function to support data in the toc section.
Wed Oct 4 14:03:39 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-ppc.c (ppc_frob_symbol): Don't create an aux entry for
an absolute symbol.
Tue Oct 3 12:18:19 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-m68k.c (isword): Accept all values from -65536 to
+65535, so ~VAL will not be rejected.
* cond.c (s_endif): Call demand_empty_rest_of_line. In MRI mode,
skip characters after the pseudo-op.
(s_else): Likewise.
* read.c (get_line_sb): Don't look past buffer_limit.
(s_include): In MRI mode, skip characters after the file name.
Mon Oct 2 16:15:27 1995 Ian Lance Taylor <ian@cygnus.com>
* config/m68k-parse.y (m68k_reg_parse): In MRI mode, permit
periods in register names.
Sat Sep 30 23:03:31 1995 Jeff Law (law@hurl.cygnus.com)
* config/tc-hppa.c (hppa_fix_adjustable): DP relative relocs
are not adjustable in SOM to avoid confusing the optimizing
linker.
Fri Sep 29 15:18:08 1995 Ian Lance Taylor <ian@cygnus.com>
Add some support for i960 MRI compatibility mode.
* config/tc-i960.c (md_pseudo_table): Add endian.
(get_args): Don't discard a space between alphanumeric characters.
(get_cdisp): Change text_section to now_seg.
(s_endian): New static function.
* config/tc-i960.h (MRI_MODE_NEEDS_PSEUDO_DOT): Define.
* expr.h (operatorT): Add O_logical_not, O_logical_and, and
O_logical_or.
* expr.c (operand): Treat '!' as logical not operator. If
TC_I960, in MRI mode permit `sizeof secname' and `startof
secname'.
(op_rank): Bump values by 2 to make room for && and ||. Add
entries for !, &&, and ||.
(expr_begin): Only do MRI changes if TC_M68K.
(operator): Recognize || and &&.
(expr): Handle new operatorT values.
* symbols.c (resolve_symbol_value): Handle new operatorT values.
(print_expr_1): Likewise.
* read.c (potable): Add debug, err, irep, irepc, print, purgem,
and rep.
(read_a_source_file): Handle MRI_MODE_NEEDS_PSEUDO_DOT.
(mri_comment_field): Only handle weird comments if TC_M68K.
(s_err): New function.
(s_org): Only punt in MRI mode if TC_M68K.
(s_mri_sect): Write TC_I960 version.
(s_print, s_purgem): New functions.
* read.h (s_err, s_print, s_purgem): Declare.
* cond.c (s_ifeqs): Implement.
(ignore_input): Handle MRI_MODE_NEEDS_PSEUDO_DOT.
* macro.c (macro_strip_at): New static variable.
(macro_init): Add strip_at parameter.
(do_formals): If macro_strip_at, change NARG to $NARG.
(define_macro): Skip a comma after the macro name.
(get_apost_token): Skip character if macro_strip_at, even if
macro_mri.
(macro_expand_body): If macro_strip_at, don't recognize parameters
in strings unless they are preceded by an '@'. If macro_strip_at,
pass '@' as strip character to sub_actual. If macro_strip_at,
strip '@' characters.
(macro_expand): If macro_strip_at, change NARG to $NARG.
(delete_macro): New function.
(expand_irp): Skip leading and trailing '"' characters if irpc.
* macro.h (macro_init): Mention new strip_at parameter.
(delete_macro): Declare.
* as.c (main): If TC_I960, pass flag_mri to macro_init as
strip_at; otherwise, pass 0.
* gasp.c (process_pseudo_op): Pass 0 to macro_init as strip_at.
(main): Likewise.
* doc/as.texinfo: Document i960 MRI mode.
* as.c (show_usage): Mention --defsym.
Thu Sep 28 19:25:04 1995 Stan Shebs <shebs@andros.cygnus.com>
* mpw-config.in: Translate "powerpc" into "ppc", remove gen of
VERSION, move gen of "conf" here from makefile.
* mpw-make.sed: New file, sed commands to translate Unix makefile
into MPW syntax.
* mpw-make.in: Remove.
* mac-as.r: New file, Mac resource file.
* as.h (inline): Don't decide about defining if __MWERKS__,
remove redundant conditional and definition.
* stabs.c (s_stab_generic): Fix syntax for OBJ_PROCESS_STAB.
Thu Sep 28 15:43:15 1995 Kim Knuttila <krk@nellie>
* config/tc-ppc.c (md_apply_fix3): Removed some TE_PE specific
manipulations, since I can't prove they're needed.
(md_begin): Removed init_regtable, insert_reg, and the call points.
(register_name): New function. Parses a register name, if appropriate.
(md_assemble): Added call to register_name to handle symbolic names.
(ppc_pe_section): Removed all duplicate IMAGE defines, and include
coff/pe.h instead.
Thu Sep 28 12:09:19 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-ppc.h (tc_fix_adjustable): Define.
(ppc_pe_fix_adjustable): Declare.
* config/tc-ppc.c (ppc_pe_fix_adjustable): New function.
Thu Sep 28 01:11:58 1995 Doug Evans <dje@deneb.cygnus.com>
* config/tc-arm.h (TARGET_FORMAT): Define for arm-coff.
Wed Sep 27 12:53:58 1995 Ian Lance Taylor <ian@cygnus.com>
* symbols.c (S_IS_LOCAL): All symbols in reg_section are local.
* config/tc-ppc.h (OBJ_XCOFF): Define if OBJ_COFF and not TE_PE.
Change OBJ_COFF checks to check OBJ_XCOFF instead.
(TARGET_FORMAT): Fully parenthesize.
(LEX_QM): Define if TE_PE.
* config/tc-ppc.c: Replace OBJ_COFF by OBJ_XCOFF throughout.
Remove checks of TE_PE within #ifdef OBJ_XCOFF sections.
(init_regtable): Make i unsigned.
(ppc_set_current_section): Rename from setCurrentSection. Change
all callers.
(ppc_arch): Return after as_fatal to avoid gcc warning.
(md_assemble): Only declare reloc if OBJ_ELF. Add default to
switch on fixups[i].reloc to avoid gcc warning.
(IMAGE_SGN_LNK_OTHER): Fix nested comment.
(ppc_pe_function): Don't call ppc_canonicalize_symbol_name.
(ppc_frob_symbol): Remove TE_PE section checks.
(md_estimate_size_before_relax): Return after abort to avoid gcc
warning.
(md_apply_fix3): Add BFD_RELOC_16_GOT_PCREL to switch.
* read.c (LEX_QM): Define as 0 if not defined.
(lex_type): Use LEX_QM for '?'.
* configure.in: No need to check whether ${cpu_type} is powerpc;
it never will be.
* configure: Rebuild.
Wed Sep 27 11:33:38 1995 Michael Meissner <meissner@tiktok.cygnus.com>
* config/tc-ppc.c (md_apply_fix3): Remove Sep 26 changes to this
function, keeping other Sep. 26 changes.
Wed Sep 27 10:29:13 1995 Kim Knuttila <krk@nellie>
* configure (emulations): Added support for ppcle-*-[pe|winnt]
(target_frag): Removed an extraneous PPC definition.
* configure.in (emulations): Same
* config/tc-ppc.h:
* config/tc-ppc.c (md_pseudo_table): Base support for new or altered
pseudo ops - <previous, pdata, ydata, reldata, rdata, ualong, znop,
section, comm, function> There will be more.
(pre_defined_registers): Predefined reg table to name registers, etc
(md_begin): Setup reg table initialization
(md_assemble): Initial [toc]x(rtoc) support
(ppc_frob_label): Removed some xcoff specific processing from TE_PE
(ppc_frob_symbol): Removed some xcoff specific processing from TE_PE
Added support for more predefined sections
(ppc_frob_section): Removed some xcoff specific processing from TE_PE
(ppc_fix_adjustable): Removed from TE_PE mainline
(md_apply_fix3): For TE_PE toc entries, we don't need to mess
with fx_addnumber. Removed for the time being.
(lots): Put back missing assignments to ppc_current_csect.
Tue Sep 26 14:57:59 1995 Michael Meissner <meissner@tiktok.cygnus.com>
* config/tc-ppc.c (ppc_elf_suffix): Support all of the V.4
relocations.
(ppc_elf_cons): Remove restriction that @ suffixes must be done
with .long. Add error if relocation does not fit in the number of
bytes provided.
(md_assemble): For absolute branches, map PC relative relocations
back into an equivalent absolute relocation.
(md_pcrel_from): If TC_FORCE_RELOCATION is true, relocation offset
is 0, not segment start.
(md_apply_fix3): Don't bother writing addend into the instruction,
since it is ignored, given that we use RELA relocations for ELF.
* config/tc-ppc.h (TC_FORCE_RELOCATION): Define to force all
branch prediction relocations to always be emitted.
Mon Sep 25 16:08:43 1995 Michael Meissner <meissner@tiktok.cygnus.com>
* config/tc-ppc.c (ppc_elf_suffix): Lower case reloc before
testing.
(md_assemble): Be more robust in terms of relocations.
(md_apply_fix3): Allow 14 bit relocs to be emitted for external
symbols in addition to 26 bit relocs. Properly insert 26/14 bit
reloc value fields into the instruction stream.
Mon Sep 25 00:23:16 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-arm.c (md_atof): Output little endian constants in
little endian mode.
* config/obj-coff.c (obj_coff_section): Pass &type, not type,
s_mri_sect.
* configure.in: Fix typo: fmt-elf to fmt=elf.
Fri Sep 22 16:34:46 1995 Michael Meissner <meissner@tiktok.cygnus.com>
* config/tc-ppc.c (ppc_elf_suffix): Rewrite to use a table of
strings and relocations they represent. Add @br{,n}taken for
branch taken/not taken support.
(md_apply_fix3): Add BFD_RELOC_PPC_B16_BR{,N}TAKEN support.
Thu Sep 21 21:10:17 1995 Michael Meissner <meissner@cygnus.com>
* config/tc-ppc.c (md_parse_option): -mrelocatable-lib now only
sets EF_PPC_RELOCATABLE_LIB and not also EF_PPC_RELOCATABLE.
Thu Sep 21 16:30:56 1995 Ian Lance Taylor <ian@cygnus.com>
* subsegs.c (subseg_set): Permit SEG_ABSOLUTE in know expression.
* expr.c (expr): Account for new operatorT values in know
expression.
* write.c (fixup_segment): Clear fixp->fx_subsy if the relocation
is fully resolved.
Thu Sep 21 14:11:49 1995 Michael Meissner <meissner@cygnus.com>
* config/tc-ppc.c (ppc_flags): New variable to hold the flag bits
to set in the ELF header.
(md_parse_option): Add support for -mrelocatable-lib. Make both
-mrelocatable and -mrelocatable-lib set ppc_flags.
(md_begin): Set ELF flags with ppc_flags.
Wed Sep 20 13:01:52 1995 Ian Lance Taylor <ian@cygnus.com>
* Makefile.in (maintainer-clean): New target, synonym for
realclean. Add GNU standard maintainer-clean echos.
* doc/Makefile.in (maintainer-clean): New target, synonym for
realclean.
Tue Sep 19 11:31:31 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-m68k.c (m68k_ip): Reject immediate operands for '%'.
* config/tc-m68k.c (m68k_ip): Reject immediate operands for '|'.
Replace 'P' with '0', '1', and '2'.
* config/tc-m68k.c (parse_mri_control_operand): Change leftstop
and rightstop to not be const.
(parse_mri_control_expression): Likewise.
(build_mri_control_operand): Likewise. Use m68k_ip_op to examine
the operand, not m68k_reg_parse.
(s_mri_if): In MRI mode, stop at the first '*'.
(s_mri_while): Likewise.
(s_mri_else): In MRI mode, ignore trailing characters.
(s_mri_endi, s_mri_break, s_mri_next, s_mri_for): Likewise.
(s_mri_endf, s_mri_repeat, s_mri_until, s_mri_endw): Likewise.
* config/m68k-parse.y: Revert yesterday's change.
* config/m68k-parse.h: Revert yesterday's change.
Mon Sep 18 15:22:28 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-m68k.c (parse_mri_control_operand): Change leftstart
and rightstart to not be const.
(parse_mri_control_expression): Likewise.
(build_mri_control_operand): Likewise. If the left side of the
comparison is a register, and the right side is not, swap the two
sides.
* config/m68k-parse.y (m68k_reg_parse): Make globally visible.
* config/m68k-parse.h (m68k_reg_parse): Declare.
* read.c (mri_comment_field): New function.
(mri_comment_end): New function.
(s_align_bytes): Use mri_comment_field.
(s_align_ptwo, s_comm, s_mri_common, s_fail, s_globl): Likewise.
(s_float_space, s_struct): Likewise.
(s_space): Use mri_comment_field rather than doing it by hand.
(cons_worker, equals): Likewise.
(s_end): Ignore comments starting with '*' or '!'.
* read.h (mri_comment_field): Declare.
(mri_comment_end): Declare.
* cond.c (s_if): Use mri_comment_field.
* config/tc-m68k.c (s_chip, s_reg): Likewise.
* write.c (fixup_segment): Handle ABS-sym in -sym case rather than
sym-sym case.
* config/obj-coff.c (fixup_segment): Likewise. Permit negative
symbols if TC_M68K.
* config/tc-m68k.c (tc_coff_fix2rtype): If fx_tcbit is set, return
R_RELLONG_NEG.
(tc_gen_reloc): If fx_tcbit is set, abort.
(md_apply_fix_2): For a negative reloc, move fx_subsy to fx_addsy,
and set fx_tcbit.
* config/tc-m68k.c (s_reg): Ignore comment field in MRI mode.
Mon Sep 18 14:44:04 1995 Arne H. Juul <arnej@pvv.unit.no>
* configure.in (mips-dec-netbsd*): New target.
* configure: Rebuild.
Sun Sep 17 22:17:43 1995 Ian Lance Taylor <ian@cygnus.com>
* configure.in: Set endian to little for mips-*-ultrix*.
* configure: Rebuild.
Fri Sep 15 13:16:55 1995 Ian Lance Taylor <ian@cygnus.com>
* expr.c (current_location): New static function. Handle magic
symbol `.'; in absolute section, return a constant.
(operand): Call current_location for '.' and '$', instead of doing
it inline. In MRI mode, call current_location for '*'.
Fri Sep 15 21:39:29 1995 Jeff Law (law@snake.cs.utah.edu)
* config/tc-m68k.c: Change some "CONST" references to "const".
Fri Sep 15 17:27:41 1995 Ken Raeburn <raeburn@cygnus.com>
Tue Sep 12 17:08:23 1995 Pat Rankin <rankin@eql.caltech.edu>
* config/obj-vms.c (VMS_stab_parse): simplify first loop;
use S_GET_NAME/modify/S_SET_NAME sequence instead of abusing
S_GET_NAME when updating symbol name.
(local_symbols_DST): first prefix/postfix typo from July 21st.
[plus comment reformatting --kr]
Wed Sep 13 12:33:03 1995 Ian Lance Taylor <ian@cygnus.com>
* Makefile.in (EXPECT): New variable.
(CHECKFLAGS): Remove.
(site.exp): New target.
(check): Rewrite to invoke runtest directly, rather than recurring
down into testsuite.
(clean-here): Remove testsuite directory.
(clean, distclean): Don't recur into testsuite.
* configure.in: Don't call AC_CONFIG_SUBDIRS(testsuite).
* configure: Rebuild.
* write.c (relax_and_size_seg): Change to the segment we are
relaxing, in case md_convert_frag, called by cvt_frag_to_fill,
wants to call fix_new.
* config/tc-m68k.c (m68k_ip): Permit PC relative code if the
segment of the symbol is the current segment, not just in
text_section.
(md_convert_frag_1): Don't call subseg_change.
(md_estimate_size_before_relax): Likewise.
Tue Sep 12 10:36:40 1995 Doug Evans <dje@canuck.cygnus.com>
* config/tc-arm.c (md_atof): Fix debugging printf, and leave it
out by default.
Mon Sep 11 11:39:11 1995 Ian Lance Taylor <ian@cygnus.com>
* doc/configure.in: Remove unused file.
* app.c (do_scrub_chars): Grab all available spaces at start of
line before preserving a single space. Remove state == 0 test
which will never succeed.
* macro.c (macro_expand_body): Delete local variables from the
formal hash table.
(macro_expand): In MRI mode, stop when whitespace is seen in the
argument list.
* sb.c: Include "libiberty.h".
* macro.c: Likewise. Also include <stdlib.h> if it exists.
Fri Sep 8 00:27:46 1995 Ian Lance Taylor <ian@cygnus.com>
* app.c (do_scrub_chars): In MRI mode, keep a space before a
possible comment character.
* config/tc-m68k.c (m68k_ip): In MRI mode, ignore anything after
an instruction which takes no operands.
* Makefile.in (install): Don't install gasp in $(tooldir).
* config/tc-mips.c (macro): Handle a non zero base register for
M_U{L,S}{D,W,H}_A.
* gasp.c (show_usage): Put program_name argument in first fprintf,
not second.
Thu Sep 7 12:33:58 1995 Ian Lance Taylor <ian@cygnus.com>
* expr.c (operand): Handle 08 and 09 in MRI mode.
* macro.c (ISSEP): Remove duplicated `"' character.
(get_any_string): Copy some characters for which ISSEP is true:
';', '>', '(', ')'. Otherwise we can get in an infinite loop.
* read.c (s_space): In MRI mode, the expressions stop at the first
unquoted space.
(cons_worker): In MRI mode, restore the terminating character at
the end of the function.
* read.c (cons_worker): Don't use #elif; old compilers don't
support it.
Wed Sep 6 21:13:06 1995 Ian Lance Taylor <ian@cygnus.com>
* app.c (do_scrub_chars): In MRI mode, silently end quoted strings
at newline characters. In MRI mode, always keep spaces in the
operands field. In MRI mode, treat a line comment character as a
regular comment character following a space.
* cond.c (ignore_input): Use strncasecmp rather than strncmp when
looking for special pseudo-ops.
* read.c (cons_worker): In MRI mode, the expressions stop at the
first unquoted space.
(equals): Likewise.
Wed Sep 6 15:03:53 1995 Jim Wilson <wilson@chestnut.cygnus.com>
* config/tc-sh.c (get_operands): Read third arg if it exists.
Otherwise, clear it.
(get_specific, case F_FR0): Add.
Wed Sep 6 15:03:53 1995 Jim Wilson <wilson@chestnut.cygnus.com>
* config/tc-sh.c (get_specific): Delete arg_to_test.
(md_assemble): Increase operand array from 2 to 3.
Tue Sep 5 16:47:36 1995 Stan Shebs <shebs@andros.cygnus.com>
* config/tc-mips.c: Remove CYGNUS LOCAL comments.
(md_begin): Use 0/1 instead of TRUE/FALSE.
(md_show_usage): Break up long format string for the benefit
of lame compilers.
* config/tc-m68k.c (md_show_usage): Ditto.
* gasp.c (show_usage): Ditto.
* macro.c (check_macro): Cast result of hash_find.
Tue Sep 5 14:46:38 1995 Ken Raeburn <raeburn@cygnus.com>
* configure.in: When testing for a free() declaration in system
header files, cast the address to a function pointer, not to an
integer.
* write.c (fix_new_internal): Call TC_INIT_FIX_DATA if TC_FIX_TYPE
is defined. Don't initialize fx_bsr. Verify that fx_size field
is wide enough to hold stored value.
* write.h (struct fix): Change tc_fix_data to type TC_FIX_TYPE if
that is defined, otherwise omit it. Delete fx_bsr. Change
fx_size to unsigned char.
* config/tc-i960.h (TC_FIX_TYPE, fx_bsr, TC_INIT_FIX_DATA): New
macros.
* config/tc-ns32k.h (TC_FIX_TYPE, fx_bsr, TC_INIT_FIX_DATA): New
macros.
* config/tc-hppa.h (TC_FIX_TYPE): Define as PTR.
* config/tc-i860.c (md_apply_fix): Delete code for checking
fx_im_disp, and for handling non-zero values, since it never gets
set after being initialized to zero.
* write.h (struct fix): Make fx_im_disp always 2 bits, since the
only tc-* files actually using it need that much.
NS32K changes from Ian Dall:
* configure.in: Treat ns32k-pc532-ux* like ns32k-pc532-mach*, and
ns32k-pc532-lites* like ns32k-pc532-netbsd*.
* config/tc-ns32k.h (LOCAL_LABELS_FB): Define to 1.
Fri Sep 1 17:02:15 1995 steve chamberlain <sac@slash.cygnus.com>
* write.c (fixup_segment): Get TC_FORCE_RELOCATION up the
right way!
Fri Sep 1 08:20:19 1995 James G. Smith <jsmith@beauty.cygnus.com>
* config/tc-mips.c (md_parse_option, md_begin, md_show_usage):
Add support for "-mcpu=vr4300" as processor identifier.
Thu Aug 31 16:41:06 1995 steve chamberlain <sac@slash.cygnus.com>
* write.c (fixup_segment): Remove change of 29th.
* config/tc-{i386,arm}.h (TC_FORCE_RELOCATION): Keep RVA relocs.
Tue Aug 29 19:42:58 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* config/tc-m68k.c (m68k_ip) [case POST/PRE/BASE]: Fix typo when
looking at outer displacement. Don't set the postindex bit if the
index suppress bit is set (for memory indirect addressing mode).
Thu Aug 31 06:49:37 1995 Doug Evans <dje@canuck.cygnus.com>
* config/tc-arm.c (tc_gen_reloc): Delete duplicated code.
Wed Aug 30 23:51:57 1995 Ian Lance Taylor <ian@cygnus.com>
* app.c (do_scrub_chars): Free saved_input when the from buffer
exactly fills the to buffer.
Wed Aug 30 13:46:39 1995 Doug Evans <dje@canuck.cygnus.com>
* config/tc-sparc.c (parse_keyword_arg, parse_const_expr_arg): New fns.
(sparc_ip): Call them for asi, membar, and prefetch parsing.
Tue Aug 29 15:45:37 1995 Doug Evans <dje@canuck.cygnus.com>
* config/tc-sparc.c (membar_masks): Deleted.
(sparc_ip): Clean up ASI and membar support.
Tue Aug 29 13:20:27 1995 steve chamberlain <sac@slash.cygnus.com>
* read.c (potable): Rva is new entry.
(cons_worker): New, split from cons. Handles rva.
(cons, s_rva): Call cons_worker.
* read.h (s_rva): New declaration.
* write.c (fixup_segment): Don't throw away rva relocs.
* config/tc-arm.c (md_apply_fix, tc_gen_reloc): Handle RVA.
* config/tc-i386.c (tc_coff_fix2type): Handle RVA.
* config/tc-i386.h (TC_COUNT_RELOC): Remember RVAs.
(TC_RVA_RELOC): New definition.
Sun Aug 27 17:41:05 1995 Doug Evans <dje@canuck.cygnus.com>
* config/tc-arm.c (do_swi): Allow optional leading '#'.
Sat Aug 26 17:24:20 1995 Ian Lance Taylor (ian@cygnus.com)
* config/tc-m68k.c (comment_chars): If TE_DELTA is defined,
include '#'.
* config/tc-m68k.h (NO_PSEUDO_DOT): Define if TE_DELTA is
defined.
* config/te-delta.h: Include obj-format.h.
* config/te-sco386.h: Likewise.
* config/te-sysv32.h: Likewise.
* app.c (scrub_file): Remove.
(scrub_from_file, scrub_to_file): Remove.
(scrub_string, scrub_last_string): Remove.
(scrub_from_string, scrub_to_string): Remove.
(saved_input, saved_input_len): New static variables.
(struct app_saved): Remove scrub_string, scrub_last_string, and
scrub_file fields. Add saved_input and saved_input_len fields.
(app_push): Adjust saved fields for changes in struct app_save.
Initialize state and saved_input.
(app_pop): Adjust saved fields for changes in struct app_save.
(do_scrub_chars): Rename from do_scrub_next_char and rewrite to
process a buffer at a time rather than a character at a time.
(main, as_warn): Remove obsolete testing code.
* as.h (do_scrub_next_char): Don't declare.
(do_scrub_chars): Declare.
(scrub_from_file, scrub_from_string): Don't declare.
(scrub_to_file, scrub_to_string): Don't declare.
* input-file.c (input_file_get): New static function.
(input_file_give_next_buffer): Call do_scrub_chars rather than
do_scrub_next_char.
* read.c (scrub_string, scrub_string_end): New static variables.
(scrub_from_string): New static function.
(read_a_source_file): Call do_scrub_chars rather than
do_scrub_next_char.
Thu Aug 24 18:50:19 1995 Ian Lance Taylor (ian@cygnus.com)
* gasp.c (as_abort): New function.
* sb.c (sb_build): Revert yesterday's patch.
* Makefile.in (gasp.new): Depend upon ../libiberty/libiberty.a.
Just link against libiberty, not against $(LIBS).
Wed Aug 23 15:18:20 1995 Ian Lance Taylor (ian@cygnus.com)
* sb.c (sb_build): Undefine abort before calling it, since gasp
does not provide as_abort.
Wed Aug 23 10:40:41 1995 Michael Meissner <meissner@tiktok.cygnus.com>
* config/tc-ppc.c (set_target_endian): New static to say whether
we've initialized target_big_endian or not.
(md_parse_option): Set set_target_endian if we set the variable
target_big_endian.
(md_begin): Only set target_big_endian if !set_target_endian.
Tue Aug 22 03:00:33 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
Sat Aug 19 18:08:16 1995 Pat Rankin <rankin@eql.caltech.edu>
* config/obj-vms.h (DST_S_C_SRC_SETREC_W, DST_S_C_SRC_DEFLINES_B):
New macros.
* config/obj-vms.c (VMS_TBT_Line_PC_Correlation,
VMS_TBT_Source_Lines): Make traceback info be robust enough to
handle huge source files.
(VMS_TBT_Source_File): Reorganize the native- vs cross-assembly
support so that actual object file output is clearer.
(VMS_TBT_Source_File: Fab, Nam, Date_Xab, File_Header_Xab):
Replace static variables with automatic ones.
Sat Aug 12 20:18:15 1995 Pat Rankin <rankin@eql.caltech.edu>
* config/obj-vms.c (Module_Name): new file scope variable.
(VMS_TBT_Module_Begin): use it instead of local variable.
(Write_VMS_MHD_Records): ditto; assign its value here.
(Write_VMS_EOM_Record): second argument has type valueT.
(VMS_Initialized_Data_Size): simplify search loop; return
type is offsetT; second argument is unsigned.
Sat Jun 17 19:05:25 1995 Pat Rankin (rankin@eql.caltech.edu)
* messages.c (as_perror): Use xstrerror instead of strerror.
Mon Aug 21 13:57:20 1995 Ian Lance Taylor <ian@cygnus.com>
* as.c (parse_args): Accept --defsym SYM=VALUE.
* doc/as.texinfo, doc/as.1: Document --defsym.
* read.c (read_a_source_file): In MRI mode, don't end the
statement inside a quotation.
(s_space): Don't warn about a zero repeat count in MRI mode.
* config/tc-m68k.c (crack_operand): In MRI mode, don't count
parentheses inside quotes.
(md_assemble): In MRI mode, anything after the operands field is a
comment.
(parse_mri_control_operand): Adjust start and stop to remove
spaces.
(s_mri_for): Likewise.
* cond.c (s_ifdef): Restore the character after the symbol name,
in case it is a newline.
(s_if): If ignoring the current tree, don't try to parse the
expression.
* app.c (do_scrub_next_char): If LEX_IS_STRINGQUOTE or
LEX_IS_ONECHAR_QUOTE is seen in state 10, preserve one space.
* doc/as.texinfo: Document irp, irpc, macro, and rept. MRI mode
now supports macros, ifc, ifnc, irp, irpc, rept, and endr, without
using gasp.
Add support for macros.
* as.c: Include sb.h and macro.h.
(max_macro_next): New global variable.
(main): Call macro_init.
(macro_expr): New static function.
* as.h (max_macro_nest): Declare.
* read.c (line_label): Rename from mri_line_label. Change all
uses.
(potable): Add exitm, irp, irpc, macro, mexit, rept.
(read_a_source_file): Always clear line_label at the start of a
line, not just when flag_mri or LABELS_WITHOUT_COLONS. Fix
MRI/LABELS_WITHOUT_COLONS handling. In MRI mode, permit label:
equ val. Set line_label when calling colon. In MRI mode, a
leading '.' does not imply a pseudo-op. Check for macro expansion
before calling md_assemble.
(s_irp): New function.
(get_line_sb): New static function.
(s_macro): New function.
(s_mexit): New function.
(s_rept): New function.
* read.h (line_label): Rename from mri_line_label.
(s_irp, s_rept): Declare.
(s_macro, s_mexit): Declare.
* input-scrub.c: Include sb.h.
(sb_index, from_sb): New static variables.
(macro_nest): New static variable.
(struct input_save): Add sb_index and from_sb fields. Change
next_saved_file field to be struct input_save *.
(next_saved_file): Changed to be struct input_save *.
(input_scrub_push): Change to return type struct input_save *.
Save sb_index and from_sb.
(input_scrub_pop): Change parameter type to struct input_save *.
Restore sb_index and from_sb.
(input_scrub_include_sb): New function.
(input_scrub_next_buffer): Handle reading from from_sb.
(bump_line_counters): Only increment lines if not using from_sb.
* config/tc-m68k.c (opt_table): Add nest.
(opt_nest): New static function.
* gasp.c: Include sb.h and macro.h. Move all sb related functions
and definitions to sb.h and sb.c. Move all macro related
functions and definitions to macro.h and macro.c.
* sb.h, sb.c: New files, extracted from gasp.c.
* macro.h, macro.c: Likewise.
* Makefile.in (OBJS): Add sb.o and macro.o
(GASPOBJS): Define.
(gasp.new): Depend upon $(GASPOBJS). Use $(GASPOBJS) to link.
(TARG_CPU_DEP_m68k): Depend upon subsegs.h.
(gasp.o): Depend upon sb.h and macro.h.
(sb.o): New target.
(macro.o): New target.
(as.o): Depend upon sb.h and macro.h.
(input-scrub.o): Depend upon sb.h.
(read.o): Depend upon sb.h and macro.h.
* cond.c (get_mri_string): New static function.
(s_ifc): New function.
* read.c (potable): Add ifc and ifnc.
* read.h (s_ifc): Declare.
* app.c (do_scrub_begin): In MRI mode, set lex of ' to
LEX_IS_STRINGQUOTE.
Mon Aug 21 13:41:33 1995 Michael Meissner <meissner@cygnus.com>
* config/tc-ppc.c (md_assemble): Allow @HA, @L, and @H suffixes on
constant expressions.
Sun Aug 20 15:54:37 1995 Jim Wilson <wilson@cygnus.com>
* config/tc-arm.c (md_reloc_size): Add const to declaration.
Fri Aug 18 10:58:09 1995 Ian Lance Taylor <ian@cygnus.com>
* read.c (s_include): In MRI mode, don't expect quotes around the
file name.
* listing.c (listing_title): Don't require the title to be quoted.
* gasp.c (include_print_where_line): Always subtract 1 from
linecount before printing it.
(process_file): In MRI mode, lines beginning with '*' or '!' are
comments.
(do_reg): In MRI mode, don't require parentheses.
(do_include): In MRI mode, don't requires quotes. If the file can
not be found in the include path, try opening it in the current
directory. Print the file name correctly in the error message.
(chartype_init): In MRI mode, set FIRSTBIT for '.'.
(main): Set comment_char to ';' when entering MRI mode.
* config/tc-m68k.c: Include subsegs.h.
(m68k_ip): Pass 64 rather than -1 to add_Fix in 'B' 'B' case.
(md_pcrel_from): If fx_pcrel_adjust is 64, use -1 instead.
* config/tc-sparc.h (tc_fix_adjustable): For OBJ_AOUT case, adjust
BFD_RELOC_16 and BFD_RELOC_32 relocs.
Wed Aug 16 14:48:44 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
* as.h (alloca): Use void* declaration on HP/UX.
Wed Aug 16 12:49:17 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-sparc.c (tc_gen_reloc): If PIC, only change PCREL_S2
to WPLT30 for an undefined or external symbol. Don't consider
PC10 or PC22 to be a PC relative reloc when choosing between
fx_addnumber and fx_offset.
* config/tc-z8k.c (md_number_to_chars): Don't do it here, call
number_to_chars_bigendian.
* config/tc-z8k.h (TARGET_BYTES_BIG_ENDIAN): Define.
* expr.c (operand): Add support for .startof. and .sizeof. by
using magic symbol names which the linker will recognize
specially.
* doc/as.texinfo: Take out note that .startof. and .sizeof. are
not supported.
Tue Aug 15 15:08:49 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-m68k.c (md_pseudo_table): Add MRI structured control
directives: if, if.b, if.w, if.l, else, else.s, else.l, endi,
break, break.s, break.l, next, next.s, next.l, for, for.b, for.w,
for.l, endf, repeat, until, until.b, until.w, until.l, while,
while.b, while.w, while.l, endw.
(enum mri_control_type): Define.
(struct mri_control_info): Define.
(mri_control_stack): New static variable.
(mri_control_index): New static variable.
(mri_control_label): New static function.
(push_mri_control, pop_mri_control): New static functions.
(parse_mri_condition): New static function.
(parse_mri_control_operand): New static function.
(swap_mri_condition, reverse_mri_condition): New static functions.
(build_mri_control_operand): New static function.
(parse_mri_control_expression): New static function.
(s_mri_if, s_mri_else, s_mri_endi): New static functions.
(s_mri_break, s_mri_next): New static functions.
(s_mri_for, s_mri_endf): New static functions.
(s_mri_repeat, s_mri_until): New static functions.
(s_mri_while, s_mri_endw): New static functions.
* gasp.c (mrikinfo): Remove IF.
* expr.c (get_symbol_end): Accept \001 as part of a name.
* symbols.c (colon): Change parameter to const char *.
* symbols.h (colon): Update declaration.
Mon Aug 14 20:51:56 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
* write.c (write_contents): Always do it the BFD_FAST_SECTION_FILL
way. Reformat and reindent that code to GNU standards.
(BFD_FAST_SECTION_FILL): Don't define.
Mon Aug 14 14:08:07 1995 Jeff Law (law@snake.cs.utah.edu)
* config/tc-hppa.c (md_apply_fix): Don't try to apply BEGIN_BRTAB
or END_BRTAB fixups.
Mon Aug 14 15:45:07 1995 Ian Lance Taylor <ian@cygnus.com>
* gasp.c (do_align, get_any_string): Mark as static.
(do_assigna, do_assignc, new_file): Likewise.
* config/tc-m68k.c (s_reg): Rename local op to rop to avoid
confusion with macro op.
* gasp.c (strip_comments): Comment out; it's not used.
(do_end): Add parameter. In MRI mode, print it out.
(do_irp): New static function.
(sub_actual): Change parameter m to formal_hash, changing type
from macro_entryh * to hash_table *.
(macro_expand_body): New static function, broken out of
macro_expand.
(macro_expand): Call macro_expand_body.
(K_*): Fully parenthesize.
(K_IRP, K_IRPC): Define.
(mrikinfo): Add IRP and IRPC.
(process_pseudo_op): In MRI mode, print out END pseudo-op. Pass
line to do_end. Handle K_IRP and K_IRPC.
* config/tc-m68k.c (s_opt): Reset *input_line_pointer even if we
don't do anything with the option.
Sun Aug 13 17:03:58 1995 Ian Lance Taylor <ian@cygnus.com>
* frags.c (frag_align): Handle absolute_section.
* write.c (record_alignment): Likewise.
* config/tc-mips.c (macro_build): Skip insns with an inappropriate
ISA level.
Sun Aug 13 00:35:02 1995 Jeff Law (law@snake.cs.utah.edu)
* config/tc-hppa.c (md_pseudo_table): Add entries for
"begin_brtab" and "end_brtab" pseudo-ops.
(pa_brtab): New function.
(tc_gen_reloc, SOM version): Handle R_BEGIN_BRTAB and R_END_BRTAB.
(hppa_force_relocation): Force relocations for BRTAB fixups
when OBJ_SOM is defined.
Fri Aug 11 20:34:05 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
* Makefile.in (TE_OBJS): Add empty definition.
Fri Aug 11 19:16:08 1995 Ian Lance Taylor <ian@cygnus.com>
* gasp.c (change_base): Don't treat ' specially in MRI mode.
(process_file): Don't warn about missing END in MRI mode.
(do_if): New static function.
(get_mri_string, do_ifc): New static functions.
(buffer_and_nest): Treat MRI mode like alternate syntax mode.
(do_aendr): Change error message in MRI mode.
(do_arepeat): Use REPT/ENDR in MRI mode.
(do_formals): In MRI mode, add special NARG formal.
(macro_expand): Various changes for MRI mode: permit a qualifier
on the macro name; set special NARG formal; permit unnamed
positional arguments; use && to concatenate named parameters;
permit \d to specify an unnamed parameter; permit named parameters
to not start with \; use == to see if a parameter exists.
(getstring): In MRI mode, allow <> to quote a string.
(K_IFEQ, K_IFNE, K_IFLT, K_IFLE, K_IFGE, K_IFGT): Define.
(K_IFC, K_IFNC): Define.
(struct keyword): Name structure used in kinfo array.
(mrikinfo): New static array.
(process_pseudo_op): Don't require leading '.' in MRI mode.
Handle new MRI pseudo-op definitions.
(add_keyword): New static function, broken out of process_init.
(process_init): Use add_keyword. In MRI mode, add mrikinfo table.
(long_options): Add "mri".
(show_usage): Mention -M/--mri.
(main): Call process_init after processing arguments. Handle -M.
* doc/gasp.texi: Document -M/--mri.
* gasp.c: Include ansidecl.h. Make all local functions static.
Add prototypes for all static functions.
(mri): New global variable.
(sb_add_char): Change parameter c from char to int.
(sb_add_string): Make parameter s into a const pointer.
(sb_add_buffer): Likewise.
(checkconst): Change parameter op from char to int.
(exp_get_abs): Make parameter emsg into a const pointer.
(do_res): Change parameter type from char to int.
(buffer_and_nest): Make parameters from and to into const
pointers.
(do_sdata): Change parameter type from char to int.
(new_file): Make parameter name into a const pointer.
(do_define): Make parameter string into a const pointer.
* config/tc-h8300.c (md_number_to_chars): Don't do it here, call
number_to_chars_bigendian.
* config/tc-h8300.h (TARGET_BYTES_BIG_ENDIAN): Define.
Fri Aug 11 13:23:56 1995 Michael Meissner <meissner@cygnus.com>
* write.h (struct fix): Add new field fx_no_overflow.
* write.c (fixup_segment): If fx_no_overflow is non-zero, don't
complain if the addend is too large.
* config/tc-ppc.c (md_assemble): Set fx_no_overflow if the half
word relocations BFD_RELOC_{LO16,HI16,HI16_S}.
Thu Aug 10 20:56:38 1995 Ken Raeburn <raeburn@cygnus.com>
* read.c (s_mri_sect) [BFD_ASSEMBLER]: Fix typos in choosing and
setting section flags.
Thu Aug 10 00:38:11 1995 Ian Lance Taylor <ian@cygnus.com>
* doc/as.texinfo: Add documentation for MRI compatibility mode.
* doc/as.1: Likewise.
* config/tc-m68k.c (m68k_ip): When recognizing '#', use isbyte and
iword rather than expr8 and expr16. When recognizing 'M', use
issbyte rather than expr8. When recognizing 'Q' and 't', just
check for O_constant rather than using expr8.
* config/m68k-parse.h (expr8, expr16): Don't define.
* Makefile.in (m68k-parse.o): Depend upon m68k-parse.h, not
m68k-parse.y.
* read.c (potable): Add spc, ttl, xcom, xref.
(s_mri_sect): New function.
* read.h (s_mri_sect): Declare.
* config/obj-coff.c (obj_coff_section) (both versions): In MRI
mode, call s_mri_sect.
(obj_pseudo_table): Add sect.s and section.s. Move sect outside
of ifndef BFD_ASSEMBLER.
* config/obj-elf.c (elf_pseudo_table): Add section.s, sect,
sect.s.
(obj_elf_section): In MRI mode, call s_mri_sect.
* config/tc-m68k.c (md_pseudo_table): Add restore, save.
(struct save_opts): Define.
(save_stack): New static variable.
(s_save, s_restore): New static functions.
* read.c (s_set): Remove unused local ptr.
(hex_float): Check target_big_endian.
(equals): Remove unused local p.
* config/tc-a29k.h (TARGET_BYTES_BIG_ENDIAN): Define.
* config/tc-h8500.h (TARGET_BYTES_BIG_ENDIAN): Define.
* config/tc-hppa.h (TARGET_BYTES_BIG_ENDIAN): Define.
* config/tc-i860.h (TARGET_BYTES_BIG_ENDIAN): Define.
* config/tc-m68k.h (TARGET_BYTES_BIG_ENDIAN): Define.
* config/tc-m88k.h (TARGET_BYTES_BIG_ENDIAN): Define.
* config/tc-tahoe.h (TARGET_BYTES_BIG_ENDIAN): Define.
* config/tc-sh.c (little): Set target_big_endian.
(md_begin): Likewise.
(md_parse_option): Likewise.
(build_relax): Check target_big_endian rather than shl.
(build_Mytes, md_atof): Likewise.
(md_convert_frag, md_apply_fix): Likewise.
(md_number_to_chars): Likewise.
Wed Aug 9 10:51:48 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-m68k.c (m68k_abspcadd): New static variable.
(m68k_quick): New static variable.
(m68k_rel32): New static variable.
(md_pseudo_table): Add opt and reg.
(m68k_ip): Permit absolute symbols in 'l'/'L' recognition. Check
m68k_quick in 'M' and 'Q' recognition. Check m68k_abspcadd in
DISP handling. Check m68k_rel32 in BASE/POST/PRE handling.
(md_begin): In MRI mode, initialize m68k_abspcadd and m68k_rel32.
In MRI mode, change unsized branch aliases to be variable sized.
(struct opt_action): Define.
(opt_table): Define.
(s_opt): New static function.
(skip_to_comma): New static function.
(opt_chip): New static function.
(opt_list): New static function.
(opt_list_symbols): New static function.
(s_reg): New static function.
* as.h (flag_keep_locals): Change from unsigned char to int.
(flag_no_warnings): Likewise.
* read.c (mri_line_label): Make non-static.
(potable): Add nopage, page, plen.
(s_org): Error if in MRI mode.
* read.h (mri_line_label): Declare.
* listing.c (listing_nopage): New function.
* listing.h (listing_nopage): Declare.
* symbols.c (symbol_begin): Set sy_frag of abs_symbol to
&zero_address_frag.
* write.c (adjust_reloc_syms): Check that symbol is not NULL
before checking sy_mri_common.
(fixup_segment): Likewise.
* config/obj-coff.c (fixup_segment): Likewise.
* read.c (abs_section_offset): New global variable.
(potable): Add offset, struct.
(do_org): New static function; handle changing the origin in the
absolute section.
(s_org): Use do_org.
(s_set): Likewise.
(equals): Likewise.
(s_space): In absolute_section, just increase abs_section_offset.
(s_struct): New function.
(emit_expr): Handle absolute_section specially.
* read.h (abs_section_offset): Declare.
(s_struct): Declare.
* frags.c (frag_more): Warn if in absolute_section.
(frag_now_fix): In absolute_section, return abs_section_offset.
* subsegs.c (subseg_change): If switching to absolute_section,
just set now_seg and now_subseg.
(subseg_set_rest): Special handling when switching to or from
absolute_section.
* config/tc-m68k.c (m68k_float_copnum): New static variable.
(md_pseudo_table): Add fopt and mask2.
(m68k_ip): Use m68k_float_copnum, not COPNUM, when setting
coprocessor register to use. In case 'I' when checking operands,
correct coprocessor register numbers. In case 'I' when setting
operands, don't add 1.
(s_fopt): New static function.
* config/m68k-parse.h (COPNUM): Don't define.
* read.c (potable): Add ifeq, ifge, ifgt, ifle, iflt, ifne.
Change if to pass O_ne to s_if.
(read_a_source_file): Don't define an label without a colon if
ignore_input returns true.
* cond.c (s_if): Treat argument as an operatorT describing how to
compare the argument against zero.
(ignore_input): Don't require an initial dot in MRI mode, or if
NO_PSEUDO_DOT is defined.
* read.c (potable): Add dcb, dcb.b, dcb.d, dcb.l, dcb.s, dcb.w,
dcb.x, ds.d, ds.p, ds.s, ds.x, elsec, endc, fail, format, llen,
noformat.
(read_a_source_file): If pseudo-op handler is s_end, quit
immediately.
(s_end): New function.
(s_fail): New function.
(s_float_space): New function.
(hex_float): New static function.
(float_cons): Use hex_float.
* read.h (s_fail): Declare.
(s_float_space): Declare.
* cond.c (s_end): Remove.
* listing.c (listing_psize): Treat argument as indicating whether
a height is expected.
* read.c (mri_pending_align): New static variable.
(read_a_source_file): Handle mri_pending_align.
(cons): Set mri_pending_align if appropriate.
* configure.in: Move random special target handling before
possible break.
* configure: Rebuild.
Tue Aug 8 23:41:25 1995 Alan Modra <alan@spri.levels.unisa.edu.au>
* configure.in: Consistently use ${target_cpu_type} rather than
${cpu_type} after the loop.
* configure: Rebuild.
* Makefile.in (targ-cpu.o): Use @target_cpu_type@ rather than
@cpu_type@.
Tue Aug 8 17:27:17 1995 Ken Raeburn <raeburn@cygnus.com>
* expr.h (operatorT): Remove comma after last enumerator value.
* config/obj-vms.c: Some whitespace cleanup from Pat Rankin.
* as.h (alloca): If __STDC__, declare void* instead of char*.
Wed Aug 2 18:54:37 1995 Pat Rankin <rankin@eql.caltech.edu>
* config/obj-vms.c (Flush_VMS_Object_Record_Buffer,
Close_VMS_Object_File): Reorganize the `#if !VMS' cross-assmebler
support code.
(Close_VMS_Object_File): Call Set_VMS_Object_File_Record to flush
output buffer--just in case--before closing the file.
Tue Aug 8 13:07:05 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-m68k.c (archs): Add 68ec000, 68hc000, 68hc001,
68ec020, 68ec030, 68ec040, and 68330.
(md_pseudo_table): Add chip and comline.
(m68k_init_after_args): Use strcasecmp when comparing default_cpu
against architectures.
(mri_chip, s_chip): New static functions.
* struc-symbol.h (struct symbol): Add sy_mri_common bit.
* read.h (mri_comon_symbol): Declare.
(s_mri_common): Declare.
* read.c (mri_line_label): New static variable.
(mri_common_symbol): New global variable.
(potable): Add "common" and "common.s".
(read_a_source_file): In MRI mode, set mri_line_label for a label
at the start of a line.
(s_mri_common): New function.
(s_space): Handle mri_common_symbol.
* symbols.c (colon): Change return value from void to symbolS *,
and return new symbol. If mri_common_symbol is set, attach the
new symbol to it.
(resolve_symbol_value): Handle an sy_mri_common symbol.
* symbols.h (colon): Change return value in declaration.
* subsegs.c (subseg_set_rest): Clear mri_common_symbol.
(subseg_set (both versions)): Likewise.
* frags.c (frag_more): Warn if mri_common_symbol is not NULL.
* write.c (adjust_reloc_syms): Skip sy_mri_common symbols.
(write_object_file): Discard sy_mri_common symbols.
(fixup_segment): Change relocations against sy_mri_common symbols
to be against the common symbol itself.
* config/obj-coff.c (yank_symbols): Discard sy_mri_common symbols.
(fixup_segment): Change relocations against sy_mri_common symbols
to be against the common symbol itself.
* config/obj-aout.c (obj_crawl_symbol_chain): Discard
sy_mri_common symbols.
* doc/c-m68k.texi: Add documentation for CPU specific options, and
for Motorola syntax.
* config/m68k-parse.y (motorola_operand): For (%pc), set mode to
DISP, not BASE.
Tue Aug 8 02:31:38 1995 Ken Raeburn <raeburn@cygnus.com>
* write.c (relax_align): Add extra padding for linkrelax only if
LINKER_RELAXING_SHRINKS_ONLY is defined.
* config/tc-i960.h (LINKER_RELAXING_SHRINKS_ONLY): Define it.
* doc/internals.texi (Relaxation): Write up some stuff on linker
relaxing and LINKER_RELAXING_SHRINKS_ONLY.
Mon Aug 7 17:18:10 1995 Ian Lance Taylor <ian@cygnus.com>
* config/m68k-parse.y: New file: bison grammar for m68k operands,
including support for Motorola syntax.
* config/m68k-parse.h: New file; definitions shared between
m68k-parse.y and tc-m68k.c.
* config/tc-m68k.c: Include m68k-parse.h.
(enum operand_type): Move to m68k-parse.h, where it is named
m68k_operand_type. Rename all uses. Rearrange somewhat. Add
FPREG. Rename AOFF to DISP. Rename AINDX to BASE. Rename APODX
to POST. Rename APRDX to PRE. Remove AMIND. Rename MSCR to
CONTROL. Remove DINDR.
(struct m68k_exp): Move to m68k-parse.h. Remove e_beg, e_end and
e_seg fields. Rename e_exp to exp. Rename e_siz to size, and
change type to enum m68k_size. Change all uses.
(enum _register): Move to m68k-parse.h, where it is named
m68k_register. Rename all uses. Add ZDATA0-7 and ZADDR0-7.
(struct m68k_op): Move to m68k-parse.h. Change all fields.
(seg): Don't define.
(add_exp): Remove.
(FAIL, OK): Remove.
(m68k_reg_parse): Move to m68k-parse.y, and rewrite.
(SKIP_WHITE, SKIP_W): Remove.
(try_moto_index, try_index): Remove.
(m68k_ip_op): Move to m68k-parse.y, and rewrite to use grammar.
(main): Remove obsolete test function.
(m68k_ip): Extensive changes to use new grammar.
(get_regs): Remove.
(crack_operand): m68k_ip_op now returns 0 on success.
(init_table): Add ssp, zd0-7 and za0-7.
(md_assemble): Make er const. Correct loop over operands when
looking for error message.
(md_begin): Set alt_notend_table for '(' and '@'.
(get_num): Expression is already parsed. Don't set seg.
* configure.in: If cpu_type is m68k, put m68k-parse.o in
extra-objects.
* configure: Rebuild.
* Makefile.in (DISTSTUFF): Add m68k-parse.c.
(BISON): Use ../bison/bison if it exists.
(BISONFLAGS): Define as empty.
(TARG_CPU_DEP_m68k): Depend upon $(srcdir)/config/m68k-parse.h.
(m68k-parse.c, m68k-parse.o): New targets.
Mon Aug 7 02:54:20 1995 Jeff Law (law@snake.cs.utah.edu)
* config/tc-sh.c (parse_reg): Handle new FP registers.
(get_specific): Handle new operand types.
Fri Aug 4 12:29:21 1995 Ian Lance Taylor <ian@cygnus.com>
* expr.c (op_encoding): Make non-const. Don't set '"' to
O_bit_not.
(expr_begin): Set op_encoding['"'] in MRI mode.
Wed Aug 2 18:39:43 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-m68k.c: Remove BREAK_UP_BIG_DECL stuff.
(struct m68k_incant): Change m_operands field to be const.
(struct m68k_it): Change args field to be const.
(m68k_ip): Change local variable s to be const.
(opcode_ptr): Remove.
(md_begin): Use m68k_numopcodes, not numopcodes. Use
m68k_opcodes, not removed opcode_ptr. Use m68k_numaliases, not
numaliases.
Tue Aug 1 17:35:26 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-m68k.c (init_table): Add "control", "status", "iaddr",
"sfcr", and "dfcr" as synonyms for existing entries.
(md_begin): In MRI mode, force flag_reg_prefix_optional to 1.
(md_parse_option): Removed unused locals i and arch. Change type
of arch (another one) to unsigned long.
(tc_coff_sizemachdep): Add return after abort to avoid warning.
Initial support for MRI style labels and expressions.
* as.h (flag_mri): Declare/define.
* as.c (show_usage): Mention -M and its synonym --mri.
(parse_args): Add 'M' to std_shortopts. Add "mri" to
std_longopts. Set flag_mri if -M is seen.
(main): Call parse_args before input_scrub_begin. Call
expr_begin.
* app.c (do_scrub_begin): Don't set lex for '"' or '\'' in MRI
mode. Do set lex for ';', '*', and '!' in MRI mode.
(do_scrub_next_char): Remove MRI ifdef in LEX_IS_WHITESPACE case.
In MRI mode, keep spaces between labels and colons. Remove MRI
ifndef around LEX_IS_ONECHAR_QUOTE case. In MRI mode, don't use
'!' or '*' as comment characters even if they are in
comment_chars.
* read.h (lex_type): No longer const.
* read.c: Include libiberty.h.
(lex_type): No longer const.
(read_begin): In MRI mode, set lex_type of '?' to 3.
(potable): Add dc, dc.b, dc.d, dc.l, dc.s, dc.w, dc.x, ds, ds.b,
ds.l, ds.w, and xdef.
(read_a_source_file): Change LABELS_WITHOUT_COLON ifdef to check
for MRI mode at runtime rather than compile time. Handle the EQU
pseudo-op in MRI mode. Remove bogus MRI ifdef around done_pseudo.
Change NO_PSEUDO_DOT ifdef to also take effect for MRI mode at
runtime.
(cons): In MRI mode, always call parse_mri_cons rather than
TC_PARSE_CONS_EXPRESSION.
(parse_mri_cons): Always compile, not just when MRI is defined.
Call TC_PARSE_CONS_EXPRESSION, not expression, when the input is
not a string constant. Handle A and E modifiers.
(float_cons): Accept :xxxx, where the x's are hex digits.
* expr.h (operatorT): Add O_eq, O_ne, O_lt, O_le, O_ge, O_gt.
(expr_begin): Declare.
* expr.c (integer_constant): In MRI mode, if the base was not
specified, look for a suffix on the number to set the base.
(mri_char_constant): New static function.
(operand): Remove MRI ifdef. In MRI mode, do various things: Pass
0 as the base when calling integer_constant if there was no
prefix. Check for a hex constant suffix if when a leading '0' is
seen. Don't accept 0x or 0b as a prefix. Check for E'chars' and
A'chars'. Handle MRI character constants. Treat '"' as the
unary bitwise not operator. Treat $ as the program counter, or as
the prefix for a hex constant. Treat % as the prefix for a binary
constant and @ as the prefix for an octal constant. Treat : as
the prefix for a hex constant.
(op_encoding): Set '"' to O_bit_not, '<' to O_lt, and '>' to O_gt.
(op_rank): No longer const. Change rank values.
(expr_begin): New function.
(operator): New static function.
(expr): Use operator. Don't bother to mention the operator in
warnings. Remove bogus #if 0 code. Handle new operatorT values.
* atof-generic.c (atof_generic): In MRI mode, accept underscores
around the exponent in floating point numbers.
* symbols.h (symbols_case_sensitive): Declare.
* symbols.c (symbols_case_sensitive): New global variable.
(symbol_create): Check symbols_case_sensitive.
(symbol_find_base): Likewise.
(resolve_symbol_value): Handle new operatorT values.
(print_expr_1): Likewise.
(S_IS_LOCAL): In MRI mode, names beginning with two '?' characters
are local.
Tue Aug 1 11:35:18 1995 steve chamberlain <sac@slash.cygnus.com>
* config/tc-sh.c (md_convert_frag): Make some error messages
more explict.
Mon Jul 31 21:40:47 1995 Ken Raeburn <raeburn@cygnus.com>
Sat Jul 29 18:55:23 1995 Pat Rankin <rankin@eql.caltech.edu>
* config/obj-vms.c (COPY_SHORT, COPY_LONG, PUT_SHORT, PUT_LONG):
Make expansion be safe for use in expressions.
(PUT_COUNTED_STRING): Bracket expansion with `do {...} while (0)'
rather than just `{...}'.
Mon Jul 31 18:19:26 1995 steve chamberlain <sac@slash.cygnus.com>
* gasp.c (main): Parse -I option.
(do_include): Look through include list.
* gasp.c (change_base): Don't modify numbers in strings.
Mon Jul 31 12:16:21 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-ppc.h (SUB_SEGMENT_ALIGN): Define. From Niclas
Andersson <nican@ida.liu.se>.
Thu Jul 27 20:47:12 1995 Ken Raeburn <raeburn@cygnus.com>
* config/obj-coff.c (fixup_segment): Don't do further pcrel
processing after converting difference of two symbols in the
same segment. From Jim Wilson.
* configure.in (i386-*-linuxoldld): Add as synonym for
i386-*-linux*aout*. From Fred Fish.
* configure: Regenerated.
Thu Jul 27 16:14:56 1995 Pat Rankin <rankin@eql.caltech.edu>
* config/obj-vms.c (enum ps_type {ps_TEXT,ps_DATA,ps_COMMON,
ps_CONST}): New constants.
(VMS_Psect_Spec): Use them instead of literal strings.
(vms_write_object_file, global_symbol_directory): Adjust callers.
Wed Jul 26 18:31:35 1995 Pat Rankin <rankin@eql.caltech.edu>
* config/obj-vms.c (const_flag): Change from char to unsigned char.
* config/obj-vms.h (const_flag): Ditto.
(struct nlist): Replace union n_un and n_un.{n_name,n_next,n_strx}
fields with just n_name; delete field n_value; change n_other from
char to unsigned char and n_desc from short to int; insert explicit
padding for alignment.
Mon Jul 24 20:06:17 1995 Ken Raeburn <raeburn@cygnus.com>
* subsegs.h (struct seg_info_trash): Make bitfield types valid.
* config/obj-coff.c (fixup_segment): Local add_number should not
be declared register since its address is taken for
MD_APPLY_FIX3.
Fri Jul 21 15:28:18 1995 Pat Rankin <rankin@eql.caltech.edu>
Split huge vms_write_object_file routine into managable pieces.
* config/obj-vms.c (vms_fixup_text_section, synthesize_data_segment,
vms_fixup_data_section, global_symbol_directory, local_symbols_DST,
vms_build_DST): New routines.
(vms_write_object_file): Call them.
(struct vms_obj_state): New file scope variable used by the above.
Mon Jul 24 14:10:24 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-sh.c (md_pseudo_table): Add "uses".
(s_uses): New static function.
(sh_coff_frob_file): New function.
(md_convert_frag): Call subseg_change before calling fix_new.
(sh_handle_align): New function.
(SWITCH_TABLE): Define.
(sh_force_relocation): New function.
(md_apply_fix): Handle R_SH_USES, R_SH_COUNT and R_SH_ALIGN.
(sh_coff_reloc_mangle): Likewise. Also handle switch table
entries.
* config/tc-sh.h (HANDLE_ALIGN): Define.
(sh_handle_align): Declare.
(TC_FORCE_RELOCATION): Define.
(sh_force_relocation): Declare.
(TC_COUNT_RELOC): Simplify; rely on TC_FORCE_RELOCATION instead.
(tc_frob_file): Define.
(sh_coff_frob_file): Declare.
* config/obj-coff.c (write_object_file): Call tc_frob_file if it
is defined.
(fixup_mdeps): Call HANDLE_ALIGN if it is defined.
(TC_FORCE_RELOCATION): Define if not defined.
(fixup_segment): Use TC_FORCE_RELOCATION to decide whether to
clear the symbol fields of fixP.
Fri Jul 21 22:38:00 1995 Michael Meissner <meissner@cygnus.com>
* config/tc-ppc.c (ppc_elf_suffix): Add support for R_PPC_SDAREL
relocation.
(md_apply_fix3): Ditto.
Thu Jul 20 13:00:56 1995 Ken Raeburn <raeburn@cygnus.com>
* config/tc-m68k.c (md_convert_frag): Rename argument seg to sec,
since seg is a macro name in this file.
* configure.in (arm-*-riscix*): Don't set emulation.
Wed Jul 19 16:08:29 1995 Doug Evans <dje@canuck.cygnus.com>
* config/obj-coff.h (TE_PE): Delete.
* config/tc-arm.h (BYTE_ORDER): Delete.
(TARGET_FORMAT): Provide value for OBJ_COFF and TE_PE.
(ARM_BI_ENDIAN): Define if OBJ_COFF and TE_PE.
* config/tc-arm.c (byte_order): Delete.
(md_number_to_chars): Reference target_big_endian, not byte_order.
(md_chars_to_number): Likewise.
(md_longopts): Add -EB/-EL if ARM_BI_ENDIAN.
(md_parse_options): Recognize -EB/-EL.
(md_show_usage): List -EB/-EL.
Wed Jul 19 11:49:25 1995 Ian Lance Taylor <ian@cygnus.com>
* gasp.c (process_assigns): Use toupper before comparing against
upper case letter.
(whatcond): Likewise.
* config/tc-sh.c (sh_relax): Rename from relax, and make global.
Renamed all uses.
(insert): Pass a size of 2, not 4.
(build_relax): Remove unused len variable.
(md_show_usage): Mention -little option.
(md_convert_frag): Add segT argument. Rewrite to generate relocs
rather than to generate complete instructions here.
(md_apply_fix): Adjust and clarify R_SH_PCRELIMM8BY4 case for
changes in insert and md_pcrel_from. Add cases for R_SH_PCDISP
and R_SH_PCDISP8BY2.
(md_pcrel_from): Don't subtract 1, add 2.
(tc_coff_fix2rtype): Remove.
(sh_coff_reloc_mangle): New function.
* config/tc-sh.h (TC_COFF_FIX2RTYPE): Just return fx_r_type.
(sh_relax): Declare.
(TC_COUNT_RELOC): If relaxing, count PC relative relocs.
(TC_RELOC_MANGLE): Define.
(sh_coff_reloc_mangle): Declare.
(tc_coff_sizemachdep): Declare.
* tc.h (md_convert_frag): Add segT parameter to non BFD_ASSEMBLER
declaration.
* write.c (cvt_frag_to_fill): Add sec argument to non
BFD_ASSEMBLER version. Pass it to md_convert_frag.
(write_object_file): Pass SEG_TEXT to cvs_frag_to_fill.
* config/obj-coff.c (do_relocs_for): Pass segment info to
TC_RELOC_MANGLE.
(fixup_mdeps): Pass segment type to md_convert_frag.
* config/tc-a29k.c (md_convert_frag): Add segT argument.
* config/tc-h8300.c (md_convert_frag): Likewise.
* config/tc-h8500.c (md_convert_frag): Likewise.
* config/tc-i386.c (md_convert_frag): Likewise.
* config/tc-i860.c (md_convert_frag): Likewise.
* config/tc-i960.c (md_convert_frag): Likewise.
* config/tc-m68k.c (md_convert_frag): Likewise.
* config/tc-m88k.h (md_convert_frag): Likewise.
* config/tc-ns32k.c (md_convert_frag): Likewise.
* config/tc-tahoe.c (md_convert_frag): Likewise.
* config/tc-vax.c (md_convert_frag): Likewise.
* config/tc-w65.c (md_convert_frag): Likewise.
* config/tc-z8k.c (md_convert_frag): Likewise.
* config/tc-h8300.h (TC_RELOC_MANGLE): Add segment argument.
* config/tc-h8500.h (TC_RELOC_MANGLE): Likewise.
* config/tc-w65.h (TC_RELOC_MANGLE): Likewise.
* config/tc-z8k.h (TC_RELOC_MANGLE): Likewise.
Mon Jul 17 15:02:54 1995 Pat Rankin <rankin@eql.caltech.edu>
* config/obj-vms.c (Current_Routine, Text_Psect): Delete as file
scope variables.
(Define_Routine, Define_Local_Symbols): Take Current_Routine and
Text_Psect as arguments.
(VMS_DBG_Define_Routine): Delete.
(VMS_TBT_Block_End): Change `Size' argument from int to valueT.
(vms_write_object_file: text and data fixup loops): Difference
of two symbols has type offsetT rather than int; convert with
md_number_to_chars before passing to VMS_Store_Immediate_Data.
(vms_write_object_file: debug symbol loop): Call Define_Routine
instead of VMS_DBG_Define_Routine.
Sat Jul 15 00:01:35 1995 Michael Meissner <meissner@cygnus.com>
* config/tc-ppc.c (ppc_elf_suffix): Add @fixup so that the
compiler can mark which relocs not to complain about with
-mrelocatable.
(ppc_elf_validate_fix): Add .fixup to sections not to complain
about, and also don't complain for BFD_RELOC_CTOR relocations in
writable non-code segments.
(md_apply_fix): Treat BFD_RELOC_CTOR just like BFD_RELOC_32.
Fri Jul 14 19:54:28 1995 Ian Lance Taylor <ian@cygnus.com>
Add support for SPARC SunOS PIC:
* config/tc-sparc.h (sparc_pic_code): Always declare, not just
when OBJ_ELF.
(TC_RELOC_RTSYM_LOC_FIXUP): Define when OBJ_AOUT.
(tc_fix_adjustable): New definition for OBJ_AOUT.
* config/tc-sparc.c (sparc_pic_code): Always define, not just when
OBJ_ELF.
(md_apply_fix): Adjust reloc addend for OBJ_AOUT and PIC. In
BFD_RELOC_32_PCREL_S2 case, don't increment val for an external
symbol when PIC.
(tc_gen_reloc): Generate different PIC relocs when OBJ_AOUT, as
well as when OBJ_ELF.
(md_shortopts): If OBJ_AOUT, include `k'.
(md_parse_option): If OBJ_AOUT, handle 'k'.
(md_show_usage): Mention -k if OBJ_AOUT, and -KPIC if OBJ_ELF.
(md_pcrel_from): Don't add in size for an external symbol when
PIC.
Thu Jul 13 21:16:43 1995 Jeff Law (law@snake.cs.utah.edu)
* config/tc-hppa.h (UNDEFINED_DIFFERENCE_OK): Define for SOM.
* write.c (adjust_reloc_syms): Set sy_used_in_reloc for both
symbols in a fixup where a defined symbol is subtracted from an
undefined symbol (when UNDEFINED_DIFFERENCE_OK is defined).
(fixup_segment): Do nothing for the difference of two symbols if
UNDEFINED_DIFFERENCE_OK is defined.
Wed Jul 12 23:33:40 1995 Ian Lance Taylor <ian@cygnus.com>
* config/obj-coff.c (fixup_segment): Support MD_APPLY_FIX3.
Wed Jul 12 01:12:12 1995 Ken Raeburn <raeburn@kr-pc.cygnus.com>
* write.c (fix_new): Use int, not short int, for argument type.
(fix_new_exp): Ditto.
* configure.in (arm-*-riscix*): Don't set emulations.
* config/tc-mips.c (NO_ECOFF_DEBUGGING): Define if ECOFF_DEBUGGING
wasn't previously defined.
(s_extern): Don't set ecoff_extern_size if NO_ECOFF_DEBUGGING.
(nopic_need_relax): Don't check it if NO_ECOFF_DEBUGGING.
(macro_build) [!USE_STDARG]: Don't use variadic prototype.
(mips_local_label) [NO_ECOFF_DEBUGGING]: Don't preserve potential
ECOFF debugging symbols.
* emul.h (struct emulation): Use unsigned, not unsigned char, for
bitfields.
* obj.h (struct format_ops): Likewise.
* config/tc-arm.c (symbol_make_empty) [BFD_ASSEMBLER]: Set
udata.p, not udata.
Tue Jul 11 14:30:19 1995 Ian Lance Taylor <ian@cygnus.com>
* doc/c-mips.texi: Document -m4010 and -mno-4010.
Tue Jul 11 14:28:55 1995 Jeff Spiegel <jeffs@lsil.com>
* config/tc-mips.c (mips_4010): New static variable.
(interlocks): New static variable.
(md_begin): Check for a cpu of "r4010". Set mips_4010 correctly.
If mips_4650 or mips_4010, set interlocks.
(append_insn): Check interlocks, not mips_4650.
(mips_emit_delays): Likewise.
(mips_ip): Only permit INSN_4010 instructions if mips_4010.
(md_longopts): Add "m4010" and "no-m4010".
(md_parse_option): Accept -mcpu=r4010. Handle -m4010 and
-no-m4010.
(md_show_usage): Document -m4010 and -no-m4010.
Tue Jul 11 13:22:50 1995 Ian Lance Taylor <ian@cygnus.com>
* ecoff.c (struct efdr): Add new field fake.
(init_file): Initialize fake.
(add_file): Add new parameter fake. Change all callers.
(ecoff_build_debug): Don't warn about a missing .end for a fake
file.
Mon Jul 10 16:01:31 1995 Ken Raeburn <raeburn@cygnus.com>
* doc/as.texinfo: Split out most cpu chapters...
* doc/c-*.texi: ...to here.
* read.c (po_hash): Now static.
Mon Jul 10 13:47:22 1995 Ian Lance Taylor <ian@cygnus.com>
Based on patches from H.J. Lu <hjl@nynexst.com>:
* config/tc-i386.c (md_apply_fix3): Rename from md_apply_fix1.
Accept pointer to value and segment. Fix OBJ_ELF PCREL case to
handle global defined symbols correctly.
(md_apply_fix): Remove both versions.
* config/tc-i386.h (MD_APPLY_FIX3): Define.
* configure.in: When switching on ${cpu}, use ${cpu}, not
$[target_cpu}, in default case.
* configure: Rebuild.
Sat Jul 8 13:27:55 1995 Ian Lance Taylor <ian@cygnus.com>
* write.c (fixup_segment): Call resolve_symbol_value on
sub_symbolP, in case it isn't in the symbol table.
Fri Jul 7 11:17:27 1995 Ian Lance Taylor <ian@cygnus.com>
* read.c (s_lcomm): For .lcomm 1, set align to 0, not 1.
* config/obj-coff.c (coff_frob_symbol): If SF_GET_FUNCTION, set
BSF_FUNCTION.
(symbol_globalP, symbol_global_lastP): New global variables.
(yank_symbols): Sort defined global symbols to the end, just
before the undefined symbols.
(glue_symbols): Add two arguments, and use them instead of
referring directly to global variables.
(crawl_symbols): Call glue_symbols twice, once for defined globals
and once for undefined. Add corresponding know calls.
* app.c (do_scrub_next_char): Always accept \v. Don't make it
conditional on BACKSLASH_V.
* read.c (next_char_of_string): Likewise.
* config/obj-bout.h (BACKSLASH_V): Don't define.
* config/tc-mips.h (BACKSLASH_V): Don't define.
Add SPARC ELF PIC support.
* write.c (fixup_segment): Pass fixP to TC_RELOC_RTSYM_LOC_FIXUP,
not fixP->fx_r_type.
* config/tc-sparc.c (sparc_pic_code): New global variable.
(md_apply_fix): If generating PIC, adjust fx_addnumber for any non
PC relative reloc.
(tc_gen_reloc): If generating PIC, adjust various reloc types.
Remove fx_pcrel assert, since it is no longer true.
(md_parse_option): Handle -K PIC.
* config/tc-sparc.h (sparc_pic_code): Declare if OBJ_ELF.
(TC_RELOC_RTSYM_LOC_FIXUP): Define if OBJ_ELF.
(tc_fix_adjustable): Don't adjust PC relative relocs if PIC.
* config/tc-i386.h (TC_RELOC_RTSYM_LOC_FIXUP): Take a fixp, not a
reloc type.
* Makefile.in (Makefile): Add dependency on conf.in, so that conf
is rebuilt when conf.in changes.
Thu Jul 6 16:49:38 1995 Ken Raeburn <raeburn@cygnus.com>
* All files: Updated FSF address.
Thu Jul 6 16:30:34 1995 Jim Wilson <wilson@chestnut.cygnus.com>
* ecoff.c (add_file): Don't collapse multiple .file commands into
a single file structure.
(ecoff_build_lineno): Set ilineBase to sum of previous file's
ilineBase and cline.
Thu Jul 6 12:54:27 1995 Ian Lance Taylor <ian@cygnus.com>
Patches from Jerry Blakely <gerry_blakley@wellfleet.com>:
* as.c (listing_filename): New static variable.
(show_usage): Mention -a=file.
(parse_args): Support = option of -a to set name of listing file.
(main): Pass listing_filename to listing_print.
* listing.c (list_file): New static variable.
(various): Replace printf with fprintf to list_file.
(listing_print): If name argument is not NULL, open it as
list_file.
* doc/as.texinfo, doc/as.1: Document -a=file.
* config/tc-sparc.c (s_reserve): Don't permit redefinition, even
if the symbol was already in bss_section. Fix warning message.
* listing.c (struct file_info_struct): Rename end_pending field to
at_end.
(file_info): Initialize at_end, not end_pending.
(buffer_line): If at_end set, just return immediately. Don't
worry about end_pending cases. Set at_end when EOF is read.
(print_source): Check at_end, not end_pending.
(listing_listing): Likewise.
* config/tc-alpha.h (alpha_do_align): Don't declare.
(md_do_align): Don't define.
(tc_frob_label): Define.
(alpha_define_label): Declare.
(md_flush_pending_output): Define.
(alpha_flush_pending_output): Declare.
* config/tc-alpha.c (insn_label): New static variable.
(auto_align): New static variable.
(md_pseudo_table): Add cases for .text, .data, .align, .byte,
.hword, .int, .long, .octa, .quad, .short, .word, .double, .float,
and .single. Change .t_floating, .s_floating, .f_floating,
.g_floating, and .d_floating to use s_alpha_float_cons rather than
float_cons.
(s_alpha_text, s_alpha_data): New static functions.
(s_rdata, s_sdata): Clear insn_label and set auto_align.
(s_gprel32): If auto_align, align. Clear insn_label.
(emit_insn): Clear insn_label.
(s_alpha_align): New static function.
(alpha_align): Make static. Take label argument.
(alpha_flush_pending_output): New static function.
(s_alpha_cons, s_alpha_float_cons): New static functions.
(alpha_define_label): New function.
Wed Jul 5 22:49:31 1995 Ken Raeburn <raeburn@cygnus.com>
* conf.in: Regenerate with autoreconf.
Mon Jul 3 19:47:53 1995 Pat Rankin (rankin@eql.caltech.edu)
* config/obj-vms.h (vms_resolve_symbol_redef): Use full prototype.
(vms_check_for_special_label, tc_frob_label): Move them to group
with other prototypes.
[WANT_VMS_OBJ_DEFS]: Only define the many OBJ_x, DBG_x, and DST_x
macros when this is defined.
* config/obj-vms.c: Fully prototype all local functions.
[symbolS, fragS]: Use consistently instead of their struct tags.
[WANT_VMS_OBJ_DEFS]: Define this.
(s_const): Make definition correctly match actual usage.
(VMS_stab_parse): Make `expected_type' arg be int rather than char.
(get_VMS_time_on_unix): Define as `static void'.
(hash_string): Make definition match actual usage; argument is
`char const *' rather than `unsigned char *'.
(VMS_Case_Hack_Symbol, VMS_Modify_Psect_Attributes, VMS_Psect_Spec,
VMS_Global_Symbol_Spec): Declare string args as `const char *'.
[IS_GXX_VTABLE]: New macro.
(vms_write_object_file: GSD loop): Use it.
(vms_write_object_file: data segment): Reorganize `fill' loop.
Wed Jul 5 12:01:49 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-sparc.c (md_shortopts): Add "K:" if OBJ_ELF.
(md_parse_option): If OBJ_ELF, check for -K. Die if -K PIC, since
PIC code is not currently supported.
* as.c (parse_args): Change std_shortopts to be an array rather
than a constant string. Only include 'K' if WORKING_DOT_WORD is
not defined. Only check for 'K' in that case as well.
* as.h (flag_warn_displacement): Only declare if WORKING_DOT_WORD
is not defined.
* conf.in: Add undef of HAVE_SBRK.
* config/obj-coff.c (obj_coff_line): Call listing_source_line, in
both BFD_ASSEMBLER and non BFD_ASSEMBLER versions of the function.
* symbols.c (S_SET_EXTERNAL): Warn if symbol is weak.
(S_CLEAR_EXTERNAL): Likewise.
(S_SET_WEAK): Warn if symbol is global.
* config/obj-aout.c (obj_aout_frob_symbol): Warn about an attempt
to put an undefined symbol into a set.
* Makefile.in: Remove @configure_input@; it's not needed in
files named Makefile.
* config/tc-m88k.c (md_pseudo_table): Add ".set" so that the
explicit pseudo-op works, while continuing to treat "set" as an
instruction.
* ecoff.c (ecoff_debugging_seen): New global variable.
(ecoff_directive_def): Set ecoff_debugging_seen.
(ecoff_stab): Likewise.
* ecoff.h: Make idempotent.
(ecoff_debugging_seen): Declare.
* config/tc-mips.c: Include ecoff.h.
(mips_debug): New static variable.
(s_stringer, s_mips_space): Remove unneeded declarations.
(md_parse_option): In case 'g', set mips_debug to debugging level.
(mips_local_label): New function.
* config/tc-mips.h (LOCAL_LABEL): Call mips_local_label.
(mips_local_label): Declare.
Wed Jul 5 00:59:22 1995 Fred Fish (fnf@cygnus.com)
* as.c (main): Only use sbrk when HAVE_SBRK defined.
* configure.in: Add test for sbrk.
* configure: Regenerate using autoconf 2.4.
Mon Jul 3 15:58:16 1995 Jeff Law (law@snake.cs.utah.edu)
* config/tc-hppa.h (MAX_RELOC_EXPANSION): Bump to 6.
* config/tc-hppa.c (tc_gen_reloc, SOM version): Handle
relocations for the difference of two (possibly external)
symbols.
(hppa_fix_adjustable): For SOM, reject reductions involving
the difference of two symbols.
(hppa_force_relocation): Force relocations for expressions
involving the difference of two symbols.
Mon Jul 3 14:22:59 1995 Steve Chamberlain <sac@slash.cygnus.com>
* configure[.in] (i386-*-win32): New host and target.
Thu Jun 29 17:25:43 1995 Steve Chamberlain <sac@slash.cygnus.com>
Support for long filenames non-bfd coff.
* config/obj-coff.c (filename_list_head, filename_list_tail): New.
(yank_symbols): Notice and record filenames which are too long.
(w_strings): Write out filename strings.
(c_dot_file_symbols): Put long filenames onto list.
Wed Jun 28 17:33:13 1995 Steve Chamberlain <sac@slash.cygnus.com>
* config/obj-coff.c (fixup_segment): PE doesn't use
the strange common symbol format that other 386s formats
do.
* config/tc-i386.c (md_begin): If LEX_AT defined then
'@' is in the set of identifiers.
(i386_operand): If LEX_AT, then don't look for @goto stuff.
* config/te-pe.h: Define LEX_AT.
Wed Jun 28 17:49:59 1995 Ken Raeburn <raeburn@cygnus.com>
* doc/as.texinfo (H8/500 Floating Point): Indicate that IEEE FP
numbers are for the standard emulation code.
(SH Floating Point): Ditto.
(Overview): Describe new --emulation option for MIPS.
* doc/*.m4: Deleted.
Thu Jun 22 19:26:25 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
Sun May 7 11:53:41 MDT 1995 Bryan Ford <baford@cs.utah.edu>
* configure.in: Added i386-*-moss* target.
Thu Jun 22 14:41:23 1995 Michael Meissner <meissner@tiktok.cygnus.com>
* write.c (write_object_file): Cast decode_local_label_name
argument to char * to avoid warning.
Wed Jun 21 18:07:59 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
Changes from Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>:
* config/tc-m68k.c (insword): Increment the frag offsets.
(struct m68k_it): Add reloc[].pcrel_fix field to hold pc-rel
fixup.
(add_fix): Accept additional parameter, the pc-rel fixup. All
callers changed. Fix offset address if width == 'b'.
(m68k_ip) [case AINDX]: Allow explicit size spec. Don't make the
outer displacement pc-relative.
(md_pcrel_from): Make it relative to the first extension word of
the operand.
(opcode_ptr): Make it a macro if DO_BREAK_UP_BIG_DECL is
undefined.
(md_convert_frag_1): Don't reference fragP->fr_opcode[2..].
(md_estimate_size_before_relax) [case TAB (FBRANCH, SZ_UNDEF)]:
Turn on long bit.
(m68k_ip) [case 'C']: Don't set set long bit, set it in the opcode
table.
(md_estimate_size_before_relax) [case TAB (PCINDEX, SZ_UNDEF)]:
Variable part increases by four, not six.
* write.c (fixup_segment) [TC_M68K]: Don't do further pcrel
processing after converting difference of two symbols in the
same segment.
* write.c (fixup_segment): Don't conditionalize the pcrel fix on
TC_M68K.
* config/tc-sparc.c (sparc_ip, case 'A'): If ASI is not a "#"
value, don't shift it an extra time.
Wed Jun 21 14:18:37 1995 Steve Chamberlain <sac@slash.cygnus.com>
* gasp.c (do_print, do_form, buffer_and_nest): Use case insensitive
string compares.
Tue Jun 20 14:55:02 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* config/obj-coff.c (write_object_file): Cast time() argument to
time_t *.
Tue Jun 20 12:00:53 1995 Jeff Law (law@snake.cs.utah.edu)
* config/tc-hppa.c (pa_build_unwind_subspace): Fix typo in last
change.
Mon Jun 19 15:27:17 1995 Jeff Law (law@snake.cs.utah.edu)
* config/tc-hppa.c (pa_build_unwind_subspace): Zero out memory
from frag_more calls.
Thu Jun 15 16:53:37 1995 Stan Shebs <shebs@andros.cygnus.com>
* config/obj-coff.c: Don't use "bfd/" when including libbfd.h
and libcoff.h.
(fill_section): Call PROGRESS.
* Makefile.in (INCLUDES): Add bfd srcdir.
* mpw-config.in: Add bfd_gas flag and set for each config.
(i386-unknown-go32, m68k-unknown-coff): Recognize.
* mpw-make.in (HACK_O_RAMA, OBJ_COFF_OMIT_TIMESTAMP): Add to
config.h.
Thu Jun 15 10:04:26 1995 Doug Evans <dje@canuck.cygnus.com>
* config/tc-arm.h (LOCAL_LABEL): Prepend '.' if not OBJ_AOUT.
(FAKE_LABEL_NAME): Likewise.
Mon Jun 12 22:25:39 1995 Jeff Law (law@snake.cs.utah.edu)
* config/tc-hppa.c (pa_ip): Check for invalid register in single
precision fmpyadd and fmpysub instructions.
Thu Jun 8 19:33:02 1995 Pat Rankin (rankin@eql.caltech.edu)
* config/obj-vms.c (myname): Delete all references.
(VMS_stab_parse, Write_VMS_MHD_Records, VMS_Case_Hack_Symbol):
Replace printf calls with as_tsktsk.
(PUT_LONG, PUT_SHORT): Use COPY_LONG, COPY_SHORT.
(VMS_Store_Immediate_Data): Move second buffer capacity check
below bottom of loop; first check at top suffices for loop itself.
(find_file): Remove redundant pointer checks in first two loops;
replace third loop with pointer to last list element determined
in first loop.
Tue Jun 6 13:53:06 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* config/tc-sparc.c (sparc_ip): Handle defined absolute symbols as
ASI values.
* config/obj-vms.c (vms_write_object_file, case N_DATA): Use
strcmp against FAKE_LABEL_NAME instead of checking third
character. (Suggested by Pat Rankin.)
Mon Jun 5 20:10:46 1995 Pat Rankin (rankin@eql.caltech.edu)
Add support for N_ABS and N_ABS|N_EXT type symbols.
* config/obj-vms.h (LSY_S_M_{DEF,REL}, ENV_S_M_{DEF,NESTED}):
New macros for local symbols (from <lsydef.h> and <envdef.h>).
* config/obj-vms.c (Current_Environment): New file-scope variable.
(VMS_Local_Environment_Setup): New routine.
(GBLSYM_LCL): New macro.
(VMS_Global_Symbol_Spec): Handle local symbols too.
(VMS_Psect_Spec): Set GLOBALVALUE_BIT for absolute symbols.
(VMS_Emit_Globalvalues): Handle local and global absolute symbols.
(VMS_Store_PIC_Symbol_Reference): Ditto.
(vms_write_object_file: GSD symbol loop): Ditto.
Mon Jun 5 16:10:40 1995 Steve Chamberlain <sac@slash.cygnus.com>
* config/tc-arm.h (LOCAL_LABELS_FB): Define.
Mon Jun 5 02:17:58 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
* configure.in (i386-*-gnu*): Always use GNU ELF config.
Wed May 31 17:49:18 1995 Pat Rankin (rankin@eql.caltech.edu)
* config/obj-vms.c (obj_crawl_symbol_chain): Update *symbolPP
in `else' clause when removing a symbol. Also, revise comments
to match the code.
(vms_write_object_file (GSD symbol loop, case N_DATA)): Never
output symbol definitions for local numeric labels.
Tue May 30 18:29:10 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
* configure.in (architecture variants, cases armeb and arm*): Remove
spaces round assignment to endian.
Tue May 30 12:31:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* write.c (write_object_file): Check for undefined local dollar
and fb labels.
* symbols.c (decode_local_label_name): Extract instance number
from the correct location.
Sat May 27 21:28:49 1995 J.T. Conklin <jtc@rtl.cygnus.com>
* config/te-dpx2.h: Include obj-format.h.
(COFF_MAGIC): Renamed from FILE_HEADER_MAGIC.
Wed May 24 13:45:32 1995 Steve Chamberlain <sac@slash.cygnus.com>
* configure, configure.in, config/obj-coff.c, config/obj-coff.h:
Add support for ARM pe
Tue May 23 17:00:32 1995 Doug Evans <dje@canuck.cygnus.com>
* config/tc-sparc.c (tc_gen_reloc): Handle BFD_RELOC_SPARC_WDISP16
and BFD_RELOC_SPARC_WDISP19.
Tue May 23 19:18:33 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* as.c (parse_args) [! USE_EMULATIONS]: Always print an error
message.
* doc/internals.texi: Document obj_app_file and
TARGET_BYTES_BIG_ENDIAN.
Mon May 22 20:03:23 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* ecoff.c (ecoff_stab): Add extra leading argument, for 4 May
change.
* ecoff.h (ecoff_stab): Fix declaration.
* obj.h (format_ops.process_stab): Include prototype.
* config/obj-elf.h (OBJ_PROCESS_STAB): Pass through seg argument.
* config/obj-ecoff.h (OBJ_PROCESS_STAB): Ditto.
* config/e-mipself.c (mipself): New emulation mode, doesn't change
endianness from configured default.
* config/e-mipsecoff.c (mipsecoff): Ditto.
* configure.in (mips ecoff/elf targets): Include them.
* as.c (mipself, mipsecoff): Declare.
* as.c (emulation_name): New variable.
(select_emulation_mode): Set emulation_name. Don't change argv.
(parse_args): Handle --emulation; complain if the supplied name
isn't what select_emulation_name came up with.
Sun May 21 21:36:17 1995 Jeff Law (law@snake.cs.utah.edu)
* config/tc-hppa.c: Reverse changes from Dec. 19th which
changed the way unwinds were built for ELF. Rely on relocation
symbol reductions to avoid placing the end of function marker
symbols into the object file's symbol table.
Sat May 20 12:31:36 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
Added improved VMS support from Pat Rankin:
Fri 19 May 16:51:40 1995 Pat Rankin (rankin@eql.caltech.edu)
* config/obj-vms.h (AOUT_STABS): Define.
* config/obj-vms.c (fpush, rpush): New routines.
(push): Replaced by the above.
(find_symbol): Slight reorganization to expose tail recursion.
Fri Mar 17 18:40:36 1995 Pat Rankin (rankin@eql.caltech.edu)
* Makefile.in (VMS_OTHER_OBJS): delete this.
* vmsconf.sh (make-gas.com): build ../libiberty/liberty.olb
first if necessary; link gas against it.
Fri May 19 16:37:39 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
* gasp.c (istrue): Correctly test for string inequality.
Thu May 18 04:25:11 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
* config/tc-arm.c (CP_T_{Pre,UD,WB}): Define, bits in co-processor
instructions.
([ls]fm_flags): Correct error in bitmasks.
(cp_address_required_here): Delete second parameter, FLAGS. All
callers changed. Remove all dead code referring to FLAGS. If
address is just "[Reg]" then convert into a PRE-INCREMENT UP format.
(do_fp_ldmstm): Handle full-descending and empty-ascending stack
formats explicitly.
* config/tc-arm.c (internalError): Define.
(ARM_{1,2,250,3,6,7,7DM,ANY,2UP,ALL,3UP,6UP,LONGMUL}): Define processor
variants.
(FPU_{CORE,FPA10,FPA11,NONE,ALL,MEMMULTI}): Define floating point
variants.
({CPU,FPU}_DEFAULT): Define.
(cpu_variant): New variable.
(asm_flg): Change more_flags to flag_bits.
Add prototypes for new functions.
(FLAG_{S,P,B,T,ED,FD,FA,EA,IB,IA,DB,DA,L}): Delete.
(s_flag[], ldst_flags[], byte_flag[], cmp_flags[], ldm_flags[],
stm_flags[], lfm_flags[], sfm_flags[], round_flags[], except_flags[],
cplong_flag[]): New variables.
(asm_opcode, insns[]): New format, add version support.
(arm_flg_hsh): Delete.
(do_mul, do_mla): Remove "Warning" from warning messages.
(do_arit): Simplify.
(do_swap): Make error message more appropriate.
(md_begin): Build hash tables starting at first entry in tables.
(md_number_to_chars): Cope with big/little-endian selection.
(md_chars_to_number): New function.
(md_apply_fix): Rewrite to make endian independent.
(tc_gen_reloc): Better error messages.
(md_assemble): Reject opcodes forbidden by the currently selected cpu
variant. Rewrite handling code for instruction flags.
(md_shortopts): Add option "m:".
(md_parse_option): Get the desired cpu/fpu variant.
From: David Taylor (dtaylor@armltd.co.uk)
* configure.in (architecture variants): Check for "armeb" and "arm*",
set endianness accordingly.
* read.c (read_a_source_file): New hooks md_start_line_hook and
md_after_pass_hook.
* config/arm-{big,lit}.mt: New files
* config/tc-arm.h ({LITTLE,BIG}_ENDIAN, BYTE_ORDER): Define.
(TARGET_FORMAT): Select depending on endianness and emulation and
object format.
(md_after_pass_hook, md_start_line_hook): Define.
* config/tc-arm.c: Include subsegs.h, symbols.h and listing.h.
(shift[]): Add uppper case equivalents.
(CP_T_[XY], TRANS_BIT): Define.
(conds[]): Delete initial NULL entry, add "lo" entry as synonym for
"cc".
(LONGEST_FLAG, flags[]): Delete.
(arm_psr): New structure.
(psrs[]): New variable.
(PSR_ALL): Define.
(LONGEST_INST): Bump to 5.
(LITERAL_MASK, COND_MASK, OPCODE_MASK, DATA_OP_SHIFT): Define.
(OPCODE_{AND,EOR,SUB,RSB,ADD,ADC,SBC,RSC,TST,TEQ,CMP,CMN,ORR,MOV,BIC,
MVN}): Define.
(insns[]): Add smull, umull, smlal, umlal, ldfm, stfm, msr and mrs
instructions. Add nop and adr pseudo ops.
(reg_table): Add APCS register name variants.
(arm_psr_hsh): New hash table.
(md_pseudo_table): Add "ltorg", "pool", "extend", "ldouble" and
"packed".
(MAX_LITERAL_POOL_SIZE): Define.
(struct literalS): New structure.
(literals, next_literal_pool_place, lit_pool_num, current_poolP): New
variables.
(add_to_lit_pool, symbol_locate, symbol_make_empty): New functions.
(validate_immediate): Return FAIL on failure.
(s_ltorg): New function.
(psr_required_here, psrf_required_here): New functions.
(cp_address_required_here): New parameter, flag, all callers changed.
If flag is non-zero, restrict the legal addressing modes.
(do_nop, do_mrs, do_msr, do_mull): New functions.
(negate_data_op): New function.
(data_op2): accept #x,y meaning x rotated right by y, but only when
suitable constants. If immediate is not legal, try changing the
opcode.
(do_adr): New function.
(do_ldst): accept "ldr reg, =expr". Put expr in the pool if it can't
be done as an immediate.
(do_fp_ldst): Use CP_T_[XY], not immediate values.
(do_fp_ldmstm): New function.
(arm_psr_parse): New function.
(output_inst): Use INSN_SIZE in call to md_number_to_chars.
(md_assemble): Add hack so that "Label instruction" causes alignment of
the label.
(arm_after_pass_hook, arm_start_line_hook, arm_frob_symbol): New
functions.
Wed May 17 05:25:16 1995 Michael Meissner <meissner@tiktok.cygnus.com>
* config/tc-ppc.c (md_show_usage): Add \'s at end of lines in
strings for non-GCC compilers.
Tue May 16 19:36:00 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* config/obj-ecoff.c (ecoff_pop_insert): New function.
(ecoff_format_ops): Use it.
(obj_ecoff_frob_symbol): Now static.
Wed May 17 00:59:12 1995 Andrew Cagney - aka Noid <cagney@highland.com.au>
* config/tc-ppc.c (md_begin): Was assuming that an instruction was
bigendian and hence 16bit relocs withing instructions would
ALWAYS be at addresses i+2-i+3. In LE mode it is i+0-i+1.
Tue May 16 16:29:58 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* config/obj-multi.h (obj_frob_symbol, obj_frob_file, S_GET_SIZE,
S_SET_SIZE, S_GET_ALIGN, S_SET_ALIGN, obj_copy_symbol_attributes,
OBJ_PROCESS_STAB): New macros.
* config/tc-mips.c: Protect against redefining them also when
including obj-elf.h. Test only OBJ_ELF for including elf/mips.h.
(mips_init_after_args): New function. Set byte_order here.
(md_parse_option): Not here.
(byte_order): Don't bother initializing.
* config/tc-mips.h (mips_init_after_args): Declare.
(tc_init_after_args): New macro.
* read.c (s_lcomm): Do ELF/ECOFF test at run time, not compile
time.
Fri May 12 14:17:47 1995 Steve Chamberlain <sac@slash.cygnus.com>
Initial support for PE object files.
* configure.in, configure (i386-*-pe, i386-*-*nt): Add.
* config/obj-coff.c (fixup_segment): Cope with PE wierdness.
* config/obj-coff.h (TE_PE): New target format.
Thu May 11 14:58:21 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* config/obj-elf.c (NEED_ECOFF_DEBUG): Define if ECOFF_DEBUGGING
was defined by header files. Test in preprocessor conditionals
instead of ECOFF_DEBUGGING.
(ecoff_debug_pseudo_table): Make empty if NEED_ECOFF_DEBUG is not
defined.
(obj_read_begin_hook, obj_symbol_new_hook, elf_frob_symbol,
elf_frob_file): Only call ecoff routines if NEED_ECOFF_DEBUG is
defined.
(elf_ecoff_set_ext, elf_get_extr, elf_set_index): Define only if
NEED_ECOFF_DEBUG is defined.
(elf_format_ops): Reference elf_ecoff_set_ext only if
NEED_ECOFF_DEBUG.
Wed May 10 18:09:12 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* Makefile.in (OBJS): Include @extra_objects@.
(obj-elf.o, obj-ecoff.o, e-mipself.o, e-mipsecoff.o): New rules
for building these independently.
* emul-target.h, config/e-mipself.c, config/e-mipsecoff.c: New
files.
* acconfig.h (DEFAULT_EMULATION, EMULATIONS, USE_EMULATIONS,
OBJ_MAYBE_*, I386COFF, M68KCOFF, M88KCOFF): New macros.
* aclocal.m4 (GAS_UNIQ): New macro.
* as.c (emulations, n_emulations) [USE_EMULATIONS]: New variable.
(select_emulation_mode, default_emul_bfd_name, common_emul_init)
[USE_EMULATIONS]: New functions.
(main) [USE_EMULATIONS]: Call select_emulation_mode before other
initialization.
* emul.h: New file.
* as.h [USE_EMULATIONS]: Include it.
* configure.in: Handle enable-targets option. Iterate over target
list, building up a list of object file formats and emulation
configurations. (Only supports emulations for MIPS CPU so far.)
If multiple formats are needed, set obj_format to multi and add
format config files to extra_files. If emulation modes are
needed, add the relevant files to extra_files.
* configure.in: Define I386COFF, M68KCOFF, M88KCOFF for those
configurations.
* ecoff.c (ecoff_generate_asm_lineno): Filename argument now
points to const.
* ecoff.h (ecoff_generate_asm_lineno): Updated declaration.
* obj.h (obj_read_begin_hook): Don't declare function if it's
already a macro.
* read.c (s_space, cons, stringer): If md_flush_pending_output is
defined, call it on entry.
* config/obj-elf.c (obj_elf_section): If md_flush_pending_output
is defined, call it on entry. If md_elf_section_change_hook is
defined, call it before returning normally.
* read.h (target_big_endian): Declare.
* obj.h (struct format_ops): Added new function pointer fields
ecoff_set_ext, read_begin_hook, symbol_new_hook.
(ecoff_format_ops, elf_format_ops): Declare.
* config/obj-elf.c (elf_s_get_size, elf_s_set_size,
elf_s_get_align, elf_s_set_align, elf_copy_symbol_attributes,
elf_sec_sym_ok_for_reloc): New functions.
(elf_format_ops): New variable.
(elf_frob_symbol): Now takes additional int* argument.
* config/obj-elf.h (elf_frob_symbol): Update declaration.
(elf_pop_insert): Declare.
(obj_pop_insert): Define to call elf_pop_insert.
* config/obj-ecoff.c (ecoff_sec_sym_ok_for_reloc,
obj_ecoff_frob_symbol): New functions.
(ecoff_format_ops): New variable.
* config/te-generic.h: If OBJ_HEADER is defined, use it as the
filename to include in place of obj-format.h.
* config/te-multi.h: New file, copied from te-generic.h.
* config/obj-elf.c (OBJ_HEADER): Define it to "obj-elf.h".
* config/obj-ecoff.c (OBJ_HEADER): Define it to "obj-ecoff.h".
* config/obj-elf.c (ECOFF_DEBUGGING): Default to 0.
(obj_read_begin_hook, obj_symbol_new_hook, elf_frob_symbol,
elf_frob_file): Test it at run time.
(obj_ecoff_set_ext, elf_get_extr, elf_set_index): Define
unconditionally.
(elf_pseudo_table): Renamed from obj_pseudo_table, now static.
(ecoff_debug_pseudo_table): Split off into separate table. Define
it unconditionally.
(elf_pop_insert): New function.
* config/obj-elf.h (elf_pop_insert): Declare.
(obj_pop_insert): New macro.
(obj_ecoff_set_ext) [!OBJ_MAYBE_ELF]: Define to elf_ecoff_set_ext.
* config/obj-ecoff.h (obj_ecoff_set_ext): Define to ecoff_set_ext.
* config/tc-mips.h: Protect against multiple inclusions.
(mips_pop_insert): Declare.
(md_pop_insert): Call it.
* config/tc-mips.c: If OBJ_MAYBE_ELF is defined, include
obj-elf.h, but preserve OUTPUT_FLAVOR and protect some other
macros from redefinition.
(ECOFF_DEBUGGING): Default to 0. All references changed to
run-time tests or made unconditional.
(s_stringer, s_mips_space, s_elf_section): Deleted.
(md_pseudo_table): Don't refer to them. Split table into three
sections, for MIPS, non-ECOFF_DEBUGGING, and ELF.
(mips_pop_insert): New function.
(mips_flush_pending_output): New function.
(mips_enable_auto_align): New function.
* config/tc-mips.h (mips_pop_insert): Declare.
(md_pop_insert): New macro.
(mips_flush_pending_output): Declare.
(md_flush_pending_output): New macro.
(mips_enable_auto_align): Declare.
(md_elf_section_change_hook): New macro, calls
mips_enable_auto_align.
Tue May 9 17:07:41 1995 Michael Meissner <meissner@tiktok.cygnus.com>
* configure.in: Add little endian PowerPC support.
* configure: Rebuild with autoconf.
* config/ppc-big.mt: New file for big endian PowerPC systems.
* config/ppc-lit.mt: New file for little endian PowerPC systems.
* config/tc-ppc.h (target_big_endian): Declare.
(TARGET_FORMAT): Deal with little and big endian ELF variants.
(TARGET_BYTES_BIG_ENDIAN): Define as 1, not empty.
* config/tc-ppc.c (ppc_big_endian): Delete variable, use
target_big_endian instead.
(md_parse_option): Parse -mlittle and -mlittle-endian to use
little endian support. Parse -mbig and -mbig-endian to use big
endian support.
(md_show_usage): Update to reflect current switches.
(ppc_set_cpu): Recognize powerpcle as little endian PowerPC. Use
as_fatal, not abort if unknown machine.
Tue May 9 10:58:41 1995 Jeff Law (law@snake.cs.utah.edu)
* config/tc-hppa.c (md_apply_fix): Cast *valp to an integer when
comparing against signed values.
(hppa_force_relocation): Make "distance" an integer.
Tue May 9 00:47:03 1995 Ken Raeburn (raeburn@kr-pc.cygnus.com)
* obj.h (struct format_ops) [BFD_ASSEMBLER]: New type.
(this_format) [BFD_ASSEMBLER]: Declare new variable, if not
already defined as a macro.
Mon May 8 21:44:13 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* subsegs.h (seg_info): Provide dummy version for
non-BFD_ASSEMBLER, non-MANY_SEGMENTS configuration. It should
never get invoked, but this is easier than conditionalizing some
of the uses.
(struct seg_info_trash): Dummy type used by above to make code
compile.
Fri May 5 14:47:13 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* config/obj-coff.h (SEPARATE_STAB_SECTIONS): Define to 1, not
empty.
* config/obj-elf.h (SEPARATE_STAB_SECTIONS): Ditto.
* config/obj-som.h (SEPARATE_STAB_SECTIONS): Ditto.
Thu May 4 19:26:55 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* stabs.c (get_stab_string_offset): Always define. If
SEPARATE_STAB_SECTIONS isn't set, abort.
(SEPARATE_STAB_SECTIONS): Default to zero.
(aout_process_stab): New function, split out from s_stab_generic.
(OBJ_PROCESS_STAB) [AOUT_STABS]: Define to call aout_process_stab,
if not already defined.
(s_stab_generic): Test SEPARATE_STAB_SECTIONS at run time. If
it's not set, and OBJ_PROCESS_STAB isn't defined, abort. Always
pass six arguments to OBJ_PROCESS_STAB.
* read.h (get_stab_string_offset): Declare unconditionally.
* config/obj-aout.h (AOUT_STABS): Define.
* config/obj-bout.h (AOUT_STABS): Define.
* config/obj-ecoff.h (OBJ_PROCESS_STAB): Add new first argument,
ignored.
* config/obj-elf.h (OBJ_PROCESS_STAB) [ECOFF_DEBUGGING]: Ditto.
* config/obj-ecoff.h (ECOFF_DEBUGGING): Define to 1, not empty.
* config/obj-elf.h (ECOFF_DEBUGGING): Ditto. Test value, not
whether it's defined.
Wed May 3 21:38:20 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* as.h (LOCAL_LABELS_DOLLAR, LOCAL_LABELS_FB): If not already
defined, define them to zero.
* config/tc-*.h, config/te-*.h: If defining them, define them to
be 1 instead of empty.
* expr.c (integer_constant, operand): Test them at run time
instead of compile time.
* read.c (read_a_source_file): Ditto.
* symbols.c (colon): Ditto.
(dollar_*, define_dollar_label, fb_*): Define unconditionally.
* symbols.h (dollar_*, define_dollar_label, fb_*): Declare
unconditionally.
Wed May 3 13:08:53 1995 Jeff Law (law@snake.cs.utah.edu)
* config/tc-hppa.c (md_apply_fix): Do nothing for an out of range
PC relative call since those only occur in cases where the linker
can fix them up.
(hppa_force_relocation): Force relocations for out of range PC
relative calls.
Tue May 2 16:34:47 1995 Jeff Law (law@snake.cs.utah.edu)
* configure (hppa*-*-lites*): Handle just like hppa*-*-*elf*.
* configure.in: Likewise.
Tue May 2 11:22:00 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* read.c (pop_insert): New function.
(pop_override_ok, pop_table_name): New variables.
(md_pop_insert, obj_pop_insert): New macros.
(pobegin): Use them.
* config/tc-mips.c: Use USE_STDARG and USE_VARARGS instead of
NO_STDARG &c.
* read.c (target_big_endian): If TARGET_BYTES_BIG_ENDIAN is
defined, initialize to 1.
* config/tc-mips.c (mips_target_format): Changed to a function,
checking flavor and byte order at run time.
(md_parse_option, cases OPTION_EB and OPTION_EL): Set
target_big_endian here.
(md_begin): Not here.
* config/tc-mips.h (mips_target_format): Adjust declaration.
(TARGET_FORMAT): Call mips_target_format.
* config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Define in terms of
OUTPUT_FLAVOR.
* config/tc-mips.c (g_switch_value, g_switch_seen): Define
unconditionally.
(md_begin, mips_ip, md_parse_option, s_change_sec, s_option,
s_abicalls, nopic_need_relax): Check USE_GLOBAL_POINTER_OPT at run
time, instead of compiling conditionally on GPOPT.
(GPOPT): Don't define.
(md_shortopts): Always include -G.
(RDATA_SECTION_NAME): Select at run time.
(md_begin): Test for ELF format at run time instead of compile time.
(mips_ip, s_change_sec): Ditto.
(md_parse_option, cases OPTION_CALL_SHARED and OPTION_NON_SHARED):
Ditto.
(OPTION_CALL_SHARED, OPTION_NON_SHARED, mips_regmask_frag): Define
unconditionally.
Tue May 2 00:17:04 1995 Ken Raeburn (raeburn@kr-pc.cygnus.com)
* Makefile.in (TARG_CPU_DEP_*): New variables.
(targ-cpu.o): Depend on one, selected by autoconf substitution,
instead of TARG_CPU_DEPENDENTS.
* configure.in: Substitute $cpu_type, $obj_format, $atof, and
$emulation into Makefile.in.
* config/h8300.mt: Deleted.
* config/h8500.mt: Deleted.
* config/i386coff.mt (TARG_CPU_DEPENDENTS): Deleted.
* config/m68k.mt: Deleted.
* config/m68kcoff.mt (TARG_CPU_DEPENDENTS): Deleted.
* config/m88kcoff.mt (TARG_CPU_DEPENDENTS): Deleted.
* config/mips-big.mt (TARG_CPU_DEPENDENTS): Deleted.
* config/mips-lit.mt (TARG_CPU_DEPENDENTS): Deleted.
* config/sh.mt: Deleted.
* config/w65.mt: Deleted.
* config/z8k.mt: Deleted.
* config/te-dpx2.h (dpx2): Deleted unused macro.
* config/te-generic.h (TE_GENERIC): Ditto.
* config/te-go32.h (TE_GO32): Ditto.
* config/te-hp300.h (TE_HP300): Ditto.
* config/te-hppa.h (PA, _TE_PA_H): Ditto.
* config/te-ic960.h (TE_IC960): Ditto.
* config/te-nbsd532.h (TE_NETBSD532): Ditto.
* config/te-pc532mach.h (TE_PC532MACH): Ditto.
* config/te-ppcnw.h (TE_PPCNW): Ditto.
* config/te-sco386.h (scounix): Ditto.
Mon May 1 15:59:56 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* read.c (s_app_file): If obj_app_file is defined, call it with
string as argument. Don't call c_dot_file_symbol or
elf_file_symbol.
* config/obj-coff.h (obj_app_file): Define as c_dot_file_symbol.
* config/obj-elf.h (obj_app_file): Define as elf_file_symbol.
* as.h (OUTPUT_FLAVOR): Don't define here.
* config/obj-aout.h (OUTPUT_FLAVOR) [BFD_ASSEMBLER]: Define.
* config/obj-bout.h (OUTPUT_FLAVOR): Define.
* config/obj-coff.h (OUTPUT_FLAVOR) [BFD_ASSEMBLER]: Define.
* config/obj-ecoff.h (OUTPUT_FLAVOR): Define.
* config/obj-elf.h (OUTPUT_FLAVOR): Define.
Thu Apr 27 20:07:33 1995 Doug Evans <dje@canuck.cygnus.com>
* Makefile.in (RUNTEST): Use one in srcdir if present.
(RUNTESTFLAGS): Define.
Wed Apr 26 15:54:10 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
Support for more portable alignment handling in assembly code,
based on patches from Bryan Ford <baford@schirf.cs.utah.edu>:
* read.c (potable): Added balign and p2align, for aligning by
bytes or powers of two independent of what ".align" does for a
given target.
* doc/as.texinfo: Document them.
Tue Apr 25 11:12:04 1995 Rob Savoye <rob@thepub.cygnus.com>
* configure, configure.in: Look for m68k-*-vxworks* rather than
just m68k-wrs-vxworks so gas can be configured for
m68k-vxworks5.1.
Fri Apr 21 15:19:06 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* config/tc-sh.c (md_apply_fix): If fx_r_type is zero, handle
fx_size of 1, and abort on unrecognized sizes.
* config/tc-m68k.c (m68k_ip): Fix bug in last change regarding
non-isvar case.
Sun Apr 16 01:52:52 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
* config/tc-m68k.h (md_relax_table, TC_GENERIC_RELAX_TABLE):
Missed this one in 11 Apr changes.
* config/tc-i386.h (TC_GENERIC_RELAX_TABLE): Fix typo.
Thu Apr 13 18:18:08 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* config/tc-sh.c (md_convert_frag): Instead of aborting on large
displacements, print an error message. Don't invoke the code that
followed the abort call until it's been verified.
* config/tc-m68k.c (md_show_usage): Add 68060 to list. Split cpu
list into three lines.
Thu Apr 13 14:34:36 1995 Torbjorn Granlund <tege@adder.cygnus.com>
* config/tc-m68k.c (m68k_init_after_args): Test for m68360.
(md_parse_option): Likewise.
(md_show_usage): Mention m68360.
* config/tc-m68k.h (TARGET_WORD_SIZE): Define.
(TARGET_ARCH): Define.
* expr.c (integer_constant): If TARGET_WORD_SIZE is defined,
sign-extend appropriately.
Thu Apr 13 11:20:17 1995 Michael Meissner <meissner@tiktok.cygnus.com>
* config/tc-ppc.c (ppc_elf_validate_fix): Properly use PARAMS to
hide prototype from non-ANSI compilers, and don't use ANSI syntax
for arguments.
Wed Apr 12 12:20:19 1995 Stan Shebs <shebs@andros.cygnus.com>
* mpw-config.in (TDEFINES): Put empty definition into
makefile fragment.
* mpw-make.in (xmalloc.c.o): Remove.
(as.new): Depend on Version.r.
(Version.r): Generate from version info.
* mpw-make.in: Delete references to hex-value.c.
* mpw-config.in: Add mapping from configs to object file formats,
get VERSION from Makefile.in and add to mk.tmp.
(mips-idt-ecoff) [TDEFINES]: Add TARGET_BYTES_BIG_ENDIAN.
* mpw-make.in (VERSION, gC): Don't define.
(ALL_CFLAGS): Remove -d flags.
(config.h): Remove definition of MPW, add HAVE_STDARG_H,
BFD_ASSEMBLER.
* mpw-make.in (ALL_CFLAGS): Add definition of HAVE_STDARG_H,
include of ::libiberty:.
(config.h): Ifdef contents on GAS_VERSION.
* mpw-make.in (as.c): Compile with C not gC.
(config-stamp): Touch correctly.
(install-only): New target.
(install): Depend on all and install-only.
* mpw-config.in: Parse target and use to generate forward includes
to tc-, obj-, and atof- files, use te-generic.h for emulation.
* mpw-make.in (VERSION): Define.
(as.c): Compile with GCC.
(TARG_OBJECTS, CLIBS): Define.
(as.new): Use LDFLAGS, TARG_OBJECTS, CLIBS and EXTRALIBS in link
command.
(config.h, config-stamp): Build.
* mpw-make.in (C, CFLAGS): Removed definitions.
(ALL_CFLAGS): Define.
Set default rule to use {CC} instead of {C}.
* mpw-make.in (install): Moved here from mpw-build.in.
* mpw-build.in: Removed, functionality in mpw-make.in
* mpw-make.in (CFLAGS): Add more include paths.
* mpw-config.in (varargs.h, sys/*.h): Don't create when
configuring.
* mpw-make.in (CFLAGS): Add -w flag.
* mpw-make.in: Replace 8-bit chars with their names.
* mpw-config.in: New file, MPW version of configure.in.
* mpw-make.in: New file, MPW version of Makefile.in.
Tue Apr 11 01:42:36 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* configure.in: Require at least autoconf 2.3, because earlier
versions lose on some AIX versions.
* configure: Regenerated.
* configure.in: Add m68k-*-elf.
* config/tc-m68k.c (comment_chars) [OBJ_ELF]: Include '#'.
(md_pseudo_table) [OBJ_ELF]: Ignore "swbeg".
(md_begin): Set alt_notend_table['&'], so svr4-style immediate
operands are accepted.
(md_apply_fix): Argument VALP should point to valueT.
(md_convert_frag): Argument SEC should be type segT.
(md_shortopts) [OBJ_ELF]: Accept 'Q' with an argument.
(md_parse_option): Ignore it.
(md_convert_frag_1): Add in frag address for the symbol in the
displacement calculation.
* config/tc-m68k.h (TARGET_FORMAT) [OBJ_ELF]: Use "elf32-m68k".
(TARGET_ARCH): Define.
(REGISTER_PREFIX_OPTIONAL) [OBJ_ELF]: Default to 0.
(LOCAL_LABEL, FAKE_LABEL_NAME, REGISTER_PREFIX_OPTIONAL): Handle
these the same way for OBJ_ELF as for M68KCOFF.
* gdbinit.in: Add breakpoint in as_abort.
* write.c (cvt_frag_to_fill): If offset is less than zero,
complain about it specifically, instead of reporting an assertion
failure.
(relax_segment): Complain about .org backwards, then ignore it.
Do generic rs_machine_dependent relaxation only if
TC_GENERIC_RELAX_TABLE is defined, and use its value for the base
of the table.
* tc.h (md_relax_table): Delete declaration.
* as.h (struct relax_type): Add forward declaration for type.
* config/tc-a29k.c: Deleted md_relax_table.
* config/tc-{alpha,arm,h8300,hppa,i860,m88k,mips,ppc,sparc,z8k}.c:
Ditto.
* config/tc-{h8500,i386,i960,ns32k,sh,tahoe,vax,w65}.h: Declare
md_relax_table here, and define TC_GENERIC_RELAX_TABLE to expand
to md_relax_table.
* config/tc-h8500.c (md_relax_table): No longer const.
* config/tc-w65.c (md_relax_table): Ditto.
* config/tc-sparc.c (md_short_jump_size, md_long_jump_size):
Deleted.
* doc/internals.texi: Describe TC_GENERIC_RELAX_TABLE and
WORKING_DOT_WORD. Mention md_*_jump_size (but description needs
to be fleshed out later). Note m68k PCINDEX mode has been checked
in.
Mon Apr 10 15:57:42 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* config/tc-mips.c (nopic_need_relax): New static function, split
out from md_estimate_size_before_relax.
(md_estimate_size_before_relax): Call it.
(load_address, macro): In NO_PIC branches, if nopic_need_relax
returns nonzero, don't attempt GP optimization.
* config/tc-m68k.c (PCINDEX): New macro.
(md_relax_table): No longer const. Add PCINDEX entries.
(m68k_ip): For AINDX with simple symbol operand, generate a
PCINDEX frag if PC is used, or do normal non-AINDX processing for
address register.
(m68k_init_after_args): If cpu is 68000 or 68010, fix
md_relax_table to prevent relaxation of PCINDEX/BYTE mode to
SHORT, since they don't support that mode.
(md_convert_frag_1, case PCLEA/LONG): Add 4 to offset, not 2. Add
support for new PCINDEX modes.
(md_estimate_size_before_relax): Process PCINDEX/SZ_UNDEF mode.
* config/tc-m68k.c (md_convert_frag_1, case PCLEA/SHORT): Add 2 to
offset.
(m68k_ip, case most punctuation/AOFF): If using PC, call add_frag
using PCLEA.
* config/tc-m68k.c: Don't explicitly include config.h. Deleted a
bunch of "#if 0" code and useless comments.
(struct m68k_cpu): New type.
(archs, n_archs): New variables, with single list of name/enum
mapping and aliases.
(m68k_ip): Delete the table here.
(m68k_init_after_args): Use the new table here instead of
open-coding it.
(md_parse_option, case 'm'): Ditto.
* doc/Makefile.in (Makefile): Fix rule for running config.status.
(internals.dvi, internals.ps, internals.ps4): New targets, not
built by default.
* doc/internals.texi: Add loud disclaimer. Refill to 79 columns,
specify fill-column in local-variables section. Change
subheadings to subsections so they can be cross-referenced.
Describe broken words, frags, frag chains, generic relaxation,
relax table, m68k relaxation, m68k addressing modes, test suite
code. Add a few words about various file formats.
* doc/as.texinfo (m68k): Recommend using `%' with registers as the
normal case, instead of the exceptional case.
Thu Mar 30 14:38:47 1995 H.J. Lu (hjl@nynexst.com)
* configure.in: Change linux to default to elf. Using
i[345]86-*-linuxaout will defaults to a.out.
* configure: Rebuild.
Wed Mar 29 17:16:30 1995 Torbjorn Granlund <tege@adder.cygnus.com>
* config/tc-m68k.c (md_apply_fix_2): Cast negative offsets to offsetT
(for hosting on 64 bit machines).
Tue Mar 21 16:53:27 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-mips.c (md_show_usage): Mention -mips4 and -m4650.
Fri Mar 17 16:47:13 1995 Stan Shebs <shebs@andros.cygnus.com>
* write.c (write_object_file): Add PROGRESS macros.
Fri Mar 17 12:40:34 1995 Jeff Law (law@snake.cs.utah.edu)
* config/tc-hppa.c (pa_comm): Make sure to always reset the frag
and section for common symbols.
Thu Mar 16 17:26:18 1995 Michael Meissner <meissner@cygnus.com>
* config/tc-ppc.c (ppc_elf_validate_fix): Allow non PC relative
pointers in the .ctors and .dtors section also when using the
-mrelocatable option.
(md_parse_option): Support -m403 as a PowerPC computer.
(md_show_usage): Ditto.
Wed Mar 15 14:45:42 1995 Ian Lance Taylor <ian@cygnus.com>
* ecoff.c (ecoff_build_debug): The cur_scope field of a fil_ptr
may be NULL when given strange input. Don't core dump.
Tue Mar 14 21:36:34 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-mips.c (load_register): Don't use addiu for dli of an
unsigned seemingly negative number. Don't bother shifting a zero
value.
(mips_ip): For case 'j', if there are more alternatives, and the
ISA level is at least 3, don't accept an unsigned seemingly
negative number.
Tue Mar 14 19:16:43 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* read.c (s_app_line): Fix last patch to deal with a line number
of 1.
Tue Mar 14 17:00:57 1995 Michael Meissner <meissner@tiktok.cygnus.com>
* config/tc-ppc.c (ppc_elf_validate_fix): Use as_warn_where, not
as_bad_where to give a warning instead of an error.
Mon Mar 13 17:03:46 1995 Pat Rankin (rankin@eql.caltech.edu)
* config/tc-vax.c (md_assemble): issue a warning if a constant
is used as an operand where an immediate value is not allowed.
Fri Mar 10 19:21:19 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* config/obj-coff.c: Redo my 10 Jan change, but get it right this
time. :-)
(fixup_segment): If linkrelax is set, just return.
(write_object_file): Don't treat h8300 and z8k specially with
regard to fixups.
* config/tc-h8300.c (md_begin): Set linkrelax.
* config/tc-z8k.c (md_begin): Ditto.
Thu Mar 9 18:01:37 1995 Ian Lance Taylor <ian@cygnus.com>
* config/obj-coff.c (coff_header_append): Check return value of
bfd_coff_swap_scnhdr_out.
Thu Mar 9 13:51:30 1995 Doug Evans <dje@canuck.cygnus.com>
Delete this patch, it breaks the h8300 assembler.
Tue Jan 10 13:34:14 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* config/obj-coff.c (write_object_file): Don't treat h8300 and z8k
specially with regard to fixups.
Thu Mar 9 12:28:18 1995 Michael Meissner <meissner@tiktok.cygnus.com>
* config/tc-ppc.c (mrelocatable): Change type to boolean.
(md_begin): Set the EF_PPC_RELOCATABLE if -mrelocatable.
Wed Mar 8 15:39:39 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-mips.c (md_begin): Check for a cpu string of r8000 or
r10000. If mips_isa is 4, set the machine number to 8000.
(append_insn): If mips_isa is at least 4, don't generate nops for
coprocessor delays. Check INSN_READ_FPR_R when setting
mips_cprmask[1].
(mips_emit_delays): If mips_isa is at least 4, don't generate nops
for coprocessor delays.
(mips_ip): Check for INSN_ISA4 instructions. Handle new argument
types 'h', 'R', 'N', and 'M'.
(md_longopts): Accept "mips4".
(md_parse_option): Handle -mips4, and -mcpu=10000 and -mcpu=8000.
(s_mipsset): Permit .set mips4.
Wed Mar 8 09:36:05 1995 Michael Meissner <meissner@tiktok.cygnus.com>
* config/tc-ppc.c (ppc_elf_validate_fix): Allow .stab sections to
have non PC relative relocations with -mrelocatable.
Wed Mar 8 02:57:53 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* config/tc-m68k.c (opcode_ptr): Return pointer to const.
(md_begin): Make hash table errors fatal. Process opcode aliases
after main opcode table.
(md_apply_fix_2, case 4): Recode setting of lower_limit to avoid
gcc warning.
Tue Mar 7 16:07:10 1995 Ian Lance Taylor <ian@cygnus.com>
* doc/as.texinfo: Add documentation for SPARC V9, from Doug Evans
<dje@cygnus.com>.
Mon Mar 6 09:58:34 1995 Jeff Law (law@snake.cs.utah.edu)
* config/tc-hppa.c: Change all occurences of pa-89 with pa-11 to
be consistent with current naming conventions.
(md_begin): Set a default architecture and machine type.
(pa_ip): If the current instruction specifies a newer machine type
than the current machine type, then update the current machine
type.
(need_pa11_opcode): Likewise.
Sun Mar 5 19:38:09 1995 Jeff Law (law@snake.cs.utah.edu)
* config/tc-hppa.c (pa_ip, case 'z'): Don't lose argument
relocation bits for absolute calls.
Fri Mar 3 17:41:50 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* config/tc-h8300.* (md_operand): Change empty function to empty
macro.
* config/tc-h8300.c (build_bytes): Make H8/300-H warning message
clearer.
* write.c (write_contents): If bfd_set_section_contents fails,
print a message and exit, instead of aborting.
Fri Mar 3 16:26:19 1995 Michael Meissner <meissner@tiktok.cygnus.com>
* tc.h (md_apply_fix3): If MD_APPLY_FIX3 is defined, declare
md_apply_fix3.
* write.c (fixup_segment): If MD_APPLY_FIX3 is defined, call
md_apply_fix3 with the normal 2 arguments and the current segment
pointer instead of md_apply_fix.
* config/tc-ppc.h (MD_APPLY_FIX3): Define.
* config/tc-ppc.c (ppc_elf_validate_fix): Warn if -mrelocatable
and a non PC relative relocation that isn't in the .got2 segment
was performed.
(md_apply_fix3): Rename from md_apply_fix and take segment pointer
as third argument. If ELF object format, call ppc_elf_validate_fix
for normal relocations.
(md_parse_option): If ELF object format, recognize the
-mrelocatable switch.
Thu Mar 2 16:34:44 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-i386.h (AOUT_MACHTYPE): Define as 100, not 0.
Tue Feb 28 18:29:27 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* config/tc-arm.c, config/tc-arm.h (md_operand): Replaced empty
function in .c file with empty macro in .h file.
* config/tc-h8500.*, config/tc-hppa.*, config/tc-i386.*,
config/tc-i860.*, config/tc-i960.*, config/tc-ns32k.*,
config/tc-ppc.*, config/tc-sh.*, config/tc-sparc.*,
config/tc-tahoe.*, config/tc-vax.*, config/tc-w65.*,
config/tc-z8k.*: Ditto.
* config/tc-m68k.*: Ditto.
* config/tc-m68k.c (mote_pseudo_table): Removed dots from opcode
names.
* read.c (s_app_line): Ignore non-positive line numbers.
Tue Feb 28 15:34:14 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust PLT or
GOT relocs either.
Mon Feb 27 13:03:41 1995 Kung Hsu <kung@mexican.cygnus.com>
* configure.in: add a29k-*-vxworks configuration.
Fri Feb 24 14:41:15 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-mips.c (load_register): Take dbl argument to determine
handling of signed 32 bit values in 64 bit modes. Change all
callers.
(macro): Handle M_DLI and M_DLA_AB.
Wed Feb 22 23:10:56 1995 Jeff Law (law@snake.cs.utah.edu)
* config/tc-hppa.c (md_apply_fix): Don't subtract the value of the
add symbol if it's a common symbol (the value of a common symbol
is its size, not a value in the traditional sense).
Wed Feb 22 21:12:28 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-mips.c (append_insn): If listing_prev_line is called,
call frag_grow to make sure there is still room for a variant.
Fri Feb 17 14:50:08 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-mips.c (md_pseudo_table): Add 2byte, 4byte and 8byte
if OBJ_ELF. From gary@Intrepid.COM (Gary Funck).
* config/obj-elf.c (elf_frob_symbol): Warn if a symbol is both
weak and common.
* config/obj-aout.c (obj_aout_frob_symbol): Likewise.
Fri Feb 17 12:43:47 1995 Michael Meissner <meissner@tiktok.cygnus.com>
* config/tc-ppc.c (md_pseudo_table): Don't redefine byte under
ELF.
(ppc_elf_cons): Don't support @pcrel any more, since DIFF_EXPR_OK
allows the normal expressions to generate it.
(md_apply_fix): Convert BFD_RELOC_32 with pcrel bit set into
BFD_RELOC_32_PCREL. Abort if either BFD_RELOC_16 or BFD_RELOC_8
need PC relative relocations.
* config/tc-ppc.h (DIFF_EXPR_OK): Define to allow PC relative
expressions to be handled.
Thu Feb 16 14:30:13 1995 Doug Evans <dje@cygnus.com>
* expr.c (operand): Move md_operand handling to default case
(so it works).
Wed Feb 15 16:08:47 1995 Jason Molenda <crash@cygnus.com>
* config/tc-h8500.c (tc_coff_symbol_emit_hook): Add ignored
parameter, to match prototype.
Wed Feb 15 15:07:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
* config/tc-ppc.c (md_pseudo_table): If ELF, go to ppc_elf_cons
instead of cons.
(md_show_usage): Show all of the PowerPc options.
(ppc_elf_suffix): New function to recognize ELF suffixes that
specify a relocation, such as @GOT.
(ppc_elf_cons): Replacement for the standard cons function that
knows about the ELF suffixes.
(ppc_fixup): Add reloc field to hold non-standard relocation.
(md_assemble): Handle ELF suffixes like @GOT.
(md_create_short_jump): Dummy in case WORKING_DOT_WORD is not
defined.
(md_create_long_jump): Ditto.
(md_short_jump_size): Ditto.
(md_long_jump_size): Ditto.
(md_apply_fix): Handle BFD_RELOC_32_PCREL, BFD_RELOC_LO16,
BFD_RELOC_HI16, BFD_RELOC_HI16_S, BFD_RELOC_PPC_TOC16, and
BFD_RELOC_16 relocations. If relocation can not be found, print
the decimal value of the relocation.
Wed Feb 15 11:46:02 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-mips.c (md_apply_fix): Accept BFD_RELOC_16, for
DWARF. From gary@Intrepid.COM (Gary Funck).
* config/tc-mips.c (macro): Handle M_U{L,S}D[_A] (unaligned double
loads and stores).
* config/tc-i386.c (tc_i386_fix_adjustable): Do adjust global
symbols if OBJ_AOUT.
* config/tc-mips.c (macro): Don't use the target register as a
base register when building the address for M_L{W,D}{L,R}_AB.
Mon Feb 13 14:44:32 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-mips.c (KT0, KT1): Define.
(mips_ip): Recognize $kt0 and $kt1 as register names.
* config/tc-sparc.h (tc_fix_adjustable): Define if OBJ_ELF.
* config/tc-sparc.c (md_apply_fix): If OBJ_ELF, subtract out the
value of a defined symbol; the value was added in by
fixup_segment. This was previously corrected, if the reloc was
changed to be against a section symbol, in tc_gen_reloc.
Fri Feb 10 14:04:04 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-i386.c (tc_i386_fix_adjustable): Use S_IS_EXTERN
rather than !S_IS_LOCAL.
Thu Feb 9 18:16:34 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-i386.c (md_assemble): Adjust conditions for changing
BFD_RELOC_32 to BFD_RELOC_386_GOTPC to handle a switch in frags.
Patch originally from Rob Ryan <robr@cmu.edu>.
* config/tc-i386.c: Include subsegs.h.
(tc_i386_fix_adjustable): Declare return value.
(i386_operand): Don't use an assignment directly as a condition.
Thu Feb 9 10:37:13 1995 Jeff Law (law@snake.cs.utah.edu)
* config/tc-hppa.c (md_apply_fix): In some cases subtract the
value of the add symbol from valp. Offsets braindamage in the
"machine independent" fixup_segment.
Wed Feb 8 18:51:23 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* messages.c (as_abort): New function.
* as.h (as_abort): Declare it.
(abort): New macro.
Thu Jan 19 18:10:05 1995 Pat Rankin (rankin@eql.caltech.edu)
* config/vms-conf.h (HAVE_UNISTD_H): define it unconditionally.
* config-gas.com: test for availability of <unistd.h>; create a
rudimentary one if necessary.
Tue Feb 7 13:34:46 1995 Michael Meissner <meissner@tiktok.cygnus.com>
* configure.in: Add powerpc-*-eabi support, which is the same as
powerpc-*-elf.
(configure): Rebuild with autoconf.
Mon Feb 6 03:37:00 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
Changes from Bryan Ford <baford@schirf.cs.utah.edu> for i386
16-bit and msdos support:
* config/tc-i386.c (flag_16bit_code): New variable.
(set_16bit_code_flag): New function.
(md_pseudo_table): Added entries "code16" and "code32".
(md_assemble): Ensure that correct data-size prefixes get emitted,
based on the current mode. Ensure that 32-bit addressing will
always be done. Move segment-prefix handling code. (Why?) Use
16-bit jumps for 16-bit code, 32-bit jumps for 32-bit code.
* config/tc-i386.h (MAX_PREFIXES): Bump to 5.
(Data16, Data32): Define.
* doc/as.texinfo (i386-16bit): New node.
* configure.in (i386-*-msdos*): New target, using a.out format.
* configure: Regenerated.
Thu Feb 2 15:21:24 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* config/tc-m68k.c (cpu32_control_regs): New macro.
(m68k_init_after_args): Use it, for cpu32 processors.
Tue Jan 31 17:20:45 1995 Pat Rankin (rankin@eql.caltech.edu)
* config/obj-vms.c (vms_tir_stack_psect): new routine;
(VMS_Set_Data, VMS_Set_Psect, VMS_Store_PIC_Symbol_Reference,
VMS_TBT_Routine_Begin, VMS_TBT_Line_PC_Correlation): use it;
(VMS_Global_Symbol_Spec, VMS_Procedure_Entry_Pt): treat
Psect_Number as `unsigned'.
Thu Jan 26 17:06:28 1995 Pat Rankin (rankin@eql.caltech.edu)
* config/obj-vms.c: performance tuning.
(VMS_Symbol_type_list): convert from single list head to small
array of list heads;
(SYMTYP_HASH): new macro for accessing VMS_Symbol_type_list[];
(find_symbol, setup_basic_type, VMS_typedef_parse): use it;
(VMS_RSYM_Parse): move S_GET_VALUE() inside switch to avoid
calling it for uninteresting cases.
Wed Feb 1 23:52:45 1995 Jeff Law (law@snake.cs.utah.edu)
* config/tc-hppa.c (md_apply_fix): Go ahead and call
hppa_field_adjust to get a new value for R_DATA_ONE_SYMBOL
relocations in SOM.
(hppa_fix_adjustable): Refine somewhat.
Fri Jan 27 21:29:53 1995 Michael Meissner <meissner@tiktok.cygnus.com>
* config/tc-ppc.h (NO_STRING_ESCAPES): Don't define if we are
using ELF.
Thu Jan 26 19:03:42 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* config/tc-h8300.c (get_specific): Add parens around | inside &.
(skip_colonthing): Set L_8 if ":8" is specified.
Thu Jan 26 18:38:01 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-ppc.c (md_begin): Permit mfdec to be duplicated on the
601. Check that the error return from hash_insert is "exists".
Thu Jan 26 11:35:33 1995 Michael Meissner <meissner@cygnus.com>
* configure: Add support for configuring powerpc-*-eabi.
* config/tc-ppc.c (GOT_symbol): Define if object format is ELF.
* config/tc-ppc.h (GLOBAL_OFFSET_TABLE_NAME): Define if object
format is ELF and not defined to be "_GLOBAL_OFFSET_TABLE_".
Wed Jan 25 16:23:13 1995 Jim Wilson <wilson@chestnut.cygnus.com>
* config/tc-sh.c (little): Add argument IGNORE to avoid
compiler warnings.
(md_pseudo_table): Add space for consistent formatting.
(COND8_RANGE, COND12_RANGE): Delete unused macros.
(COND8_F, COND8_M, COND12_F, COND12_M, UNCOND12_F, UNCOND12_M):
Correct minimum and maximum branch offsets. Add comments explaining
why these numbers are correct.
Wed Jan 25 15:32:09 1995 David Edelsohn <edelsohn@mhpcc.edu>
* config/tc-ppc.c (md_parse_option): Accept mpwr2 as a synonym for
mpwrx; mppc32, m603, and m604 as synonyms for mppc; and mppc64 and
m620 for PowerPC64 mode.
(ppc_symbol_new_hook): Add T0 as synonym for TC0 suffix.
Tue Jan 24 16:44:23 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* config/tc-vax.c (vip): Introduce new ptr-to-const local variable
for scanning operand string.
Sat Jan 21 17:50:38 1995 Pat Rankin (rankin@eql.caltech.edu)
* config/vax-inst.h (struct vop, fields `vop_warn', `vop_error'):
make them pointers to const char;
(struct vit, field `vit_error'): ditto.
* config/atof-vax.c (md_atof): rename local `littlenum_pointer'
to `littlenumP' to avoid shadowing file scope variable.
* config/tc-vax.c (vip_begin, vip_op_defaults, vip_op_1): make
string arguments be pointers to const char;
(vip): make `alloperr' const char *;
(vip_op): make `err' and `wrn' const char *; rename `access' to
`access_mode' to avoid shadowing library function.
* config/obj-vms.c (`symbol_name'): make it const char *;
(get_struct_name): cast one use of `symbol_name' to char *
[caller guarantees that it won't modify the pointer's target];
(PUT_COUNTED_STRING): use pointer to const char;
(VMS_typedef_parse): make `pnt2' const char *;
(Write_VMS_MHD_Records): make `cp' const char *;
(VMS_Modify_Psect_Attributes, array `Attributes'): make const,
and make field `Name' pointer to const char;
* as.h (`seg_name[]' declaration): pointers to const char;
(struct _pseudo_type, field `poc_name'): pointer to const char.
* subsegs.c (`seg_name[]' definition): ditto;
* hash.c (hash_ask): rename argument `access' to `access_type'
to avoid shadowing library function.
* write.c (variable `the_object_file'): move from file scope
to block scope within write_object_file(); free it after use;
(fixup_segment): conditionally exclude it for OBJ_VMS.
(cvt_frag_to_fill): rename argument `headers' to `headersP'
to avoid shadowing file scope variable.
Mon Jan 23 21:42:39 1995 Jeff Law (law@snake.cs.utah.edu)
* config/tc-hppa.c (pa_ip, case 'D'): Fix typo which caused
miscompilation of "diag" instructions.
Mon Jan 23 15:51:41 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* configure: Regenerated.
* config/tc-mips.c: Include libiberty.h.
Mon Jan 23 14:07:58 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
* config/tc-sh.h (tc_init_after_args): Don't define.
* config/tc-sh.c (md_begin): Remove unused variable table.
(md_assemble): Remove unused variable p.
(md_convert_frag): Cast fr_address to unsigned long for printf.
(md_apply_fix): Use as_warn_where rather than as_warn.
(sh_init_after_args): Remove empty function.
* configure.in (i386-*-gnu*elf*): New target.
Sat Jan 21 19:02:23 1995 Ian Lance Taylor <ian@tweedledumb.cygnus.com>
* hash.c (hash_ask): If we find the slot after wrapping around,
break out of the loop. Fixes bug in Jan 18 change.
Fri Jan 20 17:07:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* hash.c (hash_code): Undo last change.
Thu Jan 19 14:49:47 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* config/tc-alpha.c (alpha_ip): Initialize local variables to keep
gcc quiet.
(gpdisp_hi16_howto): Don't use "const" with reloc_howto_type.
(in_range_signed): Add parens around subtraction inside shift.
* gasp.c (do_data): Initialize local variable "opname".
(istrue): Provide a default case to set "res" and keep "gcc -Wall"
quiet.
* write.c (write_contents): Deleted unused variable.
(print_symbol_value_1): Declare.
* hash.c (hash_ask): Delete disabled non-strcmp version of the
code, and automatic variables used only in those sections.
* write.c (chain_frchains_together_1): Only define local variable
"prev_fix" if BFD_ASSEMBLER.
* flonum-konst.c (dummy1): Return void.
* config/tc-vax.c (md_assemble): Remove two comparisons of
unsigned numbers versus zero.
* as.h (bcopy): If neither memcpy nor bcopy is defined as a macro,
define to use memcpy.
* config/tc-alpha.c, config/alpha-opcode.h: Revert 2 June changes.
Turns out we never got the assignment done after all.
Cleanup of VAX and VMS code, from Pat Rankin:
* config/obj-vms.c: Changed exported function names to lower case.
(Changed call sites in write.c.) Declare VMS system function
names used, conditional on actually being on VMS. Changed many
functions that returned no useful value to now be declared to
return void. Removed many unused variables. Supply missing
return statements or values. Supply `default' case in switch
statements. Ensure local variables get initialized.
* config/tc-vax.c: Minor changes to silence "gcc -Wall".
* config/obj-vms.h, config/tc-vax.h: Added some missing
declarations.
Wed Jan 18 13:49:26 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* atof-generic.c (flonum_print) [TRACE]: New function.
(atof_generic) [TRACE]: Print multiplier before multiplication,
and print multiplication result before and after copy.
* flonum-mult.c (flonum_multip): Avoid sign extension problems
around multiplication operation.
* atof-generic.c (ASSUME_DECIMAL_MARK_IS_DOT): Define.
(atof_generic) [ASSUME_DECIMAL_MARK_IS_DOT]: Check for '.'
explicitly instead of calling strchr.
* config/tc-sparc.c (sparc_ip): When scanning successive opcode
table entries, check names for pointer equality before doing
string comparisons.
* hash.c (hash_ask): Call strcmp instead of expanding it inline.
(hash_code): Replaced with a version from bfd.
* config/obj-coff.c (write_object_file): If COFF_FLAGS isn't
defined, default it to zero.
Wed Jan 18 12:16:07 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
* write.c (fix_new_internal): Clear fx_bsr on those targets which
use it.
* expr.c (operand): Parenthesize && within ||.
* listing.c (listing_newline): Likewise.
(list_symbol_table): Use %lu to print sizeof.
* symbols.c: Comment out unused function indent.
(print_symbol_value_1): Cast pointer to unsigned long for printf.
* config/obj-coff.c (do_relocs_for): Only declare symbol_ptr if it
will be used.
* config/tc-h8300.c (md_begin): Remove unused variable reg.
(get_operand): Declare type of parameter direction. Remove unused
variable size.
(get_specific): Fix comment to avoid nested comments.
(check_operand): Cast X_add_number to unsigned long for printf.
(build_bytes): Remove unused local variables output_ptr, part, and
high.
(build_bytes): Cast X_add_number to unsigned long for printf.
(clever_message): Remove unused variable scan.
(md_assemble): Remove unused variable i.
(tc_coff_sizemachdep): Remove unused function.
* config/tc-h8300.h (tc_reloc_mangle): Declare.
Tue Jan 17 10:58:06 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
* config/tc-mips.c (mips_4650): New static variable.
(md_begin): Handle a cpu string of "4650". If mips_4650 was not
initialized, set it to 0.
(append_insn): Don't insert nops around HI and LO on a 4650.
(mips_emit_delays): Likewise.
(mips_ip): Use INSN_ISA mask to check ISA of instruction. Check
for INSN_4650.
(md_longopts): Add m4650 and no-m4650.
(md_parse_option): Handle mips-cpu=4650. Handle -m4650 and
-no-m4650.
* doc/as.texinfo: Document new MIPS options.
Sat Jan 14 23:48:13 1995 Steve Chamberlain <sac@jonny>
* config/tc-w65.c, config/tc-w65.h, config/w65.mt: Newfiles.
* config/obj-coff.h: Cope with w65.
* configure, configure.in: Recognize w65.
Thu Jan 12 17:56:24 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* app.c (do_scrub_next_char) [__GNUC__ && __OPTIMIZE__]: If `get'
function is scrub_from_file, call scrub_from_file directly, and
get gcc's inlining capability into the act.
* Makefile.in (VMS_OTHER_OBJS): Add ../libiberty/hex.o.
(OBJS): Delete hex-value.o.
(REAL_SOURCES): Delete hex-value.c.
(hex-value.o): Delete dependencies.
* hex-value.c: Deleted.
* as.c (main): Call hex_init.
* expr.c, config/tc-mips.c: Include libiberty.h. Replace
hex_value array references with hex_* macros.
Wed Jan 11 17:51:38 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* config/tc-h8300.h (COFF_FLAGS): Don't define.
* config/tc-h8500.h (COFF_FLAGS), config/tc-sh.h (COFF_FLAGS),
config/tc-z8k.h (COFF_FLAGS): Ditto.
* config/obj-coff.c (KEEP_RELOC_INFO): Make sure it's always
defined.
* config/tc-m68k.c (m68k_ip, cases AOFF and AINDEX): Don't
generate 68020 addressing modes for a 68000 processor.
(md_estimate_size_before_relax, cases PCREL and PCLEA): Ditto.
Tue Jan 10 13:34:14 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* config/obj-coff.c (write_object_file): Don't treat h8300 and z8k
specially with regard to fixups.
Mon Jan 9 16:22:28 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* config/tc-mips.c (RELAX_RELOC1, RELAX_RELOC2): Cast values to
bfd_vma before subtracting.
* config/obj-coff.c (size_section): Handle rs_space like rs_fill,
but make sure fr_symbol is null.
(fill_section): Ditto.
Sun Jan 8 16:14:19 1995 Ian Lance Taylor <ian@tweedledumb.cygnus.com>
* config/tc-mips.c (mips_ip): Fix handling of floating point
values when GPOPT is not defined.
Fri Jan 6 16:59:41 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* gasp.c: Include string.h. Put config.h before other includes.
* config/tc-alpha.c (alpha_ip): Delay calls to emit_add64 until
after any remaining operands are also known to match.
Fri Dec 30 18:21:41 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
* listing.c (list_symbol_table): Build a format string based on
the size of the value to be printed, as long as "unsigned long" is
at least as wide, after handling the special case of 4-byte
values.
* Makefile.in (dependencies): Make $(OBJS) depend on as.h and
everything it includes. Delete those files from per-file
dependencies.
* as.h (relax_substateT): Now defined to be unsigned int.
(relax_stateT): Separate typedef from enum definition.
(enum _relax_state): Reordered for better punctuation. Added new
values rs_align_code and rs_space.
(lineno, struct lineno_struct): Unused, deleted.
* as.h: No longer include assert.h.
(as_assert): Declare.
(assert): New definition, calls as_assert longer needed.
(__PRETTY_FUNCTION__): Provide default for older versions of gcc.
* messages.c (as_assert): New function.
* gdbinit.in: Put a breakpoint there.
* read.c (s_space): Rewrite to handle general expressions.
Generate rs_space frags for non-constant values.
* write.c (cvt_frag_to_fill): Treat rs_align_code and rs_space
like rs_align and rs_org. Verify that fr_offset is non-negative,
and force frag type to rs_fill only after assertion checks.
(relax_segment): Treat rs_align_code like rs_align. Treat
rs_space like rs_org in the first switch; in the second, force the
operand to a constant, and use it for the growth size.
Wed Dec 28 20:57:37 1994 Jeff Law (law@snake.cs.utah.edu)
* config/tc-hppa.c (pa_subspace): For sections with the ZERO
attribute, set the "bss" field in the appropriate seginfo structure.
Wed Dec 28 15:01:01 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
* subsegs.h: Include obstack.h.
Tue Dec 27 18:16:04 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
* as.h (struct frag): Enable align* components now.
Tue Dec 20 14:56:31 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
* frags.c (frag_init): Call obstack_begin on `frags'.
* subsegs.c (subsegs_begin): Don't do it here.
* as.c (main): Call frag_init before subsegs_begin.
* frags.c (frag_append_1_char): New function.
* frags.h (frag_append_1_char): Declare it.
(FRAG_APPEND_1_CHAR): Call it. Old definition is commented out
for now.
* as.h (struct frag): Added (but commented out) new fields for
tracking current alignment.
(frag_now_fix): Changed macro to function declaration.
* frags.c (frag_now_fix): Define function here.
(frag_new): Use it instead of accessing `frags' directly.
* frags.h (frags): Change comment to indicate it shouldn't be
accessed directly.
* subsegs.h (struct frchain): New field frch_obstack, intended to
eventually replace global `frags' obstack.
* subsegs.c (subseg_set_rest): Use frag_now_fix instead of
accessing `frags' directly. Initialize fields of new frchainS
explicitly instead of with memset.
* config/obj-coff.c (obj_coff_ln) [!BFD_ASSEMBLER]: Use
frag_now_fix.
* config/tc-mips.c (s_loc), config/obj-vms.c
(vms_resolve_symbol_redef), symbols.c (colon): Likewise.
* config/tc-m68k.c (md_apply_fix_2): Use offsetT and addressT
instead of long and unsigned long.
(md_apply_fix): Cast value before passing it.
* config/obj-aout.h, config/obj-coff.c, config/obj-elf.h,
config/obj-som.h, config/tc-h8500.c, config/tc-hppa.c,
config/tc-hppa.h, config/tc-sh.c, config/tc-z8k.c: Don't rely on
use of ".." when including header files.
* config/obj-coff.c (fixup_segment): Reformat condition in an `if'
statement.
* Makefile.in (SUBDIR_INCLUDES): Deleted.
Tue Dec 20 13:40:36 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
* config/obj-coff.h: Include bfd/libcoff.h, not libcoff.h.
Mon Dec 19 16:53:36 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
* config/tc-mips.c (load_register): Rewrite to handle O_big 64 bit
constants.
(mips_ip): Accept O_big constants in case 'I'. Change case
'i'/'j' to treat an O_big constant as an out of range value.
Mon Dec 19 14:15:07 1994 Jeff Law (law@snake.cs.utah.edu)
* config/tc-hppa.c (pa_subspace): Make sure SEC_HAS_CONTENTS is
clear for a section with the "ZERO" attribute.
* Reduce useless symbols for ELF in an attempt to make smaller
objects and speed up the linker.
* config/tc-hppa.c (struct call_info): Replace end_symbol field
with a size field.
(hppa_elf_mark_end_function): Delete unneeded function.
(pa_build_unwind_subspace): For the 2nd unwind relocation, use
the function symbol + function size instead of a special symbol
for the end of the function.
(process_exit): Compute the function size here. Don't call
hppa_elf_mark_end_of_function anymore.
(pa_procend): Likewise.
(hppa_fix_adjustable): Only reject 32bit relocations for SOM.
(elf_hppa_final_processing): Simplify.
Mon Dec 19 13:49:07 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
* configure.in: Recognize mips-sony-bsd and mips-dec-bsd, but
reject other vendors until we can be sure we're consistent with
bfd.
* config/obj-vms.c (Create_VMS_Object_File): Instead of formatting
a buffer to pass to `error', just call `as_fatal' directly.
(VMS_Psect_Spec): Ditto.
(VMS_TBT_Module_Begin, VMS_TBT_Source_File, gen1,
VMS_typedef_parse, VMS_LSYM_Parse, VMS_Emit_Globalvalues): Call
as_tsktsk instead of printf.
(VMS_TBT_Module_Begin, VMS_TBT_Line_PC_Correlation,
VMS_TBT_Source_File, VMS_TBT_Source_Lines,
VMS_Store_Repeated_Data, VMS_Check_For_Main): Use explicit
integers rather than sizeof expressions using basic integer types,
in case host and target aren't the same. Use memcpy or COPY_*
macros instead of possibly unaligned word or longword assignment.
* config/obj-vms.h (OBJ_SYMFIELD_TYPE): New macro.
* config/obj-vms.c (VMS_Store_PIC_Symbol_Reference,
VMS_Check_For_Main, VMS_write_object_file): Use sy_obj instead of
forcing sy_number to hold a pointer.
Fri Dec 16 14:40:16 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
* config/tc-sh.c (md_begin): Don't fill in md_relax_table here.
(md_relax_table): Use static initialization.
* config/tc-h8300.c (parse_exp, get_operands, clever_message,
md_assemble, tc_crawl_symbol_chain, md_undefined_symbol,
tc_headers_hook, md_operand, md_number_to_chars): Don't use DEFUN.
* Makefile.in (CHECKFLAGS): Don't pass AS_FOR_TARGET,
CC_FOR_TARGET, OBJDUMP_FOR_TARGET, NM_FOR_TARGET; they're not
used.
(AS_FOR_TARGET, CC_FOR_TARGET, OBJDUMP, OBJDUMP_FOR_TARGET, NM,
NM_FOR_TARGET): Don't define.
(VMS_OTHER_OBJS): Add xmalloc.o and xexit.o from libiberty.
(tooldir): Use exec_prefix, not libdir.
Fri Dec 16 11:07:10 1994 Stan Shebs <shebs@andros.cygnus.com>
* config/obj-coff.h: Include libcoff.h, not ../bfd/libcoff.h.
* as.h: Include progress.h.
* as.c (main): Call START_PROGRESS and END_PROGRESS.
(main, perform_an_assembly_pass): Call PROGRESS.
Fri Dec 16 00:46:08 1994 Ian Lance Taylor <ian@tweedledumb.cygnus.com>
* write.c (adjust_reloc_syms): Use bfd_is_und_section and
bfd_is_abs_section rather than comparing against &bfd_und_section
and &bfd_abs_section.
Thu Dec 15 15:27:14 1994 Jim Wilson <wilson@chestnut.cygnus.com>
* config/tc-sh.c (md_begin): Use a local variable when
initializing md_relax_table to avoid errors about modifying a
const data structure.
Tue Dec 13 15:42:27 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
* config/tc-ppc.c (tc_gen_reloc): Remove OBJ_ELF hack which
appears to no longer be needed.
Tue Dec 13 08:04:15 1994 Ian Lance Taylor <ian@cygnus.com>
* config/tc-mips.c (macro_build): Accept BFD_RELOC_PCREL* without
requiring that the X_op_symbol be in the text_section.
(macro): Change the test for a legal expression difference to
correspond to changes in pseudo_set in read.c.
Fri Dec 9 21:04:17 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
* write.c (write_relocs) [RELOC_EXPANSION_POSSIBLE]: Use
bfd_install_relocation.
* ecoff.c (ecoff_set_gp_prolog_size): If there is no current
routine, just return.
* config/tc-alpha.c (alpha_ip, case 'B', subcase 'c'): Use opcode
value from pattern instead of assuming jsr.
* config/alpha-opcode.h (jmp): Add a "1,Bc" form.
Thu Dec 8 17:48:25 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
* Makefile.in (NM_FOR_TARGET): Use ../binutils/nm.new, not just
plain nm.
* configure.in (ns32k-pc532-mach*): Select correct emulation.
(mips-sony-bsd*): Use ecoff.
(mips-*-gnu*): New target, using aout format, from Roland McGrath.
* configure: Regenerated.
Tue Nov 29 13:58:10 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
Use libiberty version of xmalloc:
* Makefile.in (REAL_SOURCES): Delete xmalloc.c.
(OBJS): Delete xmalloc.o.
(xmalloc.o): Delete dependencies.
* as.c (main): Call xmalloc_set_program_name once program name is
known.
* config/tc-alpha.c (in_range_signed, in_range_unsigned): New
routines, split from in_range.
(in_range): Deleted. All calls changed to in_range_*signed.
(create_lita_section): Macro deleted. Single use expanded in
place.
(alpha_ip): Handle `t' and `8' operand types.
(md_apply_fix): Handle BFD_RELOC_12_PCREL. Print name of
unhandled relocation types.
* config/alpha-opcode.h: Added HALT and DRAINA. Disabled MOVI,
since it doesn't work, and isn't supported by the native
assembler.
* input-scrub.c: Change wording of a comment to avoid interference
with Cygnus source-control tools.
* as.h (errno) [NEED_DECLARATION_ERRNO]: Declare.
* config/tc-m68k.c (init_table): List buscr and pcr control
registers.
(m68k_ip, case 'J'): Handle them.
Delete signal handler code. It's been disabled since March 1993
without complaints.
* as.c: Don't include signal.h.
(got_sig): Unused function deleted, declaration deleted.
(SIGTY): Macro deleted.
(main): Deleted disabled code for establishing signal handler.
Mon Nov 28 11:37:35 1994 Doug Evans <dje@canuck.cygnus.com>
* app.c (do_scrub_next_char): Insert missing newline at end of file
like warning says we do.
Mon Nov 28 00:11:15 1994 Jeff Law (law@snake.cs.utah.edu)
* config/tc-hppa.h (pa_check_eof): Declare new extern function.
(tc_frob_file): Define to call pa_check_eof.
* config/tc-hppa.c (pa_check_current_space_and_subspace): New
function to verify the current space and subspace are reasonable.
Call for the appropriate pseudo-ops and before instruction parsing.
(pa_check_eof): New function to verify enter/exit and proc/procend
pairs match at EOF.
(pa_code): Simplify.
* config/obj-som.c: Delete #if 0 code.
Wed Nov 23 19:36:09 1994 Steve Chamberlain (sac@jonny.cygnus.com)
* config/obj-coff.h (TARGET_FORMAT): Select between coff-shl and
coff-sh.
* config/sh.mh (TARG_CPU_DEPENDENTS): Get it right.
* config/tc-sh.c (little): New function.
(md_parse_option): Notice new option.
(build_relax, build_Mytes, md_atof, md_convert_frag, md_apply_fix):
Cope with little endian data.
* config/tc-sh.h (COFF_MAGIC, LISTING_HEADER): Endian dependent.
Wed Nov 23 10:54:38 1994 Jeff Law (law@snake.cs.utah.edu)
* config/tc-hppa.c (tc_gen_reloc, ELF variant): Revert last
change. The real bug was in bfd/elfcode.h and has been fixed.
Tue Nov 22 23:31:20 1994 Jeff Law (law@snake.cs.utah.edu)
* config/tc-hppa.c (tc_gen_reloc, ELF variant): Add section->vma
to the relocation's offset.
Tue Nov 22 14:37:58 1994 Steve Chamberlain (sac@jonny.cygnus.com)
* Makefile.in (INSTALL_XFORM): Fix typo.
Tue Nov 22 10:23:25 1994 J.T. Conklin <jtc@rtl.cygnus.com>
* config/tc-alpha.c (s_alpha_set): Ignore the .set (no)move and
.set (no)volatile directives.
Tue Nov 15 21:44:13 1994 Jeff Law (law@snake.cs.utah.edu)
* config/tc-hppa.c (pa_subspace): Make sure to always reset
current_subspace.
(pa_text, pa_data): Likewise.
* config/tc-hppa.c (pa_align): New function. Aligns the current
offset within the current subspace along with updating the
alignment of the subspace itself.
(pa_subspace): Default alignment to one byte rathern than zero
bytes to avoid setting alignment to log2(0).
(md_pseudo_table): Use pa_alignment for .align.
Tue Nov 15 15:24:45 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
* messages.c (as_fatal): Always put a space after "fatal error:"
when printing message.
Tue Nov 15 11:10:43 1994 Jeff Law (law@snake.cs.utah.edu)
* config/tc-hppa.h (obj_frob_symbol): Delete.
(tc_frob_symbol): Make definition conditional on OBJ_SOM or
OBJ_ELF. For ELF subtract out symbol->section->vma for non common
symbols.
Wed Nov 9 14:53:03 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
* config/te-delta.h: New file, derived from te-sysv32.h.
Wed Nov 9 11:52:44 1994 Ian Lance Taylor (ian@cygnus.com)
* config/tc-ppc.c (ppc_bf): Always set coff_line_base.
Mon Nov 7 01:58:49 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
* Makefile.in (VERSION): Bump to 2.5.3.
* configure.in: Compare generic cpu name against "sparc", not
"sparc*", since sparc variants should be changed to "sparc".
* configure: Regenerated with autoconf 2.1.
* config/tc-a29k.c (octal, toHex): Variables deleted.
(isoctal): Macro deleted.
(md_begin): Don't initialize them.
(machine_ip, case 'P'/'A'): For absolute operand, generate an
error message if it's out of range.
(md_apply_fix, case RELOC_JUMPTARG): Check range for PC-relative
jumps.
(md_apply_fix): Delete code inside "#if 0".
Thu Nov 3 20:20:40 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
* config/go32.mh: Unused file deleted.
* read.c (get_absolute_expression): Indicate that the error may
merely be that the expression can't currently be reduced.
Thu Nov 3 16:09:59 1994 J.T. Conklin (jtc@rtl.cygnus.com)
* config/tc-m68k.h (TARGET_FORMAT): If TE_NetBSD define as
"a.out-m68k-netbsd".
* config/tc-sparc.h (TARGET_FORMAT): If TE_NetBSD define as
"a.out-sparc-netbsd".
* config/te-nbsd.h: New file, NetBSD target emulation
* config/te-netbsd.h: Removed.
* configure.in (i[345]86-*-netbsd*,m68*-*-netbsd*,sparc*-*-netbsd*):
Set bfd_gas. Use nbsd emulation.
Thu Nov 3 17:44:47 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
Changes from net 2.5.2 release branch:
* configure.in: Put AC_DEFINE(sparcv9) on its own line, so that
the shell variable settings associated with it are permanent. For
CPUs requiring bfd_gas=yes, select it based on CPU only, not
individual target names. Handle m68k-hp-hpux*, not just -hpux.
* config/tc-z8k.c (tc_coff_symbol_emit_hook): Add dummy argument
to match prototype in obj-coff.h.
* configure.in: Skip tests for defining WANT_FOPEN_BIN and
IBM_COMPILER_SUX.
* acconfig.h: Deleted them.
* configure, conf.in: Rebuild with autoconf 2.0.
* config/go32.cfg, config/vms-conf.h: Updated.
* config/tc-m68k.c (md_apply_fix_2, md_convert_frag_1): Always use
IBM_COMPILER_SUX version of code, with comments indicating why.
* listing.c (file_info): Use text mode when opening file for read.
Use "r" directly, no macro.
* input-file.c (input_file_open): Don't use FOPEN_RT, just use
"r".
* read.c (s_include): Ditto.
* output-file.c (output_file_create): Try both "wb" and "w", don't
bother with FOPEN_* macros.
* as.h: Don't include fopen-*.h.
* config/alpha-opcode.h: Make "ret" with no operands equivalent to
"ret zero,(ra)", to match OSF1 and to be consistent with both
one-operand forms.
Patches from DJ Delorie:
* as.h (alloca): undef alloca before defining it just in case
* config/go32.cfg: new file for autoconf values
* config/te-go32.h: new file
* configure.bat: new for autoconf
* config/tc-i386.c (md_assemble): Fix typo in GOTPC check; had =
for ==.
* configure.in: If target_frag doesn't exist, use /dev/null.
* as.c (parse_args): For non-VMS systems, re-add `v' to
std_shortopts. Add "verbose" to list of long options.
* write.c (adjust_reloc_syms): When generating an absolute section
symbol as a placeholder, don't mark it as used in a relocation
entry, here.
* Makefile.in (comparison): Compare using makefile code from gcc,
stripped down to discard subdir stuff and adapted to give a
non-zero exit status if either file differs.
Thu Nov 3 15:43:02 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
* config/tc-mips.c (load_address): Fix RELAX_ENCODE arguments for
NO_PIC case.
Tue Nov 1 16:10:59 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
* config/tc-mips.c (s_change_sec): If not GPOPT, don't permit
switching to the readonly data section.
* ecoff.c (ecoff_directive_type): Fix warning message.
Sun Oct 30 00:57:35 1994 Jeff Law (law@snake.cs.utah.edu)
* config/tc-hppa.c (pa_proc): Delete disabled code to put each
proc in its own subspace, we're not going to use it.
Tue Oct 25 14:44:33 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
* config/tc-mips.c (macro): Ensure that mips2 case of M_LI_DD in
.rdata does not become a variant frag.
* config/tc-mips.c (mips_cpu): Initialize to -1.
(md_begin): Don't mips_cpu if it was already set.
(md_parse_option): For -mipsN, don't set mips_cpu if it was
already set. For -mcpu=, just set mips_cpu, not mips_isa.
Fri Oct 21 20:42:29 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
* config/tc-mips.c (md_pseudo_table): If OBJ_ELF, handle .section.
(s_elf_section): New static function.
* ecoff.c (ecoff_build_symbols): Don't abort if we don't recognize
the section when setting the storage class; default to sc_Data.
Thu Oct 20 00:43:38 1994 Jeff Law (law@snake.cs.utah.edu)
* config/tc-hppa.c (md_apply_fix): Set new_val to 8 for all
fixups to branch instructions (not just pc-relative ones) which
will generate SOM relocations.
Wed Oct 19 13:41:56 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
* config/tc-a29k.c: Include ctype.h with angle brackets.
(define_some_regs): Add new special register names defined on the
29040.
(parse_operand): Add argument opt. If non-zero, don't warn about
a missing operand.
(machine_ip): If handling argument type 'I', pass opt as non-zero
to parse_operand. Handle new optional operand type 'I'.
(md_undefined_symbol): Handle special register names (srNN).
Tue Oct 18 00:45:24 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* write.c (renumber_sections): New static BFD_ASSEMBLER function.
(write_object_file): Call it after removing gas created sections.
Mon Oct 17 18:06:05 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
* symbols.c (symbol_create): Use udata.p, not just udata.
* config/obj-elf.c (obj_ecoff_set_ext): Likewise.
(elf_get_extr): Likewise.
* read.c (read_a_source_file): The second argument to as_where is
unsigned int *, not int *.
Mon Oct 17 02:26:32 1994 Jeff Law (law@snake.cs.utah.edu)
* config/tc-hppa.c: Eliminate all uses of fx_addnumber.
(tc_gen_reloc): Simplify. It's no longer necessary to set a
reloc's addend field to zero for function symbols.
(md_apply_fix): Simplify. For fixups which will require a SOM
reloc, just clear out the necessary bits in the output file.
Fri Oct 14 19:06:46 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
* Makefile.in (BISON): Use bison -y, not bison.
Thu Oct 13 19:22:54 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
* Makefile.in (VERSION): Updated to 2.5.
(clean-here): Delete stamp-mk.com.
(distclean): Delete .gdbinit.
* Version 2.5 released.
Wed Oct 12 20:30:51 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
* config/te-nbsd532.h: Renamed from te-netbsd532.h.
* configure.in, configure: Adjusted.
Wed Oct 12 16:33:38 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
* config/cplus-dem.c: Removed. It isn't used. Even if it was,
it's better to use the one in libiberty.
Wed Oct 12 18:48:39 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
* symbols.c (resolve_symbol_value, case O_symbol): Undo last
change; it breaks the rs6000 support, and doesn't seem to be
needed.
Wed Oct 12 11:56:50 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
* config/tc-i386.h,te-netbsd532.h (TARGET_FORMAT): Changed to
a.out-<arch>-netbsd to match corresponding changes in BFD.
Wed Oct 12 11:06:11 1994 Ian Lance Taylor (ian@cygnus.com)
* config/tc-ppc.c (ppc_fix_adjustable): Resolve symbol values
rather than explicitly adding the frag address.
* config/obj-coff.c (coff_frob_symbol): Add a zero entry to mark
the end of the line numbers; this replaces the zero entry which
used to be added by coff_add_linesym, removed Oct 7.
(coff_adjust_section_syms): Ignore sections with no seginfo.
Wed Oct 12 01:41:37 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
* Makefile.in (bootstrap, bootstrap2, bootstrap3): Create a
"stage" symlink to the appropriate stage* directory, and use it
instead in the -B options.
(comparison): Revert yesterday's change.
Tue Oct 11 16:48:11 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
* config/tc-sparc.c (tc_gen_reloc): For non-a.out relocations, if
pc-relative, use fx_offset only, ignore address of relocation.
Tue Oct 11 15:24:00 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
* config/tc-mips.c (mips_ip): Don't use S_IS_LOCAL when checking
for an embedded PIC switch expression, since the definition of
S_IS_LOCAL was changed.
Tue Oct 11 15:05:11 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com)
* Makefile.in (comparison): When comparing as.new or gasp.new, try
running the binary through sed to avoid differences due to
"stage1" or "stage2" having been written into the binary.
Sat Oct 8 01:48:04 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com)
ELF symbol size handling, based on code from Eric Youngdale:
* config/obj-elf.h (OBJ_SYMFIELD_TYPE): New macro. Adds an
expression pointer to the symbol structure, used for `size'
expressions that couldn't be reduced to constants when initially
processed.
(elf_frob_symbol): Declare.
(obj_frob_symbol): Call elf_frob_symbol always, rather than
ecoff_frob_symbol only if ECOFF_DEBUGGING defined.
* config/obj-elf.c (obj_symbol_new_hook): Deleted unused code.
Clear sy_obj field.
(obj_elf_size): Deleted unused code. If size is non-reducible
expression, allocate some storage for the sy_obj field and copy
the expression.
(elf_frob_symbol): New function. Computes sizes, calls
ecoff_frob_symbol if appropriate.
* write.c (fixup_segment): For i386 elf and coff (for now), don't
add in value of symbol from another defined section of the file.
Fri Oct 7 17:54:02 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
* config/tc-m88k.h (TC_KEEP_FX_OFFSET): Define.
* config/obj-coff.c (do_relocs_for): Test only TC_KEEP_FX_OFFSET,
rather than both it and TC_M88K.
(coff_adjust_section_syms): New function.
(coff_frob_section): For non-empty sections, create aux entry for
the section symbol, indicating the size.
(n_line_nos): New variable.
(add_lineno): Increment it.
(coff_add_linesym): Increment n_line_nos, don't call add_lineno.
(coff_frob_file): New function; map coff_adjust_section_syms over
sections.
(obj_coff_line): Only reset line_base for .bf symbols.
* config/obj-coff.h (coff_adjust_section_syms, coff_frob_file):
Declare.
(obj_frob_file): New macro.
* config/obj-coff.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Renamed from
obj_frob_forward_symbol, and rewritten for new parameter list.
Mon Oct 3 21:02:38 1994 Pat Rankin (rankin@eql.caltech.edu)
* config/obj-vms.h (S_IS_LOCAL): fix obsolete flagseen[] reference.
Wed Oct 5 11:49:26 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
* config/obj-ecoff.c (obj_pseudo_table): Accept .esize and .etype
as synonyms for .size and .type.
Wed Oct 5 00:08:10 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* config/obj-coff.c (coff_frob_section): Remove assert about
section alignment.
* config/tc-sparc.c (md_section_align): Use section alignment, not
xvec align_power_min field.
Fri Sep 30 19:05:20 1994 Pat Rankin (rankin@eql.caltech.edu)
* vmsconf.sh (make-gas.com): handle DCL verification to enable
sensible feedback to the user while gas is being built.
Fri Sep 30 16:23:31 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
* Makefile.in (DISTSTUFF): New variable, listing only make-gas.com
for now.
(diststuff): New target; builds DISTSTUFF.
(realclean): Separate target, depend on clean and distclean, then
delete DISTSTUFF.
* make-gas.com: Deleted.
* config/tc-i386.c (i386_validate_fix) [BFD_ASSEMBLER]: New
function. Converts reloc for "foo-GOT" to BFD_RELOC_386_GOTOFF
reloc for "foo".
(i386_operand): Don't look up section symbol for
undefined_section.
(reloc): Always permit return of 8- and 16-bit relocation types.
Add a space after "pc-relative" in the error message.
(tc_i386_fix_adjustable) [BFD_ASSEMBLER]: Reject
BFD_RELOC_386_GOTOFF relocs.
(i386_operand): For any GOTOFF reloc, convert it to a BFD_RELOC_32
with a "foo-GOT" value.
* config/tc-i386.h (i386_validate_fix): Declare it.
(TC_VALIDATE_FIX): New macro -- call it.
(NOP_OPCODE): Cast to `char' to avoid compiler warnings.
* as.h: If __STDC__ is not defined and varargs.h is available, use
it rather than stdarg.h.
* write.h (struct fix): Added new bitfield fx_plt, for fixups
referring to PLT entries.
* write.c (fix_new_internal): Initialize fx_plt to zero.
(adjust_reloc_syms): Re-fetch `sym' after top of reduction loop.
Don't adjust fx_offset by frag address, since S_GET_VALUE now
includes the frag address.
(fixup_segment): Changed local var PCREL to type int, added PLT.
If PC-relative fixup refers to a PLT entry for a symbol in the
current section, don't reduce it.
* write.c (adjust_reloc_syms): Exit loop through a label. If
DEBUG5 is defined, print out each fixup before and after
processing.
(fixup_segment): If DEBUG5 is defined, print out each fixup before
and after processing.
(print_fixup): Added prototype. Show address on first line. Show
fx_offset and fx_subsy. [!BFD_ASSEMBLER]: Only show fx_r_type if
NEED_FX_R_TYPE is defined.
* symbols.c (print_symbol_value_1): Check S_IS_LOCAL, S_IS_EXTERN,
S_IS_DEBUG, S_IS_DEFINED also.
Thu Sep 29 18:57:06 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
* Makefile.in (all): Depend on .gdbinit.
(.gdbinit): Rebuild from gdbinit.in by running config.status.
* gdbinit.in: Define new function "pf". Fix doc on "pe" and "ps".
* write.c (print_fixup): Print source location on first line.
Show fx_r_type and fx_addsy fields.
Wed Sep 28 14:56:39 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
* configure.in: Set bfd_gas for all sparc targets in one place,
instead of separately for each. Correctly handle user-supplied
"--enable-bfd-gas" option.
* gdbinit.in: Move "break abort" to end, in case gdb complains.
* as.h (PRINTF_WHERE_LIKE, PRINT_LIKE) [USE_STDARG, !__GNUC__]:
Use PARAMS macro.
* symbols.c (resolve_symbol_value, case O_symbol): Don't do any
processing if add_symbol is undefined or in expr_section.
(resolve_symbol_value, case O_add): For symbol plus
constant-valued symbol, convert to O_symbol and re-reduce.
(S_GET_VALUE): If symbol needs resolving, resolve it.
(indent_level): No longer static.
(print_symbol_value_1): Don't print frag address if it matches
zero_address_frag. Don't print "resolving" if already resolved.
Print segment name. Don't call print_expr_1 on an undefined
symbol.
(print_expr_1): Fix whitespace before printing X_add_number.
* expr.c (make_expr_symbol): No longer static. Use symbol_create,
not symbol_new, for symbols holding expression values.
* expr.h (make_expr_symbol): Move declaration here.
* write.c (fix_new_exp): Handle O_add by creating an
expression-valued symbol, and calling fix_new_exp recursively.
(adjust_reloc_syms): If a fixup's symbol value is a sum of an
undefined symbol and a constant, fold the constant into the fixup,
and refer to the undefined symbol directly. Then process the
fixup again from scratch.
(write_object_file): Before calling adjust_reloc_syms, make a pass
through the symbol list trying to resolve values.
* write.c (print_fixup): New routine, for debugging.
(write_relocs): Call bfd_install_relocation. Deleted various
hacks for working around problems with bfd_perform_relocation.
* Makefile.in (VERSION): Update to 2.4.90.
Wed Sep 28 11:50:40 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
* Makefile.in (gasp.o): Depends upon config.h.
* config/tc-mips.c: Include subsegs.h.
(md_apply_fix): If an unconditional b or bal overflows, and we are
not assembling PIC code, replace it with a j or jal.
* config/tc-mips.c (md_apply_fix): Correct branch overflow test.
Use as_bad_where and as_warn_where rather than as_bad and as_warn.
Mon Sep 26 17:15:59 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
* write.c (write_relocs): Add file name and line number to
as_fatal calls. Handle bfd_reloc_overflow case specifically when
RELOC_EXPANSION_POSSIBLE.
Fri Sep 23 16:11:28 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
* as.h (USE_STDARG, USE_VARARGS): Define one or neither of these
here. Use them for deciding which PRINTF*LIKE macro definitions
to use.
* messages.c: Use them, instead of NO_STDARG, NO_VARARGS.
[!USE_STDARG && !USE_VARARGS] (va_alist, va_dcl, ...): Provide
default definitions matching what we were doing before.
(as_tsktsk): Remove the non-stdarg, non-varargs version, and
always use the varargs form if not using stdarg. It's safe to
always use vfprintf, because libiberty will provide it if the
native system doesn't. Also, always make format be const.
(as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
Fri Sep 23 14:42:34 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
* config/tc-mips.c (load_register): Always use addiu when adding a
constant to $zero--no need to use daddiu.
(macro): Hack the -mips3 overflow tests to not fail when offsetT
is only 32 bits.
* symbols.h (copy_symbol_attributes): Declare.
Thu Sep 22 21:58:24 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
* listing.c: Bugfixes based in part on patches from Paul
Kranenburg.
(listing_newline): Check filename as well as line number when
deciding whether to record it.
(list_symbol_table) [S_IS_REGISTER]: Check that S_IS_REGISTER is
false (if defined) as well as checking for reg_section.
(listing_listing): Iterate fetching lines while line number is too
low, and we haven't run off the end of the input file.
* config/vms-conf.h: Changed HAVE_DELETE to HAVE_REMOVE.
Thu Sep 22 13:39:10 1994 Kung Hsu (kung@x1.cygnus.com)
* ecoff.c (ecoff_generate_asm_lineno): check if
current_stabs_filename is NULL before strcmp.
* read.c (read_a_source_file): fix a bug in generate_asm_lineno
checking.
Wed Sep 21 18:17:35 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
* config/ho-*.h: Now-unused files deleted.
* symbols.c (copy_symbol_attributes): New function. Copies BFD
symbol flags and calls OBJ_COPY_SYMBOL_ATTRIBUTES.
(resolve_symbol_value, case O_symbol): Call it, if X_add_number is
zero. Don't call obj_frob_forward_symbol.
* read.c (pseudo_set): Call copy_symbol_attributes, but only if
X_add_number is zero.
* config/obj-elf.h (obj_frob_forward_symbol): Deleted.
* config/tc-i960.c: Lots of whitespace, comment reformatting,
using GNU indent.
(strchr): Don't declare.
[BFD_ASSEMBLER]: Don't compile md_convert_frag,
md_estimate_size_before_relax, md_ri_to_chars,
md_create_short_jump, md_create_long_jump.
(brtab_emit): Use data_section, not SEG_DATA.
Mon Sep 19 17:14:44 1994 Pat Rankin (rankin@eql.caltech.edu)
* config/vms-conf.h: new file, manually derived from conf.in.
* config-gas.com: use it, and eliminate obsolete "host.h".
Wed Sep 21 11:11:30 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
* config/tc-ppc.c (ppc_current_block): New static variable.
(ppc_stabx): Set sy_tc.within of a C_STSYM symbol to
ppc_current_block. Don't move around any stab symbol, just those
for common symbols.
(ppc_bs): Set ppc_current_block.
(ppc_es): Clear ppc_current_block.
(ppc_frob_symbol): Set the value of a C_STSYM symbol to the offset
from the csect of the enclosing block.
* config/tc-mips.c (insns_since_cache_access): Remove.
(append_insn): Remove setting of insns_since_cache_access, and
special 4600 handling; it turns out not to be required.
Tue Sep 20 16:13:18 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
* config/tc-mips.c (md_shortopts): Remove E.
(md_longopts): Add EB and EL.
(md_parse_option): Handle -EB and -EL as separate options, rather
than as a single -E option with an argument.
Mon Sep 19 12:42:05 1994 Jeff Law (law@snake.cs.utah.edu)
* config/tc-hppa.c (hppa_fix_adjustable): Reject reductions
involving global symbols too.
Mon Sep 19 12:12:46 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
* as.h: Test NEED_DECLARATION_*, not NEED_*_DECLARATION.
* configure.in: Test for remove, not delete. Fix cross-assembler
test.
* as.h: Test HAVE_REMOVE, not HAVE_DELETE; define unlink to
remove, not delete.
* read.c (pseudo_set, case O_symbol): If
OBJ_COPY_SYMBOL_ATTRIBUTES is defined, invoke it.
[BFD_ASSEMBLER]: Copy BSF_FUNCTION setting too.
* config/obj-elf.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Define.
Wed Aug 10 19:15:30 1994 Pat Rankin (rankin@eql.caltech.edu)
* config/obj-vms.h (DSG_S_C_UBITU, DST_K_VFLAGS_DSC, DST_K_TS_ATOM,
many others): new macros; values obtained from "DSTRECRDS.SDL".
* config/obj-vms.h (various): use them.
(USE_BITSTRING_DESCRIPTOR): new macro, for selecting bitfield
representation (only enum bitfields can avoid being bitstrings).
(bitfield_suffix, setup_basic_type): new routines.
(VMS_typedef_parse): use them. Now recognize bitfields of all
integral types, not just type `int'. Caveat: the representation
used for bitfields still does not work for objects placed in
registers, and gcc's optimizer sometimes puts small structs there.
Tue Jun 14 17:31:44 1994 Pat Rankin (rankin@eql.caltech.edu)
* read.c (s_text) [#if OBJ_VMS]: clear the IN_DEFAULT_SECTION
bit from const_flag.
* config/obj-vms.h (IN_DEFAULT_SECTION): define this macro.
(tc_frob_label): define this to call vms_check_for_special_label,
and declare the latter.
* config/obj-vms.c (vax_g_doubles): declare this file-scope
variable.
(const_flag): initialize to IN_DEFAULT_SECTION instead of 0.
(vms_check_for_special_label): new routine (tc_frob_label).
(VMS_TBT_Routine_End): don't bother checking for `gcc_compiled.'
and `gcc2_compiled.' labels; they won't reach here any more.
(VMS_typedef_parse) [case 'r']: for types `double' and `complex
double', use `vax_g_doubles' flag to select type of double.
(VMS_write_object_file) [traceback setup]: don't pass symbols
with the IN_DEFAULT_SECTION attribute to the TBT_Routine_Begin
and TBT_Routine_End functions.
Mon Jun 6 20:52:20 1994 Pat Rankin (rankin@eql.caltech.edu)
* config/obj-vms.c (VMS_TBT_Routine_End): cache the result of
S_GET_VALUE() to avoid many repeated function calls.
(VMS_Check_For_Main) [#if HACK_DEC_C_STARTUP]: capitalize
_C$MAIN_ARGS in advance, in case -h3 (leave symbol name as-is)
gets requested. [All the HACK_DEC_C_STARTUP code appears to
be obsolete; gcc does it automatically for vms target. It's
also misnamed, because it is for the "VAX C" run-time library,
not the newer "DEC C" one which has much different startup code.]
{various}: use `S_SET_xxx(symbol,new_value)' rather than
`S_GET_xxx(symbol) = new_value'.
Mon Sep 19 12:05:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
* config/obj-coff.c (c_dot_file_symbol): Use bfd_abs_section_ptr,
not &bfd_abs_section.
Thu Sep 15 18:36:34 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
* expr.c (clean_up_expression): Use addressT, not bfd_vma.
Tue Sep 13 20:05:47 1994 Jeff Law (law@snake.cs.utah.edu)
* expr.c (expr): Don't reduce the difference of two symbols in the
same frag if the symbols are not in normal sections.
* config/obj-som.h (S_SET_OTHER, S_SET_TYPE): Delete a.out crud.
(S_SET_DESC, S_GET_OTHER, S_GET_TYPE, S_GET_DESC): Likewise.
(obj_attach_unwind_info): Do not define. Not needed anymore.
* config/tc-hppa.c: Delete whitespace at EOL.
(struct hppa_fix_struct): Delete fx_unwind field and all references.
(fix_new_hppa): Last arg is now a pointer to an int. Do not
call obj_attach_unwind_info anymore. For SOM R_ENTRY and R_EXIT
fixups, store 32bits of unwind information in the fx_addnumber
field of the fixup.
(md_assemble, pa_entry, process_exit, pa_procend): For SOM R_ENTRY
and R_EXIT fixups, pass a NULL pointer to fix_new_hppa, and a
pointer to 32 bits of unwind info.
(tc_gen_reloc): For SOM R_ENTRY and R_EXIT fixups, set the symbol
pointer to the dummy symbol; set the addend field to fx_addnumber.
(pa_comm, pa_equ, pa_type_args, pa_import): Use bfd_XXX_section_ptr
rather than &bfd_XXX_section.
Tue Sep 13 21:15:36 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
* config/tc-i386.c (md_apply_fix_1): For GOTPC relocs, decrement
value by one; discard adjustments previously being made. From
Eric Youngdale.
VMS- and Vax-related changes from Pat Rankin:
* Makefile.in (VMS_OTHER_OBJS): add concat, getopt, and getopt1.
* vmsconf.sh: no longer have make-gas.com echo text about needing
to modify the gcc-vms driver when intending to use with gcc 1.x.
* as.c (parse_options): suppress 'v' from std_short_options and
eliminate VMS-specific conditional initialization;
[default case]: check for '-v' if md_parse_options doesn't recognize
an option;
[default case, #if VMS]: check for filename argument when '-v' seen;
[case 'v']: delete.
* config/tc-vax.c (md_assemble): don't rely on `this_add_number'
for O_big literal operands (double floats and long long ints);
[VMS, md_shortopts]: add second colon after 'v';
(md_parse_options) [VMS, case 'v']: check for argument, so
caller can handle `-v' w/o arg.
Tue Sep 13 16:45:08 1994 Steve Chamberlain (sac@jonny.cygnus.com)
* config/obj-coff.c (do_relocs_for): If TC_KEEP_FX_OFFSET
is defined, put the tx_offset into the r_offset.
* config/tc-sh.c (line_comment_chars): Add #
(tc_reloc_mangle): Deleted.
* config/tc-sh.h (TC_KEEP_FX_OFFSET): Define.
(TC_RELOC_MANGLE): Delete.
Tue Sep 13 16:20:36 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
* flonum-konst.c: Change preprocessor tests of HO_VMS to just VMS.
* hex-value.c: Ditto.
* config/obj-vms.c: Ditto.
* config/tc-sparc.c (sparc_ip): Replace as_bad/exit sequence with
a call to as_fatal.
* config/tc-i860.c (i860_ip): Ditto.
* config/tc-hppa.c (pa_ip): Ditto.
* config/tc-alpha.c (alpha_ip): Ditto.
* as.c (parse_args): Ditto.
* config/tc-mips.c (mips_ip): Replace as_warn/exit sequence with a
call to as_fatal.
* write.c (write_contents): Use EXIT_FAILURE.
* output-file.c (output_file_create, output_file_close,
output_file_create, output_file_close): Ditto.
* messages.c (as_fatal): Ditto.
* config/obj-som.c (obj_som_version, obj_som_copyright): Ditto.
* config/obj-ieee.c (write_object_file): Ditto.
* config/obj-coff.c (write_object_file): Ditto.
* config/tc-vax.c (main): Use EXIT_SUCCESS.
* config/tc-m68k.c (main): Ditto.
* hash.c (main): Pass a value to exit().
* as.h (EXIT_SUCCESS, EXIT_FAILURE): Moved here.
* as.c: ...from here.
(parse_args): Use them always.
(main): Use exit rather than return.
* Makefile.in (*_FOR_TARGET, INSTALL_XFORM, install, uninstall):
Rewrite handling of program_transform_name.
* configure.in: Test for functions unlink and delete.
* as.h: If unlink isn't available but delete is, define unlink to
be delete.
Update for autoconf 1.118:
* gdbinit.in: New file, created from old .gdbinit.
* .gdbinit: Deleted.
* aclocal.m4 (GAS_GDBINIT): Deleted.
* configure.in: Don't use it. Instead, generate .gdbinit from
gdbinit.in. Don't substitute cpu_type, obj_format, emulation,
atof. Switched order of AC_LINK_FILES arguments. Use AC_PREREQ
to ensure that older versions of autoconf aren't used.
* Makefile.in: Added @configure_input@ line.
(configure): Deleted rule.
Tue Sep 13 12:08:20 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
* config/obj-coff.c (fixup_segment): After handling the difference
of two symbols from the same segment, set fx_subsy to NULL, to
satisfy existing TC_COUNT_RELOC macros.
Tue Sep 13 01:47:08 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
* aclocal.m4 (GAS_GDBINIT): New macro.
* configure.in: Use it.
* configure: Regenerated.
Mon Sep 12 20:56:38 1994 Ken Raeburn (raeburn@kr-laptop.cygnus.com)
* .gdbinit (pe, ps): Define new commands.
* symbols.c (indent_level): New static variable.
(indent, print_expr_1, print_symbol_value_1, print_symbol_value,
print_expr): New functions.
* Makefile.in (config-stamp): Add a "this file generated by make"
message to config.h.
PIC implementation for i386-linux, based on code from Eric
Youngdale and Paul Kranenburg, with some work of my own:
* write.c (fixup_segment): Test TC_RELOC_RTSYM_LOC_FIXUP on fixup
before processing same-section pcrel relocations.
(TC_RELOC_RTSYM_LOC_FIXUP): Default to 1.
* expr.c (make_expr_symbol): If operator is O_symbol and
X_add_number is zero, just return the symbol. If operator is
O_constant, resolve the symbol's value before returning.
(operand): Permit use of "[]" for grouping.
(clean_up_expression): For difference of two symbols in the same
frag, add the difference of their offsets into X_add_number.
(expr): Reduce difference of two symbols in same frag to their
difference.
* config/tc-i386.c (TC_RELOC): New macro.
(struct _i386_insn): New field disp_reloc.
(GOT_symbol): New variable.
(operand_special_chars): Added square-brackets and at-sign.
(reloc) [BFD_ASSEMBLER]: Added new argument OTHER; if it is not
NO_RELOC, just return it.
(reloc) [! BFD_ASSEMBLER]: Add third argument to dummy macro.
(BFD_RELOC_386_PLT32, _GOT32, _GOTOFF) [! BFD_ASSEMBLER]: More
dummy macros.
(tc_i386_fix_adjustable): New function. Returns zero if symbol in
fixup is not local, to prevent relocations against externals from
being dropped.
(md_assemble): Initialize disp_reloc field to NO_RELOC. Pass
disp_reloc field to reloc() function, and use TC_RELOC to generate
value to pass to fix_new_exp.
(md_assemble): Change 32-bit reloc against GOT_symbol into a GOTPC
reloc.
(i386_operand): Initialize disp_reloc field to NO_RELOC. Handle
@GOTOFF, @PLT, @GOT operands. For GOTOFF relocations with local
symbols, force generation of the section symbol.
(md_estimate_size_before_relax): If GOT_symbol exists, decide
we're generating PIC code, and convert relocations against
undefined symbols from PCREL to PLT32.
(md_apply_fix_1) [OBJ_ELF]: Fix up values for dynamic-linking
relocs.
(md_undefined_symbol): Notice GLOBAL_OFFSET_TABLE_NAME and set
and return GOT_symbol if it matches.
(F, MAP): Move macro definitions outside function.
(tc_gen_reloc): Only switch on size and pcrel if code wasn't
already supplied as PLT32. GOT32, GOTOFF, or GOTPC. Convert
BFD_RELOC_32 using GOT_symbol into GOTPC.
* config/tc-i386.h (TC_RELOC, tc_fix_adjustable,
TC_RELOC_GLOBAL_OFFSET_TABLE, TC_RELOC_RTSYM_LOC_FIXUP): New
macros.
(NEED_FX_R_TYPE): Define.
(LOCAL_LABEL): Accept ".X" prefix too.
(GLOBAL_OFFSET_TABLE_NAME): Default to "_GLOBAL_OFFSET_TABLE_".
Mon Sep 12 17:51:39 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
* config/obj-elf.c (obj_elf_type): Rewrite to accept syntax
reportedly to be used on Irix 6.
* config/tc-mips.c (md_pseudo_table): Handle .globl and .global.
(s_mips_globl): New static function; needed for Irix 5 support.
* ecoff.c (ecoff_build_symbols): If BSF_FUNCTION is set for an
external symbol with no type, set the type to st_Proc rather than
st_Global. Don't set the index of an external st_Proc or
st_StaticProc symbol unless it is also a local symbol.
* read.c (read_a_source_file): The second argument to as_where is
unsigned int *, not int *.
Thu Sep 8 17:18:24 1994 Kung Hsu (kung@mexican.cygnus.com)
* config/obj-ecoff.h : Change names to OBJ_GENERATE_ASM_LINENO,
and generate_asm_lineno.
* config/obj-elf.h : ditto.
* read.h : ditto.
* read.c (read_a_source_file): if no file when inst is read, set
generate_asm_lineno to true.
* ecoff.h : change name to generate_asm_lineno and add function
ecoff_no_current_file.
* ecoff.c : change name to generate_asm_lineno.
* ecoff.c (ecoff_generate_asm_lineno) : new function, to generate
ecoff style line for asm file.
Thu Sep 8 19:43:49 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
* config/obj-coff.c (size_section): Do an fprintf to stderr rather
than a printf.
(fixup_segment): Use as_bad_where rather than as_bad.
Wed Sep 7 17:21:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
* config/tc-{h8300,sh}.[ch] (tc_coff_symbol_emit): Function doing
nothing becomes macro doing nothing.
Wed Sep 7 19:10:09 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
* Makefile.in (Makefile): Depend on config.status.
(config.status): Run config.status from . instead of srcdir.
* config/tc-i386.c (tc_gen_reloc): Use bfd_get_reloc_code_name to
display the name of the relocation type that couldn't be handled.
* config/tc-sparc.c (tc_gen_reloc): Likewise.
* config/tc-alpha.c (tc_gen_reloc): Likewise. Deleted abort call
after call to as_fatal.
* configure.in (i386-*-linux*): Don't set bfd_gas.
* Makefile.in (CC_FOR_TARGET, NM_FOR_TARGET, OBJDUMP_FOR_TARGET,
install, uninstall): Don't use "brokensed" hack any more, the new
autoconf code should never let program_transform_name be empty.
Update for autoconf beta 1.112:
* aclocal.m4 (GAS_CHECK_DECL_NEEDED, GAS_WORKING_ASSERT): New
macros.
* configure.in: Use them. Use AC_ARG_PROGRAM (now provided by
autoconf) instead of my hacked-up AC_PROGRAM_TRANSFORM_NAME. Move
test for CROSS_COMPILE just before AC_FUNC_ALLOCA, and emit a
message to try to ease confusion about autoconf's
"cross-compiling" message.
* acconfig.h (NEED_DECLARATION_MALLOC, NEED_DECLARATION_FREE,
NEED_DECLARATION_ERRNO): Renamed from NEED_*_DECLARATION.
* configure, conf.in: Regenerated.
Wed Sep 7 12:49:55 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
* configure.in: Check ${host} and ${target} rather than
${host_canon} and ${target_canon}.
* configure: Likewise.
Tue Sep 6 11:42:38 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
* config/tc-mips.c (mips_cpu): New static variable.
(insns_since_cache_access): New static variable.
(md_begin): Set mips_cpu as well as mips_isa.
(append_insn): If mips_cpu is 4600, require four nop instructions
between an instruction which accesses the cache and certain CACHE
instructions. Keep track of the number of instructions seen since
an instruction which accesses the cache.
(md_parse_option): Set mips_cpu as well as mips_isa.
Mon Sep 5 07:09:00 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com)
* doc/Makefile.in (VPATH): Define using @srcdir@.
(prefix, program_transform_name, exec_prefix): Use autoconf style
@-substitutions.
Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
* config/ho-riscix.h, config/tc-arm.c, config/tc-arm.h: New files
* configure.in: Recognize the arm.
Fri Sep 2 16:05:50 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
* ecoff.c (add_file): Don't try to generate line numbers if the
symbol table has been frozen.
Thu Sep 1 19:48:01 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
* aclocal.m4 (AC_PROG_CC): Use AC_DEFUN, and omit AC_PROVIDE.
* configure.in: Handle user-specified bfd-assembler option with
separate variable from preferred configuration, until the two are
resolved. Indicate bfd_gas=preferred for linux a.out. Use
AC_PROGRAM_TRANSFORM_NAME, for which a patch has been sent to djm.
* Makefile.in (target_alias, program_transform_name): Define,
using autoconf @-substitutions.
Wed Aug 31 17:43:06 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
* atof-generic.c: Deleted alloca handling here.
* Makefile.in (prefix, exec_prefix): Use @-subtitutions.
* aclocal.m4 (AC_OUTPUT_LINKS): Deleted redefinition, since
autoconf 1.109 has this fixed.
* configure.in: Don't change quote characters around AC_MSG_ERROR
invocation. Don't use AC_HEADER_STDC, since it requires running a
program. Cache NEED_*_DECLARATION values.
* configure, conf.in: Regenerated with a modified autoconf 1.109.
* as.h (volatile): Don't test or define here; not needed.
(alloca): Replace alloca-conf.h inclusion with code recommended in
autoconf documentation. Include config.h first.
Wed Aug 31 11:20:48 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
* config/obj-coff.h (S_IS_DEFINED): Absolute symbols are defined
also.
* configure.in, configure: Initialize bfd_gas to no.
Tue Aug 30 19:31:14 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
* as.h: Include alloca-conf.h from "libiberty", not
"../libiberty".
Mon Aug 29 16:11:30 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
* config/tc-ppc.c (md_apply_fix): Don't generate a reloc when a
symbol is used as an offset into a CSECT that is not a TOC. These
types of loads are generated by gcc -mminimal-toc.
Sun Aug 28 13:22:52 1994 Ken Raeburn (raeburn@rtl.cygnus.com)
* as.h (flag_*): Added comments describing meanings of some of
these variables.
(struct frag): Add some comments about the ns32k-specific fields
and why they're here.
(SIZEOF_STRUCT_FRAG): Cast addresses to char*, not int.
(flag_print_statistics): Declare.
* as.c (parse_args): Set flag_print_statistics instead of
statistics_flag. Options array is now const. Added new option
"dump-config"; if specified, print TARGET_ALIAS, TARGET_CANONICAL,
TARGET_CPU, TARGET_OBJ_FORMAT, and TARGET_FORMAT, if defined.
(main): Change test to check flag_print_statistics.
(statistics_flag): Deleted.
* frags.c (frag_variant): Removed PCREL_ADJUST and BSR arguments.
Always initialize them to zero.
* frags.h (frag_variant): Fixed prototype.
* config/tc-i960.c (get_cdisp): Don't pass the extra zero args.
* config/tc-ns32k.c (convert_iif): Don't pass the arguments; cache
the value of frag_now and fill in the fields later.
* Makefile.in (distclean, realclean): Remove new
configure-generated files.
Sat Aug 27 20:26:12 1994 Ken Raeburn (raeburn@kr-laptop.cygnus.com)
Conversion to autoconf:
* acconfig.h, aclocal.m4: New files.
* configure.in: Rewritten (except for some target-specific code)
for autoconf.
* conf.in, configure: New files, generated from the above.
* Makefile.in: Changed magic sequence indicating insertion of
makefile fragments.
(VPATH, srcdir, CC, LIBS, OBJS dependencies): Use @-substitutions
from configure.
(LINKED_HEADERS): Deleted a.out.gnu.h, a.out.h, and host.h.
(config.status, configure): Rewrite rules.
(config-stamp): Depend on conf. Skip variables that configure is
now substituting itself.
(*.o dependencies): Deleted host.h.
(distclean, realclean): Don't delete host.h.
* as.c: Don't include stdio.h, string.h, sys/types.h. Include
signal.h after as.h.
* as.h: Include alloca-conf.h first. Include ctype.h, string.h,
strings.h, stdlib.h, unistd.h, sys/types.h, fopen-bin.h,
fopen-same.h, as suggested by autoconf test results.
[BROKEN_ASSERT]: Don't include assert.h.
(strdup): Declare.
(volatile, const): Define if not __STDC__ and not already defined.
(malloc, realloc) [NEED_MALLOC_DECLARATION]: Declare.
(free) [NEED_FREE_DECLARATION]: Declare.
* gasp.c: Include config.h, stdlib.h (if HAVE_STDLIB_H). Don't
include host.h.
(malloc) [NEED_MALLOC_DECLARATION]: Declare.
* messages.c: Include as.h first. Include errno.h only if
HAVE_ERRNO_H. If HAVE_VARARGS_H and not __STDC__, undefine
HAVE_STDARG_H. Set NO_STDARG and NO_VARARGS as appropriate.
* doc/Makefile.in (srcdir, INSTALL, INSTALL_PROGRAM,
INSTALL_DATA): Use autoconf @-substitutions.
* input-file.c: Don't include assert.h here, 'cause as.h already
includes it.
* config/tc-alpha.c: Added various prototypes for static
functions.
(in_range): New function, tests whether a value can fit in an
N-bit field.
(build_mem, build_operate_n): New functions for constructing
opcode values.
(emit_sll_n, emit_ldah_num, emit_addq_r, emit_lda_n): New
functions for emitting single instructions, no longer requiring a
recursive call to md_assemble.
(emit_add64): New function for expanding a REG:=REG+CONST
operation into one or more instructions, to handle wide constants.
(clear_insn): New variable.
(md_begin): Fill it in with zeros and BFD_RELOC_NONE values.
(alpha_ip): Use it to initialize local variable insns.
(alpha_ip, label "immediate" and cases 'P', 'G'): Use emit_add64
for calculations.
Fri Aug 26 14:46:15 1994 Ken Raeburn (raeburn@kr-laptop.cygnus.com)
* subsegs.c (section_symbol): Reverse still-wrong test of
EMIT_SECTION_SYMBOLS.
* write.c (BFD_FAST_SECTION_FILL): Always define.
(write_contents): If fill_size is 1, use memset instead of looping
calling memcpy.
Wed Aug 24 12:46:08 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
* config/tc-mips.h (LOCAL_LABEL): Define as 0, for compatibility
with native MIPS assembler.
* configure.in (mips-*-irix*): Don't set emulation.
* config/te-irix.h: Remove.
* ecoff.c (ecoff_symbol_new_hook): Don't add a new file if we
haven't seen any input files yet.
* config/tc-alpha.c (md_begin): Just call symbol_create, rather
than calling symbol_new and then removing the symbol from the
list.
* as.c (main): Move a inside the #if 0 block which uses it.
* ecoff.c (current_stabs_filename): Make const.
* frags.h (frag_align_pattern): Declare.
* gasp.c (new_file): Cast isp to long, and use %ld to print it.
* config/tc-alpha.h (md_operand): Add cast to void.
(alpha_do_align): Declare argument types.
(tc_get_register): Declare.
(alpha_frob_ecoff_data): Declare.
* config/tc-alpha.c: Include <ctype.h>.
(s_mask): Don't declare; does not exist.
(line_comment_chars): Remove /* from descriptive comment.
(tc_get_register): Remove unused local reg.
(tc_gen_reloc): Don't bother to compare unsigned to zero.
(s_base): Correct warning to actually print register number.
(md_begin): Remove unused locals retval, lose, and i.
(alpha_fix_adjustable): Move default case inside switch to avoid
warning.
(load_symbol_address): Remove unused locals reloc_addr, p, sym,
and addend.
(emit_byte_manip_r): Declare types for all arguments.
(emit_extract_r, emit_insert_r, emit_mask_r): Likewise.
(emit_sign_extend, emit_bis_r, s_proc): Likewise.
(alpha_ip): Use sprint_value to print offsetT value. Remove
unused local size. Remove unused label get_macro.
(alpha_do_align): Make fill const.
(md_apply_fix): Remove unused label check_zov.
* configure.in: Recognize i586 as a synonym for i[34]86.
Tue Aug 23 12:32:14 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
* config/obj-coff.c (c_line_new): Change line_number argument from
unsigned short to int so that the type in the prototype matches
the promoted type in the definition.
(stack_delete): Comment out; not used.
* config/obj-coff.h (tc_coff_symbol_emit_hook): Declare if not
BFD_ASSEMBLER, not if BFD_ASSEMBLER. Declare argument type.
* config/tc-m68k.h (tc_coff_sizemachdep): Declare.
* config/tc-m68k.c (tc_coff_symbol_emit_hook): Add ignored
argument.
Tue Aug 16 01:48:20 1994 Jeff Law (law@snake.cs.utah.edu)
* gas/config/tc-hppa.c (pa_comm): Undo last change. Set sy_frag for
the common symbol to the zero address frag (the correct fix).
Tue Aug 16 01:48:20 1994 Jeff Law (law@snake.cs.utah.edu)
* gas/config/tc-hppa.c (pa_comm): Undo last change. Set sy_frag for
the common symbol to the zero address frag (the correct fix).
* config/tc-hppa.c (pa_comm): Set sy_resolved for the common
symbol.
Fri Aug 12 17:51:48 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
* config/tc-mips.c (md_begin): Drop "el" from the end of
TARGET_CPU. Check for mips64orion.
Tue Aug 9 19:43:45 1994 Stu Grossman (grossman@cygnus.com)
* configure.in: Recognize ppc-*-netware.
* config/te-ppcnw.h: New file to support Power-PC/Netware
configurations. Currently, it just enables the use of backslash
escapes in string directives.
Tue Aug 9 11:12:13 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
* config/tc-ppc.c (ppc_stabx): Call expression directly, rather
than via pseudo_set. If expression is a symbol, move stab symbol
to just after symbol from expression.
* ecoff.c (ecoff_build_procs): Don't force adr of first fdr to be
zero. Undoes change of June 4, 1993.
* config/tc-mips.c (md_parse_option): Accept -mcpu=4400, 4600, and
orion.
Mon Aug 8 16:28:08 1994 Steve Chamberlain (sac@jonny.cygnus.com)
* as.h: Remove FOPEN_WB patch of Aug 6.
* configure.in: Configure for ho-go32 correctly.
* config/ho-go32.h: Fix copyright.
Mon Aug 8 11:59:51 1994 Jeff Law (law@snake.cs.utah.edu)
* gas/config/tc-hppa.c (md_pseudo_table): Delete redundant
upper-case versions of the pseudo-ops.
Mon Aug 8 13:42:16 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
* config/tc-sparc.c (md_apply_fix): If we are going to generate a
non PC relative reloc, don't put the addend in the object file.
Sat Aug 6 01:15:02 1994 Steve Chamberlain (sac@jonny.cygnus.com)
* as.h: If FOPEN_WB is not defined, do the right thing in a go32
environment.
Mon Jul 11 11:34:52 1994 Steve Chamberlain (sac@jonny.cygnus.com)
* config/tc-h8300.c (pint): New function for handling varying
size of int pseudo op.
* doc/as.texinfo: Fix typo describing .h8300h pseduop.
Mon Aug 1 02:40:43 1994 Jeff Law (law@snake.cs.utah.edu)
* config/tc-hppa.c (create_new_space): Initialize sd_subspaces
field in the space chain.
* config/tc-hppa.c (tc_gen_reloc): Cast return value from
hppa_gen_reloc_type.
Thu Jul 28 15:45:37 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
* config/tc-sparc.c (sparc_ip): Check more carefully for
conflicting architectures.
(md_parse_option) [NO_V9]: Complain if v9 was selected.
(md_show_usage): Derive architecture list in usage message from
architecture_pname array.
(cypress): Macro deleted.
(op_hash): Don't initialize.
(s_common): Use bfd_und_section_ptr instead of bfd_und_section.
* config/tc-sparc.c (BSR): New function.
(sparc_ip): Use it for right-shift operations of 32 bits or more.
* config/tc-sparc.c (sparc_ip): Implement new operand type 'x'.
Tue Jul 26 18:21:24 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
* config/obj-coff.h: Moved common includes and TARGET_FORMAT
definitions together.
(WORKING_DOT_WORD, WARN_SIGNED_OVERFLOW_WORD,
OBJ_COFF_OMIT_OPTIONAL_HEADER, BFD_HEADERS, BFD) [!BFD_ASSEMBLER]:
Moved these definitions to the start of the file, before the
includes.
(SYMBOLS_NEED_BACKPOINTERS, OBJ_COFF_MAX_AUXENTRIES): Always
define these.
(S_GET_ZEROES): Deleted.
(S_SET_ZEROES): Moved to obj-coff.c.
* config/obj-coff.c (obj_coff_* psuedo-op fns): Deleted
forward declarations.
(obj_pseudo_table): Moved to one version end of file,
conditionalized internally.
(stack typedef, stack_init, stack_delete, stack_push, stack_pop,
tag_hash, tag_init, tag_insert, tag_find, tag_find_or_make): Moved
to one combined version at top of file, unconditional. Deleted
forward declarations.
(s_get_name): Moved one copy of declarations to start of file.
(def_symbol_in_progress): Ditto. Don't initialize.
(S_SET_ZEROES): Moved here from obj-coff.h.
(write_object_file): If TC_COFF_SET_MACHINE is defined, call it on
the file headers.
* config/obj-coff.c (seg_info_off_by_4): Now const and static.
(SEG_INFO_FROM_SEG_NUMBER): Unused macro deleted.
(previous_file_symbol, def_symbol_in_progress, symbol_externP,
symbol_extern_lastP, last_functionP) [!BFD_ASSEMBLER]: Don't
bother explicitly initializing to zero value.
* config/obj-coff.c (fixup_segment) [TC_I960]: Use SF_GET_BALNAME
and SF_GET_CALLNAME instead of the TC_S_IS_ versions.
* config/tc-i960.h (TC_COFF_SET_MACHINE): New macro. Calls
tc_headers_hook.
* config/tc-i960.c (targ_has_iclass): Use I_CX | I_CX2 where I_CX
was used previously.
(tc_headers_hook): If I_CX2 is found, set flags to F_I960CA.
* config/tc-i960.c (po_hash): Declaration deleted.
(next_object_file_charP): Ditto.
(regnames, aregs, coj): Now const.
(parse_memop): Static array def_scale now const.
(md_begin): Cast away const when passing hash routines addresses
of values in regnames or aregs.
(md_longopts): Added "link-relax" and "no-relax" hyphenated forms.
Continue to accept one-word forms.
(struct tabentry, arch_tab): Moved to top level from inside
md_parse_option. Now const.
(md_show_usage): Use arch_tab to generate usage message. Print
hyphenated forms of relax options.
* config/tc-i960.h (DEFINE_I960_AOUT, TC_S_IS_*, TC_S_*_SYSPROC,
TC_S_FORCE_TO_*): Moved from here...
* config/tc-i960.c: ... to here. Changed DEFINE_I960_AOUT stuff
to test OBJ_AOUT and OBJ_BOUT directly.
* config/tc-i960.h (CTRL, COBR, COJ, REG, MEM*, FBRA, CALLJ,
M1-M3, REG_OPC, R_*, SFR, LIT, FP, OP, R, RS, RL, RSL, F,
{R,F}{,L}{2,4}, M, SFR_OK, LIT_OK, FP_OK, REG_ALIGN, MEMOP, I_*):
Macros deleted.
* config/tc-i960.c (ARCH_JX): Define.
(arch_tab): Include JX.
(targ_has_sfr, targ_has_iclass): Handle JX.
(tc_headers_hook): Set flags to F_I960JX for i960JX.
Fri Jul 15 15:36:51 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
* subsegs.c (section_symbol): Had last change backwards.
Thu Jul 14 13:21:06 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
* config/atof-ns32k.c: Deleted.
* config/obj-aout.c (obj_aout_frob_symbol): Use
bfd_ind_section_ptr and bfd_und_section_ptr.
* subsegs.c (subseg_set_rest): Compare segT values directly,
without casting to int first.
* config/tc-ns32k.c (md_begin): Return value from hash_insert
should be pointer to const. Don't call exit explicitly after
calling as_fatal; it won't return.
(convert_iif): Make local variable j be pointer to bit_fixS, since
that's how it's used.
(encode_operand, case 'b'): Ignore sprintf return value. Don't try
converting freeptr to int and back.
Merged in NS32K support update from Ian Dall (dall@hfrd.dsto.gov.au):
* config/te-pc532mach.h: New file. pc532-mach target emulation.
* config/te-netbsd532.h: New file. Netbsd532 target emulation.
* config/tc-ns32k.h: Add definition of NOP_OPCODE.
* config/tc-ns32k.h: Add prototype for fix_new_ns32k_exp.
* config/tc-ns32k.h: Add BFD_ASSEMBLER support.
* config/tc-ns32k.c (tc_gen_reloc): New function for BFD_ASSEMBLER.
* config/tc-ns32k.c (fix_new_ns32k_exp): Get reloc type
differently for BFD_ASSEMBLER.
* config/tc-ns32k.c (md_estimate_size_before_relax): Get reloc
type differently for BFD_ASSEMBLER.
* config/tc-ns32k.c (md_create_long_jump): Size of opcode is one
not 2.
* config/tc-ns32k.c (md_convert_frag): Code for the BFD_ASSEMBLER
case. Also use smart md_pcrel_adjust function.
* config/tc-ns32k.c (md_apply_fix): Code for the BFD_ASSEMBLER
case. Also use smart md_fix_pcrel_adjust function.
* config/tc-ns32k.c (md_fix_pcrel_adjust): New function which can
find offset from opcode to operand even if in another frag
and in the presence of relaxing.
* config/tc-ns32k.c (md_pcrel_adjust): New function which can
find offset from opcode to operand even if in another frag
and in the presence of relaxing.
* config/tc-ns32k.c (md_number_to_disp): Check ranges properly.
* config/tc-ns32k.c (md_atof): use atof_ieee instead of special
atof_ns32k.
* config/tc-ns32k.c (reloc): New (static) function for
BFD_ASSEMBLER.
* config/tc-ns32k.c (convert_iif): More correct pc relative code.
md_relax must be able to find opcode address even if in another frag.
* config/tc-ns32k.c: More extensive comments.
* config/tc-ns32k.c (encode_operand): Support new operand classes I
and Z. Drop Q.
* config/tc-ns32k.c (fix_new_ns32k_exp): new function and
corresponding prototype.
* config/tc-ns32k.c: make 32532 default machine instead of 32032.
* config/tc-ns32k.c: include opcode/ns32k.h after as.h
* aout_gnu.h: r_disp needs to be 2 bits for TC_NS32K
* write.h: fx_im_disp needs to be 2 bits big for TC_NS32K
* write.c (relax_segment): Use TC_PCREL_ADJUST macro (if defined)
instead of adding pcrel_adjust.
* write.c (write_object_file): Adjust to_addr for the
BROKEN_DOT_WORD feature for the BFD_ASSEMBLER case.
* write.c (write_object_file): Use TC_CONS_FIX_NEW if it is defined.
* write.c (write_contents): Add code (currently if
BFD_FAST_SECTION_FILL is defined) to make large fills a lot faster.
* configure.in: Remove ns32k from special FP list. All the ns32k
series use ieee float.
* configure.in: Add ns32k-pc532-mach and ns32k-pc532-netbsd targets
* as.h: include expr.h before targ-env.h. Some target dependent file
want to use expr structures.
Wed Jul 13 14:49:05 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
* config/tc-m68k.c (m68k_ip): Change rp to be a const pointer.
(md_parse_option): Clear cpu field of current_architecture before
setting a new cpu type. Clear no_68881 for m68881 or m68882.
Clear no_68851 for m68851.
Tue Jul 12 21:27:05 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
* config/ho-sysv.h (realloc): Declare.
* symbols.c (symbol_create): New function, most of the guts of the
old symbol_new function.
(symbol_new): Now just checks symbol_table_frozen, calls
symbol_create, and enters the symbol into the symbol table.
* subsegs.c (section_symbol): If EMIT_SECTION_SYMBOLS is not true,
and the symbol table is frozen, call symbol_create instead of
symbol_new.
* symbols.h (symbol_create, symbol_table_frozen): Declare.
* symbols.c (symbol_clear_list_pointers): Always a function now.
* struc-symbol.h (symbol_clear_list_pointers): Deleted macro
version.
* symbols.c (debug_verify_symchain): New macro, defined to be
verify_symbol_chain or a cast to void, depending on DEBUG_SYMS.
(many functions): Invoke debug_verify_symchain unconditionally.
Tue Jul 12 12:06:42 1994 Kung Hsu (kung@x1.cygnus.com)
* config/obj-ecoff.h: change calling interface of
OBJ_GENERATE_ASM_LINE_STAB.
* config/obj-elf.h: ditto.
* read.c (read_a_source_file): ditto.
* ecoff.h: change calling interface of
ecoff_generate_asm_line_stab.
* ecoff.c (add_file): record of filename to handle case of include
files, also change default built-in type from int to void for
asm file.
* ecoff.c (ecoff_generate_asm_line_stab): handle case of include
files.
Mon Jul 11 17:20:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
* config/tc-mips.c (macro): In case M_LA_AB, SVR4_PIC, large
constant, and case ldd_std, set mips_optimize to 2 temporarily to
avoid inserting an unexpected nop instruction.
Sat Jul 9 00:05:12 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* ecoff.c (ecoff_build_lineno): Handle count correctly for last
line number.
Fri Jul 8 15:22:07 1994 Steve Chamberlain (sac@jonny.cygnus.com)
* gasp.c (process_pseudo_op): Pass right args to do do_aif.
(get_any_string): New arg 'pretend_quote'.
(get_and_process, do_formals, macro_expand, do_sdata,
process_pseudo_op): Use new arg.
Fri Jul 8 12:23:44 1994 Kung Hsu (kung@mexican.cygnus.com)
* config/obj-ecoff.h: define macro OBJ_GENERATE_ASM_LINE_STAB.
* config/obj-elf.h: ditto.
* read.c (read_a_source_file): generate line stabs for asm file.
* read.h: add extern generate_asm_line_stab.
* ecoff.h : add prototype for ecoff_generate_asm_line_stab().
* ecoff.c (add_file): if there's no filename provided, set switch
to generate line stabs for .s file.
* ecoff.c (add_procedure): add stabs symbol for .ent directive.
* ecoff.c (generate_ecoff_stab): creates an artificial stabs.
* ecoff.c (generate_asm_line_stab): generate a artifitial label
for each line and generate a stabn for the line.
Thu Jul 7 17:04:03 1994 Steve Chamberlain (sac@jonny.cygnus.com)
* gasp.c (get_any_string): Cope with getting a string with an
alternate base specifier.
(do_aif, do_aelse): Only enable output if expression is true and previous
level was on.
(chartype_init): Add BASEBIT chartype.
(process_pseudo_op): Notice nesteed AIFs.
Thu Jul 7 12:30:22 1994 Steve Chamberlain (sac@jonny.cygnus.com)
* h8300.c (do_a_fix_imm): Code for 2 bit reloc type using in trapa
insn. (fix pr 5165, 5174)
Thu Jul 7 11:31:32 1994 Jeff Law (law@snake.cs.utah.edu)
* config/tc-hppa.c (R_DLT_REL): If it isn't defined, then define
to an appropriate value to avoid losing on old hpux systems.
* config/tc-hppa.c (hppa_fix_adjustable): Reject reductions for
symbols in DLT relative relocs.
(tc_gen_reloc): Zero out the addend field for DLT relative relocs.
Wed Jul 6 01:07:54 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* config/tc-ppc.c (ppc_tc): If not OBJ_COFF, force TOC entry to
align to a four byte boundary.
Tue Jul 5 15:42:09 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
* config/tc-alpha.c (load_expression): Handle 32-bit addends.
(gpdisp_hi16_howto): Now points to const.
(load_insn_table, alpha_ip): Fix uses of const.
* doc/internals.texi: Updates to COFF description. Added "@end
defmac" as needed, and some extra heading and "@bye" so it'll
format as a separate document.
Tue Jul 5 13:54:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
* config/obj-elf.h (S_GET_ALIGN, S_SET_ALIGN): Define.
* config/obj-elf.c (obj_elf_common): Set alignment of common
symbol.
* config/tc-sparc.c (s_common): If OBJ_ELF, set alignment of
common symbol.
Mon Jul 4 18:29:43 1994 Jeff Law (law@snake.cs.utah.edu)
* config/tc-hppa.c (is_complex): New macro.
(cons_fix_new_hppa): "Handle" complex expressions.
Fri Jul 1 00:48:12 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* config/obj-coff.c (write_object_file): Set s_align field from
section_alignment array.
Thu Jun 30 15:05:28 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
* write.c (write_object_file): Use bfd_com_section_ptr.
* as.h (absolute_section, undefined_section): Use new BFD macros
bfd_abs_section_ptr and bfd_und_section_ptr.
Thu Jun 30 14:36:37 1994 Ian Lance Taylor (ian@sanguine.c
|