Name Date Size #Lines LOC

..07-Sep-2023-

emulparams/H08-May-2022-4,6313,564

emultempl/H08-May-2022-14,24212,065

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

scripttempl/H08-May-2022-8,8407,889

ChangeLogH A D08-May-202211.4 KiB324240

ChangeLog-0001H A D08-May-2022110.6 KiB3,3772,453

ChangeLog-0203H A D08-May-2022119.5 KiB3,5812,620

ChangeLog-9197H A D08-May-2022274.2 KiB7,6025,430

ChangeLog-9899H A D08-May-202270 KiB2,1091,476

MAINTAINERSH A D08-May-202228 21

Makefile.amH A D08-May-202280.4 KiB1,8681,715

Makefile.inH A D08-May-2022100.8 KiB2,5712,283

NEWSH A D08-May-202210.9 KiB297195

READMEH A D08-May-20222.4 KiB6849

TODOH A D08-May-2022361 106

acinclude.m4H A D08-May-2022478 1714

aclocal.m4H A D08-May-20226.4 KiB205177

config.inH A D08-May-20224.6 KiB178120

configdoc.texiH A D08-May-2022366 2117

configureH A D08-May-2022159 KiB5,6364,696

configure.hostH A D08-May-202210.8 KiB255203

configure.inH A D08-May-20226.7 KiB266227

configure.tgtH A D08-May-202223.8 KiB658638

deffile.hH A D08-May-20223.3 KiB10455

deffilep.yH A D08-May-202223 KiB1,068892

dep-in.sedH A D08-May-2022275 2116

fdl.texiH A D08-May-202218 KiB368325

gen-doc.texiH A D08-May-2022366 2117

genscripts.shH A D08-May-202211.4 KiB354218

h8-doc.texiH A D08-May-2022307 1511

ld.hH A D08-May-20227.1 KiB254114

ld.texinfoH A D08-May-2022211.7 KiB5,7434,936

ldcref.cH A D08-May-202214.1 KiB551366

ldctor.cH A D08-May-20229.3 KiB377246

ldctor.hH A D08-May-20222 KiB6124

ldemul.cH A D08-May-20226.2 KiB314239

ldemul.hH A D08-May-20226.3 KiB197110

ldexp.cH A D08-May-202226.1 KiB1,092927

ldexp.hH A D08-May-20223.3 KiB143113

ldfile.cH A D08-May-202213.9 KiB597467

ldfile.hH A D08-May-20222.2 KiB6632

ldgram.yH A D08-Oct-202224.4 KiB1,2021,042

ldint.texinfoH A D08-May-202247.5 KiB1,059882

ldlang.cH A D08-May-2022141.9 KiB5,4713,927

ldlang.hH A D08-May-202215.9 KiB570416

ldlex.hH A D08-May-20221.8 KiB6432

ldlex.lH A D08-May-202219.6 KiB677511

ldmain.cH A D08-May-202238.1 KiB1,4831,104

ldmain.hH A D08-May-20221.5 KiB4722

ldmisc.cH A D08-May-202212.2 KiB557394

ldmisc.hH A D08-May-20221.5 KiB4720

ldver.cH A D08-May-20221.7 KiB6033

ldver.hH A D08-May-2022860 211

ldver.texiH A D08-May-202218 21

ldwrite.cH A D08-May-202215.1 KiB577445

ldwrite.hH A D08-May-2022843 221

lexsup.cH A D08-May-202246.4 KiB1,4071,198

mac-ld.rH A D08-May-2022530 4330

mpw-config.inH A D08-May-20221.9 KiB5341

mpw-make.sedH A D08-May-20222.6 KiB9665

mri.cH A D08-May-20227.5 KiB333236

mri.hH A D08-May-20221.5 KiB4017

pe-dll.cH A D08-May-202269.7 KiB2,6981,950

pe-dll.hH A D08-May-20222 KiB6339

stamp-h.inH A D08-May-202210 21

sysdep.hH A D08-May-20222 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