• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..07-May-2022-

emulparams/H03-May-2022-3,7562,873

emultempl/H11-Oct-2012-14,04211,892

po/H07-May-2022-7,3225,699

scripttempl/H11-Oct-2012-9,0718,112

testsuite/H11-Oct-2012-95,51485,650

ChangeLogH A D11-Oct-201211.4 KiB324240

ChangeLog-0001H A D11-Oct-2012110.6 KiB3,3772,453

ChangeLog-0203H A D11-Oct-2012119.5 KiB3,5812,620

ChangeLog-9197H A D11-Oct-2012274.2 KiB7,6025,430

ChangeLog-9899H A D11-Oct-201270 KiB2,1091,476

MAINTAINERSH A D11-Oct-201228 21

Makefile.amH A D11-Oct-201275.7 KiB1,7711,618

Makefile.inH A D11-Oct-201295.6 KiB2,1651,877

NEWSH A D11-Oct-201210.9 KiB297195

READMEH A D11-Oct-20122.4 KiB6849

TODOH A D11-Oct-2012361 106

acinclude.m4H A D11-Oct-2012478 1714

aclocal.m4H A D11-Oct-201239.7 KiB1,0651,009

config.inH A D11-Oct-20124.6 KiB178120

configdoc.texiH A D11-Oct-2012366 2117

configureH A D11-Oct-2012158.8 KiB5,6264,687

configure.hostH A D11-Oct-201210.7 KiB248198

configure.inH A D11-Oct-20126.7 KiB266227

configure.tgtH A D11-Oct-201222.6 KiB627607

deffile.hH A D11-Oct-20123.3 KiB10455

deffilep.yH A D11-Oct-201223 KiB1,068892

dep-in.sedH A D11-Oct-2012275 2116

fdl.texiH A D11-Oct-201218 KiB368325

gen-doc.texiH A D11-Oct-2012366 2117

genscripts.shH A D11-Oct-201210.8 KiB343205

h8-doc.texiH A D11-Oct-2012307 1511

ld.1H A D11-Oct-201284.2 KiB1,9301,906

ld.hH A D11-Oct-20126.9 KiB250113

ld.infoH A D11-Oct-2012248.8 KiB5,8394,821

ld.texinfoH A D11-Oct-2012211.6 KiB5,7384,932

ldcref.cH A D11-Oct-201214.1 KiB551366

ldctor.cH A D11-Oct-20129.3 KiB377246

ldctor.hH A D11-Oct-20122 KiB6124

ldemul.cH A D11-Oct-20126.2 KiB314239

ldemul.hH A D11-Oct-20126.3 KiB197110

ldexp.cH A D11-Oct-201226.1 KiB1,092927

ldexp.hH A D11-Oct-20123.3 KiB143113

ldfile.cH A D11-Oct-201213.9 KiB597467

ldfile.hH A D11-Oct-20122.2 KiB6632

ldgram.cH A D11-Oct-2012106.4 KiB3,1742,766

ldgram.hH A D11-Oct-20123 KiB147142

ldgram.yH A D11-Oct-201224.2 KiB1,1981,038

ldint.texinfoH A D11-Oct-201247.5 KiB1,059882

ldlang.cH A D11-Oct-2012141.9 KiB5,4713,927

ldlang.hH A D11-Oct-201215.9 KiB570416

ldlex.cH A D11-Oct-2012108.2 KiB3,7122,971

ldlex.hH A D11-Oct-20121.8 KiB6432

ldlex.lH A D11-Oct-201219.6 KiB677511

ldmain.cH A D11-Oct-201237.7 KiB1,4651,089

ldmain.hH A D11-Oct-20121.5 KiB4722

ldmisc.cH A D11-Oct-201212.1 KiB553390

ldmisc.hH A D11-Oct-20121.5 KiB4720

ldver.cH A D11-Oct-20121.7 KiB6033

ldver.hH A D11-Oct-2012860 211

ldver.texiH A D11-Oct-201218 21

ldwrite.cH A D11-Oct-201215.1 KiB577445

ldwrite.hH A D11-Oct-2012843 221

lexsup.cH A D11-Oct-201245.8 KiB1,3881,179

mac-ld.rH A D11-Oct-2012530 4330

mpw-config.inH A D11-Oct-20121.9 KiB5341

mpw-make.sedH A D11-Oct-20122.6 KiB9665

mri.cH A D11-Oct-20127.5 KiB333236

mri.hH A D11-Oct-20121.5 KiB4017

pe-dll.cH A D11-Oct-201269.7 KiB2,6981,950

pe-dll.hH A D11-Oct-20122 KiB6339

stamp-h.inH A D11-Oct-201210 21

sysdep.hH A D11-Oct-20122 KiB9760

README

1		README for LD
2
3This is the GNU linker.  It is distributed with other "binary
4utilities" which should be in ../binutils.  See ../binutils/README for
5more general notes, including where to send bug reports.
6
7There are many features of the linker:
8
9* The linker uses a Binary File Descriptor library (../bfd)
10  that it uses to read and write object files.  This helps
11  insulate the linker itself from the format of object files.
12
13* The linker supports a number of different object file
14  formats.  It can even handle multiple formats at once:
15  Read two input formats and write a third.
16
17* The linker can be configured for cross-linking.
18
19* The linker supports a control language.
20
21* There is a user manual (ld.texinfo), as well as the
22  beginnings of an internals manual (ldint.texinfo).
23
24Installation
25============
26
27See ../binutils/README.
28
29If you want to make a cross-linker, you may want to specify
30a different search path of -lfoo libraries than the default.
31You can do this by setting the LIB_PATH variable in ./Makefile
32or using the --with-lib-path configure switch.
33
34To build just the linker, make the target all-ld from the top level
35directory (one directory above this one).
36
37Porting to a new target
38=======================
39
40See the ldint.texinfo manual.
41
42Reporting bugs etc
43===========================
44
45See ../binutils/README.
46
47Known problems
48==============
49
50The Solaris linker normally exports all dynamic symbols from an
51executable.  The GNU linker does not do this by default.  This is
52because the GNU linker tries to present the same interface for all
53similar targets (in this case, all native ELF targets).  This does not
54matter for normal programs, but it can make a difference for programs
55which try to dlopen an executable, such as PERL or Tcl.  You can make
56the GNU linker export all dynamic symbols with the -E or
57--export-dynamic command line option.
58
59HP/UX 9.01 has a shell bug that causes the linker scripts to be
60generated incorrectly.  The symptom of this appears to be "fatal error
61- scanner input buffer overflow" error messages.  There are various
62workarounds to this:
63  * Build and install bash, and build with "make SHELL=bash".
64  * Update to a version of HP/UX with a working shell (e.g., 9.05).
65  * Replace "(. ${srcdir}/scripttempl/${SCRIPT_NAME}.sc)" in
66    genscripts.sh with "sh ${srcdir}..." (no parens) and make sure the
67    emulparams script used exports any shell variables it sets.
68