NameDateSize

..16-Dec-201240

aclocal.m406-Nov-201232.2 KiB

ChangeLog06-Nov-201222.8 KiB

ChangeLog-000106-Nov-2012110.6 KiB

ChangeLog-020306-Nov-2012119.5 KiB

ChangeLog-200606-Nov-201245.5 KiB

ChangeLog-919706-Nov-2012274.2 KiB

ChangeLog-989906-Nov-201270 KiB

config.in06-Nov-20123.6 KiB

configdoc.texi06-Jan-2015429

configure06-Nov-2012439.9 KiB

configure.host06-Nov-201211.3 KiB

configure.in06-Nov-20126.9 KiB

configure.tgt17-Jun-201725.9 KiB

deffile.h06-Nov-20123.4 KiB

deffilep.y06-Nov-201223.6 KiB

dep-in.sed06-Nov-2012286

emulparams/17-Jun-2017104

emultempl/29-Aug-201431

fdl.texi06-Nov-201218 KiB

gen-doc.texi06-Nov-2012429

genscripts.sh06-Nov-201212.3 KiB

h8-doc.texi06-Nov-2012307

ld.702-Mar-2015245.6 KiB

ld.h06-Nov-20129 KiB

ld.texinfo06-Jan-2015257.4 KiB

ldcref.c06-Nov-201219.5 KiB

ldctor.c06-Nov-20129.3 KiB

ldctor.h06-Nov-20122 KiB

ldemul.c06-Nov-20126.3 KiB

ldemul.h06-Nov-20126.4 KiB

ldexp.c06-Nov-201228.8 KiB

ldexp.h06-Nov-20124.3 KiB

ldfile.c06-Nov-201213.3 KiB

ldfile.h06-Nov-20122.1 KiB

ldgram.y06-Nov-201228.1 KiB

ldint.702-Mar-201543.7 KiB

ldint.texinfo06-Nov-201247.6 KiB

ldlang.c06-Nov-2012186.7 KiB

ldlang.h06-Nov-201218.2 KiB

ldlex.h06-Nov-20121.8 KiB

ldlex.l04-May-201320.5 KiB

ldmain.c31-Jul-201339.5 KiB

ldmain.h06-Nov-20121.5 KiB

ldmisc.c06-Nov-201212 KiB

ldmisc.h06-Nov-20121.4 KiB

ldver.c06-Nov-20121.7 KiB

ldver.h06-Nov-2012874

ldwrite.c06-Nov-201214.9 KiB

ldwrite.h06-Nov-2012848

lexsup.c29-Nov-201453.8 KiB

MAINTAINERS06-Nov-201228

Makefile.am06-Nov-201284.7 KiB

Makefile.in06-Nov-2012110.3 KiB

mri.c06-Nov-20127.1 KiB

mri.h06-Nov-20121.4 KiB

NEWS06-Nov-201215.2 KiB

pe-dll.c06-Nov-201275.5 KiB

pe-dll.h06-Nov-20122.1 KiB

pep-dll.c06-Nov-20122.5 KiB

pep-dll.h06-Nov-20122.2 KiB

po/06-Nov-20125

README06-Nov-20122.4 KiB

scripttempl/11-Feb-201520

stamp-h.in06-Nov-201210

sysdep.h06-Nov-20122.1 KiB

TODO06-Nov-2012361

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