Name Date Size #Lines LOC

..22-Aug-2023-

emulparams/H22-Aug-2023-1,3591,068

emultempl/H22-Aug-2023-10,5628,970

po/H22-Aug-2023-2,2681,789

scripttempl/H22-Aug-2023-2,5432,319

ChangeLogH A D22-Aug-202322.8 KiB710509

ChangeLog-0001H A D22-Aug-2023110.6 KiB3,3772,453

ChangeLog-0203H A D22-Aug-2023119.5 KiB3,5812,620

ChangeLog-2006H A D22-Aug-202345.5 KiB1,3651,020

ChangeLog-9197H A D22-Aug-2023274.2 KiB7,6025,430

ChangeLog-9899H A D22-Aug-202370 KiB2,1091,476

MAINTAINERSH A D22-Aug-202328 21

Makefile.amH A D22-Aug-202384.7 KiB2,0511,887

Makefile.inH A D22-Aug-2023110.3 KiB2,8472,612

NEWSH A D22-Aug-202315.2 KiB409272

READMEH A D22-Aug-20232.4 KiB6849

TODOH A D22-Aug-2023361 106

aclocal.m4H A D22-Aug-202332.2 KiB904809

config.inH A D22-Aug-20233.6 KiB13996

configdoc.texiH A D22-Aug-2023429 2622

configureH A D22-Aug-2023439.9 KiB15,24212,144

configure.hostH A D22-Aug-202311.3 KiB253202

configure.inH A D22-Aug-20236.9 KiB279234

configure.tgtH A D22-Aug-202325.9 KiB699679

deffile.hH A D22-Aug-20233.4 KiB10455

deffilep.yH A D22-Aug-202323.6 KiB1,077896

dep-in.sedH A D22-Aug-2023286 2217

fdl.texiH A D22-Aug-202318 KiB368325

gen-doc.texiH A D22-Aug-2023429 2622

genscripts.shH A D22-Aug-202312.3 KiB380239

h8-doc.texiH A D22-Aug-2023307 1511

ld.7H A D22-Aug-2023245.6 KiB7,8207,745

ld.hH A D22-Aug-20239 KiB327162

ld.texinfoH A D22-Aug-2023257.4 KiB6,9095,929

ldcref.cH A D22-Aug-202319.5 KiB735519

ldctor.cH A D22-Aug-20239.3 KiB377246

ldctor.hH A D22-Aug-20232 KiB6124

ldemul.cH A D22-Aug-20236.3 KiB323246

ldemul.hH A D22-Aug-20236.4 KiB205115

ldexp.cH A D22-Aug-202328.8 KiB1,153978

ldexp.hH A D22-Aug-20234.3 KiB185134

ldfile.cH A D22-Aug-202313.3 KiB552430

ldfile.hH A D22-Aug-20232.1 KiB6430

ldgram.yH A D22-Aug-202328.1 KiB1,3401,171

ldint.7H A D22-Aug-202343.7 KiB1,2781,277

ldint.texinfoH A D22-Aug-202347.6 KiB1,063884

ldlang.cH A D22-Aug-2023186.7 KiB7,0965,181

ldlang.hH A D22-Aug-202318.2 KiB633464

ldlex.hH A D22-Aug-20231.8 KiB6533

ldlex.lH A D22-Aug-202320.5 KiB692528

ldmain.cH A D22-Aug-202339.5 KiB1,5361,135

ldmain.hH A D22-Aug-20231.5 KiB4823

ldmisc.cH A D22-Aug-202312 KiB529376

ldmisc.hH A D22-Aug-20231.4 KiB4518

ldver.cH A D22-Aug-20231.7 KiB5932

ldver.hH A D22-Aug-2023874 221

ldwrite.cH A D22-Aug-202314.9 KiB569436

ldwrite.hH A D22-Aug-2023848 221

lexsup.cH A D22-Aug-202353.8 KiB1,6541,423

mri.cH A D22-Aug-20237.1 KiB317223

mri.hH A D22-Aug-20231.4 KiB3816

pe-dll.cH A D22-Aug-202375.5 KiB2,8652,080

pe-dll.hH A D22-Aug-20232.1 KiB6741

pep-dll.cH A D22-Aug-20232.5 KiB5928

pep-dll.hH A D22-Aug-20232.2 KiB5529

stamp-h.inH A D22-Aug-202310 21

sysdep.hH A D22-Aug-20232.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