Name Date Size #Lines LOC

..--

emulparams/H10-Jan-2016-1,3531,064

emultempl/H10-Jan-2016-10,5628,970

po/H10-Jan-2016-2,2681,789

scripttempl/H10-Jan-2016-2,5432,319

ChangeLogHD10-Jan-201622.8 KiB710509

ChangeLog-0001HD10-Jan-2016110.6 KiB3,3772,453

ChangeLog-0203HD10-Jan-2016119.5 KiB3,5812,620

ChangeLog-2006HD10-Jan-201645.5 KiB1,3651,020

ChangeLog-9197HD10-Jan-2016274.2 KiB7,6025,430

ChangeLog-9899HD10-Jan-201670 KiB2,1091,476

MAINTAINERSHD10-Jan-201628 21

Makefile.amHD10-Jan-201684.7 KiB2,0511,887

Makefile.inHD10-Jan-2016110.3 KiB2,8472,612

NEWSHD10-Jan-201615.2 KiB409272

READMEHD10-Jan-20162.4 KiB6849

TODOHD10-Jan-2016361 106

aclocal.m4HD10-Jan-201632.2 KiB904809

config.inHD10-Jan-20163.6 KiB13996

configdoc.texiHD10-Jan-2016429 2622

configureHD10-Jan-2016439.9 KiB15,24212,144

configure.hostHD10-Jan-201611.3 KiB253202

configure.inHD10-Jan-20166.9 KiB279234

configure.tgtHD10-Jan-201625.6 KiB690670

deffile.hHD10-Jan-20163.4 KiB10455

deffilep.yHD10-Jan-201623.6 KiB1,077896

dep-in.sedHD10-Jan-2016286 2217

fdl.texiHD10-Jan-201618 KiB368325

gen-doc.texiHD10-Jan-2016429 2622

genscripts.shHD10-Jan-201612.3 KiB380239

h8-doc.texiHD10-Jan-2016307 1511

ld.7HD10-Jan-2016245.6 KiB7,8207,745

ld.hHD10-Jan-20169 KiB327162

ld.texinfoHD10-Jan-2016257.4 KiB6,9095,929

ldcref.cHD10-Jan-201619.5 KiB735519

ldctor.cHD10-Jan-20169.3 KiB377246

ldctor.hHD10-Jan-20162 KiB6124

ldemul.cHD10-Jan-20166.3 KiB323246

ldemul.hHD10-Jan-20166.4 KiB205115

ldexp.cHD10-Jan-201628.8 KiB1,153978

ldexp.hHD10-Jan-20164.3 KiB185134

ldfile.cHD10-Jan-201613.3 KiB552430

ldfile.hHD10-Jan-20162.1 KiB6430

ldgram.yHD10-Jan-201628.1 KiB1,3401,171

ldint.7HD10-Jan-201643.7 KiB1,2781,277

ldint.texinfoHD10-Jan-201647.6 KiB1,063884

ldlang.cHD10-Jan-2016186.7 KiB7,0965,181

ldlang.hHD10-Jan-201618.2 KiB633464

ldlex.hHD10-Jan-20161.8 KiB6533

ldlex.lHD10-Jan-201620.5 KiB692528

ldmain.cHD10-Jan-201639.5 KiB1,5361,135

ldmain.hHD10-Jan-20161.5 KiB4823

ldmisc.cHD10-Jan-201612 KiB529376

ldmisc.hHD10-Jan-20161.4 KiB4518

ldver.cHD10-Jan-20161.7 KiB5932

ldver.hHD10-Jan-2016874 221

ldwrite.cHD10-Jan-201614.9 KiB569436

ldwrite.hHD10-Jan-2016848 221

lexsup.cHD10-Jan-201653.8 KiB1,6541,423

mri.cHD10-Jan-20167.1 KiB317223

mri.hHD10-Jan-20161.4 KiB3816

pe-dll.cHD10-Jan-201675.5 KiB2,8652,080

pe-dll.hHD10-Jan-20162.1 KiB6741

pep-dll.cHD10-Jan-20162.5 KiB5928

pep-dll.hHD10-Jan-20162.2 KiB5529

stamp-h.inHD10-Jan-201610 21

sysdep.hHD10-Jan-20162.1 KiB10063

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