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
|
1999-12-28 Nick Clifton <nickc@cygnus.com>
* readelf.c: Update with new constants added by Oct 4, 1999
ELF ABI draft.
(guess_is_rela): Add new machine codes, but leave
rel type undetermined.
(get_machine_name): Add new machine codes.
(get_section_type_name): Add new section types.
(get_elf_section_flags): New function: Decode section flags.
(process_section_headers): Call get_elf_section_flags() in
order to decode flags in section header.
(get_dynamic_flags): New function: Decode dynamic section
flags.
(process_dynamic_section): Display flags (if present).
(get_symbol_type): Add STT_COMMON.
(get_symbol_visibility): New function: Decode a symbol's
visibility.
(process_symbol_table): Call get_symbol_visibility().
(get_note_type): Add NT_PRXFPREGS.
1999-12-26 Ian Lance Taylor <ian@zembu.com>
* strings.c (main): Correct handling of numeric argument.
1999-12-23 Andrew Haley <aph@cygnus.com>
* dlltool.c (mtable): mcore how_jtab_roff is 4 bytes into the
jtab; was 8.
1999-12-17 Nick Clifton <nickc@cygnus.com>
* dlltool.c (mtable): Stop compile time warnings about missing
initialisers.
(yyerror): Stop compile time warnings about unused paramater.
(INIT_SEC_DATA): New macro: initialise an entry in the secdata
array.
(secdata): Stop ccompile time warnings about uninitialised
fields.
(dtab): Stop compile time warnings about unused parameter.
(long_options): Stop compile time warning about missing
initialiser.
1999-12-10 Nick Clifton <nickc@cygnus.com>
* readelf.c (print_vma): Support native 64bit ELF systems.
1999-12-09 Nick Clifton <nickc@cygnus.com>
* dlltool.c (mtable): Add epoc-arm specific entry.
Make default arm entry pass -mpacs-26 to assembler.
(flush_page): Do not mangle null entries.
1999-12-07 H . J . Lu hjl@valinux.com
* readelf.c: Fix compile time warnings. Support more than 999
symbols.
1999-12-03 Nick Clifton <nickc@cygnus.com>
* readelf.c (enum print_mode): New type.
(print_vma): New function.
(dump_relocations): Use print_vma to display bfd_vma values.
(process_file_header): Use print_vma to display bfd_vma values.
(process_program_headers): Use print_vma to display bfd_vma values.
(process_section_headers): Use print_vma to display bfd_vma values.
(dynamic_segment_parisc_val): Use print_vma to display bfd_vma values.
(process_dynamic_segment): Use print_vma to display bfd_vma values.
(process_symbol_table): Use print_vma to display bfd_vma values.
(process_mips_specific): Use print_vma to display bfd_vma values.
1999-11-25 Fred Fish <fnf@cygnus.com>
* readelf.c (process_note): Change arg from Elf_External_Note
to Elf32_Internal_Note, which also turns the function body
into little more than a call to printf.
(process_corefile_note_segment): Substantially rewritten
to properly handle case where target and host are different
endianness, handle note sections with padding, and add some
cruft to handle notes with unterminated name data.
1999-11-22 Nick Clifton <nickc@cygnus.com>
* objcopy.c (copy_usage): Reformat.
(strip_usage): Reformat.
1999-11-21 Nick Clifton <nickc@cygnus.com>
* objdump.c (usage): Overhaul output: One line per switch.
Textual description of each switch. Distinguish between
optional switches and required switches.
(long_options): Add 'g', 'G' and 'z' short options.
(main): Distinguish between optional switches and required
switches.
* binutils.texi: Add -g -G and -z short options for
--debugging, --stabs and --disassemble-zeroes.
1999-11-03 Nick Clifton <nickc@cygnus.com>
* dlltool.c (flush_page): Clip short values to prevent warnings
from the assembler.
Change default mcore machine name to 'mcore-le' and rename
big-endian version to 'mcore-be'.
1999-10-27 Fred Fish <fnf@cygnus.com>
* objdump.c (display_bfd): Break into two functions. The
actual dumping code moves to dump_bfd. If bfd is not
unambiguously recognized as a bfd_object, attempt to dump
it as a bfd_core.
(dump_bfd): New function.
1999-10-26 Nick Clifton <nickc@cygnus.com>
* dlltool.c (assemble_file): Remove spurious test of exp_name.
1999-10-22 Nick Clifton <nickc@cygnus.com>
* dlltool.c (struct mac): Add new field 'how_default_as_switches'.
(mtable): Initialise new field. Some machines have a non empty
string for this field.
(HOW_BFD_TARGET): Undefine and replace with...
(HOW_BFD_READ_TARGET): New macro: bfd target to use when opening a
file for reading. This is set to 0 so that any recognisable bfd
format can be read.
(HOW_BFD_WRITE_TARGET): New macro: bfd target to use when opening
a file for writing. This is set to the target machine type.
(ASM_SWITCHES): New macro: default switches to use when assembling
a file.
(assemble_file): New function: Assemble a source file into a
destination object file.
(gen_exp_file): Use assemble_file to create the exp file.
(make_one_lib_file): Use assemble_file to create the lib file.
Open output file use HOW_BFD_WRITE_TARGET and input files using
HOW_BFD_READ_TARGET.
(make_head): Use assemble_file to create the head file.
(make_tail): Use assemble_file to create the tail file.
(gen_lib_file): Open output file use HOW_BFD_WRITE_TARGET.
1999-10-15 Ian Lance Taylor <ian@zembu.com>
* ar.c (normalize): Fix full_pathname code.
1999-10-08 Ben Elliston <bje@cygnus.com>
* binutils.texi: Some rewording and clarifications.
1999-09-15 Ulrich Drepper <drepper@cygnus.com>
* readelf.c (dynamic_segment_parisc_val): Print 0 for DLD_FLAGS if
the value is zero.
(process_symbol_table): Don't print histogram if hash table is empty.
1999-09-15 Ulrich Drepper <drepper@cygnus.com>
* readelf.c (get_parisc_dynamic_type): Handle DT_HP_GST_* values.
1999-09-02 Ulrich Drepper <drepper@cygnus.com>
* readelf.c (get_symbol_type): Add support for HPUX and PARISC
specific symbol types.
* readelf.c: Add HPUX and PARISC extensions to dynamic and program
header table printing.
* readelf.c (get_machine_flags): Add handling of PARISC.
1999-09-29 Mumit Khan <khan@xraylith.wisc.edu>
* dlltool.c (scan_drectve_symbols): Handle type tags in exported
symbols.
(scan_filtered_symbols): Likewise.
1999-09-19 Ian Lance Taylor <ian@zembu.com>
* resrc.c (write_rc_rcdata): Fix local variable shadowing
problem. If RCDATA_BUFFER data can be read as strings, modify
code to print the strings as comments.
* resres.c: Add casts to avoid warnings.
(write_res_data, read_res_data): Don't put the program name in the
error message; fatal already puts it there.
1999-09-14 Michael Meissner <meissner@cygnus.com>
* configure.in (Canonicalization of target names): Remove adding
${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14
generates $ac_config_sub with a ${CONFIG_SHELL} already.
* configure: Regenerate.
1999-09-12 Ian Lance Taylor <ian@zembu.com>
* ar.c (main): Clear output_file if we don't change the archive.
(delete_members, replace_members): Likewise.
1999-09-12 Donn Terry <donn@interix.com>
* objdump.c (dump_headers): If wide_output, print Flags header.
* objdump.c (dump_section_header): Print any comdat information.
* objcopy.c (parse_flags): Handle "noload", "debug", and "share".
* binutils.texi, objcopy.1: Document new flags.
* ar.c (counted_name_mode): New static variable.
(counted_name_counter): New static variable.
(map_over_members): Handle counted mode.
(usage): Mention N modifier.
(main): Handle N modifier.
(delete_members): Handle counted mode.
* binutils.texi, ar.1: Document N modifier.
* ar.c (print_contents): Change printing of member name for
POSIX.2 conformance.
* ar.c (output_filename): Make const.
(open_inarch): If creating a new empty archive, set
output_filename.
1999-09-12 Ian Lance Taylor <ian@zembu.com>
* ar.c (full_pathname): New static variable.
(map_over_members): Call normalize on command line parameter.
(usage): Mention P modifier.
(normalize): If full_pathname is true, don't do anything.
(main): Accept P modifier.
(delete_members): Call normalize on command line parameter.
* binutils.texi, ar.1: Document P modifier.
1999-09-09 Andreas Schwab <schwab@suse.de>
* binutils.texi: Add info dir entries for all programs described
here. Fix arguments of @var to not contain punctuation.
1999-09-06 Donn Terry <donn@interix.com>
* nm.c (print_symbol_info_bsd): Check for 'w' as well as 'U'.
(print_symbol_info_sysv): Likewise.
(print_symbol_info_posix): Likewise.
1999-09-04 Steve Chamberlain <sac@pobox.com>
* readelf.c: Include "elf/pj.h".
(dump_relocations): Handle EM_PJ.
(get_machine_name): Likewise.
(get_machine_flags): Likewise.
1999-08-31 Scott Bambrough <scottb@netwinder.org>
* readelf.c (get_note_type): New function: Decode the e_type
value of a note.
(process_note): New function: Display the contents of a core note.
(process_corefile_note_segment): New function.
(process_corefile_note_segments): New function.
(process_corefile_contents): New function.
(process_file): Add call to process_corefile_contents.
(parse_args): Add parsing of -n/--notes command line switch.
(usage): Document new command line switch.
* binutils.texi: Documemnt new command line switch to readelf.
1999-08-31 Ian Lance Taylor <ian@zembu.com>
* binutils.texi (Bug Reporting): Clarify that large files should
not be sent to bug-gnu-utils.
1999-08-28 Stephane Carrez <stcarrez@worldnet.fr>
* readelf.c (process_extended_line_op): New parameter pointer_size,
read the address according to pointer_size.
(debug_line_pointer_size): New global to indicate the
size of address in .debug_line section.
(debug_displays, prescan_debug_info): Prescan the .debug_info section
to record the size of address in `debug_line_pointer_size'.
(process_section_contents): Before dumping any section, execute
the pre-scan operation defined for some debug sections.
1999-08-27 Jim Wilson <wilson@cygnus.com>
* readelf.c (display_debug_lines): Use i-1 not i in standard_opcodes
access.
(display_debug_aranges): New local excess. Use for calculating padding
and add that into ranges. Break from loop only if length is also 0.
1999-08-27 Jim Wilson <wilson@cygnus.com>
* readelf.c (display_debug_lines, case DW_LNS_const_add_pc): Multiply
adv by info.li_min_insn_length.
1999-08-26 Jakub Jelinek <jj@ultra.linux.cz>
* readelf.c (get_sparc64_dynamic_type): New function.
(get_dynamic_type): Use it.
1999-08-26 Jim Wilson <wilson@cygnus.com>
* readelf.c (display_debug_lines, case default): Change second line
setting adv to use = not +=.
1999-08-19 Nick Clifton <nickc@cygnus.com>
* dlltool.c: Added more examples to the comment at the start.
1999-08-18 Nick Clifton <nickc@cygnus.com>
* dlltool.c (make_head): Only emit interworking directive if
necessary.
Thu Jul 15 22:44:21 1999 Hans-Peter Nilsson <hp@bitrange.com>
* readelf.c (process_abbrev_section): Handle standard-conforming
single zero at the end of the section.
1999-08-09 Ian Lance Taylor <ian@zembu.com>
* objdump.c (exit_status): New static variable.
(nonfatal): New static function.
(disassemble_data): Set exit_status on error.
(read_section_stabs): Likewise.
(display_bfd): Likewise. Call nonfatal rather than bfd_nonfatal.
(display_file): Call nonfatal rather than bfd_nonfatal.
(display_target_list, display_info_table): Likewise.
(main): Return exit_status rather than 0.
1999-08-08 Ian Lance Taylor <ian@zembu.com>
* objdump.c (dump_section_header): Update for renaming of
SEC_SHORT to SEC_SMALL_DATA. Print SEC_SHARED flag.
From Eli Zaretskii <eliz@gnu.org>:
* binutils.texi: Document cxxfilt as MS-DOS name for c++filt.
* configure.in: Define and substitute DEMANGLER_NAME.
* Makefile.am (DEMANGLER_PROG): Set to cxxfilt.
(man_MANS): Use DEMANGLER_NAME rather than DEMANGLER_PROG.
(bin_PROGRAMS): Remove $(DEMANGLER_PROG).
(noinst_PROGRAMS): Add $(DEMANGLER_PROG).
(cxxfilt_SOURCES): Rename from c__filt_SOURCES.
(cxxfilt_LDADD): Rename from c__filt_LDADD.
($(DEMANGLER_NAME).1): Rename from $(DEMANGLER_PROG).1. Use
DEMANGLER_NAME rather than DEMANGLER_PROG in substitution.
(MOSTLYCLEANFILES): Use DEMANGLER_NAME rather than
DEMANGLER_PROG.
(install-exec-local): When installing noinst_PROGRAMS, change
cxxfilt to $(DEMANGLER_NAME).
* configure, Makefile.in: Rebuild.
* Makefile.am: Rename .dep* files to DEP*. Change DEP variable to
MKDEP.
* Makefile.in: Rebuild.
1999-08-05 Donn Terry <donn@interix.com>
* Makefile.am (YACC): If bison is not in the source tree, use
@YACC@ rather than bison -y.
(LEX): If flex is not in the source tree, use @LEX@ rather than
flex.
* configure.in: Build dlltool for i[3-6]86-*-interix.
* Makefile.in, configure: Rebuild.
1999-07-21 Ian Lance Taylor <ian@zembu.com>
From Mark Elbrecht:
* configure.bat: Remove; obsolete.
1999-07-16 Jakub Jelinek <jj@ultra.linux.cz>
* readelf.c (get_machine_flags): Print EF_SPARC_SUN_US3.
1999-07-15 Ian Lance Taylor <ian@zembu.com>
* configure.in: Bump version number to 2.9.5.
* configure: Rebuild.
1999-07-14 Richard Henderson <rth@cygnus.com>
* objdump.c (dump_section_header): Print SEC_SHORT.
1999-07-11 Ian Lance Taylor <ian@zembu.com>
* Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
as appropriate. Add variable initializations. Add casts.
* objdump.c (disassemble_bytes): Change j to bfd_vma.
* readelf.c (process_syminfo): Change i to unsigned int.
(display_debug_info): Change abbrev_number to unsigned long.
(process_mips_specific): Change fcnt to size_t.
1999-07-09 Nick Clifton <nickc@cygnus.com>
* readelf.c: Only support decoding 64bit ELF files if the compiler
supports a 64 bit data type.
Add -I equivalent for --histogram.
Add -A command-line option to display architecture specific information.
1999-07-08 Jakub Jelinek <jj@ultra.linux.cz>
* readelf.c (guess_is_rela): Sparcv9 and v8plus use rela.
(dump_relocations): Use ELF64_R_TYPE_ID for Sparc, for R_SPARC_OLO10
print the secondary addend.
(get_machine_flags): Print Sparc machine flags.
(get_symbol_type): Print STT_REGISTER.
1999-07-08 Ian Lance Taylor <ian@zembu.com>
* stabs.c (parse_stab_type): Fix handling of template names with
template parameters containing `::'.
(stab_demangle_type): Handle a qualified name in a pointer to
member.
1999-06-23 Ian Lance Taylor <ian@zembu.com>
* Makefile.am (dlltool_SOURCES): Add dyn-string.c.
* Makefile.in: Rebuild.
1999-06-23 Mumit Khan <khan@xraylith.wisc.edu>
* configure.in (HAVE_EXECUTABLE_SUFFIX): Define.
* dlltool.c (look_for_prog): Use HAVE_EXECUTABLE_SUFFIX.
* dllwrap.c (look_for_prog): Likewise.
* resrc.c (look_for_default): Likewise.
* configure, config.in: Rebuild.
1999-06-22 Ian Lance Taylor <ian@zembu.com>
Based on patches from Mumit Khan <khan@xraylith.wisc.EDU>:
* configure.in: Define EXECUTABLE_SUFFIX.
* dlltool.c: Include "dyn-string.h". Include <stdarg.h> based on
ANSI_PROTOTYPES, not __STDC__.
(outfile): Remove.
(gen_exp_file): Change uses of outfile to use alloca.
(make_one_lib_file, make_head, make_tail): Likewise.
(gen_lib_file): Likewise.
(look_for_prog): New static function.
(deduce_name): Rewrite to use look_for_prog.
(mcore_elf_gen_out_file): Use dyn_string_t rather than outfile.
* dllwrap.c: Don't include <stdio.h>, <errno.h>, <string.h>,
<stdlib.h>, or <unistd.h>. Include <sys/stat.h> and either
<stdarg.h> or <varargs.h>.
(driver_name): Initialize to NULL, not "gcc".
(dlltool_name): Initialize to NULL, not "dlltool".
(display, inform, look_for_prog, deduce_name): New static
functions.
(usage): Mention -mno-cygwin.
(OPTION_MNO_CYGWIN): Define.
(main): Handle -mno-cygwin. Deduce driver_name and dlltool_name.
* resrc.c (look_for_default): Make static. Remove unused local
path. Check using EXECUTABLE_SUFFIX.
(read_rc_file): Allocate enough space to hold EXECUTABLE_SUFFIX.
* Makefile.am: Rebuild dependencies.
(dllwrap_LDADD): Add $(INTLLIBS).
* configure, Makefile.in, config.in: Rebuild.
Mon Jun 21 16:49:11 1999 Jeffrey A Law (law@cygnus.com)
* readelf.c (dump_relocations): Use elf_hppa_reloc_type instead of
elf32_hppa_reloc_type.
1999-06-17 Nick Clifton <nickc@cygnus.com>
* dlltool.c (mcore_elf_gen_out_file): Link object files with the
.exp file, not the .lib file.
Fri Jun 18 20:17:51 1999 Mumit Khan <khan@xraylith.wisc.edu>
* deflex.l: Accept single-character symbol names.
1999-06-16 Nick Clifton <nickc@cygnus.com>
* readelf.c (get_symbol_type): Detect ARM symbols typed as Thumb
functions.
1999-06-14 Nick Clifton <nickc@cygnus.com>
* objdump.c (disassembler_options): New variable.
(usage): Document new -M/--disassembler-options option.
(long_options): Add --disassembler-options.
(disassemble_data): Initialise disassembler_options field of
disassembler_info structure.
(main): Add parsing of -M option.
* binutils.texi: Document new command line switch to objdump.
* NEWS: Describe new command line switch to objdump.
Mon Jun 14 10:27:54 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* binutils.texi: Fix typos.
1999-06-13 Ian Lance Taylor <ian@zembu.com>
* objdump.c (disassemble_bytes): If the disassembler returns an
error, print out anything it may have printed to the buffer. From
H.J. Lu <hjl@gnu.org>.
* defparse.y (explist): Remove separate expline to eliminate
shift/reduce conflict.
From Kai-Uwe Rommel <rommel@ars.de>:
* defparse.y: Add tokens NONSHARED, SINGLE, MULTIPLE,
INITINSTANCE, INITGLOBAL, TERMINSTANCE, and TERMGLOBAL.
(command): Add option_list after LIBRARY.
(attr): Accept and ignore NONSHARED, SINGLE, and MULTIPLE.
(option_list, option): New nonterminals.
* deflex.l: Recognize NONSHARED, SINGLE, MULTIPLE, INITINSTANCE,
INITGLOBAL, TERMINSTANCE, and TERMGLOBAL.
1999-06-12 Ian Lance Taylor <ian@zembu.com>
* ar.c (O_BINARY): Define as 0 if not defined.
(ranlib_touch): Open file with O_BINARY.
* rename.c (O_BINARY): Define as 0 if not defined.
(simple_copy): Open files with O_BINARY.
Based on patch from H. Peter Anvin <hpa@transmeta.com>:
* objcopy.c (struct section_list): Add copy field.
(sections_copied): New static variable.
(copy_options): Add "only-section".
(copy_usage): Mention -j and --only-section.
(find_section_list): Initialize copy field.
(is_strip_section): Check for copying sections.
(copy_object): Check sections_copied when calling filter_symbols.
(setup_section): Check for copying sections.
(copy_section): Likewise.
(copy_main): Handle -j/--only-section.
* binutils.texi, objcopy.1: Document -j/--only-section.
* configure.in: If frexp is not available, check in -lm.
* configure: Rebuild.
* readelf.c (get_elf_class): Use correct printf format for type.
(get_data_encoding): Likewise.
(get_osabi_name): Likewise.
(process_file_header): Don't pass an extra argument to printf.
(process_dynamic_segment): Cast dynamic_size to long before
printing.
(decode_location_expression): Cast byte_get to long before
printing.
Wed Jun 9 11:40:16 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* readelf.c (dump_section): Cast values from byte_get to
[unsigned] long for printing, in case it is wider than long.
(display_block): Likewise.
(read_and_display_attr): Likewise.
(decode_location_expression): Likewise. Don't depend on
evaluation order.
Mon Jun 7 12:14:57 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* windres.c (usage): Fix typo.
1999-06-04 Nick Clifton <nickc@cygnus.com>
* readelf.c: Use 64bit wide fields in internal structures even if
targetting a 32bit architecture.
(dump_relocations): Take a new parameter - the number of symbols
in the symbol table.
1999-06-04 Nick Clifton <nickc@cygnus.com>
* readelf.c: Add support for 64bit ELF files.
1999-06-03 Nick Clifton <nickc@cygnus.com>
* dlltool.c (mcore_elf_gen_out_file): Use constants for temporary
file names.
Wed Jun 2 12:34:36 1999 Richard Henderson <rth@cygnus.com>
* dlltool.c (gen_exp_file): Revert 19990411 change.
Mon May 31 09:56:22 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* readelf.c (process_relocs): Determine type of reloc from
DT_PLTREL and from section type.
1999-05-29 Nick Clifton <nickc@cygnus.com>
* readelf.c (get_elf_class): Display unknown class number.
(get_data_encoding): Display unknown encoding number.
(get_osabi_name): Display unknown ABI number.
(process_file_header): Display unknown version number.
1999-05-29 Nick Clifton <nickc@cygnus.com>
* readelf.c (dump_relocations): Fix typo.
1999-05-28 Nick Clifton <nickc@cygnus.com>
* readelf.c (dump_relocations): Add extra parameter: is_rela to
specify the kind of relocations to be dumped. Call guess_is_rela
if this parameter has a value of UNKNOWN.
(guess_is_rela): New function: Guess the kind of reloc being used
baced on the machine number.
(process_relocs): Determine type of reloc before calling
dump_relocations.
1999-05-28 Ian Lance Taylor <ian@zembu.com>
* readelf.c: Include "elf/i960.h".
(dump_relocations): Handle EM_960.
Thu May 27 11:58:33 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* objcopy.c (copy_archive): Preserve dates of archive members if
requested.
* readelf.c (dump_relocations): Always print the addend on RELA
systems even if there is no symbol.
(process_program_headers): Reset dynamic_size before looping
through the program headers.
(process_version_sections): Cast sh_offset to unsigned long for
printing in case bfd_vma is wider.
(process_symbol_table): Use get_symbol_index_type when printing
st_shndx.
1999-05-17 DJ Delorie <dj@cygnus.com>
* windres.c: add verbose option
(main): process verbose option
* resrc.c (look_for_default): new. Look for the default
preprocessor in a given location.
(read_rc_file): for foo/bar-windres, look for foo/bar-gcc,
foo/gcc (in case of foo/windres), and then gcc (the old default).
1999-05-16 Nick Clifton <nickc@cygnus.com>
* dlltool.c (deduce_name): New function: Deduce name of program to
run.
(mcore_elf_out_file): New variable: Name of mcore-elf output file.
(mcore_elf_linker): New variable: Name of linker to use.
(mcore_elf_linker_flags): New variable: Linker flags to pass.
(scan_obj_file): Cache filenames if necessary.
(usage): Document new command line options.
(main): Support new command line options: -M (generate an
mcore-elf output file) -L (name of linker to use) -F (flags to
pass to linker).
(mcore_elf_cache_filename): Store a filename in a cache.
(mcore_elf_gen_out_file): New function: Generate an output file
per the mcore-elf spec.
1999-05-15 Nick Clifton <nickc@cygnus.com>
* configure.in (BUILD_MISC): Build dlltool for mcore
* configure: Regenerate.
* dlltool.c: Update example in comment.
(DLLTOOL_MCORE): Define.
(DLLTOOL_MCORE_ELF): Define.
(DRECTVE_SECTION_NAME): Define.
(mcore_be_jtab, mcore_le_jtab): Binary for performing an mcore
jump to address.
(mtable): Add entries for mcore variants.
(rvaafter, rvabefore, asm_prefix): Add mcore suppport.
(scan_drectve_symbols): Use DRECTVE_SECTION_NAME.
(make_head, make_tail): Cope if file cannot be created.
(usage): Improve layout.
1999-05-13 DJ Delorie <dj@cygnus.com>
* rclex.l: add code to suppress certain output from cpp, replace
all returns with MAYBE_RETURN
(MAYBE_RETURN): new, implement the suppression by returning
IGNORED_TOKEN as needed.
(cpp_line): remember which file we're in, mark data from included
*.h files for suppression.
* rcparse.y (input): allow IGNORED_TOKEN outside of known constructs
1999-05-10 DJ Delorie <dj@cygnus.com>
* windres.c (quot): Quote shell metacharacters in a string
(main): quote parameters to cpp that might have metacharacters in
them. Allow -D as an alias for --define to allow for sharing make
macros with gcc.
* objdump.c (dump_reloc_set): don't core if howto->name is NULL
* Makefile.am: Give rescoff.c a cpu-specific -D so it can set
the correct BFD.
* Makefile.in: ditto
* rescoff.c (write_coff_file): Set the correct BFD
1999-05-06 Ian Lance Taylor <ian@zembu.com>
* rename.c (smart_rename): Fix test of whether file exists.
1999-05-06 Nick Clifton <nickc@cygnus.com>
* objdump.c (disassemble_data): Set display_endian based on target
endianism.
1999-05-05 Catherine Moore <clm@cygnus.com>
* dlltool.c (interwork): Remove.
(arm_interwork_jtab): Use bx insn.
(thumb_jtab): Likewise.
(MARM_INTERWORK): New machine type.
(rvaafter): Handle it.
(rvabefore) Likewise.
(asm_prefix): Likewise.
(gen_exp_type): Check machine type instead of
interwork flag.
(make_one_lib_file): Likewise.
(make_head): Likewise.
(make_tail): Likewise.
(usage): Update machine types.
(main): Remove -interwork support.
1999-05-05 Catherine Moore <clm@cygnus.com>
* readelf.c (get_machine_flags): Check for EF_CPU32.
(get_data_encoding): Fix typo.
1999-04-26 Tom Tromey <tromey@cygnus.com>
* aclocal.m4, configure: Updated for new version of libtool.
1999-04-18 Ian Lance Taylor <ian@zembu.com>
* stabs.c (parse_stab_range_type): Correct parenthesization in
BFD64 case.
* readelf.c (get_section_type_name): Use correct types in printf
formats.
(process_relocs): Likewise.
(process_dynamic_segment): Likewise.
(process_symbol_table): Likewise.
(process_mips_specific): Likewise.
Tue Apr 13 21:22:00 1999 Catherine Moore <clm@cygnus.com>
* dlltool.c (make_one_lib_file): Mark thumb functions as
C_THUMBEXTFUNC.
1999-04-11 Richard Henderson <rth@cygnus.com>
* bucomm.h (environ): Declare it, if needed.
(alloca) [C_ALLOCA]: Don't use gcc's builtin or <alloca.h>.
* configure.in (environ): Detect declaration.
* nm.c (main): Don't declare environ.
* configure, config.in: Rebuild.
* dlltool.c (gen_exp_file): Pad out the .reloc section to a
32-byte boundary with dummy relocations, to make the BeOS loader
happy. Patch from Bob Manson <manson@charmed.cygnus.com>.
1999-04-08 Tom Tromey <tromey@cygnus.com>
* binutils.texi (c++filt): Updated for -j/--java, and hp/edg
formats.
1999-04-08 Nick Clifton <nickc@cygnus.com>
* readelf.c: Add ability to decode new constants found in April 25
1998 Draft of System V ABI spec.
1999-04-06 Ian Lance Taylor <ian@zembu.com>
* bucomm.h (LC_MESSAGES): Never define.
* addr2line.c (main): Don't pass LC_MESSAGES to setlocale if the
system does not define it.
* ar.c (main): Likewise.
* coffdump.c (main): Likewise.
* dlltool.c (main): Likewise.
* nlmconv.c (main): Likewise.
* nm.c (main): Likewise.
* objcopy.c (main): Likewise.
* objdump.c (main): Likewise.
* size.c (main): Likewise.
* srconv.c (main): Likewise.
* strings.c (main): Likewise.
* sysdump.c (main): Likewise.
* windres.c (main): Likewise.
* readelf.c (main): Call locale setting functions.
1999-04-05 Nick Clifton <nickc@cygnus.com>
* readelf.c (decode_location_expression): Fix DW_OP_const8{s|u}
decodes.
1999-04-04 Ian Lance Taylor <ian@zembu.com>
* rename.c: New file, copied out of objcopy.c with a few changes.
* bucomm.h (set_times, smart_rename): Declare.
* ar.c: Don't include <utime.h>.
(extract_file): Call set_times rather than utime.
(write_archive): Call smart_rename rather than unlink and rename.
* objcopy.c: Don't include <utime.h>.
(simple_copy, smart_rename, set_times): Move to rename.c.
(strip_main): Update smart_rename call for new parameter.
(copy_main): Likewise.
* Makefile.am: Rebuild dependencies.
(CFILES): Add rename.c.
(objcopy_SOURCES, strip_new_SOURCES): Add rename.c.
(ar_SOURCES, ranlib_SOURCES): Add rename.c.
* Makefile.in: Rebuild.
* Makefile.am: Rebuild dependencies.
(EXTRA_PROGRAMS): Remove backslash which troubles current version
of automake.
* Makefile.in: Rebuild.
* dllwrap.c (main): Expect correct type in format string.
* resres.c: Include "bfd.h", "bucomm.h", "libiberty.h", and
<time.h>. Don't include <stdio.h> and <errno.h>.
(write_res_file): Remove unused locals e and i.
(read_resource_entry): Remove unused locals rtype and n.
(read_unistring): Remove unused local n.
1999-04-03 Ian Lance Taylor <ian@zembu.com>
* arparse.y: Declare yylex.
* objdump.c (disassemble_bytes): Initialize bytes. Add comment
for incorrect use of bytes.
* readelf.c: Change many formats to avoid warnings.
1999-04-01 Nick Clifton <nickc@cygnus.com>
* readelf.c (reset_state_machine): New function. Resets the
registers of the source line number state machine.
(process_extended_line_op): Use state machine.
(display_debug_lines): Use state machine. Handle multiple line
number blocks within the same section.
1999-03-29 Jason Merrill <jason@yorick.cygnus.com>
* readelf.c (process_extended_line_op): end_sequence also resets
the line number.
(display_debug_lines): advance_line takes a signed operand.
(read_and_display_attr): Print refs as <%x>, addresses as %#x,
others as %d. Handle other location expression attributes.
(display_debug_info): Handle nesting. Always print the offset.
1999-03-23 Ian Lance Taylor <ian@zembu.com>
* objcopy.c (filter_symbols): When checking whether to keep a
symbol, check the BFD section symbol for a symbol with
BSF_SECTION_SYM set.
1999-03-10 Ulrich Drepper <drepper@cygnus.com>
* readelf.c (process_dynamic_segment): Print new Solaris dynamic
section entries. Correct printing of DT_POSFLAG_1 and DT_FLAGS_1.
1999-03-10 Nick Clifton <nickc@cygnus.com>
* readelf.c (request_dump): New function.
Removed arbitary limit on the number of sections that can be
dumped.
Wed Mar 10 15:10:14 1999 Stan Cox <scox@cygnus.com>
* dlltool.c (make_one_lib_file): Use %05d to output the stub name so
order in the import library is preserved.
1999-02-19 Nick Clifton <nickc@cygnus.com>
* readelf.c: Fix compile time warings.
1999-02-17 DJ Delorie <dj@cygnus.com>
* resbin.c (res_to_bin_versioninfo): Instead of entering a value
length of zero in a version info string, enter the appropriate
length.
Tue Feb 16 16:00:33 1999 Ian Lance Taylor <ian@cygnus.com>
* configure.in: Require autoconf 2.13. Change AM_PROG_INSTALL to
AC_PROG_INSTALL. Add comments for AC_DEFINE calls.
* acconfig.h: Remove.
* aclocal.m4: Rebuild.
* configure: Rebuild.
* Makefile.in: Rebuild.
* config.in: Rebuild.
1999-02-02 Nick Clifton <nickc@cygnus.com>
* readelf.c (read_and_display_attr): Add display of basic type
encodings.
(display_debug_aranges): New function: Display the contents of a
.debug_aranges section.
(display_debug_info): Dump tags found after compunit entry.
* binutils.texi: Fixed bug in readelf documentation.
Mon Feb 1 12:38:01 1999 Catherine Moore <clm@cygnus.com>
* readelf.c (dump_relocations): Handle EM_ARM as REL.
1999-01-29 Nick Clifton <nickc@cygnus.com>
* readelf.c (process_symbol_table): Do not produce a histogram of
bucket chains if none were found.
1999-01-27 Nick Clifton <nickc@cygnus.com>
* version.c: Add 1999 copyright.
* binutils.texi (readelf): Document new command line options
--debug-dump and --histogram.
* readelf.c: Add ability to display contents of some or all of the
Dwarf2 debug sections. {Work only partially completed}.
(display_debug_section): New function.
(display_debug_info): New function.
(display_debug_not_supported): New function.
(display_debug_line): New function.
(display_debug_abbrev): New function.
(process_abbrev_section): New function.
(read_leb128): New function.
(process_extended_line_op): New function.
(get_TAG_name): New function.
(get_AT_name): New function.
(get_FORM_name): New function.
(free_abbrevs): New function.
(add_abbrev): New function.
(add_abbrev_attr): New function.
(read_and_display_attr): New function.
(display_block): New function.
Thu Jan 14 23:36:11 1999 Jeffrey A Law (law@cygnus.com)
* coffdump.c (xcalloc): Remove, in libiberty now.
* srconv.c (xcalloc): Likewise.
* sysdump.c (xcalloc): Likewise.
1999-01-14 Nick Clifton <nickc@cygnus.com>
* readelf.c (process_section_headers): Omit trailing space at end
of section header contents line.
Wed Dec 16 17:20:05 1998 Doug Evans <devans@canuck.cygnus.com>
* aclocal.m4: Regenerate.
Mon Dec 14 12:55:36 1998 Jim Wilson <wilson@cygnus.com>
* dllwrap.c: Include bfd.h and bucomm.h. Move getopt.h include
after libiberty.h include.
Tue Dec 8 16:29:43 1998 Ian Lance Taylor <ian@cygnus.com>
* objdump.1: Fix typo (-d to -D). From Nokubi Hirotaka
<hnokubi@yyy.or.jp>.
Sun Dec 6 13:28:09 1998 Ian Lance Taylor <ian@cygnus.com>
* objdump.c (SFILE): Add size field.
(objdump_sprintf): Merge both versions into one. Increase buffer
size as needed to avoid overflow.
(disassemble_bytes): Change buf from 1000 bytes to 50. Change
initialization and use of sfile to match changes to
objdump_sprintf.
* strip.1: Fix typo (-V to -v). From Issei Hirayama
<iss@mail.wbs.or.jp>.
1998-12-03 Ulrich Drepper <drepper@cygnus.com>
* readelf.c (process_dynamic_segment): Improve output format for
various DT_* values.
1998-12-02 Ulrich Drepper <drepper@cygnus.com>
* readelf.c (process_mips_specific): Print .conflict section
content.
* readelf.c (process_mips_specific): Print l_flags in liblist in
textual form.
1998-11-30 Nick Clifton <nickc@cygnus.com>
* ar.c (extract_file): Add some paranoia checks for negatively
sized files.
Tue Nov 24 09:39:24 1998 Nick Clifton <nickc@cygnus.com>
* stabs.c (DIR_SEPARATOR): Define as '\\' if WIN32 is defined.
Tue Nov 17 10:25:26 1998 Nick Clifton <nickc@cygnus.com>
* Makefile.in: Regenerate.
Mon Nov 16 19:17:23 1998 Dave Brolley <brolley@cygnus.com>
* po/binutils.pot: Regenerate.
Mon Nov 16 10:18:53 1998 Nick Clifton <nickc@cygnus.com>
* Makefile.am: Regernated dependencies.
* aclocal.m4: Regenerated.
* configure: Regenerated.
Sat Nov 14 14:50:56 1998 Ian Lance Taylor <ian@cygnus.com>
* debug.c (debug_name_type): Correct return type from false to
DEBUG_TYPE_NULL.
Sat Nov 14 14:48:21 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* objdump.c (disassemble_data): Skip over relocs below start
address.
Tue Nov 10 15:31:52 1998 Nick Clifton <nickc@cygnus.com>
* Makefile.am: Add dependency of readelf.c on elf/fr30.h
* Makefile.in: Regenerate.
Wed Nov 4 16:25:55 1998 Nick Clifton <nickc@cygnus.com>
* readelf.c: Add support for the FR30.
Mon Nov 2 14:59:33 1998 Geoffrey Noer <noer@cygnus.com>
* configure.in: detect cygwin* instead of cygwin32*
* configure: regenerate
Fri Oct 30 15:14:49 1998 Geoffrey Noer <noer@cygnus.com>
* dllwrap.c: change all references to cygwin32_ to cygwin_,
change Cygwin target def to CYGWIN.
Wed Oct 28 10:31:19 1998 Nick Clifton <nickc@cygnus.com>
* objdump.c (disassemble_data): Replace 'unsigned long' with
'bfd_vma'.
Tue Oct 27 14:39:00 1998 Nick Clifton <nickc@cygnus.com>
* objdump.c (disassemble_bytes): Applied this patch from Philip
Blundell <pb@nexus.co.uk>: Make address variables unsigned to
avoid problems when disassembling code at high-bit-set addresses.
Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu>
* dllwrap.c (strhash): New function.
(main): Use it to supply image base if not supplied by user.
(program_version): Up to 0.2.4.
Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu>
* dlltool.c (add_stdcall_alias): New global.
(long_options): Add --add-stdcall-alias option.
(main): Handle it.
(scan_drectve_symbols): Add alias if --add-stdcall-alias is
specified.
(scan_filtered_symbols): Likewise.
(gen_def_file): Output alias for stdcall syms if appropriate.
* binutils.texi (dlltool): Document --add-stdcall-alias option.
* dllwrap.c (long_options): Add --add-stdcall-alias option.
(main): Handle it.
* defparse.y (opt_name): Allow "." in name.
* dlltool.c (def_name): Set dll_name from NAME entry in def file.
(def_library): Set dll_name from LIBRARY entry in def file.
Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu>
* dllwrap.c (long_options): --implib synonym for --output-lib.
(main): Pass --export-all to dlltool only if specified.
(program_version): Up to 0.2.3.
Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu>
* dllwrap.c (mybasename): New function.
(main): Run dlltool to create export definition file and import
library file if necessary.
Change exp_file_name so that it's based on the dll name.
Sun Oct 25 10:37:45 1998 Mumit Khan <khan@xraylith.wisc.edu>
* dlltool.c (scan_all_symbols): Fix patch error.
Fri Oct 16 22:56:20 1998 Felix Lee <flee@cygnus.com>
* nm.c (display_rel_file): fix "no symbols" messages.
* objdump.c (slurp_symtab): ditto.
* po/POTFILES.in, po/binutils.pot: rebuilt
Mon Oct 12 14:28:03 1998 Nick Clifton <nickc@cygnus.com>
* readelf.c (dump_relocations): Rename field from Value to Info to
match name of field in ELF structures.
Thu Oct 8 15:33:08 1998 Geoffrey Noer <noer@cygnus.com>
* configure.in: call AC_EXEEXT instead of AM_EXEEXT and
AM_CYGWIN32.
* aclocal.m4: remove local AM_EXEEXT/AM_CYGWIN32 macros.
* configure: regenerate
Thu Oct 8 15:33:08 1998 Geoffrey Noer <noer@cygnus.com>
From Mumit Khan <khan@xraylith.wisc.edu>:
* dlltool.c (scan_all_symbols): Don't re-export symbols exported
by other DLLs.
Thu Oct 8 15:33:08 1998 Geoffrey Noer <noer@cygnus.com>
* Makefile.am (BUILD_DLLWRAP): Add.
(BUILD_DLLWRAP, DLLWRAP_PROG): Add.
(bin_PROGRAMS): Add dllwrap.
* Makefile.in: regenerate with automake
From Mumit Khan <khan@xraylith.wisc.edu>:
* dllwrap.c: New file from dllhelpers v0.2.1.
(print_version): New function.
(long_options): Add --version.
(main): Handle.
* dyn-string.h, dyn-string.c: New files from egcs-1.1/gcc.
* configure.in (BUILD_DLLWRAP): Add.
* configure: Regenerate.
Tue Oct 6 18:20:10 1998 Geoffrey Noer <noer@cygnus.com>
* Makefile.am (windres_SOURCES): Add resres.c.
(windres_OBJECTS): Add resres.o.
* Makefile.in: regenerate with automake
From Anders Norlander <anorland@hem2.passagen.se>.
* resres.c: New file. Implementation of read_res_file and
write_res_file functions for windres.
* rcparse.y: Handle CONTROL's with named classes.
* resbin.c: Bug in res_to_bin_dialog and bin_to_res_dialog
when dialog is extended: The version and signature fields should
be reversed (despite what the docs say). Id is 32 bits long in
extended dialogs.
* resrc.c (write_rc_dialog): properly print controls with named
classes.
* windres.c (read_res_file, write_res_file): Remove stubs.
* resres.c (write_res): Rename RT_ACCELERATORS to RT_ACCELERATOR.
Sun Oct 4 20:34:42 1998 Ian Lance Taylor <ian@cygnus.com>
From Nokubi Hirotaka <hnokubi@yyy.or.jp>:
* objcopy.1: Fix typo in --remove-leading-char docs.
* objdump.1: Fix formatting in --stabs docs.
Sat Sep 19 23:33:56 1998 Ian Lance Taylor <ian@cygnus.com>
* rcparse.y (memflags_move): Correct recursion.
1998-09-10 Ulrich Drepper <drepper@cygnus.com>
* readelf.c (process_symbol_table): Print in histogram how many
symbols are covered by the current chain length.
Sun Sep 6 16:15:47 1998 Nick Clifton <nickc@cygnus.com>
* readelf.c (process_section_contents): Do not try to dump empty
sections.
Sat Sep 5 19:17:10 1998 Mumit Khan <khan@xraylith.wisc.edu>
* dlltool.c (scan_all_symbols): Don't re-export symbols exported
by other DLLs.
1998-09-02 14:50 Ulrich Drepper <drepper@cygnus.com>
* readelf.c (process_dynamic_segment): Print DT_* value only if
do_dynamic.
(do_histogram): New variable.
(options): New long option histogram. Set do_histogram if this
option is used.
(usage): Document --histogram.
(parse_args): Handle 0 return value from getopt_long. Enable
do_histogram for -a.
(process_symbol_table): Read hash table also if only do_histogram.
Add code to print hash table histogram.
1998-08-25 16:45 Ulrich Drepper <drepper@cygnus.com>
* readelf.c (process_dynamic_segment): Read syminfo section if
available.
(process_syminfo): New function. Print syminfo information.
(process_file): Call process_syminfo and free syminfo data at the end.
Wed Aug 19 16:19:51 1998 Ian Lance Taylor <ian@cygnus.com>
* dlltool.c (usage): Add file parameter. Change all callers.
(main): Don't treat '?' as a special case in getopt return.
* binutils.texi (dlltool): Document new options. Add some uses of
@var.
Wed Aug 19 16:19:07 1998 Mumit Khan <khan@xraylith.wisc.edu>
* dlltool.c (gen_def_file): Plug memory leak. Don't print
demangled name if it is NULL.
Support for exporting all symbols to an output export def file:
* dlltool.c ({export_all_symbols, no_default_excludes,
no_default_excludes, excludes}): New file static variables.
(struct string_list): Type to hold list of symbols to exclude.
(scan_drectve_symbols): Renamed from scan_open_obj_file.
(scan_filtered_symbols): New static function.
(add_excludes): New static function.
(match_exclude): New static function.
(set_default_excludes): New static function.
(filter_symbols): New static function.
(scan_all_symbols): New static function.
(scan_open_obj_file): New static function.
(usage): Document new options.
(long_options): Add new options.
(main): Handle new options.
1998-07-31 21:24 Ulrich Drepper <drepper@cygnus.com>
* readelf.c (process_program_headers): Print p_offset value with
six hex digits.
(dynamic_segment_mips_val): Add support for DT_MIPS_FLAGS,
DT_MIPS_IVERSION, and DT_MIPS_TIME_STAMP.
(process_mips_specific): Also print seconds of time stamp.
Fri Jul 31 10:04:23 1998 Catherine Moore <clm@cygnus.com>
* readelf.c (dump_relocations): EM_ARM uses rela relocs.
1998-07-30 16:25 Ulrich Drepper <drepper@cygnus.com>
* readelf.c (get_dynamic_type): Don't used gettext on the names.
Add new DT_* values from Solaris. Don't print nuemric value in
case of an unknown entry.
(process_dynamic_segment): Handle new DT_* entries. Print numeric
values in decimal, not hex.
Fri Jul 24 16:28:57 1998 Jeff Holcomb <jeffh@cygnus.com>
* readelf.c (get_dynamic_type): Remove empty default from switch
statement.
Fri Jul 24 16:28:12 1998 Ian Lance Taylor <ian@cygnus.com>
* Makefile.am (install-exec-local): Don't remove the file before
checking whether $(bindir) == $(tooldir)/bin. From Maciej
W. Rozycki <macro@ds2.pg.gda.pl>.
* Makefile.in: Rebuild.
Fri Jul 24 09:38:59 1998 Nick Clifton <nickc@cygnus.com>
* objcopy.c: Removed spurious inclusion of elf/internal.h and
elf-bfd.h.
1998-07-22 Ulrich Drepper <drepper@cygnus.com>
* readelf.c: Consistantly use elf_ prefix for *_reloc_type
functions.
Wed Jul 22 16:29:12 1998 Nick Clifton <nickc@cygnus.com>
* readelf.c (dump_relocations): Add dumps of HPPA and ARC
relocations.
(process_relocs): Do not abort if no string table can be found.
1998-07-22 14:58 Ulrich Drepper <drepper@cygnus.com>
* readelf.c: Remove definition of functions to return relocation
symbol strings. They now get implicitly defined when include the
system specific ELF header.
1998-07-22 13:51 Ulrich Drepper <drepper@cygnus.com>
* readelf.c: Before include system specific ELF header define
START_RELOC_NUMBERS, RELOC_NUMBER, and END_RELOC_NUMBERS. For now
used for ppc, mips, and mn10300.
Wed Jul 22 10:26:32 1998 Nick Clifton <nickc@cygnus.com>
* readelf.c (dump_relocations): Display number of unrecognised
relocations.
1998-07-21 13:13 Ulrich Drepper <drepper@cygnus.com>
* readelf.c: Use symbolic names of relocation entries for the various
architectures. Correct more layout details.
Print names of MIPS specific section types. Print Alpha, ARM, and
MIPS relocation type names.
1998-07-20 Vladimir N. Makarov <vmakarov@cygnus.com>
* objcopy.c (filter_symbols): Add code for strip all symbols case.
(copy_objects): Strip all case is now processed also through
filter_symbols. No marking symbols used in relocations when strip
all symbols case.
(copy_section): When strip all symbols case, remove relocations
which are not in keep strip specific list.
(strip_main): Remove guard `strip_specific_list == NULL' for
setting up strip all symbols by default.
Mon Jul 20 12:51:16 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* addr2line.c (find_address_in_section): Only consider a section
if the pc value is completely contained within it.
(translate_addresses): Don't crash if functionname or filename are
null.
1998-07-20 07:45 Ulrich Drepper <drepper@cygnus.com>
* readelf.c (process_symbol_table): Fix little alignment problem
in printed table header.
1998-07-20 07:14 Ulrich Drepper <drepper@cygnus.com>
* readelf.c: Correct reading of .dynamic section.
(dynamic_section): Now a global variable.
(process_mips_fpe_exception, process_mips_specific,
process_arch_specific): New functions.
(get_file_header): Call process_arch_specific.
1998-07-19 15:15 Ulrich Drepper <drepper@cygnus.com>
* readelf.c: Fix several versioning related bugs. Produce nicer
output.
Add support for processor specific information on MIPS.
Fri Jul 10 15:57:58 1998 Nick Clifton <nickc@cygnus.com>
* readelf.c: Switch prototypes from unsigned short to unsigned
int.
Fri Jul 10 16:17:50 1998 Ian Lance Taylor <ian@cygnus.com>
From Christian Holland <CHolland@de.lucent.com>:
* ieee.c (parse_ieee): Initialize info.global_vars and
info.global_types.
(parse_ieee_atn): Ignore register lifetime information reportedly
emitted by MRI compiler.
Thu Jul 9 13:08:01 1998 Ian Lance Taylor <ian@cygnus.com>
* Makefile.am (MAINTAINERCLEANFILES): Define.
* Makefile.in: Rebuild.
Tue Jul 7 21:48:54 1998 Jeffrey A Law (law@cygnus.com)
* readelf.c (byte_get): Use PARAMS in prototype.
(error): Make it work with non-ANSI compilers.
(warn): Likewise.
(get_ver_flags): Don't use an ANSI prototype in the definition.
Tue Jul 7 13:26:13 1998 Ian Lance Taylor <ian@cygnus.com>
* objcopy.c (filter_bytes): Set size correctly if the size of the
section is not an even multiple of the interleave. Based on patch
from Brion Stone <Brion.Stone@attws.com>.
Thu Jul 2 14:01:34 1998 Klaus Kaempf <kkaempf@rmi.de>
* configure.com: Add vax/vms support.
* makefile.vms-in: Renamed from makefile.vms. Add substitutions
now done by configure.com.
Wed Jul 1 20:43:52 1998 Ian Lance Taylor <ian@cygnus.com>
* stabs.c (parse_stab_range_type): Handle 4 and 8 byte signed
integers with real upper bounds. Handle a lower bound one larger
than the upper bound as a signed integer. Handle 8 byte signed
integers.
(stab_demangle_template): Optionally return the demangled name of
the template.
(stab_demangle_qualified): Treat a template name as a tagged
type.
(stab_demangle_fund_type): Likewise.
Wed Jul 1 16:29:50 1998 Nick Clifton <nickc@cygnus.com>
* objcopy.c: Minor formatting improvements.
* readelf.c: Minor output formatting improvement.
Wed Jul 1 14:23:48 1998 Ian Lance Taylor <ian@cygnus.com>
* rclex.l: Add casts and change types to avoid warnings.
* rcparse.y: Likewise.
* resbin.c: Likewise.
* rescoff.c: Likewise.
* resrc.c: Likewise.
* Makefile.am: Rebuild dependencies.
(HFILES): Remove readelf.h.
* Makefile.in: Rebuild.
Based on patches from Andrew Kozin
<Andrew.Kozin@p14.f960.n5020.z2.fidonet.org>:
* winduni.h: New file, from windres.h.
* winduni.c: New file, from windres.c.
* windres.c: Move Unicode functions into winduni.c.
* windres.h: Move Unicode declarations into winduni.h. Include
winduni.h.
(RT_ACCELERATOR): Rename from RT_ACCELERATORS to match Windows
macro. Change all uses.
(RT_PLUGPLAY, RT_VXD): Correct values.
* Makefile.am (HFILES): Add windres.h.
(CFILES): Add winduni.c.
(windres_SOURCES): Add winduni.c.
Mon Jun 29 17:01:21 1998 Nick Clifton <nickc@cygnus.com>
* readelf.c: Use BFD Internal and External Elf structures.
* readelf.h: Removed - no longer needed.
* Makefile.in: Remove readelf.c's dependency upon readelf.h.
1998-06-26 Vladimir N. Makarov <vmakarov@cygnus.com>
* objcopy.c (strip_main): keep_specific_list == NULL as additional
condition to set up strip all symbols by default.
(copy_archive): don't change archive when error in object files of
the archive.
Wed Jun 24 17:53:47 1998 Ian Lance Taylor <ian@cygnus.com>
* stabs.c (parse_number): Sign extend negative values correctly if
bfd_vma is larger than unsigned long.
Tue Jun 23 14:55:05 1998 Mike Stump <mrs@wrs.com>
* Makefile.am (install-exec-local): Don't let EXEEXT interfere
with the program transform name.
* Makefile.in: Rebuild.
Tue Jun 23 11:08:53 1998 Nick Clifton <nickc@cygnus.com>
* readelf.c: Rewrite to use fopen/fread ratehr than mmap.
Add --section-headers command line switch, which is an alias for
--sections.
Incorporate improvemnts made by Andreas Schwab
<schwab@issan.informatik.uni-dortmund.de> including output
formatting and version info display.
* binutils.texi: Document --section-headers switch to readelf.
Mon Jun 22 18:28:19 1998 Ian Lance Taylor <ian@cygnus.com>
* readelf.c: Include bfd.h and bucomm.h before system header
files.
(parse_args): Change type of c from char to int.
Sun Jun 14 14:26:28 1998 Nick Clifton <nickc@cygnus.com>
* readelf.c (usage): Write to stdout, not stderr.
Fri Jun 12 13:33:51 1998 Tom Tromey <tromey@cygnus.com>
* po/Make-in (all-yes): Depend on .pot file if maintainer mode
enabled.
($(PACKAGE).pot): Unconditionally depend on POTFILES.
Fri Jun 12 16:06:15 1998 Michael Meissner <meissner@cygnus.com>
* readelf.c (get_ppc_rel_type): New PowerPC support.
(dump_relocations): PowerPC uses RELA relocations.
(get_machine_name): Spell PowerPC correctly.
(get_file_type): Change unsigned short parameter to unsigned.
(get_machine_name): Ditto.
(get_machine_data): Return whether big endian or little endian.
(get_machine_flags): Interpret PowerPC, M32R, and MIPS flags.
(process_elf_header): Print endian-ess. Convert all numeric
formats to long or unsigned long. Print out machine specific flag
bits.
(process_section_headers): Increase name by 3 columns and decrease
type by the same so that .gcc_except_table fits in the space.
* readelf.h: Include elf/ppc.h, elf/mips.h, and elf/m32r.h to get
machine specific flag bits.
Thu Jun 11 17:54:26 1998 Nick Clifton <nickc@cygnus.com>
* readelf.c: Remove extraneous #includes. Fix warnings produced
by -Wall when compiling under Linux.
* Makefile.am (readelf_LDADD): Add $(LIBIBERTY).
Thu Jun 11 18:30:20 1998 Ian Lance Taylor <ian@cygnus.com>
* stabs.c (struct stab_handle): Add self_crossref field.
(parse_stab_string): If a tag is a cross reference to itself,
don't define it in the tags list.
(parse_stab_type): Set info->self_crossref.
* debug.c (struct debug_type_real_list): Define.
(debug_get_real_type): Add list parameter. Change all callers.
Check for circularity to avoid crashing when it occurs.
Thu Jun 11 14:48:32 1998 Nick Clifton <nickc@cygnus.com>
* readelf.c: New file: Display contents of ELF format file.
* readelf.h: New file: Header file for readelf.c
* Makefile.am: Add rules to build readelf.
* Makefile.in: Rebuilt.
* binutils.texi: Document readelf.
* NEWS: Mention inclusion of readelf into binutils.
* po/POTFILES.in; Rebuilt.
Fri Jun 5 18:43:40 1998 Ian Lance Taylor <ian@cygnus.com>
* objcopy.c (setup_section): Adjust the section size if copy_byte
is >= 0.
(copy_section): Do not call bfd_set_section_size.
Thu Jun 4 09:12:27 1998 Nick Clifton <nickc@cygnus.com>
* objcopy.c (copy_usage): Add missing \n\ from help description.
Wed Jun 3 19:31:33 1998 Ian Lance Taylor <ian@cygnus.com>
* Makefile.am (YACC): Correct bison -L option.
* Makefile.in: Rebuild.
* binutils.texi, objdump.1: Document -p/--private-headers.
Wed Jun 3 12:09:40 1998 Nick Clifton <nickc@cygnus.com>
* objcopy.c: Add new command line options: --change-section-lma
and --change-section-vma. Rename old command line option
--adjust-section-vma to --change-section-address. Rename
--adjust-vma to --change-addresses and --adjust-start to
--change-start. Provide aliases to support the old versions of
these command line options.
Change the names of macros and enum elements to upper case to
match the GNU coding standard.
Replace calls to fprintf (stderr,...) with calls to fatal () or
non_fatal () as appropriate.
* objcopy.1: Document command line option changes.
* binutils.texi: Document command line option changes.
* bucomm.h: New exported funtion from bucomm.c: non_fatal().
* bucomm.c (non_fatal): New exported function. Just like fatal()
except that it returns rather than calling xexit().
(bfd_check_format_matches): Call fatal() rather than bfd_fatal().
(check_matching_formats): Fix C formating.
(parse_vma): Call fatal().
Mon Jun 1 18:26:40 1998 Ian Lance Taylor <ian@cygnus.com>
From Yuli Barcohen <yuli.barcohen@telrad.co.il>:
* debug.c (debug_type_samep): Avoid endless loops comparing
function and method parameter types.
Fri May 22 14:02:42 1998 Ian Lance Taylor <ian@cygnus.com>
* dlltool.c (dump_iat): Comment out; not used.
(display): Rename from tell. Change all callers.
Thu May 14 14:00:56 1998 Nick Clifton <nickc@cygnus.com>
* dlltool.c: Add support for Thumb DLLs. Add support for
interworking between ARM and Thumb programs and DLLs. Tidy the
code.
* binutils.texi: Document dlltool.
* configure: Build dlltool for thumb-pe targets.
* version.c (print_version): Include 1998 in copyright strings.
* stabs.c (parse_stab): Support Win32 style directory separators.
Sun May 10 22:34:44 1998 Jeffrey A Law (law@cygnus.com)
* po/Make-in (install-info): New target.
Fri May 8 10:33:13 1998 Nick Clifton <nickc@cygnus.com>
* ar.c (usage): Extend information provided about command line
options.
Wed May 6 15:28:51 1998 Klaus Kaempf <kkaempf@progis.de>
* makefile.vms: Run dec c with /nodebug. Pass CC value when
calling make.
Tue May 5 15:19:00 1998 Nick Clifton <nickc@cygnus.com>
* configure: Build dlltool for thumb-pe target.
* configure.in: Build dlltool for thumb-pe target.
Sun May 3 22:04:49 1998 Ian Lance Taylor <ian@cygnus.com>
* Makefile.am (EXTRA_PROGRAMS): Change $(SRCONV_PROG) to sysconf
sysdump coffdump to avoid extra $(EXEEXT).
* Makefile.in: Rebuild.
Wed Apr 29 22:22:55 1998 Geoffrey Noer <noer@cygnus.com>
* configure.in: Stop appending EXEEXT to the end of
SRCONV_PROG (wrong because that variable may contain multiple
programs)
* Makefile.am: instead, add EXEEXTs to each SRCONV_PROG
program
* Makefile.in: regenerate
* configure: regenerate
Tue Apr 28 19:14:34 1998 Tom Tromey <tromey@cygnus.com>
* addr2line.c (main): Conditionally call setlocale.
* windres.c (main): Likewise.
* sysdump.c (main): Likewise.
* strings.c (main): Likewise.
* srconv.c (main): Likewise.
* size.c (main): Likewise.
* objdump.c (main): Likewise.
* objcopy.c (main): Likewise.
* nm.c (main): Likewise.
* nlmconv.c (main): Likewise.
* dlltool.c (main): Likewise.
* coffdump.c (main): Likewise.
* ar.c (main): Likewise.
* bucomm.h: Include <locale.h> if HAVE_LOCALE_H.
(LC_MESSAGES): Now can be defined even when ENABLE_NLS.
Tue Apr 28 10:33:07 1998 Bill Moyer <ttk@cygnus.com>
Add support for IMPORTS:
* defparse.y (impline): Add IMPORTS syntaxes.
* dlltool.c (ifunctype, iheadtype): New typedefs.
(import_list): New static variable.
(append_import): New static function.
(def_import): Add an entry to import_list.
(generate_idata_ofile): New static function.
(gen_exp_file): Call generate_idata_ofile.
* dlltool.h (def_import): Update declaration.
Mon Apr 27 16:39:22 1998 Ian Lance Taylor <ian@cygnus.com>
* configure.in: Change version number to 2.9.4
* configure: Rebuild.
Wed Apr 22 16:00:35 1998 Tom Tromey <tromey@cygnus.com>
* po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir).
Wed Apr 22 00:33:56 1998 Tom Tromey <tromey@scribbles.cygnus.com>
* Makefile.am (INCLUDES): Search intl dirs for headers; define
LOCALEDIR.
* addr2line.c (main): Call setlocale, bindtextdomain, textdomain.
* ar.c (main): Likewise.
* coffdump.c (main): Likewise.
* dlltool.c (main): Likewise.
* nlmconv.c (main): Likewise.
* nm.c (main): Likewise.
* objcopy.c (main): Likewise.
* objdump.c (main): Likewise.
* size.c (main): Likewise.
* srconv.c (main): Likewise.
* strings.c (main): Likewise.
* sysdump.c (main): Likewise.
* windres.c (main): Likewise.
Tue Apr 21 22:13:08 1998 Tom Tromey <tromey@scribbles.cygnus.com>
* Many files: Added gettext invocations around user-visible
strings.
* bucomm.h: Added gettext-related includes and defines.
* acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
HAVE_LC_MESSAGES): Define.
* configure.in: Call CY_GNU_GETTEXT. Create po/Makefile.in and
po/Makefile. Use AM_PROG_LEX.
* Makefile.am (SUBDIRS): New macro.
(POTFILES): Likewise.
(po/POTFILES.in): New target.
(LDADD): Added INTLLIBS.
(objdump_LDADD): Likewise.
(c__filt_LDADD): Likewise.
(ar_LDADD): Likewise.
(ranlib_LDADD): Likewise.
(dlltool_LDADD): Likewise.
(windres_LDADD): Likewise.
* po/Make-in, po/POTFILES.in, po/binutils.pot: New files.
Tue Apr 21 16:07:18 1998 Stanislav Brabec <utx@k332.feld.cvut.cz>
* objcopy.c (preserve_dates): New file static variable.
(smart_rename): If preserve_dates, call set_times when copying.
(strip_main): Remove preserve_dates local variable.
(copy_main): Likewise.
Tue Apr 7 15:41:15 1998 Ian Lance Taylor <ian@cygnus.com>
* Makefile.am (DISTSTUFF): Add defparse.h, defparse.c, rclex.c,
rcparse.h, and rcparse.c
* Makefile.in: Rebuild.
Mon Apr 6 16:24:35 1998 Ian Lance Taylor <ian@cygnus.com>
* Makefile.am (PROGS): Move $(ADDR2LINE_PROG) to end, so that
Makefile.in doesn't have an empty continuation line.
(bin_PROGRAMS): Likewise.
* Makefile.in: Rebuild.
Fri Apr 3 14:48:42 1998 Ian Lance Taylor <ian@cygnus.com>
* Makefile.am (DISTCLEANFILES): Add site.exp and site.bak.
(MOSTLYCLEANFILES): Add binutils.log, binutils.sum, and abcdefgh*.
(mostlyclean-local): New target.
* Makefile.in: Rebuild.
Wed Apr 1 15:54:16 1998 Ian Lance Taylor <ian@cygnus.com>
From Zack Weinberg <zack@rabi.phys.columbia.edu> and H.J. Lu
<hjl@gnu.org>:
* ar.c (usage): Mention S modifier.
(main): Add S modifier.
* ar.1, binutils.texi: Document S modifier.
Wed Apr 1 13:11:23 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* binutils.texi: Use @itemx for a secondary item in a table.
Tue Mar 31 18:44:13 1998 Ian Lance Taylor <ian@cygnus.com>
* dep-in.sed: Add rule to remove @OBJDIR@.
* Makefile.am (dep.sed): Substitute for @OBJDIR@.
* Makefile.in: Rebuild.
Mon Mar 30 12:47:18 1998 Ian Lance Taylor <ian@cygnus.com>
* configure.in: Set version to 2.9.1.
* configure: Rebuild.
* Branched binutils 2.9.
* Makefile.am (DISTCLEANFILES): Remove defparse.h, arparse.h,
rcparse.h, and nlmheader.h.
* Makefile.in: Rebuild.
Sat Mar 28 17:39:27 1998 Ian Lance Taylor <ian@cygnus.com>
* Makefile.am (MOSTLYCLEANFILES): Define.
* Makefile.in: Rebuild.
Fix some gcc -Wall warnings:
* nlmconv.c (main): Add casts to avoid warnings.
(alpha_mangle_relocs): Likewise.
* objdump.c (dump_section_stabs): Likewise.
* size.c (print_sysv_format): Likewise.
* srcconv.c (wr_ob): Likewise.
* wrstabs.c (stab_modify_type): Likewise.
(stab_variable): Likewise.
* nlmconv.c (main): Initialize variables to avoid warnings.
* nm.c (sort_symbols_by_size): Likewise.
* objdump.c (disassemble_bytes): Likewise.
* wrstabs.c (stab_end_class_type): Likewise.
* coffgrok.c (do_sections_p2): Change j to unsigned int.
(do_lines): Change l to unsigned int.
* nlmheader.y (yylex): Change i to unsigned int.
* nm.c (print_symbol): Change j to long.
* size.c (lprint_number): Comment out.
* srconv.c (wr_ob): Change i to bfd_size_type.
* sysdump.c (unit_info_list): Comment out.
(object_body_list, program_structure, debug_list): Likewise.
* sysinfo.y (yyerror): Return value.
Thu Mar 26 17:06:51 1998 Richard Henderson <rth@cygnus.com>
* defparse.y (explist): Allow epsilon.
Suggestion from Jonathan-Harris@psion.com.
Thu Mar 26 16:59:09 1998 Richard Henderson <rth@cygnus.com>
* coffgrok.c (do_sections_p1): Use the section's lma instead of vma
for the benefit of prom loaders.
Wed Mar 25 13:05:39 1998 Ian Lance Taylor <ian@cygnus.com>
Based on patch from H.J. Lu <hjl@gnu.org>:
* Makefile.am (DISTSTUFF): New variable.
(diststuff): New target.
(DISTCLEANFILES): New variable.
* Makefile.in: Rebuild.
Tue Mar 24 19:33:08 1998 Ian Lance Taylor <ian@cygnus.com>
* rclex.l: Accept { and } as synonyms for BEGIN and END.
Fri Mar 20 19:18:08 1998 Ian Lance Taylor <ian@cygnus.com>
* aclocal.m4, configure: Rebuild with libtool 1.2.
Tue Feb 24 13:07:50 1998 Doug Evans <devans@canuck.cygnus.com>
* objdump.c (disassemble_data): Delete "++place" after call to
find_symbol_for_address. Set disasm_info.symbols to array of
symbols at the current address.
Wed Feb 18 23:39:46 1998 Richard Henderson <rth@cygnus.com>
* Makefile.am (install-exec-local): Install properly when ln
fails or tooldir == prefix.
Tue Feb 17 18:40:55 1998 Richard Henderson <rth@cygnus.com>
* objcopy.c (compare_section_lma): Rename from _vma.
(copy_object): Gap fill based on LMA not VMA.
* binutils.texi: Update and clarify.
* objcopy.1: Likewise.
Tue Feb 17 20:34:11 1998 Ian Lance Taylor <ian@cygnus.com>
* dlltool.c (gen_exp_file): Generate _imp__%s as well as __imp_%s,
for Microsoft compatibility.
(make_one_lib_file): Likewise.
* dlltool.c (make_one_lib_file): Don't add 1 to hint.
Fri Feb 13 16:37:44 1998 Ian Lance Taylor <ian@cygnus.com>
* Makefile.am (AUTOMAKE_OPTIONS): Define.
* configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.
Thu Feb 12 14:13:46 1998 Ian Lance Taylor <ian@cygnus.com>
* deflex.l: Accept '?' in symbol names, for VC++ mangled names.
From Mikey <jeffdb@netzone.com>.
* addr2line.c (usage): Update bug-gnu-utils address.
* ar.c (usage): Likewise.
* nlmconv.c (show_usage): Likewise.
* nm.c (usage): Likewise.
* objcopy.c (copy_usage): Likewise.
(strip_usage): Likewise.
* objdump.c (usage): Likewise.
* size.c (usage): Likewise.
* strings.c (usage): Likewise.
* windres.c (usage): Likewise.
* binutils.texi (Bug Reporting): Likewise.
Sat Feb 7 15:36:24 1998 Ian Lance Taylor <ian@cygnus.com>
* configure, aclocal.m4: Rebuild with new libtool.
Thu Feb 5 12:21:13 1998 Ian Lance Taylor <ian@cygnus.com>
* configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
Fri Jan 30 19:16:28 1998 Doug Evans <devans@canuck.cygnus.com>
* Makefile.am (CC_FOR_TARGET,nlmcomv.o): Change program_transform_name
to transform.
* Makefile.in: Regenerate.
Thu Jan 29 16:24:04 1998 Mumit Khan <khan@xraylith.wisc.edu>
* dlltool.c: Define exit status macros for _WIN32 but not
__CYGWIN32__.
(gen_lib_file): Check for exit status of unlink.
* resrc.c: Define popen and pclose if _WIN32 but not
__CYGWIN32__.
Wed Jan 28 17:45:46 1998 Ian Lance Taylor <ian@cygnus.com>
* configure.in: Remove vfork check.
* nlmconv.c: Never include vfork.h.
* aclocal.m4, configure, Makefile.in, config.in: Rebuild.
Wed Jan 28 17:43:02 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
* objcopy.c (copy_archive): Only pass one argument to mkdir if
_WIN32 but not __CYGWIN32__.
(smart_rename): Add code for _WIN32 (not __CYGWIN32__), to cope
with different rename behaviour and lack of chown.
* configure.in: Check for mingw32 when deciding whether to build
dlltool.
* dlltool.c: Never include vfork.h.
(run): Use pexecute rather than vfork.
(gen_lib_file): Check for errors from bfd_set_archive_head and
bfd_close. Close all the BFDs in the archive before deleting the
temporary files.
Thu Jan 22 16:22:55 1998 Fred Fish <fnf@cygnus.com>
* objdump.c (disassemble_bytes): Add flag INSN_HAS_RELOC to tell
disassembly function there is a reloc on this line.
Wed Jan 14 15:29:43 1998 Richard Henderson <rth@cygnus.com>
* srconv.c (sh, h8300): Delete variables.
(addrsize, toolname, rnames): New variables.
(writeINT): Use addrsize.
(wr_un): Use toolname.
(wr_hd): Set up addrsize et al properly for h8300[hs].
(walk_tree_symbol): Zero dsy. Use rnames.
(wr_un, wr_hd, wr_ob, wr_du): Use proper bfd access macros.
* sysdump.c (sh, h8300): Delete variables.
(addrsize): New variable.
(getINT): Use it.
(getone): Initialize it.
(getBITS): Range check on MAX.
For older changes see ChangeLog-9197
Copyright (C) 1998-1999 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
Local Variables:
mode: change-log
left-margin: 8
fill-column: 74
version-control: never
End:
|