NameDateSize

..15-May-202456

aclocal.m4H A D24-Sep-201136.1 KiB

ChangeLogH A D24-Sep-201156.6 KiB

ChangeLog-0001H A D18-Aug-2009110.6 KiB

ChangeLog-0203H A D18-Aug-2009119.5 KiB

ChangeLog-2004H A D24-Sep-201150.6 KiB

ChangeLog-2005H A D18-Aug-200962.7 KiB

ChangeLog-2006H A D18-Aug-200945.5 KiB

ChangeLog-2007H A D18-Aug-200938.6 KiB

ChangeLog-2008H A D24-Sep-201137.7 KiB

ChangeLog-2009H A D24-Sep-201157.6 KiB

ChangeLog-9197H A D18-Aug-2009274.2 KiB

ChangeLog-9899H A D18-Aug-200970 KiB

config.inH A D24-Sep-20115.5 KiB

configdoc.texiH A D18-Aug-2009439

configureH A D24-Sep-2011578.5 KiB

configure.hostH A D24-Sep-201111.4 KiB

configure.inH A D24-Sep-20119.5 KiB

configure.tgtH A D24-Sep-201127.5 KiB

deffile.hH A D24-Sep-20113.9 KiB

deffilep.cH A D24-Sep-201177.5 KiB

deffilep.hH A D24-Sep-20113.2 KiB

deffilep.yH A D24-Sep-201126 KiB

dep-in.sedH A D24-Sep-2011273

elf-hints-local.hH A D18-Aug-20091.9 KiB

emulparams/H12-Oct-2015289

emultempl/H12-Oct-201555

fdl.texiH A D24-Sep-201123 KiB

gen-doc.texiH A D18-Aug-2009439

genscrba.shH A D18-Aug-2009319

genscripts.shH A D24-Sep-201114.3 KiB

h8-doc.texiH A D18-Aug-2009307

ld.1H A D24-Sep-2011107.4 KiB

ld.hH A D24-Sep-201110.1 KiB

ld.infoH A D24-Sep-2011355.6 KiB

ld.texinfoH A D24-Sep-2011288.2 KiB

ldcref.cH A D24-Sep-201118.7 KiB

ldctor.cH A D24-Sep-20119.5 KiB

ldctor.hH A D24-Sep-20112.1 KiB

ldemul.cH A D24-Sep-20117.6 KiB

ldemul.hH A D24-Sep-20116.7 KiB

ldexp.cH A D24-Sep-201132.9 KiB

ldexp.hH A D24-Sep-20114.9 KiB

ldfile.cH A D24-Sep-201117.5 KiB

ldfile.hH A D24-Sep-20112.2 KiB

ldgram.cH A D24-Sep-2011149.7 KiB

ldgram.hH A D24-Sep-20117.6 KiB

ldgram.yH A D24-Sep-201128.9 KiB

ldint.texinfoH A D24-Sep-201130 KiB

ldlang.cH A D24-Sep-2011217.3 KiB

ldlang.hH A D24-Sep-201119.1 KiB

ldlex-wrapper.cH A D24-Sep-2011270

ldlex.cH A D24-Sep-2011131.1 KiB

ldlex.hH A D24-Sep-20111.9 KiB

ldlex.lH A D24-Sep-201120.8 KiB

ldmain.cH A D24-Sep-201140.1 KiB

ldmain.hH A D24-Sep-20111.7 KiB

ldmisc.cH A D24-Sep-201111.6 KiB

ldmisc.hH A D24-Sep-20111.5 KiB

ldver.cH A D24-Sep-20111.8 KiB

ldver.hH A D24-Sep-2011922

ldwrite.cH A D24-Sep-201115.7 KiB

ldwrite.hH A D24-Sep-2011889

lexsup.cH A D24-Sep-201158 KiB

MAINTAINERSH A D18-Aug-200928

Makefile.amH A D24-Sep-201185.7 KiB

Makefile.inH A D24-Sep-2011149.1 KiB

mri.cH A D24-Sep-20117.3 KiB

mri.hH A D24-Sep-20111.5 KiB

NEWSH A D24-Sep-201120 KiB

pe-dll.cH A D24-Sep-201188.2 KiB

pe-dll.hH A D24-Sep-20112.5 KiB

pep-dll.cH A D24-Sep-20112.8 KiB

pep-dll.hH A D24-Sep-20112.5 KiB

plugin.cH A D24-Sep-201127.4 KiB

plugin.hH A D24-Sep-20112.7 KiB

po/H12-Oct-201532

READMEH A D18-Aug-20092.4 KiB

scripttempl/H12-Oct-201587

stamp-h.inH A D18-Aug-200910

sysdep.hH A D24-Sep-20112.6 KiB

testplug.cH A D24-Sep-201118.3 KiB

testsuite/H15-May-202465

TODOH A D18-Aug-2009361

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