Knowledge

Linker (computing)

Source 📝

543: 2200: 529: 2222: 394:), containing only the object module to be replaced. In such systems, object code is in the form and format of 80-byte punched-card images, so that updates can be introduced into a system using that medium. In later releases of OS/360 and in subsequent systems, load-modules contain additional data about versions of components modules, to create a traceable record of updates. It also allows one to add, change, or remove an 22: 160:, the entire library has to be loaded during runtime as it is not known which functions or methods will be called during runtime. Library linking may thus be an iterative process, with some referenced modules requiring additional modules to be linked, and so on. Libraries exist for diverse purposes, and one or more system libraries are usually linked in by default. 279:
A program, together with the libraries it uses, might be certified (e.g. as to correctness, documentation requirements, or performance) as a package, but not if components can be replaced (this also argues against automatic OS updates in critical systems; in both cases, the OS and libraries form part
385:
has the additional capability of allowing the addition, replacement, and/or deletion of individual program sections. Operating systems such as OS/360 have format for executable load-modules containing supplementary data about the component sections of a program, so that an individual program section
334:
pass subsequently reassigns addresses, which may in turn allow more potential relaxations to occur. In general, the substituted sequences are shorter, which allows this process to always converge on the best solution given a fixed order of objects; if this is not the case, relaxations can conflict,
312:
on the system where it runs. Static linking also prevents "DLL hell", since each program includes exactly the versions of library routines that it requires, with no conflict with other programs. A program using just a few routines from a library does not require the entire library to be installed.
452:
In the beginning linkers gave users very limited control over the arrangement of generated output object files. As the target systems became complex with different memory requirements such as embedded systems, it became necessary to give users control to generate output object files with their
321:
As the compiler has no information on the layout of objects in the final output, it cannot take advantage of shorter or more efficient instructions that place a requirement on the address of another object. For example, a jump instruction can reference an absolute address or an offset from the
233:
environments allow dynamic linking, deferring the resolution of some undefined symbols until a program is run. That means that the executable code still contains undefined symbols, plus a list of objects or libraries that will provide definitions for these. Loading the program will load these
389:
One advantage of this is that it allows a program to be maintained without having to keep all of the intermediate object files, or without having to re-compile program sections that haven't changed. It also permits program updates to be distributed in the form of small files (originally
401:
The term "linkage editor" should not be construed as implying that the program operates in a user-interactive mode like a text editor. It is intended for batch-mode execution, with the editing commands being supplied by the user in sequentially organized files, such as
322:
current location, and the offset could be expressed with different lengths depending on the distance to the target. By first generating the most conservative instruction (usually the largest relative or absolute variant, depending on platform) and adding
307:
Static linking is the result of the linker copying all library routines used in the program into the executable image. This may require more disk space and memory than dynamic linking, but is more portable, since it does not require the presence of the
461:
On Unix and Unix-like systems, the linker is known as "ld". Origins of the name "ld" are "LoaDer" and "Link eDitor". The term "loader" was used to describe the process of loading external symbols from other programs during the process of linking.
140:
For most compilers, each object file is the result of compiling one input source code file. When a program comprises multiple object files, the linker combines these files into a unified executable program, resolving the symbols as it goes along.
693: 517:, is designed to be drop-in compatible, and may be used directly with the GNU compiler. Another drop-in replacement, mold, is a highly parallelized and faster alternative which is also supported by GNU tools. 256:
is improved, all programs using it dynamically will benefit from the correction after restarting them. Programs that included this function by static linking would have to be re-linked first.
115:
whole and the ability to better define the purpose and responsibilities of each individual piece, which is essential for managing complexity and increasing long-term maintainability in
444:
act of combining the various pieces into a relocatable binary, whereas the loading and relocation into an absolute binary at the target address is normally considered a separate step.
478:
implementation of the Unix command ld. GNU ld runs the linker, which creates an executable file (or a library) from object files created during compilation of a software project. A
190:: every program is put into its own address space, so there is no conflict even if all programs load at the same base address. This pass may also be omitted if the executable is a 241:
Often-used libraries (for example the standard system libraries) need to be stored in only one location, not duplicated in every single executable file, thus saving limited
386:
can be replaced, and other parts of the program updated so that relocatable addresses and other references can be corrected by the linkage editor, as part of the process.
156:
in the output executable; they include only those object files from the library that are referenced by other object files or libraries directly or indirectly. But for a
680: 272:", an incompatible updated library will break executables that depended on the behavior of the previous version of the library if the newer version is not correctly 1119: 182:
The executable output by the linker may need another relocation pass when it is finally loaded into memory (just before execution). This pass is usually omitted on
1253: 211:(as in loading executable code onto a file). Additionally, in some operating systems, the same program handles both the jobs of linking and loading a program ( 107:
While the process of linking is meant to ultimately combine these independent parts, there are many good reasons to develop those separately at the
326:, it is possible to substitute shorter or more efficient instructions during the final link. In regard to jump optimizations this is also called 338:
While instruction relaxation typically occurs at link-time, inner-module relaxation can already take place as part of the optimizing process at
959: 2258: 968: 1246: 96:
Computer programs typically are composed of several parts or modules; these parts/modules do not need to be contained within a single
175:
into another base. Since a compiler seldom knows where an object will reside, it often assumes a fixed base location (for example,
853: 1588: 809: 795: 1162: 1550: 1427: 1239: 1179: 548: 126:
defined "external" symbols, sometimes called "public" or "entry" symbols, which allow it to be called by other modules,
1086: 1052: 915: 803: 740: 1512: 1198: 2263: 2213: 2208: 433: 453:
specific requirements such as defining base addresses' of segments. Linkers control scripts were used for this.
1482: 557: 487: 330:. This step can be performed only after all input objects have been read and assigned temporary addresses; the 892: 588: 482:
may be passed to GNU ld to exercise greater control over the linking process. The GNU linker is part of the
347: 133: 1262: 407: 288: 1566: 2253: 2049: 1581: 1527: 732: 583: 534: 1367: 1043:. The Morgan Kaufmann Series in Software Engineering and Programming (1 ed.). San Francisco, US: 2185: 2155: 1517: 1420: 1362: 1331: 1199:
Another Listing of Where to Get a Complete Collection of Free Tools for Assembly Language Development
790:. Ellis Horwood Series In Computers And Their Applications (1 ed.). Chicester, West Sussex, UK: 724: 972: 2170: 1279: 1002: 927: 104:
as addresses into other modules, which are mapped into memory addresses when linked for execution.
786:. Written at California State University, Northridge, California, US. In Chivers, Ian D. (ed.). 292: 1774: 1764: 129:
undefined "external" symbols, which reference other modules where these symbols are defined, and
2226: 1931: 1600: 1574: 1336: 644: 1094: 791: 568: 395: 391: 116: 58: 971:. 1969-07-23 . Program number 360S-ED-510. File No. S360-31. Form Y28-6610-2. Archived from 2101: 1413: 1346: 613: 483: 309: 296: 253: 191: 8: 1522: 1311: 1294: 623: 486:(binutils). Two versions of ld are provided in binutils: the traditional GNU ld based on 273: 145: 112: 66: 205:, the process performed by a linker (assembling object files into a program) was called 2248: 1389: 1284: 1111: 1022: 947: 849: 628: 362: 207: 179:). Relocating machine code may involve re-targeting absolute jumps, loads, and stores. 101: 85: 780: 1502: 1405: 1394: 1231: 1203: 1058: 1048: 1014: 951: 939: 799: 746: 736: 618: 563: 183: 111:-level. Among these reasons are the ease of organizing several smaller pieces over a 1026: 2001: 1906: 1901: 1457: 1372: 1154: 1139: 1115: 1103: 1006: 990: 931: 593: 230: 157: 2180: 2124: 2029: 1830: 1733: 1467: 1044: 720: 689: 633: 608: 598: 242: 212: 149: 77: 46: 2119: 2054: 2039: 1976: 1936: 1815: 1779: 1673: 1507: 1382: 1326: 1299: 1034: 654: 603: 578: 374: 224: 187: 153: 26: 2242: 2160: 2021: 1956: 1728: 1703: 1604: 1532: 1316: 1192: 1018: 943: 659: 649: 491: 475: 411: 164: 1062: 2134: 2034: 1951: 1946: 1850: 1759: 1723: 1678: 1596: 1306: 1188: 1082: 1010: 935: 403: 339: 246: 172: 73: 1158: 1107: 2070: 2044: 1981: 1971: 1961: 1926: 1916: 1911: 1794: 1784: 1738: 1440: 1341: 1321: 471: 202: 108: 97: 50: 252:
If a bug in a library function is corrected by replacing the library or
16:
Computer program which combines multiple object files into a single file
1886: 1845: 1648: 1618: 1492: 1436: 1289: 1102:(3). University of California, Santa Barbara, California, US: 149–167. 638: 359: 62: 2175: 2129: 2109: 2006: 1986: 1941: 1789: 1713: 1698: 1683: 1668: 1663: 1658: 1653: 502: 343: 176: 34: 1074: 528: 132:
local symbols, used internally within the object file to facilitate
2091: 1871: 1472: 1225: 573: 269: 163:
The linker also takes care of arranging the objects in a program's
54: 1896: 1820: 265: 961:
Operating System 360 - Linkage Editor (E) - Program Logic Manual
750: 1881: 1623: 1497: 1038: 723:(1978) . "5.7. Linkage editors and consolidators". Written at 366: 335:
and the linker needs to weigh the advantages of either option.
122:
Typically, an object file can contain three kinds of symbols:
2114: 2011: 1991: 1921: 1840: 1743: 1718: 1693: 1643: 1638: 1633: 1628: 1537: 1477: 1452: 1221: 497:
The command-line and linker script syntaxes of GNU ld is the
2165: 2139: 2075: 1996: 1891: 1876: 1835: 1825: 1769: 1597: 1555: 1487: 1462: 1077: 506: 370: 198: 1215: 715: 713: 1966: 1866: 1810: 1708: 421: 299:
to mitigate or trade-off these individual pros and cons.
25:
An illustration of the linking process. Object files and
21: 1208: 874: 234:
objects/libraries as well, and perform a final linking.
152:. Most linkers do not include all the object files in a 1688: 710: 1435: 1261: 524: 144:
Linkers can take objects from a collection called a
993:(August 1983). "Assembly Language as Object Code". 346:as part of the relocation process or combined with 731:. Computer Monographs (3 ed.). New York, US: 2240: 842: 893:"GCC 12 Adds Support For Using The Mold Linker" 727:, Southampton, UK. In Floretin, J. John (ed.). 377:mainframes, this type of program is known as a 918:(April 1982). "A Machine Independent Linker". 875:"LLD - The LLVM Linker — lld 14 documentation" 827: 490:, and a "streamlined" ELF-only version called 398:structure from an already linked load module. 342:. In some cases, relaxation can also occur at 100:, and in such cases refer to each other using 29:are assembled into a new library or executable 1582: 1421: 1247: 1140:"Relocating Machine Instructions by Currying" 1081: 913: 88:is typically considered a separate process. 969:International Business Machines Corporation 772: 2221: 1589: 1575: 1428: 1414: 1254: 1240: 456: 447: 796:Simon & Schuster International Group 20: 778: 758: 673: 2241: 1220:: The GNU linker –  1137: 1033: 719: 1570: 1409: 1235: 989: 237:This approach offers two advantages: 549:Free and open-source software portal 2259:Programming language implementation 1085:; White, John R. (September 1972). 13: 907: 470:The GNU linker (or GNU ld) is the 218: 72:A simpler version that writes its 61:) and combines them into a single 14: 2275: 1173: 995:Software: Practice and Experience 920:Software: Practice and Experience 779:Salomon, David (February 1993) . 353: 302: 2220: 2199: 2198: 1168:from the original on 2020-05-18. 682:IBM OS Linkage Editor and Loader 541: 527: 381:. As the name implies a linkage 69:file, or another "object" file. 1125:from the original on 2020-03-07 856:from the original on 2020-03-06 815:from the original on 2020-03-23 699:from the original on 2020-03-06 295:environments may further allow 885: 867: 850:"GNU Binutils: Linker Scripts" 558:Binary File Descriptor library 260:There are also disadvantages: 1: 781:"8.2.3 Automatic jump-sizing" 666: 589:Dynamic dead code elimination 465: 348:dynamic dead-code elimination 316: 171:code that assumes a specific 1263:Application binary interface 768:. August 1984. ND-60.196.01. 436:nomenclature) refers to the 7: 1138:Ramsey, Norman (May 1996). 733:Elsevier North-Holland Inc. 535:Computer programming portal 520: 91: 10: 2282: 1368:Foreign function interface 222: 2194: 2148: 2100: 2084: 2063: 2020: 1859: 1803: 1752: 1611: 1546: 1448: 1363:Binary-code compatibility 1355: 1332:Position-independent code 1270: 1195:article by Sandeep Grover 1003:John Wiley & Sons Ltd 928:John Wiley & Sons Ltd 725:University of Southampton 914:Fraser, Christopher W.; 836:UNIX PROGRAMMER'S MANUAL 501:standard in much of the 838:(6 ed.). May 1975. 49:that takes one or more 2264:Utility software types 2214:Unix SUS2008 utilities 2209:Standard Unix programs 1601:command-line interface 1011:10.1002/spe.4380130806 936:10.1002/spe.4380120407 788:Assemblers and Loaders 766:BRF-LINKER User Manual 729:Assemblers and Loaders 457:Common implementations 448:Linker Control Scripts 30: 1551:Comparison of formats 1209:LLD - The LLVM Linker 1159:10.1145/249069.231429 1108:10.1145/356603.356605 1095:ACM Computing Surveys 1087:"Linkers and Loaders" 792:Ellis Horwood Limited 721:Barron, David William 569:Compile and go system 365:environments such as 328:automatic jump-sizing 297:system administrators 117:software architecture 24: 2102:Software development 1347:Virtual method table 798:. pp. 237–238. 614:Dynamic-link library 484:GNU Binary Utilities 192:position independent 1312:Memory segmentation 1189:Linkers and Loaders 1180:Ian Lance Justin's 1147:ACM SIGPLAN Notices 1040:Linkers and Loaders 274:backward compatible 167:. This may involve 2254:Computer libraries 1285:Calling convention 509:project's linker, 201:variants, such as 31: 2236: 2235: 1564: 1563: 1403: 1402: 1395:Year 2038 problem 1204:GNU linker manual 991:Jones, Douglas W. 824:(xiv+294+4 pages) 619:External variable 564:Build (computing) 424:nomenclature) or 332:linker relaxation 2271: 2224: 2223: 2202: 2201: 1804:User environment 1591: 1584: 1577: 1568: 1567: 1430: 1423: 1416: 1407: 1406: 1373:Language binding 1256: 1249: 1242: 1233: 1232: 1219: 1218: 1169: 1167: 1144: 1133: 1131: 1130: 1124: 1091: 1072: 1070: 1069: 1030: 986: 984: 983: 977: 966: 955: 916:Hanson, David R. 901: 900: 897:www.phoronix.com 889: 883: 882: 871: 865: 864: 862: 861: 846: 840: 839: 831: 825: 823: 821: 820: 814: 785: 776: 770: 769: 762: 756: 754: 735:pp. 65–66. 717: 708: 707: 705: 704: 698: 687: 677: 594:Dynamic dispatch 551: 546: 545: 544: 537: 532: 531: 515: 514: 438:linkage editor's 324:relaxation hints 231:operating system 203:SINTRAN III 53:(generated by a 27:static libraries 2281: 2280: 2274: 2273: 2272: 2270: 2269: 2268: 2239: 2238: 2237: 2232: 2190: 2144: 2096: 2080: 2059: 2016: 1860:Text processing 1855: 1799: 1748: 1607: 1595: 1565: 1560: 1542: 1444: 1434: 1404: 1399: 1351: 1272: 1266: 1260: 1228:– User Commands 1214: 1213: 1176: 1165: 1142: 1128: 1126: 1122: 1089: 1067: 1065: 1055: 1045:Morgan Kaufmann 1035:Levine, John R. 981: 979: 975: 964: 958: 910: 908:Further reading 905: 904: 891: 890: 886: 873: 872: 868: 859: 857: 848: 847: 843: 833: 832: 828: 818: 816: 812: 806: 783: 777: 773: 764: 763: 759: 755:(xii+100 pages) 743: 718: 711: 702: 700: 696: 690:IBM Corporation 685: 679: 678: 674: 669: 664: 634:Name decoration 609:Dynamic loading 599:Dynamic library 584:Dynamic binding 547: 542: 540: 533: 526: 523: 512: 511: 468: 459: 450: 418:Linkage editing 356: 319: 305: 227: 221: 219:Dynamic linking 213:dynamic linking 150:runtime library 94: 17: 12: 11: 5: 2279: 2278: 2267: 2266: 2261: 2256: 2251: 2234: 2233: 2231: 2230: 2218: 2217: 2216: 2211: 2195: 2192: 2191: 2189: 2188: 2186:true and false 2183: 2178: 2173: 2168: 2163: 2158: 2152: 2150: 2146: 2145: 2143: 2142: 2137: 2132: 2127: 2122: 2117: 2112: 2106: 2104: 2098: 2097: 2095: 2094: 2088: 2086: 2082: 2081: 2079: 2078: 2073: 2067: 2065: 2061: 2060: 2058: 2057: 2052: 2047: 2042: 2037: 2032: 2026: 2024: 2022:Shell builtins 2018: 2017: 2015: 2014: 2009: 2004: 1999: 1994: 1989: 1984: 1979: 1974: 1969: 1964: 1959: 1954: 1949: 1944: 1939: 1934: 1929: 1924: 1919: 1914: 1909: 1904: 1899: 1894: 1889: 1884: 1879: 1874: 1869: 1863: 1861: 1857: 1856: 1854: 1853: 1848: 1843: 1838: 1833: 1828: 1823: 1818: 1813: 1807: 1805: 1801: 1800: 1798: 1797: 1792: 1787: 1782: 1777: 1772: 1767: 1762: 1756: 1754: 1750: 1749: 1747: 1746: 1741: 1736: 1731: 1726: 1721: 1716: 1711: 1706: 1701: 1696: 1691: 1686: 1681: 1676: 1671: 1666: 1661: 1656: 1651: 1646: 1641: 1636: 1631: 1626: 1621: 1615: 1613: 1609: 1608: 1605:shell builtins 1594: 1593: 1586: 1579: 1571: 1562: 1561: 1559: 1558: 1553: 1547: 1544: 1543: 1541: 1540: 1535: 1530: 1525: 1520: 1515: 1510: 1505: 1500: 1495: 1490: 1485: 1480: 1475: 1470: 1465: 1460: 1455: 1449: 1446: 1445: 1433: 1432: 1425: 1418: 1410: 1401: 1400: 1398: 1397: 1392: 1387: 1386: 1385: 1375: 1370: 1365: 1359: 1357: 1356:Related topics 1353: 1352: 1350: 1349: 1344: 1339: 1334: 1329: 1327:Opaque pointer 1324: 1319: 1314: 1309: 1304: 1303: 1302: 1292: 1287: 1282: 1276: 1274: 1268: 1267: 1259: 1258: 1251: 1244: 1236: 1230: 1229: 1211: 1206: 1201: 1196: 1186: 1175: 1174:External links 1172: 1171: 1170: 1153:(5): 226–236. 1135: 1079: 1053: 1031: 987: 967:(3 ed.). 956: 909: 906: 903: 902: 884: 866: 852:. 2018-07-18. 841: 826: 804: 771: 757: 741: 709: 671: 670: 668: 665: 663: 662: 657: 655:Static library 652: 647: 642: 636: 631: 626: 621: 616: 611: 606: 604:Dynamic linker 601: 596: 591: 586: 581: 579:Direct binding 576: 571: 566: 561: 554: 553: 552: 538: 522: 519: 467: 464: 458: 455: 449: 446: 442:consolidator's 379:linkage editor 375:z/Architecture 355: 354:Linkage editor 352: 318: 315: 304: 303:Static linking 301: 286: 285: 277: 258: 257: 250: 225:Dynamic linker 220: 217: 188:virtual memory 158:shared library 154:static library 138: 137: 130: 127: 93: 90: 80:is called the 47:system program 45:is a computer 15: 9: 6: 4: 3: 2: 2277: 2276: 2265: 2262: 2260: 2257: 2255: 2252: 2250: 2247: 2246: 2244: 2229: 2228: 2219: 2215: 2212: 2210: 2207: 2206: 2205: 2197: 2196: 2193: 2187: 2184: 2182: 2179: 2177: 2174: 2172: 2169: 2167: 2164: 2162: 2159: 2157: 2154: 2153: 2151: 2149:Miscellaneous 2147: 2141: 2138: 2136: 2133: 2131: 2128: 2126: 2123: 2121: 2118: 2116: 2113: 2111: 2108: 2107: 2105: 2103: 2099: 2093: 2090: 2089: 2087: 2085:Documentation 2083: 2077: 2074: 2072: 2069: 2068: 2066: 2062: 2056: 2053: 2051: 2048: 2046: 2043: 2041: 2038: 2036: 2033: 2031: 2028: 2027: 2025: 2023: 2019: 2013: 2010: 2008: 2005: 2003: 2000: 1998: 1995: 1993: 1990: 1988: 1985: 1983: 1980: 1978: 1975: 1973: 1970: 1968: 1965: 1963: 1960: 1958: 1955: 1953: 1950: 1948: 1945: 1943: 1940: 1938: 1935: 1933: 1930: 1928: 1925: 1923: 1920: 1918: 1915: 1913: 1910: 1908: 1905: 1903: 1900: 1898: 1895: 1893: 1890: 1888: 1885: 1883: 1880: 1878: 1875: 1873: 1870: 1868: 1865: 1864: 1862: 1858: 1852: 1849: 1847: 1844: 1842: 1839: 1837: 1834: 1832: 1829: 1827: 1824: 1822: 1819: 1817: 1814: 1812: 1809: 1808: 1806: 1802: 1796: 1793: 1791: 1788: 1786: 1783: 1781: 1778: 1776: 1773: 1771: 1768: 1766: 1763: 1761: 1758: 1757: 1755: 1751: 1745: 1742: 1740: 1737: 1735: 1732: 1730: 1727: 1725: 1722: 1720: 1717: 1715: 1712: 1710: 1707: 1705: 1702: 1700: 1697: 1695: 1692: 1690: 1687: 1685: 1682: 1680: 1677: 1675: 1672: 1670: 1667: 1665: 1662: 1660: 1657: 1655: 1652: 1650: 1647: 1645: 1642: 1640: 1637: 1635: 1632: 1630: 1627: 1625: 1622: 1620: 1617: 1616: 1614: 1610: 1606: 1603:programs and 1602: 1599: 1592: 1587: 1585: 1580: 1578: 1573: 1572: 1569: 1557: 1554: 1552: 1549: 1548: 1545: 1539: 1536: 1534: 1531: 1529: 1526: 1524: 1521: 1519: 1516: 1514: 1511: 1509: 1506: 1504: 1501: 1499: 1496: 1494: 1491: 1489: 1486: 1484: 1481: 1479: 1476: 1474: 1471: 1469: 1466: 1464: 1461: 1459: 1456: 1454: 1451: 1450: 1447: 1442: 1438: 1431: 1426: 1424: 1419: 1417: 1412: 1411: 1408: 1396: 1393: 1391: 1388: 1384: 1381: 1380: 1379: 1376: 1374: 1371: 1369: 1366: 1364: 1361: 1360: 1358: 1354: 1348: 1345: 1343: 1340: 1338: 1335: 1333: 1330: 1328: 1325: 1323: 1320: 1318: 1317:Name mangling 1315: 1313: 1310: 1308: 1305: 1301: 1298: 1297: 1296: 1293: 1291: 1288: 1286: 1283: 1281: 1278: 1277: 1275: 1269: 1264: 1257: 1252: 1250: 1245: 1243: 1238: 1237: 1234: 1227: 1223: 1217: 1212: 1210: 1207: 1205: 1202: 1200: 1197: 1194: 1193:Linux Journal 1190: 1187: 1185: 1183: 1178: 1177: 1164: 1160: 1156: 1152: 1148: 1141: 1136: 1121: 1117: 1113: 1109: 1105: 1101: 1097: 1096: 1088: 1084: 1083:Presser, Leon 1080: 1078: 1075: 1064: 1060: 1056: 1054:1-55860-496-0 1050: 1046: 1042: 1041: 1036: 1032: 1028: 1024: 1020: 1016: 1012: 1008: 1004: 1000: 996: 992: 988: 978:on 2007-10-01 974: 970: 963: 962: 957: 953: 949: 945: 941: 937: 933: 929: 925: 921: 917: 912: 911: 898: 894: 888: 880: 876: 870: 855: 851: 845: 837: 830: 811: 807: 805:0-13-052564-2 801: 797: 793: 789: 782: 775: 767: 761: 752: 748: 744: 742:0-444-19462-2 738: 734: 730: 726: 722: 716: 714: 695: 691: 684: 683: 676: 672: 661: 660:Gold (linker) 658: 656: 653: 651: 650:Smart linking 648: 646: 643: 640: 637: 635: 632: 630: 627: 625: 622: 620: 617: 615: 612: 610: 607: 605: 602: 600: 597: 595: 592: 590: 587: 585: 582: 580: 577: 575: 572: 570: 567: 565: 562: 559: 556: 555: 550: 539: 536: 530: 525: 518: 516: 508: 504: 500: 495: 493: 489: 485: 481: 480:linker script 477: 476:free software 473: 463: 454: 445: 443: 439: 435: 431: 427: 426:consolidation 423: 419: 415: 413: 412:magnetic tape 409: 405: 404:punched cards 399: 397: 393: 387: 384: 380: 376: 372: 368: 364: 361: 351: 349: 345: 341: 336: 333: 329: 325: 314: 311: 300: 298: 294: 290: 284:environment). 283: 278: 275: 271: 268:platform as " 267: 264:Known on the 263: 262: 261: 255: 251: 248: 244: 240: 239: 238: 235: 232: 226: 216: 214: 210: 209: 204: 200: 195: 193: 189: 185: 180: 178: 174: 170: 166: 165:address space 161: 159: 155: 151: 147: 142: 135: 131: 128: 125: 124: 123: 120: 118: 114: 110: 105: 103: 99: 89: 87: 83: 79: 75: 70: 68: 64: 60: 56: 52: 48: 44: 40: 36: 28: 23: 19: 2225: 2203: 1377: 1307:Machine code 1184:blog entries 1181: 1150: 1146: 1127:. Retrieved 1099: 1093: 1066:. Retrieved 1039: 998: 994: 980:. Retrieved 973:the original 960: 923: 919: 896: 887: 879:lld.llvm.org 878: 869: 858:. Retrieved 844: 835: 829: 817:. Retrieved 787: 774: 765: 760: 728: 701:. Retrieved 681: 675: 641:(prebinding) 510: 498: 496: 479: 469: 460: 451: 441: 437: 429: 425: 417: 416: 400: 388: 382: 378: 369:, including 357: 350:techniques. 340:compile-time 337: 331: 327: 323: 320: 306: 287: 281: 259: 236: 228: 206: 196: 194:executable. 181: 173:base address 168: 162: 143: 139: 121: 106: 95: 81: 76:directly to 71: 51:object files 42: 38: 32: 18: 1612:File system 1441:object file 1342:System call 1322:Object code 1273:conventions 1005:: 715–725. 930:: 351–366. 505:world. The 472:GNU Project 254:performance 98:object file 43:link editor 2243:Categories 2204:Categories 1437:Executable 1337:Relocation 1290:Call stack 1134:(19 pages) 1129:2020-03-07 1068:2020-01-12 982:2020-03-07 860:2019-01-18 819:2008-10-01 703:2020-03-07 667:References 645:Relocation 639:Prelinking 466:GNU linker 430:collection 392:card decks 360:System/360 317:Relocation 223:See also: 169:relocating 134:relocation 113:monolithic 63:executable 2249:Compilers 2064:Searching 1753:Processes 1280:Alignment 1037:(2000) . 1019:1097-024X 952:206508204 944:1097-024X 834:"1. ld". 503:Unix-like 363:mainframe 344:load-time 289:Contained 282:qualified 186:offering 84:, though 59:assembler 35:computing 1872:basename 1163:Archived 1120:Archived 1076:Errata: 1063:42413382 1027:42995338 854:Archived 810:Archived 751:78-19961 694:Archived 692:. 1972. 574:DLL hell 560:(libbfd) 521:See also 499:de facto 373:for the 270:DLL hell 197:On some 184:hardware 92:Overview 55:compiler 1977:strings 1897:dirname 1821:logname 1770:crontab 1443:formats 1383:dynamic 1295:Library 1182:Linkers 1116:5694671 624:Library 396:overlay 358:In IBM 310:library 293:virtual 266:Windows 208:loading 146:library 102:symbols 86:loading 67:library 1957:printf 1882:csplit 1624:chattr 1518:OS/360 1498:Mach-O 1390:Loader 1378:Linker 1300:static 1271:Parts, 1226:Manual 1114:  1073:Code: 1061:  1051:  1025:  1017:  950:  942:  802:  749:  739:  629:Loader 383:editor 367:OS/360 249:space. 243:memory 109:source 82:loader 78:memory 74:output 65:file, 57:or an 39:linker 2181:sleep 2135:strip 2115:ctags 2050:unset 2030:alias 2012:xargs 1992:troff 1952:patch 1947:paste 1922:iconv 1851:write 1841:uname 1744:umask 1734:touch 1724:split 1719:rmdir 1694:mkdir 1679:fuser 1644:cksum 1639:chgrp 1634:chown 1629:chmod 1538:XCOFF 1478:ECOFF 1453:a.out 1265:(ABI) 1224:User 1222:Linux 1216:ld(1) 1166:(PDF) 1143:(PDF) 1123:(PDF) 1112:S2CID 1090:(PDF) 1023:S2CID 1001:(8). 976:(PDF) 965:(PDF) 948:S2CID 926:(4). 813:(PDF) 784:(PDF) 697:(PDF) 686:(PDF) 410:, or 280:of a 229:Many 2227:List 2166:expr 2140:yacc 2125:make 2076:grep 2071:find 2055:wait 2045:test 2040:echo 1997:uniq 1982:tail 1972:sort 1962:read 1937:more 1927:join 1917:head 1912:fold 1892:diff 1877:comm 1836:tput 1831:talk 1826:mesg 1816:exit 1795:time 1785:nice 1780:kill 1739:type 1674:file 1598:Unix 1556:.exe 1493:Hunk 1488:GOFF 1463:COFF 1439:and 1191:, a 1059:OCLC 1049:ISBN 1015:ISSN 940:ISSN 800:ISBN 747:LCCN 737:ISBN 507:LLVM 492:gold 408:DASD 371:z/OS 247:disk 245:and 199:Unix 177:zero 37:, a 2161:cal 2120:lex 2092:man 1967:sed 1887:cut 1867:awk 1846:who 1811:env 1729:tee 1709:pwd 1704:pax 1649:cmp 1619:cat 1528:PEF 1513:OMF 1483:ELF 1473:COM 1468:CMD 1458:AIF 1155:doi 1104:doi 1007:doi 932:doi 513:lld 488:bfd 474:'s 440:or 434:ICL 428:or 422:IBM 291:or 215:). 148:or 119:. 41:or 33:In 2245:: 2176:od 2171:lp 2156:bc 2130:nm 2110:ar 2035:cd 2007:wc 2002:vi 1987:tr 1942:nl 1932:m4 1907:ex 1902:ed 1790:ps 1775:fg 1765:bg 1760:at 1714:rm 1699:mv 1689:ls 1684:ln 1669:df 1664:du 1659:dd 1654:cp 1523:PE 1508:NE 1503:MZ 1161:. 1151:31 1149:. 1145:. 1118:. 1110:. 1098:. 1092:. 1057:. 1047:. 1021:. 1013:. 999:13 997:. 946:. 938:. 924:12 922:. 895:. 877:. 808:. 794:/ 745:. 712:^ 688:. 494:. 414:. 406:, 1590:e 1583:t 1576:v 1533:X 1429:e 1422:t 1415:v 1255:e 1248:t 1241:v 1157:: 1132:. 1106:: 1100:4 1071:. 1029:. 1009:: 985:. 954:. 934:: 899:. 881:. 863:. 822:. 753:. 706:. 432:( 420:( 276:. 136:.

Index


static libraries
computing
system program
object files
compiler
assembler
executable
library
output
memory
loading
object file
symbols
source
monolithic
software architecture
relocation
library
runtime library
static library
shared library
address space
base address
zero
hardware
virtual memory
position independent
Unix
SINTRAN III

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.